/*!
 * Custom css sl.sbsmed
 * Copyright 2019 Olesoft

 */

/*! normalize.css */

/* ----------  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  конец  */

/* Зона HEADER */



html {
  position: relative;
  min-height: 100%;
}

#footer_t2 {
  	position: absolute;
	bottom: 0;
  	width: 100%;
 	left: 0;
 	background-color: #f5f5f5;
	display:none;
}

#footer_t1{
position: absolute;
height: 25px;
width: 100%;
left: 0;
bottom: 0;
margin-top: 30px
}

#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  конец  */

/* Зона контента общее */
.content {
	padding-top: 30px;
	padding-bottom: 50px
}
.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;
}
.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 --- конец ------- */



/*Стили для малых экранов*/
@media only screen and (max-width: 768px){


#im{
	padding: 0
}


}

/* ---------- МОИ СТИЛИ ------- */
/*DIV заглушка - закрыть окно*/
.DivDesable{
	background-color: rgba(0,0,0,0.5);
	width: calc(100%);
	height: calc(100%);
	top: 0;
	bottom: 0;
    position: fixed;
	z-index: 8;
	left: 0;
}
/*----------- Деактивация всплывающего окна*/
.passBl{
  display: none;
}
/*----------- Активация всплывающего окна окна --------------*/
.activeBl{
  display: block;
  position: absolute;
  /*background-color: #fff;*/
  /*border-radius: 20px;*/
  box-shadow: #292929 5px 5px 10px;
  padding: 15px;/*размер рамки div*/
 }
/*Скроллирование*/
.height-calc{
	height: calc(95%);
}
.height-calc1{
	height: calc(95%);
}

/*FORMA */

/*bootstrap tabs*/


/*  bhoechie tab */
div.bhoechie-tab-container{
  z-index: 10;
  background-color: #ffffff;
  padding: 0 !important;
  border-radius: 4px;
  -moz-border-radius: 4px;
  border:1px solid #ddd;
  margin-top: 20px;
  margin-left: 0px;
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
  box-shadow: 0 6px 12px rgba(0,0,0,.175);
  -moz-box-shadow: 0 6px 12px rgba(0,0,0,.175);
  background-clip: padding-box;
  opacity: 0.97;
  filter: alpha(opacity=97);
}
div.bhoechie-tab-menu{
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 0;
}
div.bhoechie-tab-menu div.list-group{
  margin-bottom: 0;
}
div.bhoechie-tab-menu div.list-group>a{
  margin-bottom: 0;
}
div.bhoechie-tab-menu div.list-group>a .glyphicon,
div.bhoechie-tab-menu div.list-group>a .fa {
  color: #337ab7;
}
div.bhoechie-tab-menu div.list-group>a:first-child{
  border-top-right-radius: 0;
  -moz-border-top-right-radius: 0;
}
div.bhoechie-tab-menu div.list-group>a:last-child{
  border-bottom-right-radius: 0;
  -moz-border-bottom-right-radius: 0;
}
div.bhoechie-tab-menu div.list-group>a.active,
div.bhoechie-tab-menu div.list-group>a.active .glyphicon,
div.bhoechie-tab-menu div.list-group>a.active .fa{
  background-color: #337ab7;
  background-image: #337ab7;
  color: #ffffff;
}
div.bhoechie-tab-menu div.list-group>a.active:after{
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  margin-top: -13px;
  border-left: 0;
  border-bottom: 13px solid transparent;
  border-top: 13px solid transparent;
  border-left: 10px solid #337ab7;
}

div.bhoechie-tab-content{
  background-color: #ffffff;
  /* border: 1px solid #eeeeee; */

  padding-top: 10px;
}

div.bhoechie-tab div.bhoechie-tab-content:not(.active){
  display: none;
}

.main_form .row{
	padding-left: 15px;
	padding-right: 15px
}

.page_title h1{
	background-color: #337ab7;
	color: #fff;
	text-align: center;
	font-size: 20px;
	padding: 5px;
border-radius: 10px;
}

.print_block{
	background-color: #f5f5f5;
	padding: 5px;
	border-radius: 10px;
}

.print_block .row{
	display: flex;
align-items: center;
padding-left: 15px;
	padding-right: 15px
}

.print_block p{
	margin-top: 10px
}

.print_block .name{
	font-weight: 600;
	color: #337ab7;
	text-transform: uppercase;
}

/*forms*/

.form-control{
	height: 40px !important;
	border-radius: 10px !important
}

input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"] {
    height: 40px !important;
	border-radius: 10px !important;
	border: 1px solid #ccc;
	color: #555;
	font-size: 16px
}

.block1 .row{
	display: flex;
	align-items: flex-end;
}

.form-inline .form-group{
	margin-bottom: 10px !important
}

.vrach > .form-group input, .vrach > .form-group select{
	width: 240px
}

.block1{
	padding-bottom: 20px
}

.block1 h2{
	font-size: 20px;
	color:#337ab7
}

/*.block2{
	background-color: #f5f5f5;
	padding: 20px 0;
border-radius: 10px;
}*/

.block3{
	padding-bottom: 30px
}

.block3 h2{
	font-size: 20px;
	text-align: center;
	color: #337ab7
}

.Protokol_block2 h2{
	font-size: 20px;
	color: #337ab7
}

label {
    font-weight: 600;
    font-size: 14px;
}

.AmbCart button{
	margin-bottom: 10px
}

.AmbCart .namber_pacient_cart{
	color: #337ab7;
	text-align: center;
	font-weight: 600
}

.AmbCart .namber_pacient_SK{
	color: #b73358;
	text-align: center;
	font-weight: 600
}

.block3 table th{
	font-size: 14px
}

.Blue_form{
	background-color: #337ab7 !important;
	color: #fff !important
}

.block3 .Blue_form{
	margin-top: 33px;
margin-bottom: 40px;
}

.block3 button{
	margin-top: 40px
}

.pacient .form-group{
	padding-right: 5px;
padding-left: 5px;
}

.Big_txt_block{
	height: 400px !important
}

.Sm_txt_block{
	height: 200px !important
}

.Protokol_block1 button{
	width: 100%;
	max-width: 80px;
	margin-bottom: 30px
}

.Protokol_block3 .checkbox{
	margin: 22px 0
}

.Protokol_block3 input[type="date"]{
	margin: 5px 0
}

.Protokol_block3{
	margin: 20px 0;
	background-color: #f5f5f5;
	border-radius: 10px
}


/*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;
}
.container {
	margin-right: auto;
}
.cnt-mcont {
  background-color: #F6F6F6;
  color: inherit;
  font-size: 13px;
  font-weight: 200;
  line-height: 21px;
  padding: 15px 30px 30px 30px;
  margin-top: 0;
	height: 101vh;
}
.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 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;
}
.bottom-mn {
	bottom:0px;
	position:absolute;
	width:100%;
}

.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;
}

#FiltrPanel input, #FiltrPanel select, #CardNewEdit input, #CardNewEdit select,
#Title input, #Title select, #div_ins_details select, #div_ins_details input,
#Doc_LeftPanel input, #Doc_LeftPanel select {
	height: 27px !important;
	border-radius: 5px !important;
	/*border: none;*/
	margin: 2px;
	font-size: 12px;
	line-height: 1;
	color: #7d7d7d;
}

#CardNewEdit .row{
	display: flex;
	align-items: center;
}

.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;
  }
  .printfontsize12{
	  font-size:12px;
  }
  .printsize{
	  transform: scale(50%);
  }
}

