/*
   IT-270 Module 4 Homework

      August Rafting Trip Page
      Author: Troy Williams
      Date:   08/06/15

      Filename:         main.css
      Supporting files: raftwwfs.htm, media.css

*/

article, aside, header, 
section, nav {
   display: block;
}

/* Set the default page element styles */

body * {
   font-family: Verdana, Geneva, sans-serif;
   font-size: 100%;
   font-weight: inherit;
   line-height: 1.2em;
   list-style: none;
   margin: 0px;
   padding: 0px;
   text-decoration: none;
   vertical-align: baseline;
}

/* Body Styles */
body {
   background: white;
   width: 95%;
   min-width: 1000px;
   max-width: 1400px;
   font-family: Verdana, Geneva, sans-serif;
   font-weight: normal;
   
	background: -o-linear-gradient(white, rgb(132, 132, 132) 20%, white 80%); 
	background: -ms-linear-gradient(white, rgb(132, 132, 132) 20%, white 80%); 
	background: -moz-linear-gradient(white, rgb(132, 132, 132) 20%, white 80%); 
	background: -webkit-linear-gradient(white, rgb(132, 132, 132) 20%, white 80%); 
	background: linear-gradient(white, rgb(132, 132, 132) 20%, white 80%);

}

/* Header Styles */

header {
   width: 95%;
   text-align: center;
   
}

header nav {
   position: absolute;
   left: 290px;
   top: 240px;
   width: 70%;
   margin-top: 1.5%;
   
}

header nav ul li {

   display: block; 
   float: left; 
   width: 13%;
   margin: 0px 2px;
   text-align: center;
}

header nav ul li a {
   display: block;
   border: 1px solid black;
   width: 100%;
   background-color: rgb(61, 89, 171);
   color: white;
}

header nav ul li a:hover {
   color: black;
}

header h1 {
   clear:  left;
   width: 100%;
   font-size: 1.4em;
   letter-spacing: 3px;
   font-weight: bold;
   margin-left: 4%;
   margin-top: 2.75%; 
   
   color: rgb(61, 89, 171);
	text-shadow: black 1px 1px 0px,
				rgba(90, 127, 0, 0.7) 5px 5px 10px;
   
 }
 
 header h1.sub {
   
   margin-top: 3px;
	color: rgb(61, 89, 271);
   
   
 }
 
 header img.headImgs {
	 margin-left: 7%;
	 
	-moz-border-radius: 25px; 
	-webkit-border-radius: 25px; 
	border-radius: 20px;

	-moz-box-shadow: rgba(0, 0, 0, 0.6) 10px 10px 15px; 
	-webkit-box-shadow: rgba(0, 0, 0, 0.6) 10px 10px 15px; 
	box-shadow: rgba(0, 0, 0, 0.6) 10px 10px 15px;
	
}

/* Section Styles */

section article h2 {
   margin: 0px 0px 15px 0px;
   font-weight: normal;
   text-align: center;
   color:  white;
   background-color: rgb(61, 89, 171);

   -moz-border-radius-topleft: 30px;
   -webkit-border-top-left-radius: 30px;
   border-top-left-radius: 30px;

   -moz-border-radius-topright: 30px;
   -webkit-border-top-right-radius: 30px;
   border-top-right-radius: 30px;


   font-size: 1.2em;
   letter-spacing: 5px;
   line-height: 2em;
}

section article {
   background-color: white;
   border: 3px  solid rgb(255, 193, 193);

   -moz-border-radius:  30px;
   -webkit-border-radius:  30px;
   border-radius: 30px;

   margin-bottom: 20px;
   text-align: justify;
}

section article p {
   font-size: 0.9em;
   margin: 15px;
}

section article p img.waves {
	-o-transform: rotate(10deg); 
	-moz-transform: rotate(10deg); 
	-webkit-transform: rotate(10deg); 
	-ms-transform: rotate(10deg); 
	transform: rotate(10deg);
	
	-moz-border-radius: 25px; 
	-webkit-border-radius: 25px; 
	border-radius: 20px;

	-moz-box-shadow: rgba(0, 0, 0, 0.6) 10px 10px 15px; 
	-webkit-box-shadow: rgba(0, 0, 0, 0.6) 10px 10px 15px; 
	box-shadow: rgba(0, 0, 0, 0.6) 10px 10px 15px;
}


/* Middle Section Styles */
section.middle {
   width:  30%;
   float: left;
   margin-left: 18%;
   
}

section.middle img {
   position: center;
   clear: right;
   margin: 0px 0px 0px 10px;
   
}

section.middle img.waves {
   float: right;
   clear: right;
   margin: 0px 0px 0px 10px;
   opacity: 0.7;
}

/* Right Section Styles */
section.right {
   width: 35%;
   float: left;
   margin-left: 15px;
} 

/* Label Styles */
label {
	clear: left;
	display: block;
	float: left;
	font-size: 0.9em;
	margin: 1%;
	width: 30%;
}

/* Field set styles */
fieldset {
	background-color: rgb(191, 239,	255);
	border: 1px solid blue;
	float: left;
	margin: 2%;
	width: 96%;
}

/* Text area styles */
textarea { 
	display: block; 
	font-size: 0.9em; 
	float: left; 
	height: 100px; 
	margin: 10px 0px; 
	width: 66%;
}

/* Input control styles */
input {
	display: block;
	float: left;
	margin: 3px;
	width: 65%;
}

select {
	display: block;
	float: left;
	font-size: 0.9em;
	margin: 7px 0px;
	width: 35%;
}

input#state {
	width: 50px;
}
/* Button styles */
form p { 
	text-align: center;
}
input[type="reset"], input[type="button"] { 
	background-color: rgb(224,224,224);
	display: inline; 
	float: none; 
	height: 40px;
	width: 125px;
}

/* Validation styles */
input:focus, select:focus, textarea:focus { 
	background-color: rgb(220, 255, 220);
}

input:focus:valid { 
	background: rgb(220, 255, 220) url(../images/go.png) bottom right no-repeat;
	
	-o-background-size: contain; 
	-moz-background-size: contain; 
	-webkit-background-size: contain; 
	background-size: contain;
}

input:focus:invalid { 
	background: rgb(255, 232, 233) url(../images/stop.png) bottom right no-repeat;
	
	-o-background-size: contain; 
	-moz-background-size: contain; 
	-webkit-background-size: contain; 
	background-size: contain;
}

/* Footer and address styles */

footer {
   clear: both;
   padding-top: 40px;
}

footer address {
   border-top: 3px solid rgb(61, 89, 171);
   font-size: 18px;
   font-style: normal; 
   font-variant: small-caps; 
   text-align: center;
   margin-left: 4%;
}

