.sidebar {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    background: transparent;
    background-size: cover;
    overflow-x: hidden;
    transition: 0.5s;
    display: block;
}

.sidebar-content-wrapper {
    padding: 0 3vw;
    height: 100%;
}

.section-content-wrapper {
    position: relative;
    text-align: center;
}

.closebtn {
    position: absolute;
    color: #000;
    font-size: clamp(3vw, 3vw, 5vw);
    top: 0;
    right: 1vw;
    line-height: clamp(3vw, 3vw, 5vw);
    text-decoration: none;
    transition: .5s ease-in-out;
}

.closebtn:hover {
    opacity: 0.5;
    color: #000;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 45vw;
    margin: 0 auto;
    animation: fadeIn 0.5s;
    -webkit-animation: fadeIn 0.5s;
    -moz-animation: fadeIn 0.5s;
    -o-animation: fadeIn 0.5s;
    -ms-animation: fadeIn 0.5s;
    position: relative;
}

.sidebar-content .signup-section-content-wrapper {
    width: 100%;
    background: #fff;
    border: 1px solid #000;
    padding: 2.5vw 0;
    color: #000;
}

.sidebar.active .section-title {
    display: none;
}

.popup-title {
    display: none;
    font-size: 2.042vw;
    line-height: 3.292vw;
}

.sidebar.active .popup-title {
    display: block;
    padding-bottom: 2vw;
}

.sidebar.active .heading {
    display: none;
}

.section-title {
    font-size: 2.6042vw;
    line-height: 3.2292vw;
}

.sidebar.active .section-title {
    display: none;
}


/* Mailing List */

.form-section .heading {
    font-size: 1.5625vw;
    line-height: 1.9271vw;
    padding: 2vw 0;
    width: 36.1458vw;
    margin: 0 auto;
    text-transform: initial;
}

.mlform form {
    width: 100%;
    margin: 0 auto;
}

.mlform {
    width: 37.5000vw;
    margin: 0 auto;
}

.input-fields {
    display: flex;
    gap: 1vw;
}

.fieldWrap {
    padding-bottom: 1vw;
    position: relative;
    width: 100%;
}

.fieldWrap input,
.fieldWrap select {
    background: #fff;
    border: 0.1vw solid #000;
    color: #000;
    border-radius: 0.2604vw;
    font-size: 1.5625vw;
    height: 3.4896vw;
    line-height: 3.4896vw;
    min-height: 60px;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    width: 100%;
    padding: 0 2vw;
    -webkit-appearance: none;
    appearance: none;
    text-align: left;
    text-transform: lowercase;
    font-family: Helvetica Neue, tex_gyre_herosbold, Arial;
    letter-spacing: 0;
}

.submit1 {
    width: 20.4167vw;
}

input[type="submit"] {
    background-color: #000;
    color: #fff;
    border: 0.1vw solid #000;
    border-radius: 0.2604vw;
    font-size: 1.5625vw;
    height: 3.4896vw;
    line-height: 3.4896vw;
    min-height: 67px;
    width: 100%;
    display: block;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-decoration: none;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    padding: 0 2vw;
    margin: 0 auto;
    text-align: center;
    text-transform: lowercase;
    font-family: Helvetica Neue, tex_gyre_herosbold, Arial;
    letter-spacing: 0;
}

section#signup input[type="submit"] {
    border: 0.1vw solid #fff;
    background: #fff;
    color: #000;
}

input[type="submit"]:hover {
    opacity: .5;
    border: 0.1vw solid #000;
    background: #000;
    color: #fff;
}

.custom-field-section {
    margin-bottom: 2vw;
}

.fieldWrap .errored {
    border: 1px solid #ff0000;
}

.input-error {
    position: relative;
    bottom: -2px;
    width: 100%;
    left: 0;
    color: #ff0000;
    font-size: 16px;
    text-transform: lowercase;
    display: block;
    text-align: left;
}

.fadeOut {
    display: none;
}

.fadeIn {
    display: block;
}

.thankyou {
    font-size: 2.084vw;
    text-align: center;
    padding: 0;
    text-transform: lowercase;
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #000;
    opacity: 1;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #000;
    opacity: 1;
}

:-ms-input-placeholder {
    /* IE 10+ */
    color: #000;
    opacity: 1;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #000;
    opacity: 1;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #000 !important;
    /* -webkit-text-fill-color: var(--site-background-color); */
    /* -webkit-box-shadow: 0 0 0px 1000px var(--site-background-color) inset; */
}

.termsfaq {
    display: flex;
    width: 100%;
    justify-content: space-around;
    position: relative;
}

div.terms,
div.faq {
    text-align: center;
    padding-top: 1vw;
    color: #000;
}

div.terms a,
div.faq a {
    color: #000;
}

span.faqq {
    display: block;
    font-weight: 700;
    margin-top: 10px;
}

span.faqq:first-child {
    border: none;
    margin: 0;
    padding-top: 2px;
}

.terms-view {
    width: 100%;
    font-size: 0.8vw;
    padding-top: 1vw;
    padding-left: 0;
    text-align: center;
    text-transform: lowercase;
    line-height: 1.3021vw;
    position: absolute;
    left: 0;
    background: #fff;
    color: #000;
    border: 0.1vw solid #000;
}

.faq .terms-view {
    text-align: left;
    bottom: 40px;
}

#signup-popup .terms-view {
    bottom: 35px;
}

.terms-view a {
    color: #000;
    text-decoration: underline;
    transition: 0.5s ease-in-out;
}

.terms-view a:hover {
    opacity: 0.5;
}

@media only screen and (max-width: 1024px) and (orientation: portrait) {
    .section-title {
        width: 63.0769vw;
        padding-bottom: 15vw;
    }
    div#mySidebar .section-title {
        font-size: 7.6923vw;
        text-align: center;
        text-transform: lowercase;
        padding-bottom: 6vw;
        line-height: 9.4872vw;
        width: 100%;
    }
    .sidebar-content {
        width: 90vw;
    }
    .sidebar.active .popup-title {
        margin: 0 auto;
        padding: 6vw 0;
        font-size: 6vw;
        line-height: 8vw;
        padding-top: 12vw;
    }
    .input-fields {
        flex-direction: column;
        gap: 0;
    }
    .signup-section-content-wrapper {
        width: 90vw;
        margin: 0 auto;
    }
    .closebtn {
        font-size: 25px;
        line-height: 1;
        top: 3vw;
        right: 3vw;
    }
    .fieldWrap {
        width: 100%;
        padding-bottom: 2vw;
    }
    .submit {
        padding-top: 10vw;
    }
    .mlform {
        width: 100%;
    }
    .signup-section-content-wrapper .mlform {
        width: 90%;
    }
    .input-error {
        text-align: center;
    }
    .terms-view {
        width: 100%;
        font-size: 3.042vw;
        line-height: 3.302vw;
        padding-top: 2vw;
        padding-bottom: 2vw;
        border: 1px solid #000;
    }
    .form-section .heading {
        font-size: 5.8974vw;
        line-height: 7.1795vw;
        padding: 8vw 0;
        width: 81.5385vw;
    }
    .thankyou {
        font-size: 5.8974vw;
        line-height: 7.1795vw;
    }
    .fieldWrap input,
    .fieldWrap select,
    input[type="submit"] {
        font-size: 5.8974vw;
        height: 13.5897vw;
        line-height: 13.5897vw;
        text-align: center;
        min-height: auto;
    }
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    .sidebar {
        height: 90%;
        overflow: auto;
        top: 2vw;
    }
    .popup-title {
        font-size: 4.042vw;
        line-height: 3.292vw;
    }
    .sidebar-content {
        width: 100%;
        justify-content: inherit;
    }
    .form-section .heading {
        font-size: 2.8974vw;
        line-height: 3.1795vw;
        padding: 4vw 0;
        width: 61.5385vw;
    }
    .mlform .fieldWrap input {
        text-align: left;
    }
    .fieldWrap input,
    .fieldWrap select,
    input[type="submit"] {
        font-size: 2.8974vw;
        height: 8.5897vw;
        line-height: 8.5897vw;
        text-align: center;
    }
    .input-error {
        font-size: 2.1026vw;
    }
    .mlform {
        width: 67.5vw;
        margin: 0 auto;
    }
    .fieldWrap {
        width: 100%;
    }
    .terms-view {
        width: 100%;
        font-size: 1.417vw;
        padding-top: 2vw;
        line-height: 2.021vw;
    }
    div.terms {
        padding-top: 2vw;
        font-size: 2.5vw;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .signup-section-content-wrapper .section-title,
    .popup-title {
        margin: 0 auto;
        padding: 2vw 0;
        font-size: 4vw;
        line-height: 8vw;
        padding-top: 6vw;
    }
    .form-section .heading {
        font-size: 3.8974vw;
        line-height: 5.1795vw;
        padding: 8vw 0;
        width: 81.5385vw;
    }
    .fieldWrap input,
    .fieldWrap select,
    input[type="submit"] {
        font-size: 4.8974vw;
        height: 11.5897vw;
        line-height: 11.5897vw;
        text-align: center;
    }
}