/* errors */
.berrors {background: #fff; color: #4a4a4a; margin: 20px 0; padding: 6px 10px; border: 1px solid #f1f1f1; border-radius: 2px;}
.full> .berrors {margin: 0 -10px;}
.berrors span {font-weight: 500;}
.title_quote {font-weight: 500;}
.quote {position: relative;}

.opencast table {display: block; width: 100%; overflow: auto;}
.opencast table tr {background-color: #fff; border-top: 1px solid #c6cbd1;}
.opencast table td, .opencast table th {padding: 6px 13px; border: 1px solid #dfe2e5;}
.opencast table th {font-weight: 600;}
.opencast table tr:nth-child(2n) {background-color: #f6f8fa;}
.form-wrap h1 {font-size:24px; margin-bottom:20px;}
.form-wrap > div, .form-vote > div {margin-bottom:20px;}
.form-checks input[type="checkbox"] {width: 14px; height: 14px; cursor: pointer; vertical-align: initial;}
.form-item {margin-bottom:20px; padding-left:200px; position:relative;}
.form-item > label {display:block; float:left; width:200px; margin-left:-200px; padding-top:10px;}
.form-item > input[type="text"], .form-item > input[type="password"], .form-item > input[type="file"] {float:left; max-width:600px;}
.imp > label:after {content: "*"; margin: 0 0 0 5px; color: #e3000f; font-weight: 700;}
textarea[name="message"] {width: 100%; border: 1px solid #ededed; border-radius: 5px;}
.form-buts input[type="button"], .form-buts a {width:48%; float:left; display:block; text-align:center; box-shadow:none; border-radius:0; font-size:14px;}
.form-buts a {float:right;}
.form-submit button {background: #f0f0f0; border: 1px solid #e3e3e3; height: 26px; padding: 0 16px; border-radius: 3px; cursor: pointer;}
.form-submit button:hover {background: #e3e3e3;}
.findrelated {background: #ffc; border:1px solid #9E9E9E; padding:5px;}
.form-textarea > label {display: block; padding: 10px 20px; background-color: #444; color: #fff; font-size: 16px; border-radius: 5px; margin-bottom: 10px;}
#category {width:100% !important;}
.form-xfield .addnews {vertical-align:middle;}
.form-checks input#allow_main {margin-left:50px;}
.form-checks label, #allow_subscribe + label {display: inline-block; margin-left: 5px; position: relative; top: -2px; cursor: pointer;}
.form-secur {width:100%; float:right;}
.form-secur input {display:inline-block !important; max-width:300px; vertical-align:top;}
.form-secur > a {display:inline-block; vertical-align:top; margin-left:10px;}
.form-secur select {width:100%; max-width:600px;}
.form-item > input[type="button"] {position: absolute; right: 5px; top: 5px; height: 30px; line-height: 15px; font-weight: 500; padding: 7px 14px;}
#result-registration {text-align:center;}

/* Userinfo */
.user-prof {background-color: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow-sm);}
.up-first {
    padding: 30px; 
    position: relative; 
    background-color: #3f3f3f; 
    background-image: linear-gradient(135deg, #3f3f3f 0%, #2b2b2b 100%);
    color: #FFF; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.up-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px;
    margin-bottom: 15px;
    order: -1;
}
.upop-img {width: 100px; height: 100px; border-radius: 50%; border: 2px solid #f6f6f6; padding: 6px; left: 28px; top: 0px;}
.up-img img, .upop-img img {width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;}
.up-first h1 {font-size: 20px; font-weight: 700; margin-bottom: 5px; color: #fff;}
.up-group {margin-top: 5px; font-size: 14px; opacity: 0.9;}
.up-group span {background: rgba(255, 255, 255, 0.2); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 12px; margin-left: 5px;}

.up-second {display: flex; background-color: var(--bg-secondary); border-bottom: 1px solid var(--border-light);}
.up-second li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-main);
    border-right: 1px solid var(--border-light);
}
.up-second li:last-child {border-right: none;}
.up-second li p {font-weight: 500; font-size: 12px; text-transform: uppercase; margin-top: 5px; color: var(--text-light);}

.up-third {padding: 0;}
.up-third li {padding: 12px 20px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; flex-wrap: wrap; gap: 10px;}
.up-third li:last-child {border-bottom: none;}
.up-third li:nth-child(2n) {background-color: var(--bg-tertiary);}

.up-soc-bind {display: flex; align-items: center; gap: 10px;}
.up-soc-bind span:first-child {margin-right: auto;}

.itemprofile_soc {display: flex; width: 28px; height: 28px; margin: 0 2px; border-radius: 3px; transition: opacity .3s; font-size: 1.1em; cursor: pointer; justify-content: center; align-items: center;}
.itemprofile_soc:hover {opacity: .85;}
.itemprofile_soc.i_vk {background: #0077ff; color: #fff;}
.itemprofile_soc.i_google {background: #E94F43; color: #fff;}
.itemprofile_soc.i_yandex {background: #fc0; color: #000;}

.itemprofile_soc:hover {transform: translateY(-2px);}
.itemprofile_soc.i_vk {background-image: url('/templates/byrut_upd/images/social/vk.svg');}
.itemprofile_soc.i_google {background-image: url('/templates/byrut_upd/images/social/google.svg');}
.itemprofile_soc.i_yandex {background-image: url('/templates/byrut_upd/images/social/yandex.svg');}

.up-edit {padding: 20px; text-align: right; background-color: var(--bg-tertiary); border-top: 1px solid var(--border-light);}
.up-edit a {font-weight: 500;}

.up-third input[type="file"] {
    margin-left: 10px;
    font-size: 13px;
    color: var(--text-light);
}
.up-third input[type="file"]::file-selector-button {
    border: 1px solid var(--border-medium);
    background: var(--bg-tertiary);
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
    margin-right: 10px;
    color: var(--text-main);
    transition: background 0.2s;
}
.up-third input[type="file"]::file-selector-button:hover {
    background: var(--bg-secondary);
}

.user-popup {padding:20px 0; position:relative; margin:-20px;}
.upop-left {width:28%; float:left; position:relative; z-index:50; text-align:center;}
.upop-left .up-img {position:static; display:block; margin:0 auto 10px auto;}
.upop-right {width:72%; float:right;}
.upop-right li {padding:5px 0;}


@media screen and (max-width: 1220px) {
    .up-second {flex-wrap: wrap; padding: 10px;}
    .up-second li {flex: 1 1 45%; border: none !important; border-bottom: 1px solid var(--border-light) !important;}
}
@media screen and (max-width: 760px) {
    .up-first {padding: 20px;}
    .up-second {flex-direction: column;}
    .up-second li {flex: 1 1 100%;}
    .up-img {width: 80px; height: 80px;}
}

/* search */
.search { margin: 10px 0; }
.search-page h1 { font-size: 19px; font-weight: 700; color: #000; text-transform: uppercase; }
#searchtable, #searchtable td { vertical-align: top; text-align: left }
#searchtable fieldset { font-size: 11px; border: 1px solid #d7d7d7; padding: 10px; text-align: left; 
    margin: 0 4px 4px 0 !important; border-radius: 6px }
#searchtable table, #searchtable form { margin: 0; width:100%;}
#searchtable select { background-color: #fff }
#searchuser, #searchinput {width: 90% !important; font-size: 18px; font-weight: 700;}
.search > div {margin-bottom:10px;}
.search input[type="text"], .search select {display:block; width:100% !important; margin-bottom:10px;}
.search input[type="checkbox"], .search input[type="radio"] {margin-right:5px;}
#searchinput + br, #searchinput + br + br {display:none;}
/* statistics */
.stat-list {min-height:70px; width:33.33%; float:left;}
.stat-list li {padding:0 15px 10px 1px;}
.statistics h4 {font-weight:400; font-size:16px;}


/* PM */
.pm-menu {height:60px; white-space:nowrap; overflow-y:hidden; overflow-x:auto;}
.pm-menu li {display:inline-block; margin-right:10px;}
.pm-menu a {padding:0 15px; background:#f5f5f5; line-height: 40px; display:block;}
.pm-menu a:hover {background:#444; color:#fff;}
.pm_progress_bar {border-radius:4px; background-color:#f5f5f5; margin:10px 0; overflow:hidden;}
.pm_progress_bar span {background:#fb643c; font-size:0; text-indent:-2000em; height:20px; display:block; overflow:hidden;}
.table-resp {overflow-y:hidden; overflow-x:auto;}
.pm {border:1px solid #ccc; width:100%;}
.pm tr td {padding:10px; border:1px solid #ccc; font-size:12px; }
.pm tr:nth-child(1) {background-color:#444; color:#FFF;}
.pm tr:nth-child(2n+2) {background-color:#f9f9f9;}
.pm select {width:100%; margin-bottom:10px;}

#loading-layer {background: #000; padding: 8px 10px; color: #fff; border-radius: 2px;}

/*--- DROP NENU ---*/
#dropmenudiv { font: 12px Arial; padding: 10px; display: none; background: #fff; 
    border-radius: 8px;  box-shadow: 0 0 50px 0 rgba(0,0,0,0.22); z-index:200 !important;}
#dropmenudiv a { display: block; text-decoration: none; padding: 5px 8px; width: 154px }

/*--- SEARCH SUGGESTIONS---*/
#searchsuggestions {z-index: 99998; width: 340px; max-height: 485px; overflow-y: scroll; overflow-x: hidden; background: #fff; border-radius: 3px; box-shadow: 0 0 0px 3px rgb(0 0 0 / 10%);}
#searchsuggestions::-webkit-scrollbar {width: 0px;}
#searchsuggestions:hover::-webkit-scrollbar {width: 8px; height: 8px; background:rgba(0,0,0,0)}
#searchsuggestions::-webkit-scrollbar-thumb {background: #434953;border-radius:10px;}
#searchsuggestions::-webkit-scrollbar-track-piece {background: #f5f5f5; border-radius: 10px;}
#searchsuggestions a, #searchsuggestions span.notfound { padding:8px 10px; display: block; text-decoration: none; border-bottom: 1px solid #e3e3e3; font-weight:normal;}
#searchsuggestions a:hover {background-color: rgb(0 0 0 / 4%);}
#searchsuggestions span.searchheading {display: block; margin-bottom: 5px; font-weight: bold; font-size: 16px;}
#searchsuggestions span.seperator {display: none;}
#searchsuggestions span.seperator a {padding: 10px 0; text-align: center; border: 0 none; background-color:#444; color: #fff;}
#searchsuggestions span.notfound {padding: 15px 20px; display: block;}
#searchsuggestions .break {display: none;}

/*--- UI WIDGETS ---*/
.ui-widget-overlay { background: #000; opacity:0.5; left: 0; top: 0; right: 0; bottom: 0; position: fixed; }
.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 {background-color: #fff; overflow: hidden; padding: 0; position: absolute; width: 300px; border-radius: 8px; box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.2); z-index: 9999;}
.ui-dialog-titlebar {padding: 15px 20px; height: 50px; border-bottom: 1px solid #ecebeb;}
.ui-dialog-title {font-size: 18px; color: #4a4a4a; font-weight: 500;}

.ui-dialog .ui-dialog-content {position: relative; padding: 15px; overflow: hidden !important;}
.ui-dialog .ui-dialog-buttonpane {display: flex; border-top: 1px solid #ddd; height: 42px; background-color: #f6f6f6; align-items: center; justify-content: 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-dialog .ui-dialog-buttonset button {background: #ededed; color: #000; font-size: 13px; font-weight: 600; margin: 0 6px; padding: 4px 15px; border-radius: 4px; cursor: pointer;}
.ui-dialog-buttonset button:nth-child(2) {background: #ec001e; color: #fff;}
.ui-icon-closethick {cursor: pointer; position: absolute; background-color: #f6f6f6; color: #ddd; border-radius: 50%; display: block; right: 8px; top: 7px; width: 36px; height: 36px; font-size: 1.34rem;}

/* ---  UI MENU --- */
.ui-autocomplete { position: absolute; cursor: default; }
* html .ui-autocomplete { width:1px } /* without this, the menu expands to 100% in IE6 */
.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; float: left; background: #fff 50% bottom repeat-x; border: 1px solid #dedede; color: #222; }
.ui-menu .ui-menu { margin-top: -3px; }
.ui-menu .ui-menu-item { margin:0; padding: 0; zoom: 1; float: left; clear: left; width: 100%; }
.ui-menu .ui-menu-item a { text-decoration:none; display:block; padding:.2em .4em; line-height:1.5; zoom:1; }
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; margin: -1px; border: 1px solid #a7a7a7; color: #4e4e4e; font-weight: bold; }
.ui-icon-closethick:before {content: "\e916"; font-family: 'custom_ico' !important; width: 36px; height: 36px; line-height: 36px; display: block; text-indent: 0;}
.ui-front {z-index: 1000;}
.ui-button-icon-only {overflow: hidden; text-indent: -9999px;}

/*--- UPDATES TO NEW VERSIONS ---*/
.comments-tree-list {padding: 0; margin: 0;}
#dle-comments-list > .comments-tree-list > .comments-tree-item {
    border-top: 1px solid #f1f3f4;
}

#dle-comments-list > .comments-tree-list > .comments-tree-item:first-child {
    border: none
}

.comments-tree-item .comments-tree-list .comm-item {
    padding-top: 0;
}

#dlefastreplycomments {padding: 10px; background: #f9f9f9; border: 1px solid #ececec; border-radius: 3px; margin-bottom: 12px;}
#dlefastreplycomments .bb-editor {padding-top: 10px;}
#dlefastreplycomments textarea {height: 118px !important; padding: 10px 13px; border-radius: 10px; background: #fff; border: 2px solid #0000000f; color: #111; font-weight: 500; font-size: 1.04em; line-height: 1.35; margin-bottom: 6px; resize: vertical;}

.comments-edit-area {padding: 10px; background: #f9f9f9; border: 1px solid #ececec; border-radius: 3px;}
.comments-edit-area .bb-editor {padding-top: 10px;}
.comments-edit-area textarea {padding: 10px 13px; border-radius: 10px; background: #fff; border: 2px solid #0000000f; font-size: 1em; line-height: 1.35; margin-bottom: 6px; resize: vertical;}

#dlereplypopup form > div {margin-bottom:5px;}
#dlereplypopup form input[type="text"] {height:30px; line-height:30px;}
#dlereplypopup form textarea {height:80px;}
.pollallvotes {text-align: center; margin-top: 10px;}

 #dlefastreplyesponse .comments-tree-list > .comments-tree-item,
 .comments-tree-list > .comments-tree-item > .comments-tree-list .comments-tree-item,
 .comments-tree-list > .comments-tree-item > .comments-tree-list .comments-tree-item:nth-child(1) {
     padding-left: 20px
 }

.save-buttons input[type="button"] {background: #ededed; color: #000; font-size: 13px; margin-right: 6px; padding: 7px 15px; border-radius: 4px; cursor: pointer;}
.save-buttons input[type="button"]:hover {background: #e9e9e9;}
.applychanges {background: #307df0 !important; color: #fff !important;}
.applychanges:hover {opacity: .88;}

/*--- 11 ---*/
.emoji {border: none;vertical-align: middle;width: 22px;height: 22px;}

.xfieldsrow {padding-top:5px;clear: both;}
.xfieldscolleft {float: left; width: 30%;}
.xfieldscolright {float: left;width: 70%;}
.file-box {width: 95%;max-width: 437px;border:1px solid #B3B3B3; border-radius: 3px;background-color: #F5F5F5;padding: 10px;margin-top: 10px;}
.qq-uploader { position:relative; width: 100%;}
.qq-upload-button {display:inline-block;padding:0 10px;margin-top:5px; line-height:40px !important;cursor:pointer;}
.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 {width: 115px;height: 130px;margin: 10px 5px 5px 5px;border:1px solid #B3B3B3;box-shadow: 0px 1px 4px rgba(0,0,0,0.3);
    text-align: center;background:#ffffff;}
.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:10px;
    border-radius:8px;background:#eee;box-shadow:0 1px 0 white, 0 0px 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px 4px rgba(0, 0, 0, 0.2) inset;}
.progress .progress-bar {float:left;width:0%;font-size:12px;line-height:20px;color:white;text-align:center;background-color:#428bca;
    box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);transition:width 0.6s ease;border-radius:8px;box-shadow:none;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-image:linear-gradient(to bottom, #9bcff5 0%, #6db9f0 100%);background-repeat:repeat-x;border:1px solid #55aeee;}

.btn.disabled, .btn[disabled], fieldset[disabled] .btn {cursor:not-allowed; pointer-events:none; opacity:0.65;}

.dle-captcha { position: relative; }
.dle-captcha:after { clear: both; display: block; content: ""; }
.dle-captcha > a { float: left; margin-right: 5px; }
.dle-captcha img {position: relative;display: block;width: 130px; height: 46px;-webkit-transition: all ease .2s; transition: all ease .2s;}
.dle-captcha > input { float: left; width: 130px; }
.xfieldsnote {color: #838383;font-size: .9em;}

.static-pages {color: #444; line-height: 1.5; font-size: 1.08em;}
.static-pages h1 {padding-bottom: 5px;}

.title_spoiler {position: relative; background: #f3f3f3; border: 1px solid #e4e4e4; font-weight: 500; border-left: 2px solid #909090; padding: 2px; padding-left: 10px;}
.title_spoiler a {color: #000;}
.title_spoiler a svg {vertical-align: text-bottom; width: 20px; height: 17px; margin-right: 2px;}
.text_spoiler {position: relative; border: 1px solid rgb(229, 229, 229); background: rgb(250, 250, 250); padding: 10px 14px; margin-top: -1px;}
@media screen and (max-width: 600px) {
    .form-wrap h1 {font-size:16px;}
    .form-item {padding-left:0;}
    .form-item > label {float:none; width:100%; margin-left:0; padding:0 0 10px 0;}
    .form-item > input[type="text"], .form-item > input[type="password"], .form-item > input[type="file"] {float:none;}
    .form-item > input[type="button"] {display:none;}
    .form-checks input#allow_main {margin-left:10px;}
    .form-buts input[type="button"], .form-buts a {width:50%; padding:0; font-size:12px;}
    .stat-list {width:100%; float:none;}
}
.DLEPush {
	z-index: 2001;
	position: fixed;
	right: 20px;
	top: 20px
}

@keyframes DLEPush-show {
	0% {
		transform: translateY(100%);
		opacity: 0;
	}

	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

.DLEPush-notification.wrapper {
	animation-name: DLEPush-show;
	animation-duration: 1s;
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
	max-width: 400px;
	box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
	background-color: #fff;
	border-radius: 10px
}

.DLEPush-notification .DLEPush-icon {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	width: 45px;
	height: 100%;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	text-align: center;
}

.DLEPush-notification .DLEPush-icon svg {
	scale: .8;
}

.DLEPush-notification .DLEPush-header {
	font-weight: 500;
	grid-column: 2;
	grid-row: 1;
	font-size: 1rem;
	margin-left: 1rem;
	margin-top: .5rem;
}
.DLEPush-notification .DLEPush-header:empty {
	margin-top: 0;
}

.DLEPush-notification .DLEPush-message {
	grid-column: 2;
	grid-row: 2;
	font-size: .875rem;
	margin: 1rem;
}

.DLEPush-notification .DLEPush-message li, .DLEPush-notification .DLEPush-message ul {
	list-style-type: none;
	padding-left: 0;
}

.DLEPush-notification .DLEPush-close {
	position: absolute;
	top: 8px;
	right: 10px;
	font-weight: 300;
	background: none;
	border: 0;
	font-size: 1.15rem;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	color: inherit;
	outline: 0;
	opacity: 0.75;
}

@media only screen and (min-width: 601px) {
	.DLEPush-notification.wrapper {
		min-width: 400px;
	}
}

.DLEPush-notification .DLEPush-close:hover {
	opacity: 1;
}

.DLEPush-notification.wrapper.push-success {
	background-color: #e0f2f1;
}

.DLEPush-notification.wrapper.push-success .DLEPush-icon {
	background-color: #00897b;
}

.DLEPush-notification.wrapper.push-warning {
	background-color: #FFF3E0;
}

.DLEPush-notification.wrapper.push-warning .DLEPush-icon {
	background-color: #FF9800;
}

.DLEPush-notification.wrapper.push-error {
	background-color: #FBE9E7;
}

.DLEPush-notification.wrapper.push-error .DLEPush-icon {
	background-color: #FF5722;
}

input[type="text"].comments_author_field {
	width: 100%;
	margin-bottom: 10px;
}
