/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 12px;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
	padding: 5px;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    background: #333;
    color: #fff;
    margin: 0.2em 0;
    padding: 0.2em 0.2em;
	text-align: center;
	z-index: 1001;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
	background-color: #000;
	font-family: Tahoma, sans-serif;
	font-size: 1em;
	line-height: 1.3em;
	color: #ffffff;
	border: 0px;
}

/* responsive form css */
form header {
  margin: 0 0 20px 0; 
}
form header div {
  font-size: 90%;
  color: #999;
}
form header h2 {
  margin: 0 0 5px 0;
}
form > div {
  clear: both;
  overflow: hidden;
  padding: 1px;
  margin: 0 0 10px 0;
}
form > div > fieldset > div > div {
  margin: 0 0 5px 0;
}
form > div > label,
legend {
	width: 24%;
  float: left;
  padding-right: 10px;
}
form > div > div,
form > div > fieldset > div {
  width: 75%;
  float: right;
}
form > div > fieldset label {
	font-size: 90%;
}
fieldset {
	border: 0;
  padding: 0;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
	width: 100%;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
input[type=text],
input[type=email],
input[type=url],
input[type=password] {
  width: 50%;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 0;
  border-color: #4697e4;
}

@media (max-width: 600px) {
  form > div {
    margin: 0 0 15px 0; 
  }
  form > div > label,
  legend {
	  width: 100%;
    float: none;
    margin: 0 0 5px 0;
  }
  form > div > div,
  form > div > fieldset > div {
    width: 100%;
    float: none;
  }
  input[type=text],
  input[type=email],
  input[type=url],
  input[type=password],
  textarea,
  select {
    width: 100%; 
  }
}
@media (min-width: 1200px) {
  form > div > label,
	legend {
  	text-align: right;
  }
}
/* Responsive form CSS ends */

#logo.h1 {
	font-size: 1em;
}

#wrapper{
	/* to do */
	width: 100%; 
	overflow: hidden;
}

#header{
	background-color: #000;
	color: #FFF;
	width: 100%;
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
	z-index: 99;
	height: 60px;
	min-width: 350px;
	/*height: 250px\9;   ie 8 or lower hack */
}

.lt-ie9 #header {
	height: 150px;
}

.lt-ie9 #header  li{
	list-style-type: none;
	text-align: right;
	font-size: 14px;
	margin-right: 30px;
}


.lt-ie9 #colmask {
	padding-top: 200px; 
}

.lt-ie9 .ei-title{
	background: black;
}

.lt-ie9 #pull{
	display: none;  
}

nav {  
	float: right;
	height: auto;
	min-width: 130px;
	background: grey;
	margin-top: 10px;
	margin-right: 2%;
} 

.navopen {
	margin-top:-100px !important;
	margin-right: 0px !important;
	width: 100%;
	padding-top: 10px;
}

nav ul {  
	display: none;
	height: auto;
	width: 100%;
	padding: 10px 0 0 0;
} 

nav li {  
  /*  display: inline;  
   float: left;  */
	text-align: center;
	
} 

nav a {  
    color: #fff;  
    display: inline-block;  
    width: 100px;  
    text-align: center;  
    text-decoration: none;  
    line-height: 40px;  
    text-shadow: 1px 1px 0px #283744;  
} 

nav a#pull {  
	display: block;  
	background-color: #283744;  
	width: 100%;  
	position: relative;  
}  
nav a#pull:after {  
	content:"";  
	background: url('img/nav-icon.png') no-repeat;  
	width: 30px;  
	height: 30px;  
	display: inline-block;  
	position: absolute;  
	right: 8%;  
	top: 10px;  
} 

#logo {
	margin-left: 1%; 
	z-index: 1001;
	float: left;
	max-width: 40%;
}

#logo img {
	max-height: 50px;
	max-width: 100%;
}

#sitetitle {
	z-index: 1001;
	float: left;
	margin: 1% 2% 0 2%;
	width: auto;
}

#sitetitle h1 {
	padding: 0 0 0 1%;
	font: 1em 'Yanone Kaffeesatz', sans-serif;
	}

#colmask {
	margin-top: 65px;
	position: relative;
	clear: both;
	width: 100%;
	overflow: hidden;
	display: block;
	min-width: 350px;
}

#contents {
	width: 96%;
	overflow: hidden;
	float: left;
	margin-left: 2%;
}


h1, h2, h3 {
	font: 2.5em 'Yanone Kaffeesatz', sans-serif;
	font-weight: 300;
	padding: 0;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
	margin: 0.4em 0;
}

h4, .skill {
	font: 1.4em 'Yanone Kaffeesatz', sans-serif;
	color: #0dd758;
	line-height: 0.8em;
	font-weight: 300;
	padding: 0;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
	margin: 1em 0;
}

a {
	text-decoration: none;
}

a:link {color:#0dd758;}      /* unvisited link */
a:visited {color:#0dd758;}  /* visited link */
a:hover {color:#5f944a;}  /* mouse over link */
a:active {color:#0dd758;}  /* selected link */
#qualifications a {text-decoration: none;}

ul.lama {
	list-style-image: url('img/bullet-icon.png');
	padding: 0 0 0 3%;
}

ul.lama li {
	padding-bottom: 1.5%;
	list-style-position: inside;
}

#footer {
	margin: 43px 0 0 0;
	background-color: #000;
	border-top: 1px solid #313131;
}

#footercontents {
	width: 84%;
	margin-left: 8%; 
	padding-top: 10px;
	padding-bottom: 10px;
}

#footerlogo {
	display: block;
	float: left;
	max-width: 40%;
}
#footerlogo  img{
	display: block;
	float: left;
	max-width: 100%;
}

#copynotice {
	display: block;
	margin: 10px 0 0 8%;
	float: right;
	max-width: 50%;
	font: 0.6em 'Yanone Kaffeesatz', sans-serif;
}

.ltd {
	font: 0.6em 'Yanone Kaffeesatz', sans-serif;
	text-align: center;
	margin-right: 8%;
}

#header li {
	font: 26px 'Yanone Kaffeesatz', sans-serif;
	line-height: 1.2em;
	font-weight: 300;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

#header li.active{
	background: #333;
}

.lt-ie9 #header li.active {
	background: #000;
}

#header li  a{
	color: white;
	text-decoration:none;
}
#header li  a:hover{
	color: lightgray;
	background: #0dd758;
}

#contents h2, h3 {
	color: #0dd758;  
	margin: 0.9em 0 0.4em 0;  
}

.whitelink a{
	color: white;
	text-decoration:none;
	white-space:nowrap;
}

#qualifications {
	clear: both;
	background: #333;
	padding: 0;
	display: block; 
	margin-left: auto; 
	margin-right: auto;
	text-align: center
}

#qualifications img{
	padding: 1% 1% 1% 1%;
	max-width: 80px;
	max-height: 50px;
}

.contact {
	float: left;
	width: 100%;
	margin: 2% 0 2% 0;
}

.contact p, .contact h2, .contact h3, .contact span {
	float: left;
	font: 2em 'Yanone Kaffeesatz', sans-serif;
	padding-left: 20px;
	margin: 1% 0 1% 0;
}

.contact-img {
	float: left;
}

.contact-img  img{
	width: 65%;
}

.contact-inner {
	float: left;
	margin-top: 10px;
}

.contact a {
	color: #fff;    
	text-decoration: none;  
	padding-top: 1%;
}

.contactspace {
	margin-top: 40px;
}

.imgright {
	float: center;   /* only float right above mobile views */
	margin: 10px 15px 15px 15px;
	border-style: solid;
	border-width: 1px;
	border-color: grey;
	overflow: hidden;
	max-width: 300px;
}

.blogtitle {
	padding-bottom: 20px;
	border-bottom: 3px solid #fff;
}

.blogpost {
	border-bottom: 3px solid #fff;
	padding-bottom: 20px;
}

.comment {
	background-color: #222;
	padding: 20px;
	border-bottom: 2px solid #fff;
}

.comment-reply {
	margin-left: 2%;
	background: #333;
	padding: 1%;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}



/* slider */
.ei-slider{
	position: relative;
	width: 100%;
	max-width: 1920px;
	height: 400px;
	margin: 0 auto;
}
.ei-slider-loading{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index:999;
	background: rgba(0,0,0,0.9);
	color: #fff;
	text-align: center;
	line-height: 400px;
}
.ei-slider-large{
	height: 100%;
	width: 100%;
	position:relative;
	overflow: hidden;
}
ul.ei-slider-large {
	margin-top: 0px;
}
.ei-slider-large li{
	position: absolute;
	top: 0px;
	left: 0px;
	overflow: hidden;
	height: 100%;
	width: 100% !important; /* important hack to make chrome resize fluid */
}
.ei-slider-large li img{
	padding: 0px;
	width: 100%;
}
.ei-title{
	position: absolute;
	right: 30%;
	margin-right: 13%;
	top: 9%;
	background: rgba(0,0,0,0.6);
	margin-left: 3%;
	padding: 0 2% 1% 2%
}
.ei-title h2, .ei-title h3{
	text-align: right;
}
.ei-title h2{
	font-size: 2em;
	line-height: 1em;
/*	font-family: 'Playfair Display', serif;
	font-style: italic;
	color: #b5b5b5; */
}
.ei-title h3{
	font-size: 18px;
	line-height: 18px;
/*	font-family: 'Open Sans Condensed', sans-serif;
	text-transform: uppercase;
	color: #000; */
}

.ei-title p{
		text-align: right;
}

.ei-slider-thumbs{
	height: 13px;
	height: 0px\9;  /* hide in ie 8 or lower hack */
	margin: 0 auto;
	position: relative;
	
}

ul.ei-slider-thumbs {
	list-style-type: none;
}

.ei-slider-thumbs li{
	position: relative;
	float: left;
	height: 100%;
	margin-bottom: 20px;
}
.ei-slider-thumbs li.ei-slider-element{
	top: 0px;
	left: 40px;
	position: absolute;
	height: 100%;
	z-index: 10;
	text-indent: -9000px;
	background: #000;
	background: rgba(0,0,0,0.9);
}
.ei-slider-thumbs li a{
	display: block;
	text-indent: -9000px;
	background: #666 ;
	width: 100%;
	height: 100%;
	cursor: pointer;
	-webkit-box-shadow: 
        0px 1px 1px 0px rgba(0,0,0,0.3), 
        0px 1px 0px 1px rgba(255,255,255,0.5);
	-moz-box-shadow: 
        0px 1px 1px 0px rgba(0,0,0,0.3), 
        0px 1px 0px 1px rgba(255,255,255,0.5);
	box-shadow: 
        0px 1px 1px 0px rgba(0,0,0,0.3), 
        0px 1px 0px 1px rgba(255,255,255,0.5);
	-webkit-transition: background 0.2s ease;
    -moz-transition: background 0.2s ease;
    -o-transition: background 0.2s ease;
    -ms-transition: background 0.2s ease;
    transition: background 0.2s ease;
}
.ei-slider-thumbs li a:hover{
	background-color: #f0f0f0;
}
.ei-slider-thumbs li img{
	position: absolute;
	bottom: 50px;
	opacity: 0;
	z-index: 999;
	max-width: 100%;
	-webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
	-webkit-box-reflect: 
        below 0px -webkit-gradient(
            linear, 
            left top, 
            left bottom, 
            from(transparent), 
            color-stop(50%, transparent), 
            to(rgba(255,255,255,0.3))
            );
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	height: 0px\9;  /* hide in ie 8 or lower hack */
}
.ei-slider-thumbs li:hover img{
	opacity: 1;
	bottom: 13px;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	
}
/* Slider has it's own responsive fix */
@media screen and (max-width: 830px) {
	.ei-title{
		position: absolute;
		right: 0px;
	/*	margin-right: 0px;
		width: 100%;*/
		text-align: center;
		top: auto;
		bottom: 10px;
	/*	background: #fff;
		background: rgba(255,255,255,0.9); */
	}
	.ei-title h2, .ei-title h3{
		text-align: center;
	}
	.ei-title p{
		text-align: right;
	}
	
	.ei-title h2{
		font-size: 20px;
		line-height: 24px;
	}
	.ei-title h3{
		font-size: 30px;
		line-height: 40px;
	}
}
/* EOF Slider */



/* PORTFOLIO TABS */
#container .js{overflow:hidden;zoom:1;}
#container .carousel,
#container .carousel .carousel-wrap{margin:0;border:0;zoom:1;}
#container .js .carousel-wrap{display:inline-block;vertical-align:middle;width:65%;margin:0 5px 15px;border:1px solid #4f4f4f;background:#1a1a1a;}
.IE #container .js .carousel-wrap{display:inline;}
#container .carousel ul{margin:0;padding:0;zoom:1;}
#container .js ul li{overflow:hidden;display:inline;float:left;width:444px;height:314px;text-align:center;zoom:1;}
#container .carousel .carousel-control{overflow:hidden;display:inline-block;vertical-align:middle;width:40px;height:40px;cursor:pointer;line-height:999px;zoom:1;border:0;text-indent:-9999px;}
#container .carousel .carousel-next{background:url(../img/portfolio/buttons/next.png) 0 0 no-repeat;}
#container .carousel .carousel-previous{background:url(../img/portfolio/buttons/prev.png) 0 0 no-repeat;}
#container .carousel .carousel-control:hover{-moz-opacity:.7;opacity:0.70;filter:alpha(opacity=70);}
#container .carousel .disabled,#container .carousel .disabled:hover{-moz-opacity:.1;opacity:0.10;filter:alpha(opacity=10);cursor:default;}
#container .carousel div{margin:0;padding:0;border:0;}
#container .carousel ul{padding:0;list-style:none;}
#container .carousel ul li{position:relative;width:444px;margin:0;}
#container .carousel ul li cite{position:absolute;bottom:3px;right:10px;line-height:19px;font-size:11px;}
#container .carousel ul li cite a img{vertical-align:middle;}
#container .carousel ul li cite a{color:#fff;text-decoration:none;}
#container div.center-wrap{overflow:hidden;clear:both;zoom:1;}
#container div.center-wrap div{border:0;margin:15px 0;}
#container div.center-wrap a{margin:0 2px;padding:2px 5px;border:1px solid #4f4f4f;background:#333;cursor:pointer;color:#fff;}

.portfolioimg {
	border-style: solid; 
	border-width: 3px; 
	border-color: #BCE1F4;
	width: 100%;
	height: 308px;
	padding: 0px;
}

#accordion .ui-widget-content {
	background: none;
}

.carousel-res {
	margin: auto;
    padding: 20px;
    width: 90%;

}

.cards-cont {
	clear: both;
	height: auto;
    overflow: hidden;
	padding: 3rem 0;
	width: 100%;
}
.card {
	font-size: 11px;
	float: left;
	width: 100%;
	min-height: 393px;
}

.card .back {
	background-color: #333;
}

.card-content {
	min-height: 233px;
	padding: 30px;	
	position: absolute;
	top: 0;
}
.card img {
	border: 2px solid #BCE1F4;
	padding: 0;
	width: 100%;
}
.card-readmore {
	position: absolute;
	bottom: 10px;
}

.card-img-cont {
	overflow: hidden;
}
.card-readmore span {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 10px;
    border-color: transparent transparent transparent #0dd758;
    display: inline-block;
	margin-left: 10px;
}
.ui-accordion .ui-accordion-content {
	padding: 0;
}

.accord-img-cont {
	display: none;
}

.accord-cont-inner {
	padding: 0 4%;
}
.accord-img-cont img{
	padding-top: 1rem;
	width: 100%;
}

.accord-visit {
	float: right;
	padding-bottom: 1rem;
	width: 100%;
    text-align: right;
}
.accord-visit p  {
	padding-right: 10px;
}
.accord-visit span {
    border-style: solid;
    border-width: 5px 0 5px 10px;
    border-color: transparent transparent transparent #0dd758;
    display: inline-block;
	margin-left: 10px;
	padding-right: 10px;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
	html {
		font-size: 14px;
	}
	
	#logo {
		margin-left: 8%;
	}
	
	h1 {
		font: 2em 'Yanone Kaffeesatz', sans-serif;
	}
	
	#sitetitle h1 {
		font: 2em 'Yanone Kaffeesatz', sans-serif;
	}
	
	nav {
		margin-top: 3%;
		margin-right: 8%;
	}
	
	#header {
		height: 85px;
	}
	
	#colmask {
		margin-top: 80px;
	}
	
	#contents {
	width: 84%;
	margin-left: 8%;
	}

	#copynotice {
		display: block;
		margin: 18px 0 10px 8%;
		float: right;
		font: 0.8em 'Yanone Kaffeesatz', sans-serif;
	}
	
	.imgright {
		float: right;
	}
}


@media only screen and (min-width: 60em) {
    /* Style adjustments for viewports that meet the condition */
	html {
		font-size: 16px;
	}
	
	#sitetitle h1 {
		font: 3em 'Yanone Kaffeesatz', sans-serif;
	}
	
	#logo img {
		max-height: 95px;
	}
	
	nav {  
		position: relative;  
		float: right;
		margin-right: 8%;
		background: none;
		margin-top: 4%;
	}

	nav ul {  
		padding: 0;  
		margin: 0 auto;  
		width: auto;  
		height: 40px; 
		display: inline !important;  /* important to ignore the inline style the slidetoggle adds */	
	} 

	nav li {  
		width: auto; 
		display: inline;
		float: left;  
	} 

	nav a {  
		color: #fff;  
		display: inline-block;  
		width: 80px;  
		text-align: center;  
		text-decoration: none;  
		line-height: 40px;  
		text-shadow: 1px 1px 0px #283744;  
	} 

	nav a#pull {  
		display: none;  
	}
	
	#header {
		height: 120px;
	}
	
	#colmask {
		margin-top: 120px;
	}
	
	#qualifications img{
		padding: 1% 2% 1% 2%;
		max-width: none;
		max-height: none;
	}

	.card {
		min-height: 248px;
		width: 50%;
	}
	
	.card-content {
		min-height: auto;
	}
		
	.ltd {
		text-align: right;
	}
		
	#copynotice {
		font: 1.2em 'Yanone Kaffeesatz', sans-serif;
	}

	.accord-img-cont {
		display: block;
		float: left;
		overflow: hidden;
		width: 50%;
	}
	.accord-cont {
		float: right;
		width: 50%;
	}
}

@media only screen and (min-width: 80em) {
	.card {
		min-height: 397px;
		font-size: 14px;
	}
}

@media only screen and (min-width: 100em) {
    /* Style adjustments for viewports that meet the condition */
	html {
		font-size: 18px;
	}
	
	nav {  
		margin-top: 2%;
	}
	
	nav a {   
		width: 100px; 
	}
	
	#qualifications img{
		padding: 1% 5% 1% 5%;
	}
	
	.card {
		height: 322px;
		width: 33.33%;
	}
	.card-content {
		height: 254px;
	}
	.card-img-cont {
		height: 331px;
		width: 537px;
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


.ssbutton {
	-moz-box-shadow:inset 0px 1px 0px 0px #b54b3a;
	-webkit-box-shadow:inset 0px 1px 0px 0px #b54b3a;
	box-shadow:inset 0px 1px 0px 0px #b54b3a;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #a73f2d), color-stop(1, #b34332));
	background:-moz-linear-gradient(top, #a73f2d 5%, #b34332 100%);
	background:-webkit-linear-gradient(top, #a73f2d 5%, #b34332 100%);
	background:-o-linear-gradient(top, #a73f2d 5%, #b34332 100%);
	background:-ms-linear-gradient(top, #a73f2d 5%, #b34332 100%);
	background:linear-gradient(to bottom, #a73f2d 5%, #b34332 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#a73f2d', endColorstr='#b34332',GradientType=0);
	background-color:#a73f2d;
	border:2px solid #241d13;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:16px;
	font-weight:bold;
	padding:9px 30px;
	text-decoration:none;
	text-shadow:0px 1px 0px #7a2a1d;
}
.ssbutton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #b34332), color-stop(1, #a73f2d));
	background:-moz-linear-gradient(top, #b34332 5%, #a73f2d 100%);
	background:-webkit-linear-gradient(top, #b34332 5%, #a73f2d 100%);
	background:-o-linear-gradient(top, #b34332 5%, #a73f2d 100%);
	background:-ms-linear-gradient(top, #b34332 5%, #a73f2d 100%);
	background:linear-gradient(to bottom, #b34332 5%, #a73f2d 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b34332', endColorstr='#a73f2d',GradientType=0);
	background-color:#b34332;
}
.ssbutton:active {
	position:relative;
	top:1px;
}

.ssbutton:visited {
    color: #fff;
}

.ssbutton:link {
    color: #fff;
}

.ssbuttongreen {
	-moz-box-shadow:inset 0px 1px 0px 0px #45b33b;
	-webkit-box-shadow:inset 0px 1px 0px 0px #45b33b;
	box-shadow:inset 0px 1px 0px 0px #45b33b;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #59a62d), color-stop(1, #3db332));
	background:-moz-linear-gradient(top, #59a62d 5%, #3db332 100%);
	background:-webkit-linear-gradient(top, #59a62d 5%, #3db332 100%);
	background:-o-linear-gradient(top, #59a62d 5%, #3db332 100%);
	background:-ms-linear-gradient(top, #59a62d 5%, #3db332 100%);
	background:linear-gradient(to bottom, #59a62d 5%, #3db332 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#59a62d', endColorstr='#3db332',GradientType=0);
	background-color:#59a62d;
	border:2px solid #241d13;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:16px;
	font-weight:bold;
	padding:9px 30px;
	text-decoration:none;
	text-shadow:0px 1px 0px #34781d;
}
.ssbuttongreen:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #3db332), color-stop(1, #59a62d));
	background:-moz-linear-gradient(top, #3db332 5%, #59a62d 100%);
	background:-webkit-linear-gradient(top, #3db332 5%, #59a62d 100%);
	background:-o-linear-gradient(top, #3db332 5%, #59a62d 100%);
	background:-ms-linear-gradient(top, #3db332 5%, #59a62d 100%);
	background:linear-gradient(to bottom, #3db332 5%, #59a62d 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3db332', endColorstr='#59a62d',GradientType=0);
	background-color:#3db332;
}
.ssbuttongreen:active {
	position:relative;
	top:1px;
}

.ssbuttongreen:visited {
    color: #fff;
}

.ssbuttongreen:link {
    color: #fff;
}

#consentdirective {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 998;
}
.consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    width: 100%;
    height: 100%;
    display: none;
}

.consentdirective-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1001;
    background-color: #323232;
    font-size: 12px;
    margin: 0 auto;
    padding: 20px;
}

.consentdirective-content p {
    color: #fff;
    margin-bottom: 0;
    text-align: center;
	font-size: 1rem;
    line-height: 1.2rem;
}

.consentdirective-content a {
    color: #fff;
}

.consentdirective-content a:hover, .consentdirective-content a:focus {
    color: #000;
}


.consent-form-popup {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1002;
    margin: 0 auto;
    background-color: #323232;
    color: #fff;
    padding: 20px;
}

.sliderWrapper {
    margin: 24px 24px 24px 24px;
    position: relative;
}

.sliderWrapper div {
    display: inline-block;
}

.sliderWrapper h3 {
    font-size: 1.5rem;
}

tr.sliderWrapper td { 
	padding: 0 10px;
}

/* The switch - the box around the slider */
.switch-fixed {
    vertical-align: middle;
    position: relative;
    display: inline-block;
    padding: 0px;
    width: 28px;
    height: 28px;
    transform: translateX(12px);
    background: url(img/tick_green.png) center center #fff;
    background-size: contain;
    border-radius: 34px;
    border: 1px solid #58595b;
    margin-top: 36px;
}

.switch {
    vertical-align: middle;
    position: relative;
    display: inline-block;
    padding: 0px;
    width: 54px;
    height: 28px;
    margin-top: 36px;
}
/* Hide default HTML checkbox */
.switch input {
    display: none;
}

/* The slider */
.chk-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d7d7d7;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
    border: 1px solid #58595b;
}

.chk-slider:before {
    position: absolute;
    content: "";
    height: 25px;
    width: 25px;
    left: 1px;
    bottom: 0;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + input[type="hidden"] + .chk-slider {
    background-color: #92c83e;
}

input:focus + input[type="hidden"] + .chk-slider {
    box-shadow: 0 0 1px #92c83e;
}

input:checked + input[type="hidden"] + .chk-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    background: url('img/tick_green.png') center center #fff;
    background-size: contain;
}

input.disabled + input[type="hidden"] + .chk-slider,
input.disabled:checked + input[type="hidden"] + .chk-slider,
input.disabled:focus + input[type="hidden"] + .chk-slider {
    background-color: #d7d7d7;
}

    input.disabled + input[type="hidden"] + .chk-slider:before {
        height: 0;
        width: 0;
    }