.italic {
  font-style: italic;
}

.mt-0 {
  margin-top: 0;
}

#gallery-filter {
  background-color: var(--cream);
  padding: 3vh 0;
  border-bottom: 1px solid #a57e48;
}

#gallery-main-container {
  background-color: var(--cream);
  padding: 5vh 0;
}

div#gallery-filter > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.graphic-filters {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.graphic-filters label,
.audio-filters label {
  font-family: sweet-sans-pro, sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
}

.audio-filters label::before {
  content: "";
  height: 18px;
  width: 18px;
  background: url(https://thefordstaging.wpengine.com/wp-content/uploads/2021/06/sliders-v-regular.png)
    center center no-repeat;
  display: inline-block;
  position: relative;
  top: 3px;
  right: 10px;
}

.audio-filters label::after {
  content: "";
  height: 18px;
  width: 18px;
  background: url(https://thefordstaging.wpengine.com/wp-content/uploads/2021/03/gold-caret-right.svg)
    center center no-repeat;
  display: inline-block;
  position: relative;
  top: 3px;
  left: 10px;
  transition: all ease-in-out 250ms;
  transform: rotate(90deg);
}

.rotate-me {transform: rotate(-90deg) !important;}

.audio-filters input:checked ~ label::after {
  transform: rotate(90deg);
}

#audio-experience-main-container {
  padding: 4vh 0;
  margin: 0 0 5vh 0;
}

.page-template-template-gallery input::after {
  content: "";
  display: block;
  position: absolute;
  background: url(https://thefordstaging.wpengine.com/wp-content/uploads/2021/07/audio.png)
    center center no-repeat;
  background-size: contain;
  height: 15px;
  width: 15px;
  right: 0;
  top: 20px;
}

.page-template-template-gallery input::before {
  content: "";
  display: block;
  position: absolute;
  background: url(https://thefordstaging.wpengine.com/wp-content/uploads/2021/07/muted.png)
    center center no-repeat;
  background-size: contain;
  height: 15px;
  width: 15px;
  left: 0;
  top: 20px;
}

/* #main-video-container, */
#audio-experience-main-container,
#live-container {
  display: none;
}

.ag-grid-images,
.video-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.all-audio-experiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  justify-items: center;
  gap: 2rem;
}

.audio-filters .custom-cb_hidden {
  display: none;
}

.ae-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.ae-card .custom-cb {
  display: none;
}

.ae-card img {
  max-width: 50%;
}

#main-video-container h4 {    
	margin-block-start: 0em;
    margin-block-end: 0em;
    padding: 1rem 0px 1rem 0px;
}

.page-template-template-gallery .video-item {
  text-align: left;
}
.page-template-template-gallery .video-item video {
  max-width: 100%;
}

.page-template-template-gallery input {
  background: linear-gradient(
    to right,
    var(--dk-green) 0%,
    #cecece 0%,
    #cecece 50%,
    #cecece 100%
  );
  border-radius: 8px;
  height: 7px;
  width: 100%;
  outline: none;
  transition: background 450ms ease-in;
  -webkit-appearance: none;
  position: relative;
}

.page-template-template-gallery input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  background: var(--dk-green);
  border-radius: 8px;
  cursor: pointer;
  -webkit-appearance: none;
}

@media only screen and (max-width: 768px) {
  .page-template-template-gallery .max-90 {
    max-width: 90%;
  }
  .page-template-template-gallery .graphic-filters,
  .page-template-template-gallery #gallery-filter .max-90 {
    flex-direction: column;
  }

  .audio-filters {
    margin-top: 2vh;
  }

  .ag-grid-images,
  .video-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .all-audio-experiences {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 425px) {
  .page-template-template-gallery a.inquire {
    top: unset;
  }

  .all-audio-experiences {
    grid-template-columns: 1fr;
  }

  .ag-grid-images,
  .video-items {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Range Styles 

    input[type="range"] {
    width: 100%;
    margin: 7.3px 0;
    background-color: transparent;
    -webkit-appearance: none;
    }
    input[type="range"]:focus {
    outline: none;
    }
    input[type="range"]::-webkit-slider-runnable-track {
    background: rgba(48, 113, 169, 0.78);
    border: 0.2px solid #4d5656;
    border-radius: 1.3px;
    width: 100%;
    height: 11.4px;
    cursor: pointer;
    }
    input[type="range"]::-webkit-slider-thumb {
    margin-top: -7.5px;
    width: 26px;
    height: 26px;
    background: #4d5656;
    border: 0;
    border-radius: 26px;
    cursor: pointer;
    -webkit-appearance: none;
    }
    input[type="range"]:focus::-webkit-slider-runnable-track {
    background: #367ebd;
    }
    input[type="range"]::-moz-range-track {
    background: rgba(48, 113, 169, 0.78);
    border: 0.2px solid #4d5656;
    border-radius: 1.3px;
    width: 100%;
    height: 11.4px;
    cursor: pointer;
    }
    input[type="range"]::-moz-range-thumb {
    width: 26px;
    height: 26px;
    background: #4d5656;
    border: 0;
    border-radius: 26px;
    cursor: pointer;
    }
    input[type="range"]::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 8.2px 0;
    color: transparent;
    width: 100%;
    height: 11.4px;
    cursor: pointer;
    }
    input[type="range"]::-ms-fill-lower {
    background: #2a6495;
    border: 0.2px solid #4d5656;
    border-radius: 2.6px;
    }
    input[type="range"]::-ms-fill-upper {
    background: rgba(48, 113, 169, 0.78);
    border: 0.2px solid #4d5656;
    border-radius: 2.6px;
    }
    input[type="range"]::-ms-thumb {
    width: 26px;
    height: 26px;
    background: #4d5656;
    border: 0;
    border-radius: 26px;
    cursor: pointer;
    margin-top: 0px;
    }
    input[type="range"]:focus::-ms-fill-lower {
    background: rgba(48, 113, 169, 0.78);
    }
    input[type="range"]:focus::-ms-fill-upper {
    background: #367ebd;
    }

    @supports (-ms-ime-align: auto) {
    input[type="range"] {
        margin: 0;
    }
    }
*/

#gallery-filter input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  top: -20px;
  left: -20px;
}
.option-set label input {
  margin-right: 0.5rem;
}

#gallery-filter span.custom-cb {
  display: inline-block;
  width: 20px;
  height: 20px;
  content: "";
  background: transparent;
  border: 1px solid #4d5656;
  margin-left: 10px;
  position: relative;
  top: 5px;
}

#gallery-filter input[type="checkbox"]:checked + span.custom-cb:before {
  content: "";
  width: 3px;
  height: 3px;
  background: #4d5656;
  position: absolute;
  left: 2px;
  top: 7px;
  box-shadow: 2px 0 0 #4d5656, 4px 0 0 #4d5656, 4px -2px 0 #4d5656,
    4px -4px 0 #4d5656, 4px -6px 0 #4d5656, 4px -8px 0 #4d5656;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.page-template-template-gallery .has-image[data-image-fit=contain] .fancybox__image { cursor: zoom-in !important; }
/* Misc */
@media (max-width: 466px) {
  a.inquire {
    top: inherit;
    height: 54px;
    bottom: 0 !important;
  }
}
