/*

 Theme Name:   Divi Theme Child

 Theme URI:    http://www.elegantthemes.com/gallery/divi/

 Description:  Divi Child thme for Gwen Wiggins

 Author:       Sonu Thummar

 Author URI:   http://example.com

 Template:     Divi

 Version:      3.0.16

 License:      GNU General Public License v2 or later

 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready


*/


/* Document Manager UI Edits */

@font-face {
    font-family: 'liberation_sansregular';
    src: url('/fonts/LiberationSans-Regular-webfont.eot');
    src: url('fonts/LiberationSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/LiberationSans-Regular-webfont.woff') format('woff'),
         url('fonts/LiberationSans-Regular-webfont.ttf') format('truetype'),
         url('fonts/LiberationSans-Regular-webfont.svg#liberation_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

p {
    text-align: justify;
}

.wpdm_icon {

    display: none;

}

.ace-link {
    color: white;
}

/*'Make a Payment' links on navbar and footer menu*/
.payment a { 

}
.payment a:hover { 
	
}

.payment-footer a {
	font-size: 20px !important;
	color: #867a3e !important;
	padding: 0.3em 1em !important;
	border: 2px solid #867a3e !important;
	border-radius: 10px !important;
}
.payment-footer a:hover {
	border: 3px solid #867a3e !important;
	font-weight: bold;
}

#home-section-one .w3eden .media-body {

    text-align: center;

}

.et_pb_blurb_content p {
    text-align: left;
}

.page-header h1 {
    font-size: 48px !important;
}

/*Header*/
#logo{
	padding: 5px 0 10px 0;
	max-height: 200%;
}

#top-header { /*Phone# topbar*/
	z-index: 2;
}

#main-header{ /*Logo and Navbar*/
	z-index: 2;
	border-bottom: 3px solid #857A3E;
}

#top-header a, #top-header #et-info, #main-header a, #main-header #et_top_search{
	z-index: 2;
}
#et-top-navigation, #et_mobile_nav_menu, #top-menu-nav, #top-menu-nav a, #et_top_search, #mobile_nav, #mobile_menu_bar, #mobile_menu_bar_toggle{
	z-index: 2 !important;
}

/*MEDIA QUERIES (LOGO SIZING MOSTLY)*/
#main-header .logo_container{
	z-index: 1;
	width: 600px;
	height: 138px;
	top: -42px;
	
}

.services_card{
	min-height: 65vh;
	max-height: 65vh;
}

@media all and (max-width: 1024px) {
	#main-header .logo_container {
		top: -42px;
		width: 400px;
	}
	#logo {
		max-height: 80%;
	} 
	.services_card{
		min-height: 65vh;
		max-height: 65vh;
	}
}

@media all and (max-width: 915px) and (max-height: 1400px) {
	#main-header .logo_container {
		top: -4vh;
		width: 300px;
	}
	#logo {
		max-height: 80%;
	} 
	.services_card{
		min-height: 65vh;
		max-height: 65vh;
	}
}

@media all and (max-width: 915px) and (max-height: 540px) {
	#main-header .logo_container {
		top: -8vh;
		width: 300px;
	}
	#logo {
		max-height: 70%;
	} 
	.services_card{
		min-height: 65vh;
		max-height: 65vh;
	}
}

@media all and (max-width: 540px) {
	#main-header .logo_container {
		top: -4vh;
		width: 180px;
	}
	#logo {
		max-height: 60%;
	} 
	.et_pb_text_0{
		margin-top: -3vh !important;
	}
}

.et_menu_container{ /*Logo and Navbar (tight)*/
	
}

/*Footer*/
#main-footer li{
	display: inline !important;
}
.menu-footer-menu-container{
	display: flex !important;
	justify-content: center !important;
	width: 80vw !important;	
	margin: auto !important;
}
#footer-widgets{
	max-height: 10vh !important;
}
@media only screen and ( max-width: 600px ) {
	#footer-widgets{
		max-height: 16vh !important;
		padding-bottom: 20vh !important;
	}
}
#main-footer li:not(.payment-footer){
	text-decoration: underline;
}
#main-footer li:not(.payment-footer) a:hover{
	color: #867a3e !important;
}

#custom-footer-area {
    color: white;
    line-height: 3em;
    text-align: center;
	width: 100% !important;
}

#footer-bottom {
    border-top: #867a3e 3px solid !important;
}
@media only screen and ( max-width: 600px ) {
	#footer-bottom {
		/*TODO: fix footer spacing for mobile view */
	}
}

#footer-bottom .container {
    width: 90% !important;
}

/*Social Media Icons*/
#social_icons {
    position: fixed;
    top: 40px;
    right: 0;
    z-index: +100000;
    width: 100px;
    margin: 0;
    padding: 0;
}

/*Home Page Slider changes*/
.et_pb_slide_description {
    padding: 16% 25%;
}

/*Bio Title*/

#bios .bio-title {
    margin-bottom: 0;
    margin-top: 10px;
    text-align: center;
    width: 100%;
}

#bios .bio-title p {
    text-align: center;
}

/*Biography toggle edits*/

#bios .et_pb_toggle {
    border: none;
    background-color: transparent;
}

#jeff-bio .et_pb_toggle_title {
    padding-left: 40px;
}

#bios .et_pb_toggle_title:before {
    left: 175px;
    right: 15px;
}



/*Map Edits*/
.et_pb_map {
    height: 600px !important;
}

/*----Contact Form edits----*/

/*Form fields*/
.ninja-forms-field[type=text], .ninja-forms-field[type=email], .ninja-forms-field[name=phone], .nf-field-element textarea {
    font-size: 18px;
    height: 36px !important;
	background-color: #aaaaaa !important;
	color: black !important;
	padding: 8px;
	width: 80% !important;
	border: 1px solid #333034 !important;
	border-radius: 5px !important;
}
.ninja-forms-field[type=text]:focus, .ninja-forms-field[type=email]:focus, .ninja-forms-field[name=phone]:focus, .nf-field-element textarea:focus
{
	background-color: #867a3e !important;
}

/*Submit Button*/
#nf-field-4{
	color: black !important;
	background-color: #867a3e !important;
	border: 3px solid #333034 !important;
}
#nf-field-4:hover{
	color: white !important;
	background-color: #333034 !important;
	border: 3px solid #867a3e !important;
	/* MARGIN/PADDING DEFAULTS
	margin: 0 0 0 18px !important;
	padding: 0.3em 1em !important;
	*/
	margin: 0 0 0 18px !important;
	padding: 0.4em 1.2em !important;
}

.nf-field-element textarea {
    height: 90px !important; 
}


.ninja-forms-req-symbol {
  visibility: visible !important;
}

@media only screen and ( max-width: 425px ) {
    /*modify map for mobile*/
    .et_pb_map {
        height: 325px !important;
    }

    /*Home Page Slider changes*/
    .et_pb_slide_description {
        padding: 16% 0% !important;
    }

    /*Social Media Icons*/
    #social_icons {
        left: 0;
        top: 65px;
        z-index: 2;
    }

    /*Page Header*/
    .page-header h1 {
    font-size: 36px !important;
}
}

@media only screen and ( max-width: 1130px ) and ( min-width: 426px ) {
    /*Social Media Icons*/
    #social_icons {
        top: 2px;
        right: 120px;
    }
}

@media only screen and ( min-width: 768px ) {
    /*Disable phone call link on desktop*/
    .phone-contact {
        display: none;
    }

}

@media only screen and ( max-width: 768px ) {
    /*Homepage Slider Edits*/
    #home-page-slider .et_pb_slide_title {
        font-size: 22px;
    }

    .et_pb_map {
        height: 350px !important;
    }
}

@media only screen and ( min-width: 768px ) and ( max-width: 980px ) {
    /*Social Media Icons*/
    #social_icons {
        top: 15px;
    }
}

@media only screen and ( max-width: 980px ) {
    /*modify bio toggle for mobile*/
    #bios .et_pb_toggle_title {
        text-align: center;
        padding-right: 0;
        padding-left: 0;
    }

    #bios .et_pb_toggle_title:before {
        /*left: 48% !important;*/
        position: relative;
        margin-left: auto;
        margin-right: auto;
        padding-right: 8px;
        left: inherit;
        right: inherit;
    }

    /*Home Page Slider changes*/
    .et_pb_slide_description {
        padding: 16% 10%;
    }

    /*Social Media Icons*/
    #social_icons {
        position: absolute;
    }

  

    .et_header_style_left #logo, .et_header_style_split #logo {
        max-width: 80%;
    }
}

@media only screen and ( min-width: 980px ) {
    

    #bios .bio-title {
        width: 225px;
    }

    #jim-bio .bio-title {
        margin-left: auto;
        margin-right: 0;
    }
}


/* Setting the breakpoint of the mobile menu */
@media only screen and ( max-width: 1153px ) {
    #top-menu-nav, #top-menu {display: none;}
    #et_top_search {display: none;}
    #et_mobile_nav_menu {display: block;}

    /*Home Page Slider changes*/
    .et_pb_slide_description {
        padding: 16% 5%;
    }
}

/* Modifying custom footer columns to stack above eachother */
@media only screen and ( max-width: 1442px ) {
    /*Footer*/
    /*#custom-footer-area {
        text-align: center;
    }*/
}

#footer-widgets {
    padding: 0% 0 0 !important;
}

/* THREE COLUMN PORTFOLIO GRID LAYOUT */

@media only screen and ( min-width: 768px ) {

.three-column-grid .et_pb_grid_item {
width: 28.333% !important;
margin: 0 7.5% 7.5% 0 !important;
}
 
.three-column-grid .et_pb_grid_item:nth-child(3n) {
margin-right: 0 !important;
}

.three-column-grid .et_pb_grid_item:nth-child(3n+1) {
clear: left;
}

.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
clear: unset !important;
}

}

