html, body {
	width:100%;
	height:100%;
	}
body {
	background-color: #fbfbfb;
	color: var(--color-primary);
	font-family: Arial, sans-serif !important;
	font-size: 16px;
	}

/* fix p7 */
/*
button {
	color: var(--color-primary);
}
:root {
  --bs-modal-close-icon-color: red;
  --bs-modal-close-icon-color-hover: green;
}
*/
.btn-close {
	opacity: 0.498 !important;
}
.btn-close:hover {
	opacity: 1 !important;
}


.v2 .btn-warning {
	color: var(--color-primary) !important;
}
.v2 button:focus {
    box-shadow: none !important;
}
.v2 h1 {
	font-size: 24px !important;
	font-weight: bold;	
}
.v2 h2 {
	font-size: 20px !important;
	font-weight: bold;
	
	/*display: inline-block !important;*/
	/*p7*/
	margin-bottom: 7px !important;
	padding-top: 9px !important;
}
.v2 h2.modal-title {
	margin-bottom: 8px !important;
	padding-top: 5px !important;
}
.v2.help iframe {
    margin: 8px 0 12px;
}


/* fix settings */
#abc h2 {
    margin: 20px 0 15px !important;
}
.v2 h3 {
	font-size: 16px !important;
	font-weight: bold;
}
.v2 .kra_b {
	color: var(--color-kra_b) !important;
}
.v2 .w200 {
	width: 200px;
}
.v2 .w250 {
	width: 250px;
}


/* imgs & overflow */
.v2 img {
	max-width: 100% !important;
}
.v2 {
	overflow: hidden !important;
}


.kn-osf {
    font-size: 16px;
    line-height: 1.462em;
    padding: 8px 16px;
}
/*
.btn, .btn:hover {
    color: #333;
    text-decoration: none;
}
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    user-select: none;
    background-color: initial;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.462;
    border-radius: 0;
}
*/


.kn-osf {
    color: var(--color-che_b);
    background: var(--color-zhe_a_s);
    border: 1px solid var(--color-zhe_a_s);
    border-radius: 4px;
    transition: none !important;
    outline: 0 !important;
    box-shadow: none  !important;
	padding: 8px 16px;
	min-width: 100px;
}
.kn-osf:hover, .kn-osf:not(:active):hover {
    color: var(--color-che_b);
    background: var(--color-zhe_a);
    border: 1px solid var(--color-zhe_a) !important;
}
.kn-osf:active, .kn-osf:focus {
    color: var(--color-che_b);
    background: var(--color-zhe_a_s);
    border: 1px solid var(--color-zhe_a_s) !important;
}
.kn-osf:not(:hover) {
	border: 1px solid var(--color-zhe_a_s);
}
/*
.kn-obf {
    color: var(--cv-och);
    background: var(--cv-bel_b);
    border: 1px solid var(--cv-pch80o);
    border-radius: 4px;
    transition: none;
    outline: 0;
    box-shadow: none;
}
.kn-obf:hover {
    color: var(--cv-och2);
    background: var(--cv-pia1);
    border: 1px solid var(--cv-pch70o);
}
*/
.kn-obf {
    color: var(--color-che_b);
    background: var(--color-bel_b);
    border: 1px solid var(--color-che_b_80);
    border-radius: 4px;
    transition: none !important;
    outline: 0 !important;
    box-shadow: none  !important;
	padding: 8px 16px;
	min-width: 100px;
}
.kn-obf:hover, .kn-obf:not(:active):hover {
    color: var(--color-che_b);
    background: var(--color-zhe_y_1);
    border: 1px solid var(--color-che_b_70) !important;
}
.kn-obf:active, .kn-obf:focus {
    color: var(--color-che_b);
    background: var(--color-bel_b);
    border: 1px solid var(--color-che_b_80)
}
.kn-obf:not(:hover) {
	border: 1px solid var(--color-che_b_80);
}



/*
.f-o16 {
	font-size: 16px;
	border: 1px solid var(--color-che_b_70);
	color: var(--color-che_b);
    border-radius: 0;
    box-shadow: none;
    transition: none;
    line-height: 1.462em;
    height: calc(1.462em + .75rem + 2px);
	background: var(--color-bel_b);
	padding: .375rem .75rem;
}
*/
.f-o16,.f-o16:disabled,.f-o16[readonly] {
    background-color: var(--color-bel_b);
}
.f-o16::placeholder {
    color: var(--color-che_b_70);
    opacity: 1;
}
.f-o16 {
    color: var(--color-che_b);
    border: 1px solid var(--color-che_b_80);
    border-radius: 0;
    box-shadow: none;
    transition: none;
    line-height: 1.462em;
    height: calc(1.462em + .75rem + 2px);
}
.f-o16:hover {
    border-color: var(--color-che_b_70);
}
.f-o16:focus {
    color: var(--color-che_b);
    border: 1px solid var(--color-sin_a);
	outline: 1px solid var(--color-sin_a) !important;
    /*box-shadow: 0 0 0 1px var(--color-sin_a);*/
    background: var(--color-bel_b);
}
.ha {
	height: auto;
}


/* ck5 new */
.ck-toolbar__items > button:nth-child(2) {
	margin-right: 10px !important;
}
.ck-color-grid > button {
	margin: 0;
	outline: none !important;
	box-shadow: none !important;
}
.ck-toolbar button:hover {
	cursor: pointer !important;
}

/*
.text-muted{
	color:#999;
	}
*/
h1,.h1{
	color: var(--color-primary);
	font-family: Arial, sans-serif;
	font-size: 24px;
	font-weight: normal;
	/*line-height: 17px;
	margin-top: 30px !important;
	margin-bottom: 20px !important;
	margin-top: 21px !important;*/
	margin-top: 9px !important;
	margin-bottom: 25px !important;
	}
h2,.h2{
	font-size: 20px;
	font-weight: normal;
	}

a {
	color: var(--color-sin_b) !important;
	text-decoration: none;
	}
a:hover {
	color: var(--color-zel_b) !important;
	text-decoration: underline;
	}
.index textarea a {
	color: var(--color-sin_b) !important;
	text-decoration: underline;
}



#wrap { width:100%; /*height:100%;*/ margin:0 auto; /*padding:77px 0 141px; margin-top:-77px;*/ }

#content ul,
#content ol { margin-left:0; padding-left:1.33em; }
.credit { margin:20px 0; }

#header,
#content { max-width:600px; /*margin:0 auto;*/margin:10px auto 0; }
#header {margin-top: 6px !important; }
#content { height:100%; }
/* #content,
#footer { overflow:hidden; } v7*/
#footer  {
	width:100%;
	/*height:auto;*/
	margin-top:80px;
	margin-bottom:30px;
	/*font-family: Arial, sans-serif;*/
	
	font-size: 14px;
	/*position:fixed;
	bottom:0;
	z-index:1000;*/
	overflow: visible !important;
	}
	
	
	
	
.scroll-y { overflow-y:auto!important; }

.no-scroll-y #wrap { height:auto!important; padding-bottom:140px; }
.no-scroll-y #content { overflow:auto!important; max-height:auto!important; height:auto!important; }
.no-scroll-y #footer { position:static!important; }

#note{ margin-bottom:4px; overflow:hidden; line-height:1.4!important; min-height:700px; height:100%; }
#footer a { margin:0 5px; }

iframe{ color:#333!important; font-family: Arial, sans-serif!important; font-size:14px!important; }
iframe:focus, iframe:active{ box-shadow:0 0 1px 0 #66afe9; }
img.pull-left { margin-right:10px; margin-bottom:5px; margin-top:-4px; }

.yashare-auto-init{
    display: inline-block;
    font-size: 12px;
    margin: -2px 9px 0 9px;
    vertical-align: middle;
}
.yashare-auto-init div, .yashare-auto-init span, .yashare-auto-init a, .yashare-auto-init p{
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}
.b-share{
    margin: 0  14px 0 14px !important;
}
.b-share__handle{
    font-size: 12px;
    line-height: 1.42857143em;
    text-align: center;
}

.yashare-auto-init{
    margin-top: -2px;
}

.b-share__text{
    margin-right: 0px !important;
}

.spoiler > span, 
.spoiler > b {border-bottom:1px dashed black;cursor:pointer;color:#006ab4;border-bottom-color:#006ab4;}
.spoiler > span:hover, 
.spoiler > b:hover{color:#e85222;border-bottom-color:#e85222;}
.img-responsive { max-width:100%;display:block; }


#content, #footer {overflow: visible;}
.copyright {
	margin-top: 13px;
    margin-bottom: -3px;
    color: var(--color-che_b_50);
}
.selector__language {display: inline-block;	position: relative;}
.selector__language .btn {padding: 1px 4px;	border-radius: 0; border-color: #999; color: #999; white-space: nowrap;	line-height: normal;}
.selector__language .dropdown-menu {z-index: 1001;}
.selector__language .btn .caret {margin-left: 4px;}
.selector__language .dropup .caret {content: ""; border-top: 0; border-bottom: 7px solid; border-right: 3px solid transparent;	border-left: 3px solid transparent;}
.addthis_inline_share_toolbox {display: inline-block; margin-left: -5px; line-height: 1.5; vertical-align: middle;}


:root {
	--color-primary: #333333;
	/*
	--color-kra_b: #ff0000;
	--color-kra_90_b: #ffe6e6;
	--color-kra_t_b: #c00000;
	--color-kra_t_90_b: #f9e6e6;
	--color-kra_a: #dc2b00;
	--color-kra_s_a: #ff5621;
	--color-ora_b: #ffc000;
	--color-ora_90_b: #fff9e6;
	--color-zhe_b: #ffff00;
	--color-zhe_90_b: #ffffe6;
	--color-zhe_a: #ffd500;
	--color-zhe_s_a: #ffea3a;
	--color-zhe_y_1_p: #ffeba0;
	--color-zhe_y_2_p: #fffded;
	--color-zel_b: #00b050;
	--color-zel_90_b: #e6f7ee;
	--color-zel_s_b: #92d050;
	--color-zel_s_90_b: #f4faee;
	--color-gol_b: #00b0f0;
	--color-gol_90_b: #e6f7fe;
	--color-sin_b: #0070c0;
	--color-sin_90_b: #e6f1f9;
	--color-sin_t_b: #002060;
	--color-sin_t_90_b: #e6e9ef;
	--color-sin_a: #0090e9;
	--color-sin_s_a: #02a8f3;
	--color-fio_b: #7030a0;
	--color-fio_90_b: #f1ebf6;
	--color-kor_b: #964b00;
	--color-kor_90_b: #f5ede6;
	--color-che_b: #000000;
	--color-che_2_b: #000000;
	--color-che_20_b: #333333;
	--color-che_20_2_b: #333333;
	--color-che_50_b: #808080;
	--color-che_70_b: #b3b3b3;
	--color-che_80_b: #cccccc;
	--color-che_90_b: #e6e6e6;
	--color-che_95_b: #f2f2f2;
	--color-bel_b: #ffffff;
	*/
	/*
	--color-kra_b: #ff0000;
	--color-kra_b_80: #ffcccc;	
	--color-kra_b_90: #ffe6e6;
	--color-kra_b_t: #c00000;
	--color-kra_b_t_90: #f9e6e6;
	--color-kra_a: #dc2b00;
	--color-kra_a_s: #ff5621;
	--color-ora_b: #ffc000;
	--color-ora_b_t: #e26b0a;
	--color-ora_b_90: #fff9e6;
	--color-zhe_b: #ffff00;
	--color-zhe_b_90: #ffffe6;
	--color-zhe_a: #ffd500;
	--color-zhe_a_s: #ffea3a;
	--color-zhe_y_1: #ffeba0;
	--color-zhe_y_2: #fffded;
	--color-zel_b: #00b050;
	--color-zel_b_90: #e6f7ee;
	--color-zel_b_s: #92d050;
	--color-zel_b_s_90: #f4faee;
	--color-zel_b_o1: #ebf1de;
	--color-gol_b: #00b0f0;
	--color-gol_b_90: #e6f7fe;
	--color-sin_b: #0070c0;
	--color-sin_b_50: #80b8e0;	
	--color-sin_b_90: #e6f1f9;
	--color-sin_b_t: #002060;
	--color-sin_b_t_90: #e6e9ef;
	--color-sin_a: #0090e9;
	--color-sin_a_s: #02a8f3;
	--color-fio_b: #7030a0;
	--color-fio_b_90: #f1ebf6;
	--color-kor_b: #964b00;
	--color-kor_b_90: #f5ede6;
	--color-che_b: #000000;
	--color-che_b_2: #000000;
	--color-che_b_20: #333333;
	--color-che_b_2_20: #333333;
	--color-che_b_50: #808080;
	--color-che_b_70: #b3b3b3;
	--color-che_b_80: #cccccc;
	--color-che_b_85: #d9d9d9;	
	--color-che_b_90: #e6e6e6;
	--color-che_b_95: #f2f2f2;
	--color-bel_b: #ffffff;
	*/
	--color-kra_b: #ff0000;
	--color-kra_b_50: #ff8080;
	--color-kra_b_80: #ffcccc;
	--color-kra_b_90: #ffe6e6;
	--color-kra_b_t: #c00000;
	--color-kra_b_t_90: #f9e6e6;
	--color-kra_a: #dc2b00;
	--color-kra_a_s: #ff5621;
	--color-ora_b: #ffc000;
	--color-ora_b_50: #ffe080;
	--color-ora_b_80: #fff2cc;
	--color-ora_b_t: #e26b0a;
	--color-ora_b_t_90: #fcf0e7;
	--color-ora_b_90: #fff9e6;
	--color-zhe_b: #ffff00;
	--color-zhe_b_50: #ffff80;
	--color-zhe_b_80: #ffffcc;
	--color-zhe_b_90: #ffffe6;
	--color-zhe_a: #ffd500;
	--color-zhe_a_s: #ffea3a;
	--color-zhe_y_1: #ffeba0;
	--color-zhe_y_2: #fffded;
	--color-zel_b: #00b050;
	--color-zel_b_50: #80d8a8;
	--color-zel_b_80: #ccefdc;
	--color-zel_b_90: #e6f7ee;
	--color-zel_b_s: #92d050;
	--color-zel_b_s_50: #c9e8a8;
	--color-zel_b_s_80: #e9f6dc;
	--color-zel_b_s_90: #f4faee;
	--color-zel_b_o1: #ebf1de;
	--color-gol_b: #00b0f0;
	--color-gol_b_50: #80d8f8;
	--color-gol_b_80: #cceffc;
	--color-gol_b_90: #e6f7fe;
	--color-sin_b: #0070c0;
	--color-sin_b_50: #80b8e0;
	--color-sin_b_80: #cce2f2;
	--color-sin_b_90: #e6f1f9;
	--color-sin_b_t: #002060;
	--color-sin_b_t_90: #e6e9ef;
	--color-sin_a: #0090e9;
	--color-sin_a_s: #02a8f3;
	--color-fio_b: #7030a0;
	--color-fio_b_50: #b898d0;
	--color-fio_b_80: #e2d6ec;
	--color-fio_b_90: #f1ebf6;
	--color-kor_b: #964b00;
	--color-kor_b_50: #cba580;
	--color-kor_b_80: #eadbcc;
	--color-kor_b_90: #f5ede6;
	--color-che_b: #000000;
	--color-che_b_2: #000000;
	--color-che_b_20: #333333;
	--color-che_b_2_20: #333333;
	--color-che_b_50: #808080;
	--color-che_b_60: #999999;
	--color-che_b_70: #b3b3b3;
	--color-che_b_80: #cccccc;
	--color-che_b_85: #d9d9d9;
	--color-che_b_90: #e6e6e6;
	--color-che_b_95: #f2f2f2;
	--color-bel_b: #ffffff;


	--cv-och2: #000;
	--cv-fzhs: #ffee61;
	--cv-fzht: #fd3;
	
	--cv-och: #e6e6e6;
/*	--cv-ob: #1a1a1a;*/
	--cv-pch80o: #4d4d4d;
/*	--cv-pia1: #e5d390;*/
	--cv-pia1: #ffeba0;
	--cv-pch70o: #666;
}

/* fix ck5 picker */
.ck.ck-color-grid__tile {
	height: 25px !important;
	width: 25px !important;
	border-radius: 0 !important;
	margin-bottom: -1px !important;
    margin-left: -1px !important;
}


/*
.ck-color-selector__color-picker {
	display: none !important;
}
*/

/* index h1 --> */
/*.index .col-8 {
    position: relative;
}*/


/* index */
.index h1 {
    position: absolute;
	top: -15px;
    right: calc(var(--bs-gutter-x)* .5);
    /*right: 0;
    font-size: 2em;*/
    z-index: 9;
	font-weight: normal;
	margin-top: 30px !important;
	margin-bottom: 20px !important;*/
}
.index .navbar {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}


/* fix index modal */
.index .modal-body {
	padding: 15px 20px 15px !important;
}
.index .modal-footer {
	padding: .75rem 21px 20px !important;
}
.index .modal-footer>* {
	margin: 0 !important;
}
.index .h20 {
    margin: 14px 0 2px !important;
	display: inline-block;
}


/* Стилизация самого селекта */
.index #tabs {
	/* appearance: none;  Убираем стандартный стиль браузера */
	width: 300px;
	max-width: 300px;
    border-radius: 4px;
    outline: none; /* Убираем обводку при фокусе */
}
/* Стилизация выпадающего списка */
.index #tabs:focus {
    /* ???v7 border-color: red; /* Изменяем цвет границы при фокусе */
}


.index #footer  {
	/*margin-top: 40px;
	margin-bottom: 40px;
	margin-top: 32px;*/
	margin-top: 0;
	margin-bottom: 30px;
}
.index #footer .row:nth-child(1) > div {
    padding-top: 27px;
}
@media (max-width: 689px) {
.index #footer .row:nth-child(1) > div {
    padding-top: 33px;
}
}
/*
@media (max-width: 554px) {
.index #footer .row:nth-child(1) > div {
    padding-top: 33px;
}
}
*/



@media (max-width: 600px) {
/* fix ck5 отображения за видимой областью экрана */
.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne, .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se {
    left: unset !important;
	right: 0 !important;
}
/* fix выхода за границу поля */
.ck.ck-dropdown .ck-dropdown__panel {
    max-width: unset !important;
}
}
@media (max-width: 459px) {
.index h1 {
    display: flex;
    position: relative;	
    justify-content: center;
    padding: 0;
    /*margin: 40px calc(var(--bs-gutter-x)* .5) 10px !important;*/
    margin: 30px 0 4px !important;
    width: 100%;
	right: unset;
	top: -9px;
}
}
/* <-- index */


/* print --> */
#print h1 {
	font-size: 2em;
    font-weight: bold;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    line-height: 1.2;
}
#print.ff_Arial h1 {
	font-family: 'Arial', sans-serif !important;
}
#print.ff_Consolas h1 {
	font-family: 'Consolas', monospace !important;
}
#print.ff_Courier_New h1 {
	font-family: 'Courier New', monospace !important;
}
#print.ff_Lato h1 {
	font-family: 'Lato', sans-serif !important;
}
#print.ff_Montserrat h1 {
	font-family: 'Montserrat', sans-serif !important;
}
#print.ff_Open_Sans h1 {
	font-family: 'Open Sans', sans-serif !important;
}
#print.ff_Roboto h1 {
	font-family: 'Roboto', sans-serif !important;
}

/* <-- print */


.more_btn {
	margin: 10px 0 15px;
}
.more_btn_last {
	margin: 10px 0 5px;
    display: inline-block;
}
.more_dl_block {
	display: block;
	margin-bottom: 5px;
}


.spoilermore {
    overflow: hidden;
    transition: max-height .3s ease;
    max-height: 0;
}

.spoiler.a + .spoilermore {
    max-height: 600px;
}

/* ck5 */

.ck.ck-toolbar {
	border-radius: 4px 4px 0 0 !important;
    border-color: var(--color-che_b_80) !important;
}
.ck.ck-content {
	border-radius: 0 0 4px 4px !important;
    border-color: var(--color-che_b_80) !important;
	transform: none !important;
}

/* |-fix */
.ck.ck-editor__main, .ck.ck-content::before, .ck.ck-content::after {
	transition: none !important;
}

.ck.ck-content a, .ck.ck-content a:hover {
	cursor: pointer !important;
	color: var(--color-sin_b) !important;
	text-decoration: underline !important;
}
.ck.ck-editor__main>.ck-editor__editable {
	transform: none !important;
}
#textarea-cont .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable) {
    border-color: var(--color-sin_b_50) !important;
	box-shadow: none !important;
}
#textarea-cont p:not(:last-child) {
    margin-bottom: 0 !important;
}


/* ck5 icon */
.ck.ck-icon {
    color: var(--color-che_b_50) !important;
	will-change: unset !important;
}
.ck.ck-toolbar__items > .ck.ck-button, .ck.ck-dropdown > .ck.ck-button {
	background: var(--color-bel_b) !important;
	border: 1px solid var(--color-che_b_80) !important;
    height: 30px !important;
    min-width: 30px !important;
}
.ck.ck-toolbar__items > .ck.ck-button:hover, .ck.ck-dropdown > .ck.ck-button:hover {
	background: var(--color-gol_b_90) !important;
	color: var(--color-che_b) !important;
}
.ck.ck-button:hover .ck.ck-icon {
	color: var(--color-che_b) !important;
}
.ck.ck-toolbar__items > .ck.ck-button.ck-on, .ck.ck-dropdown > .ck.ck-button.ck-on, .ck.ck-toolbar__items > .ck.ck-button.ck-on .ck.ck-icon, .ck.ck-dropdown > .ck.ck-button.ck-on .ck.ck-icon  {
    color: var(--color-che_b) !important;
	background: var(--color-gol_b_90) !important;	
}
.ck.ck-toolbar__items > .ck.ck-button.ck-disabled, .ck.ck-dropdown > .ck.ck-button.ck-disabled, .ck.ck-toolbar__items > .ck.ck-button.ck-disabled .ck.ck-icon, .ck.ck-dropdown > .ck.ck-button.ck-disabled .ck.ck-icon {
    color: var(--color-che_b_80) !important;
	background: var(--color-bel_b) !important;
	cursor: default !important;
}
.ck.ck-button.ck-disabled .ck-button__icon, .ck.ck-button.ck-disabled .ck-button__label, a.ck.ck-button.ck-disabled .ck-button__icon, a.ck.ck-button.ck-disabled .ck-button__label {
    opacity: unset !important;
}




/* fix color bag */
.ck-button-save .ck.ck-icon {
	color: var(--ck-color-button-save) !important;
}
.ck-button-cancel .ck.ck-icon {
	color: var(--ck-color-button-cancel) !important;
}


.spr_ico {
  width: 31px;
  height: 31px;
  background: var(--color-bel_b);
  padding: 4px;
  border-radius: 2px;
  border: 1px solid #ccc;
  margin-right: 10px;
}


/* bs5 */

.index #content {
    max-width: 624px;
    position: relative;
	margin-top: 0 !important;
}
/*
.index .container-fluid {
	padding-right: 0 !important;
    padding-left: 0 !important;
}
*/
@media (max-width: 600px) {
/*#content .col-8 {*/
.index #content {
    width: 100%;
}
}


/* ck5 logo */
.ck.ck-powered-by {
	display: none !important;
}
.ck.ck-editor__main>.ck-editor__editable {
	min-height: 700px;
}

.note_icon {
	display: inline-block;
	margin: 0 0 0 5px;
	height: 30px;
	width: 30px;
	border: 1px solid var(--color-che_b_80);
	background: var(--color-bel_b);
	cursor: pointer;
	border-radius: 2px;
	color: var(--color-che_b_50);
	transition: none !important;
}
.note_icon:hover {
	background: var(--color-gol_b_90);
}
.note_icon:hover span {
	color: var(--color-che_b); 
}
.ml10 {
	margin-left: 10px;
}
.note_icon > span {
	display: block;
	height: 26px;
	width: 26px;
	margin: 1px 0 0 1px;
	border: 0;
	color: var(--color-che_b_50);
	fill: currentColor;
	transition: none !important;
}
/*
.note_icon > span:hover {
	color: var(--color-che_b); 	
}
*/
.note_icon svg {
	height: 26px;
	width: 26px;
}
.h20 {
	font-size: 20px;
	font-weight: bold;
	margin: 0 0 10px;
    /*color: #000;*/
}


/* fix --> */

#footer {
	font-size: 14px;
	display: inline-block;
}
#footer button {
	height: auto;
}
#notes {
	display: none; /*for not looooong dl ck5*/
	resize: none;
	padding-bottom: 40px;
}

/* <-- fix */

#screen {
	width:100%;
	height:100%;
	margin:auto auto;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	cursor: pointer;
	z-index: 0;
	}
	* {
		box-sizing: border-box;
		/*transition: all 0.2s ease-in-out;*/
		}
	ul {
		margin: 0;
		padding: 0;
		}
	li {
		margin: 0;
		padding: 0;
	}

#colorWell {
	opacity: 0;
	position: absolute;
    z-index: -1;
	top: -23px;
    left: 0;
	/*top: 15px;
    left: 25px;*/
}
.z9 {
	z-index: 9 !important;
}
#back {
	margin: 0 0 15px;
	cursor: pointer;
	display: inline-block;
	position: relative;
}
#back span:nth-child(2) {
	padding-left: 30px;
}

#screen {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: -1;
}
#abc {
	/*margin: 30px auto;*/
	position: relative;
	z-index: 0;
	/*background: #fbfbfb80;
	color: #000;*/
	/*padding: 1px 20px 10px;*/
	/*box-shadow: 0 0 5px rgba(255,255,255,0.5);*/
	border-radius: 25px;
	overflow: hidden;
}
.root #abc {
	max-height: 480px;
}

body {
	overflow: visible !important;
	padding-right: 0 !important;
	}
.modal-footer {
    border-top: none !important; /* Убираем верхнюю границу у .modal-footer */
}
/* ???????????????????????????????????????????????????????
.modal h2 {
	font-size: calc(1.325rem + .9vw);
}
*/
#tab_rename_info {
	color: var(--color-kra_b);
	margin: 0;
}
#tab_rename_info.active {
	margin: 7px 0 -3px;
    min-height: 24px;
}
#tab_delete_name {
	font-weight: bold;
}
#temp {
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    background: red;
    width: 100%;
    z-index: 1001;
}

.fs_default {
	/*font-size: 1em;*/
	font-size: 14px;
}
.fs_big {
	/*font-size: 1.2em;*/
	font-size: 16px;
}
.fs_small {
	/*font-size: 0.8em;*/
	font-size: 12px;
}

/* --> v2 */

.fs_16 {
	font-size: 16px !important;
}
.fs_18 {
	font-size: 18px !important;
}
.fs_20 {
	font-size: 20px !important;
}
.fs_22 {
	font-size: 22px !important;
}
.fs_24 {
	font-size: 24px !important;
}
.c_000000 {
	color: #000000 !important;
}
.c_1a1a1a {
	color: #1a1a1a !important;
}
.c_333333 {
	color: #333333 !important;
}
.ff_Arial {
	font-family: 'Arial', sans-serif !important;
}
.ff_Consolas {
	font-family: 'Consolas', monospace !important;
}
.ff_Courier_New {
	font-family: 'Courier New', monospace !important;
}
.ff_Lato {
	font-family: 'Lato', sans-serif !important;
}
.ff_Montserrat {
	font-family: 'Montserrat', sans-serif !important;
}
.ff_Open_Sans {
	font-family: 'Open Sans', sans-serif !important;
}
.ff_Roboto {
	font-family: 'Roboto', sans-serif !important;
}

#fontViewer {
	font-size: 16px;
	font-family: Arial, sans-serif;
	/*color: #333333;*/
	margin: 8px 0 -35px;
    line-height: 1.4em !important;
	border: 0;
	width: 100%;
    background: none;
	resize: none;
	outline: none;
    overflow-y: hidden;
	padding: 2px 0;
}

/* v2 <-- */
/* ????????????????????????????????????
option:hover
{
  background: #121212;
  color: #fff;
}
*/

.dn {
	display: none !important;
}
#tab_rename_form {
	display: none;
}

#tab_rename {
	display: inline-block;
	margin: 5px 0;
	/*
    height: 40px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 5px 10px;
    font-size: 20px;
	*/
}

/* settings */

.pr {
position: relative;
}
select {
    padding: 5px;
    /*font-size: 20px;*/
    font-size: 16px;
    height: 40px;
    border-radius: 4px;
	/*max-width: 200px;*/
	max-width: 250px;
    width: 100%;
	color: var(--color-primary);
	cursor: pointer;
	border: 1px solid var(--color-che_b_80);
	background: var(--color-bel_b);
}
select:hover {
	border: 1px solid var(--color-che_b_70);	
}
#abc select {
	margin-right: 10px;
	font-size: 16px;
}


/* ?v7
.settingsViewer {
	font-size: 16px;
	margin: 10px 0 0 0;
	display: block;
}
#backgroundColorViewer {
	display: block;
	width: 100px;
	height: 100px;
	margin: 10px 0;
	background-color: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
}
*/

#screen {
	width:100%;
	height:100%;
	margin:auto auto;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: -1;
}

/*
.dn {
display: none !important;
}
*/
button {
    padding: 5px 30px;
    font-size: 20px;
    height: 40px;
    border-radius: 3px;
    border: 0;
    background: #000;
    color: #fff;

}
/* v7
#settings_save_btn {
    margin: 0 0 15px;
}
*/
.settings_info {
	font-size: 20px;
	font-weight: bold;
    color: var(--color-zel_b);;
	opacity: 0;
	/*margin: 15px 0 0;*/
    margin: 9px 0 13px;
    display: block;
}
#settings_info_save, #settings_info_default {
    display: none;
}
/* v7
.default_btn, #default_all {
    border-bottom: 1px dashed;
    margin-left: 10px;
    cursor: pointer;
	display: inline-block;
}
.default_btn:hover, #default_all:hover {
    color: #ff3300;
}
#default_all {
	margin: 20px 0;
	display: inline-block;
}
.default_btn {
    border-bottom: 1px dashed;
    margin-left: 10px;
    cursor: pointer;
	display: inline-block;
}
.default_btn:hover {
    color: #ff3300;
}
*/


.settings_default_all {
	float: right;
}
.settings_info {
    opacity: 0;
    transition: opacity 0.3s ease; /* Плавное появление и исчезновение */
}
.settings_info.visible {
    opacity: 1;
}


.dashed-underline {
	position: relative;
	display: inline-block;
	color: var(--color-sin_b) !important;
	text-decoration: none;
	/*margin-left: 10px;*/
	margin: 10px 0 0;
    cursor: pointer;
	top: -1px;
}
.dashed-underline::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px; /* Adjust the position */
	border-bottom: 1px dashed;
	height: 0;
	border-color: var(--color-sin_b) !important;
}
.dashed-underline:hover {
	color: var(--color-zel_b) !important; /* Change text color on hover */
}
.dashed-underline:hover::after {
	border-color: var(--color-zel_b) !important; /* Change underline color on hover */
}
.dashed-img, .dashed-img:hover {
    /*margin: 0 0 24px;*/
    margin: 0;
    /*top: -7px;*/
	text-decoration: none;
}

/* index */

						select {
						padding: 5px;
						/*font-size: 20px;*/
						font-size: 16px;
						height: 40px;
						/*border-radius: 3px;*/
						border-radius: 4px;
						}
						button {
						padding: 5px;
						font-size: 20px;
						height: 40px;
						/*border-radius: 3px;*/
						border-radius: 4px;
						border: 0;
						background: #000;
						color: #fff;
						}
						
						
						.cke {
						min-height: 700px;
						}
		
.textarea-cont textarea {
    margin-bottom: 4px;
    overflow: hidden;
    line-height: 1.4!important;
    min-height: 700px;
    height: 100%;
}

#tab_delete_alert {
    width: 320px;
    height: 160px;
    font-size: 18px;
    border: 1px solid #ccc;
    background: #fbfbfb;
    position: fixed;
    border-radius: 5px;
    top: 200px;
    left: 43%;
    padding: 15px;
	box-shadow: 0 0 5px #ccc;
	display: none;
}

/* lang_select */

select#lang {
	width: auto;
    font-size: 16px;
    height: 32px;
}

/* fix bs3 */

label {
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}
/*h1, .h1, h2, .h2, h3, .h3 {*/
#abc h1, #abc .h1, #abc h2, #abc .h2, #abc h3, #abc .h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}
.form-horizontal .form-group {
    margin: 10px 0;
}
.form-group {
    margin-bottom: 15px;
}

/* share */

.ya-share2__container_size_s .ya-share2__title, .ya-share2__container, .ya-share2__container .ya-share2__item {
    font-size: 16px !important;
    font-family: Arial !important;
}

/* fix form-contacts*/
#form-contacts .col-md-3 {
	padding: .375rem 0 0 !important;
}

/* fix temp */
    input:focus,
    textarea:focus,
    select:focus,
    input:hover,
    textarea:hover,
    select:hover,
    input, textarea, select {
    box-shadow: none !important;
    outline: none !important;
}

/* Убираем размытие на полях input и кнопках в модальных окнах */
.modal input, .modal button, .modal input:hover, .modal button:hover, .modal input:focus, .modal button:focus {
    box-shadow: none !important;
    /*outline: none !important;*/
}


/* Страница «Справка» */
.spr_1 {font-weight: bold;}
.spr_2 {list-style-type: none;}
.spr_3 {position: relative; top: 0px;}
.spr_4 {margin-top: -9px;}

/* Fix "long words" */
.long-text {
    word-break: break-all;
}

.share {
    margin: 0 6px 0 5px;
}

/* Fix "margin" */
.mb01 {
	margin-bottom: -1px !important;
}
.mb05 {
	margin-bottom: -5px !important;
}
.mb06 {
	margin-bottom: -6px;
}
.mt01 {
	margin-top: -1px !important;
}
.mt08 {
	margin-top: -8px !important;
}
.kra_b2 {
	color: var(--color-kra_b) !important;
	margin-bottom: 5px !important;
}
.zel_fix {
	margin-bottom: 5px !important;
}


/* 6 пакет правок */
.spr_2 .pswp-gallery {
	overflow: hidden;
	/*text-overflow: ellipsis;
	white-space: nowrap;*/
	word-break: break-all;
}
.more_dl_format {
	margin-top: 2px;
}
#dl_format {
	width: 150px;
}
.more_dl_block.fix-p6-index-1 > div {
	margin-top: 2px;
	margin-bottom: 3px;
}
.more_dl_block.fix-p6-index-2 > div {
	margin-top: 7px;
	margin-bottom: 3px;
}


/* 6+ пакет правок */
.fix-p6-404-1 {
	line-height: 2;
}
.fix-p6-contacts-1 {
	margin-top:6px;
}
.fix-p6-settings-1 {
	height:7px;
}
.fix-p6-settings-2 {
	margin-top:26px;
	margin-bottom:-8px;
}
.fix-p6-settings-3 {
	margin-top:-15px;
	margin-bottom:-28px;	
}
.fix-p6-settings-4 {
	margin-top: 7px;
	margin-bottom:17px;
}
.fix-p6-settings-5 {
	margin-top:-15px;
	margin-bottom:-21px;
}
.fix-p6-settings-6 {
	margin-top:-15px;
	margin-bottom:2px;	
}
.fix-p6-settings-7 {
	margin-top:-39px;
	margin-bottom:-8px;
}
.fix-p6-settings-8 {
	margin-top: 20px;
	margin-bottom:-8px;
}
.fix-p6-settings-9 {
	margin-top:-15px;
	margin-bottom:11px;
}
.fix-p6-settings-10 {
	margin-right: 10px;
}
.fix-p6-settings-11 {
	margin-top:-24px;
	margin-bottom:-8px;
}
.fix-p6-settings-12 {
	margin-top:-14px;
	margin-bottom:0;
}
.fix-p6-settings-13 {
	height:35px;
}
.fix-p6-settings-14 {
	margin-top: -5px;
}
#wrap.contacts #fix-contacts-h2-3 {
    margin-top: 28px !important;	
}


/* 7 пакет правок: новые стили */

/* Заголовки */
#wrap:not(.index) #content h1 {font-size: 24px !important; font-weight: bold !important; line-height: 31px !important;}
#wrap #content h2 {font-size: 20px !important; font-weight: bold !important; line-height: 26px !important;}
#wrap #content h3 {font-size: 16px !important; font-weight: bold !important; line-height: 21px !important;}

/* Текст и элементы */
#wrap #content p {line-height: 24px !important;}
#wrap #content p + p, #wrap #content p + ul, #wrap #content p + ol {margin-top: -1px !important;} 

/* Списки */
#wrap #content li {line-height: 24px !important;}
#wrap #content li + li {margin-top: 7px !important;}

/* Заголовки и элементы */
#wrap #content h1 + p, #wrap #content h1 + ul, #wrap #content h1 + ol {margin-top: -5px !important;}
#wrap #content h2 + p, #wrap #content h2 + ul, #wrap #content h2 + ol {margin-top: -8px !important;}
#wrap #content h3 + p, #wrap #content h3 + ul, #wrap #content h3 + ol {margin-top: -11px !important;}

/* Элементы и заголовки */
#wrap #content p + h1, #wrap #content ul + h1, #wrap #content ol + h1 {margin-top: 34px !important;}
#wrap #content p + h2, #wrap #content ul + h2, #wrap #content ol + h2 {margin-top: 28px !important;}
#wrap #content p + h3, #wrap #content ul + h3, #wrap #content ol + h3 {margin-top: 22px !important;}

/* Заголовки и заголовки */
#wrap #content h1 + h2 {margin-top: 19px !important;}
#wrap #content h2 + h3 {margin-top: -1px !important;}


/* 7 пакет правок: fix */
#content img {
    max-width: 100%;
}
#wrap #content h2:not(.modal-title) {
    margin-bottom: 1rem !important;
}
#wrap:not(.index) #content h1, #wrap:not(.index) #content .h1 {
	margin-bottom: 11px !important;
}
.help #content img {
	margin: 7px 0 -2px !important;
}
.help #content iframe {
	margin-bottom: 24px !important;
}
.thanks #content img {
	margin: 8px 0 -2px !important;
}
.contacts #content h2 {
	padding-top: 0 !important;
}
#wrap #content .settings_btn_top.mb05 {
    margin-bottom: -8px !important;
}
.error404 #content img {
	margin: 12px 0 -2px !important;
}
.error404 #footer {
    margin-top: 244px !important;
}
#footer {
    margin-top: 83px;
}
#info-li-p {
	margin-top: -11px;
	margin-bottom: 17px;
}
#wrap #content #info-li-p p {
	margin-bottom: 8px;
	line-height: 24px !important;
}
.index .copyright, .settings .copyright {
	margin-top: 12px !important;
}
.info #content ol li:last-child {
    margin-bottom: -1px !important;
}

/* fix index modal-dialog */
/* index */


/* index limit */
#wrap.index #content #tabsLimitModal .modal-header {
    padding-bottom: 15px !important;
}
#wrap.index #content #tabsLimitModal .modal-body {
	padding-top: 12px !important;
}
#wrap.index #content #tabsLimitModal p {
	line-height: 23px !important;
}
#wrap.index #content #tabsLimitModal p:last-child {
	margin-bottom: -3px !important;
}
#wrap.index #content #tabsLimitModal .modal-footer {
	padding-bottom: 21px !important;
}


/* index rename */
#wrap.index #content #settingsModal .modal-header {
    padding-top: 15px !important;
}
#wrap.index #content #settingsModal .modal-body {
	margin-top: 1px !important;
	padding: 15px 21px 14px !important;
}
/*
#wrap.index #content #settingsModal .modal-body:is(#tab_rename_info.active) > #wrap.index #content #settingsModal .modal-footer {
    padding: .75rem 21px 21px !important;
}
*/



/* index delete */
#wrap.index #content #deleteModal .modal-header {
    padding-top: 15px !important;
}
#wrap.index #content #deleteModal div.col {
	margin-top: -3px !important;
    margin-bottom: -4px !important;
}


/* help */
.help .fix-help-h2-1 {
	margin-top: 28px !important;
}
.help .long-text {
    margin-top: -1px !important;
}
.help iframe {
	max-width: 100%;
}


/* info */
.info #info-li-p > div {
	clear: both;
}
.info #info-li-p > div div:nth-child(1) {
	float: left;
	padding-right: 5px;
}
.info #info-li-p > div div:nth-child(2) {
	min-height: 31px;
	padding: 3px 0;
}


/* mobile fix */
@media (max-width: 767px) {
#wrap.contacts #fix-contacts-h2-3 h2 {
    margin-bottom: -9px !important;	
}
}
@media (max-width: 640px) {
#wrap:not(.thanks)#footer {
    margin-top: 90px !important;
}
#wrap.thanks #footer {
    margin-top: -6px !important;
}
#wrap.index #content #tabsLimitModal .modal-header {
    padding-bottom: 16px !important;
}
#wrap:not(.index) #footer {
    margin-top: 90px !important;
}
#wrap.thanks #footer {
    margin-top: -7px !important;
}
}
