header#topNav nav ul.nav-main ul.dropdown-menu ul.dropdown-menu {
    margin-left:-320px !important;
    margin-top:-10px !important;
    box-shadow: rgba(0,0,0,0.5) 0 0 6px !important;
    -moz-box-shadow: rgba(0,0,0,0.5) 0 0 6px !important;

    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;

}

header#topNav nav.mega-menu ul.nav-main li.mega-menu-item .mega-menu-sub-title {
    display: block;
    font-size: 1em;
    padding-bottom: 5px;
    text-align: center;

    padding: 5px 5px 5px 15px;
    margin-bottom: 12px;
    background-color: #146794;
    color: white !important;
    text-shadow: 1px 1px 1px #333;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

header#topNav nav.mega-menu ul.nav-main li.mega-menu-item ul.sub-menu a {
    display: block;
    margin: 0 0 0 4px;
    padding: 6px 8px;
    text-transform: none;
    font-size: 16px;
    font-weight: normal;
    text-shadow: none;
    text-align: left !important;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}



.sub-head-menu-title{
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    display: block;
    font-family: 'Kalpurush','Jameel Noori Nastaleeq','Hussaini Nastaleeq','Mehr Nastaliq Web', 'Nafees',  'Verdana', 'Arial', 'Helvetica', 'sans-serif' !important;
    font-size: 18px;
    font-weight: 400;
    height: auto;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    padding-bottom: 3px;
    text-align: center;
    text-shadow: none;
    background-color: #146794;
    text-shadow: 1px 1px 1px #333;

    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

header#topNav nav.mega-menu ul.nav-main li.mega-menu-item ul.sub-menu a,
header#topNav nav ul.nav-main ul.dropdown-menu > li > a {
    text-align: left;
}

header#topNav nav ul.nav-main li a {
    font-size: 1.2em !important;
}


.border-1 {
    border: 1px solid black;
}

.lead {
    font-size: 24px !important;
    direction: ltr !important;
    line-height: 1.4 !important;
}

.parallax p{
    font-size: 24px !important;
    direction: ltr !important;
    line-height: 1.2;
}


.testimonial p {
    font-size: 18px !important;
    border-radius: 3px !important;
}


.nav{
    direction: ltr;
}

aside .nav {
    direction: ltr;
    font-size: 28px;
}

.rtl{
    direction: rtl;
}

.indent-1{
    text-indent: 1em;
}

.color-b{
    color: black;
}

.font-19{
    font-size: 19px;
}

.font-20{
    font-size: 20px;
}

.font-22{
    font-size: 22px;
}

.font-24{
    font-size: 24px;
}

.content-urdu {
    direction: rtl;
    text-indent: 1em;
    color: black;
    line-height: 31px;
}

.ur{
    font-family: 'Arial', 'Helvetica', 'sans-serif' !important;
}

.ffamily{
    font-family: "Times New Roman";
}


.h1 {
    color: #0099DA;
    font-size: 42px;
    font-weight: normal;
    text-shadow: 2px 2px #E2E2E2;
    text-rendering: optimizelegibility;

    margin-bottom: 44px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;

    line-height: 44px;
    letter-spacing: 1px;
    font-weight: 300;
    display: block;
    box-sizing: border-box;
}

.h2 {
    font-weight: normal;
    font-size: 30px;
    color: #0099da;
    text-shadow: 2px 2px #E2E2E2;
    text-rendering: optimizelegibility;
}

.h3 {
    font-size: 21px;
    font-weight: normal;
    color: #0099da;
    text-shadow: 2px 2px #E2E2E2;
    text-rendering: optimizelegibility;
}

.h5 {
    font-weight: normal;
    font-size: 24px;
    color: #0099da;
    text-align: center;
    text-shadow: 2px 2px #E2E2E2;
}

.h6{
    color: #0099da;
    text-align: center;
    background: #DFDFDF;
    text-shadow: 2px 2px #E2E2E2;
    font-size: 23px;
}

div.toggle > label {
    text-align: right !important;
    padding-right: 2.5em !important;
    font-size: 20px !important;
}

.img1 {
    background: #ffffff url('../images/img1.png') no-repeat left bottom;
}

.img2 {
    background:#ffffff url('../images/img2.png') no-repeat left bottom;
}

.img3 {
    background: #ffffff url('../images/img3.png') no-repeat left bottom;
}

.img4 {
    background: #ffffff url('../images/img4.png') no-repeat left bottom;
}

.img5 {
    background: #ffffff url('../images/img5.png') no-repeat left bottom;
}

.img6 {
    background: #ffffff url('../images/img6.png') no-repeat left bottom;
}

.img7 {
    background: #ffffff url('../images/img7.png') no-repeat left bottom;
}



.no-margin-padding{
    padding: 0px;
    margin: 0px;
}

/* animated radio and check boxes*/
/* for radio and check box pretty */
.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}
.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 2px solid #0099da;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
    color: #0099da;
}

.radio .cr {
    border-radius: 75%;
    border-color: #0099da;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
    transform: scale(3) rotateZ(-220deg);
    opacity: 0;
    transition: all .7s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled + .cr,
.radio label input[type="radio"]:disabled + .cr {
    opacity: .5;
}

.borders {
    border: solid 1px #0099da;
    padding: 5px;
    background-clip: content-box;  /*support: IE9+*/
background-color: #ccc;
}

.slc-madaris-slip{
    width: 22.7em;
    margin-left: -11px;
    font-weight: bold;
}
.slc-marakiz-model{
    width: 20.4em;
    margin-left: -11px;
    font-weight: bold;
}

.box-shadow{
    -webkit-box-shadow: 0px 0px 30px 10px rgba(76,77,77,1);
    -moz-box-shadow: 0px 0px 30px 10px rgba(76,77,77,1);
    box-shadow: 0px 0px 30px 10px rgba(76,77,77,1);
}

.select-adjust{
    width: 104.5%;
    margin-left: -9px;
}

.urdu-ul{
    list-style-type: none;
}
.urdu-ul li{
    color: black;
    margin-top: 5px;
}
.urdu-ul li span{
    padding: 10px;
}

.client-size{
    width: 190px;
    height: 58px;
}

.color-black{
    color: black;
}

.color-c {
    background-color:#d64937 !important;
}
/*How to use html Loader */
/*
    <div class="cssload-container">
	    <div class="cssload-whirlpool"></div>
    </div>
*/

/* css loader 1st */

.cssload-container {
    position: relative;
}

.cssload-whirlpool,
.cssload-whirlpool::before,
.cssload-whirlpool::after {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgb(242,197,196);
    border-left-color: rgb(217,83,79);
    border-radius: 2123px;
    -o-border-radius: 2123px;
    -ms-border-radius: 2123px;
    -webkit-border-radius: 2123px;
    -moz-border-radius: 2123px;
}

.cssload-whirlpool {
    margin: -53px 0 0 -53px;
    height: 106px;
    width: 106px;
    animation: cssload-rotate 950ms linear infinite;
    -o-animation: cssload-rotate 950ms linear infinite;
    -ms-animation: cssload-rotate 950ms linear infinite;
    -webkit-animation: cssload-rotate 950ms linear infinite;
    -moz-animation: cssload-rotate 950ms linear infinite;
}

    .cssload-whirlpool::before {
        content: "";
        margin: -49px 0 0 -49px;
        height: 94px;
        width: 94px;
        animation: cssload-rotate 950ms linear infinite;
        -o-animation: cssload-rotate 950ms linear infinite;
        -ms-animation: cssload-rotate 950ms linear infinite;
        -webkit-animation: cssload-rotate 950ms linear infinite;
        -moz-animation: cssload-rotate 950ms linear infinite;
    }

    .cssload-whirlpool::after {
        content: "";
        margin: -62px 0 0 -62px;
        height: 119px;
        width: 119px;
        animation: cssload-rotate 1900ms linear infinite;
        -o-animation: cssload-rotate 1900ms linear infinite;
        -ms-animation: cssload-rotate 1900ms linear infinite;
        -webkit-animation: cssload-rotate 1900ms linear infinite;
        -moz-animation: cssload-rotate 1900ms linear infinite;
    }



@keyframes cssload-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@-o-keyframes cssload-rotate {
    100% {
        -o-transform: rotate(360deg);
    }
}

@-ms-keyframes cssload-rotate {
    100% {
        -ms-transform: rotate(360deg);
    }
}

@-webkit-keyframes cssload-rotate {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes cssload-rotate {
    100% {
        -moz-transform: rotate(360deg);
    }
}
/* end css loader 1st */


/*css loader*/
.loader {
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #3498db;
    border-bottom: 6px solid #3498db;
    width: 35px;
    height: 35px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.loader35 {
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #3498db;
    border-bottom: 6px solid #3498db;
    width: 35px;
    height: 35px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/*end css loader*/

/* top Head */
/*header#topHead.color {*/
    /*color:#fff;*/
    /*background-color:#d64937 ;*/
/*}*/

/*panel*/
.panel-primary .panel-heading {
    background-color:#d64937 ;
    border-bottom:#d64937 1px solid;
}

/* Buttons */
.btn-default {
    border:#d64937 2px solid;
}

.btn-primary {
    background-color:#d64937;
}

/* Login */
.loginLabel{
    float: right;
    font-size: 24px;
    padding: 5px;
}

.loading {
    background: transparent url('../images/loading.gif') no-repeat left bottom;
}

.RegidInfo{
    text-align: center;
    font-size: 24px;
    margin-top: 7px;
}

.MobileInfo {
    text-align: center;
    font-size: 24px;
    margin-top: 7px;
}

.navbar-custom {
    color: #fff;
    background-color: #1980B6;
}

#navbarRegid .navbar-header a{
    color: #fff;
}
#navbarRegid .navbar-header a:hover{
    color: #fff;
}

#navbarRegid .menus a{
    color: #fff;
}
#navbarRegid .menus a:hover{
    color:#1980B6;
}

#navbarRegid .dropdown a{
    color: #fff;
}
#navbarRegid .dropdown a:hover{
    color:#1980B6;
}

#navbarRegid .dropdown-menu>li>a {
    color: #000;
}
/* Admission page */
.DarjaLabel{
    float: right;
    font-size: 20px;
}

.box
{
    width:1270px;
    padding:20px;
    background-color:#fff;
    border:1px solid #ccc;
    border-radius:5px;
    margin-top:25px;
}

#delModal .modal-header {
    background-color:#d64937;
}

#AdmissionAllModal .modal-header {
    background-color:#5BC0DE;
}

#AdmissionsDataTable{
    text-align: center;
}

#AdmissionsDataTable th{
    text-align: center;
}

/*admission view */
.admissionHeading{
    text-align: center;
    width: 200px;
    height: 47px;
    color: black;
    padding: 10px;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    margin: 10px auto;
}

.admissRadio {
    padding: 10px;
}

.admisscheck{
    margin-top: 12px;
}

.admisscheck .checkbox-inline {
    position: relative;
    display: inline-block;
    padding-left: 4px;
    margin-bottom: 0px;
    font-size: 22px;
    font-weight: 400;
    vertical-align: top;
    cursor: pointer;
}

.admissRadio, .radio-inline {
    position: relative;
    display: inline-block;
    padding-left: 4px;
    margin-bottom: 0px;
    font-size: 24px;
    font-weight: 400;
    vertical-align: top;
    cursor: pointer;
}

.AdmisssionChoice {
    font-size: 20px;
    margin-top: 12px;
}

.AdmissionDetail{
    border: 1px solid black;
    text-align: center;
    font-size: 20px;
}
.AdmissionDetail th{
    text-align: center;
}

#wrapperReg{
    width: 100%;
    height: 100%;
    min-height: 135px;
    display: table;
}
#innerReg{
    display: table-cell;
    vertical-align: middle;
    text-align:center
}
.StudentImage {
    height: 150px;
    width: auto;
    margin-top: -53px;
}
.Registration{
    margin: 10px auto;
}
.Registration th{
    padding-left: 16px;
    font-size: 26px;
    font-weight: normal;
}
.Registration td{
    text-align: center;
    font-weight: bold;
    font-size: 26px;
    padding: 7px;
    border: 1px solid black;
}
.Registration strong {
    display: inline-block;
    width: 50px;
    border: 1px solid #000;
    text-align: center;
    padding-bottom: 4px;
}

.StudentDetail{
    /*height: 138px;*/
    /*padding: 15px;*/
}
.StudentDetail ul li{
    margin: 10px;
}
.StudentDetail table{
    margin: 0 auto;
}
.StudentDetail th{
    font-size: 30px;
    font-weight: normal;
    text-align: left;
}
.StudentDetail td{
    font-size: 30px;
    padding: 5px;
    border-bottom: 1px dotted black;
    width: 150px;
    text-align: center;
}

.styled-input-single {
    position: relative;
    padding: 20px 0 20px 40px;
    text-align: left;
}
.styled-input-single label {
    cursor: pointer;
}
.styled-input-single label:before, .styled-input-single label:after {
    content: '';
    position: absolute;
    top: 50%;
    border-radius: 50%;
}
.styled-input-single label:before {
    left: 0;
    width: 30px;
    height: 30px;
    margin: -15px 0 0;
    background: #f7f7f7;
    box-shadow: 0 0 1px grey;
}
.styled-input-single label:after {
    left: 5px;
    width: 20px;
    height: 20px;
    margin: -10px 0 0;
    opacity: 0;
    background: #d64937;
    -webkit-transform: translate3d(-40px, 0, 0) scale(0.5);
    transform: translate3d(-40px, 0, 0) scale(0.5);
    -webkit-transition: opacity 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
}
.styled-input-single input[type="radio"],
.styled-input-single input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: -9999px;
    visibility: hidden;
}
.styled-input-single input[type="radio"]:checked + label:after,
.styled-input-single input[type="checkbox"]:checked + label:after {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

/* Medium Devices (Landscap Tablets & Medium Desktops) */
@media (min-width: 992px) and (max-width: 1199px){

    /* revolution-slider.php Slide 3 Heading */
    .tp-caption.medium_text {
        -webkit-text-stroke: 3px transparent;
        font-size: 30px !important;
    }
}

/* Small Devices (Portrait Tablets & Small Desktops) */
@media (min-width: 768px) and (max-width: 991px){

    /* revolution-slider.php Slide 3 Heading */
    .tp-caption.medium_text {
        -webkit-text-stroke: 2px transparent;
        font-size: 24px !important;
    }
}


/* Extra Small Devices (Landscape Phones & Portrait Tablets) */
@media (max-width: 767px){
    /* revolution-slider.php Slide 3 Heading */
    .tp-caption.medium_text {
        -webkit-text-stroke: 2px transparent;
        font-size: 14px !important;
    }
}

/* Extra Small Devices (Smaller Devices) */
@media (max-width: 480px){


    /* admission page */

    .fs12{
        font-size: 12px !important;
    }
    .fs18{
        font-size: 18px !important;
    }

    /* admissionview page */

    .admissRadio {
        padding: 10px;
        left: 9%;
        top: 10px;
    }
    .AdmisssionChoice{
        position: relative;
        left: 72px;
        font-size: 24px;
        padding: 1px;
    }
    .StudentImage {
        height: 100px;
        width: auto;
        margin-top: -5px;
    }
    .Registration td {
        border: 1px solid black;
        width: 14px;
        text-align: center;
        font-weight: bold;
        font-size: 20px;
        padding: 2px;
    }
    .HideMe{
        display: none;
    }

    /* ok */
}

/* Extra Small Devices (Smaller Devices) */
@media (max-width: 320px){
/* ok */
}

