body {
	background-color: #fff;
	margin: 0;
	padding: 0;
}

.panel
{
    margin-bottom: 0 !important;
}

/*.panel-info>.panel-heading
{
    background:#f47142 !important;
    color: #fff;
}*/

#tableData, #tblCleanSch {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: auto;
}


#tableData td, th, thead {
    border: 2px solid #d9edf7 !important;
    padding: 3px;
}

#tblCleanSch tr, td, th {
    border: 2px solid #111 !important;
    padding: 3px;
}

#tableData td {
	text-align: left;
	font-size: 12px;
}

#tableData th {
	text-align: center;
	font-size: 12px;
}

#tableData form input {
	width: auto;
}

.details h1, .details h2, .details h3, .details h4, .details p {
	text-align: center;
	margin: 0;
	font-weight: bold;
}


/* For Banner Loop */
* {
	margin: 0;
	padding: 0;
}

/*p {
	right: 0;
	z-index: 2000;
}
*/
.nav-menu {
	display: block;
	padding: 0 0 20px 0;
	width: 100%;
}

.nav-menu ul li {
	float: left;
	width: 100%;
}

.main-banner {
	margin: 10px auto;
	width: auto;
	height: 400px;
	background-color: #fff;
	overflow: hidden;
	position:relative;
	border: 4px solid #ddd;
	box-sizing: border-box;
	border-radius: 5px;
}

.main-banner .imgban{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	border-radius: 5px;
	transition: all ease-in-out 500ms;
	-webkit-transition: all ease-in-out 500ms;
	-moz-transition: all ease-in-out 500ms;
	-o-transition: all ease-in-out 500ms;
}


.main-banner #imgban4 {
	background-image: url(schoolPics/daraliyy.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.main-banner #imgban3 {
	background-image: url(schoolPics/darusman.jpg);
	background-size:cover;
	background-position: center;
	background-repeat: no-repeat;
}

.main-banner #imgban2 {
	background-image: url(schoolPics/darumar.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.main-banner #imgban1 {
	background-image: url(schoolPics/darabubakr.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.imgbtn {
	width: 50px;
	height: 100%;
	background-color: #000;
	border-radius: 4px;
	position: absolute;
	top: 0;
	font-size:80px;
	font-weight: 700;
	color: #fff;
	text-align: center;
	z-index: 2100;
	opacity: 0.3;
	cursor: pointer;
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-box-align:center;
    align-items: center;
}

.imgbtn:hover {
	opacity: 0.6;
}

.imgbtn#next {
	right: 0;
}

.fa-arrow-left, .fa-arrow-right{
    font-size: 35px;
    margin: 0 auto;
}

.imgbtn#next .fa-arrow-right{
    right: 0;
}

.imgban-box img{
    position:absolute;
    top:0;
    right:0;
    transform: rotateX(30deg);
    width:100px;
    height:100px;
}

/*First Position*/
#posDiv{
    position:absolute;
    top:6px;
    right:15px;
    text-align:center;
    width: 100px;
    height:135px;
    display: block;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 5px 10px; 
    background:rgba(0,0,40,.5);
    box-shadow: 9px 8px 5px 0 rgba(0,0,0,.5);
    font-family: 'Acme', sans-serif;
}

#posti1 {
    display:inline-block;
    color: #fff;
    position: absolute;
    top:-5px;
    right:0;
    font-size:75px;
}

#posti1 sup{
    font-size:smaller;
}

#posti2{
    display:inline-block;
    position:absolute;
    font-family:arial;
    top:90px;
    right:0;
    color:#ababab;
    font-size:18px;
    font-weight:bold;
}

.imgban-box h3 {
    font-family: 'Acme', sans-serif;
    color: rgba(0,0,0,.5);
    margin-bottom: 5px;
    font-size: 8vw;
    box-shadow: 9px 8px 5px 0 rgba(0,0,0,.5);
    display: block;
    background-color: rgba(0,0,0,.2);
    border-radius: 5px;
    box-sizing: border-box;
    padding: 5px 10px;    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.main-banner .imgban-box p {
	margin-top: -10px;
	padding: 5px;
	font-family: arial;
	font-size: 12px;
	color: #111;
}

.imgban-box {
	top: 350px;
	text-align: center;
	margin: 0 auto;
}

.dots {
	display: inline-block;
	width: 15px;
	height: 15px;
	cursor: pointer;
	background-color: black;
	border-radius: 50%;
	margin-top: 10px;
}

/* For social medial icons */
#facebook {
  /*padding: inherit;*/
  font-size: 30px;
  width: 50px;
  height: 40px;
  text-align: center;
  vertical-align:middle;
  text-decoration: none;
  margin: 5px;
  border-radius: 5px;
}

#facebook:hover {
    opacity: 0.9;
}

#facebook {
  background: #337ab7;
  color: white !important;
}

#days, #hours, #min, #sec{
    font-size:20px;
    font-weight:bold;
}

/*Modal window*/
/*.myModal {
    position:fixed;
    top:50%;
    left:50%;
    display:table;
    transform: translate(-50%,-50%);
}*/

/*Center content of modal form in loading*/
.centerMe{
    display:table;
    width: 100%;
    height:100%;
}

.centerMeChild{
    display:table-cell;
    vertical-align:middle;
}

.modal-content {
    width: inherit;
    height: inherit;
    margin: 0 auto;
}

.bodyContent{
    background-color:transparent !important;
}

.centerMeImage{
    display:flex;
}

.centerMeImage p, .centerMeImage img{
    margin: auto;
}

.centerMeImage p{
    background-color: #fff;
    border-radius: 5px;
    padding: 4px;
    color: red;
}

.alert{
    width: auto;
    height: auto;
    position: fixed;
    top:100px;
    right:0;
    z-index:9999;
}

.profile-container{
	position: relative;
	width: 80%;
	height: 100%;
	padding: 30px;
	background: #fff;
	margin: 0 auto;
}

.img-box img{
	width: 80px;
	height: 100px;
	border-radius: 5px;
	border: 2px solid #ddd;
}

/*Calender title*/
.fc-left h2{
    font-size: 25px !important;
}

/*For resumtion countdown*/
 #days, #hours, #min, #sec{
    font-size:32px;
    color:gray;
}

#resumption{
    text-align:center;
    font-size:24px;
    font-weight:bold;
    color:black;
    margin-top:0;
}

#msgSchool {
    font-size:17px;
    font-weight:bold;
    color:#990000;
    text-align:center;
    font-family:'georgia';
    margin-bottom:0;
}

.footer-main{
    font-weight: 400;
    text-align: left;
    font-family: "Roboto",sans-serif;
    line-height: 1.4;
    color: #000;
    box-sizing: border-box;
    display: block;
    background-color: #efefef;
    padding: 50px 0 100px;
    font-size: 14px;
}

/* ===== Student Profile Card ===== */
.profile-card{
    background: linear-gradient(135deg,#17a2b8,#138496);
    border-radius:16px;
    padding:20px;
    color:#fff;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
}

/* Profile Image */
.profile-img-wrapper{
    position:relative;
    width:170px;
    height:170px;
    margin:auto;
}
.profile-img-wrapper img{
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #fff;
}
.change-photo{
    position:absolute;
    bottom:8px;
    right:8px;
    background:#ffc107;
    color:#000;
    border-radius:50%;
    padding:8px 10px;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(0,0,0,.3);
}
.change-photo:hover{
    background:#ffca2c;
}

/* Name */
.profile-title{
    font-size:20px;
    font-weight:700;
    margin-top:10px;
}
.profile-sub{
    font-size:15px;
    opacity:.9;
}

/* Info Cards */
.profile-info{
    background:#fff;
    color:#333;
    border-radius:12px;
    padding:15px;
    margin-bottom:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
}
.profile-info i{
    color:#17a2b8;
    margin-right:6px;
}
.profile-info span{
    font-weight:600;
    display:block;
}
.profile-info small{
    color:#666;
}

.body-style{
    background:#eef2f7;
    /*font-family:'Segoe UI', Tahoma, sans-serif;*/
}

/* A4 Sheet */
.a4-sheet{
    width:210mm;
    min-height:297mm;
    margin:25px auto;
    background:#fff;
    padding:20mm;
    box-shadow:0 15px 40px rgba(0,0,0,.18);
    border-radius:10px;
}

/* Header */
.sheet-header{
    display:flex;
    align-items:center;
    border-bottom:4px solid #0d6efd;
    padding-bottom:10px;
    margin-bottom:18px;
}
.school-logo{width:75px;}
.school-info{text-align:center;flex:1;}
.school-info > h2{margin:0;color:#0d6efd;font-weight:700;}
.school-info small{color:#555;}

/* Profile */
.profile-area{
    display:flex;
    gap:20px;
    margin-bottom:15px;
}
.profile-img-wrapper-result{
    width:160px;
    text-align:center;
}
.profile-img-wrapper-result img{
    width:150px;
    height:150px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #0d6efd;
    box-shadow:0 6px 18px rgba(13,110,253,.3);
}

/* Profile Info Box */
.profile-info{
    flex:1;
    background:#f4f8fb;
    padding:12px;
    border-radius:8px;
    border:1px solid #cfe2ff;
}
.profile-info table{
    margin:0;
}
.profile-info th{
    background:#e7f1ff;
    color:#0d6efd;
    width:35%;
}

.profile-info th, .profile-info td{
    padding: 5px !important;
}

/* Section Titles */
.section-title{
    background:#0d6efd;
    color:#fff;
    padding:6px 12px;
    font-weight:600;
    border-radius:6px 6px 0 0;
    margin-top:10px;
}

/* Tables */
.table{
    border:1px solid #cfe2ff;
}
.table th, .table td{
    border:1px solid #cfe2ff !important;
}
.table thead th{
    background:#e7f1ff;
    color:#0d6efd;
}

/* Attendance – ONE LINE */
.attendance-bar{
    display:flex;
    justify-content:space-around;
    background:linear-gradient(90deg,#0d6efd,#20c997);
    color:#fff;
    padding:12px;
    border-radius:8px;
    margin:10px 0;
    font-weight:600;
}
.attendance-bar div{text-align:center;}

/* Arabic */
.subject-ar{
    font-family:'Amiri', serif;
    direction:rtl;
    text-align: right !important;
}

/* Comments Side-by-side */
.comments-row{
    display:flex;
    gap:15px;
    margin-top:20px;
}
.comment-box{
    flex:1;
    padding:12px;
    border-radius:8px;
    background:#f4f8fb;
    border-left:6px solid #0d6efd;
}
.comment-box.green{
    border-left-color:#20c997;
}

/* Dates Side-by-side */
.date-row{
    display:flex;
    gap:15px;
    margin-top:30px;
}
.date-box{
    flex:1;
    padding:12px;
    background:#f4f8fb;
}


/* Signatures */
.signatures{
    display:flex;
    justify-content:space-between;
    margin-top:40px;
}
.signature{
    width:30%;
    text-align:center;
}
.signature-line{
    border-top:2px solid #555;
    margin-top:35px;
    padding-top:6px;
    font-weight:600;
}

/* Print */
@media print{
    body{background:#fff;}
    .a4-sheet{box-shadow:none;margin:0;}
}

/*Sticky navbar in admin page after loading students for quick search */
#studentSearchBar {
    position: fixed;
    top: 60px; /* height of headeradmin.php navbar */
    left: 16.6667%; /* col-md-2 sidebar width */
    width: 66.6667%; /* col-md-8 main content */
    z-index: 1050;
    background: #fff;
    border-radius: 4px;
}