#contact{
    width: 100%;
    height: 1000px;
    background-color: #000000;
    margin-top: 122px;
}

#contact > div{
    float: left;
    width: 50%;
    height: 100%;
}

#contact-image{
    background-image: url(../../img/banners/back-contact.jpg);
    background-size: cover;
    background-position: center;
}

#contact-form{
    font-size: 23px;
    line-height: 32px;
    /*color: white;*/
}

#contact-form > div{
    width: 65%;
    text-align: center;
    margin-left: 8%;
}

#form{
    width: 100%;
    background-color: #F9FAFC;
    color: black;
    border-radius: 15px;
    margin-bottom: 60px;
}

#form > h4{
    font-size: 23px;
    line-height: 27px;
    padding: 40px 30px 0px 30px;
    letter-spacing: 1px;
}

#form form{
    padding: 0px 30px;
}

#form form fieldset{
    border: none;
}

.contact-field{
    width: 100%;
    margin: 10px 0px;
}

.contact-field > span, .contact-field-medium > span{
    display: block;
    font-size: 12px;
    width: 100%;
    text-align: left;
}

.input-text{
    width: 100%;
    height: 45px;
    border-radius: 5px;
    border-color: black;
    font-size: 18px;
}

.contact-field-medium{
    width: 46%;
    float: left;
}

.contact-field-medium:first-child{
    margin-right: 4%;
}

.contact-field-medium:last-child{
    margin-left: 4%;
}

#contact-submit-button{
    border: none;
    background-color: #1F49BF;
    color: white;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    height: 60px;
    border-radius: 60px;
    margin-top: 30px;
    cursor: pointer;
}

.small-text{
    font-size: 10px;
    padding-bottom: 30px;
}

.small-text a{
    text-decoration: underline;
}


#contact-modal{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

#contact-modal > div{
    width: 300px;
    height: 200px;
    background-color: rgba(250, 250, 250, 0.9);
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 30px;
    margin: 0 auto;
    position: absolute;
    left: calc(50% - 150px);
    top: calc(50% - 100px);
}

#contact-modal p{
    font-size: 22px;
    padding: 0 20px 20px 20px;
}

#close-contact-modal{
    cursor: pointer;
}

.field-error{
    border-color: red;
}

@media only screen and (max-width: 599px) {
    #contact{
        height: auto;
        margin-top: -31px;
        padding-bottom: 30px;
    }

    #contact > div{
        float: initial;
        width: 100%;
    }

    #contact-image{
        display: none;
    }

    #contact-form{
        background-image: url(../../img/banners/back-contact.jpg);
        background-size: cover;
        background-position: top;
    }

    #contact-form{
        font-size: 16px;
        line-height: 21px;
    }

    #contact-form h4{
        padding: 40px 0px 20px 0px;
    }

    #contact-form > div{
        width: 90%;
        margin: 0 auto;
    }

    #form > h4{
        font-size: 18px;
        line-height: 24px;
        width: 90%;
        margin: 0 auto;
    }

    #form form {
        padding: 0px 5px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px){
    #contact{
        height: auto;
        margin-top: -31px;
        padding-bottom: 30px;
    }

    #contact > div{
        float: initial;
        width: 100%;
    }

    #contact-image{
        display: none;
    }

    #contact-form{
        background-image: url(../../img/banners/back-contact.jpg);
        background-size: cover;
        background-position: left;
    }

    #contact-form{
        font-size: 18px;
        line-height: 24px;
    }

    #contact-form h4{
        padding: 40px 0px 20px 0px;
    }

    #contact-form > div{
        width: 80%;
        margin: 0 auto;
    }

    #form > h4{
        font-size: 18px;
        line-height: 24px;
        width: 90%;
        margin: 0 auto;
    }

    #form form {
        padding: 0px 5px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px){
    #contact{
        height: auto;
        margin-top: -31px;
        padding-bottom: 30px;
    }

    #contact > div{
        float: initial;
        width: 100%;
    }

    #contact-image{
        display: none;
    }

    #contact-form{
        background-image: url(../../img/banners/back-contact.jpg);
        background-size: cover;
        background-position: left;
    }

    #contact-form h4{
        padding: 40px 0px 20px 0px;
    }

    #contact-form > div{
        width: 70%;
        margin: 0 auto;
    }

    #form > h4{
        width: 90%;
        margin: 0 auto;
    }

    #form form {
        padding: 0px 5px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    #contact{
        height: 1115px;
    }
    
    #contact-form > div{
        width: 85%;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1727px) {

}
