* {
	background: transparent;
	border: 0;
	font-size: 100%;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html, body {
	color: #9a9ba2;
	/*color: #a5a7ae;*/
	font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial; /*"Myriad Pro", */
	font-size: 11px;
	height: 100%;
	margin: 0;
	padding: 0;
	width: 100%;
}
@media all and (min-width: 751px) {
	body {
		line-height: 1;
	}
}
a:visited {
	color: #ed84b0;
}

.headLogo {
	display: none;
}

#container {

}

#content {
/*
	border-image: url(outerborder.png) 4 / 4px;
	border-width: 4px;
	-moz-border-image: url(outerborder.png) 4 / 4px stretch;
	-webkit-border-image: url(outerborder.png) 4 / 4px stretch;
	-o-border-image: url(outerborder.png) 4 stretch;
	
	border-image-slice: 4 1 4;
	border-image-source: url(outerborder.png);
	border-image-repeat: stretch;
*/
	border: 2px solid transparent;
	outline: 1px solid #9a9ba2;
	position: absolute;
	margin: 0.5%;
	height: 97.5%;
	width: 98.7%;
}


#mainContent {
	display: inline-block;
	font-size: 100%;
	margin: 0.25% 0 0 0.25%;	
	max-height: 93%;
	min-height: 93%;
	height: 93%;
	overflow-x: hidden;
	overflow-y: auto;
	position: absolute;
	width: 81%;
}
#mainContent .triangularMask {
	z-index:500;
	right:0;
	top:0;
	width:33.9%;
	position: absolute;
}
#rightPanel {
	background-color: white;
	display: inline-block;
	height: 93%;
	margin: 0.25% 0.25% 0 0;
	max-height: 93%;
	min-height: 93%;
	overflow: hidden;
	position: absolute;
	right: 0;
	width: 18.0%;
	/* Adjust for slideshow menu: 93% * (1-6%) = 0,8742 */
	height: 87.42%;
	max-height: 87.42%;
	min-height: 87.42%;
	background-color: transparent;
}



#footer {
	background-color: white;
	display: inline-block;
	bottom: 0;
	height: 6%; /* 8%; */
	margin: 0 0.25% 0.25% 0.25%;	
	max-height: 6%; /* 8%; */
	min-height: 6%; /* 8%; */
	overflow: hidden;
	position: absolute;
	width: 99.5%;
}
#footer .navbar-toggle {
	display: none;
}
#contentMenu {
	display: none;
}

#mainContent img {
	position: absolute;
	max-height: 100%;
	min-height: 100%;
	bottom: 0;
	width: 100%;
}
#mainContent .slideshow-menu img {
	position: static;
	min-height: 0;
	max-height: auto;
	width: auto;
}

#rightPanel h1 {
	color: #8dbe50;
	font-size: 190%;
	font-weight: normal;
	line-height: 1.3;
	margin-top: 5%;
	margin-right: 3%;
	text-align: left;
}

#rightPanel h2 {
	color: #9a9ba2;
	font-size: 160%;
	font-weight: normal;
	line-height: 1.0;
	margin-top: 2%;
	text-align: left;
}
#rightPanel .template2Header h1 {
	color: #f2943f;
	font-size: 200%;
	font-weight: normal;
	line-height: 1.3;
	margin-top: 10%;
	text-align: left;
}
#rightPanel h3 {
	color: #9a9ba2;
	font-weight: bold;
	margin: 0;
	padding: 0;
}
#rightPanel .template1text h3 +  p,
#rightPanel .template1text h4 +  p {
	margin-top: 0;
}

#rightPanelContent {
	margin: 0 0 0 3%;
}

#container {
	min-height: 100%;
	margin: 0 auto;
	position: absolute;
	width: 100%;
}
* html #container {
	height: 100%;	
}

#mainmenu {
	margin: 0 0 5px 0;
	padding: 0 0 3px 0;
	margin: 0;
	padding: 0;
	font-size: 140%;
	line-height: 1;
	width: 89%;
}
#mainmenu li {
	margin: 0 2px 0 0;
    border-bottom: none;
    display: inline;
    text-transform: uppercase;
}

#mainmenu li a {
    margin: 0;
    padding: 3px 12px 3px 0;
    padding: 0 12px 0 0;
    color: #a5a7ae;
    text-decoration: none;
}
#mainmenu li.current-menu-ancestor {
    margin: 0 3px 0 0;
    //padding: 3px 6px 3px 0;
    background: white;
    }
#mainmenu .sub-menu {
    float: left;
    width: 100%;
    margin: 6px 0 5px 0;
    margin: 2px 0 2px 0;
}
#mainmenu .sub-menu li {
    text-transform: none;
}


#mainmenu .sub-menu {
	display: none;
}
#mainmenu ul.menu a:hover,
#mainmenu ul.menu li.current-menu-ancestor a,
#mainmenu ul.menu li.current-menu-item a,
body.page-id-77 #mainmenu ul.menu li#menu-item-227 a,
body.page-id-77 #mainmenu ul.menu li#menu-item-442 a {
	color: #8dbe50;
}
body.page-id-84 #mainmenu ul.menu li.menu-item-248 .sub-menu,
body.page-id-87 #mainmenu ul.menu li.menu-item-248 .sub-menu,
body.page-id-89 #mainmenu ul.menu li.menu-item-248 .sub-menu,
/* Spanish */
body.page-id-1250 #mainmenu ul.menu li.menu-item-1260 .sub-menu,
body.page-id-1266 #mainmenu ul.menu li.menu-item-1260 .sub-menu,
body.page-id-1270 #mainmenu ul.menu li.menu-item-1260 .sub-menu,
/* /Spanish */
/* English */
body.page-id-1694 #mainmenu ul.menu li.menu-item-1701 .sub-menu,
body.page-id-1744 #mainmenu ul.menu li.menu-item-1701 .sub-menu,
body.page-id-1972 #mainmenu ul.menu li.menu-item-1701 .sub-menu,
/* /English */
body.page-id-77 #mainmenu ul.menu li.menu-item-442 .sub-menu,
#mainmenu ul.menu li.current-menu-item .sub-menu {
	display: block;
}


/* This removes third level menus for the three project categories on the index pages */
body.page-id-84  #mainmenu ul.menu li.menu-item-248 .sub-menu li.menu-item-230 .sub-menu,
body.page-id-87  #mainmenu ul.menu li.menu-item-248 .sub-menu li.menu-item-245 .sub-menu,
body.page-id-89  #mainmenu ul.menu li.menu-item-248 .sub-menu li.menu-item-244 .sub-menu {
	
	display: none;
}

body.page-id-84  #mainmenu ul.menu li.menu-item-248 .sub-menu li.menu-item-230 .sub-menu a,
body.page-id-87  #mainmenu ul.menu li.menu-item-248 .sub-menu li.menu-item-245 .sub-menu a,
body.page-id-89  #mainmenu ul.menu li.menu-item-248 .sub-menu li.menu-item-244 .sub-menu a,
/* Spanish */
body.page-id-1250  #mainmenu ul.menu li.menu-item-1260 .sub-menu li.menu-item-1259 .sub-menu a,
body.page-id-1266  #mainmenu ul.menu li.menu-item-1260 .sub-menu li.menu-item-1274 .sub-menu a,
body.page-id-1270  #mainmenu ul.menu li.menu-item-1260 .sub-menu li.menu-item-1275 .sub-menu a,
/* /Spanish */
/* English */
body.page-id-1694  #mainmenu ul.menu li.menu-item-1701 .sub-menu li.menu-item-1714 .sub-menu a,
body.page-id-1744  #mainmenu ul.menu li.menu-item-1701 .sub-menu li.menu-item-1754 .sub-menu a,
body.page-id-1972  #mainmenu ul.menu li.menu-item-1701 .sub-menu li.menu-item-1975 .sub-menu a,
/* /English */

#mainmenu ul.menu li.current-menu-ancestor .sub-menu a,
#mainmenu ul.menu li.current-menu-item .sub-menu a,
#mainmenu ul.menu li.current-menu-ancestor .sub-menu .current-menu-parent .sub-menu a,
body.page-id-84 ul.menu li#menu-item-230 a .sub-menu a,
body.page-id-1250 ul.menu li#menu-item-1259 a .sub-menu a {
	color: #a5a7ae;
}
/*
body.page-id-84  #mainmenu ul.menu li.menu-item-248 .sub-menu li#menu-item-230 a,
body.page-id-87  #mainmenu ul.menu li.menu-item-248 .sub-menu li#menu-item-245 a,
body.page-id-89  #mainmenu ul.menu li.menu-item-248 .sub-menu li#menu-item-244 a,
*/
#mainmenu ul.menu li.current-menu-ancestor .sub-menu .current-menu-parent a,
#mainmenu ul.menu li.current-menu-ancestor .sub-menu .current-menu-item a,
#mainmenu ul.menu li.current-menu-item .sub-menu a:hover,
#mainmenu ul.menu li.current-menu-ancestor .sub-menu li a:hover,
body.page-id-84  #mainmenu ul.menu li.menu-item-248 .sub-menu a:hover,
body.page-id-87  #mainmenu ul.menu li.menu-item-248 .sub-menu a:hover,
body.page-id-89  #mainmenu ul.menu li.menu-item-248 .sub-menu a:hover,
/* Spanish */
body.page-id-1250  #mainmenu ul.menu li.menu-item-1260 .sub-menu a:hover,
body.page-id-1266  #mainmenu ul.menu li.menu-item-1260 .sub-menu a:hover,
body.page-id-1270  #mainmenu ul.menu li.menu-item-1260 .sub-menu a:hover,
/* /Spanish */
/* English */
body.page-id-1694  #mainmenu ul.menu li.menu-item-1701 .sub-menu a:hover,
body.page-id-1744  #mainmenu ul.menu li.menu-item-1701 .sub-menu a:hover,
body.page-id-1972  #mainmenu ul.menu li.menu-item-1701 .sub-menu a:hover,
/* /English */
body.page-id-348 ul.menu li.current-menu-ancestor .sub-menu li#menu-item-355 a,
body.page-id-351 ul.menu li.current-menu-ancestor .sub-menu li#menu-item-354 a,
body.page-id-77 #mainmenu ul.menu li.menu-item-442 .sub-menu li#menu-item-227 a
{
	color: #7dc1e7;
}
/*
body.page-id-84 #mainmenu ul.menu li.menu-item-248 .sub-menu .sub-menu,
body.page-id-87 #mainmenu ul.menu li.menu-item-248 .sub-menu .sub-menu,
body.page-id-89 #mainmenu ul.menu li.menu-item-248 .sub-menu .sub-menu,
*/
body.page-id-84 #mainmenu ul.menu li.menu-item-245 .sub-menu,
body.page-id-84 #mainmenu ul.menu li.menu-item-244 .sub-menu,
body.page-id-87 #mainmenu ul.menu li.menu-item-230 .sub-menu,
body.page-id-87 #mainmenu ul.menu li.menu-item-244 .sub-menu,
body.page-id-89 #mainmenu ul.menu li.menu-item-230 .sub-menu,
body.page-id-89 #mainmenu ul.menu li.menu-item-245 .sub-menu,
/* Spanish */
body.page-id-1250 #mainmenu ul.menu li.menu-item-1274 .sub-menu,
body.page-id-1250 #mainmenu ul.menu li.menu-item-1275 .sub-menu,
body.page-id-1266 #mainmenu ul.menu li.menu-item-1259 .sub-menu,
body.page-id-1266 #mainmenu ul.menu li.menu-item-1275 .sub-menu,
body.page-id-1270 #mainmenu ul.menu li.menu-item-1259 .sub-menu,
body.page-id-1270 #mainmenu ul.menu li.menu-item-1274 .sub-menu,
/* /Spanish */
/* English */
body.page-id-1694 #mainmenu ul.menu li.menu-item-1754 .sub-menu,
body.page-id-1694 #mainmenu ul.menu li.menu-item-1975 .sub-menu,
body.page-id-1744 #mainmenu ul.menu li.menu-item-1714 .sub-menu,
body.page-id-1744 #mainmenu ul.menu li.menu-item-1975 .sub-menu,
body.page-id-1972 #mainmenu ul.menu li.menu-item-1714 .sub-menu,
body.page-id-1972 #mainmenu ul.menu li.menu-item-1754 .sub-menu,
/* /English */
#mainmenu ul.menu li.current-menu-ancestor .sub-menu .sub-menu,
#mainmenu ul.menu li.current-menu-item .sub-menu .sub-menu {
	display: none;
}
#mainmenu ul.menu li.current-menu-ancestor .sub-menu {
	display: block;
}
#mainmenu ul.menu li.current-menu-ancestor .sub-menu li.current-menu-parent .sub-menu {
	display: block !important;
	display: none !important; /* This removes third level menus and below */
}
body.page-id-84 #mainmenu ul.menu li.menu-item-248 .sub-menu .sub-menu a:hover,
body.page-id-87 #mainmenu ul.menu li.menu-item-248 .sub-menu .sub-menu a:hover,
body.page-id-89 #mainmenu ul.menu li.menu-item-248 .sub-menu .sub-menu a:hover,
body.page-id-1250 #mainmenu ul.menu li.menu-item-1260 .sub-menu .sub-menu a:hover,
body.page-id-1266 #mainmenu ul.menu li.menu-item-1260 .sub-menu .sub-menu a:hover,
body.page-id-1270 #mainmenu ul.menu li.menu-item-1260 .sub-menu .sub-menu a:hover,
#mainmenu ul.menu li.current-menu-ancestor .sub-menu .current-menu-parent .sub-menu .current-menu-item a,
#mainmenu ul.menu li.current-menu-ancestor .sub-menu .current-menu-parent .sub-menu a:hover {
	color: #f2943f;
}

#mainlogo {
	bottom: 0;
	position: absolute;
	right: 0;
	vertical-align: bottom;
	width: 11%;
}
#mainlogo img {
	float: right;
	height: auto;
	margin: 0;
	position: relative;
	width: 100%;
}
#langMenu {
	text-align: justify;
	width: 100%;
	z-index: 1000;
}
#langMenu a:hover,
#langMenu a:visited,
#langMenu a {
	color: #a5a7ae; /* #7dc1e7; */
	text-transform: uppercase;
}
#langMenu a.missing {
	cursor: default;
	pointer-events: none;
	text-decoration: none;
}
#langMenu ul {
	list-style: none;
}
#langMenu ul li {
	float: left;
}
#langMenu ul.c-3 li {
	width: 33.0%;
}
#langMenu ul li.firstLang {
	text-align: left;
}
#langMenu ul.c-3 li.secondLang {
	text-align: center;
	width: 34.0%;
}
#langMenu ul.c-3 li.thirdLang {
	text-align: right;
}

#langMenu ul.c-2 li {
	width: 50%;
}
#langMenu ul.c-2 li.secondLang {
	text-align: right;
	width: 50%;
}

#langMenu ul li img {
	width: 12.5%;
}

sup {
	bottom: 1ex;
	font-size:75%;
	height: 0;
	vertical-align: baseline;
	position: relative;
}


@media screen and (min-width: 2301px) {
	body {
		font-size: 15px;
	}
	h1 {
		font-size: 250%;
	}
	h2 {
		font-size: 230%;
	}

}
@media screen and (min-width: 1921px) and (max-width: 2300px) {
	body {
		font-size: 14px;
	}
	h1 {
		font-size: 250%;
	}
	h2 {
		font-size: 230%;
	}
}
@media screen and (min-width: 1501px) and (max-width: 1920px) {
	body {
		font-size: 13px;
	}
	h1 {
		font-size: 240%;
	}
	h2 {
		font-size: 220%;
	}
}
@media screen and (min-width: 1280px) and (max-width: 1500px)  {
	body {
		font-size: 12px;
	}
	h1 {
		font-size: 220%;
	}
	h2 {
		font-size: 200%;
	}
}
@media screen and (min-width: 901px) and (max-width: 1024px) {
	body {
		font-size: 10px;
	}
	h1 {
		font-size: 190%;
	}
	h2 {
		font-size: 170%;
	}
}
@media screen and (min-width: 801px) and (max-width: 900px) {
	body {
		font-size: 8px;
	}
	h1 {
		font-size: 170%;
	}
	h2 {
		font-size: 150%;
	}
}

@media screen and (min-width: 701px) and (max-width: 800px) {
	body {
		font-size: 8px;
	}
	h1 {
		font-size: 150%;
	}
	h2 {
		font-size: 130%;
	}
}
/*
@media screen and (max-width: 700px) {
	body {
		font-size: 7px;
	}
	h1 {
		font-size: 150%;
	}
	h2 {
		font-size: 130%;
	}
}
*/
/* This is for iPad */
@media screen and  (max-height: 701px) and  (min-width: 1024px) {
	body {
		font-size: 9px;
	}
	h1 {
		font-size: 150%;
	}
	h2 {
		font-size: 130%;
	}
}
@media screen and  (min-height: 401px) and  (max-height: 700px) and  (max-width: 800px) {
	body {
		font-size: 9px;
	}
	h1 {
		font-size: 130%;
	}
}
/*
@media screen and  (max-height: 400px) and  (min-width: 700px) {
	body {
		font-size: 6px;
	}
	h1 {
		font-size: 100%;
	}
	h2 {
		font-size: 80%;
	}
}
@media screen and  (min-height: 401px) and  (max-height: 600px) and  (max-width: 600px) {
	body {
		font-size: 7px;
	}
	h1 {
		font-size: 100%;
	}
	h2 {
		font-size: 80%;
	}
}
*/


.template2Header {
	height: 20%;
	overflow: hidden;
	position: absolute;
	top: 3%;
}
#rightPanel .template2Header h1 {
	color: #f2943f;
	text-align: left;
}
#rightPanel .templateFrontHeader h1 {
	color: #f2943f;
	text-align: right;
	z-index: 100000;
}

.templateFrontHeader a,
.templateFrontHeader a:visited {
	color: #f2943f;
	text-decoration: none;
}
#rightPanel .templateFrontText {
	margin-top: 12em;
	margin-right: 1em;
	font-size: 110%;
	margin-left: -40%;
}
#rightPanel .templateFrontText h2 {

}
#rightPanel .templateFrontText h2 a,
#rightPanel .templateFrontText h2 a:visited {

}
.templateFrontText p {
	margin: 1em 0;
}


/* *** Template 1 *** */

body.home #mainContent,
body.page-template-triangular-page-php #mainContent {
	display: inline-block;
	font-size: 100%;
	height: 93%;
	margin: 0.25% 0 0 0.25%;	
	max-height: 93%;
	min-height: 93%;
	overflow: hidden;
	position: absolute;
	width: 87.5%;
}
body.home #rightPanel,
body.page-template-triangular-page-php #rightPanel {
	background-color: transparent;
	display: inline-block;
	height: 93%;
	margin: 0.25% 0.25% 0 0;
	max-height: 93%;
	min-height: 93%;
	overflow: hidden;
	position: absolute;
	right: 0;
	width: 18.0%;
	z-index:1000;
	/* 93% * (1-6%) = 0,8742 */
	height: 87.42%;
	max-height: 87.42%;
	min-height: 87.42%;
}
body.home #rightPanel {
	overflow: visible;
}
#rightPanel .templateFrontHeader,
#rightPanel .template1Header {
	height: 20%;
	margin-left: -50%;
	overflow: hidden;
	position: absolute;
	top: 7%;
	width: 150%;
	z-index: 1000;
}
body.home #rightPanel .templateFrontHeader {
	overflow: visible;
	right: 0;
	margin: 0;
	width: 200%;
}
#rightPanel .template1Header h1 {
	color: #f2943f;
	margin-right: 0.25%;
}
body.page-parent #rightPanel .template1Header h1 {
	color: #8dbe50;
}
body.page-child #rightPanel .template1Header h1,
body.page-parent.parent-child #rightPanel .template1Header h1 {
	color: #7dc1e7;
}
#rightPanel {
	z-index: 10000;
}

.template1Header {
	height: 30%;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 30%;
	z-index: 1000;
}
.template1text {
	overflow: visible;
	position: absolute;
	text-align: left;
	margin-right: 1%;
	top: 16%;
	width: 20%;
	z-index: 1000;
}
.template1text p {
	margin: 1em 0;
}
.template1text li {
	margin-left: 1em;
}
/* *** /Template 1 *** */



/* *** Template 2 *** */
.template2Header {
	height: 20%;
	overflow: hidden;
	position: absolute;
	top: 3%;
}
#rightPanel .template2Header h1 {
	color: #f2943f;
	text-align: left;
}
body.page-id-77 #rightPanel .template2Header h1 {
	color: #7dc1e7;
}

.template2text {
	height: 40%;
	/*margin-left: 3%;*/
	margin-right: 3.0%;
	max-height: 40%;
	overflow: hidden;
	position: absolute;
	text-align: left;
	top: 18%;
}
.template2text p {
	margin: 1em 0;
}
.template2text a,
.template2text a:visited {
	color: #7dc1e7;
	text-decoration: none;
}
.template2text a:hover {
	color: #ed84b0;
}


.template2data a:hover,
.template2data a:visited,
.template2data a {
	color: #7dc1e7;
}
.template2data {
	height: auto
	line-height: 1.2;
	/*padding-left: 3%;*/
	margin-right: 3.0%;
	ovefrflow: hidden;
	position:absolute;
	vertical-align: bottom;
	width: 100%;
	bottom: 0;
}

.template2data a:hover,
.template2data a:visited,
.template2data a {
	color: #7dc1e7;
}

/* *** /Template 2 *** */





/* *** Template 3 *** */

.template3Palette {
	width: 100%;
	/* position: absolute;*/
}

.template3Palette ul {
	list-style: none;
	margin: 2% 0 2% 2%;
	padding: 0;
	position: relative;
}
.template3Palette ul li {
	float: left;
	line-height: 0;
	margin: 0;
	padding: 0;
	position: relative;
	width: 19.85%;
	margin-bottom: 2%;
}
.template3Palette.col-4 ul li {
	width: 24.85%;
}
.template3Palette.col-5 ul li {
	width: 19.85%;
}
.template3Palette ul li a {
	text-decoration: none;
}
#mainContent .template3Palette ul li img {
	border: none;
	margin: 0;
	padding: 0;
	/*position: static !important;*/
	vertical-align: baseline;
	width: 90% !important;
	-webkit-box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
	position: absolute;
	left: 0;
	top: 0;
}

#mainContent .template3Palette ul li img:first-child {
	left: 0;
	top: 0;
	z-index: 10;
}

.template3Palette.grayscaleColorHover ul li a img {
	-webkit-filter: grayscale(100%);  /* For Webkit browsers */
	filter: gray;  /* For IE 6 - 9 */
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
	filter: grayscale(100%);
	-webkit-transition: all 0.5s ease-in-out;  /* Transition for Webkit browsers */
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.template3Palette.grayscaleColorHover ul li a:hover img,
.template3Palette.grayscaleColorHover ul li a.current img {
	-webkit-filter: grayscale(0%);
	filter: none;
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
	filter: grayscale(0%);
	-webkit-transition: all 0.5s ease-in-out;  /* Transition for Webkit browsers */
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}


.template3Palette ul li span.name {
	color: white;
	/*top: 80%;*/
	bottom: 0;
	display: block;
	/* Fallback for web browsers that doesn't support RGBa */
	background: rgb(0, 0, 0) transparent;
	/* RGBa with 0.5 opacity */
	background:rgba(0,0,0,0.5);
	/* For IE 5.5 - 7*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
	/* For IE 8*/
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
	overflow: hidden;
	left: 0;
	padding: 5%;
	position: absolute;
	text-align: center;
	white-space: nowrap;
	width: 80%;
	z-index: 400;
	color: white;
}

/* I hate to do this but otherwise Safari do not round correctly */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	.template3Palette ul li span.name {
		width: 80.5%;
	}
}
/* *** /Template 3 *** */



/* *** Exceptions *** */
.page-id-688  .template1text {
	top: 13% !important;
}
.page-id-688  .template1text h2 + p {
	margin-top: 0 !important;
}


.contactInfo {
	position: absolute;
	top: 12%;
}



/* Due to the rightPanel margin we have to reduce available width with 0.25 * 18 = 4.5% 95.5*/

.imagePalette {
	bottom: 0;
	position: absolute;
}
.imagePalette ul {
	list-style: none;
}
.imagePalette ul li {
	display: inline;
	margin-right: 2.5%;
}
.imagePalette a {}
.imagePalette .slideshow-menu img {
	border: none;
	height: auto;
	margin-top: 2.8%;
	vertical-align: bottom;
	width: 22.25%;
}
/* style="position: absolute;border:1px solid black;height:99.8%;width:99.8%;margin:0.5%" */



.slideshow-viewport {
	display: block;
}

.slideshow-menu {
	position: absolute;
	height: 6%;
	bottom: 0;
	left: 4%;
	right: 4%;
	z-index: 1500;
}
.slideshow-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 80%;
	text-align: center;
}
.slideshow-menu ul li {
	display: inline-block;
	height: 100%;
	padding: 0.4%;
}
.slideshow-menu ul li a {
}
.slideshow-menu ul li a img {
	border: 1px solid white;

	width: auto;
	height: 100%;
}


.slideshow-captions {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 6%;
	min-height: 40px;
	background-color: rgba(0,0,0,0.5);
	overflow: hidden;
}
.slideshow-captions p {
	text-align: center;	
	font-size: 200%;
	font-family: "Century Gothic", "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
	color: white;
	
	position: absolute;
	left: 4%;
	right: 4%;
	top: 50%;

	line-height: 1em;
	margin-top: -0.5em;
}

	
/**
 * Slideshow Controls
 */
.slideshow-controls {
    position: absolute;
	left: 0;
    right: 0;
    bottom: 0;
   	height: 6%;
	min-height: 40px;
	overflow: hidden;
	z-index: 1000;
}
.slideshow-controls .button {
    border: medium none;
    cursor: pointer;
    display: block;
    padding: 0;
    position: absolute;
	text-indent: -5000px;
    z-index: 3;
}
.slideshow-controls .button-prev,
.slideshow-controls .button-next {
    top: 0;
	bottom: 0;
	color: white;
	font-size: 350%;
	font-family: calibri, arial, sans-serif;
	width: 4.2%;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: auto 100%;
	-webkit-transition: all 0.5s ease-in-out;  /* Transition for Webkit browsers */
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	opacity: 1;
}
.slideshow-controls .button-prev {
	background-image: url("images/slideshow-prev.png");
	left: 0;
}
.slideshow-controls .button-next {
	background-image: url("images/slideshow-next.png");
	right: 0;
}
.slideshow-controls .button-prev:hover,
.slideshow-controls .button-next:hover {
	opacity: 0.5;
	-webkit-transition: all 0.5s ease-in-out;  /* Transition for Webkit browsers */
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.page-template-front-page-php .slideshow-menu,
.page-template-front-page-php .slideshow-captions p {
	width: auto;
	right: 6.5%;
}
.page-template-front-page-php .slideshow-controls .button-next {
	right: 1.5%;
}



.loading {
    position: absolute;
    display: none;
    width: 54px;
    height: 55px;
    text-align: center;
    z-index: 100000;
}

.overlay {
	background-color: black;
	display: none;
	height: 500px;
	opacity: 0.8;
	position: absolute;
	top: 0;
	width: 99.5%;
    z-index: 10000;
}


/**
 * Template2 Fixes - removes absolute positioning
 */
#rightPanel #langMenu {
	height: 1.5em;
}
#rightPanel .template2Header {
	width: auto;
	height: auto;
	overflow: visible;
	position: static;
}
#rightPanel .template2Header h1 {
	margin-top: 0;
	padding-top: 10%;
	padding-bottom: 5%;
}
#rightPanel .contactInfo {
    position: static;
    min-height: 4em;
}
#rightPanel .template2text {
    height: auto;
    max-height: auto;
    position: static;
}

/* *** Slideshow ***

#slideshow {

}
#slideshow IMG {
	visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
}
#slideshow IMG.active {
    z-index: 10;
}
#slideshow IMG.last-active {
    z-index: 9;
}
*/



/**
 *
 */
@media all and (max-width: 750px)
{
	body {
		font-size: 12px;
		line-height: standard;
	}
	#container {
		position: static;
		min-height: 0;
		height: auto;
	}
	body.admin-bar #container {
	}
	#content {
		border: none;
		height: auto;
		margin: 0;
		outline: none;
		position: static;
		width: auto;
	}
	#page {
		padding-top: 0px;
	}
	#page #mainContent {
		position: relative;
		display: block;
		margin: 0;
		width: auto;
		height: auto;
		min-height: 0;
		max-height: none;
		overflow: visible;
	}
	#page #mainContent img {
		position: static;
		min-height: 0;
	}
	#page #mainContent #slideshow {
		width: 100%;
		height: auto;
	}
	#page #mainContent #slideshow .slideshow-viewport img {
		position: static;
		display: block;
	}
	#page #mainContent #slideshow .slideshow-captions p {
		font-size: 100%;
		left: 40px;
		right: 40px;
	}
	#page #mainContent #slideshow .slideshow-controls .button-prev,
	#page #mainContent #slideshow .slideshow-controls .button-next {
		width: 40px;
	}
	#page #mainContent #slideshow .slideshow-menu {
		overflow: hidden;
	}
	#page #mainContent #slideshow .slideshow-menu img {
		display: inline-block;
	}
	#page #mainContent #slideshow.with-menu .slideshow-captions {
		top: 0;
		left: 0;
		width: 0;
		height: 0;
	}
	#page #mainContent #slideshow.with-menu .slideshow-controls {
		z-index: 0;
		top: 0;
		left: 0;
		width: 0;
		height: 0;
	}

	#page #mainContent #slideshow.with-menu .slideshow-menu {
		position: static;
		height: auto;
		overflow-x: auto;
		white-space: nowrap;
	}
	#page #mainContent #slideshow.with-menu .slideshow-menu ul {
		text-align: left;
	}
	#page #mainContent #slideshow.with-menu .slideshow-menu ul li {
		padding: 0;
	}
	#page #mainContent #slideshow.with-menu .slideshow-menu ul li img {
		height: 60px;
		max-height: none;
		min-height: 0;
	}
	#page #mainContent .triangularMask {
		position: absolute;
		height: 100%;
	}
	.page-template-projectIndex-page-php #page #mainContent,
	.page-template-projectIndex2-page-php #page #mainContent,
	.page-template-contactIndex-page-php #page #mainContent {
		overflow-x: auto;
	}
	#page #mainContent .template3Palette {
		padding-top: 70px;
		white-space: nowrap;
	}
	#page #mainContent .template3Palette ul {
		
	}
	#page #mainContent .template3Palette ul li {
		height: 160px;
		width: auto;
		display: inline-block;
		float: none;
		margin: 0 10px;
	}
	#page #mainContent .template3Palette ul li img {
		width: auto !important;
	}
	#page #mainContent .template3Palette ul li span.name {
		width: auto;
		right: 0;
	}
	#page #mainContent .wp-post-image {
		width: 100%;
		height: auto;
	}
	#page #rightPanel {
		width: auto;
		position: static;
		min-height: 0;
		max-height: none;
		height: auto;
		display: block;
		margin: 0;
		padding-bottom: 1px;
	}
	#page #rightPanel #langMenu {
		height: auto;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 1500;
		height: 30px;
		left: auto;
		width: auto;
	}
	#page #rightPanel #langMenu ul li {
		float: none;
		display: inline-block;
		width: auto;
	}
	#page #rightPanel #langMenu ul li a {
		display: inline-block;
		line-height: 30px;
		padding: 0 1em;
		text-decoration: none;
	}
	#page #rightPanel #langMenu ul li a:hover {
		background-color: #eee;
	}
	#page #rightPanel #rightPanelContent {
		position: static;
		width: auto;
		margin: 0;
 	}
 	#page #rightPanel #rightPanelContent .templateFrontHeader,
 	#page #rightPanel #rightPanelContent .template1Header,
 	#page #rightPanel #rightPanelContent .template2Header {
 		position: static;
 		width: auto;
 		height: auto;
 		margin: 0;
 		overflow: visible;
 		width: auto;
 		z-index: 0;
 	}
 	#page #rightPanel #rightPanelContent .templateFrontText,
 	#page #rightPanel #rightPanelContent .template1text,
 	#page #rightPanel #rightPanelContent .template2text {
 		position: static;
 		margin: 1em 2em;
 		width: auto;
 		text-align: left;
 		-webkit-column-count: 2;
 		-moz-column-count: 2;
 		column-count: 2;
 		-webkit-column-gap: 2em;
    	-moz-column-gap: 2em;
	    column-gap: 2em;
 	}
 	#page #rightPanel #rightPanelContent .templateFrontText p,
 	#page #rightPanel #rightPanelContent .template1text p,
 	#page #rightPanel #rightPanelContent .template2text p {
 		margin-top: 0;
 	}
 	#page #rightPanel #rightPanelContent .template2data {
 		position: static;
 		margin: 1em 2em;
 		width: auto;
 	}
 	#page #rightPanel #rightPanelContent .template2data ul {
 		margin: 1em;
 	}
 	#page #rightPanel #rightPanelContent h1 {
 		text-align: center;
 		margin: 0 24px;
 		padding: 1ex 0;
 		font-family: "Century Gothic", "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
 		font-size: 250%;
 		letter-spacing: 3px;
 	}
 	#page #rightPanel #rightPanelContent h2 {
 		margin-top: 0;
 	}
 	#page #rightPanel .contactInfo {
 		margin: 1em 2em;
 		text-align: center;
 		width: auto;
 	}
	#page #rightPanel #contentMenu {
		display: block;
		margin: 2em 2em;
	}
	#page #rightPanel #contentMenu ul {
		list-style: none;
		-webkit-column-count: 2;
 		-moz-column-count: 2;
 		column-count: 2;
 		-webkit-column-gap: 2em;
    	-moz-column-gap: 2em;
	    column-gap: 2em;
	    font-size: 14px;
	}
	#page #rightPanel #contentMenu ul li a {
		display: block;
		background-color: #f5f5f5;
		line-height: 40px;
		margin-bottom: 1em;
		border-left: 8px solid #f29047;
		-webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.3);
		-moz-box-shadow: 0px 2px 4px rgba(0,0,0,0.3);
		box-shadow: 0px 2px 4px rgba(0,0,0,0.3);
		padding-left: 1em;
		text-decoration: none;
		color: #555;
		position: relative;
	}
	#page #rightPanel #contentMenu ul li a:before {
		background: url("icons-16.png") no-repeat scroll -16px 0 transparent;
	    content: " ";
	    display: inline-block;
	    height: 16px;
	    margin-top: -8px;
	    position: absolute;
	    right: 8px;
	    top: 50%;
	    width: 16px;
	}
	#page #rightPanel #contentMenu ul li a:hover {
		background-color: #F5F5F5;
		text-decoration: none;
	}
	#page #rightPanel #contentMenu ul li.current a:before, 
	#page #rightPanel #contentMenu ul li a:hover:before {
		background-position: -16px -16px;
	}
	#page #rightPanel #contentMenu ul li:nth-child(1) a { border-color: #f29047; }
	#page #rightPanel #contentMenu ul li:nth-child(2) a { border-color: #a5d73c; }
	#page #rightPanel #contentMenu ul li:nth-child(3) a { border-color: #fc9ddc; }
	#page #rightPanel #contentMenu ul li:nth-child(4) a { border-color: #71bbf0; }
	#page #rightPanel #contentMenu ul li:nth-child(5) a { border-color: #f29047; }
	#page #rightPanel #contentMenu ul li:nth-child(6) a { border-color: #a5d73c; }
	#page #rightPanel #contentMenu ul li:nth-child(7) a { border-color: #fc9ddc; }
	#page #rightPanel #contentMenu ul li:nth-child(8) a { border-color: #71bbf0; }
	#footer {
		background-color: #fafafa;
		background: rgba(250,250,250,0.97);
		-webkit-box-shadow: 0px 5px 5px rgba(0,0,0,0.1);
		-moz-box-shadow: 0px 5px 5px rgba(0,0,0,0.1);
		box-shadow: 0px 5px 5px rgba(0,0,0,0.1);
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: 70px;
		min-height: 0;
		max-height: none;
		margin: 0;
		width: auto;
		z-index: 1000;
	}
	#footer #mainmenu {
		padding: 0;
		margin-top: 30px;
		margin-left: 190px;
		width: auto;
		float: right;
		text-align: right;
		white-space: nowrap;
	}
	#footer #mainmenu li {
		display: inline-block;
		margin: 0;
		font-family: "Century Gothic", "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
		background: transparent;
		font-size: 15px;
	}
	#footer #mainmenu li a {
		display: inline-block;
		border-bottom: 4px solid transparent;
		text-align: center;
		padding: 0 1ex;
		line-height: 36px;
	}
	#footer #mainmenu li a:hover {
		color: black;
		border-color: #f29047;
	}
	#footer #mainmenu li.current-menu-item a {
		border-color: #f29047;
	}
	#footer #mainmenu li:nth-child(1) a:hover,
	#footer #mainmenu li:nth-child(1).current-menu-parent a,
	#footer #mainmenu li:nth-child(1).current-menu-item a {
		border-color: #f29047;
		color: #f29047;
	}
	#footer #mainmenu li:nth-child(2) a:hover,
	#footer #mainmenu li:nth-child(2).current-menu-parent a,
	#footer #mainmenu li:nth-child(2).current-menu-item a {
		border-color: #a5d73c;
		color: #a5d73c;
	}
	#footer #mainmenu li:nth-child(3) a:hover,
	#footer #mainmenu li:nth-child(3).current-menu-parent a,
	#footer #mainmenu li:nth-child(3).current-menu-item a {
		border-color: #fc9ddc;
		color: #fc9ddc;
	}
	#footer #mainmenu li:nth-child(4) a:hover,
	#footer #mainmenu li:nth-child(4).current-menu-parent a,
	#footer #mainmenu li:nth-child(4).current-menu-item a {
		border-color: #71bbf0;
		color: #71bbf0;
	}
	#footer #mainmenu  li .sub-menu {
		display: none;
	}
	#footer #mainlogo {
		position: absolute;
		left: 0;
		top: 0;
		right: auto;
		height: 40px;
		width: auto;
		padding: 15px;
	}
	#footer #mainlogo img {
		width: auto;
		height: 100%;
	}
	#mainContent #cookie-bar.fixed {
		top: 70px;
	}
	.page-template-front-page-php #mainContent #cookie-bar.fixed p,
	.page-template-triangular-page-php #mainContent #cookie-bar.fixed p {
		margin-right: 28%;
	}

}

@media all and (max-width: 640px)
{
	#footer #mainmenu li {
		text-transform: none;
	}
	#footer #mainmenu li a {
		padding: 0 0.5ex;
	}
}

@media all and (max-width: 560px)
{
	#page #mainContent .template3Palette {
		padding-top: 60px;
	}
	#page #mainContent .template3Palette ul li {
		height: 120px;
	}
	#page #rightPanel #langMenu {
		display: none;
		top: 50px;
		left: 0;
		height: 40px;
		line-height: 40px;
		border-bottom: 1px solid #eee;
	}
	#page #rightPanel #langMenu ul li {
		display: inline-block;
		width: auto;
		text-align: center;
	}
	#page #rightPanel #langMenu ul.c-1 li { width: 100%; }
	#page #rightPanel #langMenu ul.c-2 li { width: 50%; }
	#page #rightPanel #langMenu ul.c-3 li { width: 33%; }
	#page #rightPanel #langMenu ul.c-4 li { width: 25%; }
	#page #rightPanel #langMenu ul li a {
		padding: 0;
		width: 100%;
	}
	
	#footer {
		height: 50px;
		overflow: visible;
	}
	#footer #mainlogo {
		height: 40px;
		padding: 5px;
	}
	#footer .navbar-toggle {
	    background-color: transparent;
	    background-image: none;
	    border: 0px solid transparent;
	    border-radius: 4px;
	    float: right;
	    margin-bottom: 8px;
	    margin-right: 15px;
	    margin-top: 8px;
	    padding: 9px 10px;
	    position: relative;
	    display: block;
	    cursor: pointer;
	}
	#footer .navbar-toggle:hover,
	#footer .navbar-toggle:focus {
	    background-color: #f0f0f0;
	    border-color: #f0f0f0;
	}
	#footer .navbar-toggle .sr-only {
		display: none;
	}
	#footer .navbar-toggle .icon-bar {
	    border-radius: 1px;
	    display: block;
	    height: 2px;
	    width: 22px;
	}
	#footer .navbar-toggle .icon-bar + .icon-bar {
 	   margin-top: 4px;
	}
	#footer .navbar-toggle .icon-bar {
	    background-color: #9fa2a8;
	}
	
	#footer #mainmenu.collapse {
		display: none;
		overflow-y: auto;
		background-color: white;
		background-color: rgba(255,255,255,0.97);
		-webkit-box-shadow: inset 0px 5px 5px rgba(0,0,0,0.1);
		-moz-box-shadow: inset 0px 5px 5px rgba(0,0,0,0.1);
		box-shadow: inset 0px 5px 5px rgba(0,0,0,0.1);
		border-top: 1px solid #eee;
		float: none;
		margin: 0;
		width: 100%;
		padding-top: 40px;
	}
	#footer #mainmenu.collapse.in {
		display: block;
	}
	#footer #mainmenu ul li {
		display: block;
		line-height: 3em;
		border-bottom: 1px solid #eee;
		text-align: center;
	}
	#footer #mainmenu ul li a {
		display: block;
	}
	#mainContent #cookie-bar.fixed {
		top: 50px;
	}

}

@media all and (max-width: 480px)
{
	#page #rightPanel #rightPanelContent .template1text,
 	#page #rightPanel #rightPanelContent .template2text,
 	#page #rightPanel #rightPanelContent .template2data,
 	#page #rightPanel .contactInfo,
	#page #rightPanel #contentMenu {
		margin-left: 1em;
		margin-right: 1em;
	}
 	#page #rightPanel #rightPanelContent h1 {
 		margin: 0 0.5em;
 	}
	#page #rightPanel #rightPanelContent .templateFrontText,
 	#page #rightPanel #rightPanelContent .template1text,
 	#page #rightPanel #rightPanelContent .template2text {
 		-webkit-column-count: 1;
 		-moz-column-count: 1;
 		column-count: 1;
 	}
 	#page #rightPanel #rightPanelContent .templateFrontText {
 		text-align: center;
 	}
 	#page #rightPanel #contentMenu ul {
		-webkit-column-count: 1;
 		-moz-column-count: 1;
 		column-count: 1;
	}

}

/**
 * CookieBar
 */
#cookie-bar {
	background:#464646;  
	
	color:#eeeeee; 
	text-align:center; 
	padding:6px 0;
}
#cookie-bar.fixed {position: absolute; top:0; left:0; width:100%;}
#cookie-bar.fixed.bottom {bottom:0; top:auto;}
#cookie-bar p {margin:0; padding:0;}
#cookie-bar a.cb-enable {text-shadow: none; color:#ccc; display:inline-block; border-radius:3px; text-decoration:none; padding:0 6px; margin-left:8px;}
#cookie-bar .cb-enable {background:#98C332; color:#ffffff;}
#cookie-bar .cb-enable:hover {background:#009900;}
#cookie-bar .cb-disable {background:#990000;}
#cookie-bar .cb-disable:hover {background:#bb0000;}
#cookie-bar .cb-policy {background:#0033bb;}
#cookie-bar .cb-policy:hover {background:#0055dd;}
#cookie-bar .aboutCookies:hover {
		text-decoration: underline;	
}
#cookie-bar .aboutCookies:visited {
		color:#ccc;
}
#cookie-bar { background: rgba(0,0,0,0.5); line-height: 1.5; }
#cookie-bar p { text-align: left; padding: 0.5em 1em; }
#cookie-bar p a { color: #ccc; }
#cookie-bar p a:hover { color: #8dbe50; }
#cookie-bar p a.cb-enable { line-height: 2; font-weight: bold; background-color: #aaa; color: white; text-shadow: 0 -1px 1px rgba(0,0,0,0.5); }
#cookie-bar p a.cb-enable:hover { color: white; background-color: #8dbe50; }


