html {
    overflow-x: hidden !important;
}
body {
    overflow-y: hidden !important;
}
.page-template-jr-chef-lp {
    overflow-x: hidden;
    
    .wrapper {
        max-width: 1300px;
        width: 90%;
    }
    p, ul, ol {
        font-size: 18px;
        line-height: 1.6;
        color: #1A4451;

        @media screen and (max-width: 576px) {
            font-size: 16px;
        }
    }
    .hero {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 500px;
        margin-top: 88px;
        position: relative;

        @media screen and (max-width: 576px) {
            height: 400px;
        }
        &:after {
            content: '';
            display: block;
            height: 50%;
            width: 100%;
            background: linear-gradient(0deg,rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 100%);
            position: absolute;
            bottom: 0px;
            left: 0px;
            z-index: 1;
        }
        .wrapper {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            justify-content: flex-end;
            align-items: center;
        }
        .hero-logo {
            position: absolute;
            top: 30px;
            right: 30px;
            max-width: 150px;

            @media screen and (max-width: 992px) {
                max-width: 100px;
            }
            @media screen and (max-width: 768px) {
                max-width: 140px;
                right: auto;
                left: 50%;
                transform: translateX(-50%);
            }
            @media screen and (max-width: 576px) {
                max-width: 120px;
            }
        }
        .hero-text {
            width: 100%;
            text-align: center;
            padding-bottom: 40px;

            @media screen and (max-width: 576px) {
                padding-bottom: 20px;
            }
            h1 {
                font-family: 'Baloo', sans-serif;
                font-size: 64px;
                font-weight: normal;
                text-transform: none;
                margin: 0px;
                text-shadow: 0px 0px 20px rgba(255, 255, 255, .7);

                @media screen and (max-width: 1200px) {
                    font-size: 48px;
                }
                @media screen and (max-width: 576px) {
                    font-size: 36px;
                }
            }
        }
    }
    .about {
        padding: 60px 0px 70px;

        @media screen and (max-width: 576px) {
            padding: 50px 0px 35px;
        }
        .wrapper {
            display: flex;
            flex-wrap: wrap;
        }
        .about-content {
            width: calc(100% - 480px);
            padding-right: 60px;

            @media screen and (max-width: 1024px) {
                width: 50%;
                padding-right: 30px;
            }
            @media screen and (max-width: 768px) {
                width: 100%;
                padding-right: 0px;
                padding-bottom: 36px;
            }
            h2 {
                font-family: 'Amatic SC', serif;
                font-size: 50px;
                line-height: 1em;
                font-weight: 700;
                text-transform: uppercase;
                color: #1A4451;
                margin: 0px 0px 20px;

                @media screen and (max-width: 576px) {
                    font-size: 40px;
                }
            }
            .about-download-button {
                display: inline-block;
                padding: 0px 10px 14px 0px;
            }
            .button.blue {
                background-color: #1A4451;
                color: white;
                border-color: #1A4451;
                font-size: 16px;
                padding-right: calc(1em + 20px);
                position: relative;

                &:hover, &:focus-visible {
                    background-color: white;
                    color: #1A4451;
                    border-color: #C1C1C1;
                }
                svg {
                    width: 13px;
                    position: absolute;
                    top: 50%;
                    right: 1em;
                    transform: translateY(-50%);
                }
            }
        }
        .about-video, .about-intro-image {
            width: 480px;
            margin-top: 70px;

            @media screen and (max-width: 1024px) {
                width: 50%;
            }
            @media screen and (max-width: 768px) {
                width: 100%;
                margin-top: 0px;
            }
            button {
                border: none;
                padding: 0px;
                background-color: transparent;
                position: relative;

                &:hover {
                    &:after {
                        transform: translate(-50%, -50%) scale(1.2);
                    }
                }
                &:after {
                    content: '';
                    display: block;
                    width: 80px;
                    height: 80px;
                    background-image: url('img/play.svg');
                    background-size: cover;
                    background-repeat: no-repeat;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    transition: .2s ease-in-out;

                    @media screen and (max-width: 576px) {
                        width: 65px;
                        height: 65px;
                    }
                }
            }
            img {
                width: 100%;
                border-radius: 10px;
            }
        }
    }
    .slider {
        padding-bottom: 80px;

        @media screen and (max-width: 576px) {
            padding-bottom: 50px;
        }
        .swiper {
            width: calc(100% + 400px);
            height: 450px;
            margin: 0px -200px;
            padding-top: 15px;
            padding-bottom: 55px;

            @media screen and (max-width: 768px) {
                height: 300px;
                padding-bottom: 60px;
            }
            @media screen and (max-width: 576px) {
                height: 250px;
            }
            .swiper-slide {
                border-radius: 10px;
                overflow: hidden;
                box-shadow: 0px 0px 15px 1px rgba(201, 201, 201, .4);

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
                button {
                    width: 100%;
                    height: 100%;
                    border: none;
                    padding: 0px;
                    background-color: transparent;
                }
            }
            .video-slide {
                &:hover {
                    button {
                        &:after {
                            transform: translate(-50%, -50%) scale(1.2);
                        }
                    }
                }
                button {
                    position: relative;

                    &:after {
                        content: '';
                        display: block;
                        width: 80px;
                        height: 80px;
                        background-image: url('img/play.svg');
                        background-size: cover;
                        background-repeat: no-repeat;
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        transition: .2s ease-in-out;

                        @media screen and (max-width: 576px) {
                            width: 65px;
                            height: 65px;
                        }
                    }
                }
            }
            .swiper-navigation {
                display: flex;
                justify-content: center;
                align-items: center;
                position: absolute;
                bottom: 5px;
                left: 50%;
                transform: translateX(-50%);
                width: 100%;
                z-index: 99;

                @media screen and (max-width: 768px) {
                    bottom: 10px;
                }
            }
            .swiper-pagination {
                display: block;
                position: relative;
                width: auto;
                height: 16px;
                bottom: auto;
                left: auto;
                transform: none;
                z-index: 10;
                padding: 0px 10px;

                @media screen and (max-width: 768px) {
                    display: none;
                }
                .swiper-pagination-bullet {
                    background-color: #D9D9D9;
                    opacity: 1;
                    width: 16px;
                    height: 16px;
                    margin: 0px 8px;
                    transition: .2s ease-in-out;

                    &.swiper-pagination-bullet-active {
                        background-color: #009D57;
                    }
                }
            }
            .swiper-button-next, .swiper-button-prev {
                display: block;
                position: relative;
                color: #1A4451;
                width: 16px;
                height: 16px;
                left: auto;
                right: auto;
                top: auto;
                transform: none;
                margin: -4px;
                background-size: cover;
                background-repeat: no-repeat;
                transition: .2s ease-in-out;

                @media screen and (max-width: 768px) {
                    width: 30px;
                    height: 30px;
                    margin: -4px 10px;
                }
                @media screen and (max-width: 576px) {
                    margin: -4px 7px;
                }
                &:hover, &:focus-visible {
                    transform: scale(1.3);
                }
                &:after {
                    display: none;
                }
            }
            .swiper-button-prev {
                background-image: url('img/prev.svg');
            }
            .swiper-button-next {
                background-image: url('img/next.svg');
            }
        }
    }
    .chef-kit {
        background-image: url('img/jr-chef-kit-bg.jpg');
        background-repeat: repeat;
        border-bottom: 20px solid #009D57;

        .wrapper {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        .chef-kit-content {
            width: 40%;
            padding: 50px 0px;
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            justify-content: center;

            @media screen and (max-width: 992px) {
                width: 50%;
            }
            @media screen and (max-width: 576px) {
                width: 100%;
                padding-bottom: 0px;
            }
            h2 {
                font-family: 'Baloo', sans-serif;
                font-size: 86px;
                font-weight: normal;
                line-height: 1;
                color: #1A4451;
                margin: 0px 0px 20px;

                @media screen and (max-width: 1300px) {
                    font-size: 64px;
                }
                @media screen and (max-width: 768px) {
                    font-size: 48px;
                    margin: 0px 0px 10px;
                }
                @media screen and (max-width: 576px) {
                    font-size: 40px;
                }
                span {
                    display: block;
                    font-size: 60px;
                    color: #009D57;

                    @media screen and (max-width: 1300px) {
                        font-size: 48px;
                    }
                    @media screen and (max-width: 768px) {
                        font-size: 36px;
                    }
                    @media screen and (max-width: 576px) {
                        font-size: 30px;
                    }
                }
            }
            ul {
                margin: 0px;

                li {
                    margin-bottom: 5px;

                    @media screen and (max-width: 768px) {
                        margin-bottom: 0px;
                    }
                    &:last-of-type {
                        margin-bottom: 0px;
                    }
                }
            }
        }
        .chef-kit-image {
            width: 60%;
            padding-top: 30px;
            display: flex;
            align-items: center;

            @media screen and (max-width: 992px) {
                width: 50%;
            }
            @media screen and (max-width: 576px) {
                width: 100%;
                padding-top: 0px;
            }
            img {
                width: 100%;
                height: auto;
            }
        }
    }
    .submit-request {
        padding: 100px 0px;

        @media screen and (max-width: 1024px) {
            padding: 75px 0px;
        }
        @media screen and (max-width: 576px) {
            padding: 50px 0px;
        }
        .wrapper {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        .submit-request-image {
            width: 480px;
            display: flex;
            flex-wrap: wrap;
            align-content: flex-start;

            @media screen and (max-width: 1024px) {
                width: 40%;
                align-content: flex-start;
            }
            @media screen and (max-width: 768px) {
                width: 100%;
                padding-bottom: 30px;
            }
            img {
                width: 100%;
                border-radius: 10px;
            }
        }
        .submit-request-content {
            width: calc(100% - 480px);
            padding-left: 60px;
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            justify-content: center;

            @media screen and (max-width: 1024px) {
                width: 60%;
                padding-left: 40px;
            }
            @media screen and (max-width: 768px) {
                width: 100%;
                padding-left: 0px;
            }
            .sign-up-form {
                display: none;
            }
            p {
                margin-top: 0;
                
                &:last-of-type {
                    margin-bottom: 0px;
                }
                a {
                    font-weight: bold;
                    text-decoration: underline;
                    color: #1A4451;

                    &:hover, &:focus-visible {
                        text-decoration: none;
                    }
                }
            }
        }
    }
    .sign-up-form {
        margin-top: 30px;

        form {
            input, textarea, select {
                color: #707070;
                font-weight: 600;
                transition: .2s ease-in-out;

                &:focus {
                    border-color: #1A4451 !important;
                }
                &::placeholder {
                    color: #707070;
                }
            }
            select {
                display: block;
                border-radius: 6px !important;
                border: 2px solid #C1C1C1 !important;
                background-image: url('img/triangle.svg');
                background-repeat: no-repeat;
                background-position: right 8px center;
                background-size: 14px;
                padding-right: 30px;
            }
            .gchoice {
                input {
                    appearance: none;
                    border: 2px solid #49454F !important;
                    border-radius: 2px !important;
                    width: 18px;
                    height: 18px;

                    &:checked {
                        background-color: #49454F;
                        background-image: url('img/check.svg');
                        background-repeat: no-repeat;
                        background-position: center;
                        background-size: 12px;
                    }
                }
                label {
                    font-weight: 700;
                    color: #49454F;
                    margin-left: 5px;

                    a {
                        color: #1A4451;
                        text-decoration: underline;
                        transition: .2s ease-in-out;

                        &:hover, &:focus-visible {
                            color: #009D57;
                            text-decoration: none;
                        }
                    }
                }
            }
        }
        .gform_wrapper.gravity-theme .gform_validation_errors>h2 {
            font-family: 'Open Sans', sans-serif;
            font-size: 14px;
            text-transform: none;
            color: #c02b0a !important;
        }
        .gform_footer {
            padding-bottom: 0px !important;
            margin-bottom: 0px !important;
        }
        .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
            line-height: normal !important;
            margin-bottom: 0px !important;
            font-size: 16px !important;
        }
        .gform_confirmation_message {
            font-size: 18px !important;
            line-height: 1.6 !important;
            color: #1A4451 !important;

            @media screen and (max-width: 576px) {
                font-size: 16px !important;
            }
        }
    }
    .sign-up {
        padding: 60px 0px;
        background-image: url('img/jr-chef-signup-bg.jpg');
        background-repeat: repeat;
        position: relative;
        overflow: hidden;
        min-height: 800px;
        display: flex;
        align-items: center;

        @media screen and (max-width: 992px) {
            min-height: 600px;
        }
        @media screen and (max-width: 768px) {
            min-height: auto;
        }
        @media screen and (max-width: 576px) {
            padding: 50px 0px;
        }
        &:after {
            content: '';
            display: block;
            background-image: url('img/jr-chef-doodle.png');
            background-repeat: no-repeat;
            background-size: cover;
            width: 835px;
            height: 813px;
            position: absolute;
            bottom: 0px;
            right: 0px;
            z-index: 1;

            @media screen and (max-width: 1300px) {
                opacity: .4;
            }
            @media screen and (max-width: 992px) {
                width: 600px;
                height: 600px;
            }
            @media screen and (max-width: 768px) {
                display: none;
            }
        }
        .sign-up-content {
            width: 100%;
            max-width: 740px;
            position: relative;
            z-index: 2;

            h2 {
                font-family: 'Amatic SC', serif;
                font-size: 50px;
                line-height: 1em;
                font-weight: 700;
                text-transform: uppercase;
                color: #1A4451;
                margin: 0px;

                @media screen and (max-width: 576px) {
                    font-size: 40px;
                }
            }
        }
    }
    .quiz {
        padding: 100px 0px 80px;

        @media screen and (max-width: 992px) {
            padding: 75px 0px;
        }
        @media screen and (max-width: 576px) {
            padding: 50px 0px;
        }
        .quiz-content {
            h2 {
                font-family: 'Amatic SC', serif;
                font-size: 50px;
                line-height: 1em;
                font-weight: 700;
                text-transform: uppercase;
                color: #1A4451;
                margin: 0px 0px 20px;
                text-align: center;

                @media screen and (max-width: 576px) {
                    font-size: 40px;
                }
            }
            p {
                width: 100%;
                max-width: 480px;
                margin: 0 auto 40px;
                text-align: center;

                @media screen and (max-width: 576px) {
                    margin-bottom: 30px;
                }
            }
        }
        .ays-quiz-container {
            .ays-fs-title {
                margin-top: 20px !important;
            }
            .ays-live-bar-fill {
                color: white !important;
            }
            .ays_quiz_results_page {
                .ays-progress {
                    margin-top: 20px;
                }
                .ays-progress-value {
                    font-size: 16px !important;
                    line-height: 1 !important;
                    margin-bottom: 10px !important;
                }
            }
        }
        div.ays-quiz-container[id^="ays-quiz-container-"] {
            margin: 0px auto !important;
            padding-bottom: 30px !important;

            img {
                border-radius: 10px;
            }
            .ays-fs-title {
                font-weight: bold;
            }
            input[type="button"], input[type="submit"], 
            #ays-quiz-container-1 #ays_finish_quiz_1 .action-button:hover, 
            #ays-quiz-container-2 #ays_finish_quiz_2 .action-button:hover, 
            #ays-quiz-container-1 #ays_finish_quiz_1 .action-button:focus, 
            #ays-quiz-container-2 #ays_finish_quiz_2 .action-button:focus, 
            #ays-quiz-container-1 + .ays-quiz-category-selective-main-container .ays-quiz-category-selective-restart-bttn:hover, 
            #ays-quiz-container-2 + .ays-quiz-category-selective-main-container .ays-quiz-category-selective-restart-bttn:hover, 
            #ays-quiz-container-1 .ays-quiz-category-selective-submit-bttn:focus, 
            #ays-quiz-container-2 .ays-quiz-category-selective-submit-bttn:focus {
                font-family: 'Baloo', sans-serif !important;
                font-weight: 400 !important;
                font-size: 16px !important;
                border-radius: 6px !important;
                border: 1px solid #C1C1C1 !important;
                color: white !important;
                white-space: nowrap !important;
                background-color: #1A4451 !important;
                text-transform: uppercase !important;
                padding: 0.6em 1em 0.5em 1em !important;
                display: inline-block !important;
                transition: .3s ease-in-out;

                &:hover, &:focus-visible {
                    color: #1A4451 !important;
                    background-color: white !important;
                    box-shadow: none !important;
                }
            }
            .ays_list_view_item {
                border-radius: 8px;
                overflow: hidden;
            }
            .right_answer_text, .wrong_answer_text {
                text-align: center;
            }
        }
        div#ays-quiz-container-1 #ays_finish_quiz_1 .action-button.ays_restart_button, 
        div#ays-quiz-container-2 #ays_finish_quiz_2 .action-button.ays_restart_button {
            font-family: 'Baloo', sans-serif !important;
            font-weight: 400 !important;
            font-size: 16px !important;
            border-radius: 6px !important;
            border: 1px solid #C1C1C1 !important;
            color: white !important;
            white-space: nowrap !important;
            background-color: #1A4451 !important;
            text-transform: uppercase !important;
            padding: 0.6em 1em 0.5em 1em !important;
            display: inline-block !important;
            transition: .3s ease-in-out;

            &:hover, &:focus-visible {
                color: #1A4451 !important;
                background-color: white !important;
                box-shadow: none !important;
            }
        }
    }
}

.modal {
  display: none;
  position: relative;
  z-index: 999;

  video {
    width: 100%;
    max-height: 85vh;
    border-radius: 10px;
  }
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__container {
  background-color: transparent;
  padding: 0;
  max-width: 1000px;
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
  position: relative;
}

.modal__header {
  display: block;
  height: 64px;
  background-color: transparent;
  position: relative;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #00449e;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 10;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

.modal__header .modal__close:before { content: "\2715"; }

.modal__content {
  margin-bottom: 2rem;
  line-height: 1.5;
  color: rgba(0,0,0,.8);
}

.modal__btn {
  font-size: .875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background-color: #e6e6e6;
  color: rgba(0,0,0,.8);
  border-radius: .25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform .25s ease-out;
  transition: transform .25s ease-out;
  transition: transform .25s ease-out,-webkit-transform .25s ease-out;
}

.modal__btn:focus, .modal__btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.modal__btn-primary {
  background-color: #00449e;
  color: #fff;
}

.terms-modal {
    .modal__header {
        box-shadow: none;
    }
    .modal__container {
        background-color: white;
    }
    .modal__content {
        padding: 0px 30px calc(30px - 1em);
        margin-bottom: 0px;

        h3 {
            margin-top: 0px;
            margin-bottom: 2.5rem;
            text-align: center;
        }
        p {
            text-wrap: pretty;
        }
    }
    .modal__close {
        color: #bfbfbf;

        &:hover {
            color: #009d57;
        }
    }
}



/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}