/* This is the CSS for the basic-contact-form element. Treat it as such.*/

@font-face {
    font-family: gotham;
    src: url("../../assets/fonts/GothamPro.woff");
    font-weight: 500;
}
@font-face {
    font-family: gotham;
    src: url("../../assets/fonts/GothamPro-Medium.woff");
    font-weight: 600;
}

.contact-section-content-wrapper {
    display: flex;
    flex-wrap: nowrap!important;
    margin-right: 20px;
}

.basic-form-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.basic-form {
    display: flex;
    /* justify-content: left; */
    width: 100%;
}

.basic-form-element {
    max-width: 100%!important;
    width: 100%
}

.basic-form-element label {
    /* font-family: century-gothic; */
    font-weight: 500;
    text-wrap: nowrap;
    margin-left: 4px;
    margin-bottom: -20px;
}

.basic-form-element input {
    margin-bottom: 12px;
    margin-top: 15px;
    transform: translateY(-10px);
}

.basic-form-field {
    width: 100%;
    border: 1.3px solid transparent;
    border-radius: 100px;
    min-height: 10px;
    text-indent: 5px;
    padding: 8px;
    box-sizing: border-box;
}


.basic-form-textarea {
    width: 100%;
    max-width: 100%;
    border: 1.3px solid transparent;
    border-radius: 15px;
    min-height: 15.5px;
    max-height: 140px;
    margin-top: 7px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 0;
    margin-bottom: 15px;
    resize: vertical;
    box-sizing: border-box;
}

.basic-form-field:focus, .basic-form-textarea:focus {
    outline: 0.6px solid rgb(156, 156, 156);
}

.fl-name-section {
    display: flex;
    flex-wrap: column;
    width: 100%;
}


.f-name-wrapper {
    width: 50%;
    /* max-width: 350px; */
}

.l-name-wrapper {
    width: 50%;
    /* max-width: 350px; */
    margin-left: 25px;
}

@media screen and (max-width: 350px) {
    .fl-name-section {
        flex-wrap: unset;
        flex-wrap: wrap;
        flex-flow: column wrap;
    }
    .f-name-wrapper, .l-name-wrapper {
        width: calc(60vw + 10px);
        min-width: 100%;
    }
    .l-name-wrapper {
        margin-left: 0;
    }
}

.basic-form-checkboxes-wrapper {
    margin-top: 0;
    margin-bottom: 0px;
}

.basic-form-checkbox-caption {
    margin-bottom: -10px!important;
    margin-top: 0px;
}

input.basic-form-checkbox {
    margin: 0;
}

.basic-form-checkbox-label {
    /* display: block; */
    transform: translateY(-18.5px);
    margin-bottom: -100px!important;
}

.basic-form-checkbox:focus {
    outline: 0.6px solid rgb(156, 156, 156);
}

.later-checkbox {
    margin-left: 15px;
}

.basic-form-submit {
    border-radius: 100px;
    border: none;
    padding: 6px 20px;
    margin-top: 15px!important;
    font-family: 'gotham';
    font-weight: 500;
    font-size: 1.3rem;
    color: white;
    background-color: #e21a5d;
    cursor: pointer;
}

/* Image */

@media screen and (max-width: 1250px) {
    .contact-section-content-wrapper {
        display: flex;
        flex-wrap: wrap!important;
    }
    .basic-form-wrapper {
        width: 100%!important;
        position: relative;
        display: block;
    }
    .basic-form-element {
        min-width: 100%;
        justify-self: center;
    }
    .f-name-wrapper {
        max-width: unset;
        width: 100%;
    }

    .l-name-wrapper {
        max-width: unset;
        width: 100%;
    }
    .fl-name-section {
        width: 100%;
    }
}

/* Conditional Formatting */

.basic-form-element.ormandy-cf-dark-mode .basic-form-field,
.basic-form-element.ormandy-cf-dark-mode .basic-form-textarea {
    border: 1.3px solid transparent;
}

.basic-form-element.ormandy-cf-light-mode .basic-form-field,
.basic-form-element.ormandy-cf-light-mode .basic-form-textarea {
    border: 1.3px solid rgb(156, 156, 156);
}
.basic-form-element.ormandy-cf-dark-mode input.basic-form-checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 13px;
    height: 13px;
    border: none;
    background: #ffffff;
    border-radius: 4px;
}
.basic-form-element.ormandy-cf-dark-mode input.basic-form-checkbox:focus {
    border: 0.7px solid rgb(156, 156, 156);
}
.basic-form-element.ormandy-cf-dark-mode input.basic-form-checkbox:checked {
    background: #e21a5d
}
.basic-form-element.ormandy-cf-dark-mode input.basic-form-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 0.4px;
    left: 3.3px;
    width: 4px;
    height: 8px;
    border: solid #ffffff; /* tick color */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.basic-form-element.ormandy-cf-light-mode input.basic-form-checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 13px;
    height: 13px;
    border: 1.3px solid rgb(156, 156, 156);
    background: #ffffff;
    border-radius: 4px;
}
.basic-form-element.ormandy-cf-light-mode input.basic-form-checkbox:focus {
    border: 0.7px solid rgb(156, 156, 156);
}
.basic-form-element.ormandy-cf-light-mode input.basic-form-checkbox:checked {
    background: #ffffff;
}
.basic-form-element.ormandy-cf-light-mode input.basic-form-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 0.15px;
    left: 3.2px;
    width: 4px;
    height: 8px;
    border: solid #000000; /* tick color */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.basic-form-element.ormandy-cf-dark-mode label,
.basic-form-element.ormandy-cf-dark-mode .basic-form-checkbox-caption {
    color: rgb(255, 255, 255);
}
.basic-form-element.ormandy-cf-light-mode label,
.basic-form-element.ormandy-cf-light-mode .basic-form-checkbox-caption {
    color: black;
}

/* Show Image */

.basic-hybrid-form-wrapper {
    display: flex;
    flex-flow: row;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
    /* width: 100%; */
}
    
.basic-hybrid-form {
    display: flex;
    /* justify-content: left; */
    width: 47%;
}
    
@media screen and (max-width: 1250px) {
    .basic-hybrid-form-wrapper {
        flex-direction: column;
    }

    .basic-hybrid-form {
        display: flex;
        /* justify-content: left; */
        width: 100%;
    }
}