/* ============== */
/* Import plugins */
/* ============== */

@import url('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/css/select2.min.css');

/* ============ */
/* Import Fonts */
/* ============ */

@import url('https://use.typekit.net/bkc8wxn.css');


body {
  font-family: museo-sans, sans-serif;
  font-weight: 500;
  background-color: #0D1E26;
}

/* body:before {
  content: "";
  width: 100%;
  height: 200vh;
  top: -100%;
  background: rgb(3,156,223);
  background: radial-gradient(circle, rgba(3,156,223,0.3) 0%, rgba(3,156,223,0) 60%);
  position: absolute;
  pointer-events: none;
} */

.main-gradient {
  width: 100%;
  height: 200vh;
  top: -100%;
  left: 0;
  background: rgb(3,156,223);
  background: radial-gradient(circle, rgba(3,156,223,0.3) 0%, rgba(3,156,223,0) 60%);
  position: fixed;
  pointer-events: none;
  z-index: 2;
}

a {
  font-weight: 500;
    color: #039cdf;
}

h1 {
  font-family: museo, sans-serif;
  font-weight: 700;
  font-size: 52px;
  color: #fff;
}

h2 {
  font-family: museo, sans-serif;
  font-weight: 500;
  font-size: 30px;
}

h2.header {
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
}

h3 {
  font-family: museo, sans-serif;
  font-weight: 500;
  font-size: 26px;
}

p.lead, ul.lead li {
  font-size: 1.375em;
}

.bg-tint {
  background-color: #DFE3E5;
}

.bg-tint h2, .bg-tint p, .bg-tint li {
  color: #273338;
}

.bg-gradient-dark {
  background: rgb(13,30,38);
  background: linear-gradient(135deg, #224451 0%,#0D1E26 100%)
}

.bg-gradient-dark hr {
  border: 1px solid #fff;
}

.navbar .container {
  position: relative;
}

.navbar-brand .header-tag {
  border-left: 2px solid #fff;
}
.navbar-brand .header-tag > * {
  color: #FFF;
  margin-bottom: 0;
}

.navbar-brand > img {
  padding-right: 0;
  border-right: 0 none;
}

.navbar-nav .nav-link, a.navbar-brand {
  color: #fff;
}

.site-header .navbar-nav .active>.nav-link {
  color: #039CDF;
}

.site-header .navbar-nav .nav-link:hover {
  color: #039CDF;

}

.site-header {
  position: inherit;
  z-index: 4;
}

.navbar-toggler {
    border: 2px solid #fff;
    color: #fff;
}

.btn.btn-primary {
    font-size: 22px;
    color: #fff;
    background-color: #039CDF;
    border-radius: 30px;
    padding: 10px 35px;
    border: 0;
}

.btn.btn-primary:hover,
.btn.btn-primary:not(:disabled):not(.disabled).active,
.btn.btn-primary:not(:disabled):not(.disabled):active {
  background-color: #0090d0;
  box-shadow: 0 0 5px #fff, 0 0 10px #039CDF, 0 0 15px #039CDF, 0 0 20px #039CDF;
}

.btn.btn-small {
  font-size: 16px;
  white-space: inherit;
  border-radius: 40px;
}

.hotspot:hover,
.hotspot:active {
	background-color: #039CDF;
}



/* ///// HOME PAGE ///// */

.section-video {
  position: inherit;
  z-index: 1;
  margin-top: -80px;
  max-height: 65vh;
}

.section-header-hero {
  margin-top: -80px;
  padding-top: 130px;
}
.bg-video-wrapper:after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 25, 35, 0.65);
    padding: 100px;
}
.bg-video-content {
  z-index: 3;
}

.body-content {
  z-index: 3;
  position: inherit;
  /*
  min-height: 100vh;
  min-height: calc(100vh - 129px);
  */
}

.video-content {
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    /* z-index: 3; */
    text-align: center;
    color: #fff;
}

/* ///// BENEFITS PAGE ///// */

.featured-item {
  background: transparent;
  border: 0 none;
}
.card {
    border: 0;
    border-radius: 10px;
    background-color: #0f4154;
}

.card img {
      border-radius: 10px 10px 0px 0px;
}

.card:hover {
  box-shadow: 0px 2px 15px 1px #000;
}


.featured-item:hover, .card:hover {
  background: #20586d;
  border-radius: 10px;
}

.ca-snippet-media {
  min-width: 60%;
}


.section--fill-window .fill-window-aside {
  background-color: #dfe3e5;
  border-radius: 10px 10px 0 0;
  padding: 0;
}

.fill-window-body-map {
  border-radius: 0 0 10px 10px;
}

.hotspot {
  background-color: #039CDF;
}

.hotspot-tooltip {
  white-space: nowrap;
  max-width: 250px;
  width: fit-content;
}

.hotspot-tooltip strong {
  font-size: 14px;
  font-weight: 600;
}

.popup-aside h3 {
  color: #039cdf;
}

.popup-aside .hotspot {
  display: flex;
/* text-align: center; */
flex-direction: row;
justify-content: center;
align-items: center;
}


.accordion-container .accordion-header {
  display: flex;
  padding: 9px;
  border-radius: 6px;
  align-content: center;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: transparent;
  border: 0 none;
  margin-bottom: 0;
}

.accordion-modal.accordion-container .accordion-header {
  background-color: #1b2e40;
}

.accordion-container .accordion-header.collapsed {
  background-color: #dfe3e5;
  border: 0 none;
}

.accordion-modal.accordion-container .accordion-header.collapsed:after,
.accordion-container .accordion-header.collapsed:after {
  content:'\f054';
	font-family:"Font Awesome 6 Pro";
  color: #212529;
}

.accordion-modal.accordion-container .accordion-header:after {
  content:'\f078';
	font-family:"Font Awesome 6 Pro";
  color: #fff;
}

.accordion-container .accordion-header:after {
  content:'\f078';
	font-family:"Font Awesome 6 Pro";
  color: #212529;
}

.accordion-modal.accordion-container .accordion-header.collapsed p,
.accordion-container .accordion-header p {
  font-size: 18px;
  font-weight: 500;
  color: #212529;
}

.accordion-modal.accordion-container .accordion-header p {
  color: #fff;
}

.accordion-container .card-body {
  padding: 15px;
}

.accordion-container .card-body p {
  font-size: 16px;
}

.accordion-number {
  margin-bottom: 0;
  font-size: 20px;
  height: 30px;
  min-width: 30px;
  text-align: center;
  border-radius: 16px;
  background-color: #039cdf;
  margin-right: 5px;
  align-content: center;
  color: #fff;
  display: inline-block;
}
/* ///// LEARN MORE PAGE ///// */

.bg-tint .card {
  background-color: #fff;
}

.bg-tint .card:hover {
  box-shadow: 0px 2px 15px 1px #eee;
}

.bg-tint .card:hover p {
  color: #fff;
}

.bg-tint .card h3 {
  color: #0D1E26;
}


/* /// MAP /// */

.mapboxgl-popup {
  max-width: 300px !important;
}
.mapboxgl-popup .mapboxgl-popup-content {
  background: #dfe3e5;
}
.mapboxgl-popup .project-title {
  font-size: 1.4em;
  margin-bottom: 0.2em;
}
.mapboxgl-popup .project-status {
  border-top: 1px solid #c5c9ca;
  border-bottom: 1px solid #c5c9ca;
  margin-top: 1em;
  padding-top: 1em;
  margin-bottom: 1em;
  padding-bottom: 1em;
}
.mapboxgl-popup .project-helper {
  margin-left: 1em;
  padding-left: 1em;
  border-left: 1px solid var(--gray-dark);
  opacity: 0.5;
}
.project-treatment {
  margin-right: 1em;
  padding-right: 1em;
  border-right: 1px solid var(--gray-dark);
  display: inline-block;
}
.project-treatment:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0 none;
}

.popup-project-container {
  width: 100%;
  background: #FFF;
  max-width: 1170px;
}
.project-detail-overview {
  padding: 2em;
}
.project-detail-status {
  border-top: 1px solid #c5c9ca;
  border-bottom: 1px solid #c5c9ca;
  margin-top: 1em;
  padding-top: 1em;
  margin-bottom: 1em;
  padding-bottom: 1em;
}
.project-treatments-titles {
  border-bottom: 1px solid #c5c9ca;
  margin-bottom: 1em;
  padding-bottom: 1em;
}
.project-detail-description {
  margin-bottom: 1em;
}
.project-detail-treatments {
  padding: 2em;
  background: #dfe3e5;
}
.project-detail-treatments h3,
.project-detail-treatments h4,
.project-detail-treatments h5,
.project-detail-treatments h6 {
  font-family: museo-sans, sans-serif;
}
.project-detail-treatment {
  border-top: 1px solid #c5c9ca;
  margin-top: 1em;
  padding-top: 1em;
}
.project-detail-treatment-desc {
  font-size: 0.9em;
}


.status-completed,
.layer-name-completed:before {
	color: #51b046;
}
.status-inProgress,
.layer-name-inProgress:before {
	color: #e5b026;
}
.status-planned,
.layer-name-planned:before {
	color: #0baafb;
}

.mapboxgl-ctrl-geocoder.mapboxgl-ctrl {
  background-color: #dfe3e5;
  font-size: 14px;
}

.accordion-sidebar .accordion-section, .mapboxgl-ctrl-geocoder.mapboxgl-ctrl {
  box-shadow: none;
  border-bottom: 2px solid #d4d4d4;
}

.aside-inner .card-body, .aside-inner label {
  color: #0D1E26;
}

.accordion-sidebar.accordion-container .card-body {
  padding: 8px;
}

.accordion-sidebar.accordion-container .form-check {
  display: flex;
  padding-left: 35px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.accordion-sidebar .accordion-section {
  padding: 0 15px;
}

.accordion-section.toggles-unchecked {
  opacity: 0.5;
}

.accordion-sidebar .accordion-header p {
  padding-right: 15px;
  line-height: 1.4;
  margin-bottom: 0;
}

.sidebar-container {
  background: transparent;
}


/* Hide the browser's default checkbox */
.accordion-sidebar.accordion-container .form-check input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #eee;
  border-radius: 3px;
}

.checkmark:hover {
  cursor: pointer;
}

.btn-map-layer-toggle {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-progress-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.3em 0.6em;
  background: transparent;
  border: 0 none;
  cursor: pointer;
  border-radius: 0.25em;
}
.btn-map-layer-toggle:hover {
  background: rgba(255,255,255,0.3);
}
.btn-map-layer-toggle:before {
  content: '\f0c8';
  font: normal normal normal 14px/1 "Font Awesome 6 Pro";
  padding-right: 0.5em;
}
.btn-map-layer-toggle.active:before {
  content: '\f14a';
  font-weight: 900;
}




.modal-video {
  width: 100%;
  height: auto;
}

.accordion-sidebar.accordion-container .form-check label {
  font-size: 16px;
}

.accordion-sidebar.accordion-container .form-check input ~ .checkmark {
  background-color: #0d1e26;
  opacity: 0.5;
}

.accordion-sidebar.accordion-container .form-check input ~ * {
  opacity: 0.5;
}

.accordion-sidebar.accordion-container .form-check input:checked ~ .checkmark {
  background-color: #0d1e26;
  opacity: 1;
}

.accordion-sidebar.accordion-container .form-check input:checked ~ * {
  opacity: 1;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.accordion-sidebar.accordion-container .form-check input:checked ~ .checkmark:after {
  display: block;
}

.accordion-sidebar.accordion-container .form-check .checkmark:after {
  left: 7px;
  top: 2px;
  width: 8px;
  height: 14px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


@media (max-width: 991px){
  h1 {
    font-size: 40px;
  }

  p.lead {
    font-size: 17px;
  }

  .hotspot-sm {
    width: 35px;
    height: 35px;
    font-size: 22px;
  }

  #navbarNav {
      text-align: right;
      padding: 20px;
      background-color: rgba(13, 31, 38, 0.5);
      position: absolute;
      top: 48px;
      right: -1px;
      width: 25vw;
      min-width: 250px;
      background-color: #fff;
      border-bottom-left-radius: 5px;
      border-bottom-right-radius: 5px;
      border-top-left-radius: 5px;
      box-shadow: -4px 4px 8px 3px #0d1f26a3;
  }

  .navbar-nav .nav-link {
    color: #0d1f26;
    font-weight: 700;
  }

  .video-content {
    top: 7%;
  }

}

.site-footer {
  background-color: #12272f !important;
}
i.footer-icon {
  color: #039cdf;
}

@media (min-width: 992px){
    .video-content {
      padding-top: 50px;
    }

    .map-content {

    }
}

@media (min-width: 1200px){
    .video-content {

    }
}

@media (min-aspect-ratio: 3/2) and (min-width: 1200px) {
  .section--fill-window .fill-window-aside {
    border-radius: 10px 0px 0px 10px;
  }
  .fill-window-body-map {
    border-radius: 0 10px 10px 0;
  }
}


/* VIDEO MODAL FIXES */

.ca-snippet-media {
  position: relative;
}

.hotspot-container {
  /* border: 2px solid #ee0000; */
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

@media (min-width: 1100px) {
  .ca-snippet-container-flex {
    display: flex;
    flex-direction: row;
  }
  .ca-snippet-media {
    position: relative;
  }
  .modal-video {
    height: 100%;
    position: absolute;
    width: auto;
  }
  .ca-snippet-content {

  }
  .content-height {
    height: 500px;
    position: relative;
    z-index: 999;
    background-color: #fff;
  }
  .ca-snippet-body {
    overflow-y: scroll;
    height: inherit;
  }
}

@media (max-width: 1099px) {
  .ca-snippet-container-flex {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 1250px) {
    .content-height {
      height: 650px;
      width: 100%;
    }
}

@media (max-width: 570px) {
  .video-content {
    top: 5%;
  }
  .video-content h1 {
    font-size: 35px;
  }
  .video-content .btn.btn-primary {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .header-tag h3 {
    font-size: 1em;
  }
}


@media (min-aspect-ratio: 1/1) and (min-width: 992px) {
  .mfp-content .ca-snippet-container-flex .ca-snippet-media {
    min-width: 64%;
  }

  .ca-snippet-main .ca-snippet-container-flex, .mfp-content .ca-snippet-container-flex {
    display: flex;
    justify-content: space-between;
  }

}

.mfp-content .ca-snippet-inner-container {
  max-width: 900px;
}
