/*
Theme Name: Divi Plumber
Theme URI: https://divilife.com/downloads/divi-plumber-child-theme
Version: 1.0
Description: Divi Plumber is a child theme for Divi, designed for plumbers or any other service related business.
Author: Divi Life — Tim Strifler
Template: Divi
Author URI: https://divilife.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/



#page-container { overflow-x: hidden; }

/***MAIN CUSTOM HEADER STYLING start***/

.custom-top-bar-section .custom-header-email-blurb .et_pb_blurb_container { padding-left: 10px; }
.custom-top-bar-section .custom-top-bar-social-icons li { margin-bottom: 0; }

.et_mobile_menu li a:hover, .nav ul li a:hover { opacity: 1; }

.custom-header-menu-row { z-index: 999; }

@media (min-width: 981px) {
	
	/***Fixed menu start***/
	.custom-header-menu.custom-fixed-menu {
		position: fixed;
		top: 0;
		width: 80%;
		max-width: 1160px;
		box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
	}
	.admin-bar .custom-header-menu.custom-fixed-menu { top: 32px; }
	#main-content.on-fixed-header { padding-top: 76px; } 
	/***Fixed menu end***/
	
	.custom-header-menu .et_pb_menu__logo-wrap {
		position: absolute;
		top: -62px;
		left: 0;
	}
	.custom-header-menu.et_pb_menu .et-menu-nav { padding-left: 30px; }
	.custom-header-menu.et_pb_menu .et-menu>li {
		padding-left: 20px;
		padding-right: 20px;
	}
	.custom-header-menu.et_pb_menu .et_pb_menu__menu>nav>ul>li a { position: relative; }
	.custom-header-menu.et_pb_menu .et_pb_menu__menu>nav>ul>li a:hover { opacity: 1;}
	.custom-header-menu.et_pb_menu .et_pb_menu__menu>nav>ul>li a:before {
		content: '';
		height: 2px;
		width: 100%;
		position: absolute;
		bottom: 17px;
		background: #fff;
		transform: scaleX(0);
		transition: all 0.4s ease;
	}
	.custom-header-menu.et_pb_menu .et_pb_menu__menu>nav>ul>li.current-menu-item a:before,
	.custom-header-menu.et_pb_menu .et_pb_menu__menu>nav>ul>li a:hover:before {
		transform: scaleX(1);
		transition: all 0.4s ease;
	}
	
	.custom-header-menu .et_pb_menu__icon.et_pb_menu__search-button {
		margin-left: auto;
		margin-right: 40px;
	}
	
	.custom-header-menu .et_pb_menu__search-container { padding-left: 30px !important; }
	
	.custom-header-menu .et_pb_menu__search-input,
	.custom-header-menu .et_pb_menu__search-input::placeholder {
		color: #FFF;
	}
}

@media (max-width: 980px) {
	.custom-top-bar-section { z-index: 999; }
	.custom-main-header-section { z-index: 998; }
	.custom-header-menu .et_mobile_menu { top: 68px; }
	.custom-header-menu .et_mobile_menu li a { 
		padding: 16px 5%; 
		text-align: center;
	}
}

@media (max-width: 599px) {
	.custom-top-bar-section .et_pb_row, .custom-header-blurb-row {
		width: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (max-width: 519px) {
	.custom-top-bar-section .custom-header-email-blurb .et_pb_blurb_description span {
		display: none;
	}
}

@media (max-width: 479px) {
	.custom-top-bar-section .et_pb_row, .custom-header-blurb-row {
		padding-left: 10px;
		padding-right: 16px;
	}
	.custom-header-blurb .et_pb_image_wrap .et-pb-icon { font-size: 13px; }
	.custom-header-blurb .et_pb_blurb_container { 
		padding-left: 8px;
		font-size: 13px;
	}
	.custom-top-bar-social-icons li a { margin-right: 4px; }
	.custom-header-blurb-row .et_pb_column { flex-wrap: wrap; }
	.custom-header-menu-row {
		width: 100%;
		padding-left: 18px;
		padding-right: 30px;
	}
}

/***MAIN CUSTOM HEADER STYLING end***/


/***FOOTER ADDITIONAL STYLING start***/

@media(min-width: 981px) {
	.custom-footer-section .et_pb_row_4col .et_pb_column_1_4:nth-child(2) { width: 13%; }
	.custom-footer-section .et_pb_row_4col .et_pb_column_1_4:nth-child(1) { width: 28.75%; }
}

/***Email optin start***/

.footer-email-optin.et_pb_newsletter .et_pb_newsletter_fields > * { flex-basis: auto; }

.footer-email-optin.et_pb_newsletter .et_pb_contact_field_last { width: calc(100% - 46px); }

.footer-email-optin.et_pb_newsletter .et_pb_newsletter_fields #et_pb_signup_email {
	border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.footer-email-optin.et_pb_newsletter .et_pb_newsletter_button {
	width: 46px;
	height: 48px;
	border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.footer-email-optin.et_pb_newsletter .et_pb_newsletter_button .et_pb_newsletter_button_text:after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: url('https://diviplumber.divilife.site/wp-content/uploads/2019/11/optin-send-icon.svg') center no-repeat;
	background-size: 20px;
}

/***Email optin end***/

@media only screen and (min-width: 681px) and (max-width: 980px) {
	.custom-footer-section .et_pb_row_4col .et_pb_column:nth-child(even) {
		padding-left: 20px;
	}
	.custom-footer-section .et_pb_row_4col .et_pb_column:nth-child(-n+2) {
		border-bottom: 1px solid;
		margin-bottom: 30px;
		padding-bottom: 30px;
	}
}

@media (max-width: 680px) {
	.custom-footer-section .et_pb_row_4col .et_pb_column {
		width: 100%;
		margin-right: 0;
	}
	.custom-footer-section .et_pb_row_4col .et_pb_column:not(:last-child) {
		border-bottom: 1px solid;
		margin-bottom: 30px;
		padding-bottom: 30px;
	}
}

/***FOOTER ADDITIONAL STYLING end***/


/***HOMEPAGE ADDITIONAL STYLING start***/

.hp-hero-module.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
	width: 100%;
    max-width: none;
}

@media(min-width: 1081px) {
	.hp-hero-form .et_pb_contact_form {
		display: flex;
		align-items: center;
		padding-left: 12px;
	}
	.hp-hero-form .et_pb_contact_form p.et_pb_contact_field {
		margin: 0;
		padding-left: 18px;
	}
	.hp-hero-form .et_contact_bottom_container {
		margin-top: 0;
		min-width: 158px;
	}
}
.hp-hero-form .et_pb_contact_form p.et_pb_contact_field input:focus { border-color: #f58635; }

/***HOMEPAGE ADDITIONAL STYLING end***/


/***GALLERY MODULE styling start***/

/***Gallery Custom Overlay start***/

.custom-gallery-module .et_pb_gallery_image:hover .et_overlay { opacity: 0; z-index: -99; }

.custom-gallery-module .et_pb_gallery_item { position: relative; }

.custom-gallery-overlay-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
    padding: 12%;
	visibility: hidden;
	opacity: 0;
	transform: scale(0.9);
	transition: all 0.4s ease;
}

.custom-gallery-module .et_pb_gallery_item:hover .custom-gallery-overlay-text, 
.custom-gallery-module .et_pb_gallery_image:hover + .custom-gallery-overlay-text,
.custom-gallery-module .custom-gallery-overlay-text:hover {
	visibility: visible;
	opacity: 1;
	cursor: zoom-in;
	transform: scale(1);
	transition: all 0.4s ease;
}

.custom-gallery-overlay-text:after {
	content: '';
    position: absolute;
    width: 82%;
    height: 80%;
    top: 10%;
    left: 9%;
    border: 1px solid;
	transform: scale(1.4);
	transition: all 0.4s ease;
}
.custom-gallery-overlay-text:hover:after {
	transform: scale(1);
	transition: all 0.4s ease;
}

/***Gallery Pagination turning into dots instead of numbers start***/

.custom-gallery-module .et_pb_gallery_pagination .prev, /***Removes prev and next***/
.custom-gallery-module .et_pb_gallery_pagination .next { display: none !important; }

.custom-gallery-module .et_pb_gallery_pagination .page a {
	display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 10px;
	vertical-align: middle;
	overflow: hidden;
	text-indent: -999px;
}
.custom-gallery-module .et_pb_gallery_pagination .page a.active {
	width: 16px;
	height: 16px;
}
.custom-gallery-module .et_pb_gallery_pagination .page a:not(.active) {
	opacity: 0.6;
}

/***GALLERY MODULE styling end***/


/***BLOG GRID styling start***/

.custom-blog-grid .et_pb_post {
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.4s ease;
}

.custom-blog-grid .et_pb_post:hover { 
	box-shadow: 0 6px 60px rgba(47, 47, 47, 0.15); 
	transition: box-shadow 0.4s ease;
}

.custom-blog-grid .et_pb_post .et_pb_image_container { order: 1; margin-bottom: 0; }
.custom-blog-grid .et_pb_post .post-meta { order: 2; margin-bottom: 20px; }
.custom-blog-grid .et_pb_post .entry-title { order: 3; }
.custom-blog-grid .et_pb_post .post-content { order: 4; }

.custom-blog-grid .et_pb_post .post-meta .published,
.single-blog-title-meta .et_pb_title_meta_container .published { white-space: nowrap; }

.custom-blog-grid .et_pb_post .post-meta:before,
.custom-blog-grid .et_pb_post .post-meta .published:before,
.single-blog-title-meta .et_pb_title_meta_container:before, 
.single-blog-title-meta .et_pb_title_meta_container .published:before {
	font-family: ETmodules;
	font-size: 15px;
	display: inline-block;
	margin-right: 6px;
	vertical-align: top;
	color: #f58635;
}
.custom-blog-grid .et_pb_post .post-meta:before,
.single-blog-title-meta .et_pb_title_meta_container:before { content: '\e08a'; }

.custom-blog-grid .et_pb_post .post-meta .published:before,
.single-blog-title-meta .et_pb_title_meta_container .published:before { content: '\7d'; }

/***BLOG GRID styling end***/


/***SINGLE BLOG and SIDEBAR addtional styling start***/

.single-blog-title-meta .et_pb_title_container {
	display: flex;
	flex-direction: column;
}

.single-blog-title-meta .et_pb_title_meta_container { order: 1; margin: 30px 0 20px; }
.single-blog-title-meta .et_pb_title_container .entry-title { order: 2; margin-bottom: 30px; }


/***Comment section start***/

#commentform { display: flex; flex-wrap: wrap; }

.comment-form-comment, .comment-form-url,.comment-form-author, .comment-form-email { 
	width: 100%; 
}

.comment-form-author input, .comment-form-email input, .comment-form-url input, .comment-form-cookies-consent { 
	width: 100% !important; 
}

.comment-reply-title { font-size: 25px; }

#commentform .comment-form-comment textarea#comment { line-height: 1.8em; }

@media (min-width: 768px) {
	.comment-form-author, .comment-form-email, .comment-form-url { width: 49%; }
	.comment-form-author { margin-right: 2%; }
}

/***Comment section end***/

/***Sidebar start***/

.widget_search #searchform #s {
	height: auto !important;
	padding: 20px;
	border-radius: 0;
	border-color: #333333;
	color: #333333;
}

.widget_search #searchform #searchsubmit {
    opacity: 0;
    padding: 27px;
}

.widget_search #searchform .screen-reader-text {
	width: 70px;
    height: 100%;
    display: block;
    clip: unset;
    clip-path: unset;
    right: 0;
    top: 1px;
    color: #ffffff;
    background-color: #f58635;
}

.widget_search #searchform label.screen-reader-text:after {
	content: '\55';
    font-family: ETmodules;
    font-size: 18px;
    position: absolute;
    top: calc(50% - 16px);
    width: 100%;
    text-align: center;
    transform: scaleX(-1);
    right: 0;
    font-weight: 900;
}

.et_pb_widget:not(:first-child):not(:last-child) {
	margin-bottom: 38px !important;
	padding-bottom: 38px;
	border-bottom: 1px solid #d1d1d1;
}

.et_pb_widget .widgettitle { padding-bottom: 16px; }

.et_pb_widget .tag-cloud-link {
	border-radius: 0;
	margin: 0 8px 12px 0;
    padding: 2px 12px;
}
.et_pb_widget .tag-cloud-link:hover {
	color: #FFF;
	background-color: #f58635;
}

/***Sidebar end***/

/***Monarch Social icons start***/

#custom-share-icons-container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
}

#custom-share-icons-container:before {
	display: inline-block;
	margin-right: 14px;
	margin-bottom: 16px;
}

#custom-share-icons-container .et_pb_code_inner { min-width: 174px; }

#custom-share-icons-container .et_social_icons_container li,
#custom-share-icons-container .et_social_networks span.et_social_overlay {
	background-color: transparent; 
}

#custom-share-icons-container .et_social_icon, 
#custom-share-icons-container .et_social_icon:before, 
#custom-share-icons-container .et_social_icon:after { color: #707070; }

#custom-share-icons-container .et_social_icon:hover, 
#custom-share-icons-container .et_social_icon:hover:before, 
#custom-share-icons-container .et_social_icon:hover:after { color: #f58635; }

/***Monarch Social icons end***/

/***SINGLE BLOG and SIDEBAR addtional styling end***/

/* Modifications OCA */

.custom-header-menu.et_pb_menu .et_pb_menu__menu > nav > ul > li > ul > li a::before {
    display: none;
}

.et_pb_team_member .et_pb_team_member_image {
    margin-right: 0px !important;
}

.home .et_pb_blog_grid .post-meta {
	display: none;
}

.single-post .et_pb_title_meta_container {
	display: none;
}

.single-post .et_pb_widget_area_left {
    border-right: none !important;
}

.page-id-46 .post-meta {
	display: none;
}

.et_pb_team_member_description {
	z-index: 1000;
	position: relative;
}