/*
Theme Name: Cotswold Curtain Cabin
Theme URI: 
Description: Child theme of Divi theme for the Divi theme
Author: <a href="http://www.elegantthemes.com">Elegant Themes</a>
Author URI: 
Template: Divi
Version: 4.19.5
*/

/* Generated by Orbisius Child Theme Creator (https://orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Mon, 13 Feb 2023 18:09:15 +0000 */ 
/* The plugin now uses the recommended approach for loading the css files.*/


/*** Responsive Styles Tablet And Below ***/
@media all and (min-width: 981px) {
 
 	.introbox > div:nth-child(n) {
		font-size: calc(1.4vw) !important;
	}
	.introbox {
		padding-top: calc(3vw) !important;
		padding-bottom: calc(3vw) !important;
	}
}

/* Contact form */
.et-pb-contact-message {
	color: #00067F;
	font-weight: bold;
	font-size: 18px;
}
a[href^="tel"] {
  color: inherit; /* Inherit text color of parent element. */
  text-decoration: none; /* Remove underline. */
  /* Additional css `propery: value;` pairs here */
}
/* */

@media all and (min-width: 768px) and (max-width: 980px) {
	.home-slider .et_pb_slide_image img {
	width: 40%!important;
}
/*.pa-header .et_pb_menu__logo img {
	display: none;
}
.pa-fixed-header .et_pb_menu__logo img {
	display: block;
}*/
}

/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
	.home-slider .et_pb_slide_image img {
	width: 60%!important;
	}
	.home .pa-header .et_pb_menu__logo img {
		display: none;
	}
	.home .pa-fixed-header .et_pb_menu__logo img {
		display: block;
	}
	.pa-header.pa-fixed-header img {
		transition: all .5s ease !important;
		max-width: 90%
	}
	.pa-header.pa-header img {
		transition: all .5s ease !important;
	}
}
/***/

.pa-header.pa-fixed-header {
	transition: all .5s ease !important;
}
.pa-header.pa-header {
	transition: all .5s ease !important;
}
.pa-header.pa-fixed-header img {
	transition: all .5s ease !important;
	max-width: 90%
}
.pa-header.pa-header img {
	transition: all .5s ease !important;
}


.et_pb_slide:first-child .et_pb_slide_image img.active {
	opacity: 1;
	-webkit-animation-duration: .7s;
	animation-duration: .7s;
	-webkit-animation-delay: .6s;
	animation-delay: .6s;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-name: none;
	animation-name: none;
}

/*show desktop menu on phone*/

/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
	.pa-open-mobile-menu .et_pb_menu__menu {
		display: flex!important;
	}
	.pa-open-mobile-menu .et_mobile_nav_menu {
		display: none!important;
	}
}

/*set the transition for the spacing shrinking action*/
.pa-header .et_pb_row {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/*set the background color of the fixed header when scrolling*/
.pa-fixed-header .et_pb_row {
	padding: 0px 0;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/*set the transition for the logo shrinking action*/
.pa-header .et_pb_image_wrap img {
padding-top:15px;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/*change the logo size when the header shrinks*/
.pa-fixed-header .et_pb_image_wrap img {
	max-width: 60%;
	padding-top:0px;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/*set the transition for the font size shrinking action*/
.pa-header .ccc-menu {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/*change the menu font size when the header shrinks*/
.pa-fixed-header .ccc-menu {
	padding-top:5px;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
.pa-header .ccc-menu  img {
	max-height:80px!important;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
.pa-fixed-header .ccc-menu  img {
	max-height:55px!important;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
.pa-header {
	background-color: rgba(0,0,0,0) !important;
	background-image: linear-gradient(180deg,rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.3) 40%,rgba(0,0,0,0) 100%) !important;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
.pa-fixed-header {
	background-color: rgba(0,0,0,0.4) !important;
	background-image: none !important;
	height:60px!important;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
.pa-header .et-menu-nav li a {
	padding-bottom:10px !important;
}

.pa-fixed-header .et-menu-nav li a {
	padding-bottom:10px !important;
}

/* Nav live */ 
#menu-main-menu .current_page_item a::before {
	border-bottom: solid 2px #fff;
	content: '';
	bottom: 0px !important;
	position: absolute;
	width: 100%;
	left: 0px;
}
/* */ 

/*adjust the gallery grid items after clicking the load more button*/

/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
	.pa-gallery-load-more .et_pb_gallery_item:nth-child(3n) {
		margin-right: 0 !important;
	}
}
/*** Responsive Styles Tablet And Above ***/
@media all and (min-width:981px) {
	.pa-gallery-load-more .et_pb_gallery_item:nth-child(4n) {
		margin-right: 0 !important;
	}
}


/* ______________ */

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
  
}
 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
 
}
 
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
 
}
 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
 
}
 
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
 
}
 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
 
}