@import url("https://use.fontawesome.com/releases/v5.1.1/css/all.css");

li.nav-item a {color: white !important;}
li.nav-item a:hover {color: #df0024 !important;}
li.nav-item a:active {color: #df0024 !important;}
li.nav-item a.active {color: #df0024 !important;}

.navbar .profile {
	width: 45px;
	border-radius: 50%;
	background-color: grey;
	padding: 0px;
	margin: 0px;
}

.navbar .badge {
	font-family: 'DIN';
	font-size: 50%;
	border-radius: 10%;
	position: relative;
	top: -12px;
	left: -5px;
}

.navbar .profile-name {
	font-family: 'DIN';
	font-size: 12px;
	margin: auto 0px auto 10px;
	position: relative;
	top: -8px;
}

.navbar .toggler { cursor: pointer; display: block; color: white; margin: auto 15px;}
.navbar .toggler.collapse { transform: rotate(90deg); }

.navbar .visible-xs {
	display: none;
}

.side-menu {
	float: left;
	position: fixed;
	top: 80px;
	height: calc(100% - 80px);
	width: 65px;
	background-color: #232323;
	z-index: 999999 !important;
	overflow-x: hidden;
	font-family: "DIN;
	font-size: 13px;
	color: white;
}

.side-menu::-webkit-scrollbar {
    width: 3px;
}
 
.side-menu::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
.side-menu::-webkit-scrollbar-thumb {
  background-color: darkred;
  outline: 1px solid darkred;
}

.side-menu ul {
	list-style-type: none;
	margin-left: -40px;
}

.side-menu li{
	border-left: 3px solid #232323; 
	border-right: 3px solid #232323;
}

.side-menu .menu-body {
	/*margin-left: 3px;*/
	background-color: #464646;
	margin: 0px 0px 15px 0px;
}

.side-menu .menu-body li{
	/*height: 45px;*/
	vertical-align: middle;
	border-left: 3px solid #232323; 
	border-right: 3px solid #232323;
}

.side-menu li.active{ /*background-color: white;*/ border-left: 3px solid #df0024 ; /*border-right: 3px solid white;*/ }
.side-menu .menu-body li.active{ /*background-color: white;*/ border-left: 3px solid white ; /*border-right: 3px solid white;*/ }

.side-menu div.icon, #profile-menu div.icon {
	width: 65px;
	text-align: center;
	vertical-align: middle;
	margin: 10px auto;
	font-size: 15px;
	margin-left: -2px;
}

.side-menu div.title, #profile-menu div.title {
	width: 185px;
	text-align: left;
	vertical-align: middle;
	margin: auto;
	margin-left: 2px;
}

.side-menu li a, #profile-menu li a{
	display: inline-flex;
}

.side-menu .show {
	position: relative;
	display: block;
}

.side-menu a{color: white !important;}
.side-menu a:hover, .side-menu .panel-menu a:hover{color: #df0024 !important;}
/*.side-menu .active a{color: black !important;}*/
.side-menu .panel-menu a{color: white !important;}
/*.side-menu .panel-menu .active a{color: black !important;}*/

.side-menu.collapsed {
	display: block;
	width: 250px;
}

.side-menu .header {
	display: inline-block;
	width: 100%;
	/*background-color: darkred;*/
}

.side-menu .header > a:hover { color: white !important;}

.side-menu .profile img {
	width: 40px;
	border-radius: 50%;
	background-color: grey;
	padding: 0px;
	margin: 10px;
}

.side-menu .navbar {
	margin: 0px;
	padding: 0px;
}

.side-menu .side-menu-container {
	width: 100%;
}

.side-menu .panel-menu {display: none;}
.side-menu.collapsed .panel-menu.show {display: block;}
.side-menu.over .panel-menu.show {display: block;}

.side-body {
	position: absolute;
	min-height: calc(100vh - 80px);
	width: calc(100% - 65px);
	left: 0px;
	top: 80px;
	padding: 20px;
}

#submenu{
	position: fixed;
	align-content: center;
	top: 78px;
}

#submenu .submenu::-webkit-scrollbar {
    width: 3px;
}
 
#submenu .submenu::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
#submenu .submenu::-webkit-scrollbar-thumb {
  background-color: #DF0024;
  outline: 2px solid #DF0024;
}

#submenu .submenu.warning::-webkit-scrollbar-thumb {
  background-color: #ffc107;
  outline: 2px solid #ffc107;
}

#submenu .submenu {
	display: none;
	background-color: white;
	box-shadow: 0 6px 12px rgba(0,0,0,.175);
	overflow-x: hidden;
	overflow-y: auto;
	max-height: 450px;
}

#submenu .submenu.xs{
	width: 200px;
}

#submenu .submenu.sm{
	width: 300px;
}

#submenu .submenu.xl{
	width: calc(100% - 40px - 250px);
	margin: 0px 20px 0px 200px;
}

#submenu ul {
	list-style-type: none;
	margin-left: -40px;
}

#submenu li {
	list-style-type: none;
}

#submenu .header {
	background-color: #DF0024;
	font-family: 'DIN';
	font-size: 13px;
	font-weight: bold;
	color: white;
	/*margin: -10px;
	margin-bottom: -10px;*/
	padding: 6px;
}

#submenu .header a {
	color: white;
	text-decoration: none;
}

#submenu .a {
	background-color: #DF0024;
	color: white;
	height: 30px;
	margin: -10px;
	margin-bottom: 0px;
}

#submenu .loader {
	margin: 10px;
}

#submenu .header.warning {
	background-color: #ffc107;
}
#submenu .header.danger {
	background-color: #DF0024;
}

.notifications .notification td {
	padding: 9px;
	padding-bottom: 12px;
	font-size: 13px;
	cursor: pointer;
}

.notifications .notification i {
	color: #C1C1C1;
}
.notifications .notification i:hover {
	color: black;
}

.notifications .notification:hover {background-color: #E3F5E3!important;}
.notifications .notification[status='2'] {background-color: #BFDDF0;}
.notifications .notification[status='3'] {background-color: white;}



.notification .icon:before {
	color:#000;
    font-family: "Font Awesome 5 Free"; /* This is the correct font-family*/
    font-style: normal;
    font-weight: 900;
    text-decoration: inherit;
	margin-right: 5px;
}
.notification .icon.new-order:before {content: "\f0ce"; color: #ffc107;}
.notification .icon.new-product:before {content: "\f1b2"; color: blue;}
.notification .icon.new-delivery:before {content: "\f0d1"; color: blue;}
.notification .icon.new-proforma:before {content: "\f15c"; color: blue;}
.notification .icon.new-invoice:before {content: "\f570"; color: blue;}
.notification .icon.new-promotion:before {content: "\f0e7"; color: #DF0024;}
.notification .icon.new-promotion:before {content: "\f0e7"; color: #DF0024;}

#submenu #cart-menu .badge {
	background-color: white;
	padding: 5px;
	color: #ffc107;
	font-size: 12px;
}

#submenu #cart-menu .content {
	cursor: pointer;
}

.navbar .arrow-top {
    display: none;
	position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    top: 70px;
    margin-bottom: -10px;
}

.navbar .arrow-top.right {
   right: 40px;
}

.navbar .arrow-top.warning {
    border-bottom: 10px solid #ffc107;
}

.navbar .arrow-top.danger {
    border-bottom: 10px solid #DF0024;
}

.navbar .active .arrow-top {
	display: block;
}

.dropdown-menu {
	border-radius: 0px;
	padding: 10px;
}

.tab-menu {
	font-family: 'DIN-Titulos';
	font-size: 20px;
	margin-bottom: 20px;
	border: 1px solid #F1F1F1;
}

.tab-menu > div {
	height: 80px;
	line-height: 80px;
	background-color: white;
	text-align: center;
}

.tab-nav {
	font-family: 'DIN-Titulos';
	font-size: 20px;
	margin: 0px -20px;
	/*border: 1px solid #F1F1F1;*/
}

.tab-nav > div {
	height: 80px;
	line-height: 75px;
	background-color: white;
	text-align: center;
	cursor: pointer;
}

.tab-nav > div > span {
	background-color: white;
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
}

.tab-nav > div.active {
	border-bottom: 4px solid #df0024;
}

.tab-nav > div.disabled {
	color: #C3C3C3;
	cursor: not-allowed;
}

.tab-content .tab {
	/*border-top: 4px solid  darkred;*/
	margin: 20px -20px 0px -20px;
	display: none;
}

.tab-content {
	width: 100%;
}
.tab-content .tab.active {
	display: block;
}

.tab.menu-header {
	display: block;
	margin-bottom: 20px;
}

.tab.menu-header .content {
	display: block;
	margin-top: -20px;
}

.tab-content .tab .header {
	background-color: white;
	padding: 15px 20px;
	border: 0px!important;
	border-bottom: 1px solid #BFBFBF;
}

.tab-content .header .title {
	font-family: 'DIN-Titulos';
	font-size: 20px; 
}

.tab-content .header .actions {
	float: right;
}

.tab-content .header .header-right {
	float: right;
	margin: -15px -20px;
	text-align: center;
	cursor: pointer;
}

.tab-content .header .header-right i {
	background-color: #F6F7F7;
	border-radius: 0px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	font-size: 16px;
	margin-left: -4px;
}

.tab-content .content {
	/*border: 1px solid #F1F1F1;*/
	background-color: white;
	padding: 20px;
}

.tab-content .content.no-background {
	background-color: transparent;
	padding: 0px;
}

.dashboard-title.disabled {
	opacity: 0.20;
	filter: alpha(opacity=20);
	cursor: not-allowed;
}

.dashboard-title p {
	font-family: 'DIN-Titulos';
	font-size: 14px;
}

.dashboard-title i {
	font-size: 40px;
	color: #232323;
}

.dashboard-title.selected i {
	color: #DF0024;
}

@media (max-width: 575.98px) { 
	.navbar-brand img {
		width: 50px;
		margin: -7px 5px 0px 0px;
	}
	
	.navbar .hidden-xs li.nav-item {
		display: none;
	}
	.navbar-brand .hidden-xs {
		display: none;
	}
	
	.navbar li.nav-item{
		font-family: 'DIN-Titulos';
		font-size: 16px !important;
		margin: auto 0px !important;
	}
	
	.navbar .visible-xs {
		display: inline-flex;
	}
	
	.navbar .badge {
		margin-right: -5px;
	}
	
	.navbar .toggler {
		margin: auto; 5px;
	}
	
	.navbar img.profile {
		margin: auto 10px;
	}
	.side-menu {
		display: none;
		width: 1px;
	}
	.side-body {width: 100%;}
	
	.tab-nav > div {
		margin: 2px 0px;
	}
	#submenu .submenu.xl{
		width: calc(100% - 20px);
		margin: 0px 10px;
	}
}

/* Medium devices (tablets, less than 992px) */
@media (min-width: 576px) and (max-width: 767.98px) { 
	.navbar li.nav-item{
		font-family: 'DIN-Titulos';
		font-size: 16px !important;
		margin: auto 0px !important;
	}
	.side-menu {
		display: none;
		width: 1px;
	}
	.side-body {width: 100%;}
	
	#submenu .submenu.xl{
		width: calc(100% - 40px);
		margin: 0px 20px;
	}
}
/* Medium devices (tablets, less than 992px) */
@media (min-width: 768px) and (max-width: 991.98px) { 
	.navbar li.nav-item{
		font-family: 'DIN-Titulos';
		font-size: 18px !important;
		margin: auto 5px !important;
	}
	.side-body {left: 65px;}
	.side-body.collapsed {left: 250px;top: 80px; width: calc(100% - 250px);}
	.side-menu.over{width: 250px;}
}
/* Large devices (desktops, less than 1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) { 
	.navbar li.nav-item {
		font-family: 'DIN-Titulos';
		font-size: 18px;
		margin: auto 8px;
	}
	.side-body {left: 65px;}
	.side-body.collapsed {left: 250px;top: 80px; width: calc(100% - 250px);}
	.side-menu.over{width: 250px;}
	
}
/* Large devices (desktops, more than 1200px) */
@media (min-width: 1200px) { 
	.navbar li.nav-item {
		font-family: 'DIN-Titulos';
		font-size: 20px;
		margin: auto 10px;
	}
	.side-body {left: 65px;}
	.side-body.collapsed {left: 250px;top: 80px; width: calc(100% - 250px);}
	.side-menu.over{width: 250px;}
}
