#contact{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
#contact h4{
    color: #fff;
    font-weight: 800;
    margin-bottom: 10px;
}
#contact ul li {
    list-style: none;
    padding-bottom: 50px;
    font-size: 11px;
    text-align: center;
    color: #fff;
    font-weight: 500;
}

#contact ul {
    display: inline-block;
    padding-inline-start: 0px;
    width: 100%;
}
#contact li{
    padding: 10px 5px 0px;
    /*margin-right: 10.5px;*/
    margin-left: auto;
    margin-right: auto;
}
#contact li div{
    display: grid;
    align-content: center;
    height: 50px;
    background: url(../images/bgicon.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#contact li div a{
    padding: 15px;
    font-size: 18px;
    color: #000;
    font-weight: 800;
}
#contact {
    background: #004658;
    position: relative;
    width: 410px;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0,0,0,.1)
}
.js #contact {
    position: absolute;
    bottom: 0em;
    display: none;
    left:0; right:0;
}

input {
    border: 0;
    margin: 0em auto 1em;
    width: 100%;
    padding: 10px;
    border-bottom: 2px solid #004658;
    background: none;
    font-family: 'Fontawesome', 'Source Sans Pro', sans-serif;
    display: block;
    color: #004658;
    outline: none;
}
textarea{
    border: 0;
    width: 100%;
    height: 80px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background: none;
    padding: 10px;
    font-family: 'Fontawesome', 'Source Sans Pro', sans-serif;
    border-bottom: 2px solid #004658;
    color: #004658;
}
input[type=submit]{
  margin: 1em auto 0;
  border: 2px solid #004658;
  color: #004658;
}
#submit:hover {
    color: #fff;
}
.btn{
    background: none;
    border: 2px solid #252525;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    margin: 0 auto;
    padding: 10px 40px;
    color: #212121;
    /*font-family: 'Open Sans';*/
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: ease all .3s;
    display: block;
}

.btn:hover{
    background: #7a00ff;
    color: #fff; border:
    #7a00ff solid 2px;
}
.btn:active{
    background: #3333aa;
    color: #fff;
    border: #3333aa solid 2px;
}

#contact .close {
    position: absolute;
    right: 0px;
    bottom: 0px;
    cursor: pointer;
    font-weight: 400;
    font-size: 2em;
    color: #ee4444;
    /*background: url(../images/bgicon.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;*/
    background: #fff;
    opacity: 1;
    width: 100%;
    height: 43px;
    display: grid;
    align-content: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
#contact .close:focus, .close:hover{
    opacity: 1;
}
#contact .close {
    font-size: 20px;
}
}
@media (max-width: 765px) {
    textarea{
        width: 250px;
    }
    input {
        width: 250px;
    }
    #contact li{
        margin-right: 5px;
        margin-left: 5.5px;
    }
    #contact li div a{
        padding: 11px;
    }
    #contact .close{
        right: 10px;
    }
}