/**
*
* Theme Name: USH Theme
* Description: USH Target Rides and Atractions specific style.
*
**/
.rides-and-atractions .main-content{
  padding: 2.8125rem 0 5rem;
}

.rides-and-atractions .modals-wrapper .pop-up-carousel{
  margin: 0;
  width: 100%;
  max-width: 660px;
  height: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  float: none;
  position: relative !important;
} 
.rides-and-atractions .modals-wrapper .pop-up-carousel-wrapper .slick-dots{
  position: absolute;
  width: initial;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 !important;
  bottom: 1rem !important;
}

.rides-and-atractions .modals-wrapper .pop-up-carousel-wrapper .slick-dots li button{
  width: 13px;
  height: 13px;
  padding: 0;
  border-radius: 50%;
  border: solid 2px #fff;
  background: #333333;
  margin: 0;
  opacity: 0.7;
}

.rides-and-atractions .modals-wrapper .pop-up-carousel-wrapper .slick-dots li.slick-active button{
  background: #fff;
  opacity: 1;
}

.rides-and-atractions .modals-wrapper .pop-up-carousel-wrapper .slick-dots li button:before{
  display: none;
}

.rides-and-atractions .modals-wrapper .promo-desc .carousel-content{
  margin-top: 0;
  line-height: 1.33;
  max-width: 350px;
  width: 100%;
  color: #fff;
  margin-left: 2.1875rem;
}

.rides-and-atractions .modals-wrapper .attr-title{
  padding: 0;
  margin-bottom: 1rem;
}

.rides-and-atractions .modals-wrapper .promo-desc{
  line-height: 1.67;
  font-weight: 300;
  letter-spacing: 0.25px;
}

.rides-and-atractions .ride-content{
  margin: 0 1.25rem;
  height: auto;
}

.rides-and-atractions .modals-wrapper{
  position: relative;
}

.rides-and-atractions .modals-wrapper .modal{
  width: 100%;
  display: none;
  background: #036ce2;
  opacity: 0;
  transition: all 0.15s;
}

.rides-and-atractions .modals-wrapper .modal .modal-close{
  top: 0;
  right: 0.625rem;
  margin: 0;
}

.rides-and-atractions .modals-wrapper .modal.is-visible{
  opacity: 1;
  display: block;
}

.rides-and-atractions .modals-wrapper .modal .promo-desc{
  display: flex;
  padding: 1.5625rem 2.1875rem;
}

.rides-and-atractions .posts-wrapper .slider-left-btn,
.rides-and-atractions .posts-wrapper .slider-right-btn{
  z-index: 10;
}

.rides-and-atractions .posts-wrapper .promo-card-summary-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  min-height: 77px;
}

.rides-and-atractions .posts-wrapper .ride-content.no-modal .promo-card-summary-header.open-modal:before{
  display: none;
}

.rides-and-atractions .posts-wrapper .promo-card-summary-header.open-modal{
  margin-bottom: 25px;
}

.rides-and-atractions .posts-wrapper .promo-card-summary-header.open-modal:before{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 17px 23px 17px;
  border-color: transparent transparent #036ce2 transparent;
  transform: translateX(-50%);
  left: 50%;
  bottom: -28px;
}

.rides-and-atractions .posts-wrapper .promo-card-summary-title{
  padding: 0;
  margin: 0;
  width: auto;
  line-height: 1.33;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 36px;
}

.rides-and-atractions .posts-wrapper .promo-button{
  max-width: 25px;
  width: 100%;
  display: inline-block;
  position: absolute;
  height: initial;
  top: 50%;
  transform: translateY(-50%);
}

.rides-and-atractions .posts-wrapper .promo-button p{
  margin-bottom: 0;
  line-height: 0;
  margin: 0;
}


.rides-and-atractions .posts-wrapper button.slick-arrow{
  width: 60px;
  height: 60px;
  background: #036ce2;
  top: 100px;
}

.rides-and-atractions .modals-wrapper .pop-up-carousel-wrapper button.slick-arrow{
  width: 50px;
  height: 50px;
}

.rides-and-atractions .modals-wrapper .pop-up-carousel-wrapper button.slick-arrow:before{
  display: block;
}
  
.rides-and-atractions .posts-wrapper button.slick-arrow{
  transform: translate(0);
  z-index: 1;
}
.rides-and-atractions .modals-wrapper .pop-up-carousel-wrapper button.slick-arrow{
  transform: translateY(-50%);
  top: 50%;
}

/*.rides-and-atractions .modals-wrapper button.modal-navigation.modal-navigation--left*/

.rides-and-atractions .modals-wrapper button.slick-arrow.slick-prev,
.rides-and-atractions .modals-wrapper .pop-up-carousel-wrapper button.slick-arrow.slick-prev{
  transform: scaleX(-1) translateY(-50%);
}


.rides-and-atractions .modals-wrapper button.modal-arrows{
  width: 30px;
  height: 140px;
  background-color: rgba(255, 255, 255, 0.4);
  top: 50%;
  display: none;
}

.rides-and-atractions .modals-wrapper button.slick-arrow.slick-prev.slick-disabled,
.rides-and-atractions .modals-wrapper button.slick-arrow.slick-next.slick-disabled{
  display: none !important;
}

.rides-and-atractions .posts-wrapper{
  position: relative;
}

.rides-and-atractions .posts-wrapper .slick-initialized{
  overflow: hidden;
}

.rides-and-atractions .posts-wrapper button.slick-arrow.slick-prev{
  transform: scaleX(-1);
}

.rides-and-atractions .posts-wrapper button.slick-arrow.slick-prev{
  left: -30px;
  top: 105px;
}

.rides-and-atractions .posts-wrapper button.slick-arrow.slick-next{
  right: -30px;
  top: 105px;
}


.rides-and-atractions .modals-wrapper button.slick-arrow.slick-next:before,
.rides-and-atractions .modals-wrapper button.slick-arrow.slick-prev:before,
.rides-and-atractions .modals-wrapper .pop-up-carousel-wrapper button.slick-arrow.slick-next:before,
.rides-and-atractions .modals-wrapper .pop-up-carousel-wrapper button.slick-arrow.slick-prev:before,
.rides-and-atractions .posts-wrapper button.slick-arrow.slick-next:before,
.rides-and-atractions .posts-wrapper button.slick-arrow.slick-prev:before{
  background-image: url('/wp-content/themes/ush_theme/assets/images/icons/chevron-icon.svg');
  background-repeat: no-repeat;
  background-position: center;
  color: transparent;
}

.rides-and-atractions .posts-wrapper button.slick-arrow.slick-prev:before{
  transform: scaleX(-1);
}

.rides-and-atractions .posts-wrapper button.slick-arrow.slick-next:after,
.rides-and-atractions .posts-wrapper button.slick-arrow.slick-prev:after{
  content: "";
  border-color: transparent transparent transparent #152a75;
  border-width: 0px 0 23px 30px;
  border-style: solid;
  position: absolute;
  top: 100%;
  left: 50%;
  height: 0;
  width: 0;
}

.rides-and-atractions .posts-wrapper .slick-list{
  margin-left: -1.25rem;
  margin-right: -1.25rem;
}

.rides-and-atractions .posts-wrapper ul.slick-dots{
  position: absolute;
  bottom: -50px;
  margin: 0 !important;
}

.rides-and-atractions .posts-wrapper .slick-dots li{
  margin: 0 0.1875rem;
}
.rides-and-atractions .posts-wrapper .slick-dots li button{
  border: solid 1px #333333;
  background: #fff;
  border-radius: 50%;
  width: 13px;
  height: 13px;
}

.rides-and-atractions .posts-wrapper .slick-dots li.slick-active button{
  background: #333333;
}

.rides-and-atractions .posts-wrapper .slick-dots li button:before{
  opacity: 0;
}

.ride-content__image{
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ride-content__image:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: calc(242 / 373 * 100%);
}

@media only screen and (max-width: 1270px) {
  .rides-and-atractions__title{
    margin-left: 3.125rem;
    margin-right: 3.125rem;
  }

  .rides-and-atractions .posts-wrapper{
    margin: 0 3.125rem;
  }
}