#calendartable {

  th {
    padding: 0;
  }

  td {
    border: none;
    padding: 0;

    &.calmonthday,
    &.calnonmonthday {
      border: 1px solid #ccc;
    }
  }
}

.calendar-header {
  border-bottom: 1px solid #ccc;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 20px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.calendar-header-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.calendar-header-links a {
  padding: 0 8px 7px 8px;
  border-bottom: 3px solid #fff;
  margin-bottom: 0;
  margin-left: 20px;
}

.calendar-header-links a.selected {
  border-bottom: 3px solid #013668;
}

.calendar-event-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.calendar-event-row .calendar-event-image {
  width: 400px;	  
  display: -webkit-box;	  
  display: -ms-flexbox;	  
  display: flex;
  margin-right: 20px;
}

.calendar-event-row .calendar-event-image a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 400px;
}


.calendar-event-details .calendar-event-details-name {
  margin: 0 0 10px 0;	  
}

.calendar-event-details .calendar-event-details-dates {
  font-size: 16px;
  margin-bottom: 10px;  
}

@media only screen and (max-width: 991px) {
  .calendar-event-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }	

  .calendar-event-row .calendar-event-image {
    margin: 0 0 20px 0;
    width: 100%;
  }

  .calendar-event-row .calendar-event-image a {
    width: 100%;
  }

  .calendar-event-row .calendar-event-image img {
    width: 100%;
  }

}

.calendar-event-single {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;  
}

.calendar-event-single .calendar-event-image {
  margin-bottom: 20px;	
  display: -webkit-box;	
  display: -ms-flexbox;	
  display: flex;
  width: 100%;
}

.calMonthBar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;  
  -webkit-box-align: center;  
      -ms-flex-align: center;  
          align-items: center;
}

.calMonthControls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;	
  padding: 8px; 
}

.calButton {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 7px 10px;  
  color: #fff !important;
  background-color: rgba(1, 54, 104, 1);
  border-radius: 4px;
  border: 0;
  outline: 0;
}

.calButton:disabled {
  opacity: 0.6;	
}


.calButton:hover {
  color: #fff !important;
  background-color: rgba(1, 54, 104, 0.7);
  border: 0;
  outline: 0;
  text-decoration: none !important;
}

.calMonthHeading {
  color: #000;
  font-size: 28px;	
}

.cal-month-day {
  color: #000;
  font-size: 12px;
  margin-right: 10px;  
  font-family: 'FrutigerLTPro', Arial, Helvetica, Verdana, sans-serif;
}

#calendarholder {
  margin: 10px auto;
  max-width: 1400px;
}

.calendar-filter {
  margin: 30px auto;
  max-width: 1400px;
}

.caleventbarfirst {
  border-radius: 4px 4px 0 0 ;	
}

.caleventbarlast {
  border-radius: 0 0 4px 4px;	
}

.caleventbarfirst.caleventbarlast {
  border-radius: 4px;	
}


#dayHeadings th {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align: center;  
}

#eventinfo {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  width: 50% !important;
  height: 400px !important;
  transform: translate(-50%, -50%) !important;
}

#eventinfo table td, #eventinfo table th {
  border: none !important;
}

#eventinfo table td div {
  height: auto !important;
}

#eventinfo table td div:first-child {
  border-bottom: solid 1px #000;
  margin-bottom: 20px !important;
}

@media only screen and (max-width: 768px) {

  #eventinfo {
    width: 80% !important;
  }   
}