/* Agency name in secondary footer */
.usa-footer-logo-heading a{
	text-decoration:none;
}
@media screen and (min-width: 600px) {
	.usa-footer-logo-heading {
		margin-top: -3rem;
	    padding-left: 0rem;
	}
}


/* Agency logo in secondary footer */
.usa-footer-logo-img {
  max-width: 8rem;
  display:inline-block;
  margin-right:1.5rem;
  margin-bottom:3rem;
  vertical-align: middle;
}

/* Address below name in secondary footer */
.footer-address {
	color: #d6d7d9;
	margin-left: 15px;
	font-family: "Source Sans Pro","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;
}

/* Social icons */
.usa-footer-contact-links {
	/*display:inline-block;*/
	min-width: 275px;
	left: -15px;
}
.usa-footer-contact-links a {
	text-decoration: none;
}

/* Vijaya  changes to Footer */
@media screen and (max-width: 599px) {
  .usa-footer-secondary_section .usa-footer-logo {
		margin-left: 23px;
	}
	.usa-footer-secondary_section .usa-footer-contact-links {
    margin-left: 40px;
	}
}
@media screen and (max-width: 693px) {
	.usa-footer-secondary_section .usa-footer-logo {
	  width: 100vw;
		padding-bottom: 0px;
	}
}

@media screen and (min-width: 600px) and (max-width: 973px) {
	.usa-footer-secondary_section .usa-footer-contact-links {
		margin-left: -23px;
		padding-top: 0px;
	}
	.usa-footer-secondary_section .usa-footer-logo {
		padding-bottom: 0px;
	}
}

@media screen and (min-width: 599px) {
  nav.usa-footer-nav {
    display: none;
	}
}

@media screen and (max-width: 599px) {
  div.usa-footer-nav {
    display: none;
	}
}
/* End vijaya css */


/** Vijaya - remove ext link for social icons */
.usa-footer-contact-links span.ext {
	display: none;
}

/** vijaya end */

/* Lang Nav - About us page */
.region-sidebar-second ul.menu { 
	padding-left: 0;
}

.region-sidebar-second ul.menu li {
	margin-bottom: 5px;
}

.region-sidebar-second ul.menu li a {
	text-decoration: underline;
}

.region-sidebar-second ul.menu li.menu-item--active-trail a {
	font-weight: bold;
}

/* Search Resources page */
.search-form.usa-form {
	max-width: 24rem;
	margin-bottom: 2rem;
}
.search-form.usa-form .usa-label {
	display: inline-block;
	font-weight: bold; 
	text-transform: uppercase;
	margin: 0 0 0.5rem;
}
.search-form.usa-form > .container-inline {
	display: flex; 
	display: -webkit-flex; 
	-ms-display: flex; 
	align-items: flex-end; 
	-webkit-align-items: 
	flex-end; 
	-ms-align-items: flex-end;
	margin-bottom: 0.5rem;
}

.search-form.usa-form input[type="search"],
.search-form.usa-form input[type="submit"] {
	height: 42px;
	border-radius: 0;
}

.search-help-link {
	font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

ol.search-results {padding-left: 0;}
.file_search-results .search-result__title {margin-bottom: 4px;}
.file_search-results .search-result__snippet {margin-top: 0;}

.path-search .pager .pager__items li {padding: 0 0.5em;}
.path-search .pager__item.is-active {
	text-decoration: none; 
	background-color: #005ea2!important; 
}
.path-search .pager__item.is-active a {color: #fff;}

/* Map Page css */
.path-map-page main > .grid-container > .grid-gap { padding-left: 0; }
.block-cldp-map {
  position: relative;
  margin-bottom: -60px;
  display: none;
}
.block-cldp-map > h2 {padding: 6px 0 47px; text-align: center; color: #000; width: 100%; text-shadow: 1px 1px 2px #FFF; }
#map {
  width: 100%;
	height: 723px;
  max-width: 1058px;
  margin: 0 auto;
	font-family:Arial, san serif;
	font-size:18px;
	overflow:hidden;
	position: relative;
}


.region_tooltip {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 46px;
	background: url(/themes/custom/commerce/css/../images/tooltips_sprites.png) -5000px 0;
	text-indent: -5000px; 
	display:none;
	cursor:pointer;
	z-index:850;
}

#eurasia_tt {
	width: 88px;
	background-position: 0 -66px ;
	top: 89px;
  left: 735px;
}

#europe_tt {
	width: 82px;
	background-position: 0 0px;
	top: 150px;
  left: 550px;
}

#asia_tt {
	width: 154px;
	background-position: 0 -131px ;
	top: 330px;
  left: 650px;
}

#central_asia_tt {
  width: 154px;
  top: 250px;
  background-position: 0 -476px;
  left: auto;
  right: 280px;
}

#south_east_asia_tt {
  width: 227px;
  top: 280px;
  background-position: 0 -408px;
  left: auto;
  right: 125px;
}

#africa_tt {
	width: 154px;
	background-position: 0 -339px ;
	top: 380px;
  left: 491px;
}


#north_africa_tt {
	width: 216px;
	background-position: 0 -271px ;
	top: 330px;
  left: 460px;
}

#latin_america_tt {
	width: 227px;
	background-position: 0 -208px ;
	top: 374px;
	left: 120px;
}

.region_overlay {
	background: #fff;
	width: 290px;
	font-size: 12px;
	position: absolute;
	bottom: 4px;
	left: 4px;
	min-height: 250px;
	z-index:900;
  box-shadow: 0px 0px 4px rgba(0,0,0,0.2);
}

.region_overlay .usa-button {font-size: 0.875rem;}

.region_overlay .gutter {
	padding: 1rem;
}
.closeBtn a{
	background: url("/themes/custom/commerce/css/../images/btn_close2.gif") no-repeat 0 0;
	display: block;	
	text-indent: -5000px;
	width: 26px;
	height: 26px;
	position: absolute;
	right: -26px;
	top: 0;
}

.region_overlay h1{
	font-size: 1.5em;
	color: #03213f;
	font-weight: normal;
	text-transform: uppercase;
  margin: 0 0 .75rem;
}

.region_overlay ul {
	padding-top: 15px; 
	clear:both;
	padding-bottom:10px;
  list-style: none;
  padding: 0;
}

.region_overlay ul li a {
	text-decoration: none;
	color: #666;
}
.clearfix:after{clear:both;content:' ';display:table;}

.hide {
	display: none;
}

#close_map {
	position:absolute;
	right:18px;
	top:18px;
	z-index:2;
	width:82px;
	height:32px;
}

#close_map a {
	display:block;
	width: 82px;
	height:32px;
}

.region_overlay .view-id-cldp_country_list .view-content .views-row,
.view-map-regions .view-content .item-list ul:after {
  content: "";
  display: table;
  clear: both;
}
.view-map-regions .view-content .item-list ul li{
	float: left;
	width: 50%;
	padding: 0 7px 7px 0;
  box-sizing: border-box;
}
.region_overlay .view-id-cldp_country_list .views-admin-links {
	display:none;
}

.show_tt {display: block!important;}
.member_tt {font-size: 12px; font-weight: bold; text-transform: uppercase; background-color: #000000; color: #ffffff; border-radius: 4px; padding:  4px; display: none;}

.land {
  fill: #70b0e4;
  fill-opacity: 1;
  stroke:#FFFFFF;
  stroke-opacity: 1;
  stroke-width:0.5;
  transition: all 0.4s ease-in-out;
}

.zoom-active .land:not(.member-country):not(.active-map-clicked)  {fill-opacity: 0.06; stroke-opacity: 0.04; display: none;}
.active-map, .member-country {fill: #f6cd52!important; cursor: pointer;}
.active-map-clicked { position: relative; transform-origin: center;}
.member-country.active-map-clicked:hover {fill: #808000!important;}

.active-map-clicked.focus_asia {transform: scale(1.6) translate(-22%, -12%);}
.active-map-clicked.focus_africa {transform: scale(1.8) translate(0, -21%);}
.active-map-clicked.focus_eurasia {transform: scale(1.2) translate(-21%, 16%);}
.active-map-clicked.focus_europe {transform: scale(1.5) translate(-4%, 1%);}
.active-map-clicked.focus_latin_america {transform: scale(1.5) translate(20%, -24%);}
.active-map-clicked.focus_north_africa {transform: scale(2) translate(0, -5%);}
.active-map-clicked.focus_central_asia {transform: scale(3.5) translate(-16%,-1%);}
.active-map-clicked.focus_south_east_asia {transform: scale(2) translate(-28%, -9%);}

@media (max-width: 767px) {
  .active-map-clicked.focus_asia {transform: scale(3) translate(-27%, -9%);}
  .active-map-clicked.focus_africa {transform: scale(3) translate(-2%, -21%);}
  .active-map-clicked.focus_eurasia {transform: scale(1.8) translate(-27%, 16%);}
  .active-map-clicked.focus_europe {transform: scale(3.6) translate(-1%, 10%);}
  .active-map-clicked.focus_latin_america {transform: scale(2.3) translate(20%, -27%);}
  .active-map-clicked.focus_north_africa {transform: scale(4) translate(-4.5%, -5%);}
}

@media (max-width: 517px) {
  #map {height: auto;}
  .region_overlay {position: relative;}
}

/* Map color box */
.map-colorbox {
  position:relative;
}
.map-colorbox .field.field--name-body.field--type-text-with-summary {margin-top: 0; height: 275px; overflow: hidden; border-radius: 15px; overflow: hidden; border: 1px solid #d4e0ec; background: #cae5fa; margin-bottom: 1rem;}
.map-colorbox .field.field--name-body.field--type-text-with-summary img {display: block; position: relative; top: -200px;}

.map-colorbox .cboxElement {display: inline-block; cursor: pointer;}
.map-blurb {position: absolute; bottom: 20px; right: 20px; margin: 0; font-size: 20px; color: #000; padding: 0 15px;}

#colorbox #map { width: 100%; height: 657px; margin-top: -39px;}

#colorbox #africa_tt {
    top: 352px;
    left: 450px;
}

#colorbox #north_africa_tt {
    top: 300px;
    left: 399px;
}

#colorbox #europe_tt {
    top: 130px;
    left: 512px;
}

#colorbox #asia_tt {
    top: 261px;
    left: 654px;
}

#colorbox #central_asia_tt {
    top: 276px;
    right: 290px;
}

#colorbox #south_east_asia_tt {
    top: 246px;
    right: 126px;
}

#colorbox #eurasia_tt {
    top: 77px;
    left: 652px;
}

.sidebar-map {
  float: left;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #d4e0ec;
  position: relative;
  cursor: pointer;
}
@media (min-width: 1069px) {
  .sidebar-map {
    margin-right: 2rem;
  }
}

@media (max-width: 1068px) {
  .sidebar-map {
    float: none;
    display: table;
    margin: 0 auto;
  }
}

.sidebar-map p {margin: 0;}
.sidebar-map p img {display: block;}
.sidebar-map .field.field--name-body.field--type-text-with-summary {margin: 0;}

.block-views-blockcldp-in-action-block-1 {clear: both;}

/* Resorces Library */
.view-cldp-search .views-view-grid {margin: 0 -8px;}
.view-cldp-search .views-view-grid .views-col {
  padding: 0 8px;
  margin: 0 0 30px;
}
@media (max-width: 639px) {
  .view-cldp-search .views-view-grid .views-col {
    width: 100%!important;
    margin-bottom: 45px;
  }
}
.view-cldp-search .views-row .field--name-field-resource-thumbnail,
.view-cldp-search .views-row .field--name-field-resource-series-banner {margin-bottom: 12px;}
.view-cldp-search .views-row h3 {margin: 0 0 6px;}
.view-cldp-search .views-row h3 a {font-size: 1.05rem; color: #005ea2; font-weight: bold; line-height: 1;}
.view-cldp-search .field--name-body, .view-cldp-search .views-row p {margin: 0!important;}

.view-cldp-search .view-filters {margin-bottom: 45px;}
.view-cldp-search .views-exposed-form { max-width: unset; }
.view-cldp-search .views-exposed-form .form--inline {
  display: flex;
  display: -webkit-flex;
  display: -ms-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  justify-content: flex-end;
  -webkit-justify-content: flex-end;
  -ms-justify-content: flex-end;
  position: relative;
}
.view-cldp-search .views-exposed-form .js-form-type-textfield {
  flex: 1 0 100%;
  -webkit-flex: 1 0 100%;
  -ms-flex: 1 0 100%;
  margin-bottom: 16px;
}

.view-cldp-search .views-exposed-form .form-item-sort-by ul,
.view-cldp-search .views-exposed-form .form-item-sort-by {
  display: flex;
  display: -webkit-flex;
  display: -ms-flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.view-cldp-search .views-exposed-form .form-item-sort-by label {margin-right: 15px;}
.view-cldp-search .views-exposed-form .form-item-sort-by li {margin-right: 20px;}
.view-cldp-search .views-exposed-form .form-item-sort-by li:last-child {margin-right: 0;}
.view-cldp-search .views-exposed-form .form-item-sort-by a {
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  color: #555;
}

.view-cldp-search .views-exposed-form .form-actions {
  position: absolute;
  right: -8px;
  bottom: 48px;
}
.view-cldp-search .views-exposed-form .form-actions input {border-radius: 0;}
.view-cldp-search .views-exposed-form .form-actions #edit-reset {background: #999999;}
/* Program series view */
.res-book:after {content: ""; display: table; clear: both;}
.res-book > div:not(.res-book-thumb) {overflow: hidden;}
.res-book .res-book-thumb {float: left; margin: 0 1rem 1rem 0;}

/* Side bar nav - Resources Series block */
.view-resources-series.view-display-id-block_1 .views-row {border-top: 1px solid #dfe1e2;}
.view-resources-series.view-display-id-block_1 .views-row a {
    color: #565c65;
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
}
.view-resources-series.view-display-id-block_1 .views-row a:hover {
  background-color: #f0f0f0;
  color: #005ea2;
  text-decoration: none;
}

.region-sidebar-first .block-facets {margin-bottom: 30px;}
.region-sidebar-first .block-facets ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.region-sidebar-first .block-facets ul .facet-item {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

@media screen and (min-width: 1069px) {
.upcoming-search {
    width: 100%!important;
}
}

@media (max-width: 516px) {
  .path-resources main > .grid-container > .grid-gap {padding-left: 0;}
  .view-cldp-search .views-exposed-form .form-item-sort-by label {
    font-size: 14px;
    white-space: nowrap;
  }
  .view-cldp-search .views-exposed-form .form-item-sort-by label .usa-hint {font-size: 12px;}
  .view-cldp-search .views-exposed-form .form-item-sort-by li {margin-right: 8px;}
  .view-cldp-search .views-exposed-form .form-item-sort-by a {font-size: 12px;}
  .view-cldp-search .views-exposed-form .form-actions {
    right: 1px;
    bottom: 44px;
  }
}
