﻿@import url(http://fonts.googleapis.com/css?family=Roboto+Slab);
* {
/* With these codes padding and border does not increase it's width and gives intuitive style.*/

-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
margin:0;
padding:0;
font-family: 'Roboto Slab', serif;
font-weight:bold;
}
div.envelope{
width: 55%;
margin: 10px auto 10px auto;
padding:10px 0;
border: 0px solid gray;
border-radius:10px;

}
/*form{
width:70%;
margin:4% 15%;
}*/
div.formDiv
{
width:90%;
margin:4% 5%;
}
header{
background-color: #fff;
text-align: center;
padding-top: 12px;
padding-bottom: 8px;
margin-top: -11px;
margin-bottom: -8px;
border-radius: 10px 10px 0 0;
color: aliceblue;
}
footer
{
    font-size:0.8em;
    text-align:center;
}

/* Makes responsive fields. Sets size and field alignment.*/
.dropdown
{
    margin-bottom: 20px;
margin-top: 10px;
width:100%;
padding: 15px;
border-radius:5px;
border:1px solid #d2d5e7;
}
input[type=text]{
margin-bottom: 20px;
margin-top: 10px;
width:100%;
padding: 15px;
border-radius:5px;
border:1px solid #d2d5e7;

}
input[type=submit]
{
margin-bottom: 20px;
width:80%;
padding: 15px;
border-radius:5px;
border:1px solid #0088db;
background-color: #0088db;
color: aliceblue;
font-size:15px;
cursor:pointer;
}
#submit:hover
{
background-color: black;
}
textarea{
width:100%;
padding: 15px;
margin-top: 10px;
border:1px solid #d2d5e7;
border-radius:5px;
margin-bottom: 20px;
resize:none;
}
input[type=text]:focus,textarea:focus {
border-color: #4697e4;
}

@media (max-width: 1200px) and (min-width: 601px) {
    div.envelope{
width: 80%;
margin: 10px 30% 10px 11%;
}

}

@media only screen and (max-width: 350px)
{
    input[type=submit]
{
padding:4px;
font-size:12px;
}
input[type=text]{
padding: 8px;
}
label{
font-size:12px;
}
h2{
font-size:15px;
}
p{
font-size:12px;
}
div.envelope{
width: 80%;
margin: 10px auto 10px auto;
}
header img{display:block; max-width:240px;}
}
@media (max-width: 600px) and (min-width: 351px) {
    h2 {
        font-size: 16px;
    }

    p {
        font-size: 14px;
    }

    label {
        font-size: 12px;
    }

    input[type=submit] {
        padding: 5px;
    }

    input[type=text] {
        padding: 8px;
    }

    div.envelope {
        width: 80%;
        margin: 10px 30% 10px 11%;
    }
	header img{display:block; max-width:300px;}
}
