@include responsive(medium-screen) {
    .create-application-wrapper {
        & > div:nth-child(1),
        & > div:nth-child(3) {
            margin: 0 20px !important;
        }

        & > div:nth-child(2) {
            width: calc(100% - 500px) !important;
        }
    }
    .application-details-wrapper {
        .w-60 {
            width: 80% !important;
        }
    }

    // auth student
    .admin-auth-container .card-wrapper {
        padding: 40px 0 !important;
    }
}

@include responsive(small-screen) {
    // secondary main
    .secondary-main {
        margin: 110px 15px !important;
    }

    // application
    .application-wrapper {
        & > div:first-child {
            h1 {
                font-size: 14px !important;
            }

            p {
                font-size: 12px !important;
            }
        }

        div aside {
            width: 100% !important;

            h2 {
                font-size: 18px !important;
            }

            p {
                font-size: 14px !important;
            }
        }

        .select-college {
            height: max-content;
        }

        div div {
            margin-left: 0 !important;
        }
    }

    // application create
    .create-application-wrapper {
        display: block !important;
        padding-bottom: 150px;

        & > div:nth-child(1) {
            position: static !important;
            width: 100%;
            margin: 0 0 20px 0 !important;

            display: flex;
            flex-direction: column-reverse;

            .ant-btn {
                display: none !important;
            }

            .progress-bar-wrapper {
                margin-bottom: 28px;
            }
        }

        .stepper-container .stepper-icon::after {
            border-left: 0 !important;
        }

        // application form
        & > div:nth-child(2) {
            margin: 0 !important;
            width: 100% !important;
        }

        & > div:nth-child(3) {
            bottom: 0;
            background-color: #fff;
            width: 100%;
            margin: 0;
            padding: 20px;
            box-shadow: 0px 3px 25px #81818129;
        }

        & > div:nth-child(3) {
            margin: 0 !important;
            padding: 20px 12px !important;
        }
    }

    .ant-card-body {
        padding: 14px 20px !important;
    }

    //payment-method-wrapper
    .payment-wrapper {
        & > div:nth-child(1) {
            display: none !important;
        }

        & > div:nth-child(2),
        & > div:nth-child(3) {
            width: 50% !important;
        }
    }
}

@include responsive(tablet-portrait) {
    .primary-header {
        justify-content: space-between !important;
        padding: 15px !important;
        nav {
            flex: inherit !important;
            .ant-select {
                width: 100px !important;
            }
        }
        .logo {
            width: 135px !important;
            margin-right: 10px !important;
        }
        .secondary-nav {
            & > div:first-child,
            & > div:last-child button:nth-child(2) {
                display: none !important;
            }
            & > div:last-child button:nth-child(3) {
                display: inline-block !important;
            }
        }
    }

    // payment details

    .application-details {
        & > div {
            display: block !important;
        }
        .status-wrapper {
            flex-direction: row !important;

            .ant-divider-horizontal {
                display: none !important;
            }
            .ant-divider-vertical {
                display: block !important;
            }
            .w-740 {
                width: 100%;
            }
        }
    }

    .application-details-wrapper {
        .w-60 {
            width: 100% !important;
        }
        padding-bottom: 40px;
    }

    // auth student
    .admin-auth-container .card-wrapper {
        padding: 70px 0 !important;
    }
}

@include responsive(tablet) {
    .payment-wrapper {
        & > div:nth-child(1) {
            display: none !important;
        }
        & > div:nth-child(2),
        & > div:nth-child(3) {
            width: 100% !important;
        }
        & > div:nth-child(3) {
            margin-bottom: 40px;
        }
        .p-20 {
            padding: 5px !important;
        }
    }

    .col-3 {
        width: 50% !important;
    }
}
.application-details-wrapper {
    .col-4,
    .col-3,
    .col-2 {
        width: 50% !important;
    }
}

@include responsive(tablet-portrait) {
    //registration form responsive
    .registration-container {
        background-image: url("../assets/background.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 100vh;
        width: 100%;

        .logo-div {
            //display: block !important;
            text-align: center;
            padding-top: 77px;

            p {
                padding-top: 10px;
            }
        }

        .translation-wrapper {
            //display: block !important;
            width: fit-content !important;
            float: right !important;
        }

        button {
            padding: 0px !important;
            margin: 20px 0px 10px 0px !important;
        }

        .footer-sm {
            //display: block !important;

            & > div:nth-child(2) {
                display: flex !important;
                flex-wrap: wrap !important;
            }
        }
    }

    .student-registration {
        margin: 0 !important;
        padding: 20px;
        background: #fff;

        h1 {
            text-align: center !important;
        }

        .registeration-content {
            p {
                text-align: center !important;
            }

            .ant-divider-horizontal {
                margin: 26px 0 !important;
            }

            .ant-picker,
            .ant-input,
            .form-control {
                width: 100% !important;
            }

            .ant-form-vertical {
                margin-bottom: 0 !important;
            }
        }
    }

    .student-registration-div {
        display: none !important;
    }

    // terms modal
    .terms-model {
        padding: 16px 0;
    }

    .action-sec {
        padding: 30px 30px !important;
    }
}

.student-profile-wrapper {
    .ant-form-item {
        width: 100% !important;
    }

    .me-3 {
        margin-right: 0 !important;
    }
}

@include responsive(mobile) {

    .white-space-pre {
        white-space: pre !important;
    }

    .student-registration {
        margin: 20px 20px 0px 20px !important;
    }

    .col-3,
    .ant-picker,
    .primary-select {
        width: 100% !important;
    }

    .primary-select {
        width: 100% !important;
    }



    .mobile-sticky-actions {
        button,
        a button {
            height: 30px !important;
            font-size: 14px !important;
        }
    }

    .ant-form-item {
        margin-left: 0 !important;
        margin-right: 5px !important;
    }

    .ant-card-body {
        padding: 14px 14px 54px !important;
    }

    //.application-details {
    //    button {
    //        width: 100% !important;
    //    }
    //}

    .student-profile-wrapper {
        display: block !important;
    }
}

// utilities

@media (min-width: "992px") {
    .w-lg-740 {
        width: 740px !important;
    }

    .application-details {
        .status-wrapper {
            .ant-divider-vertical {
                display: none !important;
            }
        }
    }
}

@media (max-width: 400px) {
    .application-details {
        .status-wrapper {
            div {
                width: 100% !important;
            }
            div:first-child {
                margin-bottom: 20px;
            }
            .ant-divider-vertical {
                display: none !important;
            }
        }
    }
}

@media (max-width: 470px) {
    .application-details-wrapper {
        .col-4,
        .col-3,
        .col-2 {
            width: 100% !important;
        }
    }

    // student // admin auth form wrapper
    .admin-auth-container .card-wrapper {
        margin: 0 auto !important;
        width: 90% !important;
        top: 320px !important;
    }

    .kiu-form-div {
        width: 100% !important;

        & > div:nth-child(1) {
            width: 100% !important;
            padding: 0 !important;
        }
    }

    .helpTextBottom {
        text-align: center!important;
    }

    .admin-auth-container {
        background-image: url(/images/background.png?455d753…);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 100vh;
        width: 100%;

        .card-wraper {
            top: 44% !important;
        }

        .translation-wrapper-footer {
            .footer-content {
                display: flex;
                flex-direction: column;

                & > div:nth-child(1) {
                    justify-content: center !important;
                }

                & > div:nth-child(3) {
                    display: flex;
                    width: 100%;
                    justify-content: center;

                    .footer-content-div {
                        display: flex !important;
                        flex-direction: column !important;
                        flex-wrap: wrap !important;
                        row-gap: 10px !important;
                    }
                }

                & > div:nth-child(2) {
                    order: 4 !important;
                    padding-top: 30px !important;
                    justify-content: center !important;
                }
            }
        }
    }
}
