:root{
  --color-red: #d63031;
  --color-red-o: #FFEBF1;
  --color-pink: #e84393;
  --color-pink-o: #fd79a8;
  --color-blue: #0984e3;
  --color-blue-o: #EEF1FF;
  --color-green: #00b894;
  --color-green-o: #E6F8F3;
  --color-yellow: #fdcb6e;
  --color-yellow-o: #FFF8E8;
  --color-black: #34495e;
  --color-black-o: #636e72;
  --color-silver: #bdc3c7;
  --color-silver-o: #F1F2F7;
  --color-white: #ecf0f1;

	--color-primary-border: var(--color-silver);
  --color-primary: var(--color-blue);
  --button-height: 30px;
  --button-before: 30px;
  --padding: 15px;

  --dropdown-width: 180px;
  --dropdown-height: 250px;
}
@media all and (display-mode: standalone) {
  body {
    background-color: var(--color-primary);
  }
}
body{
	background-color: var(--color-silver-o);
}
*,
.fa{
	font-family: MF;
	margin: 0px;
	padding: 0px;
	color: var(--color-black);
}
* > *{
	color: inherit;
}
*:before{
	font-family: FA;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body > .box{
	width: 300px;
	background-color: white;
	border: 1px solid var(--color-primary-border);
	float: left;
	margin: 100px calc(50% - 150px);
	border-radius: 5px;
	overflow: hidden;
	max-width: 100%;
}
body.loading:before{
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.1);
	content: ' ';
	z-index: 9999;
}
@keyframes loading_animate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
body.loading:after{
	position: fixed;
	left: calc(50% - 60px);
	bottom: 150px;
	width: 100px;
	background-color: white;
	line-height: 16px;
	font-size: 12px;
	content: attr(rs-loading);
	padding: 5px 10px;
	text-align: center;
	z-index: 9999;
	box-shadow: 0px 0px 3px 3px rgb(149, 165, 166, 0.1);
	border-radius: 5px;
	border: 1px solid var(--color-primary-border);
  animation: loading_animate 1.2s infinite;
}
.none, .hide{
	display: none !important;
}
.show{
	display: block !important;
}
.shadow, ul.dropdown, .rsAlert > div, .button, .button:before, table, #content > .content_full > .form, .select2-dropdown, .select2-search--dropdown{
	box-shadow: 0px 0px 3px 3px rgb(149, 165, 166, 0.1);
}
.pointer{
	cursor: pointer;
}
.bg *{
	color: inherit;
}
.bg, .button, .ui-state-active{
	background-color: var(--color-primary) !important;
	color: white !important;
}
.bg.info, .button.info{
	background-color: var(--color-blue) !important;
}
.bg.info-o{
	background-color: var(--color-blue-o) !important;
}
.bg.success, .button.success, .button.fa-send, .button.fa-plus{
	background-color: var(--color-green) !important;
}
.bg.warning, .button.warning, .button.fa-refresh{
	background-color: var(--color-yellow) !important;
}
.bg.warning-o{
	background-color: var(--color-yellow-o) !important;
}
.bg.error, .button.error, .button.fa-trash{
	background-color: var(--color-red) !important;
}
.bg.error-o{
	background-color: var(--color-red-o) !important;
}
.bg.black, .button.black{
	background-color: var(--color-black) !important;
}
.bg.silver, .button.silver{
	background-color: var(--color-silver) !important;
}

.cl{
	color: var(--color-primary) !important;
}
.cl.info, .bg.info-o{
	color: var(--color-blue) !important;
}
.cl.success{
	color: var(--color-green) !important;
}
.cl.warning{
	color: var(--color-yellow) !important;
}
.cl.error, .bg.error-o{
	color: var(--color-red) !important;
}

.button{
	font-family: MF;
	cursor: pointer;
	line-height: 16px !important;
	font-size: 12px;
	float: left;
	line-height: var(--button-height);
	padding: 7px 10px;
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	margin-right: 10px;
	margin-bottom: 10px;
	z-index: 2;
}
.button.fa{
	padding-left: calc(var(--button-before) + 10px);
}
.button.right{
	float: right;
}
.button.fa:before{
	vertical-align: middle;
	height: 100%;
	position: absolute;
	padding-top: 7px;
	top: 0px;
	left: 0px;
	text-align: center;
	width: var(--button-before);
	background-color: rgba(0, 0, 0, 0.1);
}
.button:after {
  content: ' ';
  position: absolute;
  background: rgba(0, 0, 0, 0.1);
  border: 50vh solid rgba(0, 0, 0, 0.2);
  width: 30vh;
  height: 30vh;
  border-radius: 50%;
  display: block;
  top: calc(var(--button-height) / 2);
  left: calc(var(--button-before) / 2);
  z-index: 0;
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) scale(0);
          transform: translate(-50%, -50%) scale(0);
}
.button:active:after, .button.fa:focus:after {
  opacity: 0;
  transition: opacity 0.28s ease 0.364s, -webkit-transform 1.12s ease;
  transition: transform 1.12s ease, opacity 0.28s ease 0.364s, -webkit-transform 1.12s ease;
  -webkit-transition: opacity 0.28s ease 0.364s, -webkit-transform 1.12s ease;
  -webkit-transform: translate(-50%, -50%) scale(1);
          transform: translate(-50%, -50%) scale(1);
}
.button > input[type="file"]{
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 9;
}

div.table-y{
	float: left;
	width: 100%;
	overflow-y: auto;
}
table{
	width: auto;
	border-collapse: collapse;
	background-color: white;
	font-size: 12px;
	min-width: 100%;
}
table td{
	border: 1px solid var(--color-primary-border);
	padding: 5px 7.5px;
	font-size: 12px;
	line-height: 14px;
}
table.rsTable > thead,
.ui-datepicker-calendar > thead{
	border-top: 1px solid var(--color-primary-border);
	background-color: #EEE;
	font-size: 13px;
	line-height: 16px;
	font-weight: bold;
	text-align: center;
}
table.rsTable tr,
.ui-datepicker-calendar > tr{
	border-top: 1px solid var(--color-primary-border);
	cursor: pointer;
	z-index: 2;
}
table.rsTable tbody tr:hover,
table.rsTable tbody td:hover,
.ui-datepicker-calendar tbody tr:hover,
.ui-datepicker-calendar tbody td:hover{
	background-color: rgba(0,0,0,0.02);
}
table.rsTable tfoot tr,
.ui-datepicker-calendar tfoot tr{
	background-color: rgba(0,0,0,0.1);
	border-bottom: 1px solid var(--color-primary-border);
	font-weight: bold;
}
table tbody td{
	vertical-align: top;
}
table td.nowrap,
table.rsTable.nowrap td{
	white-space: nowrap;
}
.txt{
	text-align: left;
}
.txt.center{
	text-align: center;
}
.txt.right{
	text-align: right;
}
.txt.middle{
	vertical-align: middle;
}
.txt.size10{
	font-size: 10px;
	line-height: 12px;
}
.txt.size12{
	font-size: 12px;
	line-height: 14px;
}
.txt.size14{
	font-size: 14px;
	line-height: 16px;
}
.txt.size16{
	font-size: 16px;
}
.txt.size18{
	font-size: 18px;
}
.txt.size20{
	font-size: 20px;
}
.txt.size24{
	font-size: 24px;
}
.txt.size28{
	font-size: 28px;
}
.bold{
	font-weight: bold;
}