
* {
  
  /*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:100%;
/*margin-top:-15px;
/*margin-left:5%;*/
}  

.terms{
	margin-top:-10px;
	margin-bottom:25px;
}


form header {
  margin: 0; 
  text-align:center;
  
  }
  
form header div {
  font-size: 90%;
 }


div#responsive input[type=text],
div#responsive input[type=email],
div#responsive input[type=url],
div#responsive input[type=tel],
div#responsive input[type=number],
div#responsive input[type=search], 
div#responsive input[type=password]{
width:500px;
margin-bottom:15px;	
}

/* Makes responsive fields.Sets size and field alignment.*/
input[type=text],
input[type=email],
input[type=url],
input[type=tel],
input[type=number],
input[type=search], 
input[type=password]
 {
	width: 100px;
	max-width:100%;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #7f7f7f;
font-family: 'Kurale', "serif;";
font-size:1em;
}
textarea{
	border: 1px solid #7f7f7f;
	border-radius: 5px;
	max-width: 100%;
	width:500px;
	font-family: 'Kurale', "serif;";
font-size:1em;
padding:5px;
  }

.search-field{
	width:78% !important;
}

/*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,
input[type=number]:focus,
input[type=search]:focus,
textarea:focus {

  border-color: #7f7f7f;
}
label{
margin-left:0;
}

/* Sets form button size*/
input[type=submit]{
	width:100px;
	max-width:100%;
	border-radius: 5px;
	border:0px;
	background-color: rgba(0, 0, 0, 0.5);
	font-size: 1em;
	color:#fff;
/*	margin-right: 10%;*/
	padding-top: 10px;
	padding-right: 2px;
	padding-bottom: 10px;
	padding-left: 2px;
	font-family: 'Kurale', "serif;";
	-webkit-transition: all linear .35s .1s;
	transition: all linear .35s .1s;
}

.search-button-top{
	width: 20% !important;
}

.update-button{
	width:125px !important;
	max-width:100% !important;
}

.add-new-address{
	margin-top:15px;
	width:150px !important;
	max-width:100% !important;
}

.add-to-basket{
	width:125px !important;
	max-width:100% !important;	
}

input[type=submit]:hover{
	outline: none;
	color: #000;
	background-color: #000000;
	background: rgba(180, 180, 180,.65);
}

/* 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) {
body {
   margin:0;
   padding:0;
  
  
  }
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;
  
  }
  
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 {max-width:100%;
/*width:500px;*/
height:45px;
border:1px solid #7f7f7f;
font-size:16px;
border-radius: 5px;
font-family: 'Kurale', "serif;";}  
