html, body {height: 100%; color: #444;}
.scar {background-color: rgba(0, 0, 0, 0.4);  bottom: 0;  left: 0;  position: absolute;  right: 0;  top: 0;   }
.dark-bg {background-color: #596364;}
.btn.dark-bg:hover {background-color: #374142;}
.light-bg {background-color: #0fc7d3;}
.light {color: #0fc7d3 !important;}
.login {overflow:hidden; min-height:100%; background: url('../images/bg.jpg') top center no-repeat; background-size: cover;}
.white, .white * {color: #fff !important;}
.white-bg {background-color: #fff;}
.white-bg-semi {background-color: rgba(255,255,255,.85);}
.full {min-height: 100%; overflow: hidden;}
.register {background: url('../images/bg2.jpg') top center fixed no-repeat; background-size: cover;}
.bg-view {position: relative;}
/*.bg-view h2 {margin-top: 100px; margin-bottom: 100px;}*/
/* .bg-view + div {min-height: calc(100% - 275px)} */
.o-90 {opacity: .9;}
.o-50 {opacity: .5;}
.relative {position: relative;}
.o-hidden {overflow: hidden;}
.out-gutters {padding-right: 15px; padding-left: 15px;}
.gray-bg {background-color: #eee;}
footer {background: url('../images/bg.jpg') center center no-repeat; background-size: cover;}
.b-0 {bottom:0;} .l-0 {left: 0;} .r-0 {right: 0;} .t-0 {top: 0;}
.l-100 {left: 100%;} .r-100 {right: 100%;}
.absolute, .absolute-sm {position: absolute;}
.img-wrapper.relative.d-inline-block {max-width: 200px; overflow: hidden;}
.required::after {color: red; content: "*"; font-size: 120%; position: absolute; right: 0; top: 0;}
.avatar {float: left;  width: 30px;  height: 30px;  margin-right: 5px;  margin-top: -3px;}
.admin{border: 1px solid rgba(255,255,255,.75);}
.admin ul {display: none; clear: both; position: absolute; z-index: 12; left: 0; right: 0; padding-top: 12px;}
.admin:hover ul, .admin li:hover ul {display: block;}
.admin ul li { margin-bottom: 5px; }
.loading {position: relative; min-height: 100px;}
.loading::after {animation-duration: 2s;  animation-iteration-count: infinite;  animation-name: loading;  content: "";  display: inline-block;  font-family: "FontAwesome";  font-size: 50px;  left: calc(50% - 25px);  position: absolute;  top: calc(50% - 50px);}
@keyframes loading { 0% {transform: rotateY(0deg)} 50% {transform: rotateY(180deg)} 100% {transform: rotateY(0deg)}}
.sub::before, .sub-3::after {border-bottom: 1px solid #ddd; border-left: 1px solid #ddd; content: ""; display: block; height: 55px; left: -4px; position: absolute; top: -35px; width: 15px;}
.sub-2::before, .sub-3::before {border-left: 1px solid #ddd; content: ""; display: block; height: 50px; left: -4px; position: absolute; top: -85px; width: 10px;}
.dynamic-dom > div:first-of-type .sub::before {height: 30px; top: -12px;}
.dynamic-dom > div:first-child .sub-2::before,
.dynamic-dom > div:last-of-type .sub-3::before, .hidden,
.sub-3.mb-0::after, .last .sub-3::before, .last .assign-label::before {display: none;}
.sub-3::before { height: 50px; left: -19px; top: -20px;}
.sub-3::after { left: 30px; top: -28px;}
.sub .relative:nth-of-type(2) .sub-3::after {height: 23px; top: 4px;}
.multipleInputs {margin-top:60px; border-radius: 3px; border: 1px solid #ddd;}
.multipleInputs::before {border-left: 1px solid #ddd;  content: "";  display: block;  height: 60px;  left: 32%;  margin-top: -85px;  position: absolute;  width: 100px;}
.multipleInputs .form-group {margin-bottom: 0rem;}
.multipleInputs .form-group .col-lg-1,
.multipleInputs .form-group .col-lg-2 {padding-right: 5px;}
.multipleInputs .form-control, .multipleInputs .custom-select {padding-top:0.25rem; padding-bottom:0.25rem; height: auto; min-width: 50px;}
.multipleInputs .form-group .btn {padding-top: 0.10rem; padding-bottom: 0.15rem;}
.multipleInputs .form-group:nth-child(2n) input {background-color: #f7f7f7;}
.furtherContainer {background-color: white;box-shadow: 0 0 2px #5cb3fd; border: 1px solid #ddd;  border-radius: 4px;  min-width: 250px;  z-index: 2;}
.furtherContainer.no-style {border: 0; box-shadow: none;}
.form-control {font-weight: 550 !important; text-transform: capitalize;}
.form-control-sm {text-transform: capitalize;}
.photoUpload {width: 0px; height: 0px; overflow: hidden; padding: 0; margin:0; position: absolute;}
.assign-label::before {border-left: 1px solid #ddd;  content: "";  display: block;  height: 50px;  left: -4px;  position: absolute;  top: 20px;}
.assign-label { margin: 10px 3rem;}
.assign-label::after {border-right: 1px solid #ddd;  content: "";  display: block;  height: 50px;  left: 45px;  position: absolute;  top: 40px;}
.sub .assign-label ~ .relative .sub-3::after {height: 35px;  top: -23px;}
.sub.tea::before {height: 40px; left: -16px; top: -12px;}
.main-tabs a { color: #fff; padding: 2px 10px; }
.user-menu {position: absolute; color: white; right: 15px; top: 15px; z-index: 10; border-radius:3px;}
.user-menu:hover ,.user-menu .admin:hover ul, .user-menu .admin li:hover ul, .user-menu .admin:hover * {background-color: #eee; color: #444 !important;}
.subject-extra {min-width: 160px; z-index: 1; position: absolute; left: 100%; top: 0; padding: .5rem 1rem 1rem}
.subject-extra::before { border-top: 1px solid #ddd;  content: "";  display: block;  height: 0;  position: absolute;  right: 100%;  top: 11px;  width: 20px;  }
.subject-extra label {margin-bottom: .2rem;}
.line-label {margin: 0 0 0 50px; padding-top: 6px;}
.line-label::before {  background-color: #ddd;  content: "";  display: block;  height: 25px;  left: 46px;  position: absolute;  width: 1px;}
.furtherContainer label {margin-bottom: 0; margin-top: 0.5rem;}
.furtherContainer .form-control {min-height: 30px;}
.w-md-50 {width: 50%;}
.noLines::before,.noLines::after {display: none;}
.no-bg {background: none;}
.full-view {min-height: 100%}
.main-full {min-height: calc(100% - 90px);}
.m-select {cursor:pointer;display:inline-block;max-width:100%;height:calc(1.75rem + 2px);padding:.25rem 1.75rem .25rem .75rem;line-height:1.25;color:#464a4c;vertical-align:middle;background:#fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;-webkit-background-size:8px 10px;background-size:8px 10px;border:1px solid rgba(0,0,0,.0);border-radius:.25rem;-moz-appearance:none;-webkit-appearance:none}
.m-select:focus{border-color:#5cb3fd;outline:0}.m-select:focus::-ms-value{color:#464a4c;background-color:#fff}
.m-select + ul {text-align: left;}
.absolute.white-bg.rounded {border:1px solid rgba(0, 0, 0, 0.125); margin-top: -1px; border-top: 0; z-index: 9; border-radius: 0 0 0.25rem 0.25rem; list-style: none outside;}
.w-auto{width: auto;}
.filter-input {line-height: 1.25; transform: translateY(1px);}
.sort,.attendance {cursor: pointer;}
th {text-align: center;}
.cusInput {width:50px; min-width: 100%; text-align: center; border-radius:3px; border: 0; background: transparent; font-weight: 550; color: rgb(78, 77, 77);}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none;    -moz-appearance: none;    appearance: none;    margin: 0; }
.sib, .sib-2 {position: relative;}
.sib::after,
.sib-2::after {	border-bottom: 1px solid #ddd;	border-left: 1px solid #ddd;content: "";display: block;	height: 32px;	left: -1rem;	position: absolute;	top: -17px;	width: 15px;}
.sib-2::after {	border-bottom: 0px;	height: 50px;	left: -4.5rem;	position: absolute;	top: -25px;	width: 1px;}
.min-500 {min-height: 500px;}
td:nth-child(3), td:nth-child(4) {max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
td.holiday * {visibility: hidden; background-color: #596364;}
td.holiday::before {content: "Holiday";	text-align: center;	display: block;	margin-bottom: -25px;}
.datesheetWrapper {background-color: #f1f2f3;}
/*table .custom-control-indicator {background-color: #bbb;}*/
.table {font-size: 13px !important; font-weight: 500; white-space: nowrap;}
.table > tbody > tr > td {vertical-align: middle !important;}
.table-sm td {padding: 0.15rem 0.3rem;}
.table thead th{vertical-align: middle; font-weight: normal; white-space: nowrap;}
.clickable, .clickable2 {cursor: pointer;}
.clickable:hover, .clickable2:hover {background-color: #5BC0DE; color: white;}
.a4 {min-height: 595px; height: 100px; width: 842px; margin: 0 auto; overflow: hidden;}
.freeze {top:0px !important; background-color:#fff; left: 2rem; right: 2rem; font-weight: 500;}
.btn.btn-sm.dark-bg.white.m-select2 { background-color: transparent; }
.btn.btn-sm.dark-bg.white.m-select2 span {display: none; transition: 0.3s ease all}
.btn.btn-sm.dark-bg.white.m-select2:hover span {display: inline;}
.thead-inverse th {/*background-color: #596364 !important;*/ border: 0 !important;}
.addons .card {transition: all 0.5s ease;}
.syllabus {min-width: 450px;}
.sno {max-width:35px;}
.border-bottom-1 {border-bottom: 1px solid #444;}
.day{cursor: pointer;}
td.vacation {	vertical-align: middle !important;word-break: break-all !important;width: 30px !important;padding: 10px !important;}
th.vacation{cursor:pointer;}
/*Resetting--------------------------*/
.custom-control-input:checked ~ .custom-control-indicator {background-color: #596364;}
button {cursor: pointer;}
.col-form-label {max-height: 38px;}
*::placeholder {color: #999 !important;}
.custom-file-control, .custom-file-control::before {height: 2.4rem; padding: .4rem 1rem;}
.custom-file-control::after {content: attr(data-content) !important;}
.no-width {flex: 0 0 0; width: auto; min-width: 50px;}
label.btn {display: inline;}
table th small {color: #fff !important; font-size: 11px !important;}

/* Media Queries ---------------------*/
@media (max-width: 992px) {
	.multipleInputs .col-8.offset-4::before {content: attr(data-label); position: absolute; margin-left: -47%;}
}
@media (max-width: 768px) {
	.resmagic .col-8.offset-4::before {content: attr(data-label); position: absolute; margin-left: -50%;}
	.absolute-sm {position: static;}
	.bg-view + div {min-height: calc(100% - 425px);}
	.sub::before, .sub-2::before, .sub-3::before, .assign-label::before {display: none;}
	.w-md-50 {width: 100%;}
}
@media screen{
	.no-screen {display: none;}
}
@media print{
	.accounts.table .thead-inverse th {background-color: #444444 !important; border: 1px solid #444444; color: #fff !important; -webkit-print-color-adjust: exact;}
	.accounts.table .thead-inverse th small {color: #fff !important; font-size: 11px !important; -webkit-print-color-adjust: exact;}
	.no-print{display: none;}
	* {color: #000 !important;}
	@page {size: landscape}
	.table-bordered td, .table-bordered th {border-color: #000 !important; padding: 2px 5px; text-align: center;}
	.a4{height: 100%; margin:0 auto; width: 100%; margin-bottom: 8mm;}
	.a4 p, .a4 {font-size: 12px; margin: 0;}
	.a4 h5 {font-size: 14px}
	.a4 h4 {font-size: 16px}
	.small {font-size: 11px;}
	hr {display: block; border-color: #000 !important;}
	.form-control, input, select {border: 0 none !important; background: none !important;}
	.datesheetWrapper {margin-bottom:5px !important;}
}