/* phpcs:ignore */
.mfp-mkto-wrap { box-shadow: 15px 15px 0px #2D2E31; background-color: #e8e5dd; margin: 0 auto; font-family: NC Burrata,sans-serif; }

.mkto-gate-wrap { padding: 50px 110px 30px 50px; background-color: #e8e5dd; max-width: 814px; background-image: url(../img/bg-mkto-gate-form.png); background-size: auto 94%; background-repeat: no-repeat; background-position: right center; border-right: 30px solid transparent; }
.mkto-connect-wrap { padding: 60px 60px 90px 60px; max-width: 700px; background-image: url(../img/bg-mkto-connect-form.png); background-size: 94% auto; background-repeat: no-repeat; background-position: center bottom; border-bottom: 30px solid transparent; position: relative; }

.mfp-mkto-wrap h2 { margin-bottom: 10px; }
.mfp-mkto-wrap p { font-size: 16px; margin-bottom: 30px; }

.mfp-fade.mfp-bg { opacity: 0; -webkit-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out; transition: all 0.5s ease-out; }
.mfp-fade.mfp-bg.mfp-ready { opacity: 0.6; }
.mfp-fade.mfp-bg.mfp-removing { opacity: 0; }
.mfp-fade.mfp-wrap .mfp-content { opacity: 0; -webkit-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out; transition: all 0.5s ease-out; }
.mfp-fade.mfp-wrap.mfp-ready .mfp-content { opacity: 1; }
.mfp-fade.mfp-wrap.mfp-removing .mfp-content { opacity: 0; }


.mktoForm { display: flex; flex-wrap: wrap; width: 100%!important; justify-content: space-between; flex-direction: row !important;}
.mktoForm .mktoFormRow:nth-child(n+2) { flex: 1 0 47%; max-width: 47%; margin-bottom: 0px; }

.mktoForm .mktoFormRow .mktoFieldDescriptor { width: 100%; }
.mktoForm .mktoFormCol { float: left; position: relative; min-height: 2em; }
.mktoForm .mktoFieldWrap { float: left; width: 100%; font-family: NC Burrata,sans-serif; }

.mktoForm .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap label {
    font-family: NC Burrata,sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #2d2e31; 
    width: 100%!important;
    max-width: max-content;
    margin-bottom: 7px;
}

.mktoForm .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap .mktoGutter {
    height: 5px;
}

.mktoForm .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap input:not(input[type=checkbox]) {
    border-radius: 0px;
    border-width: 1px;
    border-color: transparent;
    padding: 19px 25px;
    width: 100%!important;
    color: #2d2e31; 
    font-size: 16px;
    margin-bottom: 10px;
}

.mktoForm .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap input::placeholder {
    font-family: NC Burrata,sans-serif;
    color: #2d2e31; 
    opacity: .4;
}

.mktoForm .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap select {
    border-radius: 0px;
    border-width: 1px;
    border-color: transparent;
    padding: 19px 25px;
    width: 100%!important;
    color: #2d2e31;
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuMjYzLjVMOCA2LjA2NyAxMy43MzguNSAxNS41IDIuMjIyIDggOS41LjUgMi4yMjIgMi4yNjMuNXoiIGZpbGw9IiMyRDJFMzEiLz48L3N2Zz4=) no-repeat;
    background-position: right 20px center;
    background-color: #fff;
    width: 100%;
    margin-bottom: 10px;
}

.mfp-mkto-wrap .mktoForm .mktoButtonWrap.mktoSimple .mktoButton {
    height: 61px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    border-radius: 0;
    transition: background-color .25s ease,color .25s ease,box-shadow .25s ease;
    font-family: NC Burrata;
    font-size: 21px;
    font-weight: 700;
    color: #2d2e31;
    background: #f4775e;
    border: 4px solid #2d2e31;
    box-shadow: 6px 6px 0 #c6c4c2;
    margin-top: 15px;
}

.mfp-mkto-wrap .mktoForm .mktoButtonWrap.mktoSimple .mktoButton:hover,
.mfp-mkto-wrap .mktoForm .mktoButtonWrap.mktoSimple .mktoButton:active,
.mfp-mkto-wrap .mktoForm .mktoButtonWrap.mktoSimple .mktoButton:focus {
    background: #2d2e31;
    color: #f4775e;
    box-shadow: 6px 6px 0 #c6c4c2;
    cursor: pointer;
    border: 4px solid #2d2e31;
}

.mktoForm .mktoButtonRow {
    flex: 1 0 100%;
    padding: 15px 0;
}
.mktoForm .mktoButtonRow .mktoButtonWrap {
    margin: 0!important;
}

.mktoForm .mktoFieldWrap.mktoRequiredField .mktoAsterix{ display: none; }
.mktoForm .mktoFormRow .mktoFieldDescriptor .mktoOffset {
    height: 0;
}

.mkto-connect-wrap .mktoButtonRow {
    display: flex;
    justify-content: center;
}

.mkto-connect-wrap .mktoForm .mktoFormRow:nth-child(4) {
    max-width: 100%;
}

.mkto-connect-wrap .mktoForm .mktoButtonWrap.mktoSimple {
    width: 50%;
}

.mkto-connect-wrap .mktoForm .mktoButtonWrap.mktoSimple .mktoButton {
    width: 100%;
}

.mkto-connect-wrap button.mfp-close {
    border: 3px solid #2d2e31;
    border-radius: 25px;
    background-color: #fff;
    color: #2d2e31;
    font-size: 50px;
    opacity: 1;
    line-height: 30px;
    padding: -13px;
    top: 15px;
    right: 15px;
}

.mktoForm .mktoFormRow:nth-child(13) {
    order: 100;
    max-width: 100%;
    font-size: 16px;
}
.mktoForm .mktoFormRow:nth-child(13) a { font-size: 16px; }
.mktoForm .mktoFormRow:nth-child(13) .mktoHasWidth { width: 100% !important; }
/* .mktoForm .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap option { color: #2d2e31; opacity: .4; }
.mktoForm .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap option:not(:first-of-type) { color: #2d2e31; opacity: .1; } */

@media screen and (max-width: 767px) {
    .mfp-mkto-wrap h2 { font-size: 27px; }
    .mfp-mkto-wrap p { font-size: 13px; }   
    .mktoForm { padding: 0px !important; } 
    .mktoForm .mktoHtmlText { font-size: 13px; margin-top: 15px; }
    .mktoForm .mktoHtmlText a { padding: 0px !important; font-size: 13px !important; }
    .mktoForm .mktoFormRow:nth-child(n+2) {
        flex: 1 0 100%;
        max-width: 100%;
    }
    .mkto-gate-wrap {
        padding: 50px 30px 30px 30px;
        background-image: none;
        border-right: 0px;
        margin-bottom: 24px;
    }

    .mkto-connect-wrap {
        padding: 80px 30px 50px 30px;
        margin-bottom: 24px;
    }

    .mktoForm .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap input:not(input[type=checkbox]){
        padding: 23px 17px;
        margin-bottom: 5px;
    }

    .mktoForm .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap select {
        padding: 23px 17px;
        margin-bottom: 5px;
    }

    .mkto-connect-wrap .mktoForm .mktoButtonWrap.mktoSimple {
        width: 100%;
    }    

    body {
        -webkit-overflow-scrolling: touch;
    }
    body.mfp-active {
        overflow: hidden;
        -webkit-overflow-scrolling: auto;
        width: 100%;
        position: fixed;
        overflow: auto;
    }
    body .mfp-wrap {
        position: fixed;
        overflow: auto;
        top: 0 !important;
    }

    .mfp-container {
        padding-left: 20px;
        padding-right: 24px;
        padding-top: 16px;
        padding-bottom: 16px;
    }    

}