*{
	margin: 0;
	padding: 0;
}

* {
    box-sizing: border-box;
}

html{
	height: 100%;
	
}




html {
  overflow-x: hidden;
  margin-right: calc(-1 * (100vw - 100%));
}



body {
	font-family: arial, "Trebuchet MS", Verdana, geneva, san-serif;
	display: flex;
	flex-direction: column;
	height: 100%;
	//background:    #C1FFC1; 
	//word-break: break-all;
	max-width: 1200px;
	margin: auto;
	

}

figure {
	text-align: center;
}


#row_description_id{
	display: none;
}


/*Все ссылки начало*/
a{
	text-decoration: none;
	//color: #336600;
}	

a:hover {
	//opacity: 0.5;	
	cursor: pointer;
	text-decoration: underline;
}

a:visited{
	color: black;
}
/*Все ссылки конец*/


.header {
	//background: #00CD66;
	background: linear-gradient(to top, #336600, #00CD66,  #336600);
	flex: 0 0 auto;
	padding: 5px;
	text-align: center;
	margin: 20px 0 0 0;
	border-top-left-radius: 5px; 
	border-top-right-radius: 5px;
	font-size: 14px;
}

/*Меню??? типа на главной странице начало ПЕРЕДЕЛАТЬ НАФИГ!!! БАРДАК!!!!*/
.menu_new{
	margin: 0 10px;
	padding: 5px;
	text-align: center;
	font-size: 12px;
	border-style: solid;
	border-width: 1px;
	border-color: #336600;
	border-radius: 2px;
}

.menu_main{
	font-size: 14px;
	margin: 0 10px 5px 10px;
	padding: 5px;
	text-align: center;
	border-style: solid;
	border-width: 1px;
	border-color: #336600;
	border-radius: 2px;
	flex: 0 0 auto;

}

.menu_main_last{
	font-size: 14px;
	margin: 0 10px 5px 10px;
	padding: 5px;
	text-align: center;
	border-style: solid;
	border-width: 1px;
	border-color: #336600;
	border-radius: 2px;
	flex: 1 0 auto;

}

.menu_main form input[type = text], 
.menu_main form input[type = password], 
.menu_main form input[type = email]  {
	padding: 5px;
	margin: 5px;
	width: 125px;
	font-size: 14px;
	border-style: solid;
	border-width: 1px;
	border-color:  #336600;
}

.menu_main form input[type = submit]{
	margin: 8px;
	width: 100px;
	font-size: 14px;
	border-style: solid;
	border-width: 1px;
	border-color: #336600;
	border-radius: 2px;
	//background: radial-gradient(white, #00CD66, #336600);
	background: linear-gradient(to top, #336600, #00CD66,  #336600);
}

/*Меню??? типа на главной странице конец Переделать!!!!*/


.main {
	display: flex;
	flex: 1 0 auto;
	font-size: 14px;
	background: white;
	line-height: 1.5;
	
	
}

main{
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	background: white;
}


.footer {
	background:  #00CD66;
	flex: 0 0 auto;
	padding: 5px;
	text-align: center;
	margin: 0 0 20px 0;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	font-size: 14px;
}

.sb{
	max-width: 210px;
	min-width: 210px;
	display: flex;
	padding: 5px 0;
	display: flex;
	flex-direction: column;
	
	
}


.content_main{
	width: 100%;
	padding: 10px 0 10px 0;
	text-align: justify;
	text-indent: 20px;
	
}

.content{
	display: flex column;
	width: 100%;
	padding: 10px;
	text-align: justify;
	text-indent: 20px;
	
}

.content_adm{
	display: flex;
	flex-direction: column;
	width: 85%;
	font-size: 16px;
	//border: 1px solid black;
	padding: 5px;
}

.content_left{
	display: flex;
	width: 50%;
	padding: 5px;
	//text-align: center;
	border: 1px solid black;
}

.content_right{
	display: flex;
	width: 50%;
	padding: 5px;
	//text-align: center;
	border: 1px solid black;
	
}

.content_bottom{
	display: flex;
	flex: 0 0 auto;
	width: 100%;
	//border: 1px solid black;
	background: white;
	justify-content: center;
	
}

/*Все заголовки*/
h1,h2, h3, h4, h5 {
	text-align: center;
	margin: 5px 0;	
}

/*Все таблицы начало*/

table {
	border: 1px solid grey;
	width: 100%;
	text-align: center; 
	font-size: 13px;
	text-indent: 0;
}
 
th, td {
	border: 1px solid grey;
	padding: 5px;
}

/*Все таблицы конец*/

.reg, .adm, .contact{
text-indent: 0;
text-align: center;

}




/*Все пагинаторы начало*/
.pag{
	flex: 0 0 auto;
	background: white;
	padding: 15px;
	font-size: 16px;
	//font-weight: bold;
}
/*Все пагинаторы конец*/



/*Кнопка подгрузки новостей в главной форме*/
.b_news{
	text-align: center;
}



/*Крутое меню*/

.n_menu{
	flex: 0 0 auto;	
	//border-style: solid 10px black;
	background: #00CD66;
	margin: 5px 0 0 0;
	
}

.dws-menu{
	max-width: 1100px;
	min-width: 600px;
	
}

.dws-menu ul,
.dws-menu ol
{
	list-style: none;
}

.dws-menu > ul{
	display: flex;
	//justify-content: center;
}

.dws-menu > ul li a{
	display: block;
	background: linear-gradient(to top, #336600, #00CD66, white, #00CD66, #336600);
	//background: radial-gradient(white, #00CD66, #336600);
	//background: #00CD66;
	padding: 8px 10px 8px 10px;
	font-size: 14px;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.dws-menu > ul li {
	position: relative;
	border-right: 1px solid #336600;
}

.dws-menu > ul li:first-child {
	border-left: 1px solid #336600;
}

.dws-menu > ul li:last-child {
	border-right: 1px solid #336600;
}

.dws-menu  ul a:hover {
	background: #336600;
	color: white;
	//box-shadow: 1px 5px 10px -5px black;
	transition: all 0.3s ease;
}

/*Крутое подменю */
.dws-menu  li  ul{
	position: absolute;
	min-width: 180px;
	display: none;
}

.dws-menu  li > ul li{
	border: 1px solid #336600;
}

.dws-menu  li > ul li a{
	padding: 8px 10px 8px 10px;
	text-transform: none;
	font-size: 14px;
	//background: radial-gradient(white, #00CD66, #336600);
	background: linear-gradient(to top, #336600, #00CD66, white, #00CD66, #336600);
	

	//background: #00CD66;
	word-wrap: break-word;
}

.dws-menu  li > ul li ul{
	position: absolute;
	right: -180px;
	top:0;
}

.dws-menu  li:hover > ul{
	display: block;
}

	


/*Банер на главной странице начало*/
/*
.a_bg{
	padding: 5px 0;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	margin: 0 0 10px 0;
	border-style: solid;
	border-width: 1px;
	border-color: red;
	background: linear-gradient(45deg, #336600, #00CD66,  #336600);
	background-size: 400% 400%;
	animation: jopa 5s ease infinite;
	
}

@keyframes jopa {
	0% {
		background-position: 0 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0 50%;
	}
}
*/
/*Банер на главной странице конец*/


/*Форма инвентаризации начало*/



.f_main{
	display: flex;
	flex-direction: column;
	text-align: center;
	//border: 1px solid green;
	//border-radius: 0 0 5px 5px;
}




/*Все формы с гридами начало*/
/*Идея в том, чтобы использовать эти стили для любых форм с гридами.*/
/*1. Делаем обертку грида в виде FB-контейнера с вертикальным направление оси.*/
/*2. Делаем две горизонтальных блока для заголовков и для строк. Они отличаются фоном.*/
/*3. Делаем большое количество блоков звголовков и колонок разного размера. Из них собираем колонки грида.*/
/*4. По мере надобности добавляем колонки нового размера.*/
/*ПЕРЕДЕЛАТЬ НА АДАПТИВНЫЙ ГРИД*/


/*Обертка грида*/
.content_grid{
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	width: 100%;
	margin: 10px 0;
	background: white;
}


/*Блок с заголовком грида */
.grid_head{
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 5px;
	flex: 0 0 auto;
}

.grid_head p{
	font: 24px bold arial;
	margin: 5px;
}

.excel input:hover{
	cursor: pointer;
	background:  #00CD66;
}

.del input:hover{
	cursor: pointer;
	background:  red;
	color: white;
}


/*Для отладки*/
.content_grid div{
	//border: 1px solid black;
}

/*Блок для заголовков*/
.row_grid_head{
	display: flex;
	//border: 1px solid blue;
	margin: 0 1px;
}

/*Собственно сами заголовки*/
.row_grid_head  div{
	background:  #CFCFCF;
	border: 1px solid black;
	margin: 1px 1px;
	padding: 3px;
	font-size: 13px;
	word-break: break-all;
	
	
}

/*Обертка для строк*/
.row_grid_wrap{
	display: flex;
	flex-direction: column;
	
}

/*Блок для строк*/
.row_grid{
	display: flex;
	margin: 0 1px;
}

/*Собственно сами строки*/
.row_grid  div{
	border: 1px solid black;
	margin: 1px 1px;
	padding: 3px;
	font-size: 13px;
	word-break: break-all;
}

/*Блок с подвалом грида */
.grid_bottom{
	display: flex;
	justify-content: space-around;
	//padding: 10px;
	
}

/*Колонки для заголовков и строк. Новые добавлять сюда, вниз списка.*/
.col_grid25{
	min-width: 25px;
	max-width: 25px;
}

.col_grid30{
	min-width: 30px;
	max-width: 30px;
}

.col_grid30_c{
	min-width: 30px;
	max-width: 30px;
	text-align: center;
}
.col_grid40_c{
	min-width: 40px;
	max-width: 40px;
	text-align: center;
}

.col_grid40{
	min-width: 40px;
	max-width: 40px;
}

.col_grid50{
	min-width: 50px;
	max-width: 50px;
}

.col_grid50_c{
	min-width: 50px;
	max-width: 50px;
	text-align: center;
}

.col_grid60{
	min-width: 60px;
	max-width: 60px;
}

.col_grid60_c{
	min-width: 60px;
	max-width: 60px;
	text-align: center;
}

.col_grid70{
	min-width: 70px;
	max-width: 70px;
}

.col_grid70_c{
	min-width: 70px;
	max-width: 70px;
	text-align: center;
}


.col_grid80{
	min-width: 80px;
	max-width: 80px;
}

.col_grid80_c{
	min-width: 80px;
	max-width: 80px;
	text-align: center;
}

.col_grid90{
	min-width: 90px;
	max-width: 90px;
}

.col_grid100{
	min-width: 100px;
	max-width: 100px;
}

.col_grid100_c{
	min-width: 100px;
	max-width: 100px;
	text-align: center;
}


.col_grid110{
	min-width: 110px;
	max-width: 110px;
}

.col_grid110_c{
	min-width: 110px;
	max-width: 110px;
	text-align: center;
}

.col_grid120{
	min-width: 120px;
	max-width: 120px;
}

.col_grid130{
	min-width: 130px;
	max-width: 130px;
}

.col_grid130_c{
	min-width: 130px;
	max-width: 130px;
	text-align: center;
}

.col_grid140{
	min-width: 140px;
	max-width: 140px;
}

.col_grid140_c{
	min-width: 140px;
	max-width: 140px;
	text-align: center;
}

.col_grid150{
	min-width: 150px;
	max-width: 150px;
}

.col_grid150_c{
	min-width: 150px;
	max-width: 150px;
	text-align: center;
}

.col_grid200{
	min-width: 200px;
	max-width: 200px;
}

.col_grid200_c{
	min-width: 200px;
	max-width: 200px;
	text-align: center;
}

.col_grid210{
	min-width: 210px;
	max-width: 210px;
}

.col_grid210_c{
	min-width: 210px;
	max-width: 210px;
	text-align: center;
}

.col_grid220{
	min-width: 220px;
	max-width: 220px;
}

.col_grid250{
	min-width: 250px;
	max-width: 250px;
}

.col_grid_wm{
	width: 100%;	
}


.col_grid_wm_c{
	width: 100%;
	text-align: center;	
}

/*Все формы с гридами конец*/




/*Личный кабинет начало*/


/*Табы в личном кабинете начало*/

.wrapper{
	max-width: 1200px;
	padding-top: 10px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.tabs_triggers {
	display: flex;
	flex: 0 0 auto;
}

.tabs_triggers_item{
	flex-grow: 1;
	text-align: center;
	padding: 12px;
	text-decoration: none;
	border: 1px solid green;
	border-radius: 5px 5px 0 0;
}

.tabs_triggers_item_active{
	background-color: #C1FFC1;
	border-bottom:none;
}

.tabs_content{
	display: flex;
	flex: 1 0 auto;
	
}

.tabs_content_item{
	display: none;
	background-color: #C1FFC1;
	padding: 5px;
	border: 1px solid green;
}

.tabs_content_item_active{
	display: block;
	flex-grow: 1;
	border-top: none;
	
	
}
/*Табы в личном кабинете конец*/

/*Манколист в личном кабинете начало*/

.mlist{
	border: 1px solid green;
	//background-color: #C1FFC1;
	background-color:white;
	border-radius: 5px;
	margin-top: 10px;
	padding: 5px;
	font: 16px arial; 
}

.mlist p{
	padding: 10px;
	
}
/*
.mlist_1{
	display: flex;
	justify-content: space-between;
	align-items: center;
	
}

.mlist_1 div{
	display: flex;
	justify-content: space-between;
	align-items: center;
	
}
*/

/*Манколист в личном кабинете конец*/

.s_param{
	border: 1px solid green;
	background-color: #C1FFC1;
	//border-radius: 5px;
	margin-top: 10px;
	padding: 5px;
	font: 16px arial; 
}

.subscription_add{
	display: flex;
	justify-content: center;
}

 /*Личный кабинет конец*/
 

/*Формы для ввода с полями Начало*/

/*Обертка формы*/
 .form_wrap{
	display: flex;
	flex-direction: column;
	background: white;
	width: 100%;
}
 
/*Блок с заголовком формы*/
.form_head{
	display: flex;
	justify-content: center;
}

/*Блок с основным содержимым формы*/
.form_main{
	display: flex;
	flex-direction: column;
}	

/*Блок с нижней частью формы*/
.form_bottom{
	display: flex;
	justify-content: center;
	//border: 1px solid black;
}	


/*Блок для подписей и полей*/
.form_main_label_input{
	display: flex;
	//border: 1px solid green;
	align-items: center;
}	

/*Подписи стандартные*/
.form_main_label{
	display: flex;
	width: 30%;
	justify-content: flex-end;
	//border: 1px solid blue;
}

/*Подписи по центру*/
.form_main_label_50{
	display: flex;
	width: 50%;
	justify-content: flex-end;
		
}

/*Стили для всех подписей*/
.form_main_label > label,
.form_main_label_50 > label{
	font:  16px arial;
	margin: 5px 0px;
	padding: 3px;
}	

/*Поля стандатрные*/
.form_main_input{
	display: flex;
	width: 70%;
	justify-content: flex-start;
}	

/*Поля по центру*/
.form_main_input_50{
	display: flex;
	width: 50%;
	justify-content: flex-start;
	
}	

/*Стили для всех полей*/
.form_main_input > input,
.form_main_input_50 > input,
.form_main_input > select,
.form_main_input_50 > select,
.form_main_input > textarea,
.form_main_input_50 > textarea,
.form_main_input > a,
.form_main_input_50 > a
{
	font:  16px arial;
	margin: 5px;
	padding: 3px;
}	

/*Стили для всех изображений*/
.form_main_input > img,
.form_main_input_50 > img
{
	margin: 5px;
}	

/*Формы для ввода с полями Конец*/



.scrollup{
	width:45px;
	height:45px;
	opacity:0.8;
	position:fixed;
	bottom:50px;
	right:50px;
	display:none;
	text-indent:-9999px;
	background: url('/img/icon_top.png') no-repeat;
}


/*Универсальные кнопки Начало*/
.btn_all{
	margin: 5px 10px;
	padding: 5px;
	font: 16px arial;
	//border-radius: 5px;
	border: 1px solid grey;
}

.btn_all_fw{
	margin: 5px;
	padding: 5px;
	font: 16px arial;
	//border-radius: 5px;
	width: 173px;
	border: 1px solid grey;
	
}

.btn_all_fltr{
	margin: 5px;
	padding: 5px;
	font: 16px arial;
	border: 1px solid grey;
	
}


.btn_submit{
	font:  16px arial;
	margin: 5px 10px;
	padding: 5px;
	//border-radius: 5px;
	border: 1px solid grey;
}

a:focus,
a:active,
textarea:focus,
textarea:active,
input:focus,
input:active,
select:focus,
select:active,
.btn_all:focus,
.btn_all:active,
.btn_all_fw:focus,
.btn_all_fw:active,
.btn_all_fltr:active,
.btn_all_fltr:active,
.btn_submit:focus,
.btn_submit:active{
	outline: none;
}

.btn_all:hover,
.btn_all_fw:hover,
.btn_all_fltr:hover,
.btn_submit:hover{
	cursor: pointer;
	background: grey;
	color: white;
	border: 1px solid grey;
}

/*Универсальные кнопки Конец*/

/*Уникальные кнопки начало*/

.button_save_next{
	font:  20px arial;
	margin-bottom: 30px;
	padding: 20px;
	border-radius: 10px;
	border: 1px solid grey;
}

.button_save_next:active, 
.button_save_next:focus {
    outline: none;
}

.button_save_next:hover{
	cursor: pointer;
	background: green;
	color: white;
	border: 1px solid green;
}

.add_new_cb,
.del_new_cb{
	font:  14px arial;
	color: black;
	padding: 4px;
	border-radius: 5px;
	border: 1px solid grey;
}



.del_new_cb:hover{
	cursor: pointer;
	background: red;
	color: white;
	border: 1px solid red;
}

.add_new_cb:hover{
	cursor: pointer;
	background: green;
	color: white;
	border: 1px solid green;
}
 
.del_new_cb:focus,
.add_new_cb:focus {
    outline: none;
}

/*Уникальные кнопки конец*/

	


/*Админка начало*/

.main_adm{
	display: flex;
	flex: 1 1 auto;
	//border: 2px solid green;
}


.aa2{
	margin-left: 10px;
}

.adm_menu{
	display: flex;
	flex-direction: column;
	width: 15%;
	background: #C1FFC1;
}

.adm_menu a{
	text-decoration: none;
	padding: 10px 5px;
	font: 16px arial;
	display: block;
}

.adm_menu a:hover {
	background: green;
	color: white;
}

/*Админка конец*/


/*Модальные окна начало*/



.modal_div_lc_autor
{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	max-width: 700px;
	width: 100%;
	min-height: 300px; 
	max-height: 700px; 
	height: 100%;
	border-radius: 10px;
	border: 3px solid gray;
	background: #E2E2E2;
	position: fixed; 
	top: 50%; 
	left: 50%;
	margin-top: -350px;
	margin-left: -350px; 
	display: none; 
	z-index: 5; 
	padding: 25px;
}

/* Кнoпкa зaкрыть в правом верхнем углу) */
.modal_close {
   width: 21px;
   height: 21px;
   position: absolute;
   top: 5px;
   right: 5px;
   cursor: pointer;
   display: block;
   
}

.text_mess{
	font: 20px arial;
}

/* Пoдлoжкa */
#overlay,
#overlay_adv,
#overlay_lc_autor
{
   z-index:3; /* пoдлoжкa дoлжнa быть выше слoев элементoв сaйтa, нo ниже слoя мoдaльнoгo oкнa */
   position:fixed; /* всегдa перекрывaет весь сaйт */
   background-color:#000; /* чернaя */
   opacity:0.6; /* нo немнoгo прoзрaчнa */
   -moz-opacity:0.8; /* фикс прозрачности для старых браузеров */
   filter:alpha(opacity=80);
   width:100%;
   height:100%; /* рaзмерoм вo весь экрaн */
   top:0; /* сверху и слевa 0, oбязaтельные свoйствa! */
   left:0;
   cursor:pointer;
   display:none; /* в oбычнoм сoстoянии её нет) */
}	

.content_lc_autor{
	max-width: 1000px;
	width: 100%;
}

/*Модальные окна конец*/


.aa2{
	display: none;
}


/*фильтр*/
.fltr{
	background: #00CD66;
	flex: 0 0 auto;
	display: flex column;
	margin: 5px 0 0 0;
}


.fltr input[type = text]
{
	padding: 3px;
	font-size: 14px;
	

}

.fltr select{
	font-size: 14px;
	padding: 4px;
}

.city_org{
	padding: 5px;
	margin: 10px 2px 5px 2px;
	text-align: center;
	border-style: solid;
	border-width: 1px;
	border-color: black;
	font-size: 15px;
	background: #CFCFCF;
}

.txt1{
	padding: 5px;
	margin: 2px;
	text-align: justify;
	border-style: solid;
	border-width: 1px;
	border-color: black;
	
}

.txt{
	display: flex;
	//border-style: solid;
	//border-width: 1px;
	//border-color: black;
}

.top{
	display: flex ;
	flex: 0 0 auto;
	font-size: 12px;
	//border-style: solid;
	//border-width: 1px;
	//border-color: black;
	
}

.super_img{
	max-width: 100%;
	height: auto;
}

.super_img:hover{
	transform: scale(1.8)  translate(0px, 0px) ;
	transition: all 0.4s linear 0.9s;
	

	
}

figure {
	text-align: center;
}

.fig{
	display: flex;
	align-items: flex-end; 
}

.fig1{
	width: 100%;
}

.c1_img{
	display: flex;  
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: flex-end; 
	margin: 2px; 
	padding: 10px; 
	border: 1px solid black;
}

.group_name{
	margin: 10px 5px 5px 20px;
	text-align: justify;
	font-size: 20px;
	
}




.nav_b{
	display: none;
}



#img_captcha{
	border: 1px solid gray;
}


.bottom_text{
	text-align: center;
	margin: 20px 0;
}

.error{
	font: italic 14px arial;
	color: red;
	text-align: left;
	margin-left: 3px;
	margin-top: 5px;
}

.btn_close{
	display: flex;
	justify-content: space-around;
	background: white;
	padding: 10px;
}


/*Каталоги начало*/

/*Предисловие*/
.introduction{
	margin: 10px;
	text-align: justify;
	font-size: 15px;
	text-indent: 20px;
	
}


/*Манколист в каталоге*/
/*Красный текст сверху*/
.ml{
	color: red;
}
/*Манколист в каталоге*/


/*Каталоги конец*/