
/*
Author       : Baker Bruce, Dreamguys, Bootstrap
Template Name: Preskool - Bootstrap Admin Template
Version      : 1.0
*/

/*============================
 [Table of CSS]

1. General
2. Table
3. Helper Class
4. Bootstrap Classes
5. Select2
6. Nav Tabs
7. Components
8. Header
9. Footer
10. Sidebar
11. Content
12. Login
13. Notifications
22. Responsive

========================================*/

/*-----------------
	1. General
-----------------------*/

html {
    height: 100%;
    margin: 0;
}
body {
	background-color: var(--background-color);
	color: var(--text-color);
	font-family: 'DM Sans', sans-serif;
	font-size: 1rem;
	height: 100vh;
    margin: 0;
	line-height: 1.5;
	overflow-x: hidden;

	#app {
		height: 100%;
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'DM Sans', sans-serif;
	margin-top: 0;
}
a:hover,
a:active,
a:focus {
	outline: none;
	text-decoration: none;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0px 1000px white inset !important;
	box-shadow: 0 0 0px 1000px white inset !important;
}
input:checked + .slider {
	background-color: hsl(231, 62%, 49%);
}

input:focus + .slider {
	box-shadow: 0 0 1px #fff;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(18px);
}
.form-control.form-control-sm {
	height: calc(1.5em + .5rem + 2px);
}
.form-control-sm {
	background-color: #fff;
}

.form-control.form-control-lg {
	height: calc(1.5em + 1rem + 2px);
}
a {
	color: #009ce7;
}
input,
button,
a {
	transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	-webkit-transition: all 0.4s ease;
}
input, input:focus,
button, button:focus {
	outline: none;
}
input[type=text],
input[type=password] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
textarea.form-control {
	resize: vertical;
}
.form-group {
	margin-bottom: 1.25rem;
}
.input-group .form-control {
	height: 40px;
}
.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
	background-color: rgba(0, 0, 0, 0.1);
	border-color: rgba(0, 0, 0, 0.1);
}
.font-weight-600 {
	font-weight: 600;
}
ul, ol {
	padding: 0px;
	list-style: none;
}

/*-----------------
	3. Helper Class
-----------------------*/

.block {
	display: block !important;
}

/*-----------------
	4. Bootstrap Classes
-----------------------*/
.btn.btn-rounded {
	border-radius: 50px;
}
.bg-white {
	background-color: #fff;
}
.text-danger,
.dropdown-menu > li > a.text-danger {
	color: #e84646 !important;
}
.text-muted {
    color: #757575 !important;
}
.btn {
	transition: all 0.3s ease-in-out;
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

.btn:hover {
	transform: translateY(-2px);
}

.dropdown-toggle {
	color: var(--text-color);
}
.dropdown-toggle:not(.nav-link) {
	border: 2px solid var(--primary);
}
.dropdown-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
}
.dropdown-menu {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 15px;
	transform-origin: left top 0;
	box-shadow: var(--box-shadow-color);
	background-color: var(--background-color);
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #FFBC53;
}
.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    font-size: 17px;
}
.dropdown-menu {
	font-size: 14px;
}
.card {
    border: 1px solid #ececf5;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.03);
	background-color: var(--background-color);
    margin-bottom: 1.875rem;
	border-radius: 20px;
}
.card-body {
	padding: 1.5rem;
	background-color: var(--background-color);
	border-radius: 20px;
}
.modal-footer.text-left {
	text-align: left;
}
.modal-footer.text-center {
	text-align: center;
}

/*-----------------
	6. Nav Tabs
-----------------------*/

.tab-content {
	padding-top: 20px;
}

.nav-link {
    cursor: pointer;
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

.user-header {
	border-radius: 15px;
    background-color: var(--background-color);
	color: var(--text-color);
    display: flex;
    padding: 10px 15px;

	&:hover {
		color: var(--text-color);
		cursor: default;
	}
}
.user-header .user-text {
	margin-left: 10px;
}
.user-header .user-text h6 {
    margin-bottom: 2px;
}
.left_content {
    display: flex;
}

/*-----------------
	11. Content
-----------------------*/

.main-wrapper {
	width: 100%;
	height: 100%;
    display: flex;
    flex-direction: column;
	overflow-x: clip;
}

.page-wrapper {
	background-color: var(--background-color);
    display: flex;
    flex-direction: column;
	margin-left: 80px;
	position: relative;
	transition: all 0.4s ease;
    flex: 1;
}
.page-wrapper > .content {
	padding: 1.875rem 1.875rem;

	&.no-padding {
		padding:0px; /* workaround to get the alt coloring to be the full width of the screen */
	}
}
.page-header .breadcrumb {
    background-color: transparent;
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
    padding: 0;
}
.page-header .breadcrumb a {
	color: #333;
}
.page-title {
	font-size: 28px;
	font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
	overflow-wrap: break-word;
}

/*-----------------
	13. Notifications
-----------------------*/

.user-menu.nav > li > a .badge {
	background-color: #FFBC53;
    display: block;
    font-size: 10px;
    font-weight: bold;
    height: 15px;
    width: 15px;
    position: absolute;
    right: 7px;
    top: 13px;
    color: #fff;
    padding: 3px;
}
.user-menu.nav > li > a > i {
	font-size: 1.5rem;
	line-height: var(--header-content-height);
}

/*-----------------
	22. Responsive
-----------------------*/

@media (max-width: 991.98px) {
	.header .header-left {
		position: absolute;
		width: 100%;
		padding: 0px 50px;
	}
	.page-wrapper {
		margin-left: 0;
		padding-left: 0;
		padding-right: 0;
		-webkit-transition: all 0.4s ease;
		-moz-transition: all 0.4s ease;
		transition: all 0.4s ease;
	}
	.user-menu.nav > li > a {
		color: #18aefa;
	}
	.user-menu.nav > li > a .badge {
		background-color: #FFBC53;
		color: #fff;
	}
	.user-menu.nav > li > a:hover i, .user-menu.nav > li > a:focus i {
		color: #fff;
	}
	.page-header .breadcrumb {
		font-size: 15px;
	}
}

@media (max-width: 767.98px) {
	body {
		font-size: 0.9375rem;
	}
	h1, .h1 {
		font-size: 2rem;
	}
	h3, .h3 {
		font-size: 1.5rem;
	}
	h4, .h4 {
		font-size: 1.125rem;
	}
	h5, .h5 {
		font-size: 1rem;
	}
	h6, .h6 {
		font-size: 0.875rem;
	}
	.header .has-arrow .dropdown-toggle:after {
		display: none;
	}
	.user-menu.nav > li > a > span:not(.user-img) {
		display: none;
	}
	.header .header-left {
		padding: 0 15px;
	}
	.header .header-left .logo {
		display: none;
	}
	.header-left .logo.logo-small {
		left: 50%;
		display: none;
		position: relative;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
	}
	.user-menu {
		padding-right: 0px;
	}
	.page-title {
		font-size: 22px;
	}
}

@media (max-width: 575.98px) {
	.card {
		margin-bottom: 0.9375rem;
	}
	.page-wrapper > .content {
		padding: 0.9375rem 0.9375rem 36px;
	}
	.card-body {
		padding: 1.25rem;
	}
	.page-header {
		margin-bottom: 0.9375rem;
	}
	.profile-image {
		flex: 0 0 auto;
		margin-bottom: 20px;
		text-align: center;
	}
	.profile-user-info {
		text-align: center;
	}
	.profile-tab-cont {
		padding-top: 1.25rem;
	}
}

@media (max-width: 479px) {
	.page-header .breadcrumb {
		display: none;
	}
	.user-menu .dropdown-menu {
		width: 230px;
	}
}

/* ---- Animation ---- */

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes slideIn {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

@keyframes slideOut {
    from { transform: translateY(0); }
    to   { transform: translateY(-100%); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(70px);
    }
    to {
        opacity: 1;
        transform: translateY(50px);
    }
}

.fade-up {
    animation: fadeUp 0.2s ease-out forwards;
}

/* ---- extraneous ---- */
.term > span:first-child {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}
.term {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.error {
    color: red;
}
