/*
 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
*/


/*Default Styles*/

/* 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: #ff4040;
	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: 17px;
    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: #2e1e23;
    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;
}


/* Monteray Bay Theme Styles */
/* Header */
#top-header {
    display: none;
}
#main-header > .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#main-header .logo_container {
    position: relative;
    width: 22%;
    float: left;
    padding-right: 2%;
    vertical-align: top;
}
#main-header .logo_helper {
    display: none;
}
#main-header .logo_container a {
    padding: 10px 0;
    display: block;
}
#main-header #logo {
    max-height: 90px;
    transition: all 0.4s ease-in-out;
}
#main-header #et-top-navigation {
    position: relative;
    width: 65%;
    padding: 55px 0 0 !important;
    float: left;
    text-align: center;
}
#main-header #top-menu-nav, #main-header #top-menu,
#main-header .et-social-icons, #main-header #et-info-phone{
    float: none;
}
#main-header #et-info {
    width: 12%;
    float: right;
    text-align: center;
    padding: 0;
    transition: all 0.4s ease-in-out;
}
#main-header .et-social-icons li {
    margin-left: 8px;
}
#main-header .et-social-icons .icon {
    color: #fff;
    background: #2e1e23;
    border-radius: 50%;
    padding: 7px;
    font-size: 18px;
    width: 35px;
    height: 35px;
    transition: all 0.4s ease-in-out;
}
#main-header #et-info .et-social-icons {
	padding-top: 10px;
}
#main-header #et-info-phone {
    display: block;
    padding-top: 0px;
}
#main-header #et-info-phone a {
    color: #2f1e24;
    font-size: 21px;
    font-weight: 700;
    transition: all 0.4s ease-in-out;
}
#main-header.et-fixed-header #logo {
    max-height: 50px;
}
#main-header.et-fixed-header #et-top-navigation {
    padding: 36px 0 0 !important;
}
#main-header.et-fixed-header #et-info {
    padding: 5px 0;
}
#main-header.et-fixed-header .et-social-icons .icon {
    padding: 1.5px;
    font-size: 12px;
    width: 25px;
    height: 25px;
}
#main-header.et-fixed-header #et-info-phone a {
    font-size: 20px;
}

div#mobile-header-top {
	display: none;
}

/* Rotator */
#homepage-rotator .et_pb_slide {
    padding: 0 2%;
}

body:not(.home) .et_pb_text_inner h2,
body:not(.home) .et_pb_text_inner h3,
body:not(.home) .et_pb_text_inner h4 {
    margin-top: 10px;
    margin-bottom: 10px;
}
body:not(.home) .et_pb_text_inner p {
    padding-bottom: 1em;
}
body:not(.home) .et_pb_text_inner ul,
body:not(.home) .et_pb_text_inner ol {
    padding-left: 40px;
}
.nav li ul {
    width: 280px;
}
#top-menu li li a {
    width: 240px;
}
#top-menu.nav li li ul {
	left: 100%;
	top: -22.5px;
}
#main-header.et-fixed-header #top-menu .sub-menu a {
    color: #e6dad5 !important;
}

/* Homepage */
.concerns-age-container {
    position: relative;
    transition: all 0.4s ease-in-out 0s;
}
.concerns-age-container:hover {
    transform: translateX(0)translateY(0)scaleX(1.15)scaleY(1.15)rotate(0deg)skewX(0deg)skewY(0deg);
    z-index: 99;
}
.concerns-age {
    position: relative;
    background: linear-gradient(45deg, #2E1E23 0%, #D5C6CB 100%);
    width: 96%;
    margin: 0 auto;
}

.concerns-img {
    position: relative;
}
.concerns-content {
    position: relative;
    padding: 60px 35px 0px;
    text-align: center;
}
.age-range {
    position: absolute;
	background: #232323;
    font-size: 40px;
    color: #F6EBE4;
    font-family: 'Playfair Display',Georgia,"Times New Roman",serif;
    text-align: center;
    width: 170px;
    padding: 25px 0px;
    top: -45px;
    left: 50%;
    transform: translate(-50%, 0px);
}
.concerns-content h2 {
	font-size: 38px;
	color: #faf7f7;
}
.concerns-content p {
	color: #F2F1ED;
}
.concerns-age .learn-more {
    visibility: hidden;
    display: block;
    transition: all 0.4s ease-in-out 0s, visibility 0s;
    padding: 10px 0;
}
.concerns-age:hover .learn-more {
    visibility: visible;
    margin-top: 30px;
}
.concerns-age .learn-more:hover {
    background: #447684;
    color: #f2f1ed;
    font-size: 20px;
}
.concerns-age:hover .concerns-content {
    padding-bottom: 25px;   
}


/* Inner pages global changes*/
.entry-title > span {
	display: block;
    font-size: 20px;
	line-height: 20px;
    margin-top: 15px;
}
body:not(.home) .entry-content .et_pb_section_0,
body:not(.home) .entry-content .et_pb_section_0 .et_pb_row_0 {
    padding: 15px 0;
}
body:not(.home) .entry-content .et_pb_button {
    font-size: 24px !important;
    text-decoration: underline;
}
body:not(.home) .et_pb_button:after {
	display: none !important;
}
body:not(.home) .et_pb_button {
	padding: 0.3em 1em !important;
}

/* Mobile Menu */
#mobile-topbar {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 0.75em 0;
}
.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;
}
#top-menu li li a {
    padding: 10px 20px;
}

/* Responsive */
@media screen and (min-width: 1200px) and (max-width: 1350px)  {
    #main-header .logo_container {
        width: 20%;
    }
    #main-header #et-info {
        width: 14%;
    }
    #main-header #top-menu li {
        padding-right: 15px;
    }
    #main-header #top-menu li a {
        font-size: 17px;
    }
    #homepage-rotator, #homepage-rotator .et_pb_slide {
        height: 500px;
        max-height: 500px;
    }
    #main-header #et-info-phone a {
        font-size: 20px !important;
    }
}
@media screen and (min-width: 1025px) and (max-width: 1199px)  {
    #main-header .logo_container {
        width: 16%;
    }
    #main-header #et-top-navigation {
        width: 70%;
    }
    #main-header #et-info {
        width: 14%;
    }
    #main-header #top-menu li {
        padding-right: 15px;
    }
    #main-header #top-menu li a,
    #main-header #et-info-phone a {
        font-size: 15px !important;
    }
    #homepage-rotator, #homepage-rotator .et_pb_slide {
        height: 430px;
        max-height: 430px;
    }
    #homepage-rotator .et_pb_slide_description {
        padding-top: 8%;
    }
    #homepage-rotator .et_pb_slide_content {
        font-size: 50px!important;
    }
} 

@media screen and (max-width: 1024px) {
    .show_empty_column {
        display: flex;
        flex-direction: column;
        height: auto !important;
    }
    .show_empty_column > .et_pb_column_empty {
        display: block !important;
        height: 450px;
    }
    .show_empty_column > .et_pb_column:not(.et_pb_column_empty) {
        order: 2;
        padding-top: 10px;
        padding-bottom: 50px;
    }
    .show_empty_column > .et_pb_column.et_pb_column_empty {
        order: 1;
    }
     #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.et-fixed-header {
        background-color: #e5dad6;
    }
    #main-header.et-fixed-header #logo {
        max-height: 90px;
    }
    #top-header, #main-header {
        display: block;
        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;
    }
    .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%;
	}
	
	div#interior-header-section {
		padding-top: 70px;
	}

	div#interior-header-section h1 {
		font-size: 32px;
	}
	#main-header .logo_container {
	     width: 100%;
	}
	#homepage-rotator, #homepage-rotator .et_pb_slide {
        height: 380px;
        max-height: 380px;
    }
    #homepage-rotator .et_pb_slide_description {
        width: 400px;
    }
    #homepage-rotator .et_pb_slide_content {
        font-size: 50px!important;
    }
}

@media (max-width:767px) {
    .contactForm  {
        right: 0;   
    }
	.entry-title > span {
		font-size: 16px;
    	line-height: 16px;
	}
    .show_empty_column > .et_pb_column_empty {
        height: 250px;
    }
	#homepage-rotator .et_pb_slide_description {
        width: 100%;
    }
    #homepage-rotator .et_pb_slide_content {
        font-size: 28px!important;
    }
    #homepage-rotator .et_pb_button {
        margin-top: 0;
    }
    .et-pb-arrow-prev {
        left: -15px !important;;
    }
    .et-pb-arrow-next {
        right: -15px !important;;
    }
    body:not(.home) .et_pb_text_inner h2 {
        font-size: 30px;
    }
    body:not(.home) .et_pb_text_inner h3 {
        font-size: 26px;
    }
    body:not(.home) .et_pb_text_inner h4,
    body:not(.home) .et_pb_accordion .et_pb_toggle_title  {
        font-size: 21px !important;
    }
    body:not(.home) .entry-content .et_pb_button {
        font-size: 18px !important;
    }
}

/********* 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: #2e1e23;
	font-size: 16px;
	font-family: ETmodules;
}
  
span.menu-closed.menu-open:before {
	content: "\4d";
}
