:root{
	--header-pad: 5px;
	--header-height: 60px;
	--menu-width: 250px;
	--menu-left: 50px;
	--content-pad: 20px;
	--content-pad-top: 30px;
}

.rsmain,
.rsmain > .menu *,
.rsmain > .header *{
	transition: 0.7s ease;
}
.rsmain{
	float: left;
	padding-left: var(--menu-width);
	width: calc(100% - var(--menu-width));
}
.rsmain > .header, .rsmain > .menu, .rsmain > .content{
	float: left;
	position: fixed;
	overflow: hidden;
	transition: 0.4s ease;
	overflow-y: auto;
}
.rsmain > .header{
	top: 0px;
	width: calc( 100% - var(--menu-width) );
	left: var(--menu-width);
	height: var(--header-height);
	line-height: var(--header-height);
	background-color: white;
}

.rsmain > .header > *{
	width: 40px;
	margin-top: 10px;
	float: left;
	margin-left: 10px;
}
.rsmain > .header > *.right{
	float: right;
	width: calc(100% - 70px);
	margin-right: 10px;
	margin-left: 0px;
}
.rsmain > .header > div > *{
	margin: 5px 0px;
	padding: 0px 10px;
	line-height: calc(var(--header-height) - 30px);
	min-width: calc(var(--header-height) - 50px);

	font-style: normal;
	font-size: 14px;
	cursor: pointer;
	float: left;
	text-align: center;
}

.rsmain > .header > div.right > *{
	float: right;
}
.rsmain > .header > div > *:hover{
	color: var(--color-primary);
	text-decoration: underline;
}

.rsmain > ul{
	list-style-type: none;
}
.rsmain > .menu{
	left: 0px;
	bottom: 0px;
	width: var(--menu-width);
	height: calc(100% - var(--header-height));
	padding-top: var(--header-height);
	background-color: var(--color-black);
	color: var(--color-primary-border);
		z-index: 2;
}
.rsmain > .menu:before{
	position: absolute;
	width: 100%;
	top: 0px;
	left: 0px;
	font-family: MF;
	content: attr(rs-title);
	height: var(--header-height);
	line-height: var(--header-height);
	background-color: rgba(0, 0, 0, 0.1);
	color: white;
	text-align: center;
	font-size: 24px;
  overflow: hidden;
}
.rsmain > .menu *{
	font-style: normal;
	font-size: 13px;
}
.rsmain > .menu > .block{
	right: 0px;
	width: 0px;
}
.rsmain > .menu > .block:before{
	position: absolute;
	right: 0px;
	top: calc(50% - 10px);
	width: 100%;
	font-family: MF;
	content: 'Tab To Close';
  display: inline-block;
  vertical-align: middle;
  text-align: center;
}
.rsmain > .menu > li{
	width: 100%;
	cursor: pointer;
	float: left;
	list-style-type: none;
	line-height: 16px;
}
.rsmain > .menu > li:first-child{
	margin-top: 10px;
}
.rsmain > .menu i{
	color: white;
}
.rsmain > .menu > li > i{
	float: left;
	width: calc(100% - (var(--menu-left) + 20px));
	padding: 12px 20px;
	padding-left: var(--menu-left);
	position: relative;
}
.rsmain > .menu > li > i:before,
.rsmain > .menu > li ul > li > i:before{
	position: absolute;
	text-align: center;
	left: 0px;
	top: 12px;
	line-height: inherit;
	width: var(--menu-left);
}
.rsmain > .menu > li i:hover:before,
.rsmain > .menu ul:hover ~ i:before{
	color: var(--color-primary);
}

.rsmain > .menu > li ul{
	float: left;
	width: 100%;
	list-style-type: none;
}
.rsmain > .menu > li ul > li{
	display: none;
	float: left;
	width: calc(100% - 20px);
	padding-left: 20px;
}
.rsmain > .menu > li ul.show > li{
	display: block;
	color: var(--color-black);
}
.rsmain > .menu > li > ul > li{
	padding-left: 50px;
	width: calc(100% - 70px);
}
.rsmain > .menu > li ul > li > i{
	padding: 12px 0px;
	float: left;
	font-size: 11.5px;
	line-height: 15px;
	position: relative;
	width: 100%;
	border-bottom: 1px solid transparent;
}
.rsmain > .menu > li ul > li > i:hover{
	border-color: #CCC;
}
.rsmain > .menu > li ul > li > i:before{
	left: -40px;
}
.rsmain > .menu li{
	position: relative;
}
.rsmain > .menu li > ul:after{
	font-size: 10px;
	font-family: FA;
	position: absolute;
	top: 12px;
	right: 10px;
	content: '\f078';
	color: #FFF;
}
.rsmain > .menu > li li > ul:after{
	right: -10px;
}

.rsmain > .content{
	left: var(--menu-width);
	bottom: 0px;
	width: calc( 100% - var(--menu-width) - (var(--content-pad) * 2) );
	height: calc(100% - var(--header-height) - (var(--content-pad) + var(--content-pad-top)));
	padding: var(--content-pad);
	padding-top: var(--content-pad-top);
	font-size: 13px;
	line-height: 16px;
}
.rsmain.nofixed > .header{
	position: static;
	width: 100%;
}
.rsmain.nofixed > .content{
	position: static;
	width: calc( 100% - (var(--content-pad) * 2) );
}
.rsmain.toggle_menu{
	padding-left: 0px;
	width: 100%;

}
.rsmain.toggle_menu > .menu{
	width: 0px;
}
.rsmain.toggle_menu > .header{
	width: 100%;
	left: 0px;
}
.rsmain.toggle_menu > .content{
	width: calc( 100% - (var(--content-pad) * 2) );
	left: 0px;
}

#content > .content_full{
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-size: 500px auto;
	background-position: center;
	background-attachment: fixed;
}
#content > .content_full > .form,
#content > .content_full > .form_tabs{
	width: 798px;
	padding: 0px;
	margin: 20px calc(50% - 400px);
	background-color: white;
	border: 1px solid var(--color-primary-border);
}
#content > .content_full > .form_tabs{
	margin-bottom: 0px;
	margin-top: 0px;
}

#content > .content_full.panel{
	margin-top: 45px;
	height: calc(100% - 45px);
}
#content > ul.footer,
#content > ul.panel{
	width: 100%;
	list-style-type: none;
	position: absolute;
	left: 0px;
	background-color: white;
	z-index: 9;
	border-top: 1px solid var(--color-silver-o);
}
#content > ul.panel{
	top: 0px;
	height: 44px;
}
#content > ul.footer{
	bottom: 0px;
	height: 25px;
}
ul.footer > li{
	float: left;
}
ul.footer > li.title{
	padding-left: 10px;
	line-height: 25px;
	font-size: 11px;
	font-weight: bold;
}
ul.footer > li.fa{
	width: 25px;
	line-height: 25px;
	text-align: center;
	float: right;
}
ul.footer > li.fa > *{
	display: none;
}
ul.footer > li.fa.show > *{
	display: block;
}
ul.footer > li.fa > .form{
	padding-top: 25px;
	width: 150px;
	height: 150px;
	overflow-x: hidden;
	overflow-y: auto;
	position: absolute;
	right: 0px;
	bottom: 100%;
	background-color: white;
	box-shadow: 0px 0px 3px 3px rgb(149, 165, 166, 0.1);
	animation-duration: 0.7s;
}
ul.footer > li.fa.show > .form{
	animation-name: fadeInRight;
}
ul.footer > li.fa.show > .form label{
	display: none;
}
ul.footer > li.fa.show > .form > .row{
	padding: 5px;
	padding-bottom: 0px;
	width: calc(100% - 10px);
	border: none;
}
ul.footer > li.fa > .form:before{
	position: absolute;
	right: 0px;
	top: 0px;
	width: 100%;
	content: 'Filter';
	background-color: var(--color-primary);
	color: white;
	font-family: MF;
}
ul.footer > li.fa > .fa-times,
ul.footer > li.fa > .fa-filter{
	position: absolute;
	right: 0px;
	bottom: 0px;
	background-color: var(--color-red);
	color: white;
	width: 25px;
	line-height: 25px;
	text-align: center;
	z-index: 2;
}
ul.footer > li.fa > .fa-filter{
	background-color: var(--color-primary);
	display: block;
	z-index: 1;
}
#content > ul.panel.title{
	padding-top: 15px;
}
#content > ul.panel.title ~ .content_full.panel{
	margin-top: 60px;
	height: calc(100% - 60px);
}
#content > .content_full.panel.footer{
	height: calc(100% - 70px);
}

#content > ul.panel.title:before{
	left: 0px;
	padding-left: 15px;
	line-height: 15px;
	height: 15px;
	padding-top: 7.5px;
	font-size: 12px;
	font-weight: bold;
	position: absolute;
	top: 0px;
	white-space: nowrap;
	content: attr(rs-title);
	color: var(--color-primary);
	font-family: MF;
}
ul.panel > input{
	border: none;
	height: 44px;
	padding: 0px 20px;
	margin: 0px;
	width: calc(100% - 40px);
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 1;
	outline: none;
}
ul.panel > li{
	float: right;
	line-height: 30px;
	padding: 0px 10px;
	margin-top: 7.5px;
	cursor: pointer;
	border-radius: 4px;
	z-index: 2;
	position: relative;
}

ul.panel > li:first-child{
	margin-right: 10px;
}
ul.panel > li.fa{
	padding-left: 30px;
}
ul.panel > li.fa:before{
	position: absolute;
	width: 30px;
	text-align: center;
	left: 0px;
	top: 0px;	
}
ul.panel > li > ul{
	border-radius: 4px;
	border: 1px solid var(--color-silver-o);
	background-color: white;
	list-style-type: none;
	position: absolute;
	top: 25px;
	right: 10px;
	width: 150px;
	max-height: 200px;
	padding: 5px 0px;
	display: none;
	overflow: hidden;
	overflow-y: auto;
}
ul.panel > li:hover > ul{
	display: block;
}
body.desktop ul.panel > li:hover > ul{
	animation-name: fadeInDown;
	animation-duration: 0.5s;
}
ul.panel > li > ul > li{
	float: left;
	width: calc(100% - 20px);
	padding: 7.5px 10px;
	line-height: 14px;
	font-size: 11px;
	color: var(--color-black);
}
ul.panel > li > ul > li.fa{
	padding-left: 30px;
	width: calc(100% - 40px);
	position: relative;
}
ul.panel > li > ul > li.fa:before{
	position: absolute;
	line-height: 14px;
	top: 7.5px;
	left: 0px;
	width: 30px;
	text-align: center;
}
ul.panel > li > ul > li.active{
	background-color: var(--color-primary) !important;
	color: white !important;
}
ul.panel > li > ul > li:hover,
ul.panel > li:hover{
	color: var(--color-primary);
	background-color: rgba(0, 0, 0, 0.02);
}
ul.panel .panel_search{
	z-index: 2;
	position: absolute;
	left: 10px;
	top: 7px;
	line-height: 30px;
	text-align: center;
	width: 30px;
	display: none;
	cursor: pointer;
}
@media screen and (max-width: 1050px){
	#rsmain:not(.toggle_menu) #content > .content_full > .form,
	#rsmain:not(.toggle_menu) #content > .content_full > .form_tabs{
		width: 100%;
		border: none;
		margin: 0px 0px;
	}
}
@media screen and (max-width: 800px){
	.rsmain{
		padding-left: 0px;
		width: 100%;
	}
	.rsmain.toggle_menu > .menu{
		width: var(--menu-width);
		margin-right: calc(100% - var(--menu-width));
		z-index: 2;
	}
	.rsmain.toggle_menu > .menu > .block{
		width: calc(100% - var(--menu-width));
		position: fixed;
		height: 100%;
		top: 0px;
		background-color: inherit;
		opacity: 0.2;
		content: ' ';
		z-index: 3;
	}
	.rsmain > .menu{
		width: 0px;
	}
	.rsmain > .header{
		width: 100%;
		left: 0px;
	}
	.rsmain > .content{
		width: calc( 100% - (var(--content-pad) * 2) );
		left: 0px;
	}
}
@media screen and (max-width: 640px){
	ul.panel > .panel_search{
		display: block;
		z-index: 10;
	}
	ul.panel > input{
		display: none;
		background-color: white;
		padding-left: 50px;
		width: 100%;
		z-index: 9;
	}
	ul.panel > .panel_search.fa-times ~ input{
		display: block;
	}

}
@media screen and (max-width: 460px){
	.rsmain > .header i[rs-dropdown="panel_admin"]{
		position: relative;
		width: 10px;
		height: 30px;
		overflow: hidden;
	}

	.rsmain > .header i[rs-dropdown="panel_admin"]:before{
		position: absolute;
		left: 0px;
		top: 0px;
		content: '\f013';
		width: 100%;
		text-align: center;
		background-color: white;
	}
}
body.noheader > .rsmain > .content{
	height: calc(100% - (var(--content-pad) + var(--content-pad-top)));
}
body.noheader > .rsmain > .content > ul.panel{
	border-top-color: transparent !important;
}
body.noheader > #rsModal > .modal{
	border: none;
}
body.noheader .row > .input{
	width: 100% !important;
}