/* styling opsi */
.form-signin {
	max-width: 500px;
	margin: 20px auto;
	background-color: #fff; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	background-color:rgba(255,255,255,.8);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	border-radius:8px;
	box-shadow:4px 4px 10px 0 rgba(20,20,20,.6);
}

#background-carousel{
	position:fixed;
	width:100%;
	height:100%;
	z-index:-1;
}
.item {
	width:100%;
	height:100%;
	background-position:center center;
	background-size:cover;
	z-index:0;
}

#content-wrapper {
	position:absolute;
	z-index:1 !important;
	min-width:100%;
	min-height:100%;
}
.well {
	opacity:0.85
}

.login-container {
	-ms-flex-align:center;
	align-items:center;
	background:#00000000;
	display:-ms-flexbox;
	display:flex;
	-ms-flex-direction:column;
	flex-direction:column;
	height:100vh;
	-ms-flex-pack:center;
	justify-content:center
}
/*
WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
now override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
	.carousel-fade .carousel-inner > .item.next,
	.carousel-fade .carousel-inner > .item.active.right {
		opacity: 0;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	.carousel-fade .carousel-inner > .item.prev,
	.carousel-fade .carousel-inner > .item.active.left {
		opacity: 0;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	.carousel-fade .carousel-inner > .item.next.left,
	.carousel-fade .carousel-inner > .item.prev.right,
	.carousel-fade .carousel-inner > .item.active {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

.sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	padding: 50px;
	background-image: url("../img/bgx.jpg");
	background-size:52px;
	background-repeat: repeat;
	height: 300px;
}

.overlap {
	margin-top: -260px
}

.funkyradio div {
	clear: both;
	overflow: hidden;
}

.funkyradio label {
	width: 100%;
	border-radius: 3px;
	border: 1px solid #D1D3D4;
	font-weight: normal;
	padding: 5px 0 5px 50px;
}

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

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
	position: relative;
	line-height: 2em;
	/*text-indent: 3.25em;*/
	margin-top: 5px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	left: 0;
	content: '';
	width: 2.5em;
	background: #D1D3D4;
	border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
	color: #888;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
	/*content: '\2714';*/
	text-indent: .9em;
	color: #000;
	font-weight: bold;
	padding: 5px 0 0 0;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
	color: #fff;
	background: #86C186;
	font-weight: bold;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
	/*content: '\2714';*/
	text-indent: .9em;
	color: #333;
	background-color: #ccc;
	padding: 5px 0 0 0;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
	box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="radio"]:checked ~ label:before,
.funkyradio-default input[type="checkbox"]:checked ~ label:before {
	color: #333;
	background-color: #ccc;
}

.funkyradio-primary input[type="radio"]:checked ~ label:before,
.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
	color: #fff;
	background-color: #337ab7;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
	color: #fff;
	background-color: #5cb85c;
}

.funkyradio-danger input[type="radio"]:checked ~ label:before,
.funkyradio-danger input[type="checkbox"]:checked ~ label:before {
	color: #fff;
	background-color: #d9534f;
}

.funkyradio-warning input[type="radio"]:checked ~ label:before,
.funkyradio-warning input[type="checkbox"]:checked ~ label:before {
	color: #fff;
	background-color: #f0ad4e;
}

.funkyradio-info input[type="radio"]:checked ~ label:before,
.funkyradio-info input[type="checkbox"]:checked ~ label:before {
	color: #fff;
	background-color: #5bc0de;
}

.huruf_opsi {
	margin-left: -36px;
	margin-top: 9px;
	position: absolute;
}

.btn.no-hover:hover {
	cursor:default !important;
}

/* shadow */
.shadow-sm {
	box-shadow: 0 .125rem .25rem 0 rgba(58, 59, 69, .2) !important
}

.my-shadow {
	box-shadow: 0 .15rem 1.75rem 0 rgba(58, 59, 69, .15) !important
}

.shadow-lg {
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important
}

.shadow-none {
	box-shadow: none !important
}

.input-group>.w-40 {
	flex: 0 0 40%;
}
/*
.input-group>.input-group-prepend {
	flex: 0 0 15%;
}
 */
.input-group .input-group-text {
	width: 100%;
}

.note-editor.note-frame, .note-editor.note-airframe {
	border: 1px solid #ffffff;
}

.bg-circle {
	width: 49px;
	height: 49px;
	text-align: center;
	padding: 5px 0 5px 10px;
	line-height: 2.00;
	border-radius: 30px;
	white-space: nowrap;
}

.btn-circle {
	width: 49px;
	height: 49px;
	text-align: center;
	padding: 5px 0;
	font-size: 20px;
	line-height: 2.00;
	border-radius: 30px;
}

.btn-oval {
	height: 49px;
	text-align: center;
	padding: 5px 0;
	font-size: 20px;
	line-height: 2.00;
	border-radius: 30px;
}

.btn-circle-micro {
	/*height: 19px;*/
	display: inline-block;
	padding: .25em .4em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .80rem;
}

.btn-circle-sm {
	width: 35px;
	height: 35px;
	text-align: center;
	padding: 4px 0;
	font-size: 12pt;
	line-height: 1.65;
	border-radius: 30px;
}

.btn-oval-sm {
	height: 35px;
	text-align: center;
	font-size: 12pt;
	line-height: 1.65;
	border-radius: 30px;
	padding: .25em 1em;
}

.btn-circle-lg {
	width: 79px;
	height: 79px;
	text-align: center;
	padding: 13px 0;
	font-size: 30px;
	line-height: 2.00;
	border-radius: 70px;
}

.no-search .select2-search {
	display:none
}

.container-jawaban {
	display: block;
	position: relative;
	padding-left: 50px;
	margin-bottom: 30px;
	cursor: pointer;
	font-size: 18px;
	text-align: justify;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.container-jawaban input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.checkmark {
	position: absolute;
	top: -5px;
	left: 0;
	height: 40px;
	width: 40px;
	background-color: #eee;
	border-radius: 50%;
	border: 1px solid #ccc;
	font-size: 24px;
	line-height: 1.6;
	text-align: center;
}

.boxmark {
	position: absolute;
	top: -5px;
	left: 0;
	height: 40px;
	width: 40px;
	background-color: #eee;
	border-radius: 8px;
	border: 1px solid #ccc;
	font-size: 24px;
	line-height: 1.6;
	text-align: center;
}

.container-jawaban:hover input ~ .checkmark {
	background-color: #ccc;
}

.container-jawaban input:checked ~ .checkmark {
	background-color: #2196F3;
	color: #fff;
}

.container-jawaban:hover input ~ .boxmark {
	background-color: #ccc;
}

.container-jawaban input:checked ~ .boxmark {
	font-weight: bold;
	background-color: #2196F3;
	color: #fff;
}

.container-jawaban input:checked ~ .boxmark:before {
	content: "\2713";
}

.checkbox-lg .custom-control-label::before,
.checkbox-lg .custom-control-label::after {
	top: .8rem;
	width: 1.55rem;
	height: 1.55rem;
}

.checkbox-lg .custom-control-label {
	padding-top: 13px;
	padding-left: 6px;
	cursor: pointer;
}

.checkbox-xl .custom-control-label::before,
.checkbox-xl .custom-control-label::after {
	top: 1.2rem;
	width: 1.85rem;
	height: 1.85rem;
}

.checkbox-xl .custom-control-label {
	padding-top: 23px;
	padding-left: 20px;
	cursor: pointer;
}

.my-checkbox {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.form-check-input[type=checkbox]:indeterminate {
	background-color: #3DA576;
	border-color: #3DA576;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}

ul.media-list li img {
	width: 100px;
	height: 100px
}

ul.media-list li {
	height: 102px
}

ul.media-list li video {
	width: 100px;
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%)
}

div#hint_brand .modal-dialog {
	top: 110px;
	width: 567px;
	max-width: 100%
}

li.myupload span {
	position: relative;
	width: 100px;
	height: 100px;
	display: block;
	background: #fff
}

li.myupload span input {
	opacity: 0;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0
}

li.myupload span i {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #ccc;
	font-size: 54px
}

ul.media-list li {
	float: left;
	border: 1px solid #ccc;
	position: relative;
	margin: 0 5px 5px 0;
	width: 102px
}

ul.media-list li:last-child {
	margin-right: 0
}

.post-thumb {
	position: absolute;
	background: rgba(0, 0, 0, 0.3);
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	display: none
}

li .title-thumb {
	position: absolute;
	height: 28px;
	width: 100px;
	padding: 4px;
	background: rgba(0, 0, 0, 0.6);
	bottom: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: white;
}

ul.media-list li:hover .post-thumb {
	display: block
}

a.remove-pic {
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 12px;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 50%;
	display: block;
	height: 25px;
	width: 25px;
	text-align: center;
	padding: 3px 0
}

.inner-post-thumb {
	position: relative
}

.user-post-text-wrap {
	position: relative
}

.user-pic-post {
	position: absolute;
	width: 50px;
	height: 50px;
	top: 0;
	left: 0
}

.user-pic-post img {
	width: 100%
}

.user-txt-post {
	padding: 0 0 0 65px
}

textarea.form-control.upostTextarea {
	border: 0;
	box-shadow: none;
	height: 85px;
	resize: none
}

.user-post-text-wrap {
	border-bottom: 1px solid #ccc;
	margin: 0 0 15px
}

.user-post-btn-wrap {
	margin: 25px 0 0
}

ul.btn-nav {
	list-style: none;
	padding: 0;
	margin: 0
}

ul.btn-nav li {
	position: relative;
	float: left;
	margin: 0 10px 0 0
}

ul.btn-nav li span input {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	z-index: 9;
	opacity: 0;
	filter: alpha(opacity=100)
}

ul.media-list {
	list-style: none;
	padding: 0;
	margin: 0
}

input.picupload {
	width: 100px;
	height: 100px
}


.select2-container {
	width: auto;
}

.bstreeview {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid rgba(0,0,0,.125);
	border-radius: .25rem;

	padding: 0;
	overflow: hidden;
}

.bstreeview .list-group {
	margin-bottom: 0;
}

.bstreeview .list-group-item {
	border-radius: 0;
	border-width: 1px 0 0 0;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	cursor: pointer;
}

.bstreeview .list-group-item:hover {
	background-color:#dee2e6;
}

.bstreeview > .list-group-item:first-child {
	border-top-width: 0;
}

.bstreeview .state-icon {
	margin-right: 8px;
	width: 12px;
	text-align: center;
}
.bstreeview .item-icon {
	margin-right: 5px;
}

.tbl-vertical {
	white-space: nowrap;
	transform: rotate(-90deg);
	text-align: left;
	bottom: 4px;
	padding: 1px 1px 1px 10px;
	width: 30px;
}

/*from bs 3*/
@media (max-width:767px){
	.hidden-xs{display:none!important}
}
@media (min-width:768px) and (max-width:991px){
	.hidden-sm{display:none!important}
}
@media (min-width:992px) and (max-width:1199px){
	.hidden-md{display:none!important}
}
@media (min-width:1200px){
	.hidden-lg{display:none!important}
}

.img-zoom {
	transition: transform .2s;
	margin: 0 auto;
}

.img-zoom:hover {
	-ms-transform: scale(2); /* IE 9 */
	-webkit-transform: scale(2); /* Safari 3-8 */
	transform: scale(2);
}

div.list-jadwal-ujian div:nth-child(even) {
	background: white;
	padding-left: .25rem!important;
	padding-right: .25rem!important;
	color: black;
}

div.list-jadwal-ujian div:nth-child(odd) {
	background: #dee2e6;
	padding-left: .25rem!important;
	padding-right: .25rem!important;
	color: black;
}

#guru.dataTable.no-footer{
	border-bottom: unset;
}
#guru tbody td {
	display: block;
	border: unset;
}
#guru>tbody>tr>td{
	border-top: unset;
}

.hrspan {
	position: relative;
	margin-bottom: 20px;
	width: 100%;
	text-align: center;
}

.hrspan span {
	position: absolute;
	top: -11px;
	background: #fff;
	padding: 0 20px;
	font-weight: bold;
	font-size: 16px;
}

div.hr-or {
	margin-top: 20px;
	margin-bottom: 20px;
	border: 0;
	border-top: 1px solid #eee;
	text-align: center;
	height: 0px;
	line-height: 0px;
}

div.hr-or:before {
	content: 'OR';
	background-color: #fff;
}

div.hr {
	margin-top: 20px;
	margin-bottom: 12px;
	margin-right: 20px;
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	height: 0px;
	line-height: 0px;
}

.hr-title {
	background-color: #fff;
	font-weight: bold;
	padding: 0 4px 0 0;
}

.hr-text {
	line-height: 1em;
	position: relative;
	outline: 0;
	border: 0;
	color: black;
	text-align: center;
	height: 1.5em;
	opacity: .5;
}
.hr-text:before {
	content: '';
	background: linear-gradient(to right, transparent, #818078, transparent);
	 position: absolute;
	 left: 0;
	 top: 50%;
	 width: 100%;
	 height: 1px;
}
.hr-text:after {
	 content: attr(data-content);
	 position: relative;
	 display: inline-block;
	 padding: 0 .5em;
	 line-height: 1.5em;
	color: #818078;
	 background-color: #fcfcfa;
}

.btn-disabled,
.btn-disabled[disabled] {
	opacity: .65;
	cursor: not-allowed;
}

.crop-text-1 {
	-webkit-line-clamp: 1;
	overflow : hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
}
.crop-text-2 {
	-webkit-line-clamp: 2;
	overflow : hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
}

.crop-text-table {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: 300px;
}

.rTable {
	display: table;
	width: 100%;
}
.rTableRow {
	display: table-row;
}
.rTableHeading {
	display: table-header-group;
	background-color: #ddd;
}
.rTableCell, .rTableHead {
	display: table-cell;
	border-top: 10px solid #EBEBEB;
}
.rTableHeading {
	display: table-header-group;
	background-color: #ddd;
	font-weight: bold;
}
.rTableFoot {
	display: table-footer-group;
	font-weight: bold;
	background-color: #ddd;
}
.rTableBody {
	display: table-row-group;
}

.sTable {
	display: table;
	width: 100%;
}
.sTableRow {
	display: table-row;
}
.sTableHeading {
	display: table-header-group;
	background-color: #ddd;
}
.sTableCell, .sTableHead {
	display: table-cell;
	padding: 3px 10px;
	border: 1px solid #999999;
}
.sTableHeading {
	display: table-header-group;
	background-color: #ddd;
	font-weight: bold;
}
.sTableFoot {
	display: table-footer-group;
	font-weight: bold;
	background-color: #ddd;
}
.sTableBody {
	display: table-row-group;
}

connection {
	border: 2px solid #b51c29;
	border-radius: 31px;
}

.jodohkan ul {
	list-style: none;
	margin-left: 0px;
	padding-left: 0px;
	font-weight: normal;
}

.jodohkan li {
	border: solid 1px grey;
	padding: 5px 2px 5px 8px;
	margin-top: 10px;
	margin-bottom: 10px;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	cursor: pointer;
	background-color: #fff;
	color: black;
	border-radius: 4px;
	text-overflow: ellipsis;
	overflow: hidden;
}

button.btn.btn-icon {
	display: flex;
}
button.btn.btn-icon > i:first-child:not(:only-child) {
	margin-right: 0.75rem;
}
button.btn.btn-icon > span + i {
	margin-left: 0.75rem;
}
button.btn.shaded.btn-icon {
	display: flex;
	position: relative;
}
button.btn.shaded.btn-icon.shaded > i {
	display: flex;
	align-items: center;
	position: absolute;
	z-index: 100;
	top: 0;
	border-radius: 0;
	padding: 0 0.4rem;
	height: 100%;
}
button.btn.shaded.btn-icon.shaded > i::before {
	background-color: rgba(6, 7, 8, 0.3);
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -10;
}
button.btn.shaded.btn-icon.left.shaded {
	padding-left: 2.7rem;
}
button.btn.shaded.btn-icon.left.shaded > i {
	left: 0;
	border-top-left-radius: inherit;
	border-bottom-left-radius: inherit;
	margin-right: 0.75rem;
}
button.btn.shaded.btn-icon.right.shaded {
	padding-right: 2.7rem;
}
button.btn.shaded.btn-icon.right.shaded > i {
	right: 0;
	border-top-right-radius: inherit;
	border-bottom-right-radius: inherit;
	margin-left: 0.75rem;
}
button.btn.shaded.btn-icon.primary > i::before {
	background-color: rgba(0, 86, 179, 0.5);
}
button.btn.shaded.btn-icon.danger > i::before {
	background-color: rgba(167, 29, 42, 0.5);
}
button.btn.shaded.btn-icon.info > i::before {
	background-color: rgba(15, 102, 116, 0.5);
}
button.btn.shaded.btn-icon.outline.primary > i::before {
	background-color: rgba(77, 163, 255, 0.3);
}
button.btn.shaded.btn-icon.outline.danger > i::before {
	background-color: rgba(231, 118, 129, 0.3);
}
button.btn.shaded.btn-icon.outline.info > i::before {
	background-color: rgba(54, 206, 230, 0.3);
}

/*
.btn-label {position: relative;left: -12px;display: inline-block;padding: 6px 12px;background: rgba(0,0,0,0.15);border-radius: 3px 0 0 3px;}
.btn-labeled {padding-top: 0;padding-bottom: 0;}
.btn { margin-bottom:10px; }
 */

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
	-webkit-appearance:none;
}

/*
 * NEW ELEARNING
 * timetable
 */

table.my-timetable {
	height: 1px;
	tr:nth-child(odd) {
		border-bottom: 1px solid #f5f5f5;
	}
	/*
	tr {
		border-top: 1px solid #f5f5f5;
		border-bottom: 1px solid #f5f5f5;
	}
	width: 100%;
	tr:nth-child(even) th {
		color: #ccc;
		font-weight: normal;
	}

	td {
		padding: 0.5rem 0.8rem;
		font-weight: bold;
		line-height: 1.4;
		border-radius: 0.6rem;
		transition: opacity 0.3s ease;
		border: 2px solid #fff;
		border-left: 0;
		cursor: pointer;
	}
	 */
	th {
		border-left: 0;
		border-right: 0.2rem solid #fff;
		border-top-left-radius: 1rem;
		border-top-right-radius: 1rem;
	}

	td.times {
		height: 12px;
	}

	td .small {
		font-size: 0.8em;
		font-weight: normal;
		display: block;
		width: 100%;
	}

	td > div {
		cursor: pointer;
	}

	.frozen-header {
		width: 60px;
		min-width: 60px;
		max-width: 60px;
		background-color: #007bff !important;
		position: sticky;
		left: 0;
		z-index: 3;
	}

	.frozen-column {
		width: 60px;
		min-width: 60px;
		max-width: 60px;
		background-color: white !important;
		position: sticky;
		left: 0;
		z-index: 3;
	}

	.frozen-column-2 {
		width: 20px;
		min-width: 20px;
		max-width: 20px;
		left: 60px;
		background-color: white !important;
		position: sticky;
		border-right: 1px solid #dee2e6;
		border-bottom: 1px solid #f5f5f5;
		z-index: 2;
	}

	.frozen-column-3 {
		width: 20px;
		min-width: 20px;
		max-width: 20px;
		left: 60px;
		background-color: white !important;
		position: sticky;
		border-right: 1px solid #dee2e6;
		z-index: 2;
	}

	.frozen-header {
		position: sticky;
		top: 0;
		background: white;
		z-index: 4;
	}

	.frozen-column-header {
		position: sticky;
		top: 0;
		left: 0;
		background: white;
		z-index: 5;
	}
}

.stage-earth {background-color: #FFA726}
.stage-mercury {background-color: #9CCC65}
.stage-venus {background-color: #FF8A65}
.stage-mars {background-color: #B3E5FC}
.stage-jupiter {background-color: #81D4FA}
.stage-saturn {background-color: #26C6DA}

.draggable-table {
	.draggable-table__drag {
		position: absolute;
		z-index: 10;
		cursor:all-scroll;
		-webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.05);
		box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.05);
		opacity: 1;
	}

	thead {
		th {
			user-select: none;
		}
	}

	tbody {

		tr {
			cursor:all-scroll;
			td {
				user-select: none;
			}
		}

		tr:nth-child(even) {
			background-color: #fafafa;
		}

		tr:nth-child(odd) {
			background-color: #ffffff;
		}

		tr.is-dragging {
			background: #f1c40f;

			td {
				color: #ffe683;
			}
		}
	}
}

.border-top-bold {
	border-top-color: #d0d4d5 !important;
	border-top-width: 2px !important;
}

.border-rigt-bold {
	border-right-color: #d0d4d5 !important;
	border-right-width: 2px !important;
}

.border-left-bold {
	border-left-color: #d0d4d5 !important;
	border-left-width: 2px !important;
}

.border-bottom-bold {
	border-bottom-color: #d0d4d5 !important;
	border-bottom-width: 2px !important;
}
/*
.select2-results__option[role=group] {
}
.select2-results__option {
	display: flex !important;
	flex-direction: row !important;
	justify-content: space-between !important;
}
 */
.select2-results__option[aria-disabled="true"] {
	background-color: #f8f9fa !important; /* Example light gray color */
	color: #999 !important; /* Optional: change text color as well */
}

/* ==========================================================================
   MODERN GLASSMORPHISM & DYNAMIC DARK/LIGHT MODE SYSTEM
   ========================================================================== */

:root {
    /* Glassmorphism theme - Light Mode (Soothing Nature Green mesh gradient) */
    --bg-mesh-gradient: linear-gradient(-45deg, #f0fdf4, #e8f5e9, #d1fae5, #e0f2f1, #f4fbf7);
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-bg-hover: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-border-focus: rgba(16, 185, 129, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(16, 185, 129, 0.05);
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --sidebar-bg: rgba(255, 255, 255, 0.5);
    --sidebar-border: rgba(255, 255, 255, 0.3);
    --sidebar-item-active: rgba(16, 185, 129, 0.15);
    --sidebar-text: #334155;
    
    --navbar-bg: rgba(255, 255, 255, 0.4);
    
    --card-bg: rgba(255, 255, 255, 0.45);
    --card-header-bg: rgba(255, 255, 255, 0.2);
    
    --input-bg: rgba(255, 255, 255, 0.5);
    --input-border: rgba(255, 255, 255, 0.3);
    --input-text: #1e293b;
    
    --primary-color: #059669;
    --primary-hover: #047857;
    
    --transition-speed: 0.3s;
}

.dark-theme {
    /* Glassmorphism theme - Dark Mode (Soothing Night Forest mesh gradient) */
    --bg-mesh-gradient: linear-gradient(-45deg, #022c22, #052e16, #064e3b, #042f2e);
    --glass-bg: rgba(15, 23, 42, 0.55);
    --glass-bg-hover: rgba(15, 23, 42, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-focus: rgba(52, 211, 153, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    --sidebar-bg: rgba(15, 23, 42, 0.65);
    --sidebar-border: rgba(255, 255, 255, 0.05);
    --sidebar-item-active: rgba(52, 211, 153, 0.15);
    --sidebar-text: #cbd5e1;
    
    --navbar-bg: rgba(15, 23, 42, 0.5);
    
    --card-bg: rgba(15, 23, 42, 0.55);
    --card-header-bg: rgba(255, 255, 255, 0.04);
    
    --input-bg: rgba(15, 23, 42, 0.45);
    --input-border: rgba(255, 255, 255, 0.08);
    --input-text: #f8fafc;
    
    --primary-color: #34d399;
    --primary-hover: #10b981;
}

/* --- Animated Mesh Gradient Background (Smooth Flow & Anti-Glare) --- */
@keyframes meshFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

html, body {
    background: transparent !important;
    color: var(--text-primary) !important;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pseudo-element on body for fixed, high-performance GPU-accelerated animated background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: var(--bg-mesh-gradient) !important;
    background-size: 300% 300% !important;
    animation: meshFlow 20s ease infinite !important;
    pointer-events: none;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Wrapper and Content Area Override (Transparent backgrounds) --- */
.wrapper, .content-wrapper, .main-footer {
    background: transparent !important;
    color: var(--text-primary) !important;
}

/* Remove default footer borders */
.main-footer {
    border-top: 1px solid var(--glass-border) !important;
}

/* --- Cards / Info Boxes (iOS Glassmorphism) --- */
.card, .info-box, .small-box, .well, .form-signin {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
    border-radius: 18px !important;
    color: var(--text-primary) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease !important;
}

.card-header {
    background: var(--card-header-bg) !important;
    border-bottom: 1px solid var(--glass-border) !important;
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
    color: var(--text-primary) !important;
}

.card-footer {
    background: var(--card-header-bg) !important;
    border-top: 1px solid var(--glass-border) !important;
    border-bottom-left-radius: 18px !important;
    border-bottom-right-radius: 18px !important;
}

.card-title {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

/* --- Forms & Input Elements (Rounded & Modern) --- */
.form-control, select.form-control, textarea.form-control, .select2-container--bootstrap4 .select2-selection {
    background-color: var(--input-bg) !important;
    border: 1px solid var(--input-border) !important;
    border-radius: 12px !important;
    color: var(--input-text) !important;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease !important;
}
.form-control:focus, .select2-container--bootstrap4.select2-container--focus .select2-selection {
    background-color: var(--glass-bg-hover) !important;
    border-color: var(--glass-border-focus) !important;
    box-shadow: 0 0 0 3px var(--glass-border-focus) !important;
    color: var(--input-text) !important;
    outline: none !important;
}

.input-group-text {
    background-color: var(--input-bg) !important;
    border: 1px solid var(--input-border) !important;
    color: var(--text-secondary) !important;
    border-radius: 12px !important;
}

/* --- Buttons (iOS-style Rounded-Pill & Micro-animations) --- */
.btn {
    border-radius: 30px !important;
    font-weight: 600 !important;
    padding: 8px 24px !important;
    letter-spacing: 0.3px;
    border: 1px solid transparent !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}
.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}
.btn:active {
    transform: translateY(0) scale(0.97) !important;
}
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}
.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* --- Sidebar Glassmorphism --- */
.main-sidebar {
    background: var(--sidebar-bg) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-right: 1px solid var(--sidebar-border) !important;
    box-shadow: var(--glass-shadow) !important;
}
.brand-link {
    background: transparent !important;
    border-bottom: 1px solid var(--sidebar-border) !important;
    color: var(--text-primary) !important;
}
.sidebar a {
    color: var(--sidebar-text) !important;
}
.nav-sidebar .nav-item > .nav-link {
    border-radius: 14px !important;
    margin-bottom: 6px;
    transition: all 0.25s ease;
}
.nav-sidebar .nav-item > .nav-link.active {
    background: var(--sidebar-item-active) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}
.nav-sidebar .nav-item > .nav-link:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* --- Header Navbar Glassmorphism --- */
.main-header.navbar {
    background: var(--navbar-bg) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
}
.main-header.navbar .nav-link, .main-header.navbar span {
    color: var(--text-primary) !important;
}

/* --- Tables & Datatables Redesign --- */
.table {
    color: var(--text-primary) !important;
}
.table thead th {
    border-bottom: 2px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.05);
}
.table td {
    border-top: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.02) !important;
}
.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}
.dataTables_wrapper {
    background: var(--glass-bg) !important;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

/* --- Theme Toggle Switch Button styling --- */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border) !important;
    background: var(--glass-bg) !important;
    box-shadow: var(--glass-shadow) !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}
.theme-toggle-btn:hover {
    transform: scale(1.15) !important;
}

/* Sticky layout background image overrides */
.sticky {
    background-image: none !important;
    background-color: transparent !important;
}

/* Text elements & headings colors */
h1, h2, h3, h4, h5, h6, .text-dark, .brand-text {
    color: var(--text-primary) !important;
}
.text-muted, p, label {
    color: var(--text-secondary) !important;
}

/* Fix dropdown menus in dark theme */
.dropdown-menu {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 14px !important;
}
.dropdown-item {
    color: var(--text-primary) !important;
    transition: background 0.2s ease;
}
.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* --- Dashboard Header Redesign --- */
.dashboard-header-banner {
    height: auto !important;
    min-height: unset !important;
    background: transparent !important;
    padding: 30px 0 10px 0 !important;
}
.dashboard-header-stats-wrapper {
    background: transparent !important;
    padding: 0 !important;
}

/* --- Small Box Redesign (Modern Glass Stats Cards) --- */
.small-box {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border) !important;
    border-radius: 18px !important;
    color: var(--text-primary) !important;
    box-shadow: var(--glass-shadow) !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.small-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
}
.small-box .inner h5, .small-box .inner span {
    color: var(--text-primary) !important;
}
.small-box .icon > i {
    color: rgba(255, 255, 255, 0.25) !important;
    transition: transform 0.3s ease;
}
.small-box:hover .icon > i {
    transform: scale(1.15);
}
.dark-theme .small-box .icon > i {
    color: rgba(255, 255, 255, 0.08) !important;
}
.small-box-footer {
    background: rgba(0, 0, 0, 0.05) !important;
    color: var(--text-secondary) !important;
    border-top: 1px solid var(--glass-border) !important;
    transition: background 0.2s ease !important;
}
.dark-theme .small-box-footer {
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--text-secondary) !important;
}
.small-box-footer:hover {
    color: var(--primary-color) !important;
    background: rgba(0, 0, 0, 0.1) !important;
}

/* Border side color markers on stats cards */
.small-box.bg-info, .small-box.bg-primary {
    border-left: 4px solid var(--primary-color) !important;
}
.small-box.bg-success {
    border-left: 4px solid #10b981 !important; /* Emerald green */
}
.small-box.bg-warning {
    border-left: 4px solid #f59e0b !important; /* Amber yellow */
}
.small-box.bg-danger {
    border-left: 4px solid #ef4444 !important; /* Red */
}
.small-box.bg-secondary {
    border-left: 4px solid #6b7280 !important; /* Slate grey */
}

/* --- Fix Activity List item backgrounds in Dark Theme --- */
.products-list .item {
    background: transparent !important;
    border-bottom: 1px solid var(--glass-border) !important;
    padding: 12px 10px !important;
    border-radius: 0 !important;
    color: var(--text-primary) !important;
}
.products-list .item:last-child {
    border-bottom: none !important;
}

/* Set dynamic background for initial circles inside activity list */
.products-list .item .media div.rounded-circle {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}
.products-list .item .media div.rounded-circle img {
    border-radius: 50% !important;
}
.dark-theme .products-list .item .media-body span {
    color: var(--text-primary) !important;
}

/* --- Select2 Overrides (Default & Bootstrap4 Themes) --- */
.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single, 
.select2-container .select2-selection--multiple {
    background-color: var(--input-bg) !important;
    border: 1px solid var(--input-border) !important;
    border-radius: 12px !important;
    min-height: 38px !important;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--input-text) !important;
    padding-left: 12px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    color: var(--input-text) !important;
    padding-left: 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px !important;
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: rgba(16, 185, 129, 0.2) !important; /* Emerald translucent */
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    border-radius: 8px !important;
    color: var(--text-primary) !important;
    margin: 2px 0 !important;
    padding: 2px 8px !important;
    font-size: 0.85rem !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--text-secondary) !important;
    margin-right: 4px !important;
    border: none !important;
    background: transparent !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ef4444 !important;
}

/* Adjust select2 arrow alignment */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
    right: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--text-secondary) transparent transparent transparent !important;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--text-secondary) transparent !important;
}

/* --- Bootstrap Helper Colors Overrides --- */
.text-primary {
    color: var(--primary-color) !important;
}
.bg-primary {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
    color: #fff !important;
}
.btn-primary:focus {
    box-shadow: 0 0 0 3px var(--glass-border-focus) !important;
}

/* --- Modern Multi-Color Tables (Nature Green / Teal Gradient) --- */
.table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid var(--glass-border) !important;
    background-color: var(--glass-bg) !important;
}

.table thead th {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(20, 184, 166, 0.15)) !important;
    border-bottom: 2px solid rgba(16, 185, 129, 0.3) !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
    padding: 12px 16px !important;
}

.dark-theme .table thead th {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(45, 212, 191, 0.12)) !important;
    border-bottom: 2px solid rgba(52, 211, 153, 0.25) !important;
}

.table tbody tr {
    transition: background-color 0.2s ease !important;
}

.table tbody tr:nth-of-type(odd) {
    background-color: rgba(16, 185, 129, 0.03) !important;
}

.dark-theme .table tbody tr:nth-of-type(odd) {
    background-color: rgba(52, 211, 153, 0.02) !important;
}

.table tbody tr:hover {
    background-color: rgba(16, 185, 129, 0.08) !important;
}

.dark-theme .table tbody tr:hover {
    background-color: rgba(52, 211, 153, 0.06) !important;
}

.table td {
    border-top: 1px solid var(--glass-border) !important;
    color: var(--text-secondary) !important;
    padding: 12px 16px !important;
    vertical-align: middle !important;
}

/* --- Custom Multi-Color Table Header for Status Ujian --- */
#table-status thead th {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
    font-weight: bold !important;
}

/* Row 1 Headers (Grouping Columns) */
#table-status thead tr:first-child th:nth-child(1) {
    background: #5b62e4 !important; /* No. - Deep Indigo/Purple */
}
#table-status thead tr:first-child th:nth-child(2) {
    background: #685cc9 !important; /* Data Siswa - Indigo */
}
#table-status thead tr:first-child th:nth-child(3) {
    background: #00c0ef !important; /* Jadwal Ujian - Cyan */
}
#table-status thead tr:first-child th:nth-child(4) {
    background: #f39c12 !important; /* Status Siswa - Amber/Orange */
}
#table-status thead tr:first-child th:nth-child(5) {
    background: #00bfa5 !important; /* Aksi - Teal */
}

/* Row 2 Headers (Individual Column Labels) */
#table-status thead tr:nth-child(2) th:nth-child(1),
#table-status thead tr:nth-child(2) th:nth-child(2),
#table-status thead tr:nth-child(2) th:nth-child(3) {
    background: #00acd6 !important; /* Jadwal Ujian Subheaders - Soft Teal */
}
#table-status thead tr:nth-child(2) th:nth-child(4),
#table-status thead tr:nth-child(2) th:nth-child(5) {
    background: #e08e0b !important; /* Status Siswa Subheaders - Soft Orange */
}
#table-status thead tr:nth-child(2) th:nth-child(6) {
    background: #dd4b39 !important; /* Fouls - Red */
}
#table-status thead tr:nth-child(2) th:nth-child(7) {
    background: #fb6340 !important; /* Reset Waktu - Coral */
}
#table-status thead tr:nth-child(2) th:nth-child(8) {
    background: #8965e0 !important; /* Reset Izin - Violet */
}
#table-status thead tr:nth-child(2) th:nth-child(9) {
    background: #f5365c !important; /* Block - Rose/Red */
}
#table-status thead tr:nth-child(2) th:nth-child(10) {
    background: #11cdef !important; /* Paksa Selesai - Cyan */
}
#table-status thead tr:nth-child(2) th:nth-child(11) {
    background: #2dce89 !important; /* Ulang - Green */
}