/*
Resort UI Framework - Main App
Last Update: 18 Oct 2020
Author: Valentin Raevschi
Version: 2.0.10
URL: https://dds.ro
*/

:root {
	--theme-widget-color: #0190fe;
	--theme-widget-hover-color: #1f9dfe;
}

html.app {
	font-size: 13px;
}

body{
	color: #514d6a;
	font-size: 1rem;
}

a {
	-webkit-transition: color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out;
}

p {
	font-size: 1rem;
}

.main-layout {
	min-height: 100vh;
	background: #e4e9f0;
}

/* Menu Side */

.left-menu-side {
	background-color: #001529;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	width: 220px;
	top: 0;
	left: -220px;
	position: fixed;
	z-index: 1;
	flex-direction: column;
}

.left-menu-side.opened {
	transform: translateX(220px);
	-webkit-transform: translateX(220px);
}

.left-menu-handler {
	display: flex;
	position: absolute;
	top: 72px;
	right: -41px;
	width: 41px;
	height: 40px;
	cursor: pointer;
	z-index: 1;
	text-align: center;
	background: #001529;
	border-radius: 0 4px 4px 0;
	-webkit-box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
	box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
	align-items: center;
	justify-content: center;
}

.left-menu-handler i {
	color: #fff;
	font-size: 18px;
}

/* Logo */

.left-menu-side .left-logo {
	text-align: center;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 70% auto;
	cursor: pointer;
}

/* Left Menu */

.left-menu-side .left-menu {
	flex-grow: 1;
	height: 400px;
}

.left-menu-side ul {
	padding-top: 10px;
	width: 100%;
}

.left-menu-side ul ul {
	padding-top: 0;
}

.left-menu-side ul > li,
.left-menu-side ul > li > ul > li {
	display: block;
	margin: 3px 0;
	position: relative;
	cursor: pointer;
}

.left-menu-side ul > li > ul {
	padding-top: 0;
}

.left-menu-side li {
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	font-size: 1rem;
}

.left-menu-side.toggled li {
	text-align: center;
}

.left-menu-side li a {
	color: #b8beca;
	margin: 0 auto;
	padding: 0 20px;
	height: 40px;
	line-height: 40px;
	cursor: pointer;
	position: relative;
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	font-size: 1rem;
}

.left-menu-side.toggled li a {
	width: auto;
}

.left-menu-side ul > li > ul > li > a {
	padding-left: 35px;
	position: relative;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.left-menu-side.toggled ul > li > ul > li > a {
	padding: 0;
}

.left-menu-side ul > li.submenu > a:after {
	position: absolute;
	top: 14px;
	right: 45px;
	font-weight: 900;
	font-family: "Font Awesome 5 Free";
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	color: #74708d;
	content: "\f106";
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.left-menu-side.toggled ul > li.submenu > a:after {
	display: none;
}

.left-menu-side ul > li.opened > a:after {
	content: "\f107";
}

.left-menu-side li a:hover {
    color: #fff;
}

.left-menu-side ul > li.has-active:before,
.left-menu-side ul > li:not(.active):hover:before {
	position: absolute;
	height: 100%;
	width: 2px;
	display: block;
	content: '';
	background-color: var(--theme-widget-color);
	top: 0;
	left: 0;
	z-index: 1;
}

.left-menu-side .menu-item {
	text-transform: capitalize;
	white-space: nowrap;
	overflow: hidden;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	font-size: 13px;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.left-menu-side.toggled li {
	text-align: center;
}

.left-menu-side.toggled .menu-item {
	display: none;
}

.left-menu-side li i {
	color: #74708d;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.left-menu-side li.active > a,
.left-menu-side li.active > a > i,
.left-menu-side li:hover > a > i {
	color: #fff;
}

.left-menu-side ul > li.submenu:hover > a:after {
	color: var(--theme-widget-color);
}

.left-menu-side li.active {
	cursor: default;
	background-color: var(--theme-widget-color);
}

.left-menu-trigger{
	background: #e4e9f0;
    height: 48px;
	position: relative;
	display: none;
}

.left-menu-trigger:after {
	content: '';
	display: block;
	width: 9px;
	height: 9px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	border-left: 2px solid #8c96a9;
	border-top: 2px solid #8c96a9;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.left-menu-trigger.active:after {
	-webkit-transform: rotate(-225deg);
    -ms-transform: rotate(-225deg);
    transform: rotate(-225deg);
}

/* Toolbar top */

.top-toolbar {
	background: #fff;
	border-bottom: 1px solid #e4e9f0;
	color: #74708d;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.top-toolbar h1,
.top-toolbar a.top-action  {
	display: inline-block;
	vertical-align: middle;
	color: #74708d;
}

.top-toolbar a.top-action {
	padding-right: 1rem;
	font-size: 1.6rem;
}

.top-toolbar a.back {
	cursor: pointer;
}

.content-wrapper {
	padding: 2.3rem 0.76rem;
	max-width: 120rem;
	margin: 0 auto;
}

.right-side {
	display: flex;
	align-items: center;
}

.toolbar-menu {
	display: flex;
	align-items: center;
	margin-right: 1rem;
}

.toolbar-menu .form-field {
	margin-bottom: 0;
}

.dropdown-menu {
	cursor: pointer;
	position: relative;
	width: 4em;
	margin-right: 1rem;
}

.dropdown-handle {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 2.69rem;
	height: 2.69rem;
	background-color: #eef0f4;
	border-color: #d2d9e5;
	border-radius: 5px;
	white-space: nowrap;
}

.dropdown-handle i {
	font-size: 1.25rem;
	color: #666;
}

.dropdown-handle:after {
	position: absolute;
	top: 50%;
	right: 0;
	margin-top: -0.15rem;
	color: #d2d9e5;
	vertical-align: middle;
    -webkit-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
	display: block;
	content: "";
	border-top: 0.3em solid;
	border-right: 0.3em solid transparent;
	border-bottom: 0;
	border-left: 0.3em solid transparent;
}

.dropdown-menu ul {
	position: absolute;
	border-color: #e4e9f0;
    top: 115%;
	right: 0;
    box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.15);
    z-index: 3;
    min-width: 10rem;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

.dropdown-menu li {
	display: block;
	width: 100%;
	border-bottom: 1px solid #e4e9f0;
}

.dropdown-menu li:last-child {
	border-bottom: 0;
}

.dropdown-menu a {
	color: #74708d;
	background: none;
	padding: 0.75rem 1.15rem 0.75rem 2.5rem;
	-webkit-transition: color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out;
	display: block;
	width: 100%;
	white-space: nowrap;
	position: relative;
}

.dropdown-menu a i {
	position: absolute;
	display: block;
	left: 1rem;;
	top: 50%;
	bottom: 0;
	margin: auto;
	margin-top: -0.5rem;
	font-size: 1rem;
}

.dropdown-menu a:hover {
	color: var(--theme-widget-color);
}

/* Login Page */

.login-wrapper {
	background-size: cover;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.card-login {
	width: 100%;
	max-width: 450px;
	margin: 0 auto;
}

.card-login h2 {
	font-weight: bold;
	margin-bottom: 1.85rem;
}

.toolbar-sum .label-value {
	font-size: 18px;
}

/* Tablet */

@media only screen and (min-width : 768px) {

	.content-wrapper {
		padding: 2.3rem;
	}

	.card-login .content-card {
		padding: 2rem;
	}
}

/* Desktop */

@media only screen and (min-width : 992px) {
}

/* Full Desktop */

@media only screen and (min-width : 1200px) {

	.left-menu-side {
		display: flex;
		left: 0;
		position: relative;
	}

	.left-menu-side .left-menu {
		height: 0;
	}

	.left-menu-side.opened {
		transform: none;
		-webkit-transform: none;
	}

	.left-menu-side.toggled {
		width: 80px;
	}

	.left-menu-handler {
		display: none;
	}

	.left-menu-trigger{
		display: block;
	}

}
