/*
 Theme Name:   Divi Child Theme
 Theme URI:    https://www.elegantthemes.com/
 Description:  Child theme for DIVI by Elegant Themes
 Author:       Indigo Marmoset
 Author URI:   https://www.indigomarmoset.co.uk
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Custom Gallery Slider height */

.custom-gallery .et_pb_gallery_item {
	height: 500px !important;
}

.custom-gallery .et_pb_gallery_item img{
	height: 500px !important;
	position: absolute !important;
	object-fit: cover !important;
}

/* Home Video Main Header */

@media (min-width: 980px) {
	.home #main-header, .page-id-17532 #main-header {
		background: transparent;
		box-shadow: none;
	}

	.home #main-header.et-fixed-header, .page-id-17532 #main-header.et-fixed-header {
		background: #000;
	}
}

@media (max-width: 980px) {
	.home #logo, .page-id-17532 #logo, .page-id-17385 #logo, .page-id-17398 #logo, .page-id-17416 #logo, .page-id-17426 #logo, .page-id-18077 #logo, .page-id-18096 #logo, .page-id-18218 #logo, .page-id-18130 #logo, .page-id-18236 #logo, .page-id-18305 #logo, .page-id-18341 #logo, .page-id-18385 #logo, .page-id-18453 #logo, .page-id-18756 #logo, .page-id-18786 #logo {
		display: none !important;
		opacity: 0 !Important;
	}
	.home #page-container, .page-id-17532 #page-container {
		padding-top: 80px !Important;
	}
}

/* Home Social Icons */

#home_social {
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	bottom: 40px;
	left: 0;
	right: 0;
	z-index: 9999;
}

@media (max-width: 980px) {
	#home_page #home_social a {
		display: inline !important;
		width: 20px;
	}
	#home_social img {
		display: inline !important;
		width: 20px;
	}
}

/* Typography */

body, p, a, li, body h1, body h2, body h3, body h4, body h5, body h6, .et_pb_bg_layout_dark, .et_pb_bg_layout_dark h1, .et_pb_bg_layout_dark h2, .et_pb_bg_layout_dark h3, .et_pb_bg_layout_dark h4, .et_pb_bg_layout_dark h5, .et_pb_bg_layout_dark h6 {
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif !important;
}

body #main-content .et_pb_text a:not(.et_pb_button), body #main-content #sidebar a, body #main-content .df_at_all_tabs a {
	color: #b0916e;
	text-decoration: underline;
}
/* Mobile Logo Size */

@media (max-width: 980px) {
	.et_header_style_left #logo, .et_header_style_split #logo {
		max-width: 100%;
		max-height: 100%;
	}
}

/* Navigation */

.mobile_menu_bar:before, .mobile_menu_bar:after {
	color: #b0916e !important;
}

.et_pb_slide_menu_active .et_toggle_slide_menu:after {
opacity: 1;
}

/* .mobile_menu_bar:after {
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif !important;
	opacity: 1 !important;
	transform: none !important;
	display: none !important;
	position: static !important;
} */

/* Home Page */

#home_page a {
	margin-right: 15px;
}

#home_page a:last-child {
	margin-right: 0px;
}

@media (max-width: 980px) {
	#home_page a {
		display: block !important;
		margin-right: 0px;
	}
}

/* Home Page Banner */

.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll a {
	margin-bottom: 80px !important;
}

/* Secondary Menus */

.secondary_menu h1 {
	margin-right: 20px;
}

.secondary_menu h1, .secondary_menu p { 
	display: inline;
}

.secondary_menu a {
	margin-right: 15px;
	color: #b0916e;
}

.secondary_menu a:last-child {
	margin-right: 0px;
}

@media (max-width: 980px) {
	.secondary_menu h1, .secondary_menu p, .secondary_menu a { 
	display: inline-block;
	margin-right: 0px;
}
}

/* Table */

table, tbody, tr, td {
	border-color: #b0916e !important;
}

/* Tabs */

ul.et_pb_tabs_controls {
    background-color: #e7dfd6;
}

.et_pb_tabs, .et_pb_tabs_controls li, ul.et_pb_tabs_controls:after {
	border-color: #e7dfd6;
}

/* Slider */

.et_pb_slider .et_pb_slide_3 {
    background-color: transparent !important;
}

.et_pb_slide_description {
    padding: 16% 0%;
}

/* Service List */

.service_list ul {
	list-style-type: none;
	padding: 0px !important;
}

.service_list ul li {
	display: inline;
}

.service_list ul li:before {
	font-family: ETmodules!important;
	content: "\5e";
	color: #b0916e;
	margin: 0px 10px;
}

@media (max-width: 480px) {
	.service_list ul {
	list-style-type: square;
	padding: 20px !important;
}
	
.service_list ul li:before {
	display: none;
}	
	
	.service_list ul li {
		display: block;
		text-align: center;
		font-size: 15px;
}
}

/* Lists */

.et_pb_text ul, .et_pb_text ol {
	list-style-position: outside;
	padding-left: 20px;
}


.et_pb_text li {
	margin-bottom: 15px;
}

/* Project Pages */

.single-project .et_pb_post {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

/* Filterable Portfolio */

.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
    margin: 2px;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
    border: 1px solid #b0916e;
    color: #fff;
    background-color: #b0916e;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover, .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active {
	background-color: #947551;
	color: #fff;
	border: 1px solid #947551;
}

.et_pb_filterable_portfolio .post-meta a {
	color: #b0916e !important;
	font-size: 18px;
}

/* Hide Gallery Caption */

.mfp-title {
	display: none;
}

/* Half Layouts */

.half_layout h2 {
	margin-bottom: 20px;
}

/* Owl Carousel */
.owl-prev {
	top: 30%;
}

.owl-next {
	top: 30%;
}

/* Divi Overlays */

.overlay-container .overlay-close {
    right: 25px;
}

/* Happy Form */

.happyforms-styles .happyforms-part .checkmark {
	border-color: #b0916e !important;
}

/* Quote Form */

.caldera-grid .form-control::-webkit-input-placeholder {
   color: #666 !important;
}

.caldera-grid .form-control:-moz-placeholder { /* Firefox 18- */
   color: #666 !important; 
}

.caldera-grid .form-control::-moz-placeholder {  /* Firefox 19+ */
   color: #666 !important;
}

.caldera-grid .form-control:-ms-input-placeholder {  
   color: #666 !important;
}

/* Enquiry Form */

body .caldera-grid .form-control {
	padding: 12px;
	height: auto;
	box-shadow: none;
	background: #f2f2f2;
	border: none;
}
 
.caldera-grid input[type=submit] {
	padding: 10px 20px;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	background: #b0916e;
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	border: none;
	float: none;
	text-align: center;
	transition: all 0.3s ease-in-out;
}

.caldera-grid input[type=submit]:hover {
	background: #b0916e;
	color: #fff;
	opacity: 0.7;
}

.caldera-grid .parsley-required {
	color: #b0916e;
}

#caldera_form_1 .gdpr br {
	display: none;
}

.caldera-grid .gdpr label {
	font-weight: 400;
	color: #000 !important;
}

#caldera_form_1 .gdpr a {
	color: #b0916e;
	text-decoration: underline;
}

.g-recaptcha {
	margin: auto;
	text-align: center;
	width: auto;
	display: inline-block;
}

/* Single Project Pages */

html body.single-project #main-content, html body.single .et_pb_post.project.type-project {
    background-color: #000 !important;
}

html body.project-template-default .nav-single .nav-previous a, 
html body.project-template-default .nav-single .nav-next a {
	color: #b0916e !important;
}

/* Footer */

#main-footer .footer-widget, #main-footer .fwidget:last-child {
    float: none;
    margin: auto;
    text-align: center;
}

#main-footer .textwidget {
	margin: 0px auto;
    text-align: center;
    display: inline-block;
	float: none;
}

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

/* Change columns from 4-3 */

@media (min-width: 980px) {
.et_pb_column_4_4 .et_pb_portfolio_grid .project {
  clear: none !important;
  margin: 0 5% 42px 0 !important;
  width: 30% !important;
}
.et_pb_column_4_4 .et_pb_portfolio_grid .project:nth-child(3n) {
	margin-right: 0px !important;
}
}