/**************************\
  Basic Modal Styles
\**************************/

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3,18,18,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:9999999;
}

.modal__container {
  background-color: #fff;
  max-width: 800px;
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
  z-index:3;
  right:15px;
  top:15px;
  position:absolute;
  cursor:pointer;
  color:var(--black-100);
}
.modal__close svg{
    pointer-events: none;
}

.modal__content .extra-field{
    font-family:var(--nunito-sans);
    font-weight:400;
    letter-spacing:0.01rem;
    line-height:21px;
    margin-top:0;
    text-transform:unset;
    color:var(--blue-600);
    font-size: 14px;
    border-bottom: 1px solid var(--blue-700);
    padding-bottom: 15px;
    display: block;
}
.modal__content p{
    font-size:var(--small-copy);
    line-height:21px;
}
.modal__content img,
.modal__content .img-box{
    border-top-right-radius:0;
    border-bottom-right-radius:0;
}
.modal__content img{
    object-fit: cover;
    height: 100%;
}
.modal__content .fun-facts{
    font-size:var(--small-copy);
    line-height:18px;
    color:#919191;
    padding-top:20px;
}
.modal__content .fun-facts li,
.modal__content .fun-facts p{
    color:#919191;
}
.modal__content .caption{
    padding:15px 23px 15px 28px;
}
#reviews .modal__container{
    padding:15px 15px;
}

@media (min-width:768px){
    #reviews .modal__overlay{
        padding:50px 0;
    }
    #reviews .modal__container{
        max-height:calc(100vh - 100px);
        padding:30px 15px;
    }
}


/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}
