.global-container {
    font-size: 0.8rem;
    font-family: var(--CFAstyStd-Book);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.9;
}

.contact-part {
    position: relative;
    top: 0;
    width: 25%;
    min-height: 100%;
    /* min-height: 100%; */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-flow: column nowrap;
    background-color: rgba(255, 255, 255, 0.9);
    padding-top: 1rem;
    max-width: 640px;
}

.global-title {
    margin-right: auto;
    padding-left: 7.5%;
}

/* Set the size of the div element that contains the map */

#map {
    height: 364px;
    min-height: 364px;
    /* The height is 400 pixels */
    width: 85%;
    /* The width is the width of the web page */
}

form {
    width: 100%;
}

.wpcf7 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 7.5%;
}

.wpcf7-select {
    width: 100%;
    /* height: 23px; */
    height: 28px;
    margin-bottom: 0.75rem;
    font-family: var(--CFAstyStd-Book);
    
}

label {
    display: flex;
    flex-direction: column;
}

label:focus{
    background-color: rgba(255, 255, 255, 0);
}

label:first-of-type {
    margin-top: 2rem;
}

/* input, textarea {
    width: 84.6%;
} */

span {
    width: 100%;
}

input, select, textarea {
    width: 100%;
    border: 1px solid rgb(187, 189, 191);
    transition: all 0.2s ease;
    background-color: rgba(255, 255, 255, 0);
}



textarea {
    resize: none;
    height: 110px;
}

input, textarea {
    margin-top: 8px;
    margin-bottom: 0.2rem;
}

input[type=submit] {
    font-size: 24.5px !important;
    color: rgb(166, 166, 166);
    border: none;
    text-align: right;
    font-family: var(--CFAstyStd-Light);
    margin-top: 1rem;
    background-color: rgba(255, 255, 255, 0);
    transition: all 0.2s ease;
    width: fit-content;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    margin-left: auto;
}

input[type=submit]:hover {
    color: rgba(128, 128, 128, 1);
    transform: scale(1.05);
}

.content-bg {
    position: fixed;
    height: 100%;
    width: 100vw;
    background-size: cover;
    background-repeat: no-repeat;
}

@media all and (max-width: 1921px) {
    .global-title {
        font-size: 2.5rem;
    }
}

@media all and (max-width: 1920px) {
    .global-title {
        font-size: 2rem;
    }
    #map {
        height: 300px;
    }
}

@media all and (max-width: 1440px) {
    #map {
        height: 250px;
        min-height: 250px;
    }
    .global-title {
        font-size: 1.9rem;
    }
    label:first-of-type {
        margin-top: 1rem;
    }
    .wpcf7-submit {
        margin-bottom: 1rem;
    }
    input[type="submit"] {
        font-size: 24px !important;
    }
}

@media all and (max-width: 1366px) {
    #map {
        height: 225px;
        min-height: 225px;
    }
}
@media all and (max-width: 1280px) {
    .contact-part {
        width: 35%;
    }

}

@media all and (max-width: 1024px) {
    #map {
        height: 200px;
    }
}

@media all and (max-width: 992px) {
    #map {
        height: 300px;
        min-height: 300px;
    }
    label:first-of-type {
        margin-bottom: 0;
    }
    input, textarea, select {
        margin-top: 1px;
        margin-bottom: 0.2rem;
    }
    .contact-part {
        width: 45%;
    }
    label:first-of-type {
        margin-top: 1rem;
    }
    .wpcf7-submit {
        margin-bottom: 1rem;
    }
    input[type="submit"] {
        font-size: 20px !important;
    }
}

@media all and (max-width: 768px) {
    #map {
        height: 275px;
        min-height: 275px;
    }
    .contact-part {
        width: 55%;
    }
}

@media all and (max-width: 576px) {
    #map {
        height: 200px;
        min-height: 200px;
    }
    .contact-part {
        width: 100%;
    }
    label:first-of-type {
        margin-bottom: 0;
    }
    input, textarea, select {
        margin-top: 1px;
        margin-bottom: 0.2rem;
    }
    .select {
        margin-top: 0;
    }
    .contact-part {
        width: 100%;
    }
    label:first-of-type {
        margin-top: 1rem;
    }
    input[type="submit"] {
        margin-top: 0;
        margin-bottom: 1rem;
    }
}