body{margin: 0; padding: 0;}

@font-face {
    font-family: font1;
    src: url('../font/font1.woff2');
}
@font-face {
    font-family: font2;
    src: url('../font/font2.woff2');
}
@font-face {
    font-family: font3;
    src: url('../font/font3.woff2');
}

#imgBan {
    display: none;
}

#title {
    background-color: #595959;
    width: 100%;
    height: 60px;
}

#title h3 {
    display: inline-block;
    color: #fff;
    font-family: font2, sans-serif;
    margin: 17px 4%;
}

#text {
    padding: 20px 0;
}

#text h4 {
    font-family: font2, sans-serif;
    color: #1a1a1a;
    width: 80%;
    margin: 15px auto;
}

#text p {
    font-family: font1, sans-serif;
    color: #1a1a1a;
    width: 80%;
    margin: 15px auto;
}

#blue {
    background-color: #085296;
    height: 50px;
}

#blue h3 {
    color: #fff;
    font-family: font1, sans-serif;
    padding: 14px
}

#grey {
    text-align: center;
    background-color: #595959;
    height: 110px;
    padding-top: 18px;
}

#grey ul {
    display: inline-block;
    vertical-align: top;
    list-style: none;
}

#grey ul li {
    color: #fff;
    font-family: font1, sans-serif;
    text-align: left;
    margin: 8px;
}

form {
    text-align: center;
    padding: 30px 0;
}

#textarea {
    height: 10em;
    width: 20em;
    border: 1px solid #ccc;
    padding: 5px;
}

.text {
    width: 71%;
    height: 25px;
    margin: 10px;
    border: 1px solid #ccc;
    padding: 5px;
}

#btn {
    margin: 10px;
    background-color: #085296;
    color: #fff;
    font-family: font1, sans-serif;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    width: 40%;
    height: 35px;
}

footer {
    background-color: #085296;
    text-align: center;
}

footer small, ul {
    display: block;
}

footer small {
    display: inline-block;
    color: #fff;
    font-family: font1, sans-serif;
    margin: 15px auto;
}

footer ul {
    list-style: none;
}

footer ul li {
    display: inline-block;
    margin: 10px 7px;
}

@media only screen and (min-width: 1366px) {
    #imgBan {
        display: block;
        background-image: url("../image/contactUsBan.png");
        background-size: cover;
        height: 400px;
    }
    
    #title {
        display: none;
    }
    
    #text {
        width: 60%;
        margin: auto;
    }
    
    #blue {
        text-align: center;
    }
    
    #grey {
        padding: 40px 0;
    }
    
    #grey ul {
        margin: 0 30px;
        width: 15%;
    }
    
    form {
        width: 100%;
    }
    
    .text {
        width: 90%;
    }
    
    #textarea {
        width: 25em;
        height: 15em;
    }
    
    #message {
        padding: 10px 0;
        height: 210px;
    }
    
    #inputs {
        height:  230px;
    }
    
    #inputs, #message {
        display: inline-block;
        width: 25%;
        vertical-align: top;
    }
    
    #btn {
        margin-top: 30px;
        width: 8%;
    }
    
    footer {
        width: 100%;
        height: 60px;
    }
    
    footer small, footer ul {
        display: inline-block;
    }
    
    footer small {
        float: left;
        margin: 22px;
    }
    
    footer ul {
        float: right;
        margin: 8px 10px;
    }
    
    footer ul li {
        margin: 10px
    }
}