
/**
 * Global container overflow fix...
 */

.container, 
.subgrid1 {
	overflow: visible;
}

.container:before, 
.container:after, 
.subgrid1:before, 
.subgrid1:after {
	content: '';
	clear: both;
	display: table;
}


/**
 * Page Breadcrumbs fix...
 */

p#breadcrumbs {
	z-index: 1000;
	position: relative;
}


/* 
 ** Site-specific menu styles
 */

.site-pl-pl .main-navigation .large-menu > .sub-menu {
	margin-left: -310px;
}


/* 
 ** Press Kit additions
 */

@media only all and (max-width: 999px) {

	#press-kit-files .press-kit-group h3 {
		font-size: 1.15rem;
		padding-right: 0.5rem;
	}

	.group-thumb-wrap {
		max-width: 85%;
	}
}

#press-kit-files .press-kit-group p.group-thumb-wrap {
	margin: 0 0 0.25em;
}

#press-kit-files .group-thumb-wrap {
	/*float: right; */
	display: inline-block;
	/*background: #F3F4F4;*/
	/*border: 1px solid #F3F4F4;*/
	height: 50px;
	/*padding: 0 6px;*/
	/*box-shadow: 0 0 3px #EDEDED inset;*/
	/*border-radius: 5px;*/
	/*max-width: 50%;*/
}

#press-kit-files img.group-thumb {
	max-height: 38px;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	/*display: block;*/
}


/* 
 ** Map Footer additions
 */

.jvectormap-container {
	cursor: move;
}

#modal-map-form form, 
#modal-form form {
	position: relative;
}

#modal-map-form form a#contact-form-close, 
#modal-form form a#contact-form-close {
	display: block;
	width: 16px;
	height: 15px;
	background: url(../img/map-contact-close.png) 0 0 no-repeat;
	position: absolute;
	top: 18px;
	right: 2.5%;
}

#modal-map-form form a#contact-form-close:hover, 
#modal-form form a#contact-form-close:hover {
	background-position: 100% 0;
}

#map_cols .map_key {
	position: relative;
}

#map_cols .map_key a#office-info-toggle {
	display: block;
	width: 18px;
	height: 13px;
	background: url(../img/office-info-show-hide.png) 0 100% no-repeat;
	position: absolute;
	top: 21px;
	right: 6.66667%;	
}

#map_cols .map_key a#office-info-toggle:hover {
	background-position-x: 100%;
}

#map_cols .map_key a#office-info-toggle.up {
	background-position-y: 0%;
}

.map_key .office-contact {
	height: auto;
	overflow: hidden;
}
.map_key.closed .office-contact {
	height: 0;
}

#map_cols .map_key .office-contact p a {
	word-wrap : break-word;
}


/* 
 ** WPML Language Toggle 
 */

.top_social_chiclets #lang_sel {
	display: block;
	float: right;
	margin-left: 0.83333%;
	margin-top: 1.66667%;
	width: auto;
}

#lang_sel li {
	width: auto;
	float: right;
}

#lang_sel > ul > li:hover {
	padding-bottom: 5px !important;
	background: url(../img/dropdown-arrow.png) 100% 100% no-repeat;
}

#lang_sel a.lang_sel_sel, 
#lang_sel a.lang_sel_sel:hover {
	background: none;
	color: white;
	border: 0;
	font-weight: 600;
	font-size: 14px;
	/*line-height: 30px;
	background: none;*/
}

a.lang_sel_sel .icl_lang_sel_current {
	background: url(../img/dropdown-arrow-white.png) 100% 50% no-repeat;
	padding-right: 20px;
	display: block;
	/*text-shadow: 1px 1px 1px black;*/
}

#lang_sel ul ul {
	left: auto;
	right: 0;
	top: 35px;
	border: 0 !important;
	width: auto;
}

#lang_sel ul ul li {
	white-space: nowrap;
	background-color: rgba(87, 90, 93, 0.95);
}

#lang_sel ul ul a, 
#lang_sel ul ul a:visited {
	background: none;
	color: white;
	font-weight: 600;
	font-size: 14px;
	line-height: 34px;
	border: 0;
}

#lang_sel ul ul a:hover {
	background: none;
	color: #F2B033;
}

#lang_sel ul li.wpml-ls-current-language > a {
	text-shadow: 0 0 2px rgba(0,0,0,0.5);
}


/* 
 ** Menu Tweaks (for Australia)
 */

@media screen and (min-width: 1000px) {
	.main-navigation ul li.large-menu > ul > li {
		margin-left: 20px;
	}

	.main-navigation ul li.large-menu > ul > li:first-child {
		margin-left: 0;
	}

	.main-navigation ul li.large-menu > ul > li:nth-child(3) {
		margin-top: 1em;
	}
}


/* 
 ** Color fix for home slider
 */

@media screen and (min-width: 1000px) {
	#wave-container, 
	#wave-container.gold, 
	#wave-container.blue, 
	#wave-container.orange, 
	#wave-container.gray {
		background-color: transparent !important;
	}
}


/* 
 ** Forms in sidebar tweaks
 */

.widget-area .gray-area form {
	background: none;
	padding: 0;
}

.widget-area form .wpcf7-list-item {
	display: block;
}

/*.widget-area form span.wpcf7-checkbox span.wpcf7-list-item-label {
	font-weight: 300;
}*/

.widget-area form .wpcf7-checkbox {
	display: block;
	overflow: hidden;
	padding-left: 5px;
	padding-right: 5px;
}

.widget-area form .wpcf7-checkbox.wpcf7-not-valid {
	background: #FFEBEB;
}

/*.widget-area form span.wpcf7-not-valid-tip {
	display: none;
}
*/
.widget-area form .your-checkboxes span.wpcf7-not-valid-tip {
	position: static;
	text-align: right;
}

.gray-area form input[type="submit"] {
	display: block;
	text-align: center;
	width: 100%;
}

.gray-area form input[type="file"] {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.8675rem;
	width: 130px;
	white-space: nowrap;
	overflow: hidden;
	margin-top: 0.25em;
}

.gray-area form input[type="file"]:before {
	content: 'Select a file';
	display: inline-block;
	color: white;
	padding: 0.25em 0 0.3em;
	font-weight: 600;
	text-align: center;
	background: #999;
	width: 100%;
}

.gray-area form input[type="file"]:hover {
	cursor: pointer;
}

.single_event_widget {
	margin-bottom: 0.94118rem;
}

form .selector {
	max-width: 100%;
}

#event-microsite #secondary .event_site-contact p {
	margin-bottom: 0.75em;
}

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

	.map_column {
		display: none;
	}

	#site_footer a.footer_page_link {
		border: 0;
	}

}

#map-zoom-buttons div, #world-map {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}


/* 
 ** WYSIWIG Styles
 */

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}


/*
 ** Anchor link shortcode
 */

.page-anchor-target {
	position: relative;
  visibility: hidden;
  display: block;
	height: 40px;
  margin-top: -40px;
}

body.admin-bar .page-anchor-target {
	height: 86px;
  margin-top: -86px;
}

@media screen and (min-width: 783px) {
	body.admin-bar .page-anchor-target {
		height: 72px;
	  margin-top: -72px;
	}
}

@media screen and (min-width: 1000px) {
	.page-anchor-target {
		height: 54px;
	  margin-top: -54px;
	}

	body.admin-bar .page-anchor-target {
		height: 86px;
	  margin-top: -86px;
	}
}


/*
 ** Homepage Slider - Custom Nav Dots
 */

#home_slider_wrap .home-slide .announce {
	position: relative;
	height: 15rem;
}

.cycle-custom-pager {
	position: absolute;
	bottom: 10px;
	left: 1.66667%;
}


/*
 ** MENA White Paper - hide form TEMPORARILY
 */

/*body.site-mena-en.postid-7830 aside#secondary .sidebar_pad .blue-area:first-child {
	display:none;
}*/


/**
 * Global Newsletter Form additions
 */
#site_footer .footer_form span.wpcf7-form-control-wrap.confirm-email-wrap {
	display: none !important;
}
