#calendar-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /*
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  */
}
#calendar {
  min-width: 700px;
  max-width: 100%;
  margin: 10px auto;
  padding: 0;
}
/*
.content .fc-section table tr th {
  background: #333;
  color: #fff;
}
*/
.fc-section .modal .modal-content {
  padding: 0;
}
.content .fc-section table tr td {
  padding: unset;
}
.content .fc-section .fc-widget-content,
.content .fc-section .fc-head-container {
  padding: 0;
}
.content .fc-section .fc .fc-axis {
  padding: 0 4px;
}
.content .fc-section .fc-list-table td {
  padding: 8px 14px;  
  border: unset;
}
.content .fc-section table,
.fc-body table,
.fc-head-container table {
  margin: 0;
}
.fc-header-toolbar {
  /*
  the calendar will be butting up against the edges,
  but let's scoot in the header's buttons
  */
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}
.fc-toolbar.fc-header-toolbar {
  margin-bottom: 10px;
}
.fc-button-primary {
  color: #fff;
  background-color: #333;
  border-color: #333;
}
.fc-button-primary:not(:disabled):active,
.fc-button-primary:not(:disabled).fc-button-active {
  color: #FFF;
  background-color: #f26522;
  border-color: #f26522;
}
.fc-button-primary:hover {
  background-color: #f26522;
  border-color: #f26522;
}
.fc-button-primary:disabled {
  color: #000;
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  opacity: 1;
}
.fc-prev-button,
.fc-next-button,
.fc-today-button {
  background-color: #333;
  border-color: #333;
  color: #fff;
}
.fc-event-container a:hover {
  cursor: pointer;
}

.modal h2 {
  margin: 0;
}
.content .modal table tr td {
  padding: 4px 12px;
}

@media(max-width: 991px) {

  #calendar {
    min-width: unset;
    max-width: 100%;
  }
  .fc-header-toolbar {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .fc-center {
    order: 1;
    flex-grow: 12;
  }
  .fc-left {
    order: 3;
  }
  .fc-right {
    order: 2;
  }
  .fc-left,
  .fc-center,
  .fc-right {
    margin-bottom: 10px;
  }

}

/* timezobe bar */
#top {
  background: #eee;
  border-bottom: 1px solid #ddd;
  padding: 0 10px;
  line-height: 40px;
  font-size: 12px;
}
.left { float: left }
.right { float: right }
.clear { clear: both }
#script-warning, #loading { display: none }
#script-warning { font-weight: bold; color: red }
.tzo {
  color: #000;
}

/* custom upcomming */
.calendar-upcomming {
}