﻿/*========================================================================================================================================================*/
/*ALL SCREEN RESOLUTIONS (DEFAULT LAYOUT)*/
/*========================================================================================================================================================*/
.contactsection1 {
    display: flex;
    width: 100%;
}

.contactsection1container {
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
    width: 100%;
    height: 330px;
    background-image: url('../images/contactus/contactusimg3.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contactsection1cards {
    position: relative;
    top: 25px;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 40px 0px 40px;
}

.contactsection1card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    width: 250px;
    height: 270px;
    padding-top: 20px;
    margin: 10px 15px 10px 15px;
    opacity: 0.8;
    border-radius: 10px;
    box-shadow: 0 0 15px black;
    text-align: center;
}

    .contactsection1card span {
        font-size: 52px;
        color: #fc4444;
        margin-bottom: 10px;
    }

    .contactsection1card h1 {
        font-size: 20px;
        font-weight: bold;
        /*margin-bottom: 10px;*/
    }

    .contactsection1card i {
        font-size: 52px;
        color: #fc4444;
        margin-bottom: 10px;
    }

    .contactsection1card p {
        font-size: 14px;
    }


.contactaddressgroup {
    display: flex;
    flex-direction: column;
    /*border:solid;*/
}

.contactaddressgrouplabel {
    font-size: 14px !important;
    color:black !important;
    margin:0 !important;
    /*border:solid;*/
}

.contactphonegroup {
    /*border:solid;*/
    margin-bottom:10px;
}

/*SECTION 2----------------------------------------------------------------------------------------------------------------------------------------------*/
.contactsection2 {
    width: 100%;
    display: flex;
    justify-content: center;
}

.contactsection2container {
    display: flex;
    width: 100%;
    flex-direction: row;
    margin: 20px;
}

.contactsection2left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.contactsection2leftcontact {
    width: 400px;
}

.contactsection2leftcontactdetails {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 5px;
}

.contactsection2leftcontactdetails1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.g-recaptcha {
    margin: 5px;
}

.contactsection2name,
.contactsection2email,
.contactsection2phone, .contactsection2button {
    width: 100%;
}

.contactsection2message {
    width: 100%;
    height: 200px;
}

.contactsection2button {
    color: white;
    background-color: #db545a;
    border: none;
    width: 100px;
}

.contactsection2right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

    .contactsection2right iframe {
        width: 500px;
    }

/*overrides*/
.text-center {
    padding: 5px;
}

@media only screen and (max-width: 1279px) {

    .contactsection1card {
        width: 230px;
        height: 270px;
        padding-top: 20px;
        margin: 10px 15px 10px 15px;
    }
}

/*========================================================================================================================================================*/
/*TABLE AND LANDSCAPE*/
/*========================================================================================================================================================*/
@media only screen and (max-width: 800px) {
    .contactsection1container {
        height: 260px;
    }

    .contactsection1cards {
        top: 40px;
        padding: 0;
        margin: 0;
    }

    .contactsection1card {
        width: 185px;
        height: 190px;
        padding: 15px 0;
        margin: 5px;
    }

        .contactsection1card span {
            font-size: 32px;
            margin-bottom: 5px;
        }

        .contactsection1card h1 {
            font-size: 16px;
            margin-bottom: 10px;
        }

        .contactsection1card p {
            font-size: 12px;
        }

    /*SECTION 2----------------------------------------------------------------------------------------------------------------------------------------------*/
    .contactsection2leftcontact {
        width: 350px;
    }

    .contactsection2right iframe {
        width: 350px;
    }
}
/*========================================================================================================================================================*/
/*PHONE AND PORTRAIT*/
/*========================================================================================================================================================*/
@media only screen and (max-width: 480px) {

    .contactsection1container {
        height: 380px;
    }

    .contactsection1cards {
        top: 10px;
        width: 100%;
        flex-wrap: wrap;
    }

    .contactsection1card {
        width: 165px;
        height: 170px;
    }

        .contactsection1card span {
            font-size: 22px;
        }

        .contactsection1card p {
            font-size: 11px;
        }

    /*SECTION 2----------------------------------------------------------------------------------------------------------------------------------------------*/
    .contactsection2container {
        margin: 5px;
        flex-wrap: wrap;
    }

    .contactsection2left {
        padding: 5px;
    }

    .contactsection2right {
        padding: 0px;
    }
}
