*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { content: ''; display: table; }
.clearfix:after { clear: both; }

body {
	background-color:whitesmoke;
	color: rgba(0,0,0,0.45);
	font-size: 100%;
	line-height: 1.25;
	font-family: Arial, sans-serif;
}

a {
	color: rgba(0,0,0,0.25);
	text-decoration: none;
	outline: none;
}

a:hover, a:focus {
	color: rgba(0,0,0,0.6);
}

.codrops-header {
	margin: 0 auto;
	padding: 1em 1em;
	text-align: center;
	color: rgba(0,0,0,0.35);
}

.codrops-header h1 {
    margin: 0 auto;
	max-width: 600px;
	padding: 0em 1em;
	font-weight: 400;
	font-size: 1.4em;
}

.codrops-header h1 span {
    margin-top:1em;
	display: block;
	padding: 0 0 0.6em 0.1em;
	font-size: 0.6em;
	opacity: 0.7;
}

.codrops-header a {
    margin-top:1em;
	font-size: 1.0em;
}

.codrops-header img {
	max-width:100%;
}

/* To Navigation Style */
.codrops-top {
	width: 100%;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.69em;
	line-height: 2.2;
}

.codrops-top a {
	display: inline-block;
	padding: 0 1em;
	text-decoration: none;
	letter-spacing: 1px;
}

.codrops-top span.right {
	float: right;
}

.codrops-top span.right a {
	display: block;
	float: left;
}

.codrops-icon:before {
	margin: 0 4px;
	text-transform: none;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	font-family: 'codropsicons';
	line-height: 1;
	speak: none;
	-webkit-font-smoothing: antialiased;
}

section {
	padding: 1em 2em 1em;
	background-color: white;
	text-align: center;
}

section.related {
	padding: 0.5em 1em 0.5em;
	background-color:lightgray;
	color: rgba(0,0,0,0.4);
	font-size: 0.8em;
}

.related > a {
	max-width: 80%;
	border: 2px solid rgba(0,0,0,0.3);
	display: inline-block;
	text-align: center;
	margin: 20px 10px;
	padding: 25px;
	-webkit-transition: color 0.3s, border-color 0.3s;
	transition: color 0.3s, border-color 0.3s;
}

.related a:hover {
	border-color: rgba(0,0,0,0.6);
}

.related a img {
	max-width: 100%;
	opacity: 0.4;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.related a:hover img,
.related a:active img {
	opacity: 1;
}

.related a h3 {
	margin: 0;
	padding: 0.5em 0 0.3em;
	max-width: 300px;
	font-weight: 400;
	font-size: 0.75em;
	text-align: left;
}

@media screen and (max-width: 44.75em) {
	section { padding: 1em 2em; }
}

@media screen and (max-width: 25em) {
	.codrops-header { font-size: 0.8em; }
	.codrops-icon span { display: none; }
}

/* Custom Styles */
/*****************/
/* Spacer */
.spacer {
    height:5px;
}

/* Static Form (staform) */
.staform.hide {
    display: none;
	opacity: 0;
	-webkit-transition: opacity 0.3s, visibility 0s 0.3s;
	transition: opacity 0.3s, visibility 0s 0.3s;
}

/* Select Box */
.selectbox {
	margin: 0.6em 0 0 0;
}
.dropcontainer {
    position: relative;
    font-size: 26px;
    color: #777;
}

.trigger {
    color: #777;
    padding: 20px;
    font-size: 26px;
    width: 100%;
    background:  url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHo+AACAQQAA+MoAAIC0AAB48QAA9RwAADw3AAAbzhlfIT4AAACJSURBVHjajNAxCsJAEEbhb5cU4i0sbHIaL6IQTxFPo4VeROwXQs4gKW1cWJZEM90wj5l5f0jDeMXBunqENIw7vLD9A09oIxL6FdsvSCENI2zwxH4BTmgxxeJc92P76cuIpRBuc6K45yZWwzPeleixBOLMr30tWgJZuqwcQJNFy2GzkHeHUMPwGQChFSPmzlJ1WgAAAABJRU5ErkJggg==) 98% center no-repeat;
    display: block;
    border: 1px solid #ccc;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.trigger:hover {
    color: #777;
    background:  url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHo+AACAQQAA+MoAAIC0AAB48QAA9RwAADw3AAAbzhlfIT4AAACJSURBVHjajNAxCsJAEEbhb5cU4i0sbHIaL6IQTxFPo4VeROwXQs4gKW1cWJZEM90wj5l5f0jDeMXBunqENIw7vLD9A09oIxL6FdsvSCENI2zwxH4BTmgxxeJc92P76cuIpRBuc6K45yZWwzPeleixBOLMr30tWgJZuqwcQJNFy2GzkHeHUMPwGQChFSPmzlJ1WgAAAABJRU5ErkJggg==) 98% center no-repeat;
}

.activetrigger {
    color: #777;
    padding: 20px;
    font-size: 26px;
    width: 100%;
    display: block;
    border: 1px solid #ccc;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.activetrigger:hover {
    color: #777;
}

.activetrigger:active {
    color: #777;
}

.dropcontainer ul {
    font-size: 26px;
    border: 1px solid #ccc;
    border-top: none;
    background: #fff;
    list-style-type: none;
    padding: 10px;
    margin: 0;
    width: 100%;
    z-index: 100;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.dropcontainer ul li {
    padding: 5px;
}

.dropcontainer ul li:hover {
    background: #f5f5f5;
    outline: none;
}

.dropcontainer ul li:first-child {
    display: none;
}

.dropcontainer ul li:last-child {
    border-bottom: none;
}

.dropdownhidden {
    display: none;
}

.dropdownvisible {
    height: auto;
}

/* Input */
input {
	display: block;
	margin: 0.3em 0 0.5em 0;
	padding: 0.5em 1em 0.5em 0.7em;
	width: 100%;
	border: none;
    background:rgba(0,0,0,0.1);
	color: rgba(0,0,0,0.8);
	font-size: 1em;
	line-height: 1;
	opacity: 1;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color:rgba(0,0,0,0.3);
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:rgba(0,0,0,0.3);
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:rgba(0,0,0,0.3);
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:rgba(0,0,0,0.3);
}

input:focus {
	outline: none;
}

input:read-only {
    background: none repeat scroll 0 0 transparent;
    border: medium none !important;
    color: #000000;
}


/* Header */
.hwrapper { 
  width: 100%;
  text-align:center;
}

.hwrapper div {
   min-height: 10px;
   padding: 10px;
}

.hcontainer {
    margin:0 auto;
    display:inline-block;
}

.helement {
  float:left; 
  margin-right:10px;
}

@media screen and (max-width: 750px) {
   .helement { 
    float: none;
    margin-right:0;
    width:auto;
    border:0;   
    font-size:1em;
  }
}

/* Footer */
.fwrapper { 
  width: 100%;
  text-align:center;
}

.fwrapper div {
   min-height: 30px;
   padding: 10px;
}

.fcontainer {
    margin:0 auto;
    display:inline-block;
}

.felement {
  float:left; 
  width:250px;
}

@media screen and (max-width: 750px) {
   .felement { 
    float: none;
    margin-right:0;
    width:auto;
    border:0;   
  }
}