/* --- Информация об ошибках --- */
.berrors {
	background: #ffe6dd;
	border: 1px solid #f0c4b5;
	color: #553c33;
	padding: 20px 25px;
	margin: 20px 0px;
	border-radius: 2px;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 20px;
}
.berrors a {
	color: #514343 !important;
}
.berrors__descr {
	margin-top: 10px;
}

/* Формы на UL */
ul.ui-form { list-style: none; padding: 0; margin: 0; }
	ul.ui-form > li { margin-bottom: 20px; }
	ul.ui-form > li:last-child { margin-bottom: 0; }
	.form-group { margin-bottom: 20px; }
	.form-group > label { display: inline-block; margin-bottom: .4em; }
	.imp:after { content: "*"; margin: 0 0 0 10px; color: #e85319; }

	@media only screen and (min-width: 601px) {
		.form-group.combo:after { clear: both; display: table; content: ""; }
		.form-group.combo > .combo_field { width: 50%; float: left;
			-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
		}
		.form-group.combo > .combo_field:last-child { padding-left: 10px; }
		.form-group.combo > .combo_field:first-child { padding-right: 10px; }
	}
	.form_submit { margin-top: 20px; }
	.form-sep { border-top: 1px solid #efefef; }

@media (max-width: 500px) {
    .form-group table {
		table-layout: fixed;
    }
    .form-group select {
    	width: 100% !important;
    }
    .qq-upload-button {
    	padding: 8px 15px;
    	text-align: center;
    }
    #category {
    	left: 0;
    }
}

/* Search */
.search {
	font-size: 13px !important;
}

.search table, .search tr, .search td {
	vertical-align: top !important;
}

.search legend {
	font-size: 14px;
	font-weight: bold;
}
.search legend, .search__title {
	padding-bottom: 10px !important;
    display: block;
}

.search label {
	display: inline-block;
    margin-right: 10px;
	margin-bottom: 10px;
}

.search input[type="text"], select:not([multiple]) {
    height: 32px !important;
    padding: 0px 5px !important;
    margin-bottom: 5px !important;
}

.search select[multiple] {
    height: 400px;
}

/* Edit Icon */
.edit-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url(/templates/TPL/images/edit.png);
    background-color: #fff;
    border-radius: 100%;
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    transition: opacity 0.3s ease-in;
}
.edit-icon:hover {
    opacity: 1;
}
.article__edit {
	position: absolute;
    left: 7px;
    top: 7px;
    z-index: 1;
}

/* Reputtion History */
.reputation-history {
    color: #a4a6aa;
}
.reputation-history__head {
    border-bottom: 1px solid #343434;
    margin: 0px 0px 15px 0px;
    padding: 0px 0px 15px 0px;
}
.reputation-history__name {

}
.reputation-history__count {
    color: #fff;
}
.reputation-history__items {

}
.reputation-history__item {

}
.reputation-history__item a {
    color: #488bfa;
}
.reputation-history__item-author {
    color: #fff !important;
    font-weight: 300;
}
.reputation-history__item-top {
    display: block;
}
.reputation-history__item-deleted {
    color: red;
}
.reputation-history__item-text {
    clear: both;
    margin-top: 10px;
}

.reputation-history .pagination {
    margin: 0px !important;
    padding: 0px !important;
}
.reputation-history .pagination li {
    display: inline-block;
    margin-right: 5px;
}
.reputation-history .pagination a {
    display: inline-block;
    padding: 0 5px;
    border: 2px solid #54565a;
    line-height: 25px;
    min-width: 25px;
    text-align: center;
    vertical-align: middle;
    margin: 0;
    border-radius: 7px;
    color: #fff;
}
.reputation-history .pagination a:hover {
    background: #5c9ffa;
    border: 2px solid #5c9ffa;
}
.reputation-history .pagination span {
    background: #5c9ffa;
    font-weight: 700;
    border: 2px solid #5c9ffa !important;
    display: inline-block;
    padding: 0 5px;
    border: 2px solid #54565a;
    line-height: 25px;
    min-width: 25px;
    text-align: center;
    vertical-align: middle;
    margin: 0;
    border-radius: 7px;
    color: #fff;
}

/* --- Статистика --- */
.stats_head > ul {
	list-style: none;
	padding: 0; margin: 0;
	font-size: 1.25em;
}
	.stats_head > ul > li { margin-top: 15px; padding-left: 30px; }
	.stats_head > ul > li:before {
		content: "";
		float: left;
		margin: 2px 0 0 -30px;
		width: 16px; height: 16px;
		border-radius: 50%;
		background-color:  #3394e6;
	}
	.stats_head > ul > li > b {
		display: block;
		font-size: .8em;
		opacity: .5;
		font-weight: normal;
	}
	.stats_head > ul > li.stats_d:before { background-color: #f6a71a; }
	.stats_head > ul > li.stats_w:before { background-color: #ce3f28; }

	.stat_group { margin-bottom: 25px; }
	.stat_group > h5 { margin-top: 0; margin-bottom: 1em; }
	.stat_group > ul { list-style: none; padding: 0; margin: 0; }
	.stat_group > ul > li { padding: .6em 0; border-top: 1px dotted #d5d5d5; }


/* --- PM --- */
.pbarContainer {
    background: #eee;
    border-radius: 2px;
    border: 1px solid #bbb;
    box-sizing: border-box;
    cursor: help;
    height: 11px;
    margin: 0 10px;
    position: absolute;
    right: 0;
    text-align: left;
    top: calc(50% - 6px);
    width: 60px;
    z-index: 56
}

.pbarContainer.pm-informer {
    float: right;
    position: relative;
    margin: 2px 10px
}

.pbarContainer:after {
    content: attr(data-title);
    width: 140px;
    right: 0;
    font-size: 10px;
    background: rgba(0,0,0,.68);
    color: #fff;
    top: 15px;
    padding: 4px;
    border-radius: 3px;
    text-align: center
}

.pbarContainer:after,.pbarContainer:before {
    position: absolute;
    box-sizing: border-box;
    visibility: hidden
}

.pbarContainer:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border: 5px solid transparent;
    border-bottom-color: rgba(0,0,0,.68);
    top: 5px;
    right: 12%
}

.pbarContainer:hover:after,.pbarContainer:hover:before {
    visibility: visible
}

.pm-no-messages {
    padding: 15px 20px;
    border: 1px solid rgba(255,255,255,.15);
    display: block;
}
.pm-content {
    margin-top: 15px;
}

.pm-read-image,
.pm-unread-image {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    display: block;
}
.pm-read-image {
	background: #ccc;
}
.pm-unread-image {
	background: #ffcb28;
}
.pm-read-image img,
.pm-unread-image img {
    display: none;
}
.pbarFiller {
    height: 100%;
    border-radius: 1px;
    background: #51b5ea;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 1%
}

.pbarFiller[style*="width:5"]:not([style*="width:5%"]),.pbarFiller[style*="width:6"]:not([style*="width:6%"]) {
    background: #f90
}

.pbarFiller[style*="width:7"]:not([style*="width:7%"]),.pbarFiller[style*="width:8"]:not([style*="width:8%"]),.pbarFiller[style*="width:9"]:not([style*="width:9%"]),.pbarFiller[style*="width:10"]:not([style*="width:10%"]) {
    background: red
}

/* Login form */
.login_form {

}
.login_form li {
    margin: 0px 0px 20px 0px;
}
.login_form label {
    display: block;
    margin: 0px 0px 10px 0px;
}
.login_form input {
    width: 100% !important;
    height: 32px !important;
    border: 1px solid #3f3f3f  !important;
}
.login_form button {
    width: 100%;
    height: 32px;
    border-radius: 4px;
    line-height: 32px;
    font-size: 14px;
    padding: 0px;
    margin: 0px;
}
.login_form__foot {

}
.login_form__foot .right {
    float: right;
}
.login_form__foot a {
    color: #c2c2c2 !important;
}

.soc_links {
	margin: 20px 0px 0px 0px;
}

span.login-with { overflow: hidden; display:inline-block; text-decoration:none; position:relative; width:auto; margin:2px; font-size:9pt; outline:none; user-select:none; -moz-user-select:none; -webkit-user-select:none; -ms-user-select:none; -o-user-select:none }
span.login-with:hover { background:none; text-decoration:none }
span.login-with i { display:inline-block;cursor:pointer;vertical-align:middle;width:26px; height:26px; background-color:#fff; background-position: center center; background-repeat: no-repeat; background-size:70% 55%; -webkit-transition: background-color .2s .01s ease-out, border-color .1s .01s ease-out;transition: background-color .2s .01s ease-out, border-color .1s .01s ease-out;border: none;position: static;opacity: 1;border-radius: 16px;text-indent: 1000px;}
span.facebook i { background-image: url(../images/social/fb.svg); border:2px solid #3c599f }
span.facebook:hover i {background-image: url(../images/social/fb-w.svg); background-color:#3c599f }
span.vkontakte i { background-image: url(../images/social/vk.svg); border:2px solid #2f6caa }
span.vkontakte:hover i { background-image: url(../images/social/vk-w.svg); background-color:#2f6caa }
span.yandex i { background-image: url(../images/social/ya.svg); border:2px solid #dc4c39 }
span.yandex:hover i { background-image: url(../images/social/ya-w.svg); background-color:#dc4c39 }
span.google i { background-image: url(../images/social/gp.svg); border:2px solid #505050 }
span.google:hover i { background-image: url(../images/social/gp-w.svg); background-color:#505050 }
span.ok i { background-image: url(../images/social/ok.svg); border:2px solid #ed812b }
span.ok:hover i { background-image: url(../images/social/ok-w.svg); background-color:#ed812b }


/* Регистрация */
.regtext {
    line-height: 24px;
    margin: 0px 0px 20px 0px;
}
.login_check {
    position: relative;
}
.login_check input {

}
.login_check button {
    position: absolute;
    top: -5px; right: 4px;
    height: 37px;
    border-radius: 4px;
    padding: 0px 40px;
    font-size: 14px;
}

/* Spoiler */
.dark-theme .title_spoiler, .dark-theme .text_spoiler {
    background: #2d2d2d;
    border-color: #474646;
}
.dark-theme .title_spoiler a {
    color: #fff;
}
.title_spoiler img {
   margin-top: -5px !important;
}

/* reputation-button-history */
.reputation-button-history {
	display: inline-block;
	cursor: pointer;
}


/** Copyright (c) 2019 Artem Malcov | https://www.pandoge.com/moduli_i_skripty/modul-statistiki-lightstat-30-dlya-dle **/

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

.lightstat_main *:before, .lightstat_main *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.lightstat_main { min-width: 230px; width: 100%; margin: 0 auto; font-family: arial; box-shadow: 0 4px 10px rgba(0, 0, 0, .1); border-radius: 8px; }

.lightstat_progress { width: 100%; padding: 0 10px; }

.lightstat_progress span { height: 4px; display: block; float: left; }

.lightstat_progress span:nth-of-type(1) { border-top-left-radius: 2px; border-bottom-left-radius: 2px; }

.lightstat_progress span:nth-last-of-type(1) { border-top-right-radius: 2px; border-bottom-right-radius: 2px; }

.lightstat_body { background: #242043; border-radius: 8px 8px 0 0; padding: 15px 0 1px 0; }

.lightstat_body.border_none_user { border-radius: 8px; }

.lightstat_body .result_numb div { padding: 0 10px 11px 10px; color: #bbb; font-size: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, .6); }

.lightstat_body .result_numb div span:nth-of-type(1) { width: 8px; height: 8px; display: inline-block; border-radius: 99px; margin: 4px 10px 0 0; vertical-align: top; box-shadow: 0px -1px 1px rgba(0, 0, 0, .6); }

.lightstat_body .result_numb div span:nth-of-type(2) { float: right; color: #fff; }

.lightstat_body .result_numb .lightstat_user span:nth-of-type(1) { border: 2px solid #d9823b; }

.lightstat_body .result_numb .lightstat_guest span:nth-of-type(1) { border: 2px solid #a963b9; }

.lightstat_body .result_numb .lightstat_bot span:nth-of-type(1) { border: 2px solid #36a7a5; }

.lightstat_user_circle { background: #d9823b; }

.lightstat_guest_circle { background: #a963b9; }

.lightstat_bot_circle { background: #36a7a5; }

.lightstat_is { color: #fff; font-size: 10px; text-transform: uppercase; padding: 18px 0 15px 28px; display: block; text-shadow: 0 -1px 0 rgba(0, 0, 0, .6); }

.lightstat_user_list { background: #fff; border-radius: 0 0 8px 8px; position: relative; }

.lightstat_pandoge_com { width: 8px; height: 20px; position: relative; background: #222; display: block; position: absolute; top: 0; right: 20px; transition: .2s; }

.lightstat_pandoge_com:after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 0; border-bottom: 4px solid #d1d5d8; border-left: 4px solid transparent; border-right: 4px solid transparent; }

.lightstat_pandoge_com:hover { height: 24px; transition: .2s; }

.lightstat_user_list_title { color: #242043; font-size: 10px; text-transform: uppercase; padding: 18px 0 17px 28px; display: block; font-weight: 700; }

.lightstat_user_list_item { padding: 0 10px 20px 10px; display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-wrap: wrap; -webkit-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; }

.lightstat_user_list_item a { text-decoration: none !important; color: #242043; }

.lightstat_user_list_item_avatar { background-size: cover !important; border-radius: 99px; width: 34px; height: 34px; display: block; }

.lightstat_user_list_item_avatar:hover { opacity: .8; }

.lightstat_user_list_item_info { font-size: 12px; font-weight: 700; width: calc(100% - 34px); padding: 1px 0 0 10px; }

.lightstat_user_list_item_info span { display: block; font-weight: 400; padding: 2px 0 0 0; color: #888; }

.lightstat_user_list_item_info span.online { color: #0e8952; }

.lightstat_user_list_item_info a:hover { text-decoration: underline !important; }

.full_list_visit { margin: auto; color: #242043; font-size: 10px; text-transform: uppercase; display: block; font-weight: 700; width: 120px; text-align: center; background: #fff; border-radius: 99px; height: 26px; line-height: 26px; border: 1px solid #888; box-shadow: 0 2px 4px rgba(0, 0, 0, .1); }

.full_list_visit:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, .2); }

.full_list_visit_bg { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 0 0 8px 8px; z-index: 2; background: -moz-linear-gradient(bottom, rgba(255, 255, 255, .1) 0, rgba(255, 255, 255, 1) 100%); background: -webkit-linear-gradient(bottom, rgba(255, 255, 255, .1) 0, rgba(255, 255, 255, 1) 100%); background: linear-gradient(to bottom, rgba(255, 255, 255, .1) 0, rgba(255, 255, 255, 1) 100%); padding: 20px 0; }

.lightstat_user_list_item { display: none; }

.lightstat_user_list .lightstat_user_list_item:nth-of-type(1),
.lightstat_user_list .lightstat_user_list_item:nth-of-type(2),
.lightstat_user_list .lightstat_user_list_item:nth-of-type(3),
.lightstat_user_list .lightstat_user_list_item:nth-of-type(4),
.lightstat_user_list .lightstat_user_list_item:nth-of-type(5),
.lightstat_user_list .lightstat_user_list_item:nth-of-type(6) { display: flex; }

.lightstat_light_theme .lightstat_body { background: #f1f5f7; }

.lightstat_light_theme .lightstat_body { background: #f1f5f7; }

.lightstat_light_theme .lightstat_user_list_item a { color: #030304; }

.lightstat_light_theme .lightstat_user_list_title { color: #030304; }

.lightstat_light_theme .lightstat_body .result_numb div span:nth-of-type(2) { color: #283e52; }

.lightstat_light_theme .lightstat_body .result_numb div { color: #030304; text-shadow: none; }

.lightstat_light_theme .lightstat_is { text-shadow: none; color: #283e52; }

.lightstat_light_theme .lightstat_body .result_numb .lightstat_user span:nth-of-type(1) { border: 2px solid #0bb1d6; box-shadow: none; }

.lightstat_light_theme .lightstat_body .result_numb .lightstat_guest span:nth-of-type(1) { border: 2px solid #ff6d00; box-shadow: none; }

.lightstat_light_theme .lightstat_body .result_numb .lightstat_bot span:nth-of-type(1) { border: 2px solid #345471; box-shadow: none; }

.lightstat_light_theme .lightstat_user_circle { background: #0bb1d6; }

.lightstat_light_theme .lightstat_guest_circle { background: #ff6d00; }

.lightstat_light_theme .lightstat_bot_circle { background: #345471; }

.lightstat_user_list_item_info a {
	display: block;
}
.lightstat_user_list_item_info .online {
	color: #fff !important;
	padding: 2px 4px;
	border-radius: 4px;
	font-size: 12px;
	display: inline-block;
	margin-top: 5px;
}

.lightstat_main {
	font-family: 'Tahoma', sans-serif !important;
}

div.lightstat_user_list_item_info.group_id_1 a {
	color: red !important;
}
div.lightstat_user_list_item_info.group_id_6 a {
	color: orange !important;
}
div.lightstat_user_list_item_info.group_id_7 a {
	color: #fc0 !important;
}
div.lightstat_user_list_item_info.group_id_8 a {
	color: #3db84d !important;
}

div.lightstat_user_list_item_info.group_id_258 .golden-prime:after {
	content: '';
    position: absolute;
    background: url('/templates/TPL/images/sponsormedal.png') no-repeat;
    background-size: 60%;
    width: 40px;
    height: 30px;
    transform: translate(4px, -8px);
}
div.lightstat_user_list_item_info.group_id_258 .golden-prime {
	position: relative;
    font-size: 14px;
}
div.golden-prime-comment span.profile-name {
	padding: 2px 10px;
    border-radius: 5px;
    border: 2px solid currentColor;
    font-weight: bold;
}

div.lightstat_user_list_item_info.group_id_258 .golden-prime,
div.golden-prime-comment span.profile-name,
.golden-prime {
    color: #ff2727 !important;
}
.dark-theme div.lightstat_user_list_item_info.group_id_258 .golden-prime,
.dark-theme div.golden-prime-comment span.profile-name,
.dark-theme .golden-prime {
    color: #ff2727 !important;
}

.user-edit .xfields tr:not(:last-child) td {
	padding-bottom: 10px;
}

#dlepopup-news-edit input[name="title_ru"],
#dlepopup-news-edit input[name="title_ru"] + img {
	display: none;
}
