/*
 Theme Name:  Divi Child Theme
 Theme URI:    https://kingry.plumbing
 Description:  Child Theme for Divi
 Author:       Ben Ellis
 Author URI:   https://renowned.media
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

/*Add space below paragraphs*/
p {
  margin-bottom: 1rem !important;
}

/*---------------Background Video Static---------------*/
.et_pb_section_video_bg {
    position: fixed!important;
}

/*---------------Vertically Center Column Elements---------------*/
 
.et_pb_equal_columns >.et_pb_column {
margin-top:auto;
margin-bottom:auto;
}

/*---------------Remove space between paragraph lines---------------*/
.page p {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.page h1 {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.page h2 {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.page h3 {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.page h4 {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.page h5 {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.page h6 {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.page ul {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.page li {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.post p {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.post h1 {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.post h2 {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.post h3 {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.post h4 {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.post h5 {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.post h6 {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.post ul {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

.post li {
 
line-height: 1.3em;
 
padding-bottom: 0px;
 
}

/*---------------Menu Styling---------------*/
/* Change the width of the dropdown container */
.w-menu ul.sub-menu {
    width: 200px;
}



/* Position the second level dropdown correctly */
.w-menu .nav li li ul {
    left: 200px;
}
.w-menu .nav li.et-reverse-direction-nav li ul {
    left:auto;
    right:200px;
}



/* Move the first-level dropdown to the left */
.w-menu ul.nav > li > ul.sub-menu {
    transform: translateX(-33%);
}

/* Change the vertical dropdown offset */
.w-menu.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-bottom: 15px;
}

/* Remove the dropdown shadow */
.w-menu.et_pb_menu .et-menu-nav ul.sub-menu {
    box-shadow: none;
}

/* Align Text Centered */
.et_pb_menu_1_tb_header.et_pb_menu .et-menu-nav li ul.sub-menu {
    text-align: center;
}

/* Align Text Centered */
.et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li ul.sub-menu {
    text-align: center;
}

/* Underline Menu Items */
.w-menu li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 10%;
 background: #e87121; /*** COLOR OF THE LINE ***/
 height: 3px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
.w-menu li a:hover {
 opacity: 1 !important;
}
.w-menu li a:hover:before {
 right: 0;
}
.w-menu li li a:before {
 bottom: 10%;
}

/*No Dropdown arrow on Menu*/
.et-menu .menu-item-has-children>a:first-child:after{font-family: ETmodules; content: ""; font-size: 0px; margin-top: -2px;}
.et-menu .menu-item-has-children>a:first-child{padding-right: 0px}
.nav li li{}.et-menu li li a{padding:0px 0px;width:max-content}
.et-menu li{display:block;font-size:14px;padding-right:22px}
.et-menu a{color:rgba(0,0,0,0);text-decoration:none;display:inline-block;position:relative}
.et-menu a,.et-menu a:hover{-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out}
.et_mobile_menu li a:hover, .nav ul li a:hover {
    background-color: rgba(0,0,0,0);
    opacity: 0;
}

/*blog image aspect ratio landscape 16:9*/

.pa-blog-image-16-9 .entry-featured-image-url {
  padding-top: 56.25%;
  display: block;
}

.pa-blog-image-16-9 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

#sbi_images {
    position: relative;
}
.sbi_follow_btn {
    position: absolute;
    z-index: 2;
    top:-1%;
    right:50%;
    margin-right: -85px;
    margin-top: -20px;
}

/* Solid border */
hr.solid {
  border-top: 1px solid #e87121;
}

hr {
    display: block;
    unicode-bidi: isolate;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    overflow: hidden;
    border-style: none;
    border-width: 1px;
}

/*Button open Lightbox*/
body:not(.et-fb-root-ancestor) [class*='et-lb-content'] {
	position:fixed;
	visibility:hidden;
	top:0px;
	z-index:999999;
	min-height:100%;
	transition:all .2s 0s;
        width: 100%;
}
body:not(.et-fb-root-ancestor) [class*='et-lb-content'] .et_pb_row {
	position:relative;
	top:50px;
}
.et-lb-open {
	visibility:visible!important;
	width:100%;
}
span.et-lb-close {
	font-size:46px;
	right:-1vw;
	margin-top:-51px;
	display:block;
	color:#fff; /* COLOR OF THE CLOSING ICON*/
	padding:10px;
	cursor:pointer;
	font-weight:bold;
	font-family:etmodules;
	z-index:99999999999999;
	position:absolute;
}
body:not(.et-fb-root-ancestor) [class*='et-lb-content']:not(.et-lb-open) {
	transform:scale(.3);opacity:0;
}
body:not(.et-fb-root-ancestor) [class*='et-lb-btn'] {
	cursor:pointer;
}

/*No Dropdown arrow on Menu*/


/*Vertical Menu for Footer*/
.lwp-vertical-menu nav ul li {
    width: 100%;
    display: block;
}

/*Keep Footer Menu Open on Mobile*/
.lwp-vertical-menu.et_pb_menu .et_pb_menu__menu,.lwp-vertical-menu.et_pb_fullwidth_menu .et_pb_menu__menu {
    display: flex!important;
}
 
.lwp-vertical-menu .et_mobile_nav_menu {
    display: none;
}

/*place button modules next to each other in the same column*/
.pa-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}
.pa-inline-buttons {
    text-align: center !important;
}

.et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-start;
}

.et_pb_gutters1 .et_pb_column, .et_pb_gutters1.et_pb_row .et_pb_column {
    margin-right: 28px;
}

.et_pb_image_0_tb_header, .et_pb_image_1_tb_header {
    max-width: 100%!important;
}