@font-face {
  font-family: 'Conv_segoeuil';
  src: url('fonts/segoeuil.eot');
  src: local('O'), url('fonts/segoeuil.woff') format('woff'), url('fonts/segoeuil.ttf') format('truetype'), url('fonts/segoeuil.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Conv_segoeuisl';
  src: url('fonts/segoeuisl.eot');
  src: local('O'), url('fonts/segoeuisl.woff') format('woff'), url('fonts/segoeuisl.ttf') format('truetype'), url('fonts/segoeuisl.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FontAwesome';
  src: url('fonts/fontawesome-webfont.eot?v=4.4.0');
  src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.4.0') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff2?v=4.4.0') format('woff2'), url('fonts/fontawesome-webfont.woff?v=4.4.0') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.4.0') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.4.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ArchiveRegular';
  src: url('fonts/ArchiveRegular.eot');
  src: local('O'), url('fonts/ArchiveRegular.woff') format('woff'), url('fonts/ArchiveRegular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

button, textarea, input {
	color: inherit;
	font-size: inherit;
	font-family: inherit;
	font-weight: inherit;
	cursor: pointer;
}

.hidden {
	display: none;
}

.f-sl {
	font-family: 'Conv_segoeuisl';
}
.f-slb {
	font-family: 'Conv_segoeuisl';
	font-weight: bold;
}

.f-bold {
	font-weight: bold;
}
.f-8 {
	font-size: 8px;
}
.f-9 {
	font-size: 9px;
}
.f-10 {
	font-size: 10px;
}
.f-11 {
	font-size: 11px;
}
.f-12 {
	font-size: 12px;
}
.f-13 {
	font-size: 13px;
}
.f-14 {
	font-size: 14px;
}
.f-16 {
	font-size: 16px;
}
.f-18 {
	font-size: 18px;
}
.f-24 {
	font-size: 24px;
}
.f-28 {
	font-size: 28px;
}
.f-32 {
	font-size: 32px;
}
.f-36 {
	font-size: 36px;
}
.f-40 {
	font-size: 40px;
}
.f-60 {
	font-size: 60px;
}
.f-white {
	color: #ffffff;
}
.f-black {
	color: #000000;
}
.f-dgrey {
	color: #323232;
}
.f-lgrey {
	color: #999999;
}
.f-center {
	text-align: center;
}
.f-crossed {
	text-decoration: line-through;
}

a:hover, a:focus, a:active {
	text-decoration: none;
	outline: none;
	color: inherit;
}
input:focus, button:focus, select:focus {
	outline: none!important;
}

.complex-block.has-controls > .complex-controls {
    position: absolute;
    top: 0px;
	left: 0px;
    width: 100%;
    text-align: center;
	cursor: pointer;
}
body.editMode .complex-block.has-controls {
	position: relative;
	padding-top: 30px;
	padding-bottom: 30px;
}
.complex-block.has-controls > .complex-controls.add-after {
    top: inherit;
	bottom: 0px;
}
.complex-block.has-controls > .complex-controls > .control-add {
	position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
	height: 100%;
	min-height: 15px;
}
.complex-block.has-controls > .complex-controls > .control-add:before {
	content: 'Добавить';
}
.complex-block.has-controls > .complex-controls > input[type=file], 
.complex-block.has-controls > .complex-controls > .el > input[type=file] {
	opacity: 0;
    width: 100%;
}
.complex-item, .complex-item.has-controls {
	position: relative;
}
.complex-item.has-controls > .item-controls {
	position: absolute;
	right: 6px;
	top: 6px;
	z-index: 1;
    text-align: left;
    height: 15px;
    font-size: 10px;
	display: none;
}
.complex-item.has-controls > .item-controls > div {
	cursor: pointer;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.complex-item.has-controls > .item-controls > div.btn-delete {
	background-color: white;
	background-image: url(/XAOC/images/delete.png);
}

body.editMode .complex-block.has-controls .complex-item.has-controls > .item-controls {
	display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.complex-block.has-controls .complex-close {
	color: white;
	font-size: 12px;
	cursor: pointer;
    padding: 6px;
    width: 100%;
    text-align: center;
}
.complex-block > .btn-lastitem:hover {
	opacity: 0.5;
	cursor: pointer;
}

.el > input, .el > label {
	cursor: pointer;
}

.el, .el > input, .el > textarea, .el > select {
	width: 100%;
}

.flex {
	display: flex;
}
.flex > * {
	flex: auto;
}

div[type='img+'], div[type='imgbg+'], div[type='imgbgc+'] {
	border: 2px lightgreen solid;
}
.el > input[type='text+'], .el > select {
    background-color: inherit;
}
.el > input[type='date+'], .el > input[type='datetime+'] {
	font-size: 0px;
	border-bottom: none;
	background: transparent;
}
.tmplink {
    position: absolute;
    top: -6px;
    right: 0px;
    background: lightgreen;
    color: white;
    border-radius: 5px;
    padding: 2px;
}

.ui-datepicker-trigger {
    position: absolute;
    right: 0px;
    top: 0px;
}

body.editMode .editLogBtn {
	cursor: pointer;
	position: absolute;
    width: 15px;
    height: 15px;
	opacity: 0.3;
    background-image: url(/XAOC/images/log.png);
    background-color: blue;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.i-cover {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.i-contain {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.h {
	cursor: pointer;
}
.h:hover {
	opacity: 0.5;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
	text-align: center;
}

body.loading, body.loading .h {
	cursor: wait!important;
}