﻿
#contact-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

#contact-left {
    margin-block: 1rem;
    padding: 1rem;
    border-radius: 1.75rem;
    border: 5px solid var(--blue);
    max-width: 35rem; 
}

#contact-left form{
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1rem
}


#connect-title {
    margin-bottom: 2rem;
    margin-inline: auto;
    padding: .25rem 1rem;
    border-radius: 40px;
    background-color: #2b718c;
    width: max-content;
}
#connect-title h3{
    color: white;
    font-weight: 600;
    margin: 0;
}

.input-row{
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
}
#contact-left label {
    min-width: max-content;
    padding-block: calc(.375rem + 1px);
    text-align: right;
}

#contact-left .btn-wrapper {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*    justify-content: center;*/
}
#contact-left .btn-wrapper input{
    padding: .5rem 2.5rem;
    border-radius: 15px;
    background-color: var(--green);
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
    border: none
}
#description{
    height: 8rem
}
@media (max-width: 900px) {
    #contact-wrapper {
        flex-direction: column;
    }
}
@media (max-width: 500px) {
    #contact-left form {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    #contact-left label {
        text-align: left;
        padding-bottom: 0;
    }

    #contact-left input {
        padding-bottom: .5rem;
    }
}


#contact-right {
    min-height: min-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#contact-right h3,
#contact-right p {
    margin-bottom: 0px;
}
#contact-right h3:not(:first-child) {
    margin-top: 1rem;
}
#visit-us {
    width: 100%;
    padding-inline: 3rem;
    padding-bottom: 3.5rem;
}
#building-img{
    padding-top: .25rem;
    width: 100%;
    max-width: 300px;
}
#contact-right a > p {
    color: var(--bs-link-color);
}


.false-select {
    display: block;
    width: 100%;
    /*    max-width: 8rem;*/
    padding: .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    color: #212529;
    background-color: #fff;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    cursor: pointer;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    z-index: 9;
}
.false-select + ul
{
    position: absolute;
    max-height:45%;
    padding: 0;
    overflow-block: scroll;
    display: block;
    border: none;
    background: white;
    border-top: 3px solid #007bff;
    border-radius: 3px 3px 8px 8px;
    box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 1);
    list-style-type: none;
    z-index: 10;
}
.false-select + ul li {
    padding: .5rem 1rem;
    font-weight: 500;
    font-size: 1rem; 
}
.false-select + ul li input[type="checkbox"] {
    margin-right: .5rem;
}