/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Enthusiast, Inc.
 Author URI:     https://www.enthusiastinc.net
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
body #page-container #et-boc .top-bar-left .et-pb-icon,
body #page-container #et-boc .top-bar-right .et-pb-icon,
body #page-container #et-boc #menu-top-bar-left .et-pb-icon,
body #page-container #et-boc #menu-top-bar-right .et-pb-icon {
	font-size: 18px;
	vertical-align: middle;
}
body #page-container #et-boc .top-bar-right .et-pb-icon {
	color: #FF8004;
	padding-right: 5px;
}
body #page-container #et-boc .top-bar-left .et_pb_menu .et-menu > li,
body #page-container #et-boc .top-bar-right .et_pb_menu .et-menu > li {
	padding: 0;
}
body #page-container #et-boc .top-bar-left .et_pb_menu_0_tb_header.et_pb_menu ul li:first-child a {
	padding-left: 2.5em;
}

body #page-container #et-boc .top-bar-left .et_pb_menu--without-logo .et_pb_menu__menu > nav > ul > li,
body #page-container #et-boc .top-bar-right .et_pb_menu--without-logo .et_pb_menu__menu > nav > ul > li {
	margin-top: 0;
}
body #page-container #et-boc .top-bar-left .et_pb_menu_0_tb_header.et_pb_menu ul li:last-child a {
	/* background-color: #33559D; */
} 

body #page-container #et-boc .top-main-menu .et-menu-nav,
body #page-container #et-boc .top-main-menu .et_pb_menu__menu,
body #page-container #et-boc .top-main-menu .et-menu-nav ul,
body #page-container #et-boc .top-main-menu .et-menu-nav ul li {
	flex-grow: 1;
}
body #page-container #et-boc .top-main-menu.et_pb_fullwidth_menu .et-menu {
	margin-left: 0;
	margin-right: 0;
}
body #page-container #et-boc .top-main-menu.et_pb_fullwidth_menu .et-menu>li {
	padding: 0;
}
body #page-container #et-boc .top-main-menu.et_pb_fullwidth_menu--with-logo .et_pb_menu__menu > nav > ul > li > a {
	display: block;
	width: 100%;
	text-align: center;
}
body #page-container #et-boc .top-main-menu.et_pb_fullwidth_menu--with-logo .et_pb_menu__menu > nav > ul > li > a:hover,
body #page-container #et-boc .top-main-menu.et_pb_fullwidth_menu--with-logo .et_pb_menu__icon:hover {
	background-color: #276BCF;	
	color: #fff !important;
	opacity: 1;
}
body #page-container #et-boc .top-main-menu.et_pb_fullwidth_menu--with-logo .et_pb_menu__menu > nav > ul > li:last-child > a {
	border-right: solid 1px #002B85;
}
body #page-container #et-boc .top-main-menu.et_pb_fullwidth_menu--with-logo .et_pb_menu__icon {
	padding: 0 1.5em;
	margin: 0;
}
body #page-container #et-boc .top-main-menu.et_pb_fullwidth_menu--with-logo .et-menu-nav .et-menu > li > a {
	border-left: solid 1px #002B85;
	padding: 2em 1em;
}
body #page-container #et-boc .top-main-menu.et_pb_fullwidth_menu--with-logo .et-menu-nav .et-menu .sub-menu {
	width: 300px;
	padding: 0;
	border-top: 0;
	margin-top: 1px;
}
body #page-container #et-boc .top-main-menu.et_pb_fullwidth_menu--with-logo .et-menu-nav .et-menu .sub-menu li {
	padding: 0;
}
body #page-container #et-boc .top-main-menu.et_pb_fullwidth_menu--with-logo .et-menu-nav .et-menu .sub-menu li a {
	font-size: 16px;
	width: 300px;
	padding: 1em;
}
body #page-container #et-boc .top-main-menu.et_pb_fullwidth_menu--with-logo .et-menu-nav .et-menu .sub-menu li a:hover {
	opacity: 1;
	background-color: #276BCF;
	color: #fff !important;
}
body #page-container #et-boc .top-main-menu .et-menu .menu-item-has-children > a:first-child::after {
	display: none;
}
body #page-container #et-main-area .et_pb_social_media_follow li a.icon:before {
	height: 22px;
	width: 22px;
	line-height: 22px;
}

.our-work-blurb .et_pb_blurb_container {
	padding: 0 1.5em;
}

.publication-toggle.et_pb_toggle h5.et_pb_toggle_title {
	padding-right: 0;
	border: solid 2px #fff;
	padding: 1em;
}
.publication-toggle.et_pb_toggle h5.et_pb_toggle_title:hover {
	color: #FF8004 !important;
	border-color: #FF8004
}
.publication-toggle.et_pb_toggle .et_pb_toggle_title::before {
	display: none;
}
.divimegapro-container .et_pb_row::before {
	font-family: ETmodules;
	content: "B";
	font-size: 75px;
	position: absolute;
	left: 545px;
	top: -30px;
	font-weight: 800;
	color: #276BCF;
	z-index:1000;
}

/** Gravity Forms **/
.gform_wrapper.gravity-theme .hide-label .gfield_label {
	display: none;
}
body .gform_wrapper.gravity-theme .gfield_label {
	color: #002B85;
	font-size: 18px;
	font-weight: 400;
}
.gform_wrapper.gravity-theme .gfield-choice-input + label {
	line-height: 1em;
}

.foundation-contact input.text,
.foundation-contact input.title,
.foundation-contact input[type="email"],
.foundation-contact input[type="password"],
.foundation-contact input[type="tel"],
.foundation-contact input[type="text"],
.foundation-contact select,
.foundation-contact textarea {
	border: solid 1px #36424A;
	border-radius: 3px;
}
.foundation-contact input[type="text"]::placeholder,
.foundation-contact input[type="email"]::placeholder,
.foundation-contact select option::placeholder,
.foundation-contact textarea::placeholder {
	color: #002B85;
	opacity: 1;
}
.foundation-contact select {
	-webkit-appearance: menulist-button;
	color: #002B85;
}
.foundation-contact select:invalid {
	color: #002B85;
}

/** real 3d flipbook **/
.et_pb_code_inner div[class^="real3dflipbook-"] {
	padding: 0 !important;
	display: block !important;
}
.et_pb_code_inner div[class^="real3dflipbook-"] > div > img {
	width: 100%;
	height: auto;
}

/** Fix background image not changing at https://hifla.org/support-us/childrens/ **/

/** DESKTOP ONLY **/
@media only screen and (min-width: 768px) {
}

/* ALL MOBILE SCREENS (portrait and landscape) */
@media screen and (max-width: 767px) {
	body #page-container #support-us-children {
		background-position: right 7% bottom 60%;
	}
}

/* iPhone 6 and smaller portrait mode */
@media screen and (max-device-width: 667px) {
}
/* iPhone 6 & 6S in landscape */
@media only screen  and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) {
}
/* iPhone 6 & 6S in portrait */
@media only screen  and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : portrait) {
}
/* iPhone 6 Plus & 6S Plus in landscape */
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : landscape) {
}
/* iPhone 6 Plus & 6S Plus in portrait */
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : portrait) {
}

/** Mobile + Tablets **/
@media only screen and (max-width: 980px) {
}

/** Tablet Portrait Mode **/
@media only screen and (orientation: portrait) and (min-device-width: 768px) and (max-device-width: 1024px) {
}
/** Tablet Landscape Mode **/
@media only screen and (orientation: landscape) and (min-device-width: 768px) and (max-device-width: 1024px) {
}

/** All Smaller Desktop Screens **/
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 1750px) {
	body #page-container #et-boc .top-bar-left .et_pb_menu.et_pb_module ul li a,
	body #page-container #et-boc .top-bar-right .et_pb_menu.et_pb_module ul li a {
		font-size: 13px;
	}
}