/*
Theme Name: Divi Child Theme
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author: Indigo Marmoset
Template: Divi
*/

@import url("https://interiortransformationstudio.co.uk/wp-content/themes/Divi/style.css");

/* WHICH Reviews */

a#which_btn {
	position: fixed;
	bottom: 0px;
	left: 0px;
	z-index: 99999;
	background: #e93d49;
	color: #fff;
	padding: 10px 40px;
	transition: all .4s ease-in-out;
	display: inline-block;
}

a#which_btn:hover {
	background: #a1121b;
}

#which_reviews iframe {
	min-height: 1000px !important;
}

  @media screen and (min-width: 768px) {
	  #which_reviews iframe {
		  min-height: 535px;
	  }
} 

/* Main Header */

#main-header, body #main-header.et-fixed-header {
	-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.1) !important;
	-moz-box-shadow: 0 1px 0 rgba(0,0,0,.1) !important;
	box-shadow: 0 1px 0 rgba(0,0,0,.1) !important;
}

/* Dropdown Menu Width */

#top-menu ul.sub-menu {
	width: 300px;
}

#top-menu ul.sub-menu li a {
	width: 260px;
	font-size: 14px;
	padding: 0px 20px;
	text-transform: none;
}

@media only screen and (min-width: 981px) {
	.et_header_style_centered #top-menu>li>a {
		padding-bottom: 20px !important;
	}
}

.nav_tel a:before {
    color: #e93d49;
    font-family: ETmodules!important;
    font-weight: 400;
    position: relative;
    top: 2px;
    margin-right: 2px;
    content: "\e090";
}

.nav_showroom a:before {
    color: #e93d49;
    font-family: ETmodules!important;
    font-weight: 400;
    position: relative;
    top: 2px;
    margin-right: 2px;
    content: "\e082";
}

/* Mobile Menu */

@media (max-width: 980px) {
	.et_header_style_centered #et_mobile_nav_menu {
    	margin-top: 0px;
	}
	.et_header_style_centered #main-header .mobile_nav {
		background: #e93d49;
		background: transparent;
	}
	.et_header_style_centered .mobile_nav .select_page, .mobile_menu_bar:before {
		color: #fff !important;
		color: #1a1a1a !important;
	}
}

div.mobile_nav.opened .mobile_menu_bar:before {
    font-family: "ETmodules";
    content: "\4d"; 
}

/* Banners */

.down_arrow.et_pb_blurb_0 .et_pb_main_blurb_image {
    position: absolute;
    bottom: -80px;
	left: 0;
    right: 0;
}

/* Custom Rows */

.its_row .et_pb_column_1 {
	position: relative;
	top: -352px;
}

@media (max-width: 980px) {
	.its_row .et_pb_column_1 {
		position: static;
	}
}

/* Gallery */

.its_gallery .et-pb-arrow-prev {
    left: 44px !important;
}

.its_gallery .et-pb-arrow-next {
    right: 44px !important;
}

.its_gallery .et-pb-controllers {
    bottom: 40px !important;
}

.mfp-title {
	display: none;
}

/* Center Bottom Footer */

#footer-info {
    float: none;
    text-align: center;
}

#footer-bottom .et-social-icons {
    float: none;
    text-align: center;
    padding: 20px 0px;
}

/* Contact Form 7 */

.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
background-color: #f2f2f2 !important;
border: none !important;
width: 100% !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
border-radius: 0 !important;
font-size: 14px;
color: #666 !important;
padding: 16px !important;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

.wpcf7-submit {
background-color: transparent;
border: 2px solid #e93d49;
color: #fff !important;
margin: 8px auto 0;
cursor: pointer;
font-size: 20px;
font-weight: 600;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
padding: 6px 20px;
line-height: 1.7em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-transition: all 0.2s;
-webkit-transition: all 0.2s;
transition: all 0.2s;
}

.wpcf7-submit:hover { 
background-color: transparent; 
border-color: #e93d49;
padding: 6px 20px !important; 
opacity: 0.7;
}

div.wpcf7-validation-errors, div.wpcf7-mail-sent-ok {
border: 2px solid #e93d49;
color: #e93d49;
}

.gdpr-consent .wpcf7-list-item {
	margin-left: 0px;
}

#main-header .et_mobile_menu li ul.hide {
    display: none !important;
}

#mobile_menu .menu-item-has-children {
    position: relative;
}

#mobile_menu .menu-item-has-children > a {
    background: transparent;
}

#mobile_menu .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}

span.menu-closed:before {
    content: "\4c";
    display: block;
    color: inherit;
    font-size: 16px;
    font-family: ETmodules;
}

span.menu-closed.menu-open:before {
    content: "\4d";
}