@font-face {
    font-family: 'Assistant';
    src: url('fonts/Assistant-Regular.woff2') format('woff2'),
        url('fonts/Assistant-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Assistant';
    src: url('fonts/Assistant-Bold.woff2') format('woff2'),
        url('fonts/Assistant-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    src: url('fonts/OpenSans-Regular.woff2') format('woff2'),
        url('fonts/OpenSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Assistant';
    src: url('fonts/Assistant-SemiBold.woff2') format('woff2'),
        url('fonts/Assistant-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Assistant';
    font-weight: normal;
    direction: rtl;
}
body {
    -webkit-text-size-adjust: 100%;
  }
.container {
    max-width: 430px;
    margin: auto;
    padding: 10px 15px 20px;
}
.col-md-12 {
    width: 100%;
    padding: 0 15px;
}
.swal2-actions {
    border-top: 2px solid #ccc;
    width: 100%;
    padding-top: 15px;
}
.swal2-actions button.swal2-confirm.swal2-styled {
    background: none !important;
    color: #7066e0 !important;
    box-shadow: none;
}
div:where(.swal2-container).swal2-center>.swal2-popup {
    background-color: #e8f0f2;
}
div:where(.swal2-container) h2:where(.swal2-title) {
    position: relative;
    max-width: 100%;
    margin: 10px 0 0 !important;
    padding: 20px 20px 0 !important;
    color: inherit;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center;
    text-transform: none;
    word-wrap: break-word;
    cursor: initial;
    line-height: 22px;
    font-family: OpenSans;
    color: #000 !important;
}
.swal2-rtl .swal2-close {
    margin-right: initial;
    margin-left: 0;
    border: none;
    box-shadow: none;
    position: relative;
    top: -10px;
    left: -10px;
}
div:where(.swal2-container) div:where(.swal2-popup) {
    display: none;
    position: relative;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 100%);
    width: var(--swal2-width);
    max-width: 85% !important;
    padding: var(--swal2-padding);
    border: var(--swal2-border);
    border-radius: var(--swal2-border-radius);
    background: var(--swal2-background);
    color: var(--swal2-color);
    font-family: inherit;
    font-size: 1rem;
}
.logo {
    text-align: center;
}
.logo img {
    height: 150px;
    width: auto;
}
h2.home-heading {
    text-align: center;
    padding: 0 80px;
    font-size: 34px;
}
.school-icon {
    text-align: center;
}
.school-icon img {
    width: 250px;
}
.school-icon img {
    width: 250px;
    margin: 30px 0;
}
.home-bottom-btn a {
    background-color: #4d6a78;
    color: #fff;
    width: 200px;
    display: block;
    text-align: center;
    margin: auto;
    padding: 5px 0px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 100px;
}
.home-bottom-btn {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
}
h1.main-heading {
    color: #516f79;
    font-weight: 600;
    text-align: center;
    font-size: 34px;
    margin-top: 0;
}
.btn-group button {
    border: none;
    width: 31%;
    display: inline-block;
    margin-left: 12px;
    height: 35px;
    font-size: 16px;
    border-radius: 100px;
    float: right;
    opacity: .5;
    cursor: pointer;
    line-height: 14px;
}
.btn-group button:last-child {
    margin-left: 0px;
}
button#compulsory_subjects {
    background-color: #fedc78;
    color: #18333b;
}
button#english_math {
    background-color: #fec073;
    color: #18333b;
}
button#trends {
    background-color: #c2eaf2;
    color: #18333b;
}
button.active {
    opacity: 1;
}
.stage-group {
    clear: both;
    text-align: center;
    margin-top: 15px;
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
}
.stage-group span {
    width: 33.33%;
    float: right;
    opacity: .5;
}
.stage-group span.active {
    opacity: 1;
}
table.table-1 td.td_2, table.table-2 td.td_2, table.table-3 td.td_2 {
    text-align: center;
}
table.table-1, table.table-2, table.table-3 {
    direction: rtl;
}
table.table-1 th, table.table-2 th, table.table-3 th {
    font-weight: 600;
    background-color: #4d6a78;
    color: #fff;
    font-size: 16px;
    padding: 5px 10px !important;
    line-height: 15px;
}
table.table-1 th.th-1, table.table-2 th.th-1, table.table-3 th.th-1 {
    width: 60%;
    padding: 0 10px;
}
table.table-1 th.th-2, table.table-2 th.th-2, table.table-3 th.th-2 {
    width: 15%;
    padding: 0 10px;
    text-align: center;
}
table.table-1 th.th-3, table.table-2 th.th-3, table.table-3 th.th-3 {
    width: 25%;
    padding: 0 10px;
}
table.table-1 td.td_3, table.table-2 td.td_3, table.table-3 td.td_3 {
    text-align: center;
}
table.table-1 td.td_3 img, table.table-2 td.td_3 img, table.table-3 td.td_3 img {
    width: 15px;
    vertical-align: middle;
}
table.table-1 td {
    padding: 5px 10px;
    background-color: #fedc78;
}
table.table-2 td {
    padding: 5px 10px;
    background-color: #ffdcb4;
}
table.table-2 tr.active td {
    background-color: #fec073;
}
table.table-3 td {
    padding: 5px 10px;
    background-color: #ddf9fc;
}
table.table-3 tr.active td {
    background-color: #c3ebf3;
}
table.table-1 td span, table.table-2 td span, table.table-3 td span {
    color: #f00;
}
.table-result {
    text-align: center;
    direction: rtl;
    float: right;
    position: relative;
    width: 100%;
    height: 169px;
    overflow: hidden;
}
.table-result td {
    background-color: #fedc78;
    padding: 5px 10px;
}
.table-result .td_2 span {
    display: inline-block;
    transform: rotate(180deg);
}
.bellow-table.final-result .table-result span {
    display: inline-block;
    transform: rotate(0deg);
}
.accumulated_unit {
    clear: both;
    background: rgb(8,143,57);
    background: linear-gradient(90deg, rgba(8,143,57,1) 0%, rgba(255,255,255,1) 100%);
    padding: 7px 15px;
    color: #fff;
    font-size: 20px;
    width: 69%;
    float: right;
    margin-top: 15px;
    direction: ltr;
}
.bellow-table {
    position: relative;
    height: 100%;
    float: right;
    width: 100%;
    margin-top: 120px;
}
.eligibility-matriculation {
    position: absolute;
    left: -106px;
    top: 40px;
    transform: rotate(-90deg);
    color: rgb(8, 143, 57);
    font-weight: 600;
    font-size: 20px;
    border-bottom: 2px solid;
    width: 63%;
    text-align: right;
}
.step-btn a.step-submit, .step-btn button.step-submit {
    background-color: #4d6a78;
    color: #fff;
    padding: 6px 20px;
    text-decoration: none;
    border-radius: 100px;
    margin: auto;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 18px;
    width: 200px;
}
.step-btn {
    text-align: center;
    margin-top: 40px;
    display: inline-block;
    width: 100%;
}
a.prev img, a.next img {
    width: 18px;
}
.table-result .tr {
    float: right;
}
.table-result .tr .td_1 {
    height: 140px;
    writing-mode: vertical-lr;
    text-align: center;
    background-color: #fedc78;
    border-left: 2px solid #fff;
    padding: 0 0px;
    font-size: 14px;
    transform: rotate(180deg);
    margin-bottom: 1px;
}
.table-result .tr .td_2 {
    background-color: #fedc78;
    border-left: 2px solid #fff;
    position: relative;
    display: block;
    text-align: center;
    border-top: 4px solid #fff;
    height: 25px;
    line-height: 25px;
    transform: rotate(180deg);
    width: 19px;
}
.result {
    background-image: url(img/result-bg.png);
    width: 300px;
    height: 300px;
    background-size: cover;
    margin: auto;
    position: relative;
}
.result .result-text {
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 105px;
    text-align: center;
    font-size: 26px;
}
.result .result_num {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    top: 32%;
    color: #fff;
    font-size: 46px;
}
.response-text h4 {
    color: #4d6a78;
    font-weight: 600;
    text-align: center;
    font-size: 22px;
    padding: 0 20px;
}
.table-result .tr.step-2 .td_1, .table-result .tr.step-2 .td_2 {
    background-color: #fec073;
    padding: 0 5px;
}
.table-3 tr.strong td {
    background-color: #f8e4dd;
}
.table-result .tr.step-3 .td_1, .table-result .tr.step-3 .td_2 {
    background-color: #ddf9fc;
    padding: 0 10px;
}
.bellow-table.final-result .eligibility-matriculation {
    display: none;
}
.bellow-table.final-result .accumulated_unit {
    float: left;
    transform: rotate(90deg);
    position: absolute;
    left: -137px;
    top: 113px;
    padding: 0px 9px;
}
.bellow-table.final-result .table-result .tr {
    float: left;
    clear: both;
    margin-top: 0;
}
.bellow-table.final-result .table-result .tr .td_1, .bellow-table.final-result .table-result .tr .td_2 {
    writing-mode: inherit;
    height: auto;
    transform: none;
    float: left;
    border-top: 4px solid #fff;
    padding: 0;
}
.bellow-table.final-result .table-result {
    float: left;
    width: 45%;
    padding-right: 10px;
    margin-left: 20px;
    height: auto;
    overflow: auto;
}
.bellow-table.final-result .td_1 {
    height: auto;
    writing-mode: inherit;
    transform: none;
}
.bellow-table.final-result .table-result .tr {
    float: right;
    width: 100%;
}
.bellow-table.final-result .table-result .tr .td_1 {
    width: 80%;
    padding: 0;
    float: right;
    height: 24px;
    line-height: 24px;
}
.bellow-table.final-result .table-result .tr .td_2 {
    float: right;
    width: 17%;
    height: 24px;
    margin: 0 !important;
    text-align: center;
    line-height: 24px;
    padding: 0;
}
.bellow-table.final-result {
    margin-top: 20px;
}
.step-btn a.prev {
    float: left;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    position: relative;
}
.step-btn a.next {
    float: right;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    position: relative;
}
.step-btn a.prev span {
    position: absolute;
    left: -25px;
    top: -6px;
    font-size: 30px;
}
.step-btn a.next span {
    position: absolute;
    right: -25px;
    top: -6px;
    font-size: 30px;
}
tr#software_engineering_5 td.td_3 {
    position: relative;
}
tr#software_engineering_5 td.td_3:after {
    position: absolute;
    content: "";
    left: 2px;
    top: 7px;
    background-image: url(img/LOCKER-RED-icon.png);
    width: 14px;
    height: 19px;
    background-size: cover;
    background-position: center;
}
tr#software_engineering_5.unlock td.td_3:after {
    background-image: none;
}
.bellow-table.step-3-below .eligibility-matriculation {
    z-index: 9;
    left: -61px;
    top: 23px;
    font-size: 18px;
    width: 72%;
}
ul.social-icon {
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.social-icon li {
    display: inline-block;
    margin: 0 10px;
}
ul.social-icon li a.whatsapp {
    color: #25d366;
}
ul.social-icon li a.facebook {
    color: #3b5998;
}
ul.social-icon li i.fa-whatsapp {
    font-size: 35px;
    border: 2px solid;
    width: 45px;
    height: 45px;
    line-height: 48px;
    border-radius: 2px;
}
ul.social-icon li i.fa-facebook {
    font-size: 36px;
    border: 2px solid;
    width: 45px;
    height: 45px;
    line-height: 48px;
    border-radius: 2px;
}
.final-result-image {
    float: left;
    width: 44%;
}
.final-result-image img {
    width: 100%;
}
div#swal2-html-container {
    direction: rtl;
}

@media screen and (max-width: 413px) {
    .table-result .tr.step-2 .td_1, .table-result .tr.step-2 .td_2 {
        padding: 0 6px;
    }
    .table-result .tr.step-3 .td_1, .table-result .tr.step-3 .td_2 {
        padding: 0 10px;
    }
    .table-result .tr .td_1 {
        height: 140px;
        writing-mode: vertical-lr;
        text-align: center;
        background-color: #fedc78;
        border-left: 2px solid #fff;
        padding: 0px;
        font-size: 15px;
        transform: rotate(180deg);
    }
    .bellow-table.step-3-below .eligibility-matriculation {
        z-index: 9;
        left: -53px;
        top: 23px;
        font-size: 18px;
        width: 72%;
    }
    h2.home-heading {
        padding: 0 40px;
    }
    .container {
        max-width: 430px;
        margin: auto;
        padding: 40px 5px;
    }
    .btn-group button {
        border: none;
        width: 31%;
        margin-left: 6px;
        font-size: 14px;
    }
    table.table-1 th, table.table-2 th, table.table-3 th {
        font-size: 14px;
    }
    .eligibility-matriculation {
        left: -80px;
    }
    .step-btn a.step-submit, .step-btn button.step-submit {
        background-color: #4d6a78;
        color: #fff;
        padding: 12px 40px;
        text-decoration: none;
        border-radius: 100px;
        margin: auto;
        display: inline-block;
        width: 44%;
    }
    .step-btn a.prev, .step-btn a.next {
        margin-top: 15px;
    }
    .step-2-btn.step-btn a.prev, .step-2-btn.step-btn a.next {
        margin-top: 0;
    }
    .bellow-table.final-result .table-result .tr .td_1 {
        width: 78%;
    }
    .bellow-table.final-result .accumulated_unit {
        float: left;
        transform: rotate(90deg);
        position: absolute;
        left: -106px;
        top: 100px;
        padding: 0px 9px;
    }
    .final-result-image {
        float: left;
        width: 42%;
    }
    .table-result .tr.step-2 .td_1, .table-result .tr.step-2 .td_2 {
        padding: 0 3px;
    }
    .table-result .tr.step-3 .td_1, .table-result .tr.step-3 .td_2 {
        padding: 0 5px;
    }
}
@media screen and (max-width: 361px) {
    .table-result .tr .td_1 {
        padding: 0;
        font-size: 13px;
    }
    .bellow-table.step-3-below .eligibility-matriculation {
        left: -67px;
    }
    .table-result .tr.step-3 .td_1, .table-result .tr.step-3 .td_2 {
        padding: 0 4px;
    }
    .table-result .tr.step-2 .td_1, .table-result .tr.step-2 .td_2 {
        padding: 0 2px;
    }
}
@media screen and (max-width: 321px) {
    .table-result .tr .td_1 {
        padding: 0;
        font-size: 12px;
    }
    .final-result-image {
        float: left;
        width: 41%;
    }
}

@media screen and (min-width: 950px) {
    .container {
        max-width: 950px;
        margin: auto;
        padding: 10px 15px 20px;
    }
    .row {
        display: flex;
    }
    .col-md-6 {
        width: 50%;
        padding: 0 15px;
    }
}