/*
 * Theme Name:  Divi Child
 * Theme URI: http://www.elegantthemes.com/gallery/divi/
 * Description: Divi Child Theme
 * Author: iCreate
 * Template: Divi
 * Version: 1.0.4
 */


#et-secondary-menu, 
#et-secondary-nav {
	display: block !important;
}

#mobile_menu .menu-item-93,
#mobile_menu .menu-item-94 {
	display: none;
}

@media (max-width: 767px) {
	.et_secondary_nav_two_panels #et-secondary-menu {
	    margin-top: 0;
	}
}

@media (min-width: 768px) {
	#et-secondary-nav {
	    height: 38px;
	    padding-top: 8px;
	}
}

@media (min-width: 981px) {
	#et-secondary-nav {
	    height: auto;
	    padding-top: 0;
	}
}


@media (max-width: 980px) {
	.mob-image-first {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	}

	.mob-image-first .et_pb_column {
		width: 100%;
	}

	.mob-image-first .et_pb_column:first-of-type {
		-webkit-box-ordinal-group: 3;
		    -ms-flex-order: 2;
		        order: 2;
    	margin-bottom: 0;
	}

	.mob-image-first .et_pb_column:last-of-type {
		margin-bottom: 47px;
	}
}


body #page-container #top-header,
body #page-container #main-header {
	position: fixed;
}

#mobile_menu {
	overflow: scroll;
    max-height: calc(100vh - 170px);
}

@media (min-width: 768px) {
	#mobile_menu {
	    max-height: calc(100vh - 124px);
	}
}
@media (min-width: 981px) {
	#mobile_menu {
	    max-height: none;
	    overflow: inherit;
	}
}


/*.mobile_nav.closed #mobile_menu,
#mobile_menu.active {
	display: block!important;
}*/

#et_mobile_nav_menu .menu-item-has-children > a {
	position: relative;
}

#et_mobile_nav_menu .menu-item-has-children > a:after {
	content: '';
    position: absolute;
    top: 10px;
    right: 9px;
    font-family: ETmodules;
    font-size: 16px;
    font-weight: 800;
    content: "3";
}
/*@media (max-width: 980px) {
	body #page-container #main-header .et_mobile_menu .sub-menu {
		display: none !important;
	}
	body #page-container #main-header .et_mobile_menu .menu-item-has-children.active .sub-menu {
		display: block !important;
	}
}*/


@media (max-width: 980px) {
	.image-full .et_pb_column {
		background: none;
	}
}
@media (min-width: 981px) {
	.image-full {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
	
	.image-full .et_pb_image img {
		opacity: 0;
	}
}



/* **************************************************************** */

@media (max-width: 980px) {
	body.et_fixed_nav.et_secondary_nav_enabled #main-header {
		top: 40px !important;
	}
	
	body #page-container #top-header {
		display: block;
	}
	body #page-container #top-header .container {
	    width: 100%;
	    max-width: 100%;
	    padding: 0px 30px;
	    display: flex;
	    align-items: center;
	    height: 40px;
	}
	
	body #page-container #top-header #et-secondary-nav {
		padding: 0;
		height: auto;
	}
	
	body #page-container #top-header #et-secondary-nav a {
		padding: 0;
	}
	
	body #page-container #top-header .menu-item {
		vertical-align: middle;
	}
	
	body #page-container #top-header .menu-item.soc {
		margin: 0;
		padding: 0;
	}
	body #page-container #top-header .menu-item.soc:last-child {
		margin-right: 10px;
	}
	body #page-container #top-header .menu-item.soc a {
	}
	body #page-container #top-header .menu-item.soc img {
		height: 20px;
		width: auto;
		padding: 0 !important;
	}
}


@media (max-width: 768px) {
	body #page-container #top-header ,
	body #page-container #top-header a {
		font-size: 14px;
		font-weight: 400;
	}
}
 

@media (max-width: 620px) {
	body.et_fixed_nav.et_secondary_nav_enabled #main-header {
		top: 46px !important;
	}
	body #page-container #top-header .container {
	    height: 46px;
	}
	body #page-container #top-header .menu-item.addnumb {
		text-align: left;
		line-height: 1.25;
	}
	body #page-container #top-header .menu-item.addnumb a {
		float: none;
	}
	body #page-container #top-header .menu-item.addnumb a:first-child {
		/*display: none;*/
	}
	body #page-container #top-header .menu-item.addnumb:nth-child(1):before {
		/*content: 'New: ';*/
	}
	body #page-container #top-header .menu-item.addnumb:nth-child(2):before {
		/*content: 'Existing: ';*/
	}
	body #page-container #top-header .menu-item.soc {
		padding-top: 5px;
	}
}
 


@media (max-width: 420px) {
	body #page-container #top-header .container {
	    padding: 0px 12px;
	}
	body #page-container #top-header ,
	body #page-container #top-header a {
		font-size: 12px;
	}
	body #page-container #top-header .menu-item.addnumb {
		margin: 0;
	}
	body #page-container #top-header .menu-item.addnumb:first-child {
		margin-right: 12px;
	}
}

