/* --- Поля форм --- */
input[name="sec_code"] {
	display: inline-block;
	width: 302px; height: 46px;
	line-height: 22px;
	padding: 10px;
	vertical-align: middle;
	border-radius: 2px;
	background: #fff;
	border: 1px solid #d7d7d7;
	-webkit-transition: border 0.2s linear 0s; transition: border 0.2s linear 0s;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
	textarea { margin: 0; overflow: auto; vertical-align: top; resize: vertical; }
	textarea:focus, select: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 {
		border-color: #3394e6;
	}
	input[type="radio"], input[type="checkbox"] { line-height: normal; margin: -2px 6px 0 0; vertical-align: middle; }
	input[type="search"] {
		-webkit-appearance: textfield;
		-webkit-box-sizing: content-box;
		-moz-box-sizing: content-box;
		box-sizing: content-box;
	}
	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 { opacity: 0.6; }

	input:focus { outline: none; }
	input[type="file"], input[type="image"] { padding: 0; border-width: 0; background-color: transparent; }
	.wide, .bb-editor textarea, .ui-dialog textarea, select#category, .timezoneselect, .quick-edit-text { width: 100% !important; }
	#searchuser, #searchinput { width: 100% !important; margin-bottom: 10px; }

	/* Настройка стандартной капчи */
	.form_submit { 
		display: flex;
		flex-wrap: wrap;
	}
	.form_submit .c-captcha { 
		float: right;
		display: flex;
		align-items: center;
	 }

	 @media screen and (min-width: 760px) {
		.post-comments {
			flex-basis: 50%;
    		max-width: 50%;
			display: flex;
			align-items: center;
		} 
		.form_submit .c-captcha {
			flex-basis: 50%;
			max-width: 50%;
			justify-content: end;
		}
	 }


	 @media screen and (max-width: 760px) {
		.form_submit .c-captcha {
			order: 1;
		}
		.form_submit .post-comments {
			order: 2;
			flex-basis: 100%;
			max-width: 100%;
			margin-top: 5px;
		}
	 }
	.c-captcha { position: relative; }
	.c-captcha:after { clear: both; display: block; content: ""; }
	.c-captcha > a { float: left; margin-right: 5px; }
	.c-captcha img {
		position: relative;
		display: block;
		width: 130px; 
		height: 46px;
		z-index: 1;
		-webkit-transition: all ease .2s; transition: all ease .2s;
	}
	.c-captcha > input { float: left; width: 130px; height: 36px;}

	/* Настройка стандартной капчи при ответах на комментарии */
	.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; }

.DLEPush {
    z-index: 2001;
    position: fixed;
    top: 20px;
    right: 20px;
    width: min(400px, calc(100vw - 24px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    pointer-events: none;
}

@media (max-width: 600px) {
    .DLEPush {
        top: 60px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

.DLEPush > * {
    pointer-events: auto;
}

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

.DLEPush-notification.wrapper {
    animation-name: DLEPush-show;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    color: var(--text-primary);
    margin-bottom: 10px;
    width: 100%;
    max-width: 400px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--border-color);
    border-radius: var(--border-r, 10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

html[data-theme="dark-mode"] .DLEPush-notification.wrapper {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.DLEPush-notification .DLEPush-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: 24px;
    height: 24px;
    margin-left: 14px;
    flex-shrink: 0;
}

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

.DLEPush-notification .DLEPush-header {
    font-weight: 600;
    grid-column: 2;
    grid-row: 1;
    font-size: 0.95rem;
    margin-left: 0.75rem;
    margin-top: .65rem;
    margin-right: 2rem;
    color: var(--text-primary);
}

.DLEPush-notification .DLEPush-header:empty {
    margin-top: 0;
}

.DLEPush-notification .DLEPush-message {
    grid-column: 2;
    grid-row: 2;
    font-size: .875rem;
    line-height: 1.45;
    margin: 0.75rem 2.25rem 0.85rem 0.75rem;
    color: var(--text-primary);
}

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

.DLEPush-notification .DLEPush-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    border-radius: 50%;
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    color: var(--text-muted);
    outline: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.DLEPush-notification .DLEPush-close:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.DLEPush-notification.wrapper.push-success {
    border-left-color: var(--green);
}
.DLEPush-notification.wrapper.push-success .DLEPush-icon {
    color: var(--green);
}

.DLEPush-notification.wrapper.push-warning {
    border-left-color: #f59e0b;
}
.DLEPush-notification.wrapper.push-warning .DLEPush-icon {
    color: #f59e0b;
}

.DLEPush-notification.wrapper.push-error {
    border-left-color: #ef4444;
}
.DLEPush-notification.wrapper.push-error .DLEPush-icon {
    color: #ef4444;
}

	.ui-dialog-buttonset button.ui-button-delete {
    background-color: #f44336;
    border-color: #f44336;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
}
.ui-dialog-buttonset button.ui-button-delete:hover {
    background-color: #db3a2f;
    border-color: #db3a2f;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
}
.form-check-label {
    cursor: pointer;
}
.form-check-input {
    color: #0c5f7eed;
    flex-shrink: 0;
    width: 1.12rem;
    height: 1.12rem;
    margin: -0.188rem 0.625rem 0 0;
    appearance: none;
    background-color: transparent;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #0c5f7eed;
    vertical-align: middle;
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%230c5f7eed' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%230c5f7eed'/%3e%3c/svg%3e");
}

.form-check-input[type=checkbox] {
    border-radius: .25rem;
}

.form-check-input[type=radio] {
    border-radius: 50%;
}