/*модальные окна и контекстные меню*/

.pop-up-menu{
	background: linear-gradient(to top left, #507999,#5F90B5);
	*background: #669AC2;  
	width: 395px;
	*height: 100px;
	padding:0;
	margin:0;
	*border: 1px solid;
	border-radius: 2px;
	position: absolute;
	z-index: 999;
	*color: #DFE9EF;
	*box-shadow: 5px 5px 1px -2px rgba(135,135,135,0.75);
	display:block;
}

.pop-up-menu li::before {
    content: "";
    margin-left: 29px;
}

li.mi-checked::before {
   content: url(../img/imgMain/10.png);
}


.pop-up-menu  .li-separator{
	height: 1px;
	border-bottom: 1px solid;
	border-color: #3f7f9d;
	left: 30px;
	position: relative;
	width: 99%;
}

.mi-parent{
	color: #5daefc;
	*background-color: #2b6dac;
	padding-left: 40px;
	margin-left: -30px;
	*margin-right: -30px;
}

.pop-up-menu li.mi-parent:hover{
	background:none;
	color:#5daefc;
	
}

.pop-up-menu  .li-separator:hover{
	background: inherit;
}

.pop-up-menu ul::before {
    content: '';
    position: absolute;
    margin-left: -30px;
    width: 26px;
    z-index: -1;
    height: 100%;
	border: inherit;
	top: -1px;
}

.pop-up-menu li{
	list-style: none;  
	line-height: 24px;
	margin-left: -30px;  
	display: flex;
}

.pop-up-menu ul{
	list-style: none;
	position: relative;
	
	padding-left: 3px;
	box-shadow: 5px 5px 1px -2px rgba(135,135,135,0.75);

	*background: linear-gradient(to top left, #507999,#5F90B5);
	border-width: 1px;
	border-style: solid;
	margin: 0;
	margin-left: 24px;
}

.pop-up-menu input[type="radio"]:checked + label {
	position: fixed;
	margin-left: 10px;
}

/*.pop-up-menu div{
	background: linear-gradient(to top left, #507999,#5F90B5);
	border-color:  #8AAEC9;
	border-left: 1px solid #8AAEC9;
	margin-left: 24px;
}*/

.pop-up-menu li:hover{
	background: linear-gradient(to top, #C17B1D,#E78F1C);
	border-radius: 3px;
	color: white;
	*width: calc(100% + 32px);
}


.pop-up-menu ul li {
	*display:inline-block;
	*background-color: #E64A19;
}

.pop-up-menu ul ul {
    display: none;
    position: absolute;
    *background-color: #f9f9f9;
    *min-width: 160px;
    *box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    *padding: 12px 16px;
    z-index: 1;
	*left: 200px;
	left: calc(100% + 20px);
	*top: -2px;
	width: 200px;
	*border: 1px solid;
	margin-left: 0;
}

.pop-up-menu ul li:hover > ul {
    *display: inherit;
	display: block;
	width: auto;
	min-width: 200px;
}

.pop-up-menu ul::before {
	background: #669AC2;
}
 
.pop-up-menu{
	*background: #669AC2;  
	border-color:  #8AAEC9;
	color: #DFE9EF;
} 
.pop-up-menu ul, .pop-up-menu ul ul{
    border-color: #8AAEC9;
    background-color: #205088;
    background-image: linear-gradient(to bottom, #205088, #2b6dac);
	*background:white;
	*color:black;
}

.modal-protocol .modal-dialog{
	width: 65%;
	min-width: 1100px;
}

.modal-protocol .modal-dialog table{
	width: 100%;
	overflow-x: hidden;
	border: none;
}

.modal input{
	padding-left:0;
	padding-right:0;
}

.modal-protocol div.form-block > div > .toolbtn, 
.modal-protocol span.operations-cnt
{
	position: fixed;
	margin-top: -25px;
}

.doc-search-form {
  border-bottom: 1px solid #b4c6e6;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.form-block, .form-block > div {
  border-color: inherit;
  height: 100%;
  width: 100%;
}

.modal-body{
	border-color: inherit;
}

.modal-dialog{
	border-color: rgb(166, 188, 202);
	
}

.modal-protocol span.operations-cnt
{
	margin-left: 90px;
}

.modal-protocol .modal-dialog table th{
	position: sticky; 
	top: 0;
	z-index: 0;
	background-color: white;
}


.modal-protocol .modal-dialog table tbody{
	position: relative;
	z-index: -2;

}

.modal-protocol .modal-dialog table th:nth-of-type(1){
	width: 150px;	

}


.modal-protocol .modal-dialog table th:nth-of-type(4){
	width: 45%;	
}

.modal-protocol .modal-dialog table tr:nth-child(even){
	background-color: #e8f4fa;	
}

.modal-protocol .modal-body,
.modal-eds .modal-body{
	height: 500px;
    overflow-y: scroll;
}

.modal-protocol .filter-btn{
	/*position: fixed;*/
}

.modal-protocol .modal-dialog table td{
	border-left: 1px solid #c4c4c4;
	border-right: 1px solid #c4c4c4;
}

.modal-dialog .filter+.defaultwin, .modal-events .defaultwin {
	height: 500px;
	max-height: 500px;
	min-height: 500px;
}

.modal-dialog .currip{
	color: gray;
}

.modal-createbpa .number{
	
	
}
.modal-findacts .doc-search-form{
	height: calc(100% - 20px);
	margin-bottom: 0;
	padding-bottom: 0;
}

.modal-edit .modal-dialog{
	width:750px;
}

.modal ul.ul-hor{
	width: 74%;
	float: right;
	display: flex;
}

.modal ul.ul-hor li{
	padding-left: 7px;
	padding-right: 5px;
}

.modal ul li {
	white-space: break-spaces;
}

/*#modal-expimptemplates-popup ul.attr{
	width: 38%;	
}

#modal-expimptemplates-popup ul.adds{
	width: 58%;	
}*/

#modal-expimptemplates-popup input[type="radio"]{
	
}

.modal.show.modal-message .modal-dialog{
	width: 600px;
}

.modal-message .form-block.doc-search-form div div{
	line-height: 2em;
}

.modal-content {
	padding: 30px;
	padding-top: 20px;
	border: none;
	border-radius: 0;
	position: relative;
	z-index: 1;
	border-color: inherit;
	height: calc(100% - 200px);
}

.modal-content .button{
	width: auto;
}

.modal fieldset{
  display: inline-block;
  border-radius: 2px;
  margin-top: -10px;
  margin-bottom: 15px;
  border: 1px solid;
  border-color: inherit;
}



.button {
  font-size: 1em;
  white-space: nowrap;
  padding: 0 10px;
  margin: 0 10px 10px;
  margin-left: 0;
  background-color: transparent;
  border-color: transparent;
  font-size: 1em;
  white-space: nowrap;
  padding: 0 10px;
  margin: 0 10px 10px;
  display: inline-block;
  margin: 0;
  padding-left: 9px;
  padding-right: 9px;
  width: auto;
  color: white;
}

.button, .buttona, .buttonb, .button.disabled:hover {
  background: #2b6dac;
  color: white;
}
.buttona, .buttonb, .button {
  height: 26px;
  min-width: 95px;
  border-radius: 5px;
  border: white solid;
  border-width: 1px;
  vertical-align: middle;
  color: white;
  margin: 5px 0px;
  margin-right: 5px;
  position: relative;
}

.button_theme{
	font-family: 'PT Sans Bold';
	color: #fff;
	font-size: 1em;
	line-height: 38px;
	height: 40px;
	padding: 0 47px;
  	border-radius: 5px;
  	background-color: #2b6dac;	
	border: 1px solid #2b6dac;
}
.button_theme:hover, .button_theme:focus{
	background-color: #fff;
	color: #2b6dac;
	border-color: #2b6dac;
}
.button-gray.button_theme{
	color: #fff;
  	background-color: #b8b8b8;	
	border: 1px solid #b8b8b8;
}
.button-gray.button_theme:hover, .button-gray.button_theme:focus{
	background-color: #fff;
	color: #2b6dac;
	border-color: #2b6dac;
}
.button-white.button_theme{
	color: #2b6dac;
  	background-color: #fff;	
	border: 1px solid #2b6dac;
}
.button-white.button_theme:hover, .button-white.button_theme:focus{
	background-color: #2b6dac;
	color: #fff;
	border-color: #2b6dac;
}
.button-white-gr.button_theme{
	color: #2b6dac;
  	background-color: #fff;	
	border: 1px solid #cbcbcb;
}
.button-white-gr.button_theme:hover, .button-white-gr.button_theme:focus{
	background-color: #2b6dac;
	color: #fff;
	border-color: #cbcbcb;
}

.form-button{
	text-align: center
}