/*
Theme Name: eurosidediamond
Author: Sid Vaghani
Description: css for countact-us section
Version: 5.0
*/


/*
CSS for contact
*/

#contact {
    width: fit-content;
    height: fit-content;
    font-size: 20pt;
    justify-content: center;
    display: flex;
    padding-top: 50px;
    z-index: 0;
    /*background-color: rgba(219, 206, 191, 0.6);*/
    margin-left: auto;
    margin-right: auto;
}

/*
CSS for representative
*/

#representative {
    width: 60%;
    height: fit-content;
    font-size: 18pt;
    text-align: center;
    justify-content: center;
    padding-top: 50px;
    margin-left: 20px;
    z-index: 0;
}

#representative-header {
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    font-weight: bold;
}

#representative-list {
    width: 100%;
    margin-top: 30px;
    height: auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.representative-block {
    width: 300px;
    height: 100%;
    border: 1px solid grey;
    margin: 20px;
    margin-left: auto;
    margin-right: auto;
}

.representative-img {
    width: 100%;
    height: 70%;
    margin-top: 0%;
    padding-top: 0;
    align-content: center;
    background-color: white;
    position: relative;
}

.representative-img img {
    width: 70%;
    scale: 0.9;
    margin: 0%;
    padding-top: 0;
}

.representative-text {
    width: 100%;
    height: 20%;
    margin-bottom: 0%;
    padding-top: 10px;
    padding-bottom: 20px;
    background-color: white;
    font-size: 14pt;
    font-weight: 500;
    display: block;
    align-content: center;
    text-align: center;
    line-height: 1.5;
}

@media screen and (max-width: 1200px) {
    #representative-list {
        width: 100%;
        margin-top: 30px;
        height: fit-content;
        display: flex;
        flex-direction: column;
        padding-bottom: 50px;
        justify-content: center;
        align-items: center;
    }

    .representative-block {
        width: 300px;
        height: 100%;
        margin-top: 30px;
        border: 1px solid rgb(170, 170, 170);
    }
}


/*
CSS for contact-from
*/
#contact-form {
    width: 100%;
    height: auto;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-right: 50px;
    padding-left: 100px;
    z-index: 0;
    font-size: 18pt;
}

#contact-form-header {
    width: 100%;
    margin: 0;
    display: flex;
    text-align: center;
    justify-content: center;
    font-weight: bold;
    }

#contact-form form {
    padding: 25px;
    font-size: 16pt;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255);
}

#contact-form form label {
    padding-right: 50%;
}

#contact-form form input,
#contact-form form textarea {
    width: 95%;
    padding: 10px;
    margin: 10px 20px 20px 0px;
    border-radius: 4px;
    border: 1px solid rgba(245, 245, 245, 0.2);
}

#contact-form form select {
    width: 98%;
    padding: 10px;
    padding-right: 0px;
    margin: 10px 20px 20px 0px;
    margin-right: 0px;
    border-radius: 4px;
    border: 1px solid rgba(245, 245, 245, 0.2);
}

#contact-form form button {
    width: 50%;
    background-color: whitesmoke;
    color: black;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 15px;
    margin-left: auto;
}

#contact-form form button:hover {
    background-color: rgba(128, 128, 128, 0.8);
    color: whitesmoke;
}

#oblicatory-fileds {
    width: 100%;
    margin-left: 20px;
    font-size: 12pt;
}

.cf-notice {
    font-size: 10pt;
    padding-top: 20px;
}

.cf-error {
    color: brown;
}

.cf-success {
    color: darkgreen;
}