* {
    box-sizing: border-box;
}
body {
    font-family: 'lato', sans-serif;
   font-size: 17px;
    color: #333;
    }
h1 {
    font-family: 'Montserrat',sans-serif;
    text-align: center;
}
form h2 {
    color: #ffdf74;
    background:  #3db4ff;
    text-align: center;
    padding: .5em;
    border-radius: 10px;
   text-transform: uppercase;
    font-size: 1.8em;
    line-height: 1.1;
}

form {
    width: 50%;
    margin: auto;
    border: 1px solid #909090;
    border-radius: 8px;
    padding: 2em;
    background: #525252;
    min-width: 400px;
    line-height: 1.5em;
}
form p {
    font-weight: bold;
}
fieldset {
    background: #afcbff;
    padding: 1em 2em 2em;
    margin: 2em auto;
    border-radius: 5px;
    border: #455454 1px solid; 
    box-shadow: 0 2px 10px rgba(0,0,0,10);
}
legend {
    background: #ffdf74;
    padding: .5em;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,10);
    text-transform: uppercase;
    font-size: 1em;
    width: 60%;
    min-width: 250px;
    text-align: center;
    border: #a7a7a7 1px solid;
}
label {
    color: #003d97;
    font-weight: normal;
}
input[type="text"] {
    /*
    background: #fff url(images/name.png) no-repeat 10px center;
    background-size: auto 75%;
    */
    padding: 1em 1em 1em 60px;
}

input[type="email"] {
    /*
    background: #fff url(images/email.png) no-repeat 10px center;
    background-size: auto 75%;
    */
    padding: 1em 1em 1em 60px;
}

input[type="tel"] {
    /*
    background: #fff url(images/phone.png) no-repeat 10px center;
    background-size: auto 75%;
    */
    padding: 1em 1em 1em 60px;
}

input[type="password"] {
    /*
    background: #fff url(images/password.png) no-repeat 10px center;
    background-size: auto 75%;
    */
    padding: 1em 1em 1em 60px;
}

input[type="submit"] {
    background: #3db4ff url(images/submit2.png) no-repeat 10px center;
    background-size: auto 75%;
    padding: 1em 1em 1em 60px;
    text-transform: uppercase;
    color: white;
    border: 1px solid #fff;
    width: 150px;
    display: block;
    margin: auto;
}

input[type="submit"]:hover {
    background: #ffdf74 url(images/submit.png) no-repeat 10px center;
    background-size: auto 75%;
    color: black;
}

input, textarea {
    display: block;
    /*padding: .5em;*/
    font-family: lato, arial, sans-serif;
    font-size: 1em;
    color: #3e3e3e;
    width: 100%;
    border-radius: 4px;
    border: none;
}
input[type="radio"]{
    display: inline;
    width: auto;
}
input[type="checkbox"]{
    display: inline;
    width: auto;
}

.input-wrap {position: relative; display: block;}
.input-wrap img {
    position: absolute;
    top: 7px;
    left: 10px;
    height: 40px;
    width: auto;
    z-index: 100;
}

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 2px solid green;
  -webkit-text-fill-color: green;
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
  transition: background-color 5000s ease-in-out 0s;
}

/*SPECIAL CLASSES*/
.hide {
    text-indent: -99999px;
    display: inline-block;
    }    
.decorative {
    background: url(images/divider.png) no-repeat center 65%;
    background-size: 100%;
        
}