* {
    -webkit-box-sizing: border-box;
    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 {
    color: #333;
    font-size: 17px;
    width: 50%;
    min-width: 400px;
    margin: auto;
    border: 1px solid #a9a9a9;
    border-radius: 8px;
    padding: 2em;
    background: #5a5a5a;
    line-height: 1.5em;
    font-family: "Lato", sans-serif;
}

form h2 {
    color: #fff4d7;
    background: #1693ff;
    text-align: center;
    padding: 0.5em 0.25em;
    border-radius: 8px;
    text-transform: uppercase;
    font-family: Montserrat, arial, sans-serif;
    font-size: 1.8em;
    line-height: 1.1;
}

form p {
    font-weight: bold;
}

fieldset {
    background: #afdbff;
    padding: 1em 2em 2em;
    margin: 2em auto;
    border-radius: 5px;
    border: #b4b4b4 1px solid;
    -webkit-box-shadow: 0 2px 10px 5px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 10px 5px rgba(0, 0, 0, 0.15);
}
legend {
    background: #ffe299;
    padding: 0.5em;
    border-radius: 5px;
    -webkit-box-shadow: 0 2px 10px 5px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 10px 5px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    width: 60%;
    min-width: 250px;
    text-align: center;
    border: #ababab 1px solid;
}

label {
    color: #003d97;
    font-weight: normal;
}
input,
textarea {
    display: block;
    padding: 0.5em;
    font-family: Lato, arial, "sans-serif";
    font-size: 1em;
    color: #5f5f5f;
    width: 100%;
    border-radius: 4px;
    border: none;
}

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: #1693ff url(images/submit2.png) no-repeat 10px center;
    background-size: auto 75%;
    padding: 1em 1em 1em 60px;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #fff;
    width: 150px;
    display: block;
    margin: auto;
}

input[type="submit"] :hover {
    background: #ffe299 url(images/submit.png) no-repeat 10px center;
    background-size: auto 75%;
    color: #000;
}

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: 8px;
    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: 1px solid green;
    -webkit-text-fill-color: green;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    -webkit-transition: background-color 5000s ease-in-out 0s;
    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 68%;
    background-size: 100%;
}