/*
	:: Custom globals
*/
h1{
	font-family: 'montserratregular', open_sansregular, sans-serif;
	letter-spacing: 1px;
	margin-bottom: 40px;
	font-size: 46px;
}
h2{
	font-family: 'montserratlight', open_sansregular, sans-serif;
	font-size: 28px;
	color: #007da3;
	white-space: nowrap;
}
h2.resource{
	white-space: normal;
	font-size: 22px;
	text-align: center;
	line-height: normal;
}
p{
	font-size: 17px;
	line-height: 24px;
	font-family: arial, sans-serif;
}
p a{
	color: #007da3;
	text-decoration: underline;
}
em {
	font-family: inherit; /*why would somebody define em as a serif?!*/
}
.accent{
	font-family: 'montserratlight', open_sansregular, sans-serif;
}
.myrow{
	overflow: hidden;
	clear: both;
}
.fluid-width-video-wrapper iframe{
	z-index:999;
}
@media (max-width: 950px) {
	div.page{
		padding: 40px 0;
	}
	body #main div.page p.wp-caption-text{
		position: relative;
		padding: 7px 10px;
		background: #2b2b2b;
		font-size: 12px;
	}
}
@media (max-width: 850px) {
	h1{
		font-size: 2.2em;
	}
	h2{
		font-size: 1.7em;
	}
	p{
		font-size: 14px!important;
	}
}
@font-face {
	font-family: 'montserratlight';
	src: url('../fonts/Montserrat/montserrat-light-webfont.eot');
	src: url('../fonts/Montserrat/montserrat-light-webfont.eot#iefix') format('embedded-opentype'),
		 url('../fonts/Montserrat/montserrat-light-webfont.woff') format('woff'),
		 url('../fonts/Montserrat/montserrat-light-webfont.ttf') format('truetype'),
		 url('../fonts/Montserrat/montserrat-light-webfont.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

div.scrollbtn_home{
	position: absolute;
	bottom: 15px;
	width: 50px;
	left: 50%;
	margin-left: -25px;
}
div.scrollbtn_home p,div.scrollbtn_home img{
	font-family: 'montserratlight', open_sansregular, sans-serif;
	text-shadow: 0px 3px 19px rgba(0, 0, 0, 1);
	color: #fff;
	text-align: center;
}
@media (max-width: 850px) {
	div.scrollbtn_home{
		display: none;
	}
}

#main div.page img.masthead{
	width: 100%;
	max-width: 100%;
}
#main div.page div.wp-caption{
	max-width: 100%;
	width: 100%!important;
	position: relative;
	border: none;
	margin: 0;
	margin-bottom: 5px;
	padding: 0;
}
div.mfp-content div.wp-caption{
	max-width: 100%;
	width: 100%!important;
	position: relative;
	border: none;
	margin: 0;
	margin-bottom: 5px;
	padding: 0;
	background: none;
}
div.mfp-content div.wp-caption img{
	max-width: 100%;
}
div.mfp-content p.wp-caption-text, #main div.page p.wp-caption-text{
	position: absolute;
	width: 100%;
	background: rgb(0,0,0);
	background: rgba(0,0,0,0.5);
	bottom: 6px;
	padding: 20px;
	text-align: center;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
}
body #main #governance div.wp-caption{
	max-width: 100%;
	width: 1170px!important;
	position: relative;
	border: none;
	margin: 0 auto;
	margin-bottom: 5px;
	padding: 0;
}
body #main #governance p.wp-caption-text{
	padding: 10px 20px;
}
body #main #governance div.wp-caption img{
	max-width: 100%;
}

.portfolios > div{
	text-align: left;
}

/*
	:: Top / Intro section
*/
div#superslider_home h1{
	color: #fbe682;
	font-size: 4.5em;
	/*text-shadow: 0 10px 20px #000000;*/
	text-shadow: -9px 10px 24px rgba(0, 0, 0, 0.64);
	margin-bottom: 15px;
}
div#superslider_home h2{
	padding-top: 25px;
	text-shadow: -9px 10px 24px rgba(0, 0, 0, 0.64);
}
@media (max-width: 820px) {
	div#superslider_home h1{
		font-size: 3em;
	}
	div#superslider_home h2{
		font-size: 1.5em;
		padding-top: 10px;
	}
	div#superslider_home .captioninner img{
		max-width: 160px;
	}
}
@media (max-width: 550px) {
	div#superslider_home h1{
		font-size: 2em;
	}
	div#superslider_home h2{
		font-size: 1em;
		padding-top: 7px;
	}
	div#superslider .captioninner img{
		max-width: 130px;
	}
}
@media (max-width: 380px) {
	div#superslider_home h1{
		font-size: 1.5em;
	}
	div#superslider_home h2{
		font-size: 12px;
		padding-top: 7px;
	}
	div#superslider_home .captioninner img{
		max-width: 100px;
	}
}

/*
	:: message-from-management
*/
div#message-from-management div.c6 p{
	font-size: 16px;
}
div#message-from-management div.c6 p a{
	white-space: nowrap;
}
div#message-from-management div#ceo{
	height: 568px;
	width: 237px;
	max-width: 16.66%;
	float: right;

	background: url('../images/ceo_alankrause.jpg');
	background-color: #ffffff;
	background-repeat: no-repeat;
	background-position: right top;
	background-size: contain;
}
@media (max-width: 1000px) {
	div#message-from-management div#ceo{
		display: none;
	}
	div#message-from-management div.c10{
		width: 100%;
	}
}
@media (max-width: 850px) {
	div#message-from-management div.c6 p{
		/*font-size: 1em;*/
		font-size: 14px!important;
	}
}

/*
	::Transformations
*/
div#transformations ul.portfolio-nav{
	display: none;
}
div.portfoliofull #portfolioinner{
	/*max-width: 1250px;*/
	margin: 0 auto;
}
div.portfoliofull #portfolioinner li{
	width: 25%;
}
div.portfoliofull #portfolioinner li img{
	width: 100%;
}
@media (max-width: 980px) {
	div.portfoliofull #portfolioinner li{
		width: 50%;
	}
}
@media (max-width: 480px) {
	div.portfoliofull #portfolioinner li{
		width: 100%;
	}
}

/*
	:: Global Citizenship
*/
div#global-citizenship h2{
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 4px;
}
div#global-citizenship div.c12.end h2{
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 1px;
	margin-bottom: 18px;
}
div#global-citizenship h2.citizenship{
	margin-bottom: 30px;
}
/*
	:: Governance
*/
div#governance div.bio{
	height: 290px;
	width: 200px;
	float: left;
	margin-right: 50px;
	margin-right: 4%;
	max-width: 16.66%;
	text-align: center;
}
div#governance div.bio p{
	margin: 0;
}
div#governance div.bio img{
	margin: 0 auto 5px auto;
}
div#governance div.bio.last{
	margin-right: 0px;
}
div#governance div.bio h3{
	font-family: Arial;
	font-weight: bold;
	font-size: 14px;
	color: #373737;
	margin-bottom: 3px;
}
div#governance div.bio p{
	font-size: 12px;
	line-height: 16px;
	color: #373737;
}
@media (max-width: 768px) {
	div#governance div.bio{
		max-width: 33.333%;
		width: 33.333%;
		margin-right: 0;
	}
}
@media (max-width: 650px) {
	div#governance div.bio{
		max-width: 50%;
		width: 50%;
		margin-right: 0;
	}
}
@media (max-width: 460px) {
	div#governance div.bio{
		max-width: 100%;
		width: 100%;
		margin-right: 0;
	}
}

/*
	:: Contact
*/
div#contact{
	padding-bottom: 0;
}
div.wpcf7{
	padding-bottom: 50px;
	float: left;
}
div.wpcf7-response-output{
	border: none;
	text-align: center;
}
div.wpcf7-mail-sent-ng{
	color: rgb(205, 16, 16);
	text-align: center;
}

/*
	:: Footer
*/
footer.footer{
	/*display: none;*/
	background: url('../images/pattern.png') repeat;
	padding: 25px 10px;
}
.footer small{
	color: #fff;
	margin: 0;
}
#scroll-top{
	background-color: #10677D;
}
a.footerLogo{
	display: none;
}

/*end custom styles*/

/*
	:: Default WP Styling
*/
.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float:right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}

.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

/* ==========================================================================
   Portfolio functionality
   ========================================================================== */
a.scrolllink{
  outline: none!important;
}

div.portfolio_button a.mfp-close,
div.portfolio_button a.mfp-arrow-previous,
div.portfolio_button a.mfp-arrow-next{
  text-indent: 0;
  width: 100%;
  /*max-width: 240p;*/
  margin: 0 auto;
  background: #007DA3;
  color: #fff;
  text-align: center;
  padding: 12px;  
  float: right;
  opacity: 1;
  -webkit-transition: opacity 500ms ease-out;
  -moz-transition: opacity 500ms ease-out;
  -o-transition: opacity 500ms ease-out;
  transition: opacity 500ms ease-out;
}

div.portfolio_button a.mfp-close{

}
div.portfolio_button a.mfp-arrow-previous{ 
}
div.portfolio_button a.mfp-arrow-next{ 
  float: right;
}
div.portfolio_button a.mfp-close:hover, div.portfolio_button a.mfp-arrow-next:hover,div.portfolio_button a.mfp-arrow-previous:hover{
  background: #007DA3;
  opacity: 0.9;
}