/*
/themes/chinacampus/assets/image/nm-2024/
*/

/*region Welcome */

.nm-welcome {
    padding-top: 150px;
}

.nm-welcome h1 {
    font-size: 70px;
    font-weight: 500;
    margin-bottom: 28px;
    line-height: 70px;
}

.nm-welcome-toggle {
    display: inline-block;
    width: 101px;
    background-image: url('/themes/chinacampus/assets/image/nm-2024/welcome-toggle.png');
    height: 59px;
    position: relative;
    top: 10px;
    margin-left: -10px;
}

.nm-welcome-description-1 {
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #4B5563;
}

.nm-welcome-description-2 {
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    color: #6C2BD9;
    background-color: rgba(242, 235, 255, 1);
    border-radius: 10px;
    margin-top: 28px;
    padding: 10px 10px 10px 47px;
    background-position: 11px 11px;
    background-size: 28px;
    background-image: url('/themes/chinacampus/assets/image/nm-2024/welcome-hat.png');
    background-repeat: no-repeat;
}

.nm-welcome-body {
    position: relative;
    width: 700px;
}

.nm-welcome-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;

    /*background-image: url('/themes/chinacampus/assets/image/nm-2024/welcome-bg.png');*/
    background-size: 569px auto;
    background-repeat: no-repeat;
}

.nm-welcome-bg img {
    width: 100%;
}

.nm-welcome .container {
    position: relative;
    min-height: 600px;
}

/*endregion*/

/*region Tariffs */

.nm-tariffs h2 {
    font-weight: 500;
    font-size: 56px;
    line-height: 100%;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
    position: relative;
}

.nm-tariffs-cards {
    display: flex;
    justify-content: space-between;
}

.nm-tariff {
    width: calc(50% - 20px);
    border-radius: 10px;
    box-shadow: 0 0 20px rgb(108 43 217 / 15%);
    padding: 40px;
    position: relative;
    box-sizing: border-box;
}

.nm-tariff-tag {
    position: absolute;
    right: -11px;
    top: -13px;
    padding: 12px 12px 12px 40px;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    transform: rotate(8.79deg);
    background-color: rgba(242, 235, 255, 1);
    background-repeat: no-repeat;
    background-image: url('/themes/chinacampus/assets/image/nm-2024/tariff-people-icon.png');
    background-position: 11px 13px;
    border-radius: 10px;
    z-index: 2;
}

.nm-tariff h3 {
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
}

.nm-tariff ul {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    color: #4B5563;
    width: 260px;
    line-height: 22px;
}

.nm-tariff img {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
}

.nm-tariff-price {
    font-size: 30px;
    font-weight: 700;
    margin: 40px 0 40px;
}

.nm-tariff-price span {
    font-size: 16px;
    color: rgb(128 128 189);
}

.nm-tariff-buttons {
    display: flex;
}

.nm-tariff-buttons > *:first-child {
    width: 40%;
}

.nm-tariff-buttons > *:last-child {
    width: 60%;
}

.nm-tariff-buttons > * {
    box-sizing: border-box;
    cursor: pointer;
}

.nm-tariff-buttons > .button {
    text-align: center;
    border: none;
}

.nm-tariff li {
    margin-bottom: 10px;
}

.nm-tariffs {
    margin-bottom: 60px;
}

.button-login.nm-tariff-link::after {
    content: none;
}

/*endregion*/

/*region Tariffs schedule popup */

#nm-tariffs-learning-popup-wrap {
    position: fixed;
    background: rgba(0, 0, 0, .3);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    z-index: 9999;
}

#nm-tariffs-learning-popup {
    position: relative;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 720px;
    box-sizing: border-box;
}

#nm-tariffs-learning-popup .x-variant {
    margin: 20px auto;
    padding: 20px 20px;
    background: #6C2BD9;
    border-radius: 32px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}

#nm-tariffs-learning-popup-wrap .x-close {
    position: fixed;
    top: 0;
    right: 0;
    font-size: 30px;
    line-height: 60px;
    text-align: center;
    width: 80px;
    height: 60px;
    cursor: pointer;
}

#nm-tariffs-learning-popup-wrap .x-title {
    font-size: 32px;
    margin: 0 0 50px;
    font-weight: 500;
}

#nm-tariffs-schedule-variants {
    position: relative;
    min-height: 100%;
    width: 100%;
    background: white;
    padding: 30px 30px 30px;
    box-sizing: border-box;
}

.nm-tariffs-schedule-variant {
    min-height: calc(100% - 60px);
}

#nm-tariffs-schedule-variants-close {
    display: block;
    margin: 20px auto 0;
    padding: 15px 30px;
    font-size: 20px;
    background: #6C2BD9;
    border-radius: 32px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
}

/*endregion*/

/*region Slider */

.nm-slider-section {
    margin: 60px 0;
}

.nm-slide h3 {
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 20px;
    font-weight: 500;
}

.nm-slide-text-body p {
    font-size: 20px;
    line-height: 24px;
    margin-top: 0;
}

.nm-slide-text-body {
    padding: 30px 30px 30px 30px;
    background-color: rgba(241, 233, 255, 1);
    border: 10px solid white;
    box-sizing: border-box;
    margin-right: -50px;
    transform: rotate(-3deg);
    height: 345px;
    width: 560px;
    z-index: 1;
    border-radius: 8px;
}

.nm-slide {
    background-image: url('/themes/chinacampus/assets/image/nm-2024/nm-final-3.png');
    padding: 100px 40px 40px;
    margin-bottom: 20px;
    position: relative;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    align-items: start;
    box-sizing: border-box;
}

.nm-slide-img {
    position: relative;
    right: 80px;
}

.nm-slide-img img {
    width: 670px;
    height: 445px;
}

.nm-slide-0 {
    background-color: rgba(255, 226, 232, 1);
}

.nm-slide-1 {
    background-color: rgba(255, 242, 194, 1);
}

.nm-slide-2 {
    background-color: rgba(108, 43, 217, 1);
}

#nm-slider-pagination {
    width: 100%;
    display: block;
    text-align: center;
    position: relative;
    bottom: 60px;
    z-index: 1;
}

#nm-slider-pagination .swiper-pagination-bullet {
    margin: 0 5px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background-color: rgba(255, 231, 141, 1);
    opacity: .5;
}

#nm-slider-pagination .swiper-pagination-bullet-active {
    background: rgba(255, 202, 0, 1);
}

/*endregion*/

/*region Results */

.nm-results {
    margin: 60px 0;
}

.nm-results-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.nm-result {
    width: calc(33% - 20px);
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0 0 20px rgb(108 43 217 / 15%);
    padding: 30px;
}

.nm-result h4 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 60px;
}

.nm-result-tags {
    display: flex;
    margin-bottom: 20px;
}

.nm-result-tags > * {
    background-color: rgba(241, 233, 255, 1);
    margin-right: 15px;
    border-radius: 5px;
    padding: 10px;
    color: white;
}

.nm-result-date-tag {
    color: rgba(108, 43, 217, 1);
}

.nm-results h2 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 50px;
    max-width: 700px;
}

/*endregion*/

/*region Start today */

.nm-start-today {
    background-color: #6b5ac9;
    background-image: url('/themes/chinacampus/assets/image/nm-2024/nm-start-today-bg.jpg');
    color: white;
    margin: 120px 0;
    padding: 50px 0;
    background-size: cover;
    background-position: center;
}

.nm-start-today h2 {
    font-weight: 500;
    margin-bottom: 30px;
    font-size: 40px;
}

.nm-start-wrap {
    display: flex;
}

.nm-start-text {
    width: 60%;
}

.nm-start-text-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.nm-start-text-item {
    width: calc(50% - 20px);
    padding: 70px 15px 15px;
    border: 2px solid white;
    border-radius: 10px;
    font-weight: 600;
    line-height: 1.4;
    background-size: 36px auto;
    background-repeat: no-repeat;
    background-position: 15px 15px;
    box-sizing: border-box;
    font-size: 20px;
}

.nm-start-text-item.x-glasses {
    background-image: url('/themes/chinacampus/assets/image/nm-2024/nm-start-glasses.svg');
}

.nm-start-text-item.x-video {
    background-image: url('/themes/chinacampus/assets/image/nm-2024/nm-start-video.svg');
}

.nm-start-text-item.x-rocket {
    background-image: url('/themes/chinacampus/assets/image/nm-2024/nm-start-rocket.svg');
}

.nm-start-text-item.x-chat {
    background-image: url('/themes/chinacampus/assets/image/nm-2024/nm-start-chat.svg');
}

.nm-start-form {
    background-color: white;
    margin-left: 30px;
    border-radius: 20px;
    padding: 30px;
    box-sizing: border-box;
    color: black;
    width: 444px;
}

.nm-start-form .x-policy {
    font-size: 13px;
}

.nm-start-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid rgb(209, 213, 219);
    background-color: rgb(249, 250, 251);
    color: rgb(75, 85, 99);
    font-weight: 300;
}

.nm-start-form button {
    margin-bottom: 20px;
    width: 100%;
    padding: 15px;
    background: red;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

/*endregion*/

/*region Teachers */

.nm-teachers h2 span {
    color: #6C2BD9;
}

.nm-teachers h2 {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 30px;
}

.nm-teachers-desc {
    color: gray;
    margin-bottom: 80px;
}

.nm-teachers-photos {
    display: flex;
    margin-bottom: 100px;
}

.nm-teacher-photo {
    width: calc(20% - 10px);
    margin-right: 10px;
    text-align: center;
}

.nm-teacher-photo img {
    width: 140px;
    height: 140px;
    border-radius: 100%;
    margin-bottom: 20px;
}

.nm-teacher-name {
    font-size: 18px;
}

.nm-teachers-text-items {
    display: flex;
    justify-content: space-between;
}

.nm-teachers-text-item {
    box-shadow: 0 0 20px rgb(108 43 217 / 15%);
    box-sizing: border-box;
    padding: 30px;
    width: calc(33% - 20px);
    margin-right: 20px;
    border-radius: 15px;
}

.nm-teachers-text-item p {
    font-weight: 400;
    line-height: 1.4;
    color: gray;
}

.nm-teachers-text-item h3 {
    padding-left: 40px;
    padding-bottom: 5px;
    color: #6C2BD9;
    font-weight: 600;
    font-size: 20px;
    background-size: 28px;
    background-position: 0px -2px;
    background-repeat: no-repeat;
}

.nm-teachers-text-item.x-hat h3 {
    background-image: url('/themes/chinacampus/assets/image/nm-2024/nm-teachers-hat.svg');
}

.nm-teachers-text-item.x-stars h3 {
    background-image: url('/themes/chinacampus/assets/image/nm-2024/nm-teachers-stars.svg');
}

.nm-teachers-text-item.x-stats h3 {
    background-image: url('/themes/chinacampus/assets/image/nm-2024/nm-teachers-stats.svg');
}

/*endregion*/

/*region Main form*/

.nm-main-form {
    margin: 120px 0;
}

.nm-main-form .container {
    position: relative;
    overflow: visible;
}

.nm-main-form-img {
    background-image: url('/themes/chinacampus/assets/image/nm-2024/nm-main-form-hat.png');
    position: absolute;
    top: -81px;
    right: 104px;
    width: 200px;
    height: 148px;
    background-size: cover;
}

.nm-main-form-text {
    color: white;
    width: 480px;
}

.nm-main-form-text h2 {
    font-size: 42px;
    font-weight: 500;
}

.nm-main-form-text ul {
    font-size: 24px;
    line-height: 1.6;
}

.nm-main-form-wrap {
    border-radius: 24px;
    background-color: #6c2bd9;
    display: flex;
    padding: 60px;
    box-sizing: border-box;
    justify-content: space-between;
}

/*endregion*/

/*region Result */

.nm-result-button {
    color: rgba(108, 43, 217, 1);
    background: white;
    border: 1px solid rgba(108, 43, 217, 1);
    width: 100%;
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
}

.nm-result-level-tag.x-purple {
    background: rgba(108, 43, 217, 1);
}

.nm-result-level-tag.x-yellow {
    background: rgba(241, 197, 61, 1);
}

.nm-result-level-tag.x-green {
    background: rgba(90, 188, 89, 1);
}

.nm-result-level-tag.x-blue {
    background: rgba(45, 109, 246, 1);
}

.nm-result-level-tag.x-red {
    background: rgba(226, 44, 55, 1);
}

.nm-result-level-tag.x-black {
    background: rgba(19, 24, 35, 1);
}

.nm-result-button::after {
    content: none;
}

/*endregion*/

/*region Final */

.nm-final {
    margin: 120px 0;
}

.nm-final h2 {
    font-size: 56px;
    font-weight: 500;
    margin-bottom: 30px;
}

.nm-final h2 span {
    color: rgba(108, 43, 217, 1);
}

.nm-final-row-1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.nm-final-row-2 {
    display: flex;
    justify-content: space-between;
}

.nm-final-item {
    padding: 30px;
    border-radius: 24px;
    box-sizing: border-box;
}

.nm-final-item.x-purple {
    background-color: rgba(108, 43, 217, 1);
    color: white;
}

.nm-final-item.x-yellow {
    background-color: rgba(250, 202, 21, 1);
}

.nm-final-item.x-pink {
    background-color: rgba(255, 226, 232, 1);
}

.nm-final-item.x-stars-bg {
    background-image: url('/themes/chinacampus/assets/image/nm-2024/nm-final-3.png');
    background-position: center;
    background-size: cover;
    width: 733px;
}

.nm-final-item.x-rotated {
    transform: rotate(3deg);
    width: 520px;
}

.nm-final-item h3 {
    font-size: 32px;
}

.nm-final-item ul, .nm-final-item p {
    font-size: 20px;
    line-height: 24px;
    font-weight: 300;
}

.nm-final-row-2 > * {
    width: calc(50% - 10px);
}

.nm-final-item.x-img {
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
}

.nm-final-item.x-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.nm-final-item li:not(:last-child) {
    margin-bottom: 15px;
}

/*endregion*/

/*region Popup */

#nm-results-popup-wrap {
    position: fixed;
    background: rgba(0, 0, 0, .3);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#nm-results-popup {
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 720px;
    box-sizing: border-box;
}

#nm-results-popup-close {
    position: fixed;
    top: 0;
    right: 0;
    font-size: 30px;
    line-height: 60px;
    text-align: center;
    width: 80px;
    height: 60px;
    cursor: pointer;
}

#nm-results-popup-title {
    font-size: 32px;
    margin: 20px 0 15px;
    font-weight: 500;
}

#nm-results-popup-description {
    font-size: 20px;
    margin: 15px 0;
}

#nm-results-popup-tags {
    display: flex;
}

#nm-results-popup-tag {
    font-size: 32px;
    font-weight: 600;
    margin-right: 15px;
    padding: 8px;
    color: white;
    border-radius: 10px;
}

#nm-results-popup-tag.x-purple {
    background: rgba(108, 43, 217, 1);
}

#nm-results-popup-tag.x-yellow {
    background: rgba(241, 197, 61, 1);
}

#nm-results-popup-tag.x-green {
    background: rgba(90, 188, 89, 1);
}

#nm-results-popup-tag.x-blue {
    background: rgba(45, 109, 246, 1);
}

#nm-results-popup-tag.x-red {
    background: rgba(226, 44, 55, 1);
}

#nm-results-popup-tag.x-black {
    background: rgba(19, 24, 35, 1);
}

#nm-results-popup-duration {
    color: #6c2bd9;
    padding: 15px 5px;
}

#nm-results-popup-tip {
    font-size: 18px;
    color: #999999;
    margin: 0 0 40px;
}

#nm-results-popup-form {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

#nm-results-popup .x-input-group {
    width: calc(30% - 20px);
}

#nm-results-popup .x-input-group label {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
}

#nm-results-popup input {
    color: rgb(75, 85, 99);
    border: 1px solid rgb(209, 213, 219);
    background-color: rgb(249, 250, 251);
    border-radius: 8px;
    font-size: 16px;
    padding: 10px;
}

#nm-results-popup-button {
    width: calc(27% - 20px);
    text-align: center;
    color: white;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    background-color: #6c2bd9;
    padding: 10px 5px;
    display: block;
}

#nm-results-popup .x-policy {
    font-size: 13px;
    margin-top: 15px;
}

#nm-thank-you-popup-wrap {
    position: fixed;
    background: rgba(0, 0, 0, .3);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#nm-thank-you-popup {
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 320px;
    box-sizing: border-box;
    text-align: center;
}

#nm-thank-you-popup .x-title {
    font-size: 32px;
    margin-bottom: 20px;
}

#nm-thank-you-popup .x-title {
    font-size: 20px;
}

#nm-results-popup-tip::before {
    content: '*';
}

#nm-results-popup-duration::before {
    content: '*';
}

/*endregion*/

@media (max-width: 1380px) {

    .nm-welcome-bg {
        width: 350px;
        height: 350px;
        background-size: contain;
        background-position: top right;
    }

    .nm-tariff img {
        width: 150px;
        height: 150px;
        top: 90px;
    }

    .nm-slide h3 {
        font-size: 24px;
        line-height: 1.2;
    }

    .nm-slide-text-body p {
        font-size: 16px;
        line-height: 1.2;
    }

    .nm-result h4 {
        font-size: 18px;
        min-height: 42px;
    }
}

@media (max-width: 768px) {

    .nm-welcome-body {
        width: 100%;
    }

    .nm-welcome .container {
        display: flex;
        flex-direction: column-reverse;
    }

    .nm-welcome-bg {
        position: static;
        margin-top: 20px;
    }

    .nm-welcome h1 {
        font-size: 38px;
        line-height: 38px;
    }

    .nm-welcome-toggle {
        height: 30px;
        background-size: contain;
        background-repeat: no-repeat;
        margin-left: 3px;
        top: 4px;
    }

    .nm-welcome-description-1 {
        font-size: 20px;
    }

    .nm-welcome-description-2 {
        font-size: 18px;
        background-size: 20px;
        padding-left: 38px;
        width: 100%;
        box-sizing: border-box;
    }

    .nm-welcome {
        margin-bottom: 50px;
    }

    .nm-tariffs h2 {
        font-size: 38px;
    }

    .nm-tariffs-cards {
        flex-direction: column;
    }

    .nm-tariff {
        width: 100%;
        box-shadow: 0 0 20px rgb(108 43 217 / 10%);
        padding: 15px;
    }

    .nm-tariff-tag {
        font-size: 12px;
        background-size: 12px;
        padding: 5px 5px 5px 27px;
        background-position: 10px 7px;
    }

    .nm-tariff h3 {
        font-size: 20px;
    }

    .nm-tariff ul {
        font-size: 16px;
        line-height: 1.2;
        left: -22px;
        position: relative;
        margin: -10px 0 20px;
        width: 100%;
    }

    .nm-tariff img {
        position: static;
    }

    .nm-tariff:first-child img {
        transform: rotate(-4.5deg);
    }

    .nm-tariff:last-child img {
        transform: rotate(4.5deg);
    }

    .nm-tariff-price {
        margin: 20px 0;
    }

    .nm-tariff-buttons {
        flex-direction: column;
    }

    .nm-tariff-buttons > * {
        display: block !important;
        margin-bottom: 10px;
        text-align: center;
    }

    .nm-tariff-buttons > *:first-child {
        width: 100%;
    }

    .nm-tariff-buttons > *:last-child {
        width: 100%;
    }

    .nm-tariff:first-child {
        margin-bottom: 30px;
    }

    .nm-slide {
        flex-direction: column;
        padding: 30px 20px;
        margin-bottom: 0;
    }

    .nm-slide-text-body {
        margin: 0 auto -20px;
        width: 100%;
        height: auto;
        position: relative;
        z-index: 1;
        transform: rotate(3deg);
        padding: 15px;
    }

    .nm-slide-img {
        right: auto;
    }

    .nm-slide-img img {
        width: 100%;
        height: auto;
        z-index: 2;
        position: relative;
        transform: rotate(-6deg);
    }

    #nm-slider-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    .nm-results h2 {
        font-size: 38px;
        line-height: 1.1;
    }

    .nm-results-row {
        flex-direction: column;
        margin-bottom: 0;
    }

    .nm-result {
        width: 100%;
        margin-bottom: 20px;
    }

    .nm-result h4 {
        font-size: 20px;
        color: rgba(75, 85, 99, 1);
        min-height: 0;
        margin-bottom: 30px;
    }

    .nm-result-button {
        display: block !important;
    }

    .nm-result-tags {
        margin-bottom: 10px;
    }

    .nm-result-tags > * {
        margin-right: 10px;
    }

    .nm-start-wrap {
        flex-direction: column;
    }

    .nm-start-text {
        width: 100%;
    }

    .nm-start-text-row {
        display: block;
        margin-bottom: 0;
    }

    .nm-start-text-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .nm-start-form {
        width: 100%;
        margin: 20px auto 0;
    }

    .nm-teachers-photos {
        display: block;
    }

    .nm-teacher-photo {
        width: 100%;
        margin: 0 auto 20px;
    }

    .nm-teacher-photo img {
        margin-bottom: 10px;
    }

    .nm-teachers-text-items {
        display: block;
    }

    .nm-teachers-text-item {
        width: 100%;
        margin: 0 0 20px;
    }

    .nm-main-form-wrap {
        display: block;
        padding: 30px;
    }

    .nm-main-form-text {
        width: 100%;
    }

    .nm-main-form-text h2 {
        font-size: 28px;
    }

    .nm-main-form-text ul {
        font-size: 18px;
        position: relative;
        left: -20px;
    }

    .nm-main-form-img {
        width: 100px;
        height: 77px;
        background-size: contain;
        background-repeat: no-repeat;
        top: -39px;
        right: 39px;
    }

    .nm-final h2 {
        font-size: 28px;
    }

    .nm-final-row-1 {
        display: block;
    }

    .nm-final-row-2 {
        flex-direction: column-reverse;
    }

    .nm-final-item,
    .nm-final-item.x-rotated {
        width: 100% !important;
        transform: none;
        margin: 0 0 20px;
        padding: 20px;

    }

    .nm-final-row-2 > *:last-child {
        height: 300px;
        background-size: cover;
    }

    #nm-results-popup {
        margin: 20px auto;
        max-width: calc(100% - 40px);
    }

    #nm-results-popup-title {
        font-size: 20px;
        margin: 15px 0 10px;
        font-weight: 500;
    }

    #nm-results-popup-description {
        font-size: 16px;
        margin: 10px 0;
    }

    #nm-results-popup-tag {
        font-size: 18px;
        padding: 6px;
    }

    #nm-results-popup-duration {
        color: #6c2bd9;
        padding: 8px 5px;
    }

    #nm-results-popup-tip {
        font-size: 14px;
        margin: 0 0 20px;
    }

    #nm-results-popup-form {
        display: block;
    }

    #nm-results-popup .x-input-group {
        width: 100%;
        margin-bottom: 15px;
    }

    #nm-results-popup .x-input-group input {
        width: 100%;
        box-sizing: border-box;
    }

    #nm-results-popup-button {
        width: 100%;
    }
}
