ul.no-margin {margin: 0; padding: 0;}
ul.inline li {display: inline; list-style: none;}

.CP {cursor: pointer;}

.VT, .VA_T{vertical-align:top;}
.VB, .VA_B{vertical-align:bottom;}
.VM, .VA_M{vertical-align:middle;}

.TL {text-align: left;}
.TC {text-align: center;}
.TR {text-align: right;}

.FL_L {float: left;}
.FL_R {float: right;}

.PR {position: relative;}
.PA {position: absolute;}

.M0 {margin: 0;}
.M5 {margin: 5px;}
.M5w {margin-left: 5px; margin-right: 5px;}
.M5h {margin-top: 5px; margin-bottom: 5px;}
.M10 {margin: 10px;}
.M10w {margin-left: 10px; margin-right: 10px;}
.M10h {margin-top: 10px; margin-bottom: 10px;}
.M15 {margin: 5px;}
.M15w {margin-left: 15px; margin-right: 15px;}
.M15h {margin-top: 15px; margin-bottom: 15px;}
.M20 {margin: 10px;}
.M20w {margin-left: 20px; margin-right: 20px;}
.M20h {margin-top: 20px; margin-bottom: 20px;}
.MA {margin: 0 auto;}

.P0 {padding: 0;}
.P5 {padding: 5px;}
.P5w {padding-left: 5px; padding-right: 5px;}
.P5h {padding-top: 5px; padding-bottom: 5px;}
.P10 {padding: 10px;}
.P10w {padding-left: 10px; padding-right: 10px;}
.P10h {padding-top: 10px; padding-bottom: 10px;}
.P15 {padding: 15px;}
.P15w {padding-left: 15px; padding-right: 15px;}
.P15h {padding-top: 15px; padding-bottom: 15px;}
.P20 {padding: 20px;}
.P20w {padding-left: 20px; padding-right: 20px;}
.P20h {padding-top: 20px; padding-bottom: 20px;}


.D_BL, .block_element, .block_el{display: block;}
.main_only, .D_NO, .hidden, .invisible {display: none;}

.h10 {height: 10%;}
.w10 {width: 10%;}
.h20 {height: 20%;}
.w20 {width: 20%;}
.h25 {height: 25%;}
.w25 {width: 25%;}
.h30 {height: 30%;}
.w30 {width: 30%;}
.h40 {height: 40%;}
.w40 {width: 40%;}
.h50 {height: 50%;}
.w50 {width: 50%;}
.h75 {height: 75%;}
.w75 {width: 75%;}
.h85 {height: 85%;}
.w85 {width: 85%;}
.h90 {height: 90%;}
.w90 {width: 90%;}
.h100 {height: 100%;}
.w100 {width: 100%;}


.flex_block
, .flexblock
, .flex-block
, .flex-bl
, .flex
, .Flx
 {display: flex;}

.flex.wrap {flex-wrap: wrap;}
.flex.TC {justify-content: center;}
.flex.TR {justify-content: right;}
.flex.TL {justify-content: left;}
.flex.TJ, .flex.TB {justify-content: space-between;}

.small_text {font-size: 75%;}
.medium_text {font-size: 90%;}

.Upper, .upper, .UP, .up {text-transform:uppercase;}


.submodules_name {
	font-family: tahoma, Arial, sans-serif;
	font-weight: bold;
	font-size: 11px;
	color: #414755;
	text-decoration: none;
}

.blue_table_title, .blue_table_title > a {
	font-family: tahoma, Arial, sans-serif;
	font-weight: bold;
	font-size: 11px;
	color: #FFFFFF;
	text-decoration: none;
}

.blue_table_text {
	font-family: tahoma, Arial, sans-serif;
	font-weight: bold;
	font-size: 11px;
	color: #474750;
	text-decoration: none;
}
.blue_table_text a {color: #2424DD;}

.blue_table_comments {
	font-family: arial;
	font-size: 10px;
	color: #474750;
	text-decoration: none;
}

.blue_text {
	font-family: tahoma, Arial, sans-serif;
	font-weight: bold;
	font-size: 11px;
	color: #88A9FF;
	text-decoration: none;
}

.btn_text {
	font-family: tahoma, Arial, sans-serif;
	font-size: 10px;
	font-weight:normal;
	color: #414755;
	text-decoration: none;
}

div.btn_text {
    text-align: center;
    padding-top: 1px;
    display: inline-block;
    cursor: pointer;
    background: #d3e2ff;
    padding: 0 7px;
    border-top: 2px solid #eaeef7;
    border-left: 2px solid #f0f0f0;
    border-right: 2px solid #9c9c9c;
    border-bottom: 2px solid #9c9c9c;
}
div.btn_text:hover {color: #5182ff;}
div.btn_text:active {
    color: #6c7488;
    border-top: 2px solid #9c9c9c;
    border-left: 2px solid #9c9c9c;
    border-right: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

div.btn_text.top_line {
    padding-top: 1px;
    color: #6682ca;
    border: 1px solid #fff;
    background: transparent;
    text-transform: uppercase;
    padding: 3px 9px;
}
div.btn_text.top_line:hover {color: #5182ff; border: 1px solid #839de0;}
div.btn_text.top_line:active {color: #143da2; border: 1px solid #143da2;}
div.btn_text.top_line.active {color: #143da2; border: 1px solid #143da2; cursor: default;}

div.top_line.top_ico {vertical-align: sub;}

div.global_debug div.btn_text {background: #fff; text-align: left;}
div.global_debug div.btn_text:hover {color: #333}


button.blue {background-color: #D3E2FF; min-height: 25px; min-width: 95px; white-space: nowrap;}
button.btn_text {
	margin: 0 0.2rem;
	vertical-align: middle;
}


.text-light 
, .text_light 
{color: #88174A;}
.text-light a
, .text_light a
{color: #88174A; text-decoration:none;}
.text-light a:hover
, .text_light a:hover
{color: #A000BB; text-decoration:none;}

.text-hilight, a.text-hilight
.text_hilight, a.text_hilight
, .attention, a.attention
 {
    color: red;
    text-shadow: 0 0 2px yellow;
    text-decoration:none;
}

.text-light a:hover
.text_light a:hover
, a.text-hilight:hover
, a.text_hilight:hover
, a.attention:hover
{text-decoration:underline;}


.tree_body *{
		font-family: tahoma, Arial, sans-serif;
		color:#414755;
		font-size: 10px;
		text-decoration:none;
	}
.tree_body a:hover *{color:#6699FF;}
span.tree_current, span.tree_normal {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    white-space: nowrap;
    max-width: 250px;
    /*max-width: 100%;*/
}

.small_text{
	font-family: tahoma, Arial, sans-serif;
	font-weight: bold;
	font-size: 10px;
	color: #000000;
	text-decoration: none;
}

a {color:#3333FF;}
a:hover {color:#6699FF;}

table.table_border td {
 border: 1px solid #E6EDFF;
 padding: 5px;
 border-spacing: 0px;
}

table.table_border {
 border-collapse: collapse;
}

table.table_clear {
 border-collapse: collapse;
}

table.no_border {
 border-collapse: collapse;
 border: 0px;
}

table.table_clear td {
 border: 0px;
 padding: 5px;
 border-spacing: 0px;
}


.with_highlight:hover {background-color: #E6EDFF;}


.emptystyle {
	font-family: Tahoma, Arial, sans-serif;
	font-size:11px;
	color:#C4D3F3;
}

.fullstyle {
	font-family: Tahoma, Arial, sans-serif;
	font-size:11px;
	color:#6699FF;
}

.icompletestyle {
	font-family: Tahoma, Arial, sans-serif;
	font-size:11px;
	color:#DB9B7F;
}

.validator_error {
	font-family: tahoma, Arial, sans-serif;
	font-weight: bold;
	font-size: 11px;
	color: #CD0000;
	text-decoration: none;
}

.w100{width: 100%;}
.h100{height: 100%;}

#article_ico {cursor:pointer; max-width: 200px; max-height: 190px;}
#section_ico {cursor:pointer; max-width: 300px; max-height: 200px;}

.arrow_btn {width: 23px;}

.tree_current{background-color: #E6EDFF; color: #0060FF; font-weight: bold; padding: 1px 3px 2px;}
.tree_current.inactive_current {color: #555; background-color: #e7e7e7;}
.tree_normal.inactive {color: #999;}

.articles_actions #toggle_img {
	margin: 2px 0;
	width: 13px;
	height: 13px;
	float: left;
	background-image: url(/ico/checkbox_active.png);
	background-repeat: no-repeat;
}
.articles_actions #toggle_img.activate {
	background-image: url(/ico/checkbox_inactive.png);
}


body.admin {background: #fff url("/images/bg_paper.gif");}
/* стили страницы входа */
body.login {background: #ffa52b url(/images/login_bg.jpg) center no-repeat;}
body.login a.back_url {color: #FFF9A7; font-size: 12px}
body.login a.back_url:hover {color: #fff;}


/* стили для списка статей*/

	#DivEx_articles > table td.blue_table_title {
		white-space: normal;
		width: 100%;
		padding: 0.4em;
		height: 1rem;
	}

	#DivEx_articles > table td:nth-child(3) {
	  /*display: none;*/
	  white-space: nowrap;
	}

	.blue_table_title.article_link .article_title {padding: 7px;}
	.blue_text.article_link > a {
		display: flex;
		height: 100%;
		box-sizing: border-box;
		flex-direction: column;
		justify-content: center;
		padding: 10px;
	}
	.article_link img {max-height: 14vh;}

/* стили для шаблонов */
	/* select project tpl */
		#project_select #project_team {width: 450px;}
		#project_select #section_link {width: 300px;}

	/* edit Article tpl */
		#art_icon_td {padding:15px; height:190px;position:relative;}

		.main_table_border {border: 1px solid #B2C9FF;}
		#article_edit #td__so-so_1 {border-bottom: 0px;}
		#article_edit #top_arr_icon__so-so {padding:12px 2px 0px 8px;}
		#article_edit .up_btn {padding-right:8px; width: 20px; cursor:pointer}
		#article_edit #td__so-so_2 {border-top: 0px; border-bottom: 0px;}
		#article_edit #restore_img {width: 20px; display: none;}
		#article_edit #art_div {display:none}
		#article_edit .blue_table_text.auto_el_1 {padding:15px 60px 15px 15px;}
		#article_edit .blue_table_text.auto_el_2 {padding:15px;}
		#article_edit #description {padding:10px 15px 0px 16px;}
		#article_edit .mceEditor_cover {padding:15px 10px 10px 10px;}
		#article_edit .mceEditor {width: 90%; height: 600px}
		#article_edit .section_link_btn {width:70px;}
		#article_edit .btn_text {min-width:50px}
		#article_edit #section_link {width:500px;}
		#article_edit #order_num {width:35px;vertical-align:middle;}
		#article_edit #SaveBtn {vertical-align:middle;padding:2px 1em;}
		#article_edit #CancelBtn {background-color:#D3E2FF;height:25px;width:75px;}
		#article_edit .submodules_name div.option {display: inline-block;}



		/* стили для размерности контент-блока*/
			#mce_editor_0_parent {
			  display: block;
			  width: 100%;
			  max-width: 1800px;
			}
			#mce_editor_0_parent > table.mceEditor {
			  width: 100% !important;
			}
			iframe#mce_editor_0 {
			  width: 100% !important;
			}

		#debug {display:none; border:1px dashed red; margin:2px}
		#dbg {color:red}



.global_debug {
	display: none;
}