/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/
@media screen and (min-width: 990px) {
	.no-desktop {
		display: none;
	}
}

/* IFRAME STUFF */

.iframe-wrap {
	position:relative;
	display:block;
	width: 100%;
	overflow: hidden;
}

.iframe-wrap iframe {
	position:absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0 !important;
	overflow: hidden !important;
}

/*disable fancy ampersand! yay!*/
.special_amp {
	font-family: initial !important;
	font-size: inherit !important;
	color: inherit !important;
	font-style: normal !important;
}

/* WPML Stuff */

body .avia_wpml_language_switch li .language_flag img { display: none !important; }
body .language_native { display: block !important; }

.avia_wpml_language_switch li span {
	line-height: 35px;
}

/* Header Stuff */

.av_secondary_right .sub_menu {
    top: 0;
}

#top #wrap_all .av_header_transparency .sub_menu > ul.avia_wpml_language_switch > li > a, body #top #wrap_all .av_header_transparency .sub_menu > ul.avia_wpml_language_switch > li > a, #top #wrap_all .sub_menu > ul > li.language_en > a {
	background: none !important;
}

#top #wrap_all .av_header_transparency .sub_menu, .header-scrolled .sub_menu {
	top: 0 !important;
}

#top .social_bookmarks li a, #top .social_bookmarks li {
	height: 42px;
	line-height: 42px;
}

#top #wrap_all .sub_menu > ul {
	float: right;
	display: inline-block;
	height: 42px;
}

#top #wrap_all .sub_menu > ul > li {
	border-right: 0;
}

#top #wrap_all .sub_menu > ul > li > a, .btn-donate {
	display: block;
	height: 32px;
	line-height: 32px;
	padding: 0 14px;
	background: #b580d1 !important;
	margin-top: 5px;
}
#top #wrap_all .sub_menu > ul > li.top-subscribe > a, .btn-subscribe {
	background: #dce6fb !important;
	color: #1d2840;
	height: 32px;
    line-height: 32px;
    padding: 0 14px;
}

#top #wrap_all .sub_menu > ul > li.top-subscribe:hover > a, .btn-subscribe:hover {
	background: #dce6fb !important;
}

/* Footer Styles */

.footer_color {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.footer_color .btn-wrap {
	display: block;
	text-align: center;
}

.footer_color .btn-donate {
	display: inline-block;
	margin: 15px 0;
	color: #ffffff !important;
	text-decoration: none !important;
}

.footer_color .btn-subscribe {
	display: inline-block;
	margin: 15px 0;
	text-decoration: none !important;
	background: #dce6fb;
	color: #1d2840;
}

.footer_color .btn-donate:hover {
	opacity: .8;
	transition: opacity 0.1s ease-out;
}

.footer_color .btn-subscribe:hover {
	opacity: .8;
	background: #dce6fb !important;
	color: #1d2840;
}

.footer_color p {
	font-size: 13px;
	line-height: 145%;
}



#top #wrap_all .sub_menu > ul > li.language_es > a {
	background: none !important;
}

#top #wrap_all .sub_menu > ul > li {
	display: block;
	line-height: 30px;
}

/* Meta Menu Search Form */

#gform_1 ul, #gform_1 ul li {
	background: none;
	border: none;
}

#top header .widget #gform_1 ul {
	width: auto;
	padding-right: 90px;
	display: block;
}

@supports (-ms-ime-align: auto) {
  #top header .widget #gform_1 ul {
	padding-right: 105px;
}
}

#top header .gform_wrapper ul li.gfield {
	display: inline;
	clear: none;
	margin-bottom: 0 !important;
}

#top #gform_1 label {
    display: none;
}

#top #gform_1 .validation_message {
	display: none;
}

#top #gform_1 .validation_error {
	position: absolute;
	left: -140px;
	color: red;
}

#top #gform_1 {
    margin-bottom: 0;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#top header .gform_wrapper li, #top .gform_footer {
	padding-top: 5px;
}

#top header .gform_wrapper li {
	padding-right: 0;
}

#top header .gform_wrapper li input {
	padding: 0 8px;
	height: 32px;
	text-transform: uppercase;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	border: 0;
}

#top header .gform_wrapper li:last-child {
	padding-right: 0;
	padding-left: 6px;
}

#top header .gform_wrapper li:first-child input {
	width: 180px;
}

#top header .gform_wrapper li:last-child input {
	width: 67px;
}

#top header .gform_wrapper input[type="submit"] {
	position: absolute;
	right: 25px;
	padding: 0 10px;
	height: 32px;
	text-transform: uppercase;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#top .header_color input[type="text"], #top .header_color input[type="email"]  {
	background-color: rgba(103,172,228,.3);
	text-transform: none;
	font-weight: 300;
	color: #fff;
	transition: background 0.15s ease-in;
}

#top .header_color input[type="text"]::placeholder, #top .header_color input[type="email"]::placeholder, #top .header_color input[type="text"]:-ms-input-placeholder, #top .header_color input[type="email"]:-ms-input-placeholder,  {
	color: #67ace4;
}

#top .header_color input[type="text"]:focus, #top .header_color input[type="email"]:focus  {
	background-color: rgba(29,40,64,.4);
	color: #fff;
	border: none;
	transition: background 0.15s ease-out;
}

#top .header_color.header-scrolled input[type="text"], #top .header_color.header-scrolled input[type="email"]  {
	background-color: #fff;
	color: #1d2840;
	transition: background 0.15s ease-in;
}

#top .header_color.header-scrolled input[type="text"]::placeholder, #top .header_color.header-scrolled input[type="email"]::placeholder  {
	color: #67ace4;
}

#top .header_color.header-scrolled input[type="text"]:focus, #top .header_color.header-scrolled input[type="email"]:focus  {
	background-color: #dce6fb;
	color: #1d2840;
	border: none;
	transition: background 0.15s ease-out;
}

/* #top header .gform_wrapper input[type="submit"]:hover, #top header .gform_wrapper input[type="submit"]:active {
	background: #1d2840;
	transition: background 0.1s ease-out;
} */


.sub_menu .widget {
	padding: 0 25px 0 0;
	float: none;
	display: inline-block;
	height: 42px;
	line-height: 42px;
	vertical-align: top;
	border-right-width: 1px;
	border-right-style: solid;
	border-color: rgba(255,255,255,0.25);
}

div.ginput_counter {
	display: none !important;
}

#top .social_bookmarks li:first-child {
	border-left-width: 1px;
	border-left-style: solid;
}

#footer h3.widgettitle {
	color: #6fa9e3;
	text-align: center;
	border-bottom: 1px solid #787d8e;
	padding-bottom: 18px;
	margin-bottom: 25px;
}

.footer_color strong {
	color: inherit;
}

#footer .av_one_third:last-child {
	text-align: center;
}

#footer .av_one_third:last-child .textwidget {
	padding-left: 10px;
	padding-right: 10px;
	line-height: 140%;
	font-size: 12px;
}

#top .footer_color input[type="email"], #top .footer_color input[type="text"] {
	border: 0;
	background-color: #364e70;
	text-align: center;
}

#top .footer_color input[type="submit"] {
	border: 0;
	text-transform: uppercase;
	font-weight: 700;
	padding: 6px 16px;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#top .footer_color input[type="text"]::placeholder, #top .footer_color input[type="email"]::placeholder {
	text-transform: uppercase;
	text-align: center;
}

#top .footer_color .gform_wrapper ul li.gfield {
	width: 48%;
	margin-right: 4%;
	display: inline-block;
}

#top .footer_color .gform_wrapper ul li.gfield:last-child {
	margin-right: 0;
}

#footer .gform_body {
	padding-top: 10px;
}

#footer .gform_footer {
	padding-top: 20px;
}

.footer-badges {
	display: block;
	margin: 25px 0 0;
	text-align: center;
}

.footer-badges a {
	vertical-align: top;
	margin-right: 15px;
}

@media screen and (min-width: 768px) {
	.mobile-only {
		display: none !important;
	}
}

@media screen and (max-width: 767px) {

	body.es .container_wrap .avia-builder-el-first .es-smaller {
		font-size: 46px;
	}
	
	#top #wrap_all #main #av_section_1.avia-no-border-styling {
		/* background-size: 400% auto !important; */
		margin-top: 0 !important;
	}
	
	.avia_mobile #top #av_section_1 .av-parallax {
		margin-top: 0 !important;
		background-position: center 200px !important;
	}
	
	#top .no_margin.av_one_half.home-mission {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	
	.responsive #top .av_header_transparency #header_meta {
		background: rgba(0, 51, 159, 0.8);
	}
	.responsive #top .av_header_transparency #header_meta .container {
		max-width: 90%;
		width: 90%;
	}
	.responsive #top .av_header_transparency #header_meta li:first-child {
		padding-left: 0;
	}

	#top #wrap_all .sub_menu ul#avia2-menu, #top #wrap_all .sub_menu ul.avia_wpml_language_switch {
		display: none;
	}
	
	#top #wrap_all .av_header_transparency .sub_menu {
		padding-left: 0;
		border-right: 0;
	}
	
	#top #wrap_all .av_header_transparency .sub_menu .widget {
		padding-right: 0;
		width: 100%;
		border-right: 0;
	}
	
	#top header #gform_1 {
		height: 42px;
		float: right;
	}
	
	#top header .gform_wrapper input[type="submit"] {
		right: 0;
		left: auto;
	}
	
	#top header .gform_wrapper li:first-child input {
		width: 150px;
	}
	
	#top header input[type="email"], #top header .gform_wrapper li:last-child input {
		font-size: .875em;
		width: 75px;
	}
	
	#top #gform_1 .validation_error {
		left: 0px;
	}
}

@media screen and (max-width: 506px) {
	#top #gform_1 .validation_error {
		display: none;
	}
}

