/*
Theme Name: Divi Roofing
Theme URI: https://divilife.com/downloads/divi-roofing-child-theme
Version: 1.1
Description: Divi Roofing is a child theme for Divi, designed for roofers, contractors, and more!
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
*/



/***CUSTOM HEADER start***/

/***Search Bar icon addition***/
.et_pb_search_0_tb_header.custom-header-search.et_pb_search { overflow: visible; }

.custom-header-search.et_pb_search .header-search-icon {
	border: none;
    outline: none;
    display: block;
	width: 40px;
    height: calc(100% + 2px);
    top: -1px;
    right: -1px;
    position: absolute;
	cursor: pointer;
}
.custom-header-search.et_pb_search .header-search-icon:after {
	content: '\55';
	font-family: ETmodules;
	color: #fff;
	display: block;
    transform: scaleX(-1);
}
.custom-header-search.et_pb_search input.et_pb_searchsubmit { 
	visibility: visible;
	text-indent: -9999px;
	width: 0;
	padding: 0;
}

@media(min-width: 981px) {
	
	#page-container { transition: all 0.6s ease; }
	
	.et-l--header {
		width: 100%;
		position: fixed;
		top: 0;
		z-index: 9999;
		transition: all 0.4s ease;
	}
	.admin-bar .et-l--header { top: 32px; }
	
	.et-l--header.custom-fixed-header { top: -52px; }
	.admin-bar .et-l--header.custom-fixed-header { top: -22px; }
}
@media(max-width: 980px) {
	.et_pb_menu .et_mobile_menu { top: 69px; }
}

@media(max-width: 579px) {/***Increase this breakpoint value if the email or phone is longer***/
	.custom-top-bar-contact .et_pb_blurb_container { display: none; }
}

@media(max-width: 420px) {/***Increase this breakpoint value if search overlaps logo on phone***/
	.custom-header-search.et_pb_search { 
		right: 54px !important;
		width: 108px; 
		transition: all 0.4s ease; 
	}
	.custom-header-search.et_pb_search.search-focused { 
		width: calc(100% - 54px);
		box-shadow: 0 0 0 14px rgba(255,255,255,1);
		transition: all 0.4s ease;
	}
}

/***CUSTOM HEADER end***/


/***CUSTOM FOOTER styling start***/

@media(min-width: 981px) {
	.custom-footer-row { flex-direction: row; justify-content: space-between; }
	.custom-footer-row .et_pb_column:nth-child(2) { width: 18.875%; }
	.custom-footer-row .et_pb_column:first-child { width: 24.875%; }
}
@media only screen and (min-width: 480px) and (max-width: 980px) {
	.custom-footer-row .et_pb_column:nth-child(1) { order: 1; margin-bottom: 68px; }
	.custom-footer-row .et_pb_column:nth-child(2) { order: 3; margin-right: 5.5% !important; }
	.custom-footer-row .et_pb_column:nth-child(3) { order: 4; margin-right: 0; }
	.custom-footer-row .et_pb_column:nth-child(4) { order: 2; margin-bottom: 68px; }
}
@media(max-width: 479px) {
	.et_pb_row_0_tb_footer.custom-footer-row { width: 80%; }
	.custom-footer-row .et_pb_column:not(:last-child) { margin-bottom: 68px; }
}

.custom-footer-optin p.et_pb_newsletter_field { 
	flex-basis: auto !important;
	padding: 0;
	width: calc(100% - 80px); 
	margin-bottom: 0 !important;
}
.custom-footer-optin p.et_pb_newsletter_button_wrap { 
	flex-basis: auto; 
	width: 80px; 
}
.custom-footer-optin .et_pb_newsletter_button_wrap .et_pb_newsletter_button {
	display: flex;
    align-items: center;
	justify-content: center;
    height: 100%;
}

/***CUSTOM FOOTER styling end***/


/***HOMEPAGE Additional Styling start***/

/***HP VIDEO tweaks start***/

/***This gives video module a borderless icon - other modifications are done in video module***/
.borderless-icon-video .et_pb_video_play:before { content: '\45'; }

/***This centers the video vertically, if the module is streched vertically to fit the col***/
.full-height-video-centered { 
	height: 100%; 
	display: flex; 
	align-items: center; 
}
.full-height-video-centered .et_pb_video_box { width: 100%; }

/***This places graphic on video overlay***/
.dots-video-overlay .et_pb_video_overlay:after {
	content: '';
	position: absolute;
	width: 180px;
	height: 180px;
	bottom: -75px;
    right: -75px;
	background: url(/wp-content/uploads/2020/08/Navy-Dot.png) top right repeat;
	background-size: 30px;
	z-index: 15;
	pointer-events: none;
}

/***HP VIDEO tweaks end***/

@media(max-width: 980px) {
	.column-switch-on-mobile, 
	.column-switch-on-mobile > .et_pb_row { display: flex; flex-direction: column-reverse; }
}

/***Pricing additional styling start***/
.arrow-bullet-point-pricing .et_pb_pricing li span:before {
	width: 7px;
    height: 7px;
    border-width: 2px 2px 0 0;
    left: -18px;
    top: 7px;
    border-radius: 1px;
    transform: rotate(45deg);
}
/***Pricing additional styling end***/


/***Gallery Pagination start***/
.custom-pagination-gallery-module .et_pb_gallery_pagination ul li.prev,
.custom-pagination-gallery-module .et_pb_gallery_pagination ul li.next { 
	display: none !important; 
}
.custom-pagination-gallery-module .et_pb_gallery_pagination ul li a {
	text-indent: -99999px;
    width: 12px;
    height: 12px;
    overflow: hidden;
    display: inline-block;
	vertical-align: middle;
    border-radius: 20px;
}
.custom-pagination-gallery-module .et_pb_gallery_pagination ul li a.active {
	width: 16px;
    height: 16px;
}
/***Gallery Pagination end***/


/***This makes an image go full column height, when equlize col is on start***/
.full-height-image, .full-height-image .et_pb_image_wrap { height: 100%; }
.full-height-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/***This makes an image go full column height, when equlize col is on end***/


/***Testimonial Slider styling start***/

.custom-testimonial-slider.strong-view.wpmtst-modern .wpmslider-viewport { 
	overflow: visible !important;; 
}
.custom-testimonial-slider.strong-view.wpmtst-modern .wpmtst-testimonial {
	box-shadow: 0 15px 24px rgba(89,91,97,0.15);
}

.custom-testimonial-slider.strong-view.wpmtst-modern .wpmtst-testimonial-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	text-align: inherit;
}
.custom-testimonial-slider.strong-view.wpmtst-modern .wpmtst-testimonial-content { 
	order: 10; 
	font-size: inherit; 
	font-style: inherit;
	text-align: inherit;
	margin: 0 4px !important;
}
.custom-testimonial-slider.strong-view.wpmtst-modern .wpmtst-testimonial-field {
	text-align: inherit;
}
.custom-testimonial-slider .wpmtst-testimonial-content blockquote {
	display: block;
	width: 100%;
	margin: 0 0 16px -6px;
	padding: 0;
	border: none;
	left: -20px;
	max-height: 40px;
	overflow: hidden;
}
.custom-testimonial-slider .wpmtst-testimonial-content blockquote:before { 
	content: '\201C'; 
	font-size: inherit;
}

.custom-testimonial-slider.strong-view.wpmtst-modern .wpmtst-testimonial-content:before,
.custom-testimonial-slider.strong-view.wpmtst-modern .wpmtst-testimonial-content:after {
	display: none; 
}
@media(min-width: 481px) {
	.custom-testimonial-slider.strong-view.wpmtst-modern .wpmtst-testimonial-image {
		margin-right: 20px;
	}
	.custom-testimonial-slider .testimonial-fields-wrapper { 
		width: calc(100% - 95px); 
	}
}

/***Testimonial slider navigation start***/
.custom-testimonial-slider.strong-view .wpmslider-has-pager { margin-top: 30px; }

.custom-testimonial-slider.strong-view .wpmslider-pager-link { margin-left: 20px; }
.custom-testimonial-slider.strong-view .wpmslider-pager-item:first-child .wpmslider-pager-link { 
	margin-left: 0; 
}

.custom-testimonial-slider.strong-view.pager-style-buttons .wpmslider-pager-link:before,
.custom-testimonial-slider.strong-view.pager-style-buttons .wpmslider-pager-link:hover:before {
	mask: none;
	-webkit-mask: none;
    border-radius: 50%;
	width: 12px;
	height: 12px;
	vertical-align: middle;
	background: #adb3bc;
}

.custom-testimonial-slider.strong-view.pager-style-buttons .wpmslider-pager-link.active:before {
	background-color: #dc133a;
	width: 16px;
	height: 16px;
	transition: all 0.3s ease;
}
/***Testimonial slider navigation end***/

/***Testimonial Slider styling end***/

/***HOMEPAGE Additional Styling end***/


/***ABOUT US PAGE styling start***/

/***This replaces the google+ icon with instagram, by giving person module the below class***/
.replace-google-icon-with-instagram .et_pb_font_icon.et_pb_google_icon:before { 
	content: '\e09a';
}

/***ABOUT US PAGE styling end***/


/***BLOG PAGE and SINGLE BLOG additional styling start***/

/***Sidebar start***/

/***Search Bar Icon***/
.sidebar-search.et_pb_search .sidebar-search-icon {
	border: none;
    outline: none;
    display: block;
	width: 56px;
    height: calc(100% + 2px);
    top: -1px;
    right: -1px;
    position: absolute;
	cursor: pointer;
}
.sidebar-search.et_pb_search .sidebar-search-icon:after {
	content: '\55';
	font-family: ETmodules;
	color: #fff;
	display: block;
    transform: scaleX(-1);
}
.sidebar-search.et_pb_search input.et_pb_searchsubmit { 
	visibility: visible;
	text-indent: -9999px;
	width: 0;
	padding: 0;
}

/***Recent Posts***/
.sidebar-custom-recent-posts .et_pb_post .entry-featured-image-url { margin-bottom: 0; }
.sidebar-custom-recent-posts .et_pb_post { margin-bottom: 12px; clear: both; }

/***Category List***/
.custom-sidebar .widget_categories, .custom-sidebar .widget_categories * { 
	border-color: inherit; 
}
.custom-sidebar .cat-item a:before {
	content: '';
	display: inline-block;
	width: 7px;
    height: 7px;
	margin: 0 8px 2px 0;
	border-style: solid;
    border-width: 2px 2px 0 0;
	border-color: inherit;
    border-radius: 1px;
    transform: rotate(45deg);
}

/***Tags List***/
.custom-sidebar .tagcloud a.tag-cloud-link {
	color: inherit;
	text-transform: uppercase;
	font-size: 16px !important;
	font-weight: 300;
	border: 1px solid;
	border-radius: 0;
	background: transparent;
	margin: 0 8px 12px 0;
    padding: 0px 15px;
}

/***Sidebar end***/

/***Blog List Navigation***/
.custom-blog-module-navigation .pagination {
    display: flex;
	flex-direction: row-reverse;
}

.custom-blog-module-navigation .pagination .alignleft, 
.custom-blog-module-navigation .pagination .alignright { float: none; }

.custom-blog-module-navigation .pagination .alignright { margin: 0 auto 0 0; }

.custom-blog-module-navigation .pagination a { font-size: 18px; }

.custom-blog-module-navigation .pagination .alignleft a:after, 
.custom-blog-module-navigation .pagination .alignright a:before {
	display: inline-block;
	color: inherit;
	font-family: ETmodules;
	font-family: ETmodules;
    font-size: 24px;
    font-weight: bold;
    vertical-align: top;
}
.custom-blog-module-navigation .pagination .alignleft a:after { content: '\35'; }
.custom-blog-module-navigation .pagination .alignright a:before { content: '\34'; }


/***Single Blog Post Page***/
.post-template-default.single-post .et_social_inline_top {
	position: absolute;
    left: 20px;
    top: -46px;
	z-index: 99;
}

@media(max-width: 767px) {
	.post-template-default.single-post .et_social_inline_top {
		left: auto;
		right: 0;
		top: auto;
		bottom: 0;
		margin: 0;
	}
	.post-template-default.single-post .et_social_inline_top ul.et_social_icons_container {
		display: flex;
	}
	.post-template-default.single-post .et_social_inline_top ul.et_social_icons_container > li {
		margin: 0 0 0 16px !important;
	}
}

/***Custom Bullet Points***/

.custom-bullet-points ul:not(.et_social_icons_container) { 
	list-style-type: none;
	padding: 0;
	margin: 20px 0;
}
.custom-bullet-points ul:not(.et_social_icons_container) li { 
	position: relative;
	margin: 0 0 10px 0;
	padding-left: 20px;
}

.custom-bullet-points ul:not(.et_social_icons_container) li:before {
	content: '';
	position: absolute;
	width: 7px;
    height: 7px;
    border-width: 2px 2px 0 0;
	border-style: solid;
	border-color: inherit;
    border-radius: 1px;
    transform: rotate(45deg);
	left: 0;
    top: 9px;
}


/***Comments Section***/

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

.comment-notes { order: 1; }
.comment-form-author { order: 2; }
.comment-form-email { order: 3; }
.comment-form-url { order: 4; display: none; }
.comment-form-comment { order: 5; width: 100%; }
.comment-form-cookies-consent { 
	order: 6; 
	margin: 16px 0 30px 0; 
	line-height: 1.5em;
	display: flex;
	align-items: flex-start;
	width: 100%;
}
.form-submit { order: 7; }

#commentform input[type="email"], #commentform input[type="text"], 
#commentform input[type="url"], #commentform textarea, #commentform input[type="email"]:focus, #commentform input[type="text"]:focus, #commentform input[type="url"]:focus, 
#commentform textarea:focus { 
	width: 100% !important;
	max-width: 100%;
	outline: none;
	box-shadow: none;
}

#commentform textarea { line-height: 2em; height: 200px; min-height: 62px; max-height: 400px; }
#wp-comment-cookies-consent { margin: 6px 10px 0 0; }

@media(min-width: 581px) {
	.comment-form-author { width: 48%; margin-right: 4%; }
	.comment-form-email { width: 48%; }
}

/***BLOG PAGE and SINGLE BLOG additional styling end***/



/***SERVICES PROJECTS Custom Post Type single page start***/

.project-template-default.single-project .et_social_inline_top { margin: 80px 0 0 0; }

.project-template-default.single-project .et_social_inline_top ul.et_social_icons_container {
	display: flex;
	justify-content: flex-end;
}
.project-template-default.single-project .et_social_inline_top ul.et_social_icons_container > li {
	margin: 0 0 0 16px !important;
	width: auto !important;
}


.cpt-single-page-navigation .meta-nav { display: none; }

.cpt-single-page-navigation .nav-previous .nav-label:before,
.cpt-single-page-navigation .nav-next .nav-label:after {
	display: inline-block;
	font-family: ETmodules;
	font-size: 120%;
    vertical-align: middle;
    margin-top: -4px;
	font-weight: bold;
}
.cpt-single-page-navigation .nav-previous .nav-label:before { content: '\34'; } 
.cpt-single-page-navigation .nav-next .nav-label:after { content: '\35'; } 

/***SERVICES PROJECTS Custom Post Type single page end***/