#cboxOverlay {
  background-color: #000000; 
  opacity: 0.40 !important;
}

#colorbox {
  min-height: 217px;
  display: flex;
  left: 0;
  bottom: 0;
}

#colorbox #cboxWrapper {
  -webkit-border-radius: 0px; 
  border-radius: 0px;
}

#cboxWrapper 
div #cboxTopLeft, 
div #cboxTopCenter, 
div #cboxTopRight, 
div #cboxMiddleRight, 
div #cboxMiddleLeft {
  display: none;
}

#colorbox #cboxWrapper, 
#cboxLoadedContent {
  background-color: #ffffff;
}

#colorbox #cboxWrapper #cboxContent {
  background: transparent !important;
  width: 800px !important;
}

#cboxClose {
  background-size: 14px 14px;
  width: 40px;
  height: 40px;
  background-color: #ffba0c;
  position: absolute;
  top: 0;
  right: 0px;
  background-image: url('../img/icon-modal.svg');
  background-repeat: no-repeat;
  background-position: center center;
}

#cboxClose:hover {
  background-position: 50% 50%;
}

#colorbox .event_block {
  flex-direction: row;
  flex-wrap: nowrap;
  /*justify-content: space-between;*/
  align-content: flex-start;
  align-items: flex-start;
  display: flex;
  order: 2;
  margin-top: 40px;
}

#colorbox .event_date {
  text-align: center;
  background-color: rgb(38, 56, 224);
  flex-basis: 10%;
  order: 1;
  align-self: flex-start;
  width: 99px;
  padding-top: 24px;
  padding-right: 8px;
  padding-bottom: 24px;
  padding-left: 8px;
  margin-right: 16px;
  margin-left: 40px;
  min-height: 173px;
}

#colorbox .event_date time {
  font-family: 'Aeonik Fono';
  font-weight: 300;
  color: rgb(242, 242, 242);
  font-size: 44px;
  line-height: 50.16px;
  text-align: center;
}

#colorbox .event_details {
  flex-direction: row;
  flex-wrap: nowrap;
  flex-basis: 80%;
  order: 2;
  align-self: flex-start;
  padding-top: 24px;
  padding-right: 16px;
  padding-bottom: 16px;
}

#colorbox .event_details .event_type {
  height: 24px;
  /*width: 282px;*/
  column-gap: 16px;
  flex-basis: 282px;
  order: 1;
  align-self: center;
  margin-bottom: 16px;
  display: flex;
}

#colorbox .event_details .event_type span {
  font-family: 'Chivo';
  font-weight: 400;
  color: rgb(0, 0, 0);
  font-size: 16px;
  line-height: 19.04px;
  display: flex;
}

.event_type span::before {
  content: url('../img/icon-local.svg');
  display: inline-block;
  margin-right: 12px;
}

#colorbox .event_details .event_tags {
  display: none;
}

#colorbox .event_details .event_tags_modal {
  flex-basis: auto;
  order: 2;
  align-self: flex-start;
}

#colorbox .event_details .event_tags_modal ul li {
  height: 28px;
  padding: 8px;
  margin-right: 8px;
  margin-bottom: 0px;
  margin-left: 0px;
  background-color: rgb(251, 186, 0);
}

#colorbox .event_details .event_tags_modal a {
  background-color: #FBBA00;
  padding: 8px;
  height: 28px;
  margin-bottom: 16px;
  font-family: 'Chivo';
  font-weight: 400;
  color: rgb(0, 0, 0);
  font-size: 10px;
  line-height: 11.9px;
}

#colorbox .event_details .event_title {
  margin-top: 16px;
  font-size: 24px;
  line-height: 27.36px;
  font-weight: 700;
  font-family: 'Aeonik Fono';
  color: rgb(0, 0, 0);
  flex-basis: auto;
  order: 3;
  align-self: auto;
}

#colorbox .event_details .event_title h3 {
  margin-bottom: 0px;
  font-family: 'Aeonik Fono';
  font-weight: 700;
  color: rgb(0, 0, 0);
  font-size: 24px;
  line-height: 27.36px;
}

#colorbox .event_details .event_description {
  flex-basis: auto;
  order: 4;
  flex-grow: 4;
  flex-shrink: 2;
  align-self: auto;
  display: none;
}

#colorbox .event_details .event_description p {
  font-family: 'Chivo';
  font-weight: 400;
  color: rgb(0, 0, 0);
  font-size: 14px;
  line-height: 16.66px;
  letter-spacing: -0.0625rem;
  margin-bottom: 0px;
}

#colorbox .event_details .event_body {
  display: block;
  margin-top: 32px;
}

#colorbox .event_details .event_body p span {
  font-family: 'Chivo';
  font-size: 14px;
}

#colorbox .event_details .event-information a {
  display: none;
}

/* Media query*/

@media (max-width: 820px) {
  #colorbox {
    width: 100% !important;
    top: auto !important;
    left: 0 !important;
    height: 550px !important;
    background-color: transparent !important;
    position: fixed !important;
  }

  #colorbox #cboxWrapper {
    width: 100% !important;
    overflow: auto !important;
  }

  #colorbox #cboxWrapper #cboxContent {
    width: 100% !important;
  }

  #cboxWrapper div #cboxMiddleLeft, div #cboxMiddleRight {
    height: auto !important;
  }

  #cboxWrapper #cboxContent {
    width: 100% !important;    
  }

  #cboxContent #cboxLoadedContent {
    width: 100% !important;   
    overflow-y: scroll !important;
    overflow-x: hidden !important;
  }

  #cboxLoadedContent .event_block {
    margin-top: 28px;
  }

  #cboxLoadedContent .event_date {
    margin-left: 16px;
  }

  #cboxLoadedContent .event_details {
    width: 100%;
  }

  #cboxLoadedContent .event_details .event_tags_modal a {
    padding: 6px;
  }

  #cboxContent #cboxClose {
    display: none;   
  }
}
