/* =========== © 2016 Centroarts.com =========== */

/*--- Загрузчик AJAX ---*/
#loading-layer {
	display: block !important;
	background-color: rgba(0,0,0,0.6);
	z-index: 9999;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	width: 100%; height: 100%; text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
	z-index: 1010!important;
}
#loading-layer:before {
	content: "";
	border-radius: 50%;
	position: absolute;
	left: 50%; top: 50%;
}
#loading-layer:before {
	border: 3px solid #ffffff;
	width: 50px;
	height: 50px;
	margin: -28px 0 0 -28px;
}

#loading-layer:before {
	-webkit-animation: load 1s infinite ease;
	animation: load 1s infinite ease;
}
@-webkit-keyframes load {
	0%, 100%, 100% { -webkit-transform: scale(1,1); }
	50% { -webkit-transform: scale(.6,.6); }
}
@keyframes load {
	0%, 100%, 100% { transform: scale(1,1); }
	50% { transform: scale(.6,.6); }
}

/*--- Portfolio Loader ---*/
#progress-loader-wrapper {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
}
.progress-loader {
	max-width: 400px;
	width: 100%;
	height: 6px;
	position: relative;
	overflow: hidden;
	background-color: #525252;
	margin: 100px auto;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}
.progress-loader::before {
	content: "";
	position: absolute;
	left: -50%;
	height: 6px;
	width: 40%;
	background-color: #ddd;
	-webkit-animation: progress-moving 1s linear infinite;
	-moz-animation: progress-moving 1s linear infinite;
	animation: progress-moving 1s linear infinite;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	z-index: 2;
}
#progress-loader-wrapper::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.4);
	z-index: -1;
}
@keyframes progress-moving {
	0% {
		left: -40%;
	}
	50% {
		left: 20%;
		width: 80%;
	}
	100% {
		left: 100%;
		width: 100%;
	}
}
/*--- Portfolio Loader ---*/

/*--- Цитаты, Спойлеры, Код  ---*/
.scriptcode, .title_quote,
.title_spoiler, .text_spoiler, .quote { padding: 2% 4%; background: #fff; border: 1px solid #dde4ea; }

.title_quote { border-left: 2px solid #e85319; border-bottom: 0; margin-top: 2px; font-weight: bold; }
.quote, blockquote { padding: 1% 4%; border-left: 2px solid #e85319; font-style: italic;}
.title_spoiler { margin-top: 2px; }
.text_spoiler { margin-bottom: 2px; }
.title_spoiler img { vertical-align: middle; margin: -1px 0 0 !important }
.scriptcode { color: #4c6d0f; text-align: left; font-family: "Courier New" }
.title_spoiler { font-weight: normal; }
.text_spoiler { border-top: 0; text-align: justify; }

/* .hide { background-color: #f0f0f0; padding: 5px; color: #4c6d0f; margin: 0 0 1em 0 } */
.hide a { text-decoration: underline; } .hide a:hover { text-decoration: none }

/*---Диалоговые и всплывающие окна jQuery UI---*/
.ui-front { z-index: 1000; }
.ui-widget-overlay {
	background: rgba(10,10,10,.45);
	left: 0; top: 0; right: 0; bottom: 0;
	position: fixed;
	z-index: 1001;
}
.ui-helper-clearfix:after { clear: both; content: "."; display: block; height: 0; visibility: hidden }
.ui-helper-clearfix { display: inline-block }
* html .ui-helper-clearfix { height: 1% }
.ui-helper-clearfix { display: block }
.ui-dialog {
	text-align: left;
    overflow-x: hidden;
    overflow-y: auto;
	padding: 0;
	position: fixed;
	width: 370px;
	max-width: 90%!important;
	border-radius: 10px;
	background-color: #fff;
	background-clip: padding-box;
	outline: none;
}
.ui-dialog-titlebar { padding: 20px 44px 20px 20px; position: relative; }
.ui-dialog-title { font-weight: 500; font-size: 1.5em; }
.ui-dialog-titlebar-close {
	position: absolute;
	right: 10px;
	top: 10px;
	height: 32px;
	width: 32px;
	border: 0 none !important;
	background-color: inherit !important;
	padding: 0px !important;
	z-index: 2;
}
.ui-dialog-titlebar-close .ui-icon {
	display: block;
	margin: 10px auto 0 auto;
	width: 12px; height: 12px;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAG1BMVEUAAAA1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTW7eCkWAAAACHRSTlMA8DiyCsELwNb3saQAAABlSURBVBjTY2AxYoACZQcG10YFCJtJooTBokMIwlHsaAZioBRYAigKJoAAJAghoRIQCiYEoSEiUCmIBFQKLAGTAkvApCASCA6GMoQBGEYjLEV1DopDUbyA4jlUb6ciAiSMgQ0pqAB4linXHtbaoQAAAABJRU5ErkJggg==);
	-webkit-background-size: 12px auto; background-size: 12px auto;
	opacity: .5;
}
.ui-button {
	float: right;
	border: 0 none;
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
	height: 36px;
	border-radius: 18px;
	line-height: 22px;
	outline: none;
	background-color: var(--blue);
	color: #fff;
	border: 0 none;
	padding: 7px 22px;
	text-decoration: none !important;
	-webkit-transition: all ease .1s; transition: all ease .1s;
}
.ui-dialog-titlebar-close:hover .ui-icon { opacity: 1; }
.ui-icon, .ui-button-icon-only { overflow: hidden; text-indent: -9999px; }
.ui-dialog label { color: #575757; }
.ui-dialog-content { padding: 5px 20px 20px; overflow: auto; position: relative; zoom: 1; }
.loginbox.ui-dialog, .loginbox .ui-dialog-content { overflow: visible !important; }
.ui-dialog .ui-dialog-buttonpane { padding: 20px; text-align: center; }
.ui-dialog .ui-resizable-se { bottom: 3px; height: 14px; right: 3px; width: 14px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }
.ui-state-error { background: #fef1ec 50% 50% repeat-x !important; border: 1px solid #cd0a0a; color: #cd0a0a; }
.ui-button { margin: 0 3px; }
.ui-helper-hidden-accessible{display: none;}

#zeelpopup {
    height: auto !important;
}

/* --- Поля форм --- */
select, textarea, input[type="text"], input[type="password"], input[type="file"],
input[type="datetime"], input[type="datetime-local"], input[type="date"],
input[type="month"], input[type="time"], input[type="week"], input[type="number"],
input[type="email"], input[type="url"], input[type="search"], input[type="tel"],
input[type="color"] {
	display: inline-block;
	width: 100%;
	height: 40px;
	line-height: 20px;
	padding: 6px 12px;
	vertical-align: middle;
	border: 1px solid;
	background-color: var(--soft-blue);
	border-color: #cbccce;
	border-radius: 10px;
	-webkit-transition: border-color 0.2s ease;
	transition: border-color 0.2s ease;
}
input.error {
	border-color: var(--red);
}
textarea { margin: 0; overflow: auto; vertical-align: top; resize: vertical; }
select:focus, textarea:focus, input[type="text"]:focus, input[type="password"]:focus,
input[type="file"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus,
input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus,
input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus,
input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus,
input[type="color"]:focus, .uneditable-input:focus,
select:hover, textarea:hover, input[type="text"]:hover, input[type="password"]:hover,
input[type="file"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover,
input[type="date"]:hover, input[type="month"]:hover, input[type="time"]:hover,
input[type="week"]:hover, input[type="number"]:hover, input[type="email"]:hover,
input[type="url"]:hover, input[type="search"]:hover, input[type="tel"]:hover,
input[type="color"]:hover, .uneditable-input:hover {
	border: 1px solid var(--blue);
	outline: none;
	background: #fff;
}
textarea:focus {
	background-color: #fff;
}
input[type="radio"], input[type="checkbox"] { line-height: normal; margin: -2px 6px 0 0; vertical-align: middle; }
input[type="file"], input[type="image"],
input[type="submit"], input[type="reset"],
input[type="button"], input[type="radio"],
input[type="checkbox"] { width: auto; }
input[type="search"] {
	-webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
select[multiple], select[size], textarea { height: auto; }
input::-moz-placeholder, textarea::-moz-placeholder, input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #95989a; padding: 0 10px; }

input:focus { outline: none; }
input[type="file"], input[type="image"] {
	padding: 0;
	border-width: 0;
	background-color: transparent;
	max-width: 100%;
}
.wide, .bb-editor textarea, .ui-dialog textarea, select#category, .timezoneselect, .quick-edit-text { width: 100% !important; }
#searchuser { width: 100% !important; margin-bottom: 10px; }

input[type="button"], button { cursor: pointer; }


::placeholder,
label.formRow .placeholder {
	color: #95989a;
}
label.formRow {
	position: relative;
	display: block;
	width: 100%;
}
label.formRow .placeholder {
	position: absolute;
	top: 20px;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	padding: 0 6px;
	left: 8px;
	display: block;
	white-space: nowrap;
	transition: all, .2s;
	pointer-events: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
label.formRow.active .placeholder {
	top: 0;
	background-color: #fbfbfd;
	left: 18px;
	/* color: var(--blue); */
	letter-spacing: .8px;
	font-size: 13px;
	line-height: 14px;
}
label.formRow input:focus {
}
label.formRow.active input {

}
label.formRow input:focus + .placeholder,
label.formRow select:focus + .placeholder,
label.formRow textarea:focus + .placeholder {
	color: var(--blue);
}

.formRow.active select:hover + .placeholder, .formRow.active textarea:hover + .placeholder, .formRow.active input[type="text"]:hover + .placeholder, .formRow.active input[type="password"]:hover + .placeholder,
.formRow.active input[type="file"]:hover + .placeholder, .formRow.active input[type="datetime"]:hover + .placeholder, .formRow.active input[type="datetime-local"]:hover + .placeholder,
.formRow.active input[type="date"]:hover + .placeholder, .formRow.active input[type="month"]:hover + .placeholder, .formRow.active input[type="time"]:hover + .placeholder,
.formRow.active input[type="week"]:hover + .placeholder, .formRow.active input[type="number"]:hover + .placeholder, .formRow.active input[type="email"]:hover + .placeholder,
.formRow.active input[type="url"]:hover + .placeholder, .formRow.active input[type="search"]:hover + .placeholder, .formRow.active input[type="tel"]:hover + .placeholder,
.formRow.active input[type="color"]:hover + .placeholder {
	color: var(--blue);
}

select {
	position: relative;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.select-arrow {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: url(data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23000000%22%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E) no-repeat;
	background-position: right 15px center;
	user-select: none;
	pointer-events: none;
}

/* --- Настройка кнопок --- */
.btn, .bbcodes, .btn-border {
	border: 0 none;
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
	height: 36px;
	border-radius: 10px;
	line-height: 22px;
	outline: none;
	background-color: var(--blue);
	color: #fff;
	border: 0 none;
	padding: 7px 22px;
	text-decoration: none !important;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
	-webkit-transition: all ease .1s; transition: all ease .1s;
	cursor: pointer;
}
.btn > .icon { fill: #fff; }
.btn-white > .icon { fill: var(--blue); }
.btn-white { background-color: #fff; color: var(--blue); }
.btn-white:hover > .icon { fill: #fff; }
.btn-white:hover { background-color: var(--blue); color: #fff; }
.btn:hover, .bbcodes:hover, .ui-button:hover { background-color: var(--blue-hover); }

.btn-big { height: 46px; padding: 12px 27px; border-radius: 23px; }

.btn-border {
	color: var(--blue);
	border: 2px solid var(--blue);
	line-height: 22px;
	padding: 5px 20px;
	background-color: transparent !important;
	overflow: hidden;
}

.file-box {
	width: 95%;
	max-width: 437px;
	background-color: rgb(0 0 0 / 74%);
	padding: 10px;
	margin-top: 10px;
}

.qq-uploader { position:relative; width: 100%;}

.qq-upload-button {
	display:inline-block;
	cursor:pointer;
}
.qq-upload-button > input {
	display: none !important;
}
.qq-upload-drop-area {
	position:absolute; top:0; left:0; width:100%; height:100%; z-index:2;
	max-width: 437px;
	background:#FF9797; text-align:center; 
}
.qq-upload-drop-area span {
	display:block; position:absolute; top: 50%; width:100%; margin-top:-8px; font-size:16px;
}

.qq-upload-drop-area-active {background:#FF7171;}

.uploadedfile {
	display: inline-block;
	width: 115px;
	height: 160px;
	margin: 10px 5px 5px 5px;
	border:1px solid #B3B3B3;
	text-align: center;
	background:#ffffff;

}

.uploadedfile .uploadimage {
	margin-top: 5px;
	width: 115px;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.uploadedfile .info {
	text-align: left;
	white-space: nowrap;
	margin: 0px 5px 0px 5px;
	overflow: hidden;
}

.progress {
	overflow: hidden;
	margin-top: 10px;
	margin-bottom: 10px;
	background-color: whitesmoke;
	height: 6px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-ms-border-radius: 8px;
	-o-border-radius: 8px;
	border-radius: 8px;
	background: #8b8b8b;
}
.progress .progress-bar {
	float: left;
	width: 0%;
	font-size: 12px;
	line-height: 20px;
	color: white;
	text-align: center;
	background-color: #ffffff;
	-webkit-transition: width 0.6s ease;
	transition: width 0.6s ease;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-ms-border-radius: 8px;
	-o-border-radius: 8px;
	border-radius: 8px;
	height: 8px;
}
.progress-bar span{
	position:absolute;
	width:1px;
	height:1px;
	margin:-1px;
	padding:0;
	overflow:hidden;
	clip:rect(0 0 0 0);
	border:0;
}
.progress-blue {
	background: #FFF;
	border: none;
}