/*
Theme Name:  Divi Child Theme
Theme URI:   http://www.mikerezl.com
Version:     0.1
Description: A child theme of Divi.
Author:      Mike Rezl
Author URI:  http://www.mikerezl.com
Template:    Divi
*/

/* fixes fixed-nav padding */
.et_non_fixed_nav.et_transparent_nav.et_show_nav.et_header_style_centered #page-container {padding-top: 71px !important;}

/* mobile-hamburger color */
span.mobile_menu_bar:before {color: #ffffff !important;}

/* removes mobile-menu text */
.select_page { visibility: hidden; }

/* mobile menu top bar color */
.et_mobile_menu {border-top: 3px solid #8795b7 !important;}




#gform_submit_button_1, #gform_submit_button_2, #gform_submit_button_3, #gform_submit_button_4, #gform_submit_button_5, #gform_submit_button_6, #gform_submit_button_7, #gform_submit_button_8 {
    color: #fff !important;
    border: 0px !important;
	border-radius: 0px !important;
    background: #F15A29 !important;
	font-family: "Lato","Helvetica Neue",Helvetica,sans-serif;
	font-size: 16px !important;
}

.gfield_label {
    font-family: 'Lato';
    font-weight: 300 !important;
    font-size: 19px !important;
}

.quote_slider .et-pb-controllers {
	display: none;
}

#top-menu li {
    font-weight: 300;
}


/* Navigation hover styles */
#top-menu li > a:hover {
 box-shadow: inset 0 -5px 0 0 #F15A29 !important;
 padding-bottom: 34px;
 opacity: 1 !important;
}
#top-menu li li a {
 padding-bottom: 3px !important;
}


.dayone {background-position: 50% 20%;}


/* Portfolio Navigation */
.esg-filterbutton.esg-allfilter {
    font-family: "Lato","Helvetica Neue",Helvetica,sans-serif;
    font-size: 18px;
	letter-spacing: 2px;
}

.esg-filterbutton {
    font-size: 18px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000 !important;
}

.esg-filterbutton span {
    text-decoration: none !important;
}

.esg-filterbutton {
    border-right: 0px solid #646464;
}

.esg-filterbutton.esg-allfilter.selected {
	color: #f15a29 !important
}

.esg-filterbutton:hover {
	color: #f15a29 !important
}

.text-light .esg-filterbutton {
    border-right: 0px solid #e5e5e5 !important;
}


/* Slashes for EG filters */
.esg-filterbutton::after {
    content: "\2215" !important;
    padding-left: 10px;
    font-weight: bolder !important;
    color: #000 !important;
}

.esg-filterbutton {
    padding: 0px 0px 0px 5px;
}




/* Post Social Buttons */
.et_social_icon.et_social_icon_facebook {
    background-color: #eee !important;
    color: #7a7a7a !important;
}

.et_social_icon.et_social_icon_twitter {
    background-color: #eee !important;
    color: #7a7a7a !important;
}


/* Search Icon */
#et_search_icon::before {
    font-size: 13px !important;
    top: -1px !important;
    font-weight: 800 !important;
}

@media only screen and ( max-width: 980px ) {
    #et_top_search { display:none; }
}


/* Process Parallax */

@media only screen and ( min-width: 2320px ) {
	.dayone {background-position: center -348px !important}
	.daytwo {background-position: center -243px !important}
	.daythree {background-position: center -552px !important}
}

@media only screen and ( min-width: 2120px ) and ( max-width: 2320px ) {
	.dayone {background-position: center -310px !important}
	.daytwo {background-position: center -218px !important}
	.daythree {background-position: center -499px !important}
}

@media only screen and ( min-width: 1920px ) and ( max-width: 2120px )  {
	.dayone {background-position: center -310px !important}
	.daytwo {background-position: center -221px  !important}
	.daythree {background-position: center -491px !important}
}

@media only screen and ( min-width: 1600px ) and ( max-width: 1920px ) {
	.dayone {background-position: center -161px !important}
	.daytwo {background-position: center -88px !important}
	.daythree {background-position: center -299px !important}
}

@media only screen and ( min-width: 900px ) and ( max-width: 1600px ) {
	.dayone {background-position: center -161px !important}
	.daytwo {background-position: center -88px !important}
	.daythree {background-position: center -299px !important}
}

@media (min-width:980px) {
	.sfm-navicon-button {display: none !important;}
}



.wpml-ls-native {
    font-family: 'Helvetica Neue', 'Lato', san-serif !important;
}

/* Temporarily disable the language switcher 
.wpml-ls-item {
    display: none !important;
}
*/



/* Extra special logo spacing */
@media only screen and ( min-width: 1px ) and ( max-width: 700px ) {
	#logo {margin-left: 40px !important;}
.et_menu_container {width: 100% !important;}
}
@media only screen and ( min-width: 700px ) and ( max-width: 981px ) {#logo {margin-left: 50px !important;}
.et_menu_container {width: 100% !important;}}
@media only screen and ( min-width: 981px ) and ( max-width: 1181px )  {#logo {margin-left: 25px !important;}}
@media only screen and ( min-width: 1181px ) and ( max-width: 1381px )  {#logo {margin-left: 35px !important;}}
@media only screen and ( min-width: 1381px ) and ( max-width: 1581px )  {#logo {margin-left: 45px !important;}}
@media only screen and ( min-width: 1581px ) and ( max-width: 1781px )  {#logo {margin-left: 60px !important;}}
@media only screen and ( min-width: 1600px ) {#logo {margin-left: 75px !important;}}


/* Chinese Specific CSS */
html:lang(zh) .menu-item {font-family: 'noto-san-sc-regular', serif !important;}
