/*Filename: styling.css
Date: 5/2/2014
Purpose: styling for Lancaster Home Remodeling Website
Author: Bhavana Vadrevu*/

/*universal css*/
body {
  	background-color: rgb(133,155,149);
  	font-family: 'Poiret One', 'cursive';
  	font-size:20px;
	margin: 0;
    padding: 0;
    padding-top: 10px;
    text-align: center; 
    background-color: #e6e6e6;  
}

#content #main h2 {
	font-family: 'Poiret One', 'cursive';
}
/*end of universal css*/

/*carousel on homepage*/

#carousel1{
  float: left;
  margin: 10px;
  margin-left: 35px;
  margin-top: 50px;
  position: fixed;
  left: 0px;
  width: 425px;
  height: 300px;
  overflow: hidden; /* if this is commented, one can see all images in a row*/ 
  position: relative;
  border: 10px solid rgb(133,155,149); 
  border-radius: 5px;
  box-shadow: 0 0 2px #999;
}

#carousel2{
  float: left;
  margin: 10px;
  margin-top: 50px;
  position: fixed;
  left: 0px;
  width: 425px;
  height: 300px;
  overflow: hidden; /* if this is commented, one can see all images in a row*/ 
  position: relative;
  border: 10px solid rgb(133,155,149); 
  border-radius: 5px;
  box-shadow: 0 0 2px #999;
}

#carousel1 ul {
 list-style: none;
 position: relative; 
 left: 0px;
 margin: 0px;
 padding: 0px;
 width: 10000em; /*make it vey big to contain all images*/
}

#carousel2 ul {
 list-style: none;
 position: relative; 
 left: 0px;
 margin: 0px;
 padding: 0px;
 width: 10000em; /*make it vey big to contain all images*/
}


#carousel1 li {
    float: left;
}

#carousel2 li {
    float: left;
}

#carousel1 li img {
	width: 425px;
	height: 300px;
}

#carousel2 li img {
	width: 425px;
	height: 300px;
}

#logo {
	float: left;
	margin-top: 90px;
	width: 300px;
}

/*end of carousel css*/

/*contact page css*/
#contact h2{
  margin-top: 60px;
  text-align: center;
}

#part1, #part2 {
  display: inline-block;
  padding: 5%;
  padding-top: 0px;
}

#part1 {
  margin-left: 10%;
}

#submit {
  font-family: 'Poiret One', 'cursive';
  font-size: 20px;
  background-color: #FFFFFF;
  width: 15%;
  margin-left: 42.5%;
  margin-right: 42.5%;
  height: 50px;
  border: none;
  border-radius: 5px;
}

#serverResponse {
  text-align: center;
  width: 50%;
  margin-left: 25%;
  margin-right: 25%;
  margin-bottom: 50px;
}
/*end of contact page css*/

/*about page css*/

#aboutlogo {
  display: block;
  margin: auto;
  margin-top: 50px;
}

#missionparagraph1 {
  margin-top: 0px;
  margin-left: 25%;
  float: left;
  width: 25%;
  margin-bottom: 200px;
}

#missionparagraph2 {
  margin-top: 0px;
  float: left;
  width: 25%;
}

/*end of about page css*/

/*nav.part styling*/
ul {
	margin:0;
	padding:0;
	list-style-type: none;
}

#nav li {
	float:left;
	width: 200px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background-color: #335C4E; 
	cursor: pointer; 
}
#nav li:hover {
	background-color: silver;
}

#nav li a,#nav li li a, li  {
	text-decoration: none;
	color: white;
	display: block;
}

#nav li li {
	background-color: #335C4E;
	color: white;
	display: none;
    width: 200px;
}

#nav li li:hover {
	background-color: silver;
}

#nav li ul {
    position: relative;
    z-index: 5000;
}

header {
    text-align: center; 
}

header div{
    width: 200px;
    display: inline-block; 
}

header div:nth-of-type(even){
    width: 500px;
    display: inline-block; 
}

header div:nth-of-type(odd){
    width: 140px;
    display: inline-block; 
}

header div:nth-of-type(1){
   text-align: left;  
   width: 100px;
}
#pageWrapper {
    width: 800px;
    text-align: left;
    border: 0px;
    padding: 0;
    margin: 0 auto;
}

/* gallery pages*/

#photo img {
    width: auto;
    max-width: 500px;
    height: 400px;
    border: 1px solid silver;
    padding: 5px;
    margin: 0 auto; 
}

#gallery img {
    display: inline-block;
	margin: 0 0 10px 0;
	border: 1px solid silver;
}

#gallery a {
    text-decoration: none; 
}

#photo {
    width: 800px;
    height:450px;
}
#gallery {
    width: 800px; 
}

#main {
    width: 800px;
    background-color: rgb(133,155,149); 
    margin: 0 auto; 
    text-align: center; 
    padding-top: 60px;
}
