@font-face {
  font-family: 'Cuprum';
  font-style: normal;
  font-weight: 400;
  src: local('Cuprum'), local('Cuprum-Regular'), url('/fonts/Cuprum_v7.ttf') format('truetype');
}

h1, h2, h3, h4, body, input, textarea {
	font-family: 'Cuprum', sans-serif;
	-webkit-font-smoothing:antialiased;
	color:#f1f1f1;
	font-size: 1em; /* default text size, overriden when needed */
}

:focus {
	outline: none; /* alternative implemented in JS */
}

body {
	margin-left: 20%;
	margin-top:5%;
	margin-right: 10%;
	/* pattern by subtlepatterns.com */
	background-color: #3c3b3b;
	background-image:url('/pics/bg/gray_sand.png');
}

#content {
	width: auto;
}

h1 {
	font-size:4.5em;	
	font-weight:bold;
	line-height: 2em;
}

h2 {
	font-size:2em;
	font-weight:normal;
	line-height: 1.5em;
}

h3 {
	font-weight:normal;
	text-align: justify;
}

h4 {
	text-align: justify;
	font-weight: normal;
	line-height: 2em;
}


/* draw any selected text on green background */
::-moz-selection { 
	background: #5aff73; 
}
::selection { 
	background: #5aff73; 
}

.link1::-moz-selection, .link1::selection { 
	background: #297f36;  /* darker green */
}

a:link, a:visited, a:hover, a:active {
	text-decoration: none;
	font-weight:bold;
	color:#5aff73;
	cursor: pointer;
}

.link1, .link2 {
	cursor: pointer;
}

.link1 {
	text-decoration: none;
	font-weight:bold;
	color:#5aff73;
	cursor: pointer;
}

.link2, .link2:link, .link2:visited, .link2:hover, .link2:active {
	color: #777777;
	font-weight: normal;
	border-bottom: solid 3px #333333; /* The Fallback */
	border-bottom: solid 3px rgba(51,51,51, 0.7);
	display: inline-block; /* prevent it from wrapping text when window width is too small */
}

#listOfApps {
	display: none;
	background-color:rgba(51,51,51, 0.5);
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin-right:10%;
	padding: 1.5em 0em 0em 1em;
	width: intrinsic;
	width: -moz-max-content;    /* Firefox/Gecko */
	width: -webkit-max-content; /* Chrome */
	line-height: 1.6em;
}


.linkInList {
	display: inline-block;
	margin-right: 2.1em;
	margin-bottom: 1.2em;
}


#contactform {
	display:none;
	width: 50%; /* of content div */
	min-width: 300px; /* yes, pixels! */
	max-width: 400px;
}


input, textarea { 
	width: 100%;
	height: 3.8em;
	background: #333333; /* The Fallback */
	background: rgba(51,51,51, 0.7);
	padding: 5px;
	border: 0;
	box-shadow: rgba(0,0,0, 0) 0px 0px 3px;
	-moz-box-shadow: rgba(0,0,0, 0) 0px 0px 3px;
	-webkit-box-shadow: rgba(0,0,0, 0) 0px 0px 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


input:focus, textarea:focus {  
	box-shadow: rgba(0,0,0, 0.35) 0px 0px 3px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 3px;
	-moz-box-shadow: rgba(0,0,0, 0.35) 0px 0px 3px;
	background: #2A2A2A; /* The Fallback */
	background: rgba(42,42,42, 0.7);
	}

textarea {
	overflow:auto;
	resize:none;
}


/* styling for current browsers - subject to change */
::-webkit-input-placeholder {
	color: #666666;
}
::-moz-placeholder { /* Firefox 19+ */
	color: #666666;
}
:-ms-input-placeholder {
	color: #666666;
}
:-moz-placeholder { /* Firefox 18- */
	color: #666666;
}

#nameField:focus, #emailField:focus, #messageField:focus {
	color:#f1f1f1;
}

#nameField {
	color:#666666; /* for browsers which don't support the placeholder attribute (JS solution implemented) */
}

#emailField {
	margin-top: 1em;
	color:#666666; /* for browsers which don't support the placeholder attribute (JS solution implemented) */
}

#messageField {
	padding-top: 1.2em;
	margin-top: 1em;
	min-height: 8em;
	color:#666666; /* for browsers which don't support the placeholder attribute (JS solution implemented) */
}

#submit_form {
	width: 100%;
	height:2em;
	margin-top: 2em;
	border:none;	
	border: 0;
	outline: 0;
	box-shadow: rgba(0,0,0, 0) 0px 0px 3px;
	-moz-box-shadow: rgba(0,0,0, 0) 0px 0px 3px;
	-webkit-box-shadow: rgba(0,0,0, 0) 0px 0px 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
/*
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
*/
	cursor: pointer;
}

#sendButtonLabel {
	text-align: center;
	font-weight: normal;
	line-height: 2em;
	
}

.normal {
	/* IE10 */ 
	background-image: -ms-linear-gradient(top, #323232 0%, #303030 50%, #212121 50%, #313131 100%);
	/* Mozilla Firefox */ 
	background-image: -moz-linear-gradient(top, #323232 0%, #303030 50%, #212121 50%, #313131 100%);
	/* Opera */ 
	background-image: -o-linear-gradient(top, #323232 0%, #303030 50%, #212121 50%, #313131 100%);
	/* Webkit (Safari/Chrome 10) */ 
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #323232), color-stop(0.5, #303030), color-stop(0.5, #212121), color-stop(1, #313131));
	/* Webkit (Chrome 11+) */ 
	background-image: -webkit-linear-gradient(top, #323232 0%, #303030 50%, #212121 50%, #313131 100%);
	/* W3C Markup, IE10 Release Preview */ 
	background-image: linear-gradient(to bottom, #323232 0%, #303030 50%, #212121 50%, #313131 100%);
}

.hover {
	/* IE10 */
	background-image: -ms-linear-gradient(top, #212121 0%, #313131 50%, #303030 50%, #323232 100%);
	/* Mozilla Firefox */ 
	background-image: -moz-linear-gradient(top, #212121 0%, #313131 50%, #303030 50%, #323232 100%);
	/* Opera */ 
	background-image: -o-linear-gradient(top, #212121 0%, #313131 50%, #303030 50%, #323232 100%);
	/* Webkit (Safari/Chrome 10) */ 
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #212121), color-stop(0.5, #313131), color-stop(0.5, #303030), color-stop(1, #323232));
	/* Webkit (Chrome 11+) */ 
	background-image: -webkit-linear-gradient(top, #212121 0%, #313131 50%, #303030 50%, #323232 100%);
	/* W3C Markup, IE10 Release Preview */ 
	background-image: linear-gradient(to bottom, #212121 0%, #313131 50%, #303030 50%, #323232 100%);
}

#encryptBox {
	display: inline-block;
	margin-top: 1em;
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5em;
	cursor: pointer;
	background: #333333; /* The Fallback */
	background: rgba(51,51,51, 0.7);
	border: 0;
	outline: 0;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

#encryptLabel {
	display: inline-block;
	padding-left: 0.5em;
	height: 1.5em;
	line-height: 1.5em;
	color:#777777;
}

#cf_error {
	color: #5aff73;
	position:absolute;
	top: 20px;
	width: 200px;
}

#cf_success {
	display: none;
	margin-top: 2em;
	overflow: auto;
	clear: both;
}

#footer {
	margin-top: 7em;
	font-weight: normal;
}


#spacer {
	line-height: 2em;
}

#optOutIFrame {
	display: none;
}



@media only all and (max-width: 640px) {
	
	body {
		margin-left: 10%;
		margin-right: 10%;
	}
	
	h1 {
		font-size: 3.6em;
	}
	
	h2 {
		font-size: 1.46em;
	}
	
	.link2 {
		margin-bottom: 1.5em;
	}
	
	#footer {
		margin-top: 5.6em;
	}
	#spacer {
		line-height: 1em;
	}
}


@media only all and (max-width: 320px) {
	
	#contactform {
		min-width: 100%; /* needs to fill parent div completely */
	}
}