/* 
* Amazium V1.0.0
* Copyright 2011, Mike Ballan
* www.amazium.co.uk
*/
@import url(https://fonts.googleapis.com/css?family=Merriweather:400,400italic,700,700italic&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Merriweather+Sans:400,400italic,700,700italic&subset=latin,latin-ext);

/***** Reset & Basics *****/

	html, body, div, span, applet,
	object, iframe, h1, h2, h3, h4,
	h5, h6, p, blockquote, pre, a,
	abbr, acronym, address, big, cite,
	code, del, dfn, em, img, ins, kbd,
	q, s, samp, small, strike, strong,
	sub, sup, tt, var, b, u, i, center,
	dl, dt, dd, ol, ul, li, fieldset,
	form, label, legend, table, caption,
	tbody, tfoot, thead, tr, th, td,
	article, aside, canvas, details,
	embed, figure, figcaption, footer,
	header, hgroup, menu, nav, output,
	ruby, section, summary, time, mark,
	audio, video 							{ margin: 0; padding: 0; border: 0; font-size:100%; font:inherit; vertical-align:baseline; }
	
	article, aside, details, figcaption, 
	figure, footer, header, hgroup, menu, 
	nav, section 							{ display:block; }
	
	body 								{ line-height:1; }
	
	ol, ul 								{ list-style:none; }
	
	blockquote, q 							{ quotes:none; }
	
	blockquote:before, blockquote:after,
	q:before, q:after 					{ content:''; content:none; }
	
	table 								{ border-collapse:collapse; border-spacing:0; }
	
	
/*====================================================================================================================================================*/

		
/***** Template styles *****/
	
	html 									{ overflow-y:scroll; overflow:-moz-scrollbars-vertical; }								
	body {
	font-family:'Merriweather Sans',Arial, Helvetica, sans-serif;
	font-size:0.75rem;
	background:#FFF;
	padding:0;
	color:#666666;-webkit-font-smoothing:antialiased; -webkit-text-size-adjust:none;line-height:1.5em; }
	
	#wrapper							{ margin:0; }
	
	
	
	
/***** Typography *****/
	h1 {text-transform:uppercase;}
	h1, h2, h3, h4, h5, h6 				{ margin:0; padding:0; font-family: Merriweather,Georgia,Times,serif; font-weight:bold; line-height:1.5em;} 
	h4, h5, h6 				{ text-transform:none; font-family: 'Merriweather Sans',Arial,Helvetica,sans-serif;} 
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a 		{ font-weight: inherit; }
	h1 									{ margin:0 0 10px 0; padding:0; font-size:1.5rem; color:#666666;  }
	h2									{ margin:0 0 10px 0; padding:0; font-size:1.2rem; color:#666666;}
	h3 									{ margin:0 0 10px 0; padding:0; font-size:1rem; color:#666666;  }
	h4 									{ margin:0 0 10px 0; padding:0; font-size:1rem; color:#666666; }
	h5 									{ margin:0 0 10px 0; padding:0; font-size:1rem; color:#666666; }
	h6 									{ margin:0 0 10px 0; padding:0; font-size:1rem; color:#666666;  }
	
	.intro h3 { font-family:Merriweather, 'Merriweather Sans',Arial,sans-serif; text-transform:none;}

	p 									{ margin:0; padding:0 0 10px 0;}
	#maincontent p { /* -ms-hyphens: auto;
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;  */
		 max-width: 700px;
		font-size: 0.9rem;
	}

	sup, sub 								{ height:0;	line-height:1px; vertical-align:baseline; _vertical-align:bottom; position:relative; }
	sup 									{ bottom:1px; }
	sub 									{ top:1px; font-size:.6em; }
	em 									{ font-style:italic; }
	strong 								{ font-weight:bold; }
	small 								{ font-size:80%; }
	
	
	
/***** Blockquotes *****/

	blockquote, blockquote p 					{ font-size:12px; line-height:24px; color:#777; font-style:italic; }
	blockquote 							{ margin:0px 0 15px 0; padding:0 0 0 46px; background:url(../img/icons/quote.png) no-repeat 0% 4px;
										font-style:italic;  font-variant:normal; font-weight:normal; font-size:13px; font-family:Merriweather,sans-serif; }
	blockquote cite 							{ display:block; font-size:12px; color:#555; }
	blockquote cite:before 					{ content:"\2014 \0020"; }
	blockquote cite a,
	blockquote cite a:visited,
	blockquote cite a:visited 				{ color:#555; }
	blockquote span							{ width:15px; display:inline-block; }
	
	
/*------------------- preformated text, code --------------------*/
code, pre {
	border-top:1px solid #e9e9e9;
	border-right:1px solid #e9e9e9;
	border-bottom:1px solid #e9e9e9;
  	background:#fefefe;
  	padding:7px 10px;
	font-size:11px;
  	display:block;
  	color:#858585;
  	margin-bottom:10px;
	border-left:10px solid #e9e9e9;
}

	
/* ============================================================================================================================
== BLOCKQUOTE WITH RIGHT-ANGLED TRIANGLE
** ============================================================================================================================ */

.example-right {
	position:relative;
	padding:15px 30px;
	margin:0;
	color:#fff;
	background:#5a8f00; /* default background for browsers without gradient support */
	
	/* css3 */
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	/* NOTE: webkit gradient implementation is not as per spec */
	background:-webkit-gradient(linear, left top, left bottom, from(#b8db29), to(#5a8f00));
	background:-moz-linear-gradient(top, #b8db29, #5a8f00);
	background:-o-linear-gradient(top, #b8db29, #5a8f00);
}

/* display of quote author (alternatively use a class on the element following the blockquote) */
.example-right + p {margin:15px 0 2em 85px; font-style:italic;}

/* creates the triangle */
.example-right:after {
	content:"";
	display:block; /* reduce the damage in FF3.0 */
	position:absolute;
	bottom:-50px;
	left:50px;
	width:0;
	height:0;
	border-width:0 20px 50px 0px;
	border-style:solid;
	border-color:transparent #5a8f00;
}
	
	hr 									{ margin:20px 0 20px 0; border:0; border-top:1px solid #999; height:2px; width:100%; text-align:left; }

/***** Links *****/

	a 								{ color:#203b79; text-decoration:none; outline:0; }
	a:visited 							{ text-decoration:none; outline:0; }
	a:active 							{ text-decoration:none; outline:0; }
	a:hover 								{ text-decoration:none; outline:0; }
	a:focus 								{ -moz-outline-style:none; }

	.ce-bodytext a, p a {
		text-decoration:underline; 
	}
	.ce-bodytext a:hover, p a:hover{
		color:grey;
	}
/***** Lists *****/

	ul, ol 								{ margin-bottom:10px; }
	ul 									{ list-style:none; }
	ol 									{ list-style:decimal; }
	ol, ul.square, ul.circle, ul.disc 		{ margin-left:15px; }
	ul.square 							{ list-style:square outside; }
	ul.circle 							{ list-style:circle outside; }
	ul.disc 								{ list-style:disc outside; }
	ul ul, ul ol, ol ol, ol ul 					{ margin:4px 0 5px 30px; font-size:90%;  }
	ul ul li, ul ol li,	ol ol li, ol ul li 				{ margin-bottom:6px; }
	li 									{ line-height:18px; margin-bottom:12px; }
	ul.large li 							{ line-height:21px; }
	li p 									{ line-height:21px; }

/***** Images *****/

	img 									{ border:0; }
	.max-image 							{ width:100%; height:auto; }		
	.video-container 					{ position:relative; margin:0 0 15px 0;	padding-bottom:51%; padding-top:30px; height:0; overflow:hidden; border:1px solid #ccc; }
	.video-container iframe,
	.video-container object,  
	.video-container embed 				{ position:absolute; top:0; left:0; width:100%; height:100%; }

/***** Buttons  *****/
 
	a.btn 								{ margin:5px 0 5px 0; padding:4px 28px 4px 8px; display:inline-block; font-size:11px; color:#fff; border:1px solid #444; background:#333 url(../img/btn-arrow.png) no-repeat right; border-radius:4px; -webkit-border-radius:4px; -moz-border-radius:4px; cursor:pointer; }
	a:hover.btn 							{ text-decoration:underline; }

/***** Forms *****/

	input, textarea, select					{ padding:10px; color:#ccc }
	
	#stylized-form						{ margin:10px 0 20px 0; padding:20px; background-color:#f4f4f4; -webkit-border-radius:4px; -moz-border-radius:4px; }
	
	.wrapper-block label 					{ padding:0; display:block; font-weight:bold; text-align:right; width:140px; float:left; }
	.wrapper-block [type="text"]			{ font-size:12px; padding:4px 2px; border:solid 1px #f3f3f3; width:200px; margin:2px 0 15px 10px; }
	.wrapper-block select					{ font-size:12px; padding:2px; border:solid 1px #f3f3f3; margin:2px 0 15px 10px; }
	.wrapper-block [type="radio"]		{ line-height:16px; margin:0 2px 15px 10px; }
	.wrapper-block [type="checkbox"]		{ line-height:16px; margin:0 2px 15px 10px; }
	.wrapper-block textarea				{ padding:4px 2px; border:solid 1px #f3f3f3; width:200px; margin:2px 0 15px 10px; font:12px "Century Gothic", "Trebuchet MS", Helvetica, sans-serif; }
	
	.wrapper-inline label 					{ padding:0; display:block; font-weight:bold; text-align:right; width:140px; float:left; }
	.wrapper-inline [type="text"]		{ font-size:12px; padding:4px 2px; border:solid 1px #f3f3f3; width:200px; margin:2px 0 15px 10px;  float:left; }
	.wrapper-inline select					{ font-size:12px; padding:4px 2px; border:solid 1px #f3f3f3; margin:2px 0 15px 10px; float:left; }
	.wrapper-inline [type="radio"]		{ line-height:16px; margin:0 2px 15px 10px; float:left; }
	.wrapper-inline [type="checkbox"]	{ line-height:16px; margin:0 2px 15px 10px; float:left; }
	.wrapper-inline textarea				{ padding:4px 2px; border:solid 1px #f3f3f3; width:140px; margin:2px 0 15px 10px; font:12px "Century Gothic", "Trebuchet MS", Helvetica, sans-serif; float:left; }
	
	a.btn-form, input.btn-form			{ margin:5px 0 5px 150px; padding:4px 28px 4px 8px; display:inline-block; font-size:11px; color:#fff; border:1px solid #444; background:#333 url(../img/btn-arrow.png) no-repeat right; border-radius:4px; -webkit-border-radius:4px; -moz-border-radius:4px; cursor:pointer; }
	
	.small-label						{ display:block; font-size:10px; font-weight:normal; color:#666; text-align:right; width:140px; }

	input:focus[type="text"], textarea:focus{ color:#5b5b5d; }
	
/***** Tables  *****/

	table									{ margin:0 0 0px 0; width:100%; }
	table th 								{ padding:10px 8px 10px 8px; background-color:#e2e2e2; color:#333; font-weight:bold; border:1px solid #999; }
	table td 								{ padding:10px 8px 10px 8px; background-color:#e2e2e2; color:#333; border:1px solid #999; }
	table tr.even td 						{ background-color:#fff; }
	table tr.odd td 							{ background-color:#f3f3f3; }
	table td.highlight 						{ color:#FFF; font-weight:bold; }
	table tr td.highlight					{ background-color:#333;  }

/***** Back to Top *****/

	#toTop 								{ display:none; text-decoration:none; position:fixed; bottom:10px; right:10px; overflow:hidden; width:40px; height:40px; border:none; text-indent:-999px; background:url(../img/ui.totop.png) no-repeat left top; }
	#toTopHover 							{ background:url(../img/ui.totop.png) no-repeat left -40px; width:40px; height:40px; display:block; overflow:hidden; float:left; opacity: 0; -moz-opacity: 0; filter:alpha(opacity=0); }
	#toTop:active, #toTop:focus 			{ outline:none; }
		
		
/***** Global Classes *****/

	.img-left   							{ float:left; margin:0 30px 30px 0; border:none; }
	.img-right  							{ float:right; margin:0 0 30px 30px; border:none; }

	.clear       							{ clear:both; }
	.float-left 							{ float:left; }
	.float-right   						{ float:right; }

	.text-big							{ color:#a2bd30; font-weight:bold; line-height:26px; }
	.text-left    							{ text-align:left; }
	.text-right    						{ text-align:right; }
	.text-center   						{ text-align:center; }
	.text-justify  						{ text-align:justify; }

	.normal								{ font-weight:normal; }
	.bold          							{ font-weight:bold; }
	.italic        							{ font-style:italic; }
	.underline     						{ border-bottom:1px solid; }
	.highlight     						{ background:#ffc; }

	.nopadding 						   	{ padding:0; }
	.noindent  						   	{ margin-left:0; padding-left:0; }
	.nobullet  					   		{ list-style:none; list-style-image:none; }

	.block								{ display:block; }
	.hidden								{ display:none; }
	.hide 								{ display:none; }
	

	/* Default Fluid TYPO3 css */
	.ce-align-left {
		text-align: left;
	  }
	  .ce-align-center {
		text-align: center;
	  }
	  .ce-align-right {
		text-align: right;
	  }
	  .ce-table td, .ce-table th {
		vertical-align: top;
	  }
	  .ce-textpic, .ce-image, .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div {
		overflow: hidden;
	  }
	  .ce-left .ce-gallery, .ce-column {
		float: left;
	  }
	  .ce-center .ce-outer {
		position: relative;
		float: right;
		right: 50%;
	  }
	  .ce-center .ce-inner {
		position: relative;
		float: right;
		right: -50%;
	  }
	  .ce-right .ce-gallery {
		float: right;
	  }
	  .ce-gallery figure {
		display: table;
		margin: 0 0 20px 0;
	  }
	  .ce-gallery figcaption {
		display: table-caption;
		caption-side: bottom;
	  }
	  .ce-gallery img {
		display: block;
	  }
	  .ce-gallery iframe {
		border-width: 0;
	  }
	  .ce-column:last-child {
		margin-right: 0;
	  }
	  .ce-row:last-child {
		margin-bottom: 0;
	  }
	  .ce-above .ce-bodytext {
		clear: both;
		padding-top:20px;
	  }
	  .ce-intext.ce-left ol, .ce-intext.ce-left ul {
		padding-left: 40px;
		overflow: auto;
	  }
	  /* Headline */
	  .ce-headline-left {
		text-align: left;
	  }
	  .ce-headline-center {
		text-align: center;
	  }
	  .ce-headline-right {
		text-align: right;
	  }
	  /* Uploads */
	  .ce-uploads {
		margin: 0;
		padding: 0;
	  }
	  .ce-uploads li {
		list-style: none outside none;
		margin: 1em 0;
	  }
	  .ce-uploads img {
		float: left;
		padding-right: 1em;
		vertical-align: top;
	  }
	  .ce-uploads span {
		display: block;
	  }
	  /* Table */
	  .ce-table {
		width: 100%;
		max-width: 100%;
	  }
	  .ce-table th, .ce-table td {
		padding: 0.5em 0.75em;
		vertical-align: top;
	  }
	  .ce-table thead th {
		border-bottom: 2px solid #dadada;
	  }
	  .ce-table th, .ce-table td {
		border-top: 1px solid #dadada;
	  }
	  .ce-table-striped tbody tr:nth-of-type(odd) {
		background-color: rgba(0, 0, 0, 0.05);
	  }
	  .ce-table-bordered th, .ce-table-bordered td {
		border: 1px solid #dadada;
	  }
	  /* Space */
	  .frame-space-before-extra-small {
		padding-top: 1em;
	  }
	  .frame-space-before-small {
		padding-top: 2em;
	  }
	  .frame-space-before-medium {
		padding-top: 3em;
	  }
	  .frame-space-before-large {
		padding-top: 4em;
	  }
	  .frame-space-before-extra-large {
		padding-top: 7em;
	  }
	  .frame-space-after-extra-small {
		padding-bottom: 1em;
	  }
	  .frame-space-after-small {
		padding-bottom: 2em;
	  }
	  .frame-space-after-medium {
		padding-bottom: 3em;
	  }
	  .frame-space-after-large {
		padding-bottom: 4em;
	  }
	  .frame-space-after-extra-large {
		padding-bottom: 7em;
	  }
	  /* Frame */
	  .frame-indent {
		margin-left: 15%;
		margin-right: 15%;
	  }
	  .frame-indent-left {
		margin-left: 33%;
	  }
	  .frame-indent-right {
		margin-right: 33%;
	  }
	  .ce-left.ce-intext .ce-gallery {
		margin-right: 20px;
	  }
	  .ce-left.ce-intext .ce-bodytext {
		padding-left: 0;
	  }
	  .ce-right.ce-intext .ce-gallery {
		margin-left: 20px;
	  }
	  .ce-right.ce-intext .ce-bodytext {
		padding-left: 0;
	  }
	  .ce-left.ce-nowrap .ce-bodytext, .ce-right.ce-nowrap .ce-bodytext, .ce-left.ce-nowrap .ce-gallery, .ce-right.ce-nowrap .ce-gallery {
		width: 50%;
	  }
	  .ce-left.ce-nowrap .ce-bodytext {
		padding-left: 25px;
	  }
	  .ce-left.ce-nowrap .ce-gallery {
		margin-right: 0;
	  }
	  .ce-left.ce-nowrap .ce-gallery .ce-row {
		/*float:right;*/
		margin: 0 auto;
		text-align: center;
	  }
	  .ce-left.ce-nowrap .ce-gallery .ce-row .ce-column {
		width: 100%;
	  }
	  .ce-right.ce-nowrap .ce-bodytext {
		padding-right: 50px;
	  }
	  .ce-right.ce-nowrap .ce-gallery {
		padding-left: 25px;
		margin-left: 0;
	  }
	  .ce-right.ce-nowrap .ce-gallery .ce-row {
		/*float:right;*/
		margin: 0 auto;
		text-align: center;
		width: 100%;
	  }
	  .ce-right.ce-nowrap .ce-gallery .ce-row .ce-column {
		width: 100%;
	  }
	  .ce-left .ce-gallery img, .ce-right .ce-gallery img, .ce-center .ce-gallery img {

	  }
	  .image-caption {
		font-size: 12px;
		margin-top: 2px;
		margin-bottom:5px;
		padding-left: 0px;
	  }
	  .ce-image .ce-border .ce-column{
		margin-right:20px;
		
	  }	
	  .ce-image .ce-border .image img {
		border: 3px solid #999999;
		padding: 0;

	  }	
	  @media screen and (max-width: 991px) {
		.frame-space-before-extra-large {
		  padding-top: 3em;
		}
		.frame-space-after-extra-large {
		  padding-bottom: 3em;
		}
		.gridCols .container-fluid h2, .gridCols .container-fluid p {
		  max-width: 100%;
		}
		.ce-textpic {
		  display: flex;
		  flex-direction: column;
		}
		.ce-left.ce-nowrap .ce-bodytext, .ce-right.ce-nowrap .ce-bodytext, .ce-left.ce-nowrap .ce-gallery, .ce-right.ce-nowrap .ce-gallery {
		  width: 100%;
		  padding-left: 0;
		}
		.ce-left .ce-gallery, .ce-right .ce-gallery, .ce-center .ce-gallery {
		  order: 2;
		}
		.ce-left .ce-gallery img, .ce-right .ce-gallery img, .ce-center .ce-gallery img {
		  width: 100%;
		  height: auto;
		}
		.ce-left .ce-bodytext {
		  padding-left: 0;
		}
		.ce-right .ce-bodytext {
		  padding-right: 0;
		}
		.ce-right .ce-gallery {
		  padding-left: 0;
		}
		.ce-right .ce-gallery .ce-row {
		  float: none;
		}
	  }
	  

	  .section-team .ce-gallery{
		--auto-grid-min-size: 115px;
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
		grid-gap: 1rem;
		width:98%;
	  }
	  .ce-image .ce-border .image img {
		object-fit: cover;
		width:115px;
		height:153px;
	  }