/*
 Theme Name: Endless Turns
 Theme URI: https://endlessturns.com
 Description: Endless Turns Child Theme Adapted for Divi
 Author: Quest Graphics
 Author URI: https://questgraphics.co.uk
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
/* Swiper Modal Additional Styling */

swiper-container::part(button-next), swiper-container::part(button-prev) {
  color: #3a3a3a !important;
  background: #ffffff;
  padding: 10px;
  border-radius: 0;
}

swiper-container::part(button-next){
	right:30px;
}

.swiper-button-next svg, .swiper-button-prev svg{
	width:10px!important;
}

swiper-container::part(button-prev){
	left:30px;
}

.lb-disable-scrolling{
	overflow:hidden!important;
}
/* Modal Styling */



.modal-button{
	-appearance:none;
	-o-appearance:none;
	-moz-appearace:none;
	border: 1px solid #f83d2f;
	background-color: #f83d2f;
	padding: 10px 14px;
	display: inline-block;
	margin-top:30px;
	color: white;
	border-radius: 4px;
	margin-right: 6px;
}

.modal-button.secondary{
	background: transparent;
	color: #f83d2f;
	margin-right:0px;
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
   position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.modal iframe{
	width: 100%!important;
}

.modal img{
	min-width: 100%;
	max-width: 100%;

}

/* Modal Content */
.modal-content {
    position: absolute;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 65%;
    /* -webkit-animation-name: animatetop; */
    /* -webkit-animation-duration: 0.4s; */
    /* animation-name: animatetop; */
    /* animation-duration: 0.4s; */
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    border-radius: 12px;
    padding: 0 2vw 2vw 2vw;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: #676767;
    font-size: 40px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    position: relative;
    padding: 2vw 0;
}

.modal-header h2{
	line-height: 1;
	padding-bottom: 0;
	margin-bottom: 0;
}

.modal-body {}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}



/* Modal Styling */




/* Video Header Hero */

.video-hero .et_pb_section_video_bg{
	opacity: 0.5;
}

/* Video Header Hero End */

/* Slideout Filters */

@media only screen and (max-width:980px){
	.slideout-filters{
	min-height: 100%!important;
	transform: translatex(-900px)!important;
	opacity: 0;
	transition: .5s ease;
}

body.show-filters{
	overflow: hidden;
}

body.show-filters .slideout-filters{
	transform: translateX(-50%) translateY(0px)!important;
	opacity: 1;
	overflow: scroll;
}
}



/* Slideout Filters End */

/* Filter Additional Styling */

.bapf_head i img{
	max-height:20px;
	margin-right:8px;
}

/* Toggle Styling */

.mountain-toggle .et_pb_toggle .et_pb_toggle_title:before{
	left:0;
}

.mountain-toggle .et_pb_toggle_title{
	 padding: 0 0px 0 30px!important;
	 transition: .3s ease;
}

.mountain-toggle .et_pb_toggle_open .et_pb_toggle_title{
	padding-left: 0px!important;
}

/* Divi Styling Extras */

.pa-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}

.pa-inline-buttons {
    text-align: center !important;
}

.et_pb_blurb.flex-end .et_pb_blurb_content{
	display: flex;
	flex-direction: row-reverse;
}

.et_pb_blurb.flex-end .et_pb_main_blurb_image{
	display: inline-flex;
	margin-bottom: 0px;
}

.et_pb_blurb.flex-end .et_pb_blurb_container{
	padding-left: 0px!important;
	padding-right: 15px!important;
}

/* Woocommerce OverviewTrip Styling */

.upsells h2:first-child{
	display: none!important;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
	background: white;
	padding: 1em;
	border-top: .3em solid #f83d2f;
}

.et_shop_image{
	margin:-1em -1em 0 -1em;
}

.woocommerce ul.products li.product a.read_more:before{
	content: "\f06e";
	position: relative;
	font-family: "Font Awesome 6 Free";
	-moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    margin-right: 6px;
    font-weight: 800;

}


.woocommerce ul.products li.product a.read_more{
	color:#666;
	border: 1px solid;
	padding: .5em 1.2em;
	display: inline-block;
	margin-top: 1em;
	transition: .4s ease;
	position: absolute;
	bottom: 23px;
	right: 20px;
	margin-top: 0px;
	border-color: #ef3f3347;
	font-size: 12px!important;
}

.woocommerce ul.products li.product .price{
	padding: 12px 0px 17px 0px;
}

.woocommerce ul.products li.product .price bdi{
	font-weight: bold;
}

.woocommerce ul.products li.product .difficulty{
	position: absolute;
	top: 0;
	z-index: 99;
	right: 1em;
	width: 70px;
	background-size: cover;
	background-repeat: no-repeat;
}

.woocommerce ul.products li.product:hover a.read_more{
	background: #f83d2f!important;
	color:white!important;
	border-color: #f83d2f!important;
}

.woocommerce nav.woocommerce-pagination ul li, .woocommerce nav.woocommerce-pagination ul{
	border: 0px;
}

.page-numbers.current, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li a:focus{
	color:black!important;
	border-radius: 50%;
}

.woocommerce nav.woocommerce-pagination ul li{
	margin: 0 4px;
	height: 30px!important;
	width: 30px!important;
}

.page-numbers{
	color:#a4a4a4!important;
}

li.product .et_overlay{
	display: none!important;
}

li.product p{
	color:#666;
	font-size: 12px!important;
}

li.product{
	transition: .4s ease;
}

li.product i{
	color:#f83d2f;
	margin-right: 6px;
}


.woocommerce ul.products li.product strong{
	display: unset;
}

li.product:hover{
	transform: translateY(-10px);
	box-shadow: rgba(0,0,0,0.2) -4px 9px 25px -6px!important;
}

li.product .trip-meta{
	padding: .55em 0px;
	border-top:1px solid #ebebeb;
	border-bottom: 1px solid #ebebeb;
	margin: 0.45em 0 1.1em 0px;
	font-size: 14px!important;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	align-content: flex-start;
	justify-content: flex-start;
}

li.product .trip-meta .item{
	flex-wrap: wrap;
	display: flex;
	flex-basis: 100%;
	flex: revert-layer;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;
	width: 50%;
}

li.product .trip-meta .item h6{
	padding-bottom: 0px;
	margin-bottom: 0px;
	font-size: 14px!important;
}

li.product .trip-meta .item:last-of-type{
	margin-right: 0px;
}


li.product .trip-meta .item .availability{
	
}

li.product .trip-meta .item .destination{
	
}

/* Blurb Styling */

.vertical-blurb .et_pb_module_header{
	padding-bottom: 0px!important;
	margin-bottom: 0px!important;
}

.vertical-blurb .et_pb_blurb_container{
	vertical-align: middle!important;
}

/* WooCommerce Single Trip Inner Styling 


body.single-product .et_pb_menu .et-menu>li{
	padding-left:16px!important;
	padding-right: 16px!important;
}

.et_pb_wc_upsells ul.products li.product:before{
	content:'';
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgb(2,0,36);
	background: linear-gradient(-180deg, rgba(2, 0, 36, 0) 0%, rgb(0 0 0 / 57%) 85%);
	top:0;
	left: 0;
	right: 0;
	z-index: 99;
}

.et_pb_wc_upsells ul.products li.product{
	border-top:0px;
	margin-bottom: 0px!important;
	padding-bottom: 0px!important;
}


.et_pb_wc_upsells ul.products li.product a.read_more{
	display: none;
}

/* General Styling Addons */

.mfp-title{
	visibility: hidden;
	opacity: 0;
}


.et-mailing-list .et_pb_module_heading{
	padding-bottom: 0px!important;
	margin-bottom: 0px!important;
}

.et-mailing-list input[type="email"]{
	width:75%;
	padding: 10px;
	border: 0px;
}

.et-mailing-list input[type="submit"]{
	appearance: none;
	-o-appearance:none;
	-moz-appearannce:none;
	border:0px;
	width:24%;
	background-color: black;
	padding: 10px;
	box-sizing: border-box;
	color:white;
	transition:.3s ease;
}

.et-mailing-list input[type="submit"]:hover{
	background-color: color(srgb 0 0 0 / 0.27);
}

.more-link{
	display: block;
	margin-top:10px;
}


.woocommerce ul.products li.product a{
	z-index: 999;
}


	@media only screen and (min-width:980px){
		.flex-center{
			display: flex;
			align-items: center;
		}
	}

/* Contact Form Styling */
.bespoke-form .row{
	display: flex;
    justify-content: space-between;
}

.bespoke-form .one-half{
	width:100%;
} 

@media only screen and (min-width:980px){
	.bespoke-form .one-half{
		width:48%;
	}
	
	.bespoke-form .col{
		margin-bottom:0px!important;
	}
}

.bespoke-form .one-half:first-of-type{
	margin-bottom:4%;
}

.bespoke-form .full-width{
	width:100%;
}

.bespoke-form .row{
	flex-wrap:wrap;
}

.bespoke-form .full-width:last-child input[type="submit"]{
	float:right;
}

.bespoke-form .section{
	padding-bottom: 40px;
}

.bespoke-form .section:last-child{
	padding-bottom: 0px!important;
}

.bespoke-form .row{
	margin-bottom:4%;
}

.bespoke-form .row:last-of-type{
	margin-bottom:0px!important;
}

.bespoke-form .custom-select, .wpcf7 input[type="date"]{
	border:1px solid rgb(0 0 0 / 18%)!important;
	border-radius:8px;
	padding: 15px;
	position: relative;
}

.bespoke-form .custom-select:after{
	content:'';
	position: absolute;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 8px 6.5px 0 6.5px;
	border-color: #000000 transparent transparent transparent;
	transform: rotate(0deg) translateY(-50%);
	top:50%;
	right: 20px;
	opacity: .5;
}


.wpcf7 select, .wpcf7 input[type="date"]{
	appearance: none;
	-o-appearance:none;
	-moz-appearance:none;
	width: 100%;
	border: 0px;
}

.wpcf7-spinner{
	display: none;
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea{
	width:100%;
	padding:15px;
	border:0;
	background-color:white;
	border:1px solid rgb(0 0 0 / 18%);
	border-radius:8px;
}

.wpcf7-list-item:first-of-type{
	margin-left:0px;
}

.wpcf7 input[type="submit"]{
	background-color:#f83d2f;
	color:white;
	padding: 0.3em 1em;
	width: 100%;
	border:0;
	transition:.5s ease;
	font-weight:300;
	text-transform:uppercase;
	font-size:16px;
	border-radius:4px;
	line-height:1.7em;
}

.wpcf7 input[type="submit"]:hover{
	background-color:black;
}


/* Footer Styling */

.et-l--footer .et_pb_blurb_container{
	vertical-align: middle!important;
}

.et-l--footer .et_pb_blurb_container .et_pb_module_header{
	padding-bottom: 0px!important;
	margin-bottom: 0px!important;
}