/*!
 * Copyright 2019 Olesoft
 */
.disabled{ opacity: 0.3; }
.dsbl{ opacity: 0.3 !important; }
/*Стили для малых экранов*/
@media screen and (min-width: 760px){
}
@media screen and (max-width: 760px){
}
/* --------------- Имитации --------------- */
.div_as_input{
	border:solid;
	border-width:thin;
	border-radius:3px;
	padding-left:3px;
	padding-right:3px;
	border-bottom-color:#CCCCCC;
	border-right-color:#CCC;
	border-top-color:#999;
	border-left-color:#999;
	font-size:18px;
	min-height:32px;
}
/* --------------- Имитации --- конец ----- */

/* ----------  doc_plank  ---------------------- */
.doc_plank{
	margin-top:1px;
	margin-bottom:1px;
	border-radius:7px;
	padding-top:10px;
	padding-bottom:10px;
}

.activ{
	background-color:#BDBCE9;
}

.posted{
	background-color:#E7E7E7;
}

.deleted{
	background-color:#FFD5E2;
}
/* ----------  doc_plank  ---  конец  ---------- */

.recept_summary{
	font-size:smaller;	
}

.input_as_label{
	text-align:center;
	background-color:transparent;
	border:none;
}

input, select, textarea{

border-radius: 5px;
padding: 5px;
}

/* убрать обводку в браузере*/


a:active, a:focus { outline: none; }

input, textarea {outline:none;}
input:active, textarea:active {outline:none;}
:focus {outline:none;}
textarea {resize:none;}
textarea {resize:vertical;}
textarea {resize:horizontal;}


.input_num_id{
	width:100%;
	border:none;
	background-color:transparent;
}

.ots10btm .str_dt input{
	max-width: 110px;
	height: 30px;
margin-bottom: 5px;
}

.input_text_edit{
	width:100%;
}

/* Зона table_checkboxes */
.table_checkboxes{
	width: 100%;
}
.table_checkboxes th{
	text-align:center
}
.table_checkboxes td{
	text-align:center;
}
.table_checkboxes tr{
	border-bottom:solid;
}
/* Зона table_checkboxes  конец  */

/* Зона table_prop_type_1 */
.table_prop_type_1{
	width: 100%;
}
.table_prop_type_1 td:first-child{
    text-align:right;
	padding-right:5px;
	width:50%
}
.table_prop_type_1 td{
	text-align:left;
	padding-left:5px;
}
.table_prop_type_1 tr{
	border-bottom:solid;
}
.table_prop_type_1 tr:nth-child(odd) {background-color:#AEAEFF;}
.table_prop_type_1 tr:nth-child(even) {background-color:#C6C6FF;}
/* Зона table_prop_type_1  конец  */

/* Зона table_type_1 */
.table_type_1{
	width: 100%;
	border-collapse: collapse;
}
.table_type_1 th{
	padding:5px;
	margin:0px;
	text-align:center;
}
.table_type_1 th:first-child{
    text-align:left
}
.table_type_1 td{
	padding:0px;
	text-align:center
}
.table_type_1 td:first-child{
    text-align:left;
	padding-left:5px
}
.table_type_1 tr:nth-child(odd) {background-color:#AEAEFF;}
.table_type_1 tr:nth-child(even) {background-color:#C6C6FF;}
.table_type_1 tr:hover {background:#FFC1C1;}
/* Зона table_type_1   конец   */

/* Зона table_prop_type_2 */
.table_prop_type_2{
	width:100%;
}
.table_prop_type_2 td:first-child{
    text-align:right;
	padding-right:5px;
	width:50%
}
.table_prop_type_2 th{
	text-align:left;
	padding-left:5px;
	border-right-color:white;
	border-right-width:thin;
	border-right-style:solid;
}
.table_prop_type_2 td{
	text-align:left;
	padding-left:5px;
	border-right-color:white;
	border-right-width:thin;
	border-right-style:solid;
}
.table_prop_type_2 tr{
	border-bottom:solid;
	border-bottom-width:thin;
}
.table_prop_type_2_edit{
	background-color:#FF99CC !important;
}
.table_prop_type_2 tr:nth-child(odd) {background-color:#AEAEFF;}
.table_prop_type_2 tr:nth-child(even) {background-color:#C6C6FF;}
/* Зона table_prop_type_2  конец  */

/* Зона table_prop_type_3 */
.table_prop_type_3{
	width:100%;
}
.table_prop_type_3 td:first-child{
    text-align:right;
	padding-right:5px;
}
.table_prop_type_3 td:nth-child(2){
    text-align:right;
	padding-right:5px;
}
.table_prop_type_3 th{
	text-align:left;
	padding-left:5px;
	border-right-color:white;
	border-right-width:thin;
	border-right-style:solid;
}
.table_prop_type_3 td{
	text-align:left;
	padding-left:5px;
	border-right-color:white;
	border-right-width:thin;
	border-right-style:solid;
}
.table_prop_type_3 tr{
	border-bottom:solid;
	border-bottom-width:thin;
}
.table_prop_type_3_edit{
	background-color:#FF99CC !important;
}
.table_prop_type_3 tr:nth-child(odd) {background-color:#AEAEFF;}
.table_prop_type_3 tr:nth-child(even) {background-color:#C6C6FF;}
/* Зона table_prop_type_3  конец  */

/* Зона table_prop_type_4 */
.table_prop_type_4{

}
.table_prop_type_4 td:first-child{
    text-align:left;
}
.table_prop_type_4 td:nth-child(2){
    text-align:right;
	padding-right:5px;
}
.table_prop_type_4 th{
	text-align:left;
	padding-left:5px;
	border-right-color:white;
	border-right-width:thin;
	border-right-style:solid;
}
.table_prop_type_4 td{
	text-align:left;
	padding-left:10px;
	border-right-color:white;
	border-right-width:thin;
	border-right-style:solid;
}
.table_prop_type_4 tr{
	border-bottom:solid;
	border-bottom-width:thin;
}
.table_prop_type_4_edit{
	background-color:#FF99CC !important;
}
.table_prop_type_4 tr:nth-child(odd) {background-color:#AEAEFF;}
.table_prop_type_4 tr:nth-child(even) {background-color:#C6C6FF;}
/* Зона table_prop_type_4  конец  */

/* Зона table_prop_type_5 */
.table_prop_type_5{ width:100% }
.table_prop_type_5 td:first-child{ text-align:left; }
.table_prop_type_5 td:nth-child(2){ text-align:right; padding-right:5px; }
.table_prop_type_5 th{ text-align:left; padding-left:5px; border-right-color:white; border-right-width:thin; border-right-style:solid; background-color:#D4D4D4 }
.table_prop_type_5 td{ text-align:left; padding-left:10px; border-right-color:white; border-right-width:thin; border-right-style:solid; }
.table_prop_type_5 tr{ border-bottom:solid; border-bottom-width:thin; }
.table_prop_type_5_edit{ background-color:#FF99CC !important; }
.table_prop_type_5 tr:nth-child(odd) {background-color:#EEECFF;}
.table_prop_type_5 tr:nth-child(even) {background-color:#FFFFFF;}
/* Зона table_prop_type_5  конец  */


/* Зона HEADER */


html {
  position: relative;
  min-height: 100%;
}

#footer_t2 {
  position: absolute;
  bottom: 0;
  width: 100%;
 left: 0;
 background-color: #f5f5f5
}

#footer_t1{
	position: relative;
	height: 20px;
	overflow: hidden;
}

.content-block{
	position: relative;
	padding-bottom: 20px;
	min-height: calc(100vh - 80px);
	padding-top: 20px;
}

.content-block.active{
	min-height: calc(100vh - 20px);
}

#main_t2{
	padding-bottom: 40px;
	margin-left: 100px;
	margin-bottom: 30px;
	padding-right: 15px;
	padding-left: 15px;
	min-height: calc(100vh - 25px);
}

#main_t2 .container{
	max-width: 100% !important;
	width: 100% !important;
}


.header {
	padding-top:5px;
	padding-bottom:5px;
}


.clearfloat { 
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

#im{
object-fit:scale-down;
height:100%; 
padding: 15px 0 5px 20px; 
/*filter: hue-rotate(114deg);*/	
}



/* Зона HEADER  конец  */

/* Зона контента общее */

.sub_title {
	width:100%;
	text-align:center;
	background-color:#0099FF;
	padding:5px;
	margin:0px;
}

.ots10{
	padding-top: 10px;
}
.ots40{
padding-top: 40px;

}

.ots40btm{
	margin-bottom: 40px;
}

.ots20{
	margin-top: 20px;
}

	
/* Зона контента общее   конец   */



/* USER */
.Vhod{
	width:97%;
	padding-bottom:40px;
	padding-top:40px;
	text-align:center;
	border-radius:5px;
	margin:5px;
}
.user_avatar {
	text-align:center;
	padding:0;
}
.user_content {
	width:100%;
}
.user_group{
	background-color:#C6C6FF;
	width:20%;
	display:block;
	float:left;
	text-align:left;
	padding-left:5px;
	border-right:solid;
	border-right-width:thin;
	border-right-color:#0099FF;
}	
.user_list{
	background-color:#C6C6FF;
	width:79%;
	display:block;
	float:left;
	text-align:center;
	padding-left:5px;
	border-left:solid;
	border-left-width:thin;
	border-left-color:#0099FF;
}		
/* USER   конец  */

/*  Общий шаблон развитого подзаголовка  */
.title_content {
	width:100%;
	text-align:center;
	background-color:#0099FF;
	padding-top:5px;
	padding-bottom:5px;
}
.title_left{
	background-color:transparent;
	width:20%;
	display:block;
	float:left;
	text-align:left;
	padding-left:5px;
}	
.title_middle{
	background-color:transparent;
	width:57%;
	display:block;
	float:left;
	text-align:center;
	padding-left:5px;
}		
.title_right{
	background-color:transparent;
	width:20%;
	display:block;
	float:left;
	text-align:right;
	padding-left:5px;
}		
/*  Общий шаблон развитого подзаголовка  конец  */

/*  Обший шаблон для двух колонок  */
.body_content {
	width:100%;
}
.body_group{
	background-color:#C6C6FF;
	width:20%;
	display:block;
	float:left;
	text-align:left;
	padding-left:5px;
	border-right:solid;
	border-right-width:thin;
	border-right-color:#0099FF;
}	
.body_list{
	background-color:#C6C6FF;
	width:79%;
	display:block;
	float:left;
	text-align:left;
	padding-left:5px;
	border-left:solid;
	border-left-width:thin;
	border-left-color:#0099FF;
}		
/*  Обший шаблон для двух колонок  конец  */

/* КНОПКИ */
.button1{
	background-color:#008a73;
	border-radius:5px;
	border:none;
	color:rgb(255,255,255);
	text-transform:uppercase;
	font-size:1.0rem;
	box-shadow:none;
	padding:5px 20px;
	line-height:2
}
.button1_dis{
	background-color:#999999;
	border-radius:5px;
	border:none;
	color:rgb(255,255,255);
	text-transform:uppercase;
	font-size:1.0rem;
	box-shadow:none;
	padding:5px 20px;
	line-height:2
}
.button2{
	background-color:#008a73;
	border-radius:5px;
	border:none;
	color:rgb(255,255,255);
	text-transform:uppercase;
	font-size:1.2rem;
	box-shadow:none;
	padding:10px 40px;
	line-height:2
}
.but_type_1 {
	background-color:transparent;
	border:none;
	cursor:pointer;
	padding:2px;
	text-align:left;
	font-size: 12px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.but_type_2 {
	background-color:#F00;
	border:none;
}
.but_type_3 {
	background-color:transparent;
	border:none;
	cursor:pointer;
	padding:2px;
	text-align:left;
}
.but_type_4 {
	background-color:transparent;
	border:none;
	border-width:2px;
	cursor:pointer;
	padding:2px;
	text-align:left;
	font-size: 12px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	width:97%;
	height:97%;
	border-radius:4px;
}
.but_type_4:hover { 
    background:#92FF82;
    text-decoration: underline;
	border:solid;
	border-width:2px;
	border-bottom-color:#999999;
	border-left-color:#CCCCCC;
	border-right-color:#999999;
	border-top-color:#CCCCCC;
	font-weight:bold;
	width:97%;
	height:97%;
   } 
.but_type_5 {
	border-radius: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	border: #ece2e2 1px solid;
	text-align:center;
	background-color: transparent;
	cursor:pointer;
	padding:2px;
	font-size: 12px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	width:97%;
	border-radius:4px;
	padding-top:5px;
	padding-bottom:5px;
}
.but_type_5:hover { 
    background:#92FF82;
	border: #999999 1px solid;
	font-weight:bold;
   }
.but_type_5_del {
	border-radius: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	border: #ece2e2 1px solid;
	text-align:center;
	background-color: transparent;
	cursor:pointer;
	padding:2px;
	font-size: 12px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	width:97%;
	border-radius:4px;
	padding-top:5px;
	padding-bottom:5px;
}
.but_type_5_del:hover { 
    background:#FFD5E2;
	border: #999999 1px solid;
	font-weight:bold;
   }
    
/*===============================================================*/
.but_type_5_view {
	display: flex;
	justify-content: left;
	align-items: left;
	cursor: pointer;
	border: #ece2e2 1px solid;
	text-align:left;
	background-color: transparent;
	cursor:pointer;
	padding:2px;
	font-size: 12px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	width:97%;
	border-radius:4px;
	padding-top:2px;
	padding-bottom:2px;
	padding-left:5px;
}
.but_type_5_view:hover { 
    background:#92FF82;
	border: #999999 1px solid;
	font-weight:bold;
   } 
/*===============================================================*/
.ikon {
	width:20px;	
}
/* КНОПКИ   конец   */

/* ФОРМА PROP */
.prop_form_2_buttons{
	width:100%;
}
.prop_form_2_buttons td:first-child{
    text-align:right;
	padding-right:15px;
	width:50%
}
.prop_form_2_buttons td:last-child{
    text-align:left;
	padding-left:15px;
	width:50%
}
/* ФОРМА PROP  конец  */

.greyblock{
	background-color: #E7E7E7
}
.greytitle{
	background-color: #EBEBEB;
padding: 5px 0;
margin-bottom: 5px;
}

.sg_state{
	border-bottom: 1px solid #ddd;
	padding: 5px 0;
	background-color: #fbf9f9;
}

.str_dt{
	display: flex;
	align-items: center;
}

h3, .h3 {
  font-size: 22px !Important;
}

input, select, textarea {
   font-size: 13px !important;
}

.ots10btm .text-right{
	font-size: 13px;
}


/* ---------- Переключатель Приходный/Расходный ордер в orders_prop ----------------- */
.form_toggle {
	display: inline-block;
	overflow: hidden;
}
.form_toggle-item {
	float: left;
	display: inline-block;
}
.form_toggle-item input[type=radio] {
	display: none;
}
.form_toggle-item label {
	display: inline-block;
	padding: 0px 15px;   
	line-height: 34px;    
	border: 1px solid #999;
	border-right: none;
	cursor: pointer;
	user-select: none;   
}
.form_toggle .item-1 label {
	border-radius: 6px 0 0 6px;
}
.form_toggle .item-2 label {
	border-radius: 0 6px 6px 0;
	border-right: 1px solid #999;
}
/* Checked */
.form_toggle .item-1 input[type=radio]:checked + label {
	background: #ffc5c5;
}
.form_toggle .item-2 input[type=radio]:checked + label {
	background: #bbffbb;
}
/* ---------- Переключатель Приходный/Расходный ордер в orders_prop --- конец ------- */


/*menu ---header2-------*/
#mn-wrapper {
  display: table;
  width: 100%;
  position: absolute;
	height: 100%;
	max-width: 100px
}
.mn-sidebar {
  display: table-cell;
  position: relative;
  vertical-align: top;
  	background: #2f9117;
	width: 56px;
	z-index: 2;
}
#mn-cont {
  display: table-cell;
	vertical-align: top;     
 	position: relative;
	padding: 0;
}
.mn-sidebar .mn-toggle {
  display: none;
  padding: 10px 0;
  text-align: center;
	cursor: pointer;
}
.mn-vnavigation {
  margin: 0 0 0 0;
  padding: 0;mn-vnavigation

}
.mn-vnavigation li a {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
	white-space: normal;
padding: 15px 0;
}
.mn-vnavigation li a img{
	width: auto;
	max-height: 30px;
	margin-bottom: 10px
}
.dropdown-submenu >
.dropdown-menu {
	top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  height: 101vh;
  width: 240px;
  background: #d0d0d0;
}
.dropdown-submenu:hover > 
.dropdown-menu {
	display: block;
}
.dropdown-menu h2{
	padding-left: 20px
}
.child li a{
	color: #333;
	display: block;
padding: 3px 20px;
line-height: 1.42857143;
}
.dropdown-submenu.pull-left {
	float: none;
}
.dropdown-submenu.pull-left > .dropdown-menu {
	left: -100%;
	margin-left: 10px;
	-webkit-border-radius: 6px 0 6px 6px;
	-moz-border-radius: 6px 0 6px 6px;
	border-radius: 6px 0 6px 6px;
}
ul {
	list-style: none;
}
ul.dropdown-menu.parent {
  margin-top: -1px;
}
.dropdown-menu > li > a{
	white-space: normal !important;
	display: block;
	padding: 3px 20px;
	color: #333;
}
.title-with-linked-icon{
	display:flex;
	align-items: end;
}
.title-with-linked-icon i{
font-size: 22px;
line-height: 1.2;
}
/*--------------------------------------------*/


.top_batton_wrp{
	display: flex;
	justify-content: end;
}
.top_batton_wrp .top_batton{
	border: #c9c9c9 1px solid;
	border-radius: 0 0 5px 5px;
	background-color: #f5f5f5;
	width: 150px;
display: flex;
justify-content: center;
align-items: center;
transition: 1s;
	height: 20px;
}
.top_batton_wrp .top_batton:not(:last-child){
	margin-right: 5px;
}
.top_batton a{
	color: #292929;
	font-size: 12px;
	text-decoration: none;
	margin-right: 10px;
	width: 100%;
	padding: 5px;
	text-align: center;
	transition: 1s;
}
.top_batton i{
	color: #b9b8b8;
font-size: 14px;
line-height: 1;
padding-right: 5px;
}
.top_batton_wrp .top_batton:hover, .top_batton_wrp .top_batton:focus, .top_batton.activeDiv{
	background-color: #fff;
	transition: 1s;
	box-shadow: #e6e5e5 5px 5px 10px;
}
.top_batton_wrp .top_batton:hover > a, .top_batton_wrp .top_batton:focus > a{
	font-weight: 600;
	transition: 1s;
}
.top_batton a.active{
	font-weight: 600;
}
/************************* набор стилей для того, что бы все влазило на 1 экран *****************/

.users_list_gr{
height: 80vh;
overflow-y: scroll;
}


@media print {
  #prop_close {
    display: none;
  }
}

/*************************тестовый набор стилей****************/
 .container {
  max-width: 1920px !Important;
  width: 100% !Important;
  padding-left: 30px;
  padding-right: 30px;
  margin-right: auto;
} 
.row{
	padding-left: 15px;
	padding-right: 15px;
}
.navbar-nav > li > a{
	font-size: 14px;
}
body{
	font-size: 14px !Important;
}

/****************new header***********/
 
 .header_wrap{
 	display: flex;
 	align-items: flex-start;
 } 

.brend_block{
	flex-basis: 10%;
	padding-right: 20px;
	padding-top: 10px;
}

.menu_block{
	flex-basis: 80%;
	flex-grow: 1;
	position: relative;
z-index: 8;
margin-top: 5px;
}

.menu_block .navbar{
	position: absolute;
}

.menu_block .navbar-nav{
	height: 100%;
	max-height: 40px;
	overflow: hidden;
	transition: max-height 0.5s ease-out;
} 

.menu_block .navbar-nav.active{
height: auto;
max-height: 800px;
	transition: max-height 0.5s ease-out;
}

.menu_block #more_menu{
position: absolute;
right: 0;
top: 40px;
background: #f8f8f8;
font-size: 20px;
width: 50px;
text-align: center;
border-radius: 0 0 10px 10px;
transition: transform 0.5s ease-out;
cursor: pointer;
}

.menu_block #more_menu.active{
transform: rotate(180deg);
top: auto;
bottom: -28px;
border-radius: 10px 10px 0 0;
right: .5px;
transition: transform 0.5s ease-out;
}

#more_header{
position: absolute;
right: 0;
top: 60px;
background: #E7E7E7;
font-size: 20px;
width: 50px;
text-align: center;
border-radius: 0 0 10px 10px;
transition: transform 0.5s ease-out;
cursor: pointer;
z-index: 55;
}

#more_header.active{
transform: rotate(180deg);
top: 0;
border-radius: 10px 10px 0 0;
right: .5px;
transition: transform 0.5s ease-out;
}

#hd{
	height: auto;
	max-height: 400px;
	transition: max-height 0.5s ease-out;
}

#hd.active{
	max-height: 0;
	transition: max-height 0.5s ease-out;
	overflow: hidden;
}

.user_block{
	flex-basis: 10%;
	padding: 5px;
	min-width: 120px;
	display: flex;
}

.brend_block img{
	max-width: 150px;
	width: 100%;
}

.user_block img{
	width: 50px;
	height: 50px;
	object-fit: cover;
}

#group_container{
	max-height: calc(100vh - 140px);
overflow-y: scroll;
}

/****новый блок с заголовком для страницы номенклатуры***/

.main_title_block_wiht_switsh{
	display: flex;
justify-content: space-around;
margin-bottom: 10px;
align-items: flex-end;
}

.block_title{
	font-size: 20px;
	font-weight: 800;
}











@media only screen and (max-width: 768px){

.header_wrap{
	flex-wrap: wrap;
}

.brend_block{
	order: 1;
width: 50%;
flex-basis: 50%;
}

.menu_block{
	order: 3;
width: 100%;
flex-basis: 100%;
margin-top: 0px;
}

.menu_block .navbar{
	width: 100%;
}

.user_block{
	order: 2;
width: 50%;
flex-basis: 50%;
}

.user_block #photo{
	display: block !Important;
}

.navbar-nav > li > a{
	line-height: 0 !Important;
	margin-bottom: 20px;
}

.menu_block .navbar-nav{
	max-height: 20px;
}

.menu_block #more_menu{
	top: 5px;
background-color: green;
border-radius: 5px;
width: 30px;
height: 30px;
right: 5px;
color: #fff;
}

.menu_block #more_menu.active{
	bottom: 5px;
right: 5px;
border-radius: 5px;
}

#hd{
height: 105px;
}

.content-block{
	padding-top: 0;
	min-height: calc(100vh - 150px);
}

#more_header{
	display: none;
}

.user_block{
	min-width: auto;
}


}

@media only screen and (max-width: 570px){

	.main_title_block_wiht_switsh{
		flex-wrap: wrap;
			}

	.main_title_block_wiht_switsh > div:nth-child(1){
		order: 2;
	}

	.main_title_block_wiht_switsh > div:nth-child(2){
		order: 1;
		width: 100%;		
	}

	.main_title_block_wiht_switsh > div:nth-child(3){
		order: 3;
	}

	.main_title_block_wiht_switsh > div:nth-child(4){
		order: 4;
	}



.col-xs-1{
	padding-right: 0 !important;
	margin: 10px 0;
}
}
