
/*
	* { border: 1px solid red; }
*/

/*---------------Fonts--------------*/

@font-face {
    	font-family: 'GentiumBasicI';
    	src: url(../fonts/GentiumBasic/GenBasI.ttf);
}

@font-face {
    	font-family: 'GentiumBasic';
    	src: url(../fonts/GentiumBasic/GenBasR.ttf);
}

/*-------------Body/Header/Logo/Global----------------*/

.hide {
  display:none;  
}

body {
	background: url(../images/skyL.jpg) no-repeat;
	background-attachment: fixed;
    	display: block;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: url(../images/skyL.jpg) no-repeat;
	opacity: 1.0;
	z-index: 5;
}

#logo {
	margin: 15px;
	margin-left: auto;
    margin-right: auto; 
	display: block;
	width: 32%;
	height: 80px;
    background-image: url(../images/logo1.png);
    background-repeat: no-repeat;
    background-size: contain;
  	-webkit-touch-callout: none; 			/* iOS Safari */
    -webkit-user-select: none; 			/* Chrome/Safari/Opera */
    -khtml-user-select: none; 			/* Konqueror */
    -moz-user-select: none; 			/* Firefox */
    -ms-user-select: none; 				/* Internet Explorer/Edge */
    user-select: none; 				/* Non-prefixed version, currently not supported by any browser */
	-webkit-tap-highlight-color: rgba(0,0,0,0); 	/* What actually works */
}

/*-------------Nav/Menu----------------*/


.togglel {
	top: 90px;
	left: 0px;
	width: 30px;
	padding-top: 75px;
	padding-bottom: 75px;
	text-decoration: none;
	-webkit-transition: all 0.45s ease-out 0;
	-moz-transition: all 0.45s ease-out 0;
	transition: all 0.45s ease-out 0;
	-webkit-border-radius: 0 15px 15px 0;
	-moz-border-radius: 0 15px 15px 0;
	border-radius: 0 15px 15px 0;
	text-align: center;
	cursor: pointer;
	position: fixed;
	background: #222;
	opacity: 0.75;
	z-index: 1;
}

.sidebarl {
	top: 90px;
	left: -200px;
	width: 150px;
	padding:  20px 8px 20px 16px;
	height: 189px;	
	position: fixed;
	-webkit-transition: all 0.45s ease-out 0;
	-moz-transition: all 0.45s ease-out 0;
	transition: all 0.45s ease-out 0;
	background: #222;
	opacity: 0.75;
	text-align: left;
}

.sidebarl ul {
	margin: 0;
    padding: 3px 4px 8px 8px;
	list-style: none;
}

.sidebarl li{
    padding: 3px 4px 4px 8px;
}
.sidebarl li a {
	margin: 0;
    font-size: 20px;
	font-family: 'GentiumBasic';
    color: #d1d1d1;
	cursor: pointer;
	text-decoration: none;
}

.sidebarl a:hover {
    color: #fecb00;
}

#slidel:checked + .container .sidebarl {
	left: 0px;
 }

#slidel:checked + .container .togglel {
	left: 174px;
 }

#slidel {
	display: none; 
}


.toggler {
	top: 90px;
	right: 0px;
	width: 30px;
	padding-top: 75px;
	padding-bottom: 75px;
	text-decoration: none;
	-webkit-transition: all 0.45s ease-out 0;
	-moz-transition: all 0.45s ease-out 0;
	transition: all 0.45s ease-out 0;
	-webkit-border-radius: 15px 0 0 15px;
	-moz-border-radius: 15px 0 0 15px;
	border-radius: 15px 0 0 15px;
	text-align: center;
	background: #222;
	opacity: 0.75;
	position: fixed;
	z-index: 1;
	cursor: pointer;
}

.sidebarr {
	top: 90px;
	right: -200px;
	width: 150px;
	padding:  20px 16px 20px 8px;
	height: 189px;	
	position: fixed;
	-webkit-transition: all 0.45s ease-out 0;
	-moz-transition: all 0.45s ease-out 0;
	transition: all 0.45s ease-out 0;
	background: #222;
	opacity: 0.75;
	text-align: right;
}

.sidebarr ul {
	margin: 0;
    padding: 3px 4px 8px 8px;
	list-style: none;
}

.sidebarr li{
    padding: 3px 4px 4px 8px;
}
.sidebarr li a {
	margin: 0;
    font-size: 20px;
	font-family: 'GentiumBasic';
    color: #d1d1d1;
	cursor: pointer;
	text-decoration: none;
}

.sidebarr a:hover {
    color: #fecb00;
}

#slider:checked + .container .sidebarr {
	right: 0px;
 }

#slider:checked + .container .toggler {
	right: 174px;
 }

#slider {
	display: none; 
}



#slideoutl {
	position: fixed;
	top: 0px;
	left: 0;
	width: 31px;
	padding: 73px 0;
	text-align: center;
	background: #222;
	opacity: 0.75;
	-webkit-transition-duration: 0.05s;
	-moz-transition-duration: 0.05s;
	-o-transition-duration: 0.05s;
	transition-duration: 0.05s;
	-webkit-border-radius: 0 15px 15px 0;
	-moz-border-radius: 0 15px 15px 0;
	border-radius: 0 15px 15px 0;
}

#slideoutl_inner {
	position: fixed;	
	top: 0px;	
	left: -176px;
	width: 140px;
	padding: 18px;
	height: 189px;
	background: #222;
	-webkit-transition-duration: 0.05s;
	-moz-transition-duration: 0.05s;
	-o-transition-duration: 0.05s;
	transition-duration: 0.05s;
	text-align: left;
	-webkit-border-radius: 0 0 0 0;
	-moz-border-radius: 0 0 0 0;
	border-radius: 0 0 0 0;
}

#slideoutl:hover {
	left: 176px;
}

#slideoutl:hover #slideoutl_inner {
	left: 0;
}

#slideoutl_inner a {
    padding: 3px 4px 4px 8px;
    text-decoration: none;
	font-family: 'GentiumBasic';
    font-size: 18px;
    color: #d1d1d1;
    display: block;
    transition: 1s;
}

#slideoutl_inner a:hover {
    color: #fecb00;
}

#slideoutr {
	position: fixed;
	top: 0px;
	right: 0;
	width: 31px;
	padding: 73px 0;
	text-align: center;
	background: #222;
	opacity: 0.75;
	-webkit-transition-duration: 0.05s;
	-moz-transition-duration: 0.05s;
	-o-transition-duration: 0.05s;
	transition-duration: 0.05s;
	-webkit-border-radius: 15px 0 0 15px;
	-moz-border-radius: 15px 0 0 15px;
	border-radius: 15px 0 0 15px;
}

#slideoutr_inner {
	position: fixed;	
	top: 0px;	
	right: -176px;
	width: 140px;
	padding: 18px;	
	height: 189px;
	background: #222;
	-webkit-transition-duration: 0.05s;
	-moz-transition-duration: 0.05s;
	-o-transition-duration: 0.05s;
	transition-duration: 0.05s;
	text-align: right;
	-webkit-border-radius:  0 0 0 0;
	-moz-border-radius:  0 0 0 0;
	border-radius: 0 0 0 0;
}

#slideoutr:hover {
	right: 176px;
}

#slideoutr:hover #slideoutr_inner {
	right: 0;
}

#slideoutr_inner a {
    padding: 3px 4px 4px 8px;
    text-decoration: none;
	font-family: 'GentiumBasic';
    font-size: 21px;
    color: #d1d1d1;
    display: block;
    transition: 1s;
}

#slideoutr_inner a:hover {
    color: #fecb00;
}

.sidenav {
    height: 100%;
    width: 200px;
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    background-color: #111;
	opacity: 0.75;
    overflow-x: hidden;
    transition: 0.1s;
    padding-top: 45px;
}

.sidenav a {
    padding: 3px 4px 4px 16px;
    text-decoration: none;
    font-size: 19px;
    color: #d1d1d1;
    display: block;
    transition: 0.1s;
}

.sidenav a:hover {
    color: #fecb00;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 12px;
    font-size: 36px;
    margin-left: 50px;
}

nav {
	float: right;
	padding: 10px 10px 10px 0px;
}

#menu-icon {
	margin: 5px 5px;
	display: inline-block;
	float: right;
	width: 60px;
	height: 20px;
    	background-image: url(../images/micon.png);
    	background-repeat: no-repeat;
    	background-size: contain;
  	-webkit-touch-callout: none; 			/* iOS Safari */
    	-webkit-user-select: none; 			/* Chrome/Safari/Opera */
    	-khtml-user-select: none; 			/* Konqueror */
       	-moz-user-select: none; 			/* Firefox */
        -ms-user-select: none; 				/* Internet Explorer/Edge */
        user-select: none; 				/* Non-prefixed version, currently not supported by any browser */
	-webkit-tap-highlight-color: rgba(0,0,0,0); 	/* What actually works */
}

nav:hover #menu-icon {
	background-image: url(../images/omicon.png);
}

nav ul, nav:active ul {
	list-style-type: none;
	display: none;
	position: absolute;
	top: 30px;
	right: 30px;
}

nav li {
	text-align: right;
	text-decoration: none;
	width: 100%;
	padding: 2px 2px 2px 2px;
	margin: 0;
}

nav li a {
	font-family: 'GentiumBasic';
	font-size: 14pt;
	text-decoration: none; 
	color: black;
  	-webkit-touch-callout: none; 			/* iOS Safari */
    	-webkit-user-select: none; 			/* Chrome/Safari/Opera */
    	-khtml-user-select: none; 			/* Konqueror */
       	-moz-user-select: none; 			/* Firefox */
        -ms-user-select: none; 				/* Internet Explorer/Edge */
        user-select: none; 				/* Non-prefixed version, currently not supported by any browser */
	-webkit-tap-highlight-color: rgba(0,0,0,0); 	/* What actually works */
}

nav li a:hover {
	color: #ea3e28;
}

/*-------------Outer/Middle/Inner/Main----------------*/

.outer {
    	display: table;
    	position: absolute;
    	height: 100%;
    	width: 100%;
	z-index: 200px;
}

.middle {
    	display: table-cell;
    	vertical-align: middle;
}

.inner {
    	margin-left: auto;
    	margin-right: auto; 
    	width: 40%;
	z-index: 2;
}

.inner_lighten {
	opacity: 0.25;
	filter: alpha(opacity = 25);
}

.main img {
    	margin-left: auto;
    	margin-right: auto; 
	display: block;
	width: 42%;
  	-webkit-touch-callout: none; 			/* iOS Safari */
    	-webkit-user-select: none; 			/* Chrome/Safari/Opera */
    	-khtml-user-select: none; 			/* Konqueror */
       	-moz-user-select: none; 			/* Firefox */
        -ms-user-select: none; 				/* Internet Explorer/Edge */
        user-select: none; 				/* Non-prefixed version, currently not supported by any browser */
	-webkit-tap-highlight-color: rgba(0,0,0,0); 	/* What actually works */
}

.mainimg_lighten {
	opacity: 0.25;
	filter: alpha(opacity = 25);
}

.main #txt {
	visibility: hidden;
}

.maintxt_visible {
	visibility: visible;
}

.change {
  	-webkit-touch-callout: none; 			/* iOS Safari */
    	-webkit-user-select: none; 			/* Chrome/Safari/Opera */
    	-khtml-user-select: none; 			/* Konqueror */
       	-moz-user-select: none; 			/* Firefox */
        -ms-user-select: none; 				/* Internet Explorer/Edge */
        user-select: none; 				/* Non-prefixed version, currently not supported by any browser */
	-webkit-tap-highlight-color: rgba(0,0,0,0); 	/* What actually works */
}

/*-------------Page Top Margins--------------*/

/*tSpaceValue - Change everywhere*/
.tSpace {
	line-height: 0px;	
}

/*tSpaceMValue - Change everywhere*/
.tSpaceM {
	line-height: 20px;	
}

/*tSpaceMMainValue - Change everywhere*/
.tSpaceMMain {
	line-height: 20px;	
}

/*tSpaceValuesForBigPagesOtherScreens - Change everywhere*/
.tSpaceB {
	line-height: 120px;	
}

/*--------------Blinking-------------------*/

.blinking{
    animation:blinkingText 2.1s infinite;
}

@keyframes blinkingText{
    5%{    color: transparent; }
}

/*--------------Title/Content---------------*/

#title {
	font-family: 'GentiumBasicI';
	font-size: 30pt;
	text-decoration: none; 
	color: #ea3e28;
}

#content {
	font-family: 'GentiumBasic';
	font-size: 13pt;
	line-height: 26px;
	color: black;
}

#content a {
	text-decoration: none; 	
	color: #5d0f0d;
}

#content #title {
	font-family: 'GentiumBasic';
	font-size: 16pt;
	line-height: 30px;
	text-decoration: none; 
	font-weight: bold;
	color: black;
}

#content a:hover {
	text-decoration: none; 	
	color: #ea3e28;
}

.footerStf {
	font-family: 'GentiumBasic';
	line-height: 17px;
	font-size: 9pt;
	color: black;	
}

.footerStf a {
	text-decoration: none; 
	color: #663411;
}

.footerStf a:hover {
	text-decoration: none; 	
	color: #190d04;
}

.footindex {
	width: 40%;
	position: fixed;
	bottom: 5px;
	left: 31%;
}

.fbottomcenter { 
        text-align: center;  
        float: left;
        width: 60%;
}  

.fblanks {
	float:left;
	width:19%;
}

#content iframe {
	display: block;
	margin: 0 auto;
	width: 400px;
	height: 225px;
}

#subtitle {
	font-size: 14pt;
	font-weight: bold;
}

/*--------------FontAwesome---------------*/

.fa-facebook, .fa-twitter, .fa-youtube, .fa-instagram, .fa-circle, .fa-arrow-right {
    	color: #585858;
}

.fa-facebook:hover, .fa-twitter:hover, .fa-youtube:hover, .fa-instagram:hover, .fa-arrow-right:hover {
    	color: #ea3e28;
}

.fa-arrow-right:active {
    	cursor: wait;
}

/*-------------Checkbox---------------*/

input[type=checkbox].css-checkbox {
	position:absolute; 
	z-index:-1000; 
	left:-1000px; 
	overflow: hidden; 
	clip: rect(0 0 0 0); 
	height:1px; 
	width:1px; 
	margin:-1px; 
	padding:0; 
	border:0;
}

input[type=checkbox].css-checkbox + label.css-label, input[type=checkbox].css-checkbox + label.css-labelB {
	padding-left:24px;
	margin-left:2px;
	margin-bottom:4px;
	height:16px; 
	display:inline-block;
	line-height:16px;
	background-repeat:no-repeat;
	background-position: 0 0;
	font-size:16px;
	vertical-align:middle;
	cursor:pointer;
}

input[type=checkbox].css-checkbox:checked + label.css-label, input[type=checkbox].css-checkbox:checked + label.css-labelB {
	background-position: 0 -16px;
}
						
label.css-label {
	background-image:url(../images/checkbox.png);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
						
label.css-labelB {
	background-image:url(../images/checkboxB.png);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/*--------------Input box---------------*/

textarea {
  	outline: none; 
  	margin: 7px;
	padding: 0.3em 0.3em 0.3em 0.3em;
  	display: inline-block;
  	position: relative;
  	width: 90%;
  	border: none;
	text-decoration: none;
	color: black;
    	font-family: 'GentiumBasic';
	font-size: 12pt;
  	opacity: .4;
  	transition: all linear .3s;
}

textarea:focus {
  	opacity: 0.8;
}

input[type="email"], input[type="text"] {
	appearance: none;
	background: none;
	display: inline-block;
	padding: 0em 0.7em 0.15em 0.7em;
	text-decoration: none;
	width: 255px;
	height: 25px;
	color: black;
    	font-family: 'GentiumBasic';
	font-size: 12pt;
    	border: none;
    	border-bottom: 2px solid #ea3e28;
}

input:invalid {
    	box-shadow: none;
}

/*--------------Select menu--------------*/

.styled-select Select {
   	background: transparent; 
   	width: 190px;
   	text-align-last: left;
   	padding: 5px;
    	font-family: 'GentiumBasic';
    	color: black;
   	font-size: 16px;
   	line-height: 1;
   	border: 0;
   	border-radius: 0;
   	-webkit-appearance: none;
    	border-bottom: 2px solid #ea3e28;
}

.styled-select Select option
{
    background-color: #ffc966;
}

Select::-ms-expand {
    display: none;
}

/*----------------Button-----------------*/

.button {
    	background-color: #585858; 
    	border-radius: 4px;
    	font-family: 'GentiumBasic';
    	border: none;    
    	padding: 10px 20px;
    	text-align: center;
    	color: #ffb52b;
    	text-decoration: none;
    	display: inline-block;
    	font-size: 16px;
}

.button:hover {
    	color: #7fff00;
}

.button:active {
    	background-color: #ffb52b; 
    	color: #585858;
    	cursor: wait;
}

/*------------------Article, Section, Aside------------------*/

article {
    	display: table;
}

aside {
    	display: table-cell;
    	vertical-align: top;
  	width: 25%;
  	height: 90px;
  	/*border: 2px dashed blue;*/
}

artSpace {
    	display: table-cell;
  	width: 2%;
	font-size: 60pt;
  	height: 90px;
}

section {
    	display: table-cell;
    	vertical-align: top;
  	width: 65%;
  	height: 90px;
	font-family: 'GentiumBasicI';
	font-size: 12pt;
	line-height: 20px;
}

section a {
	text-decoration: none;
	font-family: 'GentiumBasic';
	font-size: 14pt;
	line-height: 26px;
	color: #142a4b;
}

section date {
	font-family: 'GentiumBasic';
	font-size: 12pt;
	line-height: 20px;
	color: #142a4b;
}

hr {
    	display: block;
    	height: 1px;
    	border: 0;
    	border-top: 1px solid #000;
    	margin: 1em 7em 1em 0;
    	padding: 0;
}

/*------------------Gallery stuff-------------------*/

.thumb_gallery {
  	width: 30%;
  	cursor: pointer;
}

.thumb_gallery:hover { opacity: 0.7; }

#background_overlay {	
	display: none;
	position: fixed;
	top: 50%; left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	z-index: 999;
	text-align: center;
    background: rgba(255, 255, 255, 0.3);	
  	cursor: pointer;
}

.activePopUpImg {
	max-width: 100%;
  	cursor: pointer;
}
	
.previousImage, .nextImage, .closebtn {
    position: absolute;
  	color: #ffffff;
  	font-size: 3.6em;
  	cursor: pointer;
}

.closebtn {
    top: 10px;
    right: 10px;
  	text-align: right;
}

.previousImage, .nextImage {
    bottom: 20px;
}

.previousImage {
    left: 10px;
  	text-align: left;
}

.nextImage {
    right: 10px;
  	text-align: right;
}

/*------------------SlideShow--------------------*/

.mySlides {display:none}

.slideshow-container {
  	position: relative;
  	margin: auto;
}

.prev, .next {
  	cursor: pointer;
  	position: absolute;
  	top: 50%;
  	width: auto;
  	padding: 16px;
  	margin-top: -22px;
  	color: white;
  	font-weight: bold;
  	font-size: 20px;
  	transition: 0.6s ease;
  	border-radius: 0 3px 3px 0;
  	-webkit-touch-callout: none;
  	-webkit-user-select: none;
  	-khtml-user-select: none;
  	-moz-user-select: none;
  	-ms-user-select: none;
  	user-select: none;
}

.next {
  	right: 0;
  	border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  	background-color: rgba(0,0,0,0.8);
}

.active:hover {
  	background-color: #717171;
}

/*------------------width: 1000px------------------*/

@media screen and (max-width: 1000px) {	
	.inner {
	    	width: 50%;
	}
	
	#logo {
		width: 40%;
	}
}

/*------------------width: 768px------------------*/

@media screen and (max-width: 768px) {
	body {
		background: url(../images/skyP.png) no-repeat;
		background-attachment: fixed;
	}
	
	header {
		background: url(../images/skyP.png) no-repeat;
	}
	
	.inner {
	    	width: 66%;
		z-index: 2;
	}
	
	#logo {
		width: 48%;
	}
	
	nav {
		padding: 20px 15px 10px 0px;
	}
		
	#slideoutl {
		top: 90px;
	}

	#slideoutl_inner {
		top: 90px;	
	}

	#slideoutr {
		top: 90px;
	}

	#slideoutr_inner {
		top: 90px;	
	}

	nav ul, nav:active ul {
		top: 36px;
		right: 36px;
	}
	
	#title {
		font-size: 26pt;
	}
	
	#content {
		font-size: 12pt;
		line-height: 22px;
	}
	
	#content iframe {
		width: 267px;
		height: 150px;
	}	
	
	section {
		font-size: 11pt;
		line-height: 18px;
	}
	
	section a {
		font-size: 13pt;
		line-height: 22px;
	}
	
	artSpace {
		font-size: 40pt;
	}

	input[type="email"], input[type="text"] {
		width: 190px;
	}		

	.fblanks {
		width:0%;
	}
	
	.fbottomcenter { 
	        width: 96%;
	}  	
}

/*------------------width: 601px------------------*/

@media screen and (max-width: 601px) {	
	.main img {
		width: 56%;
	}
		
	#slideoutl {
		top: 90px;
	}

	#slideoutl_inner {
		top: 90px;	
	}

	#slideoutr {
		top: 90px;
	}

	#slideoutr_inner {
		top: 90px;	
	}
}

/*------------------width: 501px------------------*/

@media screen and (max-width: 501px) {	
	.main img {
		width: 56%;
	}
	
	article {
	    	display: block;
	}
	
	aside {
	    	display: block;
  		height: auto;
	}
	
	artSpace {
  		height: auto;
		font-size: 0pt;
	}
	
	section {
	    	display: block;
  		width: 95%;
  		height: auto;
		font-size: 10pt;
		line-height: 17px;
	}
	
	section a {
		font-size: 11pt;
		line-height: 20px;
	}
	
	hr {
	    	margin: 1em 4em 2em 0;
	}
	
	.footindex {
		width: 80%;
		left: 12%;
	}
	
	#logo {
		width: 60%;
	}
}

/*------------------width: 461px------------------*/

@media screen and (max-width: 461px) {				
	nav li a:hover {
		font-family: 'GentiumBasicI';
		color: black;
	}
	
	#title {
		font-size: 24pt;
	}
	
	#content {
		font-size: 11pt;
		line-height: 20px;
	}		
}

/*------------------width: 400px------------------*/

@media screen and (max-width: 400px) {
	.inner {
	    	width: 75%;
	}
		
	#menu-icon {
		width: 24px;
		height: 16px;
	    	background-image: url(../images/miconS.png);
	}
	
	#logo {
		width: 75%;
	}
	
	nav:hover #menu-icon {
		background-image: url(../images/omiconS.png);
	}	
		
	nav {
		padding: 25px 15px 30px 0px;
	}
	
	nav ul, nav:active ul {
		top: 42px;
		right: 28px;
	}	
		
	nav li {
		padding: 3px 4px 0px 4px;
	}
	
	nav li a {
		font-size: 13pt;
	}	
	
	input[type="email"], input[type="text"] {
		width: 125px;
	}		
	
	#content iframe {
		width: 200px;
		height: 112px;
	}			
}

/*--------------height: 601px----------------*/

@media screen and (max-height: 601px) {		
	.tSpace {
		line-height: 30px;	
	}
	
	/*tSpaceValuesForBigPagesOtherScreens - Change everywhere*/
	.tSpaceB {
		line-height: 120px;	
	}
	
	.tSpaceM {
		line-height: 120px;	
	}
	
	.tSpaceMMain {
		line-height: 40px;	
	}
}

/*--------------height: 391px----------------*/

@media screen and (max-height: 391px) {	
	.main img {
		width: 42%;
	}
	
	.tSpace {
		line-height: 70px;	
	}
	
	.tSpaceM {
		line-height: 120px;	
	}	
	
	.tSpaceMMain {
		line-height: 80px;	
	}
}
	
/*--------------height: 241px----------------*/

@media screen and (max-height: 241px) {		
	nav li a {
		color: black;
	}
	
	nav li a:hover {
		font-family: 'GentiumBasic';
		color: #f29d00;
	    	background-color: black;
	}		
}

/*------------------width: 285px------------------*/

@media screen and (max-width: 285px) {	
	#logo {
		margin: 10px 0px 0px 24px;
		height: 44px;
	}
		
	nav {
		float: right;
		margin: 0px 98px 0px 0px;
	}
	
	nav ul, nav:active ul {
		top: 85px;
		right: 53px;
	}	
	
	nav li {
		text-align: center;
		width: 140px;	
	}
		
	#menu-icon {
	    	background-image: url(../images/dots.png);
	}
	
	nav:hover #menu-icon {
		background-image: url(../images/odots.png);
	}
	
	.main img {
		width: 52%;
	}	
	
	/*tSpaceValueForSmallestScreen - Change everywhere*/
	.tSpace, .tSpaceB {
		line-height: 125px;	
	}
	
	.tSpaceM {
		line-height: 120px;	
	}
	
	.tSpaceMMain {
		line-height: 90px;	
	}
	
	#title {
		font-size: 21pt;
    		text-align: center;
	}
	
	#content {
		font-size: 11pt;
		line-height: 19px;
	}	
	
	#content iframe {
		width: 180px;
		height: 102px;
	}	
	
	section {
		font-size: 9pt;
		line-height: 16px;
	}
	
	section a {
		font-size: 11pt;
		line-height: 19px;
	}
	
	input[type="email"], input[type="text"] {
		width: 80px;
	}		
}

/*--------------width: 285 and height: 391px----------------*/

@media screen and (max-height: 391px) and (max-width: 285px) {	
	.main img {
		width: 42%;
	}
}

/*------------------width: 266px------------------*/

@media screen and (max-width: 266px) {	
	#logo {
		margin: 10px 0px 0px 22px;
	}
		
	nav {
		margin: 0px 90px 0px 0px;
	}
}

/*------------------width: 256px------------------*/

@media screen and (max-width: 256px) {	
	#logo {
		margin: 10px 0px 0px 20px;
	}
		
	nav {
		margin: 0px 80px 0px 0px;
	}
}

/*------------------width: 246px------------------*/

@media screen and (max-width: 246px) {	
	#logo {
		margin: 10px 0px 0px 16px;
	}
		
	nav {
		margin: 0px 77px 0px 0px;
	}
}

/*------------------width: 241px------------------*/

@media screen and (max-width: 241px) {
	#logo {
		margin: 10px 0px 0px 8px;
	}
	
	nav {
		float: right;
		margin: 0px 75px 0px 0px;
	}	
	
	nav ul, nav:active ul {
		right: 30px;
	}	
}

/*--------------height: 321px, width: 241px----------------*/

@media screen and (max-height: 321px) and (max-width: 241px) {		
	nav li a {
		color: black;
	}
	
	nav li a:hover {
		font-family: 'GentiumBasic';
		color: #f29d00;
	    	background-color: black;
	}
	
	/*tSpaceValueForSmallestScreen - Change everywhere*/
	.tSpace, .tSpaceB {
		line-height: 125px;	
	}
	
	.tSpaceM {
		line-height: 120px;	
	}
	
	.tSpaceMMain {
		line-height: 90px;	
	}		
}

/*--------------- height: 560px----------------*/

@media screen and (max-height: 560px) {		

	#background_overlay {
		height: 100%;
	}
			
	.activePopUpImg{
		width: 520px;
	}
	
}

/*--------------- height: 530px----------------*/

@media screen and (max-height: 530px) {	

	#background_overlay {
		height: 100%;
	}
		
	.activePopUpImg{
		width: 490px;
	}
	
}

/*--------------- height: 500px----------------*/

@media screen and (max-height: 500px) {	

	#background_overlay {
		height: 100%;
	}
		
	.activePopUpImg{
		width: 440px;
	}
	
}

/*--------------- height: 450px----------------*/

@media screen and (max-height: 450px) {	

	#background_overlay {
		height: 100%;
	}
		
	.activePopUpImg{
		width: 350px;
	}
	
}

/*--------------- height: 360px----------------*/

@media screen and (max-height: 360px) {	

	#background_overlay {
		height: 100%;
	}
		
	.activePopUpImg{
		width: 280px;
	}
	
}

/*--------------- height: 290px----------------*/

@media screen and (max-height: 290px) {	

	#background_overlay {
		height: 100%;
	}
		
	.activePopUpImg{
		width: 220px;
	}
	
}

/*--------------width: 321px, height: 241px----------------*/

@media screen and (max-width: 321px) and (max-height: 241px) {	
	.main img {
		width: 32%;
	}	
}

/*---------------------iOS------------------------*/

@supports (-webkit-touch-callout: none) {
  /* CSS specific to iOS devices */ 
  
  	nav ul, nav:active ul {
  		top: 55px;
  	}
	 
	header {
		background: #feb800;
	}
	
	body {
		background: #feb800;
	}
	
	.tSpaceB {
		line-height: 120px;	
	}	
	
	.tSpaceM {
		line-height: 120px;	
	}
	
	.togglel {
			padding-bottom: 74px;
	}
	
	.toggler {
			padding-bottom: 74px;
	}
	
	input[type="email"], input[type="text"] {
		width: 160px;
	}		 	 
}

@supports (-webkit-overflow-scrolling: touch) {
  /* CSS specific to iOS devices */ 
  
  	nav ul, nav:active ul {
  		top: 55px;
  	}
	 
	header {
		background: #feb800;
	}
	
	body {
		background: #feb800;
	}
	
	.tSpaceB {
		line-height: 120px;	
	}	
	
	.tSpaceM {
		line-height: 120px;	
	}
	
	.togglel {
			padding-bottom: 74px;
	}
	
	.toggler {
			padding-bottom: 74px;
	}
	
	input[type="email"], input[type="text"] {
		width: 160px;
	}		 	 
}

/*--------------width larger than 1400----------------*/

@media screen and (min-width: 1400px) {	
	
	header {
		background: #feb800;
	}
	
	body {
		background: #feb800;
	}	
}

/*--------------------------------------------------*/
