body {
	margin: 0;
	padding: 15px;
	background: transparent;
}
html.app body {
	display: flex;
	flex-direction: column;
}
html.app, html.app body {
	overflow: hidden;
	height: 100%;
	padding: 0;
}
main, div, input, textarea, select, button, form, ul, th, td {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
input:not([type=checkbox]):not([type=radio]):not([type=number]), textarea, button {
	-webkit-appearance: none;
}
input, textarea, select, button {
	-webkit-border-radius: 0;
	border-radius: 0;
}

/*
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);

	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);

	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;


IE komp.:
-flex/column: min-height:1px / flex: 1 0 / max-width:100%
-main: +display:block

FILTER:
https://multicms.net/tools/color-solver/

*/

div.wover {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: #000;
	background-color: rgba(0,0,0,0.4);
	z-index: 2147483647;
	opacity: 0;
}
div.wover.u {
	opacity: 1;
}
div.wover.n {
	position: absolute;
	min-height: 100%;
}
div.wover div.wover {
	position: absolute;
}
.wbox {
	display: none;
	position: relative;
	min-width: 240px;
	max-width: calc(100vw - 40px);
	max-height: calc(100vh - 40px);
	background-color: #FFF;
	text-align: left;
	border: 2px solid #333;
	-moz-box-shadow: 3px 3px 4px rgba(0,0,0,0.3);
	-webkit-box-shadow: 3px 3px 4px rgba(0,0,0,0.3);
	box-shadow: 3px 3px 4px rgba(0,0,0,0.3);
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#555')";
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#555');
	overflow-y: auto;
	overscroll-behavior: none;
}
.wbox>h1 {
	background-color: #E30613;
	margin: 0;
	padding: 8px 40px 8px 12px;
	font-size: 18px;
	cursor: default;
	background-image: none;
	color: #FFF;
	text-align: left;
}
.wbox>div {
	overflow-y: auto;
	overscroll-behavior: contain;
}
.wbox:not(.vid)>div {
	padding: 15px;
}
.wbox>div>h1:first-child, .wbox>div>h2:first-child {
	margin-top: 0;
}
.wbox>div.wclose {
	display: block;
	width: 25px;
	height: 24px;
	padding: 0;
	background: #000 url(/img/cls.png) no-repeat center center;
	position: absolute;
	right: 6px;
	top: 6px;
	z-index: 999999;
	cursor: pointer;
}
.wbox div.c {
	text-align: center;
	margin: 12px 0 0 0;
}
.wbox div.c.i {
	text-align: left;
}
.wbox div.c .btn {
	margin: 15px 3px 0 3px;
	padding: 10px 15px;
	min-width: 100px;
}
.wbox.s {
	max-width: 500px;
}
.wbox.bn {
	max-width: auto;
	overflow-x: hidden;
}
.wbox.bn img.img {
	display: block;
	max-width: calc(100vw - 60px);
	max-height: calc(100vh - 60px);
}
.wbox.if {
	width: calc(100vw - 100px);
	max-width: 1000px;
}
.wbox.if>iframe {
	width: 100%;
	height: calc(100vh - 120px);
	border: 0;
	vertical-align: top;
	overscroll-behavior: none;
}
.wbox.vid {
	width: 100%;
	min-width: 320px;
	max-width: 1200px;
	background: #000;
}

#bprg {
	position: absolute;
	left: 50%;
	top: 50%;
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	text-align: center;
}
#bprg>span {
	display: inline-block;
	margin: 0 0 20px 0;
	font-size: 18px;
	color: #FFF;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	min-width: 300px;
	max-width: 80%;
}
#bprg>div>div {
	display: inline-block;
	width: 8px;
	height: 8px;
	background-color: #FFF;
	margin: 0 4px;
	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	vertical-align: middle;
}
#bprg>div>div.a {
	background-color: #009FE3;
	width: 12px;
	height: 12px;
}
.ldng {
	position: relative;
}
.ldng>*:not(.ldng1) {
	opacity: 0.2;
	pointer-events: none;
}
div.ldng1 {
	position: absolute;
	z-index: 1000;
	left: 50%;
	top: 50%;
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
div.ldng2 {
  position: relative;
  top: -10px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #000;
  color: #000;
  transform-origin: 5px 15px;
  -webkit-animation: ldng 2s infinite linear;
  animation: ldng 2s infinite linear;
}
div.ldng2::before, div.ldng2::after {
  content: "";
  display: inline-block;
  position: absolute;
}
div.ldng2::before {
  left: -8.66254px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #000;
  color: #000;
}
div.ldng2::after {
  left: 8.66254px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #000;
  color: #000;
}
@-webkit-keyframes ldng {
  0% {transform: rotateZ(0deg) translate3d(0,0,0)}
  100% {transform: rotateZ(720deg) translate3d(0,0,0)}
}
@keyframes ldng {
  0% {transform: rotateZ(0deg) translate3d(0,0,0)}
  100% {transform: rotateZ(720deg) translate3d(0,0,0)}
}

#hdr {
	padding: 20px 0;
	border-bottom: 1px solid #A4AFE5;
	margin: 0 0 30px 0;
}
#hdr>img {
	width: 180px;
}
form.w {
	max-width: 600px;
	margin: 0 auto;
}

nav {
	display: flex;
	background: #0d3152;
	padding: 6px;
	font-size: 15px;
}
nav>div:first-child {
	width: 28px;
	height: 28px;
	background: url(/img/lg.png) no-repeat 0/contain;
}

nav>b, #aclient {
	display: inline-block;
	background: #ffffff18;
	border-radius: 5px;
	margin: 0 2px;
	color: #FFF;
	padding: 5px 10px;
	cursor: pointer;
}
#aclient {
	min-width: 150px;
}
nav>b:hover, #aclient:hover {
	background: #000;
}

nav>form {
	flex: 1;
	margin: 0 5px;
	background: #FFF;
	border-radius: 5px;
}
nav>form>input[type=search] {
	width: 100%;
	font-family: inherit;
	font-size: inherit;
	background: transparent;
	border: 0;
	outline: 0;
	padding: 5px 8px;
}

aside {
	display: flex;
	background: #f7fafc;
	border-bottom: 1px solid #dfe7ef;
	padding: 5px;
	min-height: 30px;
}
aside>div {
	display: inline-block;
	background: #FFF;
	border: 1px solid #dfe7ef;
	border-radius: 5px;
	padding: 5px 8px;
	cursor: pointer;
}
aside>div+div {
	margin-left: 4px;
}
aside>div:hover {
	background: #DDD;
}
aside>div>i:not(:empty) {
	display: inline-block;
	vertical-align: top;
	background: #e84d4d;
	color: #FFF;
	border-radius: 50%;
	width: 16px;
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	line-height: 100%;
	padding: 2px 0;
	margin: 4px 0 0 4px;
}

main:not(:empty) {
	flex: 1;
	position: relative;
	display: block;
	min-width: 320px;
	text-align: left;
}

div.nsp, #pickDate {
	position: absolute;
	display: none;
	left: 0;
	margin: 0 !important;
	border: 1px solid #B6B6B6;
	background-color: #FFF;
	-webkit-box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.4);
	-moz-box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.4);
	box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.4);
	text-align: left;
	z-index: 999999;
	overflow-y: auto;
	overflow-x: hidden;
	max-height: 300px;
}
div.nsp div {
	margin: 2px 0;
	padding: 10px 15px;
}
div.nsp>div, div.nsp>a {
	display: block;
	padding: 6px 6px;
	text-decoration: none;
	color: #000;
	cursor: pointer;
}
div.nsp>div:hover, div.nsp>a:hover {
	background-color: #EEE;
}
div.nsp>div.a, div.nsp>a.a {
	background-color: #DDD;
}
div.nsp>div[data-s] {
	display: flex;
	justify-content: space-between;
}
div.nsp>div[data-s]>span:last-child {
	margin: 0 0 0 15px;
	color: #999;
}
div.nsp.sa {
	width: auto;
	min-width: 280px;
}
div.nsp a>b, div.nsp a>i, div.nsp a>u {
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
	color: #999;
}
div.nsp a>b {
	display: block;
}
div.nsp a>u {
	float: right;
}

div.nsp>span.c {
	display: block;
	width: 12px;
	height: 12px;
	position: absolute;
	right: 5px;
	top: 5px;
	background-image: url(/img/nspc.png);
	background-repeat: no-repeat;
	cursor: pointer;
}
div.nsp>span.x {
	display: block;
	background-color: #D8D8D8;
	padding: 4px;
}
div.nsp>span.x span {
	text-decoration: underline;
	cursor: pointer;
}

div.nspp{position:absolute;right:0;top:0;bottom:0;width:18px;z-index:5000;cursor:default;padding:2px 0 0 0}
div.nspp>div{width:0;height:0;border-style:solid;border-width:6px 3px 0 3px;border-color:#000 transparent transparent transparent;margin:65% 0 0 5px;
	-ms-transform: translate(0,-50%);
	-o-transform: translate(0,-50%);
	-webkit-transform: translate(0,-50%);
	-moz-transform: translate(0,-50%);
	transform: translate(0,-50%);
}

#pickDate {
	overflow: hidden;
	left: auto;
}
#pickDate table {
	width: 100%;
	border-top: 1px solid #666;
	border-spacing: 0;
}
#pickDate table th, #pickDate table td {
	min-width: 33px;
	text-align: center;
	font-size: inherit;
	line-height: 100%;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
	padding: 7px 0;
	cursor: pointer;
}
#pickDate table th {
	font-style: normal;
	background: #DDD;
	cursor: default;
}
#pickDate table th:first-child, #pickDate table td:first-child {
	border-left: 0;
}
#pickDate table td.p, #pickDate table td.n {
	background: #EEE;
}
#pickDate>div {
	text-align: center;
}
#pickDate table td.t {
	position: relative;
}
#pickDate table td.t::after {
	display: block;
	content: "";
	position: absolute;
	border: 2px solid #C00;
	top: -1px;
	bottom: -1px;
	left: -1px;
	right: -1px;
	pointer-events: none;
}
#pickDate table td.a {
	background: #000 !important;
	color: #FFF;
}
#pickDate table td:hover {
	background: #CCC;
}
#pickDate table th.m:hover {
	background: #EEE;
	cursor: pointer;
}
#pickDate>div:first-child select, #pickDate>div input[type="number"], #pickDate>div:last-child>span, #pickDate div.cl>div {
	display: inline-block;
	width:auto;height:auto; /*kvuli jinym*/
	font-family: inherit;
	font-size: inherit;
	border: 0;
	padding: 2px;
	outline: 0;
}
#pickDate>div input[type="number"] {
	width: 56px;
	text-align: center;
}
#pickDate>div input[type="number"].n2 {
	width: 92px;
	text-align: left;
}
#pickDate>div:first-child>div:first-child, #pickDate>div:first-child>div:last-child {
	float: left;
	padding: 2px 4px;
	cursor: pointer;
}
#pickDate>div:first-child>div:last-child {
	float: right;
}
#pickDate>div:first-child>div:first-child::after, #pickDate>div:first-child>div:last-child::after {
	display: inline-block;
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 4px 6px 4px 0;
	border-color: transparent #000000 transparent transparent;
}
#pickDate>div:first-child>div:last-child::after {
	border-width: 4px 0 4px 6px;
	border-color: transparent transparent transparent #000000;
}
#pickDate>div:first-child>div:first-child:hover:after {
	border-color: transparent #999 transparent transparent;
}
#pickDate>div:first-child>div:last-child:hover:after {
	border-color: transparent transparent transparent #999;
}
#pickDate>div:last-child {
	border-top: 1px solid #666;
	padding: 3px 0;
}
#pickDate>div:last-child>span {
	float: left;
	padding: 0;
	margin: 1px 0 0 4px;
}
#pickDate>div:last-child>input {
	width: 38px;
	text-align: left;
}
#pickDate>div:last-child>input:last-child {
	margin: 0 0 0 20px;
}
#pickDate div.cl {
	min-width: 190px;
}
#pickDate div.cl>div {
	display: block;
}
#pickDate div.cl>div:first-child {
	background: #DDD;
	border-top: 1px solid #666;
	border-bottom: 1px solid #666;
}
#pickDate div.cl>div:nth-child(3) {
	background: #DDD;
}
#pickDate div.cl>div:last-child {
	padding: 4px;
}

.wnd {
	display: flex;
	flex-direction: column;
	background: #fff;
	-moz-box-shadow: 0 14px 36px rgba(12,35,53,0.3);
	-webkit-box-shadow: 0 14px 36px rgba(12,35,53,0.3);
	box-shadow: 0 14px 36px rgba(12,35,53,0.3);
	border: 1px solid #dfe7ef;
	border-radius: 16px;
	overflow: hidden;
}
.wnd:not(.wbox) {
	width: calc(100% - 40px);
	max-width: 860px;
	max-height: calc(100vh - 120px);
	position: absolute;
	right: 20px;
	top: 105px;
	z-index: 99999;
	background: #f7fafc;
}
div.wover .wnd {
	width: calc(100% - 40px);
	max-width: 650px;
	color: #000;
}
div.wnd_h {
	background: linear-gradient(135deg,#0d3152,#19527f);
	color: #FFF;
	padding: 15px 15px 9px 15px;
}
div.wnd_h2 {
	padding: 15px 15px 9px 15px;
	border-bottom: 1px solid #dfe7ef;
	font-size: 14px;
}
div.wnd_h h1, div.wnd_h2 h1 {
	font-size: 22px;
	color: inherit;
	margin: 0 0 5px 0;
}
div.wnd_c:not(.btn) {
	position: absolute;
	right: 15px;
	top: 15px;
	width: 28px;
	height: 28px;
	border-radius: 5px;
	background: rgba(0,0,0,0.2);
	color: #FFF;
	line-height: 100%;
	font-size: 28px;
	cursor: pointer;
	text-align: center;
}
div.wnd_c:not(.btn):hover {
	background: rgba(0,0,0,0.4);
}
div.wnd_c:not(.btn)::after {
	display: block;
	content: "×";
}
div.wnd_hn {
	display: flex;
	margin: 10px -5px 0 -5px;
}
div.wnd_hn>div {
	flex: 0 0 calc(33.33% - 10px);
	margin: 5px;
	background: #ffffff12;
  border: 1px solid #ffffff22;
  border-radius: 9px;
  padding: 7px 8px;
}
div.wnd_hn>div>div {
	font-size: 10px;
	margin: 0 0 4px 0;
}
div.wnd_hn a {
	text-decoration: none;
	color: inherit;
}
div.wnd_b {
	padding: 10px 15px;
	background: #FFF;
}
div.wnd_b .btn {
	padding: 6px 12px;
	font-size: 15px;
	font-weight: 700;
}
div.wnd_b .btn+.btn {
	margin-left: 5px;
}
div.wnd_tb {
	display: flex;
	flex-wrap: wrap;
	background: #FFF;
	border-top: 1px solid #dfe7ef;
	border-bottom: 1px solid #dfe7ef;
}
div.wnd_tb>div {
	flex: 0 0 25%;
	text-align: center;
	padding: 5px;
	font-size: 12px;
	border-bottom: 3px solid transparent;
	cursor: pointer;
}
div.wnd_tb>div.a {
	border-color: #f4c84d;
	font-weight: 600;
}
div.wnd_tb+div {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
div.wnd_tb+div>div, div.wnd_tb+div>form {
	padding: 15px;
	height: 100%;
	overflow-y: auto;
}
div.wnd_d {
	padding: 15px;
}
div.wnd_d {
	flex: 1;
}
form[data-ajx="nab"] div.nsp {
	max-height: 136px;
}


div.wnd_d input:disabled+b {
	position: absolute;
	right: 4px;
	top: 5px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #CCC;
	color: #FFF;
	line-height: 100%;
	font-size: 19px;
	cursor: pointer;
	text-align: center;
}
div.wnd_d input:disabled+b:hover {
	background: #333;
}
div.wnd_d input:disabled+b::after {
	display: block;
	content: "×";
}

#crm {
	display: flex;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
#crm>div:first-child {
	flex: 0 0 190px;
	background: #09243d;
	color: #FFF;
	padding: 15px 10px;
}
#crm>div:last-child {
	position: relative;
	flex: 1;
	padding: 15px;
	background: #eef3f7;
	overflow-y: auto;
}
#crm>div:last-child>iframe {
	position: absolute;
	border: 0;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

div.mm>button {
	display: block;
	width: 100%;
	color: inherit;
	padding: 12px 16px;
	background: transparent;
	border: 0;
	border-radius: 8px;
	margin: 0 0 8px 0;
	text-align: left;
	line-height: 100%;
	cursor: pointer;
}
div.mm>button:hover, div.mm>button.a {
	background: #ffffff18;
}

div.st {
	display: inline-block;
	background: #EEE;
	border: 1px solid rgb(0 0 0 / 0.25);
  background-clip: padding-box;
	border-radius: 4px;
	padding: 2px 6px;
	font-size: 13px;
	font-weight: 500;
}
div.st.st_o {
	background: #e8f6ee;
	color: #247347;
}
div.st.st_o::after {
	display: block;
	content: "Odeslané";
}

.rbxs {
	display: flex;
	flex-wrap: wrap;
	margin: -6px;
}
.rbxs.s {
	display: block;
	margin: 0;
}
.rbxs>div:not(.b) {
	flex: 0 0 calc(100% - 14px);
	background: #FFF;
	border: 1px solid #CCC;
	border-radius: 6px;
	padding: 12px;
	margin: 6px;
}
.rbxs.s>div:not(.b) {
	margin: 6px 0 0 0;
}
.rbxs.s>div:not(.b):first-child {
	margin-top: 0;
}
.rbxs>div.in {
	flex: 0 0 calc(50% - 14px);
	font-weight: 600;
	color: #000;
}
.rbxs>div.in>div {
	font-size: 75%;
	color: #666;
	font-weight: 400;
	margin: 0 0 6px 0;
}
.rbxs>div.b {
	padding: 6px;
}

.rbxs>div.z>div:first-child {
	display: flex;
	justify-content: space-between;
}
.rbxs>div.z>div:first-child>div {
	font-weight: 600;
	font-size: 110%;
	color: #000;
}
.rbxs>div.z>div:nth-child(2) {
	margin: 8px 0;
	color: #666;
}

.rbxs>div.k {
	position: relative;
	margin-left: 40px !important;
	flex: 0 0 calc(100% - 48px);
}
.rbxs>div.k>div:first-child {
	font-weight: 600;
	font-size: 110%;
	color: #000;
}
.rbxs>div.k>div:nth-child(2) {
	margin: 8px 0;
	color: #666;
}
.rbxs>div.k::before {
	display: flex;
	color: #000;
	position: absolute;
	left: -40px;
	top: 6px;
	background: #EEE;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	line-height: 100%;
}
.rbxs>div.k.e::before {
	content: "✉";
}

.rbxs>div.x>div:first-child {
	font-weight: 600;
	font-size: 110%;
}
.rbxs>div.x>div {
	color: #000;
}
.rbxs>div.x textarea {
	border-color: #DDD;
	margin: 6px 0 0 0;
}

div.bene {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 6px 0 0 0;
}
div.bene>div {
	flex: 0 0 calc(50% - 6px);
	margin: 3px 0;
}

div.rc {
	cursor: pointer;
}
div.rc>div.h {
	float: right;
}
div.rc>div:last-child {
	font-size: 11px;
}

div.lnk {
	display: inline-block;
	color: #2e7fbc;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}
div.lnk::after {
	display: inline-block;
	content: "⏵"; /*→*/
}

div.tblhd {
	font-size: 25px;
	font-weight: 600;
	color: #000;
	margin: 0 0 10px 0;
}
div.tblhd>div {
	font-size: 15px;
	float: right;
}
div.tblhd>div .btn {
	font-weight: 700;
}

div.flt input, div.flt select,
form.flt input:not(.btn), form.flt select,
table.spg select
{
	background: #FFF;
	padding: 3px;
	border: 1px solid #999;
	margin: 0 2px 0 0;
	vertical-align: middle;
}
form.flt {
	margin: 5px 0;
}
form.flt>div {
	display: inline-block;
	white-space: nowrap;
	line-height: 120%;
	margin: 0 0 5px 0;
}
form.flt>div>input:not(.btn), form.flt>div>select, form.flt>div>div.xmsel {
	margin-top: -1px;
}

div.xmsel>div>div, div.xm_dd>div>div,
div.nsp a, div.nsp>span
{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
div.xmsel, div.xm_dd {
	position: relative;
	border: 1px solid #999;
	display: inline-block;
	vertical-align: middle;
	cursor: default;
	padding: 3px 18px 3px 4px; /** původně padding-left 6px **/
	background: #FFF url(img/xmsel.png) no-repeat calc(100% - 5px) center;
	min-width: 50px;
}
div.xmsel>div, div.xm_dd>div {
	display: none;
	min-width: 100%;
	position: absolute;
	z-index: 10000;
	left: -1px;
	top: 100%;
	background-color: #FFF;
	border: 1px solid #BBB;
	padding: 2px 0;
	max-height: 300px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.6);
	-moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.6);
	box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.6);
}
div.xmsel>div>div {
	display: block;
	padding: 2px 2px 2px 20px;
	white-space: nowrap;
	background: url(img/xmsel0.png) no-repeat 2px center;
	cursor: default;
	color: #000;
}
div.xmsel>div>div.y {
	background-image: url(img/xmsel1.png);
}
div.xmsel>div>div.n {
	background-image: url(img/xmsel2.png);
}
div.xmsel>div>div:hover, div.xm_dd>div>div:hover {
	background-color: #EEE;
}
div.xmsel>div>span, div.xm_dd>div>span {
	display: block;
	padding: 3px;
}
div.xmsel>div>span:not(:first-child), div.xm_dd>div>span {
	border-top: 1px solid #BBB;
	margin-top: 2px;
}
div.xmsel>div>span>span {
	display: inline-block;
	width: 50%;
	border: 1px solid #BBB;
	-webkit-box-sizing:  border-box;
	-moz-box-sizing:  border-box;
	box-sizing:  border-box;
	padding: 1px;
	text-align: center;
	cursor: pointer;
}
div.xmsel>div>span>span:first-child {
	border-right: 0;
}
div.xmsel>div>span>span.x { 
	background-color: #EEE;
	cursor: default;
}
div.xmsel>div>div>span:last-child:not(.highlight) {
	float: right;
	margin: 0 0 0 5px;
	color: #999;
}
div.xmsel i.x {
	position: absolute;
	right: 16px;
	top: 3.6px;
	margin: 0;
	background-color: #FFF;
}
div.xmsel:not(.nv):hover i.x {
	display: block;
	opacity: 0.3;
}
div.xmsel:hover i.x:hover {
	opacity: 1;
}

div.xm_dd>div>div>input {
	margin-left: 6px;
}
div.xm_dd>div>div>label {
	display: inline-block;
	width: calc(100% - 22px);
	padding: 0 0 0 6px;
	margin-right: 0 !important;
}
div.xm_dd>span {
	overflow: hidden;
	display: block;
	white-space: nowrap;
}
div[data-dropdown] {
	display: none;
}
div[data-dropdown]>span:first-child {
	display: block;
	padding: 3px;
}


.fld div.rmv {
	display: inline-block;
	vertical-align: middle;
}
.fld div.rmv::after {
 display: block;
 content: "x";
 font-weight: bold;
 font-size: 16px;
 line-height: 100%;
 color: #C00;
 cursor: pointer;
 margin: -5px 0 0 8px;
}
form.flt .btn {
	margin: 0 8px 5px 8px;
	padding: 4px 10px;
}

table.spg {
	width: 100%;
	color: #000;
	margin: 15px 0;
}
table.spg td {
	width: 33.33%;
}
table.spg td:last-child {
	text-align: right;
}
table.spg td:nth-child(2) {
	text-align: center;
}
table.spg b, table.spg a {
	display: inline-block;
	margin: 5px 0 5px 3px;
	background-color: #E4E2E2;
	color: #7F7F7F;
	text-decoration: none;
	font-weight: bold;
	font-size: inherit;
	line-height: 100%;
	text-align: center;
	padding: 8px 0;
	width: 28px;
}
table.spg b, table.spg a:hover {
	background-color: #666;
	color: #FFF;
}
table.spg b {
	cursor: default;
}

table.tbl u {
	cursor: pointer;
}


div.gal {
	margin: 50px -1.5%;
}
div.gal a {
	position: relative;
	display: inline-block;
	width: 22%;
	margin: 0 1.5% 50px 1.5%;
	text-decoration: none;
	outline: none;
}
div.gal a img {
	border: 0;
	width: 100%;
	vertical-align: top;
}
div.gal a>span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 8px;
	background: rgba(0,0,0,0.5);
	font-size: 11px;
	color: #FFF;
	text-align: center;
}

body.drg_mv, body.drg_mv * {
	cursor: n-resize !important;
	cursor: grabbing !important;
}
div.uploader {
    border: 1px solid #666;
    padding: 4px 6px;
    margin: 10px 0;
}
div.uploader>div:first-child {
    cursor: pointer;
}
div.uploader.drg>div:first-child {
    background: #EEE;
}
div.uploader table {
    width: 100%;
    border: 0;
    border-spacing: 0;
    margin: 0 0 6px 0;
}
div.uploader table:empty {
	display: none;
}
div.uploader table td {
    text-align: left;
    cursor: default;
    user-select: none;
}
div.uploader table tr[data-i] td {
	border-bottom: 3px solid #FFF;
}
body:not(.drg_mv) div.uploader table tr:hover td {
    background: #EEE;
}
div.uploader table tr.itm_drg td {
    background: #FEE;
}
div.uploader table td:last-child {
    width: 18px;
    text-align: right;
}
div.uploader table td:nth-last-child(2) {
    width: 50px;
    text-align: right;
}
div.uploader table td.th {
	width: 32px;
	padding: 0 8px 0 0;
}
div.uploader table td.th>div {
	width: 32px;
	height: 32px;
	background-size: cover;
	background-position: center center;
}
div.uploader div.rmv::after {
    display: inline-block;
    vertical-align: middle;
    content: "x";
    font-weight: bold;
    font-size: 18px;
    line-height: 100%;
    color: #C00;
    cursor: pointer;
		margin: -3px 0 0 0;
}
div.uploader div.b {
	cursor: pointer;
	background: url(/img/i_att.svg) no-repeat 0 center;
	background-size: 16px 16px;
	padding: 3px 0 3px 24px;
}
div.uploader.drg div.b {
	background-color: #EEE;
}

div.ytvideo {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 25px;
	height: 0;
}
div.ytvideo iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
form {
	margin: 0;
}
textarea {
	resize: none;
}
select {
	background-color: #FFF;
}
.fld, .fld100,
div.fi input, div.fi select, div.fi textarea
{
	font-family: inherit;
	font-size: inherit;
	border: 1px solid #333;
	border-radius: 3px;
	color: #000;
	background-color: #FFF;
	padding: 5px;
}
.fld100,
div.fi input, div.fi select, div.fi textarea
{
	width: 100%;	
}
.fld.q:not(:disabled), .fld100.q:not(:disabled), input[data-required]:not(:disabled), textarea[data-required]:not(:disabled) {
	background: #FFF url(/img/req.png) no-repeat right 2px top 2px;
}
.btn {
	display: inline-block;
	border: 0;
	border-radius: 5px;
	background: #0d3152;
	color: #FFF;
	font-family: inherit;
	font-size: inherit;
	font-weight: 400;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
	user-select: none;
	padding: 9px 16px;
}
.btn:hover {
	background: #000;
}
.btn:disabled {
	background: #666 !important;
	color: #CCC !important;
	cursor: not-allowed;
}
div.btns.f {
	display: flex;
	justify-content: space-between;
}

div.fi {
	margin: 0 0 12px 0;
}
div.fi:last-child {
	margin-bottom: 0;
}
div.fi>label {
	display: block;
	margin: 0 0 4px 0;
}
div.fi input[data-pick-date] {
	width:calc(100% - 21px) !important;
}
div.fi input[data-pick-date]+img {
	margin: 0 0 -4px 5px;
	cursor: pointer;
}
div.fi #pickDate {
	right: 0 !important;
}


.uootblm, .uootbl {
	width: 100%; border: 0;
}
u.refr {
	display: inline-block;
	width: 24px;
	height: 40px;
	margin-left: 10px;
	background:url(/img/refr.png) no-repeat center center;
	cursor: pointer;
}

body:not(#foo) input[type=checkbox] {
	display:none;
}
body:not(#foo) input[type=checkbox]+label {
	display: inline-block;
	padding-left: 25px;
	min-height: 16px;
	background: url(/img/chk0.png) no-repeat 2px center;
} 
body:not(#foo) input[type=checkbox]:checked+label{
	background-image: url(/img/chk1.png);
}

input[type="text"]::-ms-clear, input[type="search"]::-ms-clear, input:not([type])::-ms-clear {
	display: none;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration
{
	-webkit-appearance: none;
	-moz-appearance: textfield;
	display: none;
}
input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button { 
	-webkit-appearance: none; 
	margin: 0; 
}
input[type="number"] {
	-moz-appearance: textfield;
}

div.alrt {
	margin: 10px 0;
	padding: 8px;
	background-color: #FFCCCC;
	border: 3px solid #C00;
}
div.ov {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

div.pg {
	clear: both;
	padding: 2px 0;
	margin: 10px 0;
}
div.pg, div.pg td, div.pg select {
	font-family: inherit;
	font-size: inherit;
	vertical-align: middle;
}
div.pg b, div.pg a {
	display: inline-block;
	margin: 5px 0 5px 3px;
	background-color: #E4E2E2;
	color: #7F7F7F;
	text-decoration: none;
	font-weight: bold;
	font-size: inherit;
	line-height: 100%;
	text-align: center;
	padding: 8px 0;
	width: 28px;
}
div.pg b, div.pg a:hover {
	background-color: #666;
	color: #FFF;
}
div.pg b {
	cursor: default;
}

#s_lgn {
	margin: 60px 0;
}
table.n {
	width: 100%;
	border: 0;
}
table.n.t td, table.n td.t {
	vertical-align: top;
}
table.n.m {
	max-width: 400px;
}
.break, .clear {
	clear: both;
	height: 1px;
	font-size: 1px;
}
* html .break {
	display:none;
}
#preloader {
	display:none;
}


@media only screen and (max-width:980px) {
 div.gal a {
	width: 30.3%;
	margin: 0 1.5% 40px 1.5%;
 }
}
@media only screen and (max-width:760px) {
 div.gal a {
	width: 47%;
	margin: 0 1.5% 40px 1.5%;
 }
}
@media only screen and (max-width:480px) {
 div.gal {
	margin-left: 0;
	margin-right: 0;
 }
 div.gal a {
	width: 100%;
	margin: 0 0 30px 0;
 }
}
@media only screen and (max-width:440px) {
 #musr {
	width: auto;
	left: 0;
 }
}
@media only screen and (max-width:400px) {

}