@import url(http://fonts.googleapis.com/css?family=Droid+Sans);
@import url(http://fonts.googleapis.com/css?family=Roboto+Slab);
* {
  
  /*with these codes padding and border does not increase it's width.Gives intuitive style.*/
  
  -webkit-box-sizing: border-box;   
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


div#envelope{
	width: 80%;
	margin: 10px 10% 10px 10%;
	background-color: #Fff;
	padding: 0;
	border: 1px solid gray;
	border-radius: 10px;
	} 
	
div#responsive{
width:95%;
/*margin-left:5%;*/
}  

form header {
  margin: 0; 
  text-align:center;
  font-family: 'Roboto Slab', serif;
  }
  
form header div {
  font-size: 90%;
 }

/* Makes responsive fields.Sets size and field alignment.*/
input[type=text],
input[type=email],
input[type=url],
input[type=tel]
 {
	width: 100%;
	padding: 10px;
	border: 1px solid #707070;
	margin-top:15px;
	margin-bottom:15px;
	font-family:century-gothic, sans-serif;
}
textarea{
	width: 100%;
	border: 1px solid #707070;
	margin-top:15px;
	margin-bottom:15px;
	font-family:century-gothic, sans-serif;
	padding-left:10px;

  }


/*div{
	padding-top: 3px;
	padding-right: 0;
	padding-bottom: 3px;
	padding-left: 0;
}*/
 
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=tel]:focus,
textarea:focus {

  border-color: #4697e4;
}
label{
margin-left:0;
}

/* Sets form button size*/
input[type=submit]{
	border: 1px solid #0F4352;
	padding: 15px;
	border-radius: 0px;
	text-transform: capitalize;
	font-family: century-gothic, sans-serif;
	font-weight: 700;
	font-style: normal;
text-decoration: none;
color: #fff;
display: inline-block;
margin-top: 15px;
margin-bottom: 15px;
transition: background-color 0.5s ease !important;
font-size: 1em;
background-color:#33AED2;
}

input[type=submit]:hover{
	background-color:#0F4352;
	color:#fff;
	transition: background-color 0.5s ease !important;	
}


/* By using @ media form can have different layout for screen, mobile phone, tablet.*/

/* Sets the form layout for mobile phone, tablet*/
@media screen and (max-device-width: 600px) {

div#envelope{
width:50%;
	margin: 10px 30% 10px 25%;
	background-color:#f2f4fb;
	padding:0;
	border:1px solid gray;
	border-radius:10px;
	} 
	
div#responsive{
width:100%;
/*margin-left:25%;*/
}  

form header {
  margin: 0; 
  text-align:center;
  font-family: 'Roboto Slab', serif;
  }
  
form header div {
  font-size: 90%;
 }

/* Makes responsive fields.Sets size and field alignment.*/
input[type=text],
input[type=email],
input[type=url],
input[type=tel]
 {
width:100%;
  padding: 15px;
  border-radius:5px;
  border:1px solid #7ac9b7;
}
textarea{
	width:100%;
    border:1px solid #7ac9b7;
	border-radius:5px 
  }


div{
  /*padding:10px 0;*/
}
 
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=tel]:focus,
textarea:focus {

  border-color: #4697e4;
}
label{
margin-left:0;
}


input[type=submit]{
width:160px;
padding:20px 2px;
border-radius:5px;
border:2px solid  #4697e4;
margin-right:10%
}
}
select {width:100%;
height:50px;
border:1px solid #7ac9b7;
font-size:16px;}  
