/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* NEW RSI LEAD FORM */
.contactForm {
    position: absolute;
    float: right;
    width: 320px;
    right: 30px;
    margin-top: 0px;
}
.contactForm .quickform {
    width: 100%;
    padding: 10px 8px 10px;
    background-color: #7b5f8a;
	transition: .4s all ease-in-out;
    }
.quickform * {
    box-sizing: border-box;    
}
.contactForm .quickform .formhead {
	text-align: center;
	color: #fff;
	height: auto;
	overflow: hidden;
}
.contactForm .quickform .line1 {
	position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    padding: 0 10px 0 0;
}
.contactForm .quickform .line1 .quickform-arrow {
	position: absolute;
    top: 2px;
    right: 0;
	margin-top: -2px;
}
.contactForm .quickform .line1 .quickform-arrow:after {
	position: relative;
    font-family: ETmodules;
    font-size: 25px;
    font-weight: 500;
    content: "3";
	transition: .4s all ease;
}
.contactForm .quickform.expanded .line1 .quickform-arrow:after {
    content: "2";
}
.contactForm .quickform .line3 a {
	color: #fff;
}

.quickform .rsi-lead-form {
    max-height: 0px;
	overflow: hidden;
	transition: .4s all ease;
}
.quickform.expanded .rsi-lead-form {
    max-height: 3000px;
	transition: .4s all ease;
}
.quickform .formbody {
    display: grid;
    grid-column-gap: 2%;
    -ms-grid-columns: (1fr 2%) [12];
    grid-row-gap: 6px;
    grid-template-columns: repeat(12,1fr);
    grid-template-rows: repeat(auto-fill,auto);
    width: 100%;
}
.quickform input[type=text], .quickform select, .quickform textarea  {
    width: 100%;
    min-width: 0;
    -ms-grid-column-span: 12;
    grid-column: span 12;
    background-color: #fff;
    border: 1px solid #bbb;
    padding: 2px;
    color: #4e4e4e;
    font-size: 15px;
    margin-bottom: 0;
    margin-top: 0;
    padding: 8px;
}
.quickform input[type=text].form-width-half {
    -ms-grid-column-span: 6;
    grid-column: span 6;
}
.formsubmit {
    margin-top: 10px;    
}
#sndForm {
    background: #000;
    border: 0;
    color: #fff;
    cursor: pointer;
    width: 100%;
    position: static;
    float: none;
    padding: 10px;
    text-transform: uppercase;
}
.rsi-form-error {
    background: #fff9f9;
    font-size: 13px;
    color: #c02b0a;
    border: 1px solid #c02b0a;
    padding: 5px;
    text-align: center;
    line-height: 15px;
    margin: 10px auto;
    -ms-grid-column-span: 12;
    grid-column: span 12;
    display: none;
}


/* Theme Styles */
.container {
    width: 90%;
}
#top-header #et-secondary-menu {
    width: auto;
}
#et-secondary-menu #et-secondary-nav {
    float: right;
}
#homepage-rotator .et_pb_slide_content h2 {
    font-size: 70px;
    padding-bottom: 30px;
    line-height: 1em;
}

/* Custom Navigation */
div#et-top-navigation #et-info-phone {
    margin-left: 20px;
    position: relative;
    top: -4px;
} 

div#et-top-navigation #et-info-phone::before {
    color: #7b5f8a;
}

div#et-top-navigation #et-info-phone a {
    font-size: 20px;
    font-weight: bold;
	color: #7b5f8a;
}

ul.et-social-icons {
    position: relative;
    top: -2px
}

.et-social-icon a {
    color: #fff;
    font-size: 14px;
    background-color: #7b5f8a;
    padding: 5px 10px;
    border-radius: 50px
}

.et-social-icons li {
    margin-left: 0px !important;
}

.nav li ul {
    width: 250px;
}

.et-social-google.et-pb-social-fa-icon a.icon:before {
	font-family: FontAwesome !important;
}

#top-menu li li a {
    padding: 10px 0px;
    width: 215px;
    line-height: 1.2em;
	text-transform: capitalize;
	font-weight: normal;
}

#top-menu li .menu-item-has-children>a:first-child:after {
    right: 0;
}

#top-menu ul.sub-menu a,
#top-menu .long-menu ul ul a {
    font-size: 18px;
}
#top-menu .long-menu > ul.sub-menu {
    width: 1200px;
    max-width: 100vw;
    position: fixed;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
}
#top-menu .long-menu > ul.sub-menu > li {
    width: 300px;
    float: left;
}
#top-menu .long-menu > ul.sub-menu > li > a {
    padding-right: 0;
    width: 100%;
    background-color: rgba(0,0,0,0);
    opacity: 1;
    font-weight: 700;
    font-size: 20px;
}
#top-menu .long-menu:hover > ul.sub-menu ul {
    opacity: 1;
    visibility: visible;
}
#top-menu .long-menu ul li,
#top-menu .long-menu ul li a {
    width: 100%;
}
#top-menu .long-menu > ul.sub-menu ul {
    position: static;
    box-shadow: none;
    width: 100%;
}
#top-menu .long-menu > ul.sub-menu ul li {
    padding-left: 0;
    padding-right: 0;
}
#top-menu .two-columns-menu > .sub-menu {
    width: 600px;
    column-count: 2;
}
#top-menu .two-columns-menu > .sub-menu li a {
    width: 260px;
}
#top-menu .two-columns-menu > .sub-menu ul {
    width: 300px;
    left: auto;
    right: 100%;
    top: -22.5px;
}

#top-menu > li:last-child  > ul.sub-menu {
    left: auto;
    right: 0;
}

ul#et-secondary-nav ul.sub-menu li a {
    text-align: left;
}

ul#et-secondary-nav ul.sub-menu li {
    padding: 0 10px;
}

ul#et-secondary-nav ul.sub-menu li a:after {
    left: auto !important;
    right: 1em !important;
    top: 1px !important;
}

li.wide-menu > ul.sub-menu {
    width: 300px !important;
}

ul#et-secondary-nav li li a {
    text-transform: capitalize !important;
}

#top-header .et-social-google a.icon:before {
    background: url(/wp-content/uploads/2023/10/google-icon.png);
    background-size: contain;
}

li.disabled-link > a {
    cursor: pointer;
    pointer-events: none;
}

/* Homepage */
.home .procedure-links-heading {
    position: absolute;
    width: 100%;
    bottom: 50px;
    opacity: 1;
    transition: .4s ease all;
    z-index: 1
}

.home .bottom-procedure-links-heading {
    bottom: 180px
}

.home .procedure-links-col:hover .procedure-links-heading {
    opacity: 0;
    z-index: -1
}

.home .procedure-links-col:hover .procedure-links-container {
    box-shadow: 0px 20px 140px -20px rgba(22,29,67,.4);
    transform: scale(1.05);
    transition: .4s ease all
}

.home .procedure-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding: 30px;
    opacity: 0;
    transform: translate(0px,0px);
    transition: .4s ease all;
    z-index: 2
}

.home .procedure-links:before {
    opacity: .6;
    width: 100%;
    height: 100%;
    background: #000;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1
}

.home .procedure-links ul {
    z-index: 2
}

.home .procedure-links-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.3);
    opacity: 0;
    transition: .4s ease all;
    z-index: -1
}

.home .procedure-links-col:hover .procedure-links {
    opacity: 1;
    transform: translate(0px,0px)
}

.home div#procedure-links-row {
    display: flex;
    align-items: center
}

.homepage-logos .slick-track {
    display: flex;
    align-items: center;
}

.homepage-logos img {
    max-height: 100px !important;
    object-fit: contain;
}

li.menu-disable > a {
    pointer-events: none;
    cursor: pointer;
}

.phone-line a {
	display: none;
}


/* Inner pages */
.interior-hero-image img {
    height: 500px;
    object-fit: cover;
    object-position: top;
}

:target::before {
  content: "";
  display: block;
  height: 100px; /* fixed header height*/
  margin: -100px 0 0; /* negative fixed header height */
}

:target {
    color: #7B5F8A;
}

.et-fixed-header#top-header #et-secondary-nav li ul {
	background: white !important;
}

/* Mobile Menu */
#mobile-topbar {
    display: none;
}
.mobile-btn {
    display: inline-block;
    padding: 0 15%;
    color: transparent !important;
}
.mobile-btn.call {
    padding-left: 0;
}
.mobile-btn.menu {
    padding-right: 0;
}
.mobile-btn:before {
    position: relative;
    top: 0;
    left: 0;
    font-size: 25px;
    content: "\61";
    color: #fff !important;
    cursor: pointer;
    text-shadow: 0 0;
    font-family: ETmodules!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
}
.mobile-btn.call:before {
    content: "\e090";
}
.mobile-btn.location:before {
    content: "\e01d";
}
.mobile-btn.menu:before {
    font-size: 30px;
}
#et-top-navigation #mobile_menu.et_mobile_menu {
    background-color: white;
}
/* #et-top-navigation #mobile_menu li a {
    color: #fff;
} */
span.menu-closed:before {
    color: #7b5f8a !important;
}
body:not(.home) #main-content .et_pb_text p {
    padding-bottom: 1em;
}


/* Product page */
#top-header .et-cart-info {
    display: none !important;
}
body.single-product #main-content {
    padding-bottom: 60px;
}
body.single-product #left-area {
    width: 100%;
    float: none;
    padding-right: 0;
    padding-top: 50px;
}
body.single-product #main-content .container:before {
    content: none;
}
body.single-product form.cart {
    text-align: center;
}
body.single-product .product .nyp {
    display: inline-block;
    float: none;
    position: static;
    padding: 0;
}
body.single-product #main-content form.cart .button {
    display: inline-block;
    float: none;
    position: static;
}

#et-top-navigation {
    padding-left: 0 !important;
}



@media screen and (min-width: 981px) {
    #main-header {
        top: 41.6px !important;
    }
    body.admin-bar.et_fixed_nav.et_secondary_nav_enabled #main-header {
        top: 73.6px !important;
    }
    body.home #main-content .et_pb_section.et_pb_section_0 {
        padding-top: 131px !important;
    }
    body:not(.home) #main-content .et_pb_section.et_pb_section_0 {
        padding-top: 191px !important;
    }
}
@media screen and (min-width: 981px) and (max-width: 1024px) {
    ul#top-menu > li > a {
        font-size: 18px !important;
    }
    .contactForm {
        width: 300px;
    }
}
@media screen and (max-width:980px) {
    body:not(.home) .et_pb_section.et_pb_section_0 {
        padding-top: 100px !important;
    }
    .contactForm {
        right: 0;   
    }
    #top-header .et-social-icons {
        display: none !important;
    }
    #top-header {
        padding-top: 0;
    }
    #mobile-topbar {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0.75em 0;
        background: #7b5f8a;
    }
    #et_mobile_nav_menu {
    	display: block;
    }
    #mobile_menu {
        top: 0;
    }
    #top-menu,
    #main-header #et-info,
    #top-header #et-info, #top-header #et-secondary-menu {
    	display: none;
    }
    #page-container {
	    padding-top: 0 !important;   
	}
    #main-header #et-top-navigation,
    #main-header.et-fixed-header #et-top-navigation {
        float: right;
        padding: 0 !important;
    }
    #main-header #logo,
    #main-header.et-fixed-header #logo {
        max-width: 370px;
        height: auto;
        max-height: none;
    }
    #top-header, #main-header {
        display: block !important;
        position: relative !important;
        top: auto !important;
    }
    #main-header > .container {
        display: block;
    }
    #main-header .logo_container {
        width: 100%;
        text-align: center;
        align-content: center;
        padding: 15px 0;
        position: relative;
    }
    .contactForm {
		width: 100%;
	}
	.mobile_menu_bar.mobile_menu_bar_toggle:before {
		display: none;
	}
	ul#mobile_menu li {
		text-align: left;
	}
	#main-header #et-top-navigation {
		height: 0;
		padding: 0 !important;
		width: 100%;
	}
	#main-header .container {
	     width: 100%;
	     padding: 0;
	}
	#top-header .container {
	    width: 100%;
	    padding: 0;
	}
	#top-header .logo_container {
	    width: 100%;
	    text-align: center;
	    padding-top: 25px;
	}
	#top-header .container {
        display: block;
	}
	.et_mobile_menu {
	    border-top: 0 !important;
	}
	#homepage-rotator .et_pb_slide_content h2 {
        font-size: 50px;
	}
	#homepage-rotator .et_pb_slide_description {
	    padding-top: 200px !important;
	}
	span.logo_helper {
	    display: none;
	}
	
}

/* Mobile */
@media screen and (max-width:767px) {
    body.single-product #left-area {
        padding-top: 10px;
    }
	/* --Header */
	.contactForm {
		right: 0;
	}
	
	#top-header .et-social-icons {
		display: none !important;
	}
    
	/* --Interior */
	body:not(.home) .et_pb_section.et_pb_section_0 {
		padding-top: 100px !important;
	}
	
	.interior-hero-image img {
		height: 280px !important;
	}
	
	.interior-row-review {
		padding: 5%;
	}
	
	.phone-line a {
		color: white;
		font-size: 22px;
		display: block;
	}
}


/********* Mobile Menu Collapse ********/
  
/**** This hides the sub menu items on mobile ****/
  
#main-header .et_mobile_menu li ul.hide {
display: none !important;
}
  
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
  
#mobile_menu .menu-item-has-children {
position: relative;
}
#mobile_menu .menu-item-has-children > a {
background: transparent;
}
  
/**** This styles the icon and moves it to the right ****/
  
#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;
}
  
/**** Here you can swap out the actual icons ****/
  
span.menu-closed:before {
content: "\4c";
display: block;
color: #053193;
font-size: 16px;
font-family: ETmodules;
}
  
span.menu-closed.menu-open:before {
content: "\4d";
}