

/****************************************************************************/
/******************* STATIC SEARCH PANEL WITH TIPS **************************/
/****************************************************************************/


	#search-bar{
		margin-left:10px;
		margin-right:50px;

	}

	#search-form{
		display:inline-block;
		border:none;
		border-radius:10px;
		width:100%;
		background-color:#fff;
		font-weight:400;
		}
	#input-bar{
		margin:10px;
		margin-top:0;
		margin-bottom:0;
		padding-right:50px;
	}

        #search-input{
		border:none;
		width:100%;
		height:30px;
		outline: none; 
	}
      	#search-input:focus{
		border:none;
		outline: none; 
	}



	#search-clear{
		position:absolute;
		top:0px;
		right:60px;
		width:30px;
		height:30px;
		padding:0;
	}
	#search-clear:hover{
		cursor:pointer;
	}
	#search-clear.hide{
		display:inline-block;
		background-image:none;	
	}

	#search-go{
		position:absolute;
		top:-5px;
		right:6px;
		background-color:rgba(255,255,255,1);
		box-shadow:none;
	}

	 #search-go.active{	
		cursor:pointer;
		cursor:hand;
		background-color:rgba(255,255,255,1);
	}


	#search-prompt{
		position:absolute;
		top:40px;
		width:90%;
		max-width:500px;
		margin-left:20px;
		overflow:hidden;
		padding-right:10px;
		background-color:#fff;
		border:1px solid grey;
		border-radius:6px;
		box-shadow: 4px 4px 4px rgba(140,140,140,0.5);	
		z-index:60;
	}


	#search-prompt.hide{
		display:none;
	}

.night  #search-prompt{
	background-color:#808080;
}

#search-prompt .line{
	padding:0;
	padding:5px;
	padding-left:10px;
	height:25px;
	white-space: nowrap; 
    	overflow: hidden; 
	text-align:left;
	background-size: 0;
}
#search-prompt .line.doc{
	padding-left:50px;
	background-repeat:no-repeat;
	background-size: 24px;
	background-position: 10px 50%;
	background-image:url(img/open-doc-green.svg);
}

#search-prompt .line:hover{
	cursor:pointer;
	cursor:hand;
}


#search-links{
	margin:10px;
	margin-top:40px;
	
	background-color:rgba(0,149,171, 0.2);
	text-align:left;
}
#search-links .title{
	font-weight:bold;
	text-align:center;
}


#search-links .item{
	display:block;
	background-image:url(img/close.svg);
	white-space: nowrap; 
    overflow: hidden; 
	text-overflow: ellipsis; 
}




/****************************************************************************/
/******************* STATIC PANEL - SEARCH IN TEXT **************************/
/****************************************************************************/


span.find{
	background-color:rgba(255, 255, 0, 0.6)
}

span.fsel{
	background-color:rgba(255, 255, 0, 0.6)
}

span.find.current{
	background-color:rgba(199, 52, 117, 0.4)
}


#text-search-form{
	position:absolute;
	top:5px;
	padding:0;
	left:40px;
	right:80px;
	height:30px;
	background-color:#fff;
	border-radius:15px;
	border:1px solid grey;
}


#text-input-bar{
	position:absolute;
	top:0px;
	left:10px;
	right:50px;
	bottom:0px;
	padding:0px;
	border-radius:12px;
}

#text-search-input{
	width:100%;
	padding:0;
	height:28px;
	line-height:20px;
	border:none;
	font-size:14px;
	background-color:#fff;
}

#text-search-input.link{
	color:rgba(0,149,171,1);
	background-color:#fff;
}

#text-search-input:focus{
	outline: none; 
	border:none;
	background-color:#fff;
}

#text-search-bar .icon{
	position:absolute;
	top:3px;
	width:40px;
	cursor:pointer;
	cursor:hand;	
}

#text-search-close{
	left:0px;
}
#text-search-down{
	right:40px;
}
		
#text-search-up{
	right:0px;
}	


#text-search-count{
	position:absolute;
	top:0px;
	right:0px;
	width:55px;
	padding-top:6px;
	height:24px;
	border-radius:15px;
	overflow:hidden;
	text-align:center;
	background-color:rgba(255,255, 0, 0.2);
	font-size:12px;
	z-index:60;
}

/****************************************************************************/
/************************** DYNAMIC DIALOGS AND FIELDS **********************/
/****************************************************************************/



/***************************** SEARCH FIELDS *****************/
.option{
	text-align:left;
	padding:6px;
	padding-left:30px;
	background-repeat:no-repeat;
	background-size: 24px;
	background-position: 0 50%;	
	background-image:url(img/uncheck.svg);
	overflow:hidden;
}

.option.selected{
	background-image:url(img/check.svg);
}

.links .option{
	background-image:url(img/herb.png);
	background-size: 20px;
}

.option:hover{
	cursor:pointer;
	cursor:hand;
}



input.field {
   	width:100%;
	font-weight:600;
    	height: 20px;
    	line-height: 20px;
	border:none;
}
input.field:focus{
	border-bottom:1px solid grey;
}

.night input.field {
	color:#fff;
	
}

.field.tips{
	display:none;
	position:relative;
	margin-left:30px;
	width:220px;
}

.links .field.tips{
	margin-left:0px;
	width:400px;
}

.field.tips.visible{
	position:absolute;
	display:block;
	z-index:20;
	margin-top:6px;
	background-color:#fff;
	border:1px solid gray;
	border-radius:10px;
	padding:6px;
	box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);
}	


.night .field.tips.visible{
 	background-color:#000;

}

.field.tips  .head{
	background-color:rgb(243, 243, 243);
	border-radius: 6px 6px 0 0;
	padding:5px;
	text-align:center;
}

.field.tips  .button{
	height:20px;
	width:80px;
	text-align:center;
	padding:2px;
	box-shadow:none; 
	border:1px solid grey
}
.field.tips  .ok::before{content:"Готово"}
.field.tips  .clear::before{content:"Очистити"}
.field.tips  .no{}

.field.tips  .content{
	height:auto;
	max-height:200px;
	overflow:auto;
}



/***************************** SEARCH DIALOGS *****************/

.pop-up-bar.dialog.select{
	width:260px;
}         

.pop-up-bar.dialog.select.long{
	width:100%;
}         


.dialog.select  .head .title{
	display:inline-block;
	width:50%;
}         
.dialog.select  .head input{
	display:none;
	width:50%;
}

.dialog.select.long  .head input{
	display:inline-block;
}

.dialog.select  .head input::placeholder{
	text-align:right;
}

.dialog.select  .tabs{
	display:none;
	margin-top:15px;
	margin-bottom:0px;
	padding:0;
	text-align:center;
}
.dialog.select.long  .tabs{
	display:block;
}

.dialog.select  .tab{
	display:inline-block;
	height:20px;
	width:120px;
	padding:4px;
	border-radius:10px 10px 0 0;
	border:1px solid rgb(0, 149, 171);
	border-bottom:0;
	transition: all 0.2s ease-out;
}
.dialog.select  .tab.selected{
	background-color:rgba(0, 149, 171, 0.2);
	font-weight:500;
}
.dialog.select  .tab:hover{
        cursor:pointer;
}


.dialog.select  .tab.all::before{
	content:"Всі"	
}
.dialog.select  .tab.sel::before{
	content:"Вибрані"	
}
.dialog.select.long .content{
	height:300px;
	border-radius:10px 10px 0 0 ;
	border:1px solid rgb(0, 149, 171);
	transition: all 0.2s ease-out;

}

.dialog.select.long ::-webkit-scrollbar:vertical {
	border-radius:0 10px 0 0 ;
       
}
.dialog.select .rozdil{
}
.dialog.select .box{
        margin-left:10px;
}




.dialog.select .option.rozdil{
	background-image:url(img/drop_down.svg);
}

.dialog.select  .opened .option.rozdil{
	background-image:url(img/drop_up.svg);
}
.dialog.select  .ok::before{content:"Готово"}
.dialog.select  .clear::before{content:"Очистити"}
.dialog.select  .no{}



.dialog.date .interval{width:70px;  margin:auto; margin-top:20px;margin-bottom:20px}
.dialog.date .interval::before{content:"Інтервал"}

.dialog.date  .ok::before{content:"Готово"}
.dialog.date  .clear::before{content:"Очистити"}
.dialog.date  .no{}

.night  .dialog.date .content{background-color:#f5f5f5; color:#000}

	
/***********************************************************/
/****************************** MOBILE *********************/
/***********************************************************/


@media screen  and (max-width:720px) {


}	



