/*
 Theme Name:  Divi Child Theme
 Theme URI:    https://divilife.com
 Description:  Child Theme for Divi
 Author:       Tim Strifler
 Author URI:   https://divilife.com
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/
/*** VERTICAL ALIGNS COLUMNS ***/
.vertical-align {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/*** CENTERS SECONDARY MENU ***/
#et-secondary-menu {
	float: none !important;
	text-align: center;
}
/*** VERTICALLY CENTERS COLUMNS ***/
.vertical-align {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* SPECIAL EFFECTS FOR THE NAV LINKS */
@media only screen and (min-width : 981px) {
         
        .et_fullwidth_nav #main-header .container {
            padding-right: 0px!important;
            padding-left: 0px!important;}
         
        #et-top-navigation {
			background: #c0a264;} /* THIS IS THE STATIC BACKGROUND COLOR */
 
        .et_header_style_left #et-top-navigation,
        .et_header_style_split #et-top-navigation {
            padding-top: 0px!important;
            padding-left: 13px!important;}
             
        #top-menu li {
            padding-right: 15px;}
 
        #top-menu > li > a {
            padding: 15px 15px!important;
            margin-bottom: 0px;
            margin-top: 0px;}
 
        #top-menu .menu-item-has-children > a:first-child:after {
            display:none;}
 
        #top-menu-nav > ul > li > a {
            color: #660000; /* THIS IS THE STATIC TEXT COLOR */
            -webkit-transform: perspective(1px) translateZ(0);
            transform: perspective(1px) translateZ(0);
            box-shadow: 0 0 1px transparent;
            -webkit-transition-duration: 0.1s;
            transition-duration: 0.1s;
            -webkit-transition-property: box-shadow, transform;
            transition-property: box-shadow, transform;}
             
        #top-menu-nav > ul > li > a:hover, 
        #top-menu-nav > ul > li > a:focus, 
        #top-menu-nav > ul > li > a:active {
            background:#660000; /* THIS IS THE BG COLOR ON HOVER */
            color:#ffffff; /* THIS IS THE TEXT COLOR ON HOVER */
            opacity:1;
            z-index: 99999;
            box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 1.0);
            -webkit-transform: translateZ(0) scale(1.1);
            transform: translateZ(0) scale(1.1);}
}

/* SETS LOGO HEIGHT FOR TABLET AND MOBILE LARGER THAN 480PX */ 
@media only screen and (min-width: 480px) and (max-width: 981px) {
	#logo {
		height: 125px;
		max-height: 125px !important;
	}
}

/* SETS LOGO HEIGHT FOR TABLET AND MOBILE SMALLER THAN 480PX */
@media only screen and (max-width: 479px) {
	#logo {
		height: 125px;
		max-height: 125px !important;
	}
}
