/*========================================
CUSTOM UI
=========================================*/
/* Main */
.scrollable-panel {
  height: calc(100vh - 40px);
  overflow-y: scroll;
}

.btn-view {
  text-align: center;
  padding: 10px 0px;
  display: block;
  color: #4a4a4a;
  background-color: #e4e6ebb0;
  border-radius: 4px;
  margin: 10px auto;
  width: 92%;
  font-weight: bold;
}

.btn-view:hover {
  background-color: #e4e6eb;
  color: #4a4a4a;
}

.vcenter {
  display: inline-block;
  vertical-align: middle;
  float: none;
}

.btn-primary {
  background-color: #03a9f4;
}

.btn:hover,
.btn:active,
.btn:focus {
  box-shadow: none;
}

.label-primary {
  background-color: #2baa92;
}

.bg-primary {
  background-color: #fff;
  border-color: #2baa92;
  color: #2baa92;
}

.badge-primary {
  background-color: #2baa92;
  border-color: #2baa92;
  color: #fff;
}

a.clickable > * {
  color: #333333;
}
a.clickable > *:hover,
a.clickable > *.active {
  cursor: pointer;
  box-shadow: 0px 1px 1px 1px #ddd;
}

.actionable {
  padding: 5px 5px;
}

.actionable:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.radio-inline {
  padding-left: 17px;
}

/* iFramely */
.iframely-responsive {
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  position: relative;
  padding-bottom: 56.25%;
}
.iframely-responsive > * {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  border: 0;
}

.embed-parent {
  display: flex;
  justify-content: center;
}
.embed-parent .iframely-embed {
  width: 100%;
}

/* Filters */
a.filter {
  padding: 20px 15px;
  display: block;
  font-size: 1.2em;
  color: #4a4a4a;
  border-radius: 4px;
  margin: 10px 10px;
}

a.underline:hover {
  text-decoration: underline;
}

a.filter:hover {
  background-color: #f8f8f8;
  font-weight: 500;
}

a.filter.active {
  background-color: #f8f8f8;
  font-weight: 500;
}

/* Comments */
.group-discussion-comment {
  border-radius: 0 20px 20px;
  background-color: #f3f6f8;
  padding: 10px;
  max-width: 500px;
}

/* Form Validation */
.validation-error-label,
.validation-valid-label {
  padding-left: 0px !important;
}

/* .nav-tabs.nav-tabs-bottom > li.active > a:after {
  background-color: #2BAA92;
} */

/* Quill.js */
.ql-editor {
  min-height: 250px;
  font-family: Helvetica;
}

/* Images */
.img-scale-to-fit,
.video-scale-to-fit {
  object-fit: cover;
}

/* Separator */
.separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 10px auto;
}
.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
}
.separator::before {
  margin-right: 0.25em;
}
.separator::after {
  margin-left: 0.25em;
}

/*========================================
NAVIGATION
=========================================*/
@media (min-width: 769px) {
  .navbar-brand {
    float: left;
    padding: 5px 12px;
    font-size: 14px;
    line-height: 20px;
    height: 46px;
  }

  .sidebar-detached .sidebar {
    width: 380px;
  }

  .has-detached-left .container-detached {
    margin-left: -380px;
  }

  .has-detached-left .content-detached {
    margin-left: 390px;
  }
}

.navbar-header {
  min-width: 0px !important;
}

.sidebar {
  background-color: white;
  color: #4a4a4a;
  border-right: 1px solid #ddd;
  /* transition: all 0.2s ease;  */ /* This is buggy */
}

.sidebar-fixed .sidebar-content {
  top: 0px;
  bottom: 0px;
}

.sidebar-bottom {
  position: absolute;
  bottom: 0px;
  padding: 10px;
}

.header-highlight .navbar-header:not([class*="bg-"]) {
  background-color: white;
  box-shadow: none;
  border-right: 1px solid #ddd;
}

.sidebar-fixed-expanded .header-highlight .navbar-header:not([class*="bg-"]) {
  border-bottom: 1px solid #ddd;
}

.navigation .navigation-header,
.navigation .navigation-header a {
  color: #4a4a4a;
}

.navigation li a {
  color: #4a4a4a;
}

.navigation li a:hover,
.navigation li a:focus {
  color: #2baa92 !important;
  background-color: #ffffff00 !important;
}

.navigation li > a:hover,
.navigation li > a:focus {
  color: #2baa92 !important;
  background-color: #ffffff00 !important;
}
.navigation li.active > a,
.navigation li.active > a:hover,
.navigation li.active > a:focus {
  color: #2baa92 !important;
  background-color: #ffffff00 !important;
}

.sidebar .sidebar-main .navigation > li:hover:not(.active) > a {
  color: #2baa92 !important;
  background-color: #ffffff00 !important;
}

.sidebar-main .navigation > li > a > span {
  font-size: 16px;
}

.btn-matchable {
  margin-right: -15px;
  margin-left: 0;
}

.login-container .page-container .login-form {
  width: 400px;
}

.validation-error-label:before {
  content: none;
}
.validation-valid-label:before {
  content: none;
}

/*========================================
FILEPOND
=========================================*/

/* bordered drop area */
.filepond--panel-root {
  background-color: transparent;
  border: 2px dashed #ccc;
}

.filepond--file-status,
.filepond--file-info {
  font-size: 16px !important;
}

/*========================================
SLICK SLIDER
=========================================*/
.slick-prev:before,
.slick-next:before {
  content: none !important;
}

/*========================================
LOCATION AUTOCOMPLETE
=========================================*/
.search-input-container {
  position: relative;
}

.autocomplete-dropdown-container {
  border-bottom: honeydew;
  border-left: honeydew;
  border-right: honeydew;
  border-top: 1px solid #e6e6e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 2px 2px;
  width: auto;
  position: absolute;
  z-index: 1000;
}

.suggestion-item {
  padding: 10px;
  text-align: left;
  background-color: #fff;
  cursor: pointer;
}

.suggestion-item--active {
  padding: 10px;
  text-align: left;
  cursor: pointer;
  background-color: #fafafa;
}

.dropdown-footer {
  display: flex;
  justify-content: flex-end;
  padding: 4px;
}

.dropdown-footer-image {
  display: inline-block;
  width: 150px;
}

/*========================================
DATETIME PICKER
=========================================*/
.picker__input:hover {
  cursor: pointer;
}

.picker__day--selected,
.picker__day--highlighted,
.picker__list-item--selected,
.picker__list-item--highlighted,
.picker__list-item--now,
.picker__list-item--viewset {
  background-color: #03a9f4 !important;
}

.picker__day--today,
.picker__list-item--now {
  color: white;
  background-color: #ccc;
}

.vcenter {
  display: inline-block;
  vertical-align: middle;
  float: none;
}

/*========================================
SPINNER
=========================================*/
.loader-wrap {
  overflow: hidden;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.loader {
  margin: 3px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(74, 74, 74, 0.2);
  border-right: 1.1em solid rgba(74, 74, 74, 0.2);
  border-bottom: 1.1em solid rgba(74, 74, 74, 0.2);
  border-left: 1.1em solid #4a4a4a;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*========================================
STATS
=========================================*/

.stat-link {
}

.stat-link:hover {
  background-color: #ccc3;
  cursor: pointer;
}

.stat-link.selected {
  border-top: 4px solid black;
}

/*========================================
FULL CALENDAR
=========================================*/
.fc-timeGridDay-view .fc-time-grid-event .fc-time,
.fc-timeGridDay-view .fc-time-grid-event .fc-title {
  font-size: 14px;
}

.fc-timeGridDay-view .fc-time-grid-event .fc-time {
  font-size: 13px !important;
}

.fc-timeGridWeek-view .fc-time-grid-event .fc-time {
  font-size: 11px !important;
}
