﻿*{
    margin:0;
    padding:0;
}
html{
    scroll-behavior: smooth;
}



a, h3, h4, h5, p {
    font-family: 'Roboto', sans-serif;
}
h3{
    font-weight:400;
    font-size:1.5em;
}
h4{
    font-weight:600;
    font-size:1em;
}
h5{
    font-size:20px;
    font-weight:600;
}
a{
    font-size:14px;
    font-weight:300;
}
p{
    font-weight:300;
}
.last-p p{
    line-height:2rem;
}
.last-p ul li p{
    line-height:2rem;
}
.water-mark{
    background-image:url('images/watermark.png') !important;
    background-repeat:no-repeat;
    background-position:center;
}
body{
    background-image:url('images/bodyback.png') !important;
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden;
}

body::-webkit-scrollbar {
    width: 8px;
}
 
body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
body::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}
.header {
  background: #555;
  color: #f1f1f1;
  z-index:1000;
}



.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background:#abab04 !important;
}

.sticky + .content {
  padding-top: 102px;
}
.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}
.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
}

/* rotate caret on hover */
.dropdown-menu > li > a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
    transition:0.4s;
} 
.dropdown-menu li a:hover{
    color:black !important;
}
.dropdown-menu{
    background-color:#1b5e81 !important;
    margin-top:-0.1px !important;
}
.navbar-nav{
    position:relative !important;
    padding-left:0rem;
}
.navbar{
    background-color:#165272 !important;
    border-top:2px solid #0ec1d7 !important;
    
}

.navbar a{
    color:white !important;
}


@media only screen and (max-width:990px){
    .navbar-nav{
       position:relative;
       margin-left:-1.5% !important;
       padding-left:4px;
    }
    .dropdown-menu{
        width:100%;
    }
}

@media only screen and (max-width:500px){
    .navbar-toggler{
      position:relative;
      left:84% !important;
    }
    .dropdown-menu{
        width:100%;
    }
}
.navbar-nav{
    margin:auto;
}


.dropdown-toggle{
    cursor:pointer !important;
}
.nav-link{
    padding-left:1rem !important;
    padding-right:1rem !important;
}
.nav-item a{
    transition:0.6s;
}


.nav-item a:hover{
    background-color:#0ec1d7 !important;
    transition:0.6s;
}
    
.dropdown-menu{
    padding:0;
    margin:0;
}
.dropdown-menu a{
    border-left:8px solid #1b5e81;
   
}
.dropdown-menu a:hover{
    border-left:8px solid #abab04;
  
}

.urdu-news marquee{
    width:100% !important;
    display:inline-block;
}
.urdu-news a{
    color:white !important;
    position:relative;
    top:4px;
    font-weight:bold;
    word-spacing:0.1rem;
}
.urdu-news a:hover{

    text-decoration:none !important;
}

.carousel-inner{
    border-radius:6px;
    box-shadow: 0px 0px 3px 0px rgba(99,99,99,0.6);
}
.panel{
    box-shadow: 0px 0px 3px 0px rgba(99,99,99,0.6);
    border-radius:6px;
}
.panel-heading{
    background-color:#104d7f !important;
    color:white;
    padding:4px;
    border-radius:6px 6px 0px 0px;
}


.panel-body{
    border:1px solid rgba(99,99,99,0.1);
    position:relative;
    border-radius:0px 0px 6px 6px;
    padding:2px;
}
.news-section .panel-body{
    height:19rem;
    max-height:19rem;
}
.panel-body p{
    padding-left:10px;
}
.links ul li:hover{
    text-decoration:none;
}
.links a{
    transition:0.5s;
}
.links a:hover{
    color:#171717;
    transition:0.5s;
    text-decoration:none;
    font-weight:700;
}
@media only screen and (max-width:1200px){
   .news-section .panel-body{
    height:15.5rem;
    max-height:15.5rem;
}
}
@media only screen and (max-width:990px){
   .news-section .panel-body{
    height:11.5rem;
    max-height:11.5rem;
}
}
@media only screen and (max-width:767px){
    .news-section{
        margin-top:1.3%;
    }
}

.director-msg{
    margin-top:2.9rem !important;
}
.director-msg img{
      box-shadow: 0px 0px 8px -2px grey;
    border-radius: 40px;
    margin-top: 1.5rem !important;
   
}

.director-msg h3{
    background-image: linear-gradient(90deg, #094d70, #0ec1d7), linear-gradient(90deg, #0ec1d7, #094d70);
    background-position: 0 0px, 100% 100% !important;
    background-repeat: no-repeat;
    background-size: 50% 2px;
    border-left: 2px solid #094d70;
    border-right: 2px solid #094d70;
    padding: 10px 5px;
    width: 28%;
    margin: auto;
    margin-top:1rem;
    border-radius:4px;
}

.director-msg p{
    line-height:2rem;
}

@media only screen and (max-width:600px)
{
    .director-msg h3{
        width:50%;
    }
}
.quick-links{
    margin:0px;
}
.quick-links .col-lg-3{
    background: #7184a1;
    padding: 12px;
    border-right: 2px solid #abab04;
    color:white;
}
@media only screen and (max-width:550px){
.quick-links .col-lg-3{
    border-right:0;
    border-bottom: 2px solid #abab04;
}

.quick-links .col-lg-3{
    margin-top:3rem !important;
    border-radius:4px;
}
.quick-links .first-links{
    margin-top:0rem !important;
}
}
.quick-links h5{
    margin:10px;
    text-align:center
}
.links ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: transparent;
    transition: width .3s;
    
}

.links ul li a:hover::after {
    width: 50%;
    background-color:black;
    transition:0.8s;
    margin:auto;
    border-radius:12px;
}

.links a{
    color:white;
}
.links ul li{
    list-style:none;
    margin:14px;
    text-align:center;
    
}
.quick-links h5{
    border-bottom:0.2px solid white;
}
.fast-links{
    transition:0.5s;
}
    .fast-links:hover {
        background-color: #abab04 !important;
        transition: 0.5s;
        cursor: pointer;
    }

.mission{
  color:white;
}
.mission h3{
    border-bottom:2px solid white;
    width:30%;
    margin: 0 auto;
    border-radius:2px
}
.mission h3::after{
    content:"";
    width:50%;
    background:#7184a1;
    padding:2px;
    display:block;
    margin:auto;
    position:relative;
    top:3px !important;
}

.mission p {
    text-align:center !important;
    line-height:2rem;
}

.feedback{
    background: #7184a1;
    color:white;
}
.feedback a{
    color:sandybrown;
}

.head:after {
    display: inline-block;
    margin: 0 0 8px 10px;
    height: 1px;
    content: " ";
    text-shadow: none;
    background-color: #999;
    width: 6%;
}
.head:before {
    display: inline-block;
    margin: 0 10px 8px 0;
    height: 1px;
    content: " ";
    text-shadow: none;
    background-color: #999;
    width: 6%;
}
.abc li{
    list-style:lower-alpha;
}
.roman li{
    list-style:lower-roman;
}
.uniform p{
    line-height:1rem;
}
.back-login{
    background-image:url('images/login-back.png') !important;
    background-repeat:no-repeat;
    background-size:cover;
}
.login-session{
    background-color:rgba(240,240,240,0.5);
    width:100%;
    border-radius:8px;
}
.login-button{
    padding: 4px 14px 4px 14px !important;
    color: white;
    background: burlywood;
    background-color: #0c8394;
}

@media only screen and (max-width:970px){
    .photo img{
        margin-top:12px;
    }
    .exam-result{
        margin-top:12px;
    }
}

.result img{
    width:100%;
}

 .result img{
     border-radius:6px;
     border-bottom:4px solid transparent;
     transition:0.6s;
     }
 .result img:hover{
     border-bottom:4px solid skyblue;
     opacity:0.8;
     transition:0.6s;
 }
 .find-result{
     position:relative !important;
     margin:auto !important;
 }
 .find-result p{
     font-size:10px;
     padding-top:8px;
 }
 
 .sscresult-show{
     margin:auto !important;
     justify-content:center;
 }
 .sscresult-show td{
   margin:20px !important;
    
}
 .form-control:focus {
  border-color: transparent;
  box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.02), 0 0 8px rgba(255, 0, 0, 0.2);
}
@media only screen and (max-width:500px){
    .form-login{
        max-width: 460px !important;
    }
}
.footer-links ul li{
    list-style:none;
    padding:2px;
}
.footer-links ul li:hover{
    text-decoration:none;
}
.footer-links a:hover{
    color:#abab04;
    transition:0.3s;
    text-decoration:none;
}
.footer-links a{
    width: 40%;
    margin-bottom: 1rem;
     color:black;
}
.footer-links p{
    line-height:2rem;
}
.copyright{
    background-color:#7184a1;
    color:white;
    padding:1rem;
}

.scrolltop {
	display:none;
	width:100%;
	margin:0 auto;
	position:fixed;
	bottom:20px;
	right:10px;	
}
.scroll {
    width:50px;
    height:50px;
	position:absolute;
	right:0px;
	bottom:-10px;
	background:#165272;
	color:white;
	padding:14px;
	text-align: center;
	margin: 0 0 0 0;
	cursor:pointer;
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s; 		
    
    box-shadow: 0px 0px 4px 0px black;
}
.scroll:hover {
	background:rgba(243, 156, 18,0.3);
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s; 	
    border-radius:4px;	
}
.scroll:hover .fa {
	padding-top:-10px;
}
.scroll .fa {
	font-size:30px;
	margin-top:-5px;
	margin-left:1px;
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s; 	
}

/*create form*/
.create-form{
    background-image:url('images/creat-form-back.jpg') !important;
    border-radius:8px;
    box-shadow: 0px 0px 2px 0px black;

}
.create-form .form-text{
    color:white !important;
}

#ContentPlaceHolder1_CreateUserWizard1___CustomNav0_StepNextButtonButton , #ContentPlaceHolder1_CreateUserWizard1_CompleteStepContainer_ContinueButton{
    background:#165272 !important;
    border:none;
    color:white !important;
    padding:4px;
    width:100%;
    border-radius:4px;
    cursor:pointer;
}



/* Sweep To Bottom */
/*.hvr-sweep-to-bottom {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-bottom:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0EC1D7;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-sweep-to-bottom:hover, .hvr-sweep-to-bottom:focus, .hvr-sweep-to-bottom:active {
  color: white;
}
.hvr-sweep-to-bottom:hover:before, .hvr-sweep-to-bottom:focus:before, .hvr-sweep-to-bottom:active:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}*/

/**/
#hellobar-bar{
    background-color:#fff;
    padding:2em;
}

.icon-close{
    float: right;
    background: black;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
text-decoration:none !important;
}