/*
Theme Name: Global Volunteers
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Global Volunteers 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.2
Author: Global Volunteers
Author URI: http://www.globalvolunteers.org
Template: enfold
*/

/** GRID.CSS OVERRIDES
MIMICED GRID.CSS AND UPDATED MEDIA BREAKPOINT TO 1024 **/

/*
* COMPILED WITH LESS
*/

/* #Tablet (Portrait)
================================================== */

/* Note: Design for a width of 768px, Gutter: 30px, Unit: 32px */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
	.responsive #top {
		overflow-x: hidden;
	}
	.responsive .boxed#top, .responsive.html_boxed.html_header_sticky #header {
		width: 782px;
	}
	.responsive .container {
		max-width: 782px;
	}
	.responsive.html_mobile_menu_tablet .boxed #wrap_all {
		overflow: hidden;
		/*needed for mobile menu scrolling */
	}
}
/*  #Mobile (Portrait)
================================================== */
@media only screen and (max-width: 767px) {
	.logo, .logo a, .logo img {
		max-height: 50px!important;
	}
	.responsive .mobile_slide_out .logo img {
		margin-left: -30px!important;
	}
}
@media only screen and (max-width: 1024px) {
	.responsive .boxed #wrap_all {
		overflow: hidden;
		/*needed for mobile menu scrolling */
	}
	.responsive #top {
		overflow-x: hidden;
	}
	.responsive .boxed#top, .responsive #top.boxed .stretch_full, .responsive.html_boxed.html_header_sticky #header, .responsive.html_boxed.html_header_transparency div #header {
		width: 100%;
		max-width: 100%;
	}
	.responsive #top .flex_column_table_cell {
		display: block;
	}
	.responsive #top .flex_column_table {
		display: block;
	}
	.responsive #top #wrap_all .container {
		width: 85%;
		max-width: 85%;
		margin: 0 auto;
		padding-left: 0;
		padding-right: 0;
		float: none;
	}
	.responsive .units, .responsive .unit {
		margin: 0;
	}
	.responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin {
		margin: 0;
		margin-bottom: 20px;
		width: 100%;
	}
	.responsive #top #wrap_all .av-flex-cells .no_margin {
		display: block;
		margin: 0;
		height: auto !important;
		overflow: hidden;
		padding-left: 8% !important;
		padding-right: 8% !important;
	}
	.responsive #top #wrap_all .av-flex-cells .no_margin .flex_cell_inner {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
	}
	.responsive #top #wrap_all .av-flex-cells .no_margin.av-zero-padding {
		padding-left: 0% !important;
		padding-right: 0% !important;
	}
	.responsive #top #wrap_all .flex_column:empty {
		margin: 0;
	}
}
/* #Mobile (Landscape)
================================================== */

/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {}
/* #Clearing
================================================== */

/*breaking point logic for the common  1/4 element in ipads. makes sure that it converts to a 1/2 element in most cases*/

@media only screen and (min-width: 768px) and (max-width: 1024px) {
	.responsive .av_one_fourth.first.el_before_av_one_fourth.flex_column_div, .responsive .av_one_fourth.first+.av_one_fourth.flex_column_div, .responsive .av_one_fourth.first+.av_one_fourth+.av_one_fourth.flex_column_div, .responsive .av_one_fourth.first+.av_one_fourth+.av_one_fourth+.av_one_fourth.flex_column_div, .responsive .av_one_half.first+.av_one_fourth.el_before_av_one_fourth.flex_column_div, .responsive .av_one_half.first+.av_one_fourth.el_before_av_one_fourth+.av_one_fourth.flex_column_div, .responsive .avia-content-slider-inner .av_one_fourth.flex_column_div {
		margin-left: 4%;
		width: 48%;
	}
	.responsive .av_one_fourth.first.el_before_av_one_fourth.flex_column_div, .responsive .av_one_fourth.first+.av_one_fourth+.av_one_fourth.flex_column_div, .responsive .av_one_half.first+.av_one_fourth.el_before_av_one_fourth.flex_column_div, .responsive .av_one_fourth.first+.av_one_fourth+.av_one_half.flex_column_div, .responsive .avia-content-slider-inner .av_one_fourth.first.flex_column_div {
		margin-left: 0%;
		clear: both;
	}
	.responsive .av_one_half.first.el_before_av_one_fourth.flex_column_div, .responsive .av_one_fourth.first+.av_one_fourth+.av_one_half.flex_column_div {
		width: 100%;
	}
	.responsive .av_one_half.first+.av_one_fourth.flex_column_div, .responsive .av_one_half.first+.av_one_fourth+.av_one_fourth.flex_column_div, .responsive .av_one_fourth.first+.av_one_fourth+.av_one_fourth.flex_column_div, .responsive .av_one_fourth.first+.av_one_fourth+.av_one_fourth+.av_one_fourth.flex_column_div, .responsive .av_one_fourth.first+.av_one_fourth+.av_one_half.flex_column_div {
		margin-top: 30px;
	}
}
/*
Custom Styles & Overrides
================================================== */
/*Flag Style Override*/
.av-hotspot-container-inner-wrap .av-image-hotspot_inner{
	background: url("images/flags.png") no-repeat !important;
	width: 24px;
	height: 24px;
}
/*China*/
.av-hotspot-container-inner-wrap>div:nth-child(1) .av-image-hotspot_inner {
	background-position: -50px -150px !important;
}
/*Cook Islands*/
.av-hotspot-container-inner-wrap>div:nth-child(2) .av-image-hotspot_inner {
	background-position: 0 -100px !important;
}
/*New Mexico*/
.av-hotspot-container-inner-wrap>div:nth-child(3) .av-image-hotspot_inner {
	background-position: -50px 0 !important;
}
/*Cuba*/
.av-hotspot-container-inner-wrap>div:nth-child(4) .av-image-hotspot_inner {
	background-position: -50px -100px !important;
}
/*Ecuador*/
.av-hotspot-container-inner-wrap>div:nth-child(5) .av-image-hotspot_inner {
	background-position: -100px -100px !important;
}
/*Greece*/
.av-hotspot-container-inner-wrap>div:nth-child(6) .av-image-hotspot_inner {
	background-position: -150px -100px !important;
}
/*South Dakota*/
.av-hotspot-container-inner-wrap>div:nth-child(7) .av-image-hotspot_inner {
	background-position: -50px 0 !important;
}
/*Italy*/
.av-hotspot-container-inner-wrap>div:nth-child(8) .av-image-hotspot_inner {
	background-position: -200px -50px !important;
}
/*Nepal*/
.av-hotspot-container-inner-wrap>div:nth-child(9) .av-image-hotspot_inner {
	background-position: -100px -50px !important;
}
/*Peru*/
.av-hotspot-container-inner-wrap>div:nth-child(10) .av-image-hotspot_inner {
	background-position: -50px -50px !important;
}
/*Poland*/
.av-hotspot-container-inner-wrap>div:nth-child(11) .av-image-hotspot_inner {
	background-position: 0 -50px !important;
}
/*Portugal*/
.av-hotspot-container-inner-wrap>div:nth-child(12) .av-image-hotspot_inner {
	background-position: -200px 0 !important;
}
/*USA Texas*/
.av-hotspot-container-inner-wrap>div:nth-child(13) .av-image-hotspot_inner {
	background-position: -50px 0 !important;
}
/*St Lucia*/
.av-hotspot-container-inner-wrap>div:nth-child(14) .av-image-hotspot_inner {
	background-position: -150px -50px !important;
}
/*Tanzania*/
.av-hotspot-container-inner-wrap>div:nth-child(15) .av-image-hotspot_inner {
	background-position: -100px 0 !important;
}
/*USA Montana*/
.av-hotspot-container-inner-wrap>div:nth-child(16) .av-image-hotspot_inner {
	background-position: -50px 0 !important;
}
/*USA West Virginia*/
.av-hotspot-container-inner-wrap>div:nth-child(17) .av-image-hotspot_inner {
	background-position: -50px 0 !important;
}
/*Vietnam*/
.av-hotspot-container-inner-wrap>div:nth-child(18) .av-image-hotspot_inner {
	background-position: 0 0 !important;
}
/*USA Puerto Rico*/
.av-hotspot-container-inner-wrap>div:nth-child(19) .av-image-hotspot_inner {
	background-position: -100px -150px !important;
}

/*Standardize Link Color for Widget Menu*/
.widgettitle {
	color: #aaaaaa !important;
}
.widgettitle:hover {
	color: #000!important;
	transition: background-color 0.4s ease-in-out 0s, color 0.4s ease-in-out 0s, border-color 0.8s ease-in-out 0s;
}
/* Font Adjustment for Tabs*/
.main_color .sidebar_tab, .main_color .tabcontainer .tab {
	color: #6786a1;
}
.main_color .template-archives .tabcontainer a, #top .main_color .tabcontainer .tab:hover, #top .main_color .tabcontainer .tab.active_tab {
	color: #8ca7be;
}
.js_active .tab {
	font-size: 12px;
	color: #6786a1;
}
.js_active .active_tab {
	font-weight: 900;
	text-decoration: underline;
	font-size: 13px;
}
@media only screen and (max-width: 1024px) {
	.tab_icon {
		display: none;
	}
	.js_active .tab {
		font-size: 11px;
	}
	.js_active .active_tab {
		font-size: 12px;
	}
}
/*banner adj on mobile*/
@media only screen and (max-width: 1024px) {
	.avia-caption-title {
		color: #ffffff !important;
	}
	#top h1 a, #top h2 a, #top h3 a, #top h4 a, #top h5 a, #top h6 a {
		color: #6786a1 !important;
	}
}
@media only screen and (max-width: 480px) {
	.avia-caption {
		display: none;
	}
}

/* Fix to footer links */
#socket .sub_menu_socket, nav.sub_menu_socket {
	float: left !important;
}
#socket .menu {
	margin-left: 0;
}
#socket .sub_menu_socket li:first-child {
	padding-left: 0;
}
/* Override title in colored sections to be more universal color.
Second override to ensure home page title is still white. */

body .main_color .av-special-heading h1.av-special-heading-tag {
	color: #294967;
}
body.home .main_color .av-special-heading h1.av-special-heading-tag {
	color: #294967;
}
/* Change to testimonials for dynamically calculating heights. */
#top .avia-slider-testimonials.avia-testimonial-wrapper {
	display: table-cell;
	vertical-align: middle;
}
#top .av-large-testimonial-slider .avia-slideshow-arrows a {
	top: 50%;
	margin-top: -30px;
}
/*Style for popup modal*/
.white-popup {
	position: relative;
	background: #FFF;
	padding: 20px;
	width: auto;
	max-width: 500px;
	margin: 20px auto;
}
.open-popup-link {
	color: #6786A1;
}
#single-fees {
	line-height: 0.5em !important;
}

/*Move Content Slider Nav to Bottom*/
.avia-smallarrow-slider-heading.no-content-slider-heading {
	position: absolute;
	bottom: -20px;
}
/*Styles for Shortcodes*/
.fieldWrap.container {
	padding: 30px 0 30px 0 !important;
}

/*Search Adjustment*/
#top .menu-item-search-dropdown>a, #searchform #searchsubmit, .ajax_search_image, .iconfont {
	font-size: 28px !important;
}
#top #searchform .ajax_search_response {
	/*display: none !important;*/
}
/* Menu Fixes */
.sub_menu, .phone-info {
	font-size: 13px !important;
	top: 13px !important;
}
#header_meta .container {
	min-height: 36px;
}
#top #header .avia_mega_div > .sub-menu {
    padding: 0px 20px 10px 20px !important;
}
#top #header .avia_mega_div > .sub-menu > li > ul > li a {
line-height: 16px;
}
@media only screen and (max-width: 767px) {
	#header_meta>.container {
		display: flex;
		width: 90% !important;
		max-width: 90% !important;
	}
	.av_secondary_right .sub_menu {
		padding-left: 0;
	}
	.responsive .phone-info {
		text-align: right;
	}
	.responsive #header .sub_menu, .responsive #header_meta .sub_menu>ul {
		text-align: left;
	}
	.responsive #top #wrap_all .main_menu {
		top: -15px !important;
	}
	.sub_menu {
		line-height: 1.5em;
	}
	#top .av_header_transparency #header_meta {
		border-bottom: 0px;
	}
}
/*----------------------------------------
// CSS - Sitewide Notification 
//--------------------------------------*/

#header .widget {
	background: #eeee22;
	z-index: 100;
	padding-top: 5px;
	padding-bottom: 5px;
}
#header .avia_message_box_title {
	display: none;
}
#header .avia_message_box {
	margin: 0 !important;
	padding: 0 !important;
}
@media only screen and (max-width: 767px) {
	#header .widget {
		padding: 0;
	}
}
#header {background: linear-gradient(180deg, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0) 55%) !important; }

.content a img, .content img{
max-width: 100% !important;
}
.avia-testimonial-image{
background-repeat: no-repeat;
}
/*Link Color*/
.main_color a.iconbox_icon:hover, .main_color .sidebar .current_page_item > a, .main_color .sidebar .current-menu-item > a, .main_color .pagination a:hover, .main_color .toggle_content strong a, .main_color .tab_content strong a, #top .main_color .av-no-image-slider h2 a, strong a {
color: #6786a1 !important;
}
#top .social_bookmarks li {
    border-right-style: none !important;
    border-right-width: 0 !important;
}
/*country page adj*/
#top .gallery .gallery-item {
margin:0;
width: 20%;
height: auto;
}
#top .gallery-caption {
display:block;
}
.fullwidthbtn {
    min-width: 100%;
    display: inline-grid;
}
.mfp-iframe-holder .mfp-content {
max-width:80vw !important;
}
.tab_inner_content {margin:25px;}