/* ///////////////// */
/* // Core Styles // */
/* ///////////////// */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
}

html {
	overflow-y: scroll;
}


/* ////////////////// */
/* // Sign-In Form // */
/* ////////////////// */
.form-signin-container {
	background-color: #F5F5F5;

	display: flex;
	align-items: center;

	padding-top: 40px;
	padding-bottom: 40px;
}

.form-signin {
	max-width: 330px;
	padding: 15px;

	text-align: center;
}

.form-signin .form-floating:focus-within {
	z-index: 2;
}

.form-signin input[type="text"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

/* //////////////// */
/* // Top Navbar // */
/* //////////////// */

.navbar {
	padding: .75rem 1rem;
	border-width: 0;
	border-radius: 0;
}

.navbar .navbar-toggler {
	top: .25rem;
	right: 1rem;
}

.navbar-brand {
	padding-top: .75rem;
	padding-bottom: .75rem;
	font-size: 1rem;
	background-color: rgba(0, 0, 0, .25);
	box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

/* //////////////////// */
/* // Sticky Sidebar // */
/* //////////////////// */
.sidebar {
	position: fixed;
	top: 0;
	/* rtl:raw:
	right: 0;
	*/
	bottom: 0;
	/* rtl:remove */
	left: 0;
	z-index: 100;
	/* Behind the navbar */
	padding: 48px 0 0;
	/* Height of navbar */
	box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
	.sidebar {
		top: 5rem;
	}
}

.sidebar-sticky {
	position: relative;
	top: 0;
	height: calc(100vh - 48px);
	padding-top: .5rem;
	overflow-x: hidden;
	overflow-y: auto;
	/* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
	font-weight: 500;
	color: #333;
}

.sidebar .nav-link .feather {
	margin-right: 4px;
	color: #727272;
}

.sidebar .nav-link i {
	width: 20px;
	text-align: center;
}

.sidebar .nav-link.active {
	color: #2470dc;
}

.sidebar .nav-link:hover {
	color: #555;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
	color: inherit;
}

.sidebar-heading {
	font-size: .75rem;
	text-transform: uppercase;
}



/* //////////////////////////// */
/* // Form Javascript Filter // */
/* //////////////////////////// */
.form-input-error {
	outline: 1px solid red;
}



/* //////////// */
/* // Panels // */
/* //////////// */
.panel {
	border: 1px #DDDDDD solid;
	border-radius: 10px;
	overflow: hidden;
}

.panel-heading {
	padding: 0;
	border: 0;
}

.panel-title {
	background-color: #F5F5F5;
	border-bottom: 1px #DDDDDD solid;
}

.panel-title>a,
.panel-title>a:active {
	display: block;
	padding: 15px;
	color: #555;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	word-spacing: 3px;
	text-decoration: none;
}

.panel-heading a:before {
	font-family: "Font Awesome\ 6 Free";
	content: "\f107";
	float: right;
	transition: all 0.5s;
}

.panel-heading.active a:before {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	transform: rotate(180deg);
}

.panel-body {
	padding: 15px;
}



/* ////////////////// */
/* // Modal Dialog // */
/* ////////////////// */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;

	padding-top: 100px;

	left: 50%;
	top: 50%;

	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.9);
	transform: translate(-50%, -50%);
}

/* Modal Content (Image) */
.modal-content {
	margin: auto;
	display: block;
	max-width: 90%;
	max-height: 90%;
	width: auto;
	height: auto;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
.modal-caption {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	font-weight: bold;
	color: #FFF;
	padding: 10px 0;
	height: 150px;
	z-index: 1001;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
.modal-caption {
	animation-name: zoom;
	animation-duration: 0.6s;
}

@keyframes zoom {
	from {
		transform: scale(0)
	}

	to {
		transform: scale(1)
	}
}

/* The Close Button */
.modal-close {
	position: absolute;
	top: 45px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
	color: #bbb;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
	.modal-content {
		width: 100%;
	}
}



/* /////////////////// */
/* // Table Options // */
/* /////////////////// */
.inline-options {
	display: flex;
	justify-content: flex-start;
	gap: 1.5em;
}

.inline-options > a > i {
	border-radius: 2px;
	color: #fff;
	padding: 3px;
	font-size: 1em;
}

.inline-options > a > i.fa-pen-to-square {
	background: #3785c1;
}

.inline-options > a > i.fa-pen-to-square:hover {
	background: #5f9dcd;
}

.inline-options > a > i.fa-trash {
	background: #ff4136;
}

.inline-options > a > i.fa-trash:hover {
	background: #ff675e;
}


/* /////////////////// */
/* // Image Options // */
/* /////////////////// */
.img-edit {
	max-width: 300px;
	height: auto;
}


/* //////////////// */
/* // Animations // */
/* //////////////// */
.notification {
	align-items: center;
	display: flex;
	justify-content: center;

	font-weight: bold;
	
	border-radius: 50%;
	color: white;
	margin: auto;
	height: 18px;
	line-height: 1;
	width: 18px;
}

.notification.red {
	background: red;
}

.notification.green {
	background: #00BB00;
}

.animation-zoom {
	animation-name: animation-zoom-scale;
	animation-duration: 4s;
	animation-iteration-count: infinite;
}

@keyframes animation-zoom-scale {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1);
	}

	55% {
		transform: scale(1.2);
	}

	60% {
		transform: scale(1);
	}

	60% {
		transform: scale(1);
	}

	65% {
		transform: scale(1.2);
	}

	70% {
		transform: scale(1);
	}
}