/* CSS Document */
body{margin: 0;
background-color: #f2f2f2;}

#main {width: 800px;
margin-left: auto;
margin-right: auto;
text-align: center;}

#main h1 {
	font-family: 'helvetica neue', helvetica, arial, sans-serif;
	font-size: 3em;
	font-weight: lighter;
	margin-top: -62px;
	margin-bottom: -50px;
	color: #221E20;
}
#main p{
	font-family: 'courier new', courier, monospace;
	color: #221E20;
	font-size: 1.313em;
}

#header{background-color: #221E20;
width: 100%;}
#nav{width: 100%;}

#header h1 {
	font-family: 'helvetica neue', helvetica, arial, sans-serif;
	font-size: 3em;
	font-weight: lighter;
margin-top: 0px;
margin-bottom: 0px;
color: #f2f2f2;}
#nav p {font-family: 'courier new', courier, monospace;
	color: #221E20;
	font-size: 1.313em;
	text-align: right;}
	
#blurb {width: 700px;
margin-left: auto;
margin-right: auto;}

#blurb p {
	font-family: 'courier new', courier, monospace;
	color: #221E20;
	font-size: 1.313em;}
#blurb h1 {font-family: 'Shadows Into Light', cursive;
text-align: right;}
#blurb h4 {font-family: helvetica neue, helvetica, arial, sans-serif;
font-weight: lighter;
text-align: center;
font-size: 3em;}

#forms{
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	text-align: left;
	font-family: helvetica neue, helvetica, arial, sans-serif;
	font-weight: none;
	
}

input[type=text]{
line-height: 30px;
			height: 30px;
font-family: 'courier new', courier, monospace;
font-size: 18px;
}
#forms h1{font-family: helvetica neue, helvetica, arial, sans-serif;
font-weight: lighter;
text-align: center;
	
}
#map {
height: 400px;
width: 600px;
margin-left: auto;
margin-right: auto;
}

#map h1{
color: black;
}

.answer{display: none;}

/*Validation CSS*/
input, select {
    border: 1px solid #888;
    background: #ffffff;
    padding: 3px 4px;
    color: #222;
    margin: 0px 5px 0px 0px;
    border-radius: 7px;
    -moz-border-radius: 7px;
}

input:focus, select:focus {
    outline: none;
}

.InputGroup {
    display: inline-block;
    padding: 3px 4px;
    border: 1px solid #FFF;
    border-radius: 7px;
    -moz-border-radius: 7px;
}

.ErrorField {
    border-color: #D00;
    color: #D00;
    background: #FFFFFE;
}

span.ValidationErrors {
    display: inline-block;
    font-size: 12px;
    color: #D00;
    padding-left: 10px;
    font-style: italic;
}

#blurb ul{
list-style-type: none;
list-decoration: none;
font-family: 'courier new', courier, monospace;
	color: #221E20;
	font-size: 1.313em;}

#blurb h2{font-family: helvetica neue, helvetica, arial, sans-serif;
	font-weight: lighter;}
#blurb h2:hover{
	  -ms-transform: translate(-20px,0px); /* IE 9 */
    -webkit-transform: translate(-20px,0px); /* Chrome, Safari, Opera */
    transform: translate(-20px,0px); /* Standard syntax */
}

	
#box {
	
	border: 1px solid black;
	width: 150px;
	height: 150px;
	overflow: hidden;
	display: inline-block;
	
}

#box img {
transition: transform 1s ease-out;
	transform: translate3d(0, 0px, 0);
}
 

#box img:hover {
	transition: transform 1s ease-in;
	transform: translate3d(0, -150px, 0);
	cursor:pointer;
}


.button {
   border-top: 1px solid #221e20;
   background: #221e20;
   background: -webkit-gradient(linear, left top, left bottom, from(#221e20), to(#221e20));
   background: -webkit-linear-gradient(top, #221e20, #221e20);
   background: -moz-linear-gradient(top, #221e20, #221e20);
   background: -ms-linear-gradient(top, #221e20, #221e20);
   background: -o-linear-gradient(top, #221e20, #221e20);
   padding: 14px 28px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: #f7f7f7;
   font-size: 14px;
   font-family: "Helvetica Neue",Helvetica, Arial, Sans-Serif;
   font-weight: lighter;
   text-decoration: none;
   vertical-align: middle;
   }
.button:hover {
   border-top-color: #f7f7f7;
   background: #f7f7f7;
   color: #221e20;
   }
.button:active {
   border-top-color: #f7f7f7;
   background: #f7f7f7;
   }

#footer{
font-family: 'courier new', courier, monospace;
font-size: 14px;
color: #221e20;
text-align: center;
}


#footer p:hover {
    background-color: #221e20;
	color: #f7f7f7;
    -webkit-transition: background-color 1000ms linear;
    -moz-transition: background-color 1000ms linear;
    -o-transition: background-color 1000ms linear;
    -ms-transition: background-color 1000ms linear;
    transition: background-color 1000ms linear;
}

#cf {
 
 width:100%;

 max-width: 1400px;

margin-left: auto;
margin-right: auto;
 
}

#cf img {
 position:absolute;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

#cf img.top:hover {
  opacity:0;
}