@media (max-width: 768px) {
    #help-RegisterNic {
        margin-left: 0!important;
    }
}

#help-RegisterNic {
    margin-left: 55px;
}
@media (max-width:420px) {
    #personSearch-Details {
        width: 80%;
    }
    #help2-RegistrationGetCode {
        text-align: left;
        margin-top: -47px!important;
        margin-left: -12px;
    }
    #help2-PersonSearch {
        display: none;
    }
    #help21-PersonSearch {
        display: block!important;
    }
    #help-Payment {
        padding-left: 5px!important;
    }
    #help-Index {
        margin-top: 0!important;
    }
    .english-info-index {
        margin: 0 35% 15% 0!important;
    }
}
#info-image {
    height: 30px;
}
#help-modal {
    min-width: 412px;
    width: 80%;
    margin: 35% auto;
}

#help-modal .modal-header .close {
    float: left;
    font-size: 30px;
    margin-top: -3%;
}

#help-modal .modal-footer {
    border-top: 0;
    text-align: center;
}

#help-modal .modal-footer #modal-reject {
    background-color: gray;
    margin-right: 10px;
}

#help-modal {
    min-width: 300px;
}

button.close{
    -webkit-appearance:none;
    padding:0;
    cursor:pointer;
    background:0 0;
    border:0
}

.modal-header .close{
    margin-top:-2px
}

.modal-open{
    overflow:hidden
}
.modal{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:1050;
    display:none;
    overflow:hidden;
    -webkit-overflow-scrolling:touch;
    outline:0
}
.modal.fade .modal-dialog{
    -webkit-transition:-webkit-transform .3s ease-out;
    -o-transition:-o-transform .3s ease-out;
    transition:transform .3s ease-out;
    -webkit-transform:translate(0,-25%);
    -ms-transform:translate(0,-25%);
    -o-transform:translate(0,-25%);
    transform:translate(0,-25%)
}
.modal.in .modal-dialog{
    -webkit-transform:translate(0,0);
    -ms-transform:translate(0,0);
    -o-transform:translate(0,0);
    transform:translate(0,0)
}
.modal-open .modal{
    overflow-x:hidden;
    overflow-y:auto
}
.modal-dialog{
    position:relative;
    width:auto;
    margin:10px
}
.modal-content{
    position:relative;
    background-color:#fff;
    -webkit-background-clip:padding-box;
    background-clip:padding-box;
    border:1px solid #999;
    border:1px solid rgba(0,0,0,.2);
    border-radius:6px;
    outline:0;
    -webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);
    box-shadow:0 3px 9px rgba(0,0,0,.5)
}
.modal-backdrop{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:1040;
    background-color:#000
}
.modal-backdrop.fade{
    filter:alpha(opacity=0);
    opacity:0
}
.modal-backdrop.in{
    filter:alpha(opacity=50);
    opacity:.5
}
.modal-header{
    padding:15px;
    border-bottom:1px solid #e5e5e5
}
.modal-header .close{
    margin-top:-2px
}
.modal-title{
    margin:0;
    line-height:1.42857143
}
.modal-body{
    position:relative;
    padding:15px
}
.modal-footer{
    padding:15px;
    text-align:right;
    border-top:1px solid #e5e5e5
}
.modal-footer .btn+.btn{
    margin-bottom:0;
    margin-left:5px
}
.modal-footer .btn-group .btn+.btn{
    margin-left:-1px
}
.modal-footer .btn-block+.btn-block{
    margin-left:0
}
.modal-scrollbar-measure{
    position:absolute;
    top:-9999px;
    width:50px;
    height:50px;
    overflow:scroll
}
@media (min-width:768px){
    .modal-dialog{
        width:600px;
        margin:30px auto
    }
    .modal-content{
        -webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);
        box-shadow:0 5px 15px rgba(0,0,0,.5)
    }
    .modal-sm{
        width:300px
    }
}
@media (min-width:992px){
    .modal-lg{
        width:900px
    }
}

.clearfix:after {
    content: '';
    display: block;
    clear: both;
}

.ellipsis {
    white-space: nowrap;
    /* 1 */
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    /* 2 */
    overflow: hidden;
}

identity-info.logo-wrapper {
    background-color: #000;
    padding: 0 10px;
}

.logo-wrapper::after {
    content: ' ';
    clear: both;
    display: block;
}

.logo-wrapper .logo-img {
    float: right;
    max-width: 70px;
    position: relative;
    top: 12px;
}

.logo-wrapper .logo-text {
    color: #fff;
    padding-top: 26px;
    padding-right: 6px;
    float: right;
    font-size: 16px;
}

.bor-content-wrapper {
    width: 60%;
    margin: 50px auto;
}

    .bor-content-wrapper form label {
        display: block;
        color: #a0a0a0;
        font-weight: 400;
        padding-top: 5px;
    }

    .bor-content-wrapper form input,
    .bor-content-wrapper form select {
        border: 1px solid #dde3e8;
        color: #a0a0a0;
        width: 100%;
        height: 50px;
        padding: 5px;
        margin: 10px 0 15px 0;
        border-radius: 3px;
        font-size: 12px;
        font-weight: 400;
    }

    .bor-content-wrapper form select {
        -moz-appearance: none;
        -webkit-appearance: none;
        -ms-appearance: none;
        position: relative;
        z-index: 1;
        background-color: transparent;
        margin: 0;
        line-height: 3;
    }

    .bor-content-wrapper form .custom-select {
        position: relative;
        margin: 10px 0 15px 0;
        padding: 0;
        background-color: #fff;
        height: 50px;
    }

        .bor-content-wrapper form .custom-select::before {
            content: " ";
            position: absolute;
            display: block;
            border: 7px solid transparent;
            border-top: 7px solid #a0a0a0;
            top: 25px;
            left: 7px;
            z-index: 0;
        }

    .bor-content-wrapper .record-counter {
        text-align: left;
        padding: 10px 5px;
        color: #a0a0a0;
    }

        .bor-content-wrapper .record-counter label {
            font-weight: 400;
        }

        .bor-content-wrapper .record-counter span {
            padding: 0 5px;
        }

    .bor-content-wrapper .table {
        direction: rtl;
        background-color: #fff;
        max-height: 400px;
        overflow-y: auto;
        border: 1px solid #dde3e8;
        border-radius: 2px;
    }

        .bor-content-wrapper .table th,
        .bor-content-wrapper .table td {
            text-align: right;
            color: #116949;
            padding: 14px 7px;
            font-size: 12px;
        }

        .bor-content-wrapper .table th {
            background-color: #f6f4f4;
            font-size: 11px;
        }

            .bor-content-wrapper .table th.text-left {
                text-align: left !important;
            }

        .bor-content-wrapper .table tr.selected td {
            color: #fff;
            background-color: #116949;
        }

        .bor-content-wrapper .table .checkbox-wrapper {
            display: block;
            position: relative;
            padding-left: 10px;
            margin-bottom: 12px;
            cursor: pointer;
            font-size: 22px;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

            .bor-content-wrapper .table .checkbox-wrapper .checkmark {
                position: absolute;
                top: 0;
                left: 0;
                height: 15px;
                width: 15px;
                border: 1px solid #a0a0a0;
                border-radius: 3px;
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
            }

                .bor-content-wrapper .table .checkbox-wrapper .checkmark::after {
                    content: "";
                    position: absolute;
                    display: none;
                    left: 4px;
                    top: 0;
                    width: 5px;
                    height: 10px;
                    border: solid #68a779;
                    border-width: 0 2px 2px 0;
                    -webkit-transform: rotate(45deg);
                    -ms-transform: rotate(45deg);
                    transform: rotate(45deg);
                }

            .bor-content-wrapper .table .checkbox-wrapper input {
                position: absolute;
                opacity: 0;
                cursor: pointer;
            }

                .bor-content-wrapper .table .checkbox-wrapper input:checked ~ .checkmark {
                    background-color: #f7b507;
                }

                    .bor-content-wrapper .table .checkbox-wrapper input:checked ~ .checkmark:after {
                        display: block;
                    }

            .bor-content-wrapper .table .checkbox-wrapper.checkbox-green .checkmark::after {
                border: solid #fff;
                border-width: 0 2px 2px 0;
            }

            .bor-content-wrapper .table .checkbox-wrapper.checkbox-green input:checked ~ .checkmark {
                background-color: #68a779;
            }

        .bor-content-wrapper .table.fee-table {
            padding: 0 5px;
            position: absolute;
            max-width: 196px;
            left: -201px;
            top: 0;
            margin: 0;
        }

            .bor-content-wrapper .table.fee-table th {
                background-color: #fff;
            }

            .bor-content-wrapper .table.fee-table th, .bor-content-wrapper .table.fee-table td {
                border: 0;
            }

            .bor-content-wrapper .table.fee-table tfoot td {
                border-top: 1px solid #dde3e8;
            }

            .bor-content-wrapper .table.fee-table::before {
                content: " ";
                display: block;
                position: absolute;
                border: 15px solid transparent;
                border-left: 15px solid #dde3e8;
                right: -30px;
                top: 50%;
            }

            .bor-content-wrapper .table.fee-table::after {
                content: " ";
                display: block;
                position: absolute;
                border: 15px solid transparent;
                border-left: 15px solid #fff;
                right: -28px;
                top: 50%;
            }

    .bor-content-wrapper .bor-search-form {
        margin-bottom: 50px;
        overflow: hidden;
    }

    .bor-content-wrapper .bor-btn {
        padding: 13px 45px;
        background-color: #68a779;
        color: #fff;
        -webkit-box-shadow: none;
        box-shadow: none;
        outline: none;
        border: 0;
        border-radius: 3px;
        font-weight: 400;
        margin-left: 5px;
    }

    .bor-content-wrapper .bor-search-btn {
        background-image: url("../../Images/Client/search-icon.png");
        background-repeat: no-repeat;
        background-position: 88% 55%;
    }

    .bor-content-wrapper .bor-next-btn {
        background-image: url("../../Images/Client/next-icon.png");
        background-repeat: no-repeat;
        background-position: 10% 55%;
    }

    .bor-content-wrapper .bor-cancel-btn {
        background-image: url("../../Images/Client/cross-icon.png");
        background-repeat: no-repeat;
        background-position: 10% 55%;
        background-color: gray;
    }

    .bor-content-wrapper .bor-info-btn {
        background-image: url("../../Images/Client/pencil.png");
        background-repeat: no-repeat;
        background-position: 85% 60%;
    }

    .bor-content-wrapper .selected-info-holder {
        text-align: left;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

        .bor-content-wrapper .selected-info-holder label {
            font-weight: 400;
            display: block;
            width: 50%;
            text-align: right;
            color: #a0a0a0;
        }

            .bor-content-wrapper .selected-info-holder label span {
                display: block;
                padding: 6px 20px;
                margin-left: 10px;
                margin-top: 10px;
                border-radius: 2px;
                direction: ltr;
            }

                .bor-content-wrapper .selected-info-holder label span.fee {
                    color: #000;
                    background-color: #f7b507;
                    -webkit-box-shadow: 0 0 5px 0 #f7b507;
                    box-shadow: 0 0 5px 0 #f7b507;
                    font-family: Avenir Next LT Pro;
                    font-weight: 900;
                }

                .bor-content-wrapper .selected-info-holder label span.challan-num {
                    background-color: #d7f1de;
                    border: 1px solid #68a779;
                    color: #68a779;
                    font-family: Avenir Next LT Pro;
                    font-weight: 900;
                    width: 100%;
                }

    .bor-content-wrapper .options-heading {
        margin-bottom: 20px;
    }

        .bor-content-wrapper .options-heading h2 {
            font-size: 16px;
            color: #116949;
            padding: 0 10px;
        }

    .bor-content-wrapper .options-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

        .bor-content-wrapper .options-wrapper .option {
            width: 33%;
            background-color: #5c9f6c;
            margin: 10px;
            border-radius: 4px;
        }

            .bor-content-wrapper .options-wrapper .option img {
                position: absolute;
                bottom: 0;
                left: 10%;
                width: 30%;
                max-width: 100px;
            }

@media screen and (min-width: 1366px) {

    .bor-content-wrapper .options-wrapper .option img {
        /*max-width: 145px;*/
    }
}

.bor-content-wrapper .options-wrapper .option span {
    position: absolute;
    bottom: 20px;
    right: 3%;
    font-size: 35px;
}

.bor-content-wrapper .options-wrapper .option a {
    display: block;
    overflow: hidden;
    height: 100%;
    font-weight: bold;
    color: #fff;
    position: relative;
    padding: 75px 95px;
}

.bor-content-wrapper .options-wrapper .option .alif {
    max-width: 20px;
}

.user-info-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    border: 4px solid #68a779;
    padding: 28px 25px 28px 19px;
    margin-bottom: 40px;
}

    .user-info-wrapper .id-card-icon {
        width: 50%;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        text-align: left;
    }

    .user-info-wrapper .user-info-detail {
        width: 50%;
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
        order: 0;
    }

        .user-info-wrapper .user-info-detail .urdu-info,
        .user-info-wrapper .user-info-detail .english-info {
            display: block;
            padding-bottom: 8px;
            color: #68a779;
            font-size: 14px;
        }

        .user-info-wrapper .user-info-detail .english-info {
            font-family: Avenir Next LT Pro;
        }

.id-card-img img {
    min-width: 332px;
}

.id-card-icon {
    text-align: center;
}

    .id-card-icon img {
        width: 30%;
        min-width: 108px;
    }

.bor-navigation {
    margin-bottom: 50px;
}

    .bor-navigation h1 {
        text-align: center;
        color: #68a779;
        font-size: 26px;
    }

    .bor-navigation nav {
        overflow: hidden;
        padding: 15px 5px;
    }

        .bor-navigation nav ul {
            padding: 0;
            margin: 0;
            list-style-type: none;
            overflow: hidden;
            width: 85%;
            float: left;
        }

            .bor-navigation nav ul li {
                float: right;
                width: 25%;
                position: relative;
                padding: 5px;
            }

                .bor-navigation nav ul li a {
                    display: block;
                    width: 30px;
                    height: 30px;
                    border-radius: 50%;
                    border: solid 2px #a0a0a0;
                    color: #a0a0a0;
                    font-size: 16px;
                    font-family: Avenir Next LT Pro;
                    font-weight: 600;
                    text-decoration: none;
                    padding-right: 9px;
                    padding-top: 3px;
                }

                .bor-navigation nav ul li span {
                    display: block;
                    max-width: none;
                    color: #a0a0a0;
                    padding-top: 10px;
                }

                .bor-navigation nav ul li::before {
                    content: " ";
                    display: block;
                    height: 2px;
                    width: calc(100% - 28px);
                    position: absolute;
                    top: 30%;
                    right: 33px;
                    -webkit-transform: translateY(-30%);
                    -ms-transform: translateY(-30%);
                    transform: translateY(-30%);
                    background-color: #a0a0a0;
                }

                .bor-navigation nav ul li:last-child::before {
                    display: none;
                }

                .bor-navigation nav ul li.active a {
                    border: solid 2px #116949;
                    color: #116949;
                    background-color: #f1fcf7;
                    position: relative;
                }

                    .bor-navigation nav ul li.active a::after {
                        content: " ";
                        display: block;
                        position: absolute;
                        top: -5px;
                        left: -5px;
                        z-index: -1;
                        height: 35px;
                        width: 35px;
                        border-radius: 50%;
                        background-color: #f7b507;
                    }

                .bor-navigation nav ul li.active span {
                    color: #116949;
                }

                .bor-navigation nav ul li.complete::before {
                    background-color: #116949;
                }

                .bor-navigation nav ul li.complete a {
                    color: #fff;
                    background-color: #23aa45;
                    border: solid 2px #116949;
                }

                .bor-navigation nav ul li.complete span {
                    color: #116949;
                }

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: url("../../Images/Client/bor-bg.png");
    padding-top: 75px;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: -1;
}

    footer .bor-copy-rights {
        padding: 15px 10px;
        color: #f7b507;
        font-size: 14px;
        font-weight: 500;
        direction: ltr;
    }

body {
    background-color: #f1fcf7 !important;
    font-family: Noto Nastaliq Urdu !important;
    height: 100vh;
}

#bor-wrapper {
    height: 100%;
    direction: rtl;
}

.bor-content-wrapper .bor-info-btn {
    background-image: url("../../Images/Client/pencil.png");
    background-repeat: no-repeat;
    background-position: 85% 60%;
}

/*.fee-payment-wrapper {
  overflow: hidden; }
  .fee-payment-wrapper .fee-payment-heading {
    padding: 20px; }
    .fee-payment-wrapper .fee-payment-heading span {
      color: #a0a0a0; }
  .fee-payment-wrapper .payment-gateways {
    background-color: #fff;
    text-align: center;
    border: 1px solid #E6EBEF;
    border-radius: 3px;
    padding: 25px;
    margin-bottom: 10px; }
    .fee-payment-wrapper .payment-gateways img {
      max-width: 90px;
      max-height: 40px; }

.fee-summary-wrapper .fee-summary-heading {
  padding: 20px; }

.fee-summary-wrapper .fee-summary {
  overflow: hidden;
  border: 1px solid #68a779;
  background-color: #ebfbf5; }
  .fee-summary-wrapper .fee-summary div {
    padding-top: 5px;
    padding-bottom: 5px; }*/

.identity-info-wrapper {
    border: 1px solid #68a779;
    background-color: #ebfbf5;
    margin-bottom: 20px;
    display: flex;
}

    .identity-info-wrapper .identity-info {
        display: block;
        width: 50%;
        padding: 15px;
    }

        .identity-info-wrapper .identity-info label {
            color: #a0a0a0;
            font-family: Noto Nastaliq Urdu;
            font-size: 12px;
            font-weight: normal;
        }

        .identity-info-wrapper .identity-info span {
            font-family: Noto Nastaliq Urdu;
            font-size: 14px;
            font-weight: 900;
            color: #0F6A48;
        }

.hide {
    display: none;
}

.show {
    display: block;
}

.background-1a2500 {
    background-color: #1a2500 !important;
}


/*Select2 Searchable Dropdowns -- Starts*/

.select2-container--default .select2-selection--single {
    -ms-border-radius: 0;
    background-color: #ECECEC;
    border: 1px solid #CCC;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -ms-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    height: 38px;
}

    .select2-container--default .select2-selection--single .select2-selection__rendered,
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 38px;
        line-height: 38px;
        word-break: break-all;
        white-space: normal;
    }

.select2-results__option {
    height: auto;
    word-wrap: break-word;
}

/*Select2 Searchable Dropdowns -- Ends*/
/*.cstmDropDwn a, li {
        display: block;
        height: 40px;
        line-height: 35px !important;
        min-height: 35px !important;
        padding-right: 10px;
        text-decoration: none;
        font-size: 20px;
    }*/
.form-control {
    -ms-border-radius: 1px;
    border-radius: 1px;
    height: 38px;
    color: #333;
    text-align: right;
}

.form-control-label {
    background-color: #ECECEC;
    line-height: 36px;
    /* padding: 0 0 0 8px; */
    padding: 0 8px 0 8px;
    border: 1px solid #ECECEC;
    color: #797979;
    display: block;
    font-size: 16px;
    height: 36px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

input[type="text"]:disabled, .form-control[disabled], fieldset[disabled] .form-control, .chosen-disabled, .chosen-disabled a {
    color: #3A3A3A !important;
    opacity: 0.5 !important;
    border: 1px solid#F7F7F7 !important;
}

/*payment css*/
.fee-payment-wrapper {
    overflow: hidden;
}

    .fee-payment-wrapper .fee-payment-heading {
        padding: 5px 20px 20px 20px;
    }

        .fee-payment-wrapper .fee-payment-heading span {
            color: #a0a0a0;
        }

    .fee-payment-wrapper .payment-gateways {
        background-color: #fff;
        text-align: center;
        border: 1px solid #E6EBEF;
        border-radius: 3px;
        padding: 25px;
        margin-bottom: 10px;
        cursor: pointer;
    }

        .fee-payment-wrapper .payment-gateways:hover {
            -webkit-box-shadow: 0 0 10px 0 #116949;
            box-shadow: 0 0 10px 0 #116949;
        }
       .fee-payment-wrapper .payment-gateways .slicing {
            max-width: 100% !important;
            max-height: 100% !important;
        }
        .fee-payment-wrapper .payment-gateways img {
            max-width: 90px;
            max-height: 40px;
        }
    .fee-payment-wrapper .payment-gateways-Disable {
        text-align: center;
        border: 1px solid #E6EBEF;
        border-radius: 3px;
        padding: 25px;
        margin-bottom: 10px;
        cursor: not-allowed;
        background-color: #f1ecec96;
    }
     

       .fee-payment-wrapper .payment-gateways-Disable .slicing {
            max-width: 100% !important;
            max-height: 100% !important;
        }
        .fee-payment-wrapper .payment-gateways-Disable img {
            max-width: 90px;
            max-height: 40px;
            z-index:-100;
        }
#payment-gateway-modal {
    min-width: 412px;
    width: 80%;
    margin: 20% auto;
}

#confirmation-modal {
    min-width: 412px;
    width: 80%;
    margin: 35% auto;
}

#reprint-modal {
    min-width: 412px;
    width: 80%;
    margin: 35% auto;
}

#reprint-modal1 {
    min-width: 412px;
    width: 80%;
    margin: 35% auto;
}

#payment-gateway-modal .modal-header {
    border-bottom: 0;
}

    #payment-gateway-modal .modal-header .close {
        float: left;
        font-size: 30px;
    }

    #payment-gateway-modal .modal-header span {
        text-align: center;
        display: block;
    }

#payment-gateway-modal .modal-body p {
    color: #a0a0a0;
}

#payment-gateway-modal .modal-body input {
    border: 1px solid #dde3e8;
    width: 100%;
    height: 50px;
    padding: 15px;
    margin: 10px 0 5px 0;
    border-radius: 3px;
}

    #payment-gateway-modal .modal-body input::-webkit-input-placeholder {
        color: #a0a0a0;
    }

    #payment-gateway-modal .modal-body input:-ms-input-placeholder {
        color: #a0a0a0;
    }

    #payment-gateway-modal .modal-body input::-ms-input-placeholder {
        color: #a0a0a0;
    }

    #payment-gateway-modal .modal-body input::-placeholder {
        color: #a0a0a0;
    }

    #payment-gateway-modal .modal-body input::-webkit-outer-spin-button,
    #payment-gateway-modal .modal-body input::-webkit-inner-spin-button {
        /* display: none; <- Crashes Chrome on hover */
        -webkit-appearance: none;
        -moz-appearance: none;
        margin: 0;
        /* <-- Apparently some margin are still there even though it's hidden */
    }

#payment-gateway-modal .modal-body .file-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    -webkit-transform: translateY(-40%);
    -ms-transform: translateY(-40%);
    transform: translateY(-40%);
}

#payment-gateway-modal .modal-body .question-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    -webkit-transform: translateY(-40%);
    -ms-transform: translateY(-40%);
    transform: translateY(-40%);
}

#payment-gateway-modal .modal-body .modal-success {
    text-align: center;
    margin: 50px 0 100px;
}

    #payment-gateway-modal .modal-body .modal-success img {
        margin: 50px 0;
    }

    #payment-gateway-modal .modal-body .modal-success p {
        font-size: 20px;
        color: #68a779;
    }

#payment-gateway-modal .modal-footer {
    border-top: 0;
    text-align: center;
}

    #payment-gateway-modal .modal-footer #modal-reject {
        background-color: gray;
        margin-right: 10px;
    }

.fee-summary-wrapper {
    overflow: hidden;
    padding: 0 15px 15px 15px;
}

    .fee-summary-wrapper .fee-summary-heading {
        padding: 5px 20px 20px 20px;
        color: #a0a0a0;
    }

    .fee-summary-wrapper .fee-summary {
        overflow: hidden;
        border: 1px solid #68a779;
        background-color: #ebfbf5;
        margin-bottom: 20px;
        padding: 0 0 0 25px;
    }

        .fee-summary-wrapper .fee-summary div {
            padding-top: 5px;
            padding-bottom: 5px;
        }

        .fee-summary-wrapper .fee-summary .fee-heading {
            color: #a0a0a0;
        }

        .fee-summary-wrapper .fee-summary .non-urdu-text {
            color: #116949;
            font-family: Avenir Next LT Pro;
            font-size: 14px;
            font-weight: 900;
        }

        .fee-summary-wrapper .fee-summary .urdu-text {
            color: #116949;
            font-size: 14px;
        }

    .fee-summary-wrapper .fard-documentation .fard-other-options {
        text-align: center;
        padding: 15px 0;
    }

        .fee-summary-wrapper .fard-documentation .fard-other-options span {
            color: #999;
        }

        .fee-summary-wrapper .fard-documentation .fard-other-options .fard-other {
            padding: 0;
        }

            .fee-summary-wrapper .fard-documentation .fard-other-options .fard-other a {
                color: #116949;
                text-decoration: underline;
            }

    .fee-summary-wrapper .fard-documentation .watch-fard {
        border: 2px solid #116949;
        background-color: #f7b507;
        text-align: center;
        display: block;
        padding: 16px;
        position: relative;
        text-decoration: none;
    }

        .fee-summary-wrapper .fard-documentation .watch-fard .document-label {
            color: #0A0F00;
            font-size: 16px;
        }

        .fee-summary-wrapper .fard-documentation .watch-fard .document-icon {
            background-color: #0F6A48;
            padding: 10px;
            position: absolute;
            right: 0;
            top: 0;
        }

.identity-info-wrapper {
    border: 1px solid #68a779;
    background-color: #ebfbf5;
    margin-bottom: 20px;
}


    .identity-info-wrapper .identity-info label {
        color: #a0a0a0;
        font-family: Noto Nastaliq Urdu;
        font-size: 12px;
        font-weight: normal;
    }

.hide {
    display: none;
}

.show {
    display: block;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: url("../../Images/Client/bor-bg.png");
    padding-top: 75px;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: -1;
}

    footer .bor-copy-rights {
        padding: 15px 10px;
        color: #f7b507;
        font-size: 14px;
        font-weight: 500;
        direction: ltr;
    }

body {
    background-color: #f1fcf7;
    font-family: Noto Nastaliq Urdu;
    height: 100vh;
}

#bor-wrapper {
    height: 100%;
    direction: rtl;
}

/*.modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box
}*/


#filterDropdowns .dropdownContainer label {
    padding-bottom: 9px;
}

.chosen-container {
    height: 100%;
    padding: 2px 0;
    font-size: 12px !important;
}

    .chosen-container .chosen-results {
        max-height: 150px !important;
    }

        .chosen-container .chosen-results li {
            padding: 10px 5px !important;
            font-size: 12px !important;
        }

.chosen-container-single .chosen-single {
    height: 50px !important;
}

.chosen-container-single .chosen-single {
    background-color: white !important;
    color: #a0a0a0 !important;
    border: 1px solid #dde3e8 !important;
    border-radius: 3px;
}

    .chosen-container-single .chosen-single span {
        padding: 5px;
    }

.change-info-wrapper {
    overflow: hidden;
    margin-bottom: 20px;
}

#gview_grid, #gbox_grid, .ui-jqgrid-hdiv, .ui-jqgrid-htable, .ui-jqgrid-bdiv, #grid, #pager,
#gbox_selectedPersonGrid, #gview_selectedPersonGrid, #selectedPersonGrid, #selectedPersonPager,
#selectedPersonPager_center, #selectedPersonPager_right {
    width: 100% !important;
}

.ui-jqgrid-hbox-rtl {
    padding-left: 0 !important;
}

.ui-jqgrid .ui-jqgrid-htable thead th div {
    overflow: visible !important;
}

#selectedPersonPager_left, #pager_left {
    display: none;
}

#gbox_selectedPersonGrid {
    margin-bottom: 20px;
}


#gview_grid, #gbox_grid, .ui-jqgrid-hdiv, .ui-jqgrid-htable, .ui-jqgrid-bdiv, #grid, #pager,
#gbox_personHistoryGrid, #gview_personHistoryGrid, #personHistoryGrid, #personHistoryPager,
#personHistoryPager_center, #personHistoryPager_right {
    width: 100% !important;
}

.ui-jqgrid-hbox-rtl {
    padding-left: 0 !important;
}

.ui-jqgrid .ui-jqgrid-htable thead th div {
    overflow: visible !important;
}

#personHistoryPager_left, #pager_left {
    display: none;
}

#gbox_personHistoryGrid {
    margin-bottom: 20px;
}

.first-row-adjust {
    padding: 0 !important;
}

.ui-pg-selbox {
    padding: 0 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    height: 28px !important;
    width: 40px !important;
}


.ui-jqgrid .ui-pg-table td {
    padding: 0 5px !important;
}

.align-row {
    margin-top: 19px;
    float: right !important;
}

#myModal {
    overflow-y: hidden;
}

#myModal1 {
    overflow-y: hidden;
}


#mauzas_chosen::after, #tehsils_chosen::after, #districts_chosen::after {
    content: " ";
    position: absolute;
    display: block;
    border: 7px solid transparent;
    border-top: 7px solid #a0a0a0;
    top: 25px;
    left: 7px;
    z-index: 0;
}

#confirmation-modal .modal-header {
    border-bottom: 0;
}

    #confirmation-modal .modal-header .close {
        float: left;
        font-size: 30px;
    }

#confirmation-modal .modal-footer {
    border-top: 0;
    text-align: center;
}

    #confirmation-modal .modal-footer #modal-reject {
        background-color: gray;
        margin-right: 10px;
    }

#reprint-modal .modal-header {
    border-bottom: 0;
}

#reprint-modal .modal-header .close {
    float: left;
    font-size: 30px;
}

#reprint-modal .modal-footer {
    border-top: 0;
    text-align: center;
}

#reprint-modal .modal-footer #modal-reject {
    background-color: gray;
    margin-right: 10px;
}

#reprint-modal1 .modal-header {
    border-bottom: 0;
}

#reprint-modal1 .modal-header .close {
    float: left;
    font-size: 30px;
}

#reprint-modal1 .modal-footer {
    border-top: 0;
    text-align: center;
}

#reprint-modal1 .modal-footer #modal-reject {
    background-color: gray;
    margin-right: 10px;
}


#viewFard .watch-fard:hover {
    cursor: pointer;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgb(102, 175, 233) !important;
}

.user-info-detail .urdu-info {
    font-size: 12px !important;
    margin-bottom: 5px;
}

.chosen-container-active .chosen-single {
    outline: 0 !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(17, 105, 73,.6) !important;
    border-color: #66afe9 !important;
}

.ui-jqgrid-bdiv {
    max-height: 400px;
    overflow: scroll;
 /*   overflow-x: scroll !important;
    overflow-y: scroll !important;*/
}

#pager, #selectedPersonPager {
    background-color: ghostwhite;
}

.ui-jqgrid-hdiv {
    padding-left: 21px !important;
}

.ui-jqgrid .ui-jqgrid-hdiv {
    background-color: #f6f4f4;
}

#closeModal {
    margin-top: 50px !important;
    background-color: gray;
}

#verifyCode, #resendCode {
    
}

#type-select-dropdown {
    margin-top: 15px;
}

#confirmation-modal .modal-body {
    text-align: center;
    font-size: 18px;
}

#confirmation-modal .modal-footer {
    padding-bottom: 50px;
}

#resendCode, #closePrintModal {
    color: white;
    background-color: gray;
    /*border: 1px solid #68a779;
    font-weight: 900;*/
}

#search-name {
    position: relative;
}

    #search-name .keyboardInput {
        width: 100%;
    }

    #search-name .keyboardInputInitiator {
        position: absolute;
        left: 5px;
        top: 30%;
        width: 30px;
    }

/*Media Quries to make application responsive*/

@media only screen and (min-width: 991px) and (max-width: 1024px) {
    #gview_grid, #gview_personHistoryGrid {
        margin-bottom: 0;
 
        -webkit-overflow-scrolling: touch !important;
    }
    .ui-jqrid-bdiv {
        overflow: initial;
    }
    /*.ui-jqgrid-bdiv {
        overflow: scroll !important;
        -webkit-overflow-scrolling: touch !important;
    }*/

    #bor-wrapper .bor-content-wrapper {
        width: 100%;
    }

    #complaint-img {
        width: 40%;
    }

    .ui-jqgrid-hdiv {
        padding-left: 0 !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    #gview_grid, #gview_personHistoryGrid {
        margin-bottom: 0;
        overflow: scroll;
        -webkit-overflow-scrolling: touch !important;
    }

    .ui-jqrid-bdiv {
        overflow: initial;
    }
    /*.ui-jqgrid-bdiv {
        overflow: scroll !important;
        -webkit-overflow-scrolling: touch !important;
    }*/

    #bor-wrapper .bor-content-wrapper {
        width: 100%;
    }

    #complaint-img {
        width: 50%;
    }

    #verifyCode, #resendCode {
        font-size: 12px;
    }

    #wrapper {
        padding-right: 0;
    }

    .fee-summary-wrapper .fee-summary .small-payment-logo {
        float: left;
        max-width: 50px;
    }

    .ui-jqgrid-hdiv {
        padding-left: 0 !important;
    }
}

@media only screen and (max-width:767px) {
    #help-RegisterNic {
        margin-left: 0!important;
        margin-top: -36px;
    }
    .user-info-wrapper .user-info-detail .english-info { font-size : 9px !important ; }

  .ui-jqgrid-bdiv , .ui-jqgrid-hdiv{
	width:700px !important;
    overflow: initial !important;
}
 .ui-jqrid-bdiv {
        overflow: initial;
    }
    .logo-wrapper .logo-text {
        font-size: 12px;
    }
    #modalFunctions #personHistoryPager_center, #modalFunctions #personHistoryPager_right {
    float: left;
    clear: both;
    text-align: center;
}
    .chosen-container .chosen-results {
        overflow-y: scroll !important;
    }
    #gview_grid , #gview_personHistoryGrid {
        margin-bottom: 0;
        overflow: scroll !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /*.ui-jqgrid-bdiv {
        overflow: scroll !important;
        -webkit-overflow-scrolling: touch !important;
    }*/

    #wrapper {
        padding: 0 !important;
    }

    #bor-wrapper .bor-content-wrapper {
        width: 100%;
    }

    .bor-navigation {
        margin-bottom: 20px;
    }

        .bor-navigation h1 {
            font-size: 14px;
        }

        .bor-navigation nav ul {
            width: 90%;
            font-size: 10px;
            display: flex;
        }

    .fee-payment-heading {
        font-size: 12px;
    }

    .fee-payment-wrapper [class*="col-sm-12"] {
        padding: 0 !important;
    }

    .fee-payment-wrapper .payment-gateways {
        padding: 25px 0px;
    }

        .fee-payment-wrapper .payment-gateways img {
            padding: 0 5px;
            min-width: 50px;
            min-height: 40px;
        }

    .fee-summary-wrapper [class*="col-sm-12"] {
        padding: 0 !important;
    }

    .fee-summary-heading {
        font-size: 12px;
    }

    .fee-summary-wrapper .fee-summary .fee-heading {
        font-size: 10px;
    }

    .fee-summary-wrapper .fee-summary .non-urdu-text {
        font-size: 11px;
    }

    .fee-summary-wrapper .fee-summary .urdu-text {
        font-size: 11px;
    }

    .fee-summary-wrapper .fee-summary .small-payment-logo {
        float: left;
        max-width: 50px;
    }

    .fard-documentation {
        display: flex;
        flex-wrap: wrap;
    }

        .fard-documentation:before, .fard-documentation:after {
            content: none;
        }

    .fee-summary-wrapper .fard-documentation .fard-other-options {
        order: 1;
        width: 100%;
    }

    #viewFard {
        order: 0;
        width: 95%;
        padding-right: 32px;
    }

    .id-card-img {
        display: none;
    }

    #nic {
        width: 100%;
    }

    .bor-content-wrapper .options-wrapper {
        flex-direction: column;
    }

    .bor-content-wrapper .options-heading {
        text-align: center;
        margin-top: 50px;
    }

    #search-name .keyboardInputInitiator {
        width: 25px;
    }

    #searchPerosn {
        margin-bottom: 10px;
    }

    #history-view {
        margin-bottom: 5px;
    }

    .ui-jqgrid-hdiv {
        padding-left: 0 !important;
    }

    .bor-content-wrapper .options-heading h2 {
        font-size: 12px;
    }

    .bor-content-wrapper .options-wrapper .option {
        width: 100%;
    }

        .bor-content-wrapper .options-wrapper .option span {
            font-size: 20px;
        }

        .bor-content-wrapper .options-wrapper .option img {
            max-width: 70px;
        }

    .bor-content-wrapper .options-wrapper .option {
        height: 100px;
    }

        .bor-content-wrapper .options-wrapper .option a {
            padding: 0;
        }

        .bor-content-wrapper .options-wrapper .option .alif {
            max-width: 15px;
        }


    #verifyCode, #resendCode {
        margin-bottom: 10px;
        font-size: 13px;
    }

    .identity-info-wrapper {
        flex-wrap: wrap;
    }

        .identity-info-wrapper .identity-info label {
            font-size: 10px;
        }

        .identity-info-wrapper .identity-info span {
            font-size: 11px;
        }

    #pg_pager, #pg_selectedPersonPager {
        height: 100%;
    }

    #pager_center, #selectedPersonPager_center {
        float: left;
        width: 100%;
    }

        #pager_center .ui-pg-input, #input_selectedPersonPager .ui-pg-input {
            margin: 5px 0;
            max-width: 40px;
        }

    #first_selectedPersonPager, #last_selectedPersonPager, #last_pager, #first_pager {
        display: none;
    }

    #pager_center .ui-pg-button, #selectedPersonPager_center .ui-pg-button {
        padding: 0 2px !important;
    }

    #selectedPersonPager_right, #pager_right {
        float: right;
        text-align: center;
        padding: 10px !important;
        width: 100%;
    }

    #pager_center .ui-separator, #selectedPersonPager_center .ui-separator {
        margin: 2px 0;
    }

    #cancelProcess, #goNext {
        padding: 13px 33px;
    }

    #confirmation-modal {
        width: 100%;
        margin: 50% auto;
        min-width: 300px;
    }

        #confirmation-modal .modal-body {
            text-align: center;
        }

        #confirmation-modal .modal-footer {
            padding-bottom: 15px;
        }

    .fee-payment-wrapper [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }

    #payment-gateway-modal {
        min-width: 300px;
        width: 100%;
        margin: 30% 0;
    }

        #payment-gateway-modal .modal-header {
            padding-bottom: 0;
        }

            #payment-gateway-modal .modal-header img {
                max-width: 50px;
            }

        #payment-gateway-modal .modal-body input {
            height: 36px;
        }

        #payment-gateway-modal #modal-accept, #payment-gateway-modal #modal-reject {
            padding: 10px 33px;
        }

        #payment-gateway-modal .modal-footer {
            padding-top: 0;
        }

        #payment-gateway-modal .modal-body .modal-success {
            margin: 0;
        }

    .align-row {
        text-align: center;
    }

    .bor-content-wrapper .bor-search-form [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }

    .bor-search-form {
        font-size: 12px;
    }

    .bor-content-wrapper .selected-info-holder {
        flex-wrap: wrap;
    }

        .bor-content-wrapper .selected-info-holder label {
            width: 100%;
        }

            .bor-content-wrapper .selected-info-holder label span {
                margin-left: 0;
                font-size: 12px;
            }

    .bor-content-wrapper form input, .bor-content-wrapper form select {
        height: 40px;
        padding: 3px 8px 0 0;
    }

    .chosen-rtl {
        height: 40px;
    }

        .chosen-rtl .chosen-single {
            height: 40px !important;
        }

    .bor-content-wrapper form .custom-select {
        height: 40px;
    }

    #mauzas_chosen::after, #tehsils_chosen::after, #districts_chosen::after {
        top: 20px;
    }

    .bor-content-wrapper form .custom-select::before {
        top: 20px;
    }

    #closeModal {
        margin: 30px 0 !important;
    }

    footer {
        background: url('../../Images/Client/lrmis-mobile.png');
        background-repeat: no-repeat;
        background-size: 100%;
    }

        footer .bor-copy-rights {
            padding: 10px;
        }

    .bor-navigation nav ul li::before {
        width: calc(100% - 22px);
        top: 28%;
        right: 28px;
    }

    .bor-navigation nav ul li a {
        font-size: 11px;
        font-weight: 900;
        width: 25px;
        height: 25px;
        padding-right: 8px;
        padding-top: 4px;
    }

    .bor-navigation nav ul li.active a::after {
        height: 30px;
        width: 30px;
    }

    .id-card-icon .code-mobile-image {
        min-width: 0;
    }

    #gview_grid {
        margin-bottom: 0;
    }

    .ui-jqgrid tr.jqgrow td {
        white-space: normal !important;
    }

    .bor-content-wrapper {
        margin-top: 0;
    }

    /*.ui-jqgrid-bdiv {
        overflow: auto !important;
    }*/

    #reprint-modal {
        min-width: 300px;
    }

    #reprint-modal1 {
        min-width: 300px;
    }
}

#input_selectedPersonPager .ui-pg-input, #input_pager .ui-pg-input {
    display: inline !important;
    max-height: 30px;
}

.ui-jqgrid .ui-jqgrid-hbox-rtl {
    float: none !important;
}

.wrap {
    margin-top: 100px;
    text-align: left;
    font-family: Noto Nastaliq Urdu !important;
}

.wrapper {
    text-transform: uppercase;
    cursor: help;
    position: relative;
    text-align: center;
}

    .wrapper .tooltip {
        background: #1496bb;
        bottom: 100%;
        color: #fff;
        display: block;
        left: -25px;
        margin-bottom: 15px;
        opacity: 0;
        padding: 10px;
        pointer-events: none;
        position: absolute;
        width: 200px;
        text-align: right;
        font-family: Noto Nastaliq Urdu !important;
    }

        /* This bridges the gap so you can mouse into the tooltip without it disappearing */
        .wrapper .tooltip:before {
            bottom: -20px;
            content: " ";
            display: block;
            height: 20px;
            left: 0;
            position: absolute;
            width: 100%;
        }


    .wrapper:hover .tooltip {
        opacity: 1;
        pointer-events: auto;
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
        transform: translateY(0px);
    }

#viewHistory {
    color: #68a779;
    font-weight: bold;
    font-size: 12px;
}

#complaint-img {
    min-width: 70px;
}

.alphabet {
    min-width: 80px;
}

#personHistoryPager {
    background-color: #f8f8ff;
    padding: 0 !important;
}
.ui-jqgrid td input, .ui-jqgrid td select, .ui-jqgrid td textarea {
    display: inline-block;
}

#modalFunctions .modal-dialog {
    width: 80%;
      margin: 0 auto;
}
#modalFunctions .bor-content-wrapper {
    width: 100%;
    margin: 0 0 10px 0;
}
#modalFunctions #pg_personHistoryPager {
    height: 60px;
}

/*.ui-jqgrid .ui-jqgrid-bdiv {
    overflow: hidden;
    overflow: scroll !important;
 -webkit-overflow-scrolling: touch !important;          
}*/
.ui-jqgrid .ui-jqgrid-hdiv {
  overflow: visible !important;
}


#jqgh_grid_cb { font-size: 10px !important;}
#gview_grid { overflow: hidden;}



