.fwa-lightbox:not(.active) { display: none; }

.fwa-lightbox-wrapper,
.fwa-lightbox-bg {
  opacity: 0;
}

.fwa-lightbox-wrapper a { text-decoration: none; }
.fwa-lightbox-wrapper a > img { display: none; }

.fwa-lightbox-wrapper .close-it {
  position: absolute;
  top: -10px;
  right: 0;
  padding: 0 5px;
  width: auto;
  height: 30px;
  line-height: 30px;
  color: #ffffff;
  text-align: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0em;
  background: url(../images/closebtn_lightbox.svg) no-repeat;
  background-size: 18px;
  padding-right: 27px;
  background-position: center right;
  cursor: pointer;
}

.fwa-lightbox-wrapper {
  position: fixed;
  bottom: 0;
  width: 100%;
}
.fwa-lightbox-wrapper .fwa-lb-mobile {
  text-align: center;
  padding-bottom: 20px;
}
.fwa-lightbox-wrapper .fwa-lb-mobile img {
  margin: 0 auto;
  width: 100%;
  max-width: 414px;
}
.fwa-lightbox-wrapper .fwa-lb-mobile h5 {
  color: #0057B8;
  font-size: 20px;
  font-weight: 900;
  line-height: 26px; 
}
.fwa-lightbox-wrapper .fwa-lb-mobile p {
  color: #000;
  font-size: 16px;
  font-weight: 600;
  line-height: 25px;
}
.fwa-lightbox-wrapper .fwa-lb-mobile button {
  border-radius: 25px;
  border: 2px solid #000;
  background: #FFE643;
  color: #000;
  font-size: 18px;
  font-weight: 900;
  line-height: 26px;
  letter-spacing: -0.1px;
  text-transform: uppercase;
  max-width: 90%;
  min-width: 220px;
  padding: 10px 5px;
}

@media (max-width: 999px){
  .fwa-lightbox-bg {
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .5s !important;
    background: #000000;
  }
  body:not(.fwa-lightbox-scrolled) .fwa-lightbox-bg { 
    opacity: 0 !important; 
    pointer-events: none;
  }
  
  .fwa-lightbox-wrapper {
    z-index: 1000;
    height: 0;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    background: #ffffff;
    opacity: 1 !important;
    transition: height .5s !important;
    overflow: hidden;
  }
 
  .fwa-lightbox-wrapper .close-it {
    right: 10px !important;
    top: 5px;
    background-color: #f5f5f5;
    color: black;
    border-radius: 30px;
    font-size: 9px;
    font-weight: 600;
    padding-right: 17px;
    text-decoration: underline;
    height: 26px;
    line-height: 25px;
  }
}

@media (min-width: 768px) and (max-width: 1023px){
  .fwa-lb-mobile img { display: none; }
  .fwa-lb-mobile h5 { margin-bottom: 10px; }
  .fwa-lb-mobile br {
    content: ' ';
    margin-right: 5px;
  }
}

@media (min-width: 1000px){

  .fwa-lightbox-wrapper,
  .fwa-lightbox-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }
  .fwa-lightbox-bg {
    z-index: 99;
    background: #000000;
  }
  .fwa-lightbox-wrapper {
    z-index: 1000;
    align-items: center;
    justify-content: center;
  }
  .fwa-lightbox-wrapper a { 
      position: relative; 
      width: 50%;
      max-width: 566px;
  }
  .fwa-lightbox-wrapper a img { 
    margin: 0 auto;
    max-height: 100%; 
  }

    .fwa-lightbox-wrapper,
    .fwa-lightbox-bg { display: flex; z-index: 1000; }

    .fwa-lightbox-wrapper a > img { display: block; }
    .fwa-lightbox-wrapper a .fwa-lb-mobile { display: none; }

}

@media (min-height: 600px) and (min-width: 1280px){
  .fwa-lightbox-wrapper a { 
    width: 821px;
    height: 531px;
    max-width: 821px;
  }
}

@media (min-width: 1728px){
  .fwa-lightbox-wrapper a { 
    width: 985px;
    height: 637px;
    max-width: 985px;
  }
}