/* RESET */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
}
p {
    font-size: 1.2em;
}

/* panel */
.panel {
    border: 1px solid #ddd;
}

/* FONTS */
body {
    font-family: "Pontano Sans", Helvetica, Arial, sans-serif;
    font-weight: 400;
}
label, input, select, footer, header {
    font-family: "Lato", Helvetica, Arial, sans-serif;
}
h1, h2 {
    font-weight: bold;
}

/* BASE SECTIONS */

/* header */
header {
    border-top: 15px solid #57a2df;
    background: white;
    padding: 10px 30px;
    box-shadow: 1px 1px 8px rgba(0,0,0,0.5);
    margin-bottom: 5px;
}
header img {
    height: 65px;
}
header h2 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    padding-bottom: 5px;
}
@media screen and (max-width: 599px) {
    header h2 {
        margin-top: 10px;
    }
}
header a,
header a:focus,
header a:hover {
    text-decoration: none;
}

/* footer */
footer {
    background: white;
}

/* main */
main {
    padding: 0 1em;
}
.masthead {
    text-align: center;
    padding: 3em 0;
}
.masthead  small {
    color: white;
}

/* COMPONENTS */

/* Input */
.input {
    padding-bottom: 15px;
}

/* Submit Button */
.submit-button {
    font-size: 1.2em;
    font-weight: bold;
    padding: 15px 45px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: none;
    background: #57a2df;
    color: white;
}
.submit-button:hover,
.submit-button:focus {
    background: rgb(51, 122, 183);
}
.submit-button[disabled='disabled'] {
    background: grey;
    color: lightgrey;
    cursor: not-allowed;
}

/* Form */
.form {
    margin-bottom: 1em;
    border-radius: 8px;
    box-shadow: 1px 1px 8px rgba(0,0,0,0.5);
}
.form-head {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background: #57a2df;
    color: white;
    text-align: center;
    padding: 0 1em;
}
.form-head h3 {
    padding: 2em 0;
}
.form-body {
    background: whitesmoke;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 1em 2em 0.5em 2em;
}

/* Form controls */
.form-control {
    background: #fff;
    border: 1px solid #d5d5d5;
    color: #333;
}
.form-control::placeholder {
    color: #cccccc;
}

/* iconbox */
.iconbox {
    background: white;
    margin-bottom: 3em;
    text-align: center;
    padding: 2em 1em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
.iconbox-icon {
    height: 120px;
    width: 120px;
    background: #f9916c;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.iconbox-alt .iconbox-icon {
    background: #6aaa49;
}
.iconbox-icon i {
    font-size: 75px;
    padding: 20px;
    color: white;
}
.iconbox h1 {
    font-weight: normal;
    margin: 1em 0;
}

/* Layout */
html {
    height: 100%;
}
body {
    min-height: 100%;
    position: relative;
}
.layout {
    padding-bottom: 90px;
}
footer {
    padding: 15px 0;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}
footer img {
    max-height: 60px;
}

/* WELCOME PAGE */
.welcome .masthead h1 {
    text-shadow:1px 1px 5px #ffffff,1px -1px 5px #ffffff,-1px 1px 5px #ffffff,-1px -1px 5px #ffffff;
}
.welcome .form {
    margin-top: 50px;
    margin-bottom: 100px;
}

/* THANKYOU PAGE */
.thankyou main {
    padding-top: 100px;
}
.thankyou .masthead {
    padding: 50px;
    text-align: left;
    margin: 1em;
}
