/* contact info section */
.contactInfo {
    padding: 30px;
}

.contactInfo h1 {
    font-size: 30px;
    margin-bottom: 30px;
    font-weight: 500;
}

.contactInfo div {
    margin-bottom: 20px;

}

.contactInfo div:last-child {
    margin-bottom: 0;
}

.contactInfo div a {
    color: var(--text);
    text-decoration: none;
    transition: color ease .2s;
}

.contactInfo div a:hover {
    color: var(--yellow);
}

/* contact form section */
.contactBlackout {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    margin: -30px;
    display: none;
}

.contactForm {
    padding: 30px;
    background-color: var(--sectionLight);
    position: relative;
}

.contactForm h1 {
    font-size: 30px;
    margin-bottom: 30px;
    font-weight: 500;
}

form {
    position: relative;
}

form input[type=text],
form input[type=email],
form input[type=tel],
form textarea,
form label {
    display: block;
    width: 100%;
    font-weight: 500;
}

form div div label {
    margin: 25px 0 1px 0;
}

form div div:first-child label {
    margin: 0 0 1px 0;
}

form p {
    color: #f25c5c;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 0px;
    display: none;
    font-weight: 300;
}

form input[type=text],
form input[type=email],
form input[type=tel],
form textarea {
    font-size: 16px;
    padding: 5px;
    outline: none;
    background-color: transparent;
    color: var(--text);
    border: none;
    border-bottom: 2px solid var(--text);
    transition: border-bottom ease .2s;
    border-radius: 0;
    width: 100%;
}

form input[type=text]:focus,
form input[type=email]:focus,
form input[type=tel]:focus,
form textarea:focus {
    border-bottom: 2px solid var(--yellow);
}

form textarea {
    resize: none;
    overflow: hidden;
    height: auto;
}

form input[type=submit] {
    background-color: var(--yellowDark);
    color: #fff;
    border: none;
    padding: 10px;
    width: 100%;
    margin-top: 20px;
    border-radius: 5px;
    transition: background-color ease .2s;
}

form input[type=submit]:hover {
    background-color: var(--yellow);
}

#hCaptchaContainer {
    margin: 30px auto 0 auto;
    width: fit-content;
}

#hCaptchaError {
    margin-top: -5px;
    text-align: center;
}

#txtMailResponse {
    display: none;
    color: var(--text);
    margin: 20px 0 20px 0;
    text-align: center;
    font-size: 16px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--yellow);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto 20px;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* custom form checkbox */
.checkbox-wrapper-46 {
    margin-top: 25px;
}

.checkbox-wrapper-46 input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.checkbox-wrapper-46 .cbx {
    margin: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

.checkbox-wrapper-46 .cbx span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-46 .cbx span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    transform: scale(1);
    vertical-align: middle;
    border: 1px solid var(--text);
    transition: all 0.2s ease;
}

.checkbox-wrapper-46 .cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-46 .cbx span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--yellow);
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
}

.checkbox-wrapper-46 .cbx span:last-child {
    padding-left: 8px;
}

.checkbox-wrapper-46 .cbx:hover span:first-child {
    border-color: var(--yellow);
}

.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child {
    background: var(--yellow);
    border-color: var(--yellow);
    animation: wave-46 0.4s ease;
}

.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child svg {
    stroke-dashoffset: 0;
}

.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child:before {
    transform: scale(3.5);
    opacity: 0;
    transition: all 0.6s ease;
}

@keyframes wave-46 {
    50% {
      transform: scale(0.9);
    }
}

/* map section */
.map {
    padding: 30px;
}

.map iframe {
    width: 100%;
    height: 350px;
    border: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.map h1 {
    font-size: 35px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    .contactInfo {
        padding: 40px 0;
        margin: 0 auto;
        width: fit-content;
    }
    
    .contactForm,
    .map {
        padding: 40px 150px;
    }

    .formInputContainer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: space-between;
        gap: 30px 10px;
    }

    form div div label {
        margin: 0 0 1px 0;
    }

    .checkbox-wrapper-46 {
        text-align: center;
    }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 1024px) {

	.contactInfo,
    .contactForm,
    .map {
        padding: 50px 200px;
    }

    .submitContainer {
        width: 303px;
        margin: 0 auto;
    }

}

/* Extra large devices (large laptops) */
@media only screen and (min-width: 1440px) {

    .contactInfo,
    .contactForm {
        padding: 60px 400px;
    }

    .map {
        padding: 0;
        margin-bottom: -6px;
    }

    .map iframe {
        height: 500px;
    }

    .map h1 {
        display: none;
    }

}

/* Extra large devices (Desktops) */
@media only screen and (min-width: 1920px) {

    .contactInfo,
    .contactForm {
        padding: 60px 600px;
    }

    .infoContainer h1,
    .formContainer h1 {
        font-size: 40px;
    }

    form input[type=text],
    form input[type=email],
    form input[type=tel],
    form textarea,
    form label {
        font-size: 20px;
    }

}

/* Extra large devices (Large Desktops) */
@media only screen and (min-width: 2560px) {

    .contactInfo,
    .contactForm {
        padding: 60px 900px;
    }

    .map iframe {
        height: 600px;
    }

}