/*Common Section*/
.visa-title {
    text-transform: none;
}


.header {
    line-height: 5vh;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 300;
    background: rgb(80,80,80);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.1);
}

.arabic-layout {
    text-align: right;
}

/*Visa Section*/
.visa-grid {
    display: grid;
    gap: 0px;
    grid-template-columns: repeat(7,minmax(min-content, max-content)) 2fr;
    grid-template-rows: repeat(1,1fr);
    align-content: center;
    color: white;
    font-weight: 300;
}

.visa-data {
    grid-column: span 1;
    line-height: 4.5vh;
    font-size: 1.2rem;
    padding-left: 0.5vw;
    border-top: none;
    text-transform: none;
    padding-right: 15px;
    text-align: left;
}

    .visa-data:nth-child(9) {
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(10) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(11) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(12) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(13) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(14) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(15) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(16) {
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }

/*Visa Section - Arabic */
.visa-data-ar {
    grid-column: span 1;
    line-height: 4.5vh;
    font-size: 1.2rem;
    padding-left: 0.5vw;
    border-top: none;
    text-transform: none;
    padding-right: 15px;    
}

.visa-data-ar:nth-child(9) {
    border-bottom: 1px solid rgb(80,80,80);
    border-right: 1px solid rgb(80,80,80);
}

.visa-data-ar:nth-child(10) {
    border-bottom: 1px solid rgb(80,80,80);
}

.visa-data-ar:nth-child(11) {
    border-bottom: 1px solid rgb(80,80,80);
}

.visa-data-ar:nth-child(12) {
    border-bottom: 1px solid rgb(80,80,80);
}

.visa-data-ar:nth-child(13) {
    border-bottom: 1px solid rgb(80,80,80);
}

.visa-data-ar:nth-child(14) {
    border-bottom: 1px solid rgb(80,80,80);
}

.visa-data-ar:nth-child(15) {
    border-bottom: 1px solid rgb(80,80,80);
}

.visa-data-ar:nth-child(16) {
    border-bottom: 1px solid rgb(80,80,80);
    border-left: 1px solid rgb(80,80,80);
}

/*Applicant Section*/
.applicant-grid {
    display: grid;
    gap: 0px;
    grid-template-columns: repeat(8,minmax(min-content, max-content)) 2fr;
    grid-template-rows: repeat(1,1fr);
    align-content: center;
    color: white;
    font-weight: 300;
}

.applicant-data {
    grid-column: span 1;
    line-height: 4.5vh;
    font-size: 1.2rem;
    padding-left: 0.5vw;
    border-top: none;
    text-transform: none;
    padding-right: 15px;
    text-align: left;
}

    .applicant-data:nth-child(10) {
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(11) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(12) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(13) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(14) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(15) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(16) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(17) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(18) {
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }

.applicant-data-ar {
    grid-column: span 1;
    line-height: 4.5vh;
    font-size: 1.2rem;
    padding-left: 0.5vw;
    border-top: none;
    text-transform: none;
    padding-right: 15px;
    text-align: right;
}


    .applicant-data-ar:nth-child(10) {
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(11) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(12) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(13) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(14) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(15) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(16) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(17) {
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(18) {
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }






@media (max-width: 1100px) {
    /*Visa Section*/
    .visa-grid {
        grid-template-columns: repeat(3,minmax(min-content, max-content)) 1fr;
        grid-template-rows: repeat(2,1fr);
    }

    .visa-data:nth-child(1) {
        order: 1;
    }

    .visa-data:nth-child(2) {
        order: 2;
    }

    .visa-data:nth-child(3) {
        order: 3;
    }

    .visa-data:nth-child(4) {
        order: 4;
    }

    .visa-data:nth-child(5) {
        order: 9;
    }

    .visa-data:nth-child(6) {
        order: 10;
    }

    .visa-data:nth-child(7) {
        order: 11;
    }

    .visa-data:nth-child(8) {
        order: 12;
    }

    .visa-data:nth-child(9) {
        order: 5;
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(10) {
        order: 6;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(11) {
        order: 7;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(12) {
        order: 8;
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(13) {
        order: 13;
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(14) {
        order: 14;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(15) {
        order: 15;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data:nth-child(16) {
        order: 16;
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }
    /*Grid Items - Visa Arabic */
    .visa-data-ar:nth-child(1) {
        order: 1;
    }

    .visa-data-ar:nth-child(2) {
        order: 2;
    }

    .visa-data-ar:nth-child(3) {
        order: 3;
    }

    .visa-data-ar:nth-child(4) {
        order: 4;
    }

    .visa-data-ar:nth-child(5) {
        order: 9;
    }

    .visa-data-ar:nth-child(6) {
        order: 10;
    }

    .visa-data-ar:nth-child(7) {
        order: 11;
    }

    .visa-data-ar:nth-child(8) {
        order: 12;
    }

    .visa-data-ar:nth-child(9) {
        order: 5;
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }

    .visa-data-ar:nth-child(10) {
        order: 6;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data-ar:nth-child(11) {
        order: 7;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data-ar:nth-child(12) {
        order: 8;
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }

    .visa-data-ar:nth-child(13) {
        order: 13;
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }

    .visa-data-ar:nth-child(14) {
        order: 14;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data-ar:nth-child(15) {
        order: 15;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .visa-data-ar:nth-child(16) {
        order: 16;
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }




    /*Applicant Section*/
    .applicant-grid {
        grid-template-columns: repeat(2,minmax(min-content, max-content)) 1fr;
        grid-template-rows: repeat(3,1fr);
    }

    .applicant-data:nth-child(1) {
        order: 1;
    }

    .applicant-data:nth-child(2) {
        order: 2;
    }

    .applicant-data:nth-child(3) {
        order: 3;
    }

    .applicant-data:nth-child(4) {
        order: 7;
    }

    .applicant-data:nth-child(5) {
        order: 8;
    }

    .applicant-data:nth-child(6) {
        order: 9;
    }

    .applicant-data:nth-child(7) {
        order: 13;
    }

    .applicant-data:nth-child(8) {
        order: 14;
    }

    .applicant-data:nth-child(9) {
        order: 15;
    }

    .applicant-data:nth-child(10) {
        order: 4;
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(11) {
        order: 5;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(12) {
        order: 6;
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(13) {
        order: 10;
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(14) {
        order: 11;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(15) {
        order: 12;
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(16) {
        order: 16;
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(17) {
        order: 17;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data:nth-child(18) {
        order: 18;
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }

    /*Grid Items - Applicant Arabic */
    .applicant-data-ar:nth-child(1) {
        order: 1;
    }

    .applicant-data-ar:nth-child(2) {
        order: 2;
    }

    .applicant-data-ar:nth-child(3) {
        order: 3;
    }

    .applicant-data-ar:nth-child(4) {
        order: 7;
    }

    .applicant-data-ar:nth-child(5) {
        order: 8;
    }

    .applicant-data-ar:nth-child(6) {
        order: 9;
    }

    .applicant-data-ar:nth-child(7) {
        order: 13;
    }

    .applicant-data-ar:nth-child(8) {
        order: 14;
    }

    .applicant-data-ar:nth-child(9) {
        order: 15;
    }

    .applicant-data-ar:nth-child(10) {
        order: 4;
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(11) {
        order: 5;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(12) {
        order: 6;
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(13) {
        order: 10;
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(14) {
        order: 11;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(15) {
        order: 12;
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(16) {
        order: 16;
        border-bottom: 1px solid rgb(80,80,80);
        border-right: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(17) {
        order: 17;
        border-bottom: 1px solid rgb(80,80,80);
    }

    .applicant-data-ar:nth-child(18) {
        order: 18;
        border-bottom: 1px solid rgb(80,80,80);
        border-left: 1px solid rgb(80,80,80);
    }


}
