
:root {
	--mygreen: #106f5d;
	--mygrey: #3f3f3f;
	--myadmin: #3f3f3f;
  }


*{
	margin:0px;
	font-family: 'Nunito', sans-serif;
	font-size: 16px;
	color:#606060;
}


html,body{
	height:100%
}

.text_color,.text_color:link,.text_color:hover,.text_color:active{
	color: var(--mygreen);
	text-decoration:none;
	border-bottom: none;
}


a,a:hover{
	color: #3f3f3f;
	text-decoration: none;
}

a span:hover{
	text-decoration: none;
	color: #3f3f3f;
	border-bottom: 2px solid #106f5d;
}

a img:hover{
	border-bottom: 0px;
}

.menu_select{
	color:#106f5d;
	font-weight:bold;
}

.normal_link{
	border:0px !important;
}

.btn-default
{
	width:100%;
	padding: 10px 10px;
	font-family: 'Nunito', sans-serif !important;
	
}

.btn-default,.btn-default:link,.btn-default:hover,.btn-default:active,.btn-default:visited{
	background-color:#106f5d;
	color:#FFFFFF;
}

.back_color{
	background-color:var(--mygreen) !important;
	color:#FFFFFF !important;
}

.only_admin,.only_admin *{
	background-color:#6D1F7B !important;
	color:#FFFFFF !important;
	
}

.only_admin_txt{
	color:#6D1F7B !important;	
}


#logo{
	 width:100%;
	 max-width:120px;
	 padding:10px;
}

#loading{
	display:none;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 300px;
	height: 300px;
	margin-top: -150px; /* Half the height */
	margin-left: -150px; /* Half the width */
	z-index:100;
	
}

#frm_login{
	display:block;
}

#no_mobile{
	display:none;
	font-size: 1.5em;
	background-color:#106f5d;
	color:#FFFFFF;
	padding:10px;
	text-align:center;
}

.lightbox { display: none; }


::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #BBBBBB;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #BBBBBB;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #BBBBBB;
}
:-moz-placeholder { /* Firefox 18- */
  color: #BBBBBB;
}


#dx_page,#list_book,#center_page,#progress{
	min-height:90%;
}



#bottom_menu{
	margin-top:150px;
}


.form-control:focus {
  border-color: #106f5d;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(62, 175, 154, 0.6);
}

.form-control:focus{
	background-color:#dde7e5! important;
}
 
.global-footer{
	margin-top:100px;
}	
 

/* PAG LOGIN */
#message_login{
	text-align:right;
	color:#106f5d;
	
}

.section{
	padding-top: 150px;
	/* margin-top: 100px; */

}

.first_section{
	padding-top: 150px;
}



/* FINE PAG LOGIN */

/* PAG AMMINISTRAZIONE */

/* menu */
#user_menu{
	background-color:#F7F9FA;
	z-index:99;
}

#link_menu{
	position:absolute;
	top:0px;
	width:90%;
}


#profilo_img{
	position:absolute;
	bottom:10px;
	
}

#user_menu #logo{
	margin-bottom:50px;
}

#user_menu p{
	margin: 20px 5px;
}

.glyphicon{
	margin-right:0px;
	padding:8px;
	top:0 !important;
}

#link_menu p img{
	/*margin-top:-5px;
	margin-right:20px;*/
	
}

#form_logout{
	display:none;
}

#profilo_img img{
	max-width:100%;
	max-height:90px;
}


/*fine menu */

/* lato dx pagina */
#dx_page{
	margin-left: 16.66666%;
}

/* serch  top */

#bottom_serch{
	margin-top:20px;
}

#top_header{
	position: fixed;
	background-color:#FFFFFF;
	top:0px;
	width:84.3333%;
	z-index:100;
	padding-top:10px;
	padding-bottom:10px;
	border-bottom: 1px solid #eee;
	height:150px;
}

.header_full{
	width:100% !important;
}

.featherlight{
	z-index:451px !important;
}


#bottom_serch button{
	border: none;
	display: inline-block;
	width:32px;
	height:32px;
}

#backb{
	background-image: url(./img/icon/back.png);
}

#qrcode{
	background-image: url(./img/icon/qrcode.png);
}

#mapdisp{
	background-image: url(./img/icon/mapdisp.png);
}

#tabdisp{
	background-image: url(./img/icon/tabdisp.png);
}

#UpFileXls{
	display:none;
}

#msg_upl{
	display:none;
}

#work_bar{
	display: none;
}

#v_element{
	background-image: url(./img/icon/v_element.png);
}

#v_list{
	background-image: url(./img/icon/v_list.png);
}

#ordina_per{
	display:initial !important;
}

#ordina_per{
	max-width:220px;
}

#down_xls{
	background-image: url(./img/icon/xls.png);
}

#down_pdf,#pdf_book{
	background-image: url(./img/icon/pdf.png);
}

#upl{
	background-image: url(./img/icon/upload.png);
}

/* fine serch top */


/*contenuto*/

#center_page{
	padding-top:155px;
}

/* selezione libro */
.book:hover,.book_row:hover{
	background-color:#efefef;
	cursor: pointer; cursor: hand;
}

/* fine selezione libro */

/* dati del libro */

#dati_libro,#tb_profilo	{
	width:100%;
}

#dati_libro td,#tb_profilo td{
	padding: 5px;
	margin:0px;
	text-align:left;
}

#dati_libro input, #dati_libro textarea, #tb_profilo input{
	width:90%;
	background: transparent;
    border: none;
}

#dati_libro input[type='date']{
	width:initial;
}

	
#dati_libro input:focus {
	border: none !important;
	outline: none;
}

#dati_libro tr td:first-child,#tb_profilo tr td:first-child {
	font-weight:bold;
	text-align:right;
	padding-right:20px;
	vertical-align:top;
}

.tableline{
	clear:both;
}

.tableline tr td{
	padding:5px 20px;
}

.tableline tr:first-child > td{
	background-color:#106F5D;
	color:#FFFFFF;
	font-weight:bold;
}

#dati_libro tr:nth-child(odd), #tb_profilo tr:nth-child(odd), .tableline tr:nth-child(odd)  { background-color:#EEEEEE; }
#dati_libro tr:nth-child(even), #tb_profilo tr:nth-child(even), .tableline tr:nth-child(even) { background-color:#FFFFFF; }

#save_book{
	position:fixed;
	bottom:100px;
	right:50px;
	background-image: url(./img/icon/save_book.jpg);
	width:60px;
	height:60px;
	border: none;
	display: inline-block;
	
}


/* fine dati del libro */


/*fine contenuto */



/*fine lato pagina */

/* FINE PAG AMMINISTRAZIONE */


.row{
    margin-left: 0 !important;
    margin-right: 0 !important;
}




#filter_bar{
	height:40px;
	text-align:right;
}

#operation_bar{
	float:left;
}

#filter_bar>select,#filter_bar>p{
	
	margin-right:10px;
	font-size:0.8em;
}




#filter_bar>select{
	padding: 2px 2px;
}

#filter_bar>p{
	padding-top:5px;
}




.form-control{
	background-color:#EEEEEE;
	padding: 10px 10px;
	display: block;
	height: initial;
}


.main-header{
	min-height:90px;
    display: table;
    height: 80%;
	
}

.main-header>div{
	display: table-cell;
	vertical-align:middle;
	min-height:90px;
	height: 100%;
	margin:0px;
	border:none;
	padding:0px;
}


#menu{
	text-align:left;
}



h2{
	font-size:4em;
}

.list-inline>li{
	padding: 10px 20px;
	
}




#container_world {
    display: block; 
    position:relative
} 
.ui-autocomplete {
    position: absolute;
}

.ui-menu-item{
	text-align:left;
}




.book_row{
	float:left;
	padding:10px;
	border:1px solid #696977;
	border-radius: 5px 20px;
	margin: 4px;
	overflow:hidden;
	position: relative;
}


.book{
	/*width:200px;*/
	max-width:200px;
	padding-bottom:1.8em !important;
	
	float:left;
	padding:10px;
	border:1px solid #696977;
	border-radius: 5px 20px;
	margin: 4px;
	overflow:hidden;
	position: relative;
}






.book p{
	margin:0px;	
}



.book_price{
	text-align:right;
	font-size:1.2em;
	font-weight:bold;
	position: absolute;
	height:1.5em;
	right:10px;
}

.book .book_price{
	bottom: 0;
}


.book_row .book_price{
	top: 0;
}
.book_row{
	min-width:200px;
}

.small{
	font-size:0.8em;
}

.small_log{
	font-size:0.8em;
	padding-top:0px !important;
	padding-bottom:0px !important;
}

.smaller_log{
	font-size:0.2em;
	padding-top:0px !important;
	padding-bottom:0px !important;
}

.book .copertina{
	margin-bottom:10px;
	
}

.copertina{
	height: 178px !important;
}


.max200{
	width:200px;
}

/* PAGINA LIBRO AGGIORNAMENTO */

#CopertinaUpload{
	display:none;
}

#err{
	display:none;
	position:absolute;
	text-align:center;
	width:50%;
	right:0;
	font-size:2em;
	background-color:#106F5D;
	color:#FFFFFF;
	border-radius: 10px; 
	  -moz-border-radius: 10px; /* firefox */
	  -webkit-border-radius: 10px; /* safari, chrome */

}


/* Pagina profilo */

#Img_prof{
	display:none;
}

.space80p{
	width: 50% !important;
}

/* #msg_prof{ */
	/* float:right; */
	/* padding:20px; */

/* } */


#logo_prof{
	height:70px;
}


#btn_savelist{
	border:none;
	float:right;
	background-color:#FFFFFF;
	width: 60px;
}

#SelectList{
	right: 0;
	left:auto;
	padding:10px;
}

#SelectList li{
	margin-top:5px;
	margin-bottom:5px;
}

#SelectList li label{
	font-weight: normal;
}

#SelectList li input{
	margin-right:10px;
	top: 2px;
	position: relative;
}


#btn_savelist:active{
	border:none !important;
	outline: none;
	-webkit-box-shadow: none;
}
#btn_savelist span:active{
	color:#606060;
	border:none;
}

#btn_savelist span{
	font-size:2em;
}

.color_green{
	color: #106F5D;
}

.color_darkgrey{
	color: #8a8a8a;;
}
.favlist_table{
	margin:auto;
}

.favlist_table tr > :first-child{
	width: 20em;
}

#viewlist{
	/*display:flex-row !important;*/
}

#viewlist>div{
	/*flex: 1;*/
}

.nopadding_left{
	padding-left: 0px;
}

.nopadding_right{
	padding-right: 0px;
}

@media only screen and (min-width : 481px) {
   .flex-row.row {
	 display: flex;
	 flex-wrap: wrap;
   }
   .flex-row.row > [class*='col-'] {
	 display: flex;
	 flex-direction: column;
   }
  .flex-row.row:after, 
  .flex-row.row:before {
	 display: flex;
  }
  .flex-row img {
	  flex:0 0 auto;
	  object-fit:contain;
	  height:150;
	  max-height:150px;
	  /* width:100%; */
	  
	}
}


/* visualizzazione big */
@media (max-width: 991px){
	.book_row{
		width:100%;
	}
	h2{
		font-size:2em !important;
	}
}



/* pagina risoluzione desktop/tablet */
@media (min-width: 768px){
	#user_menu{
		min-height:100%;
		position: fixed;
		padding-top:10px;
	}
	
	
}

/* ---------------------------------------------------------- VERSIONE MOBILE --------------------------------------------------*/

/* pagina piccola */
@media only screen and (max-width: 769px){
	#progress{
		padding-top: 219px;
	}
	
	#top_header{
		width:100%;
	}
	
	.onlypc{
		display:none !important;
	}
	.list-inline>li {
		padding: 2px 10px !important;
		
	}
	.main-header{
		background-color:#FFFFFF;
		width: 80%;	
	}
	.first_section{
		margin-top:50px;
	}
	
	#link_menu{
		width:auto;
		position: fixed;
		top: 0;
		left: 0;
	}
	
	#filter_bar{
		padding-top: 10px;
	}
	
	#v_element, #v_list{
	    margin-top: -44px;
		float: right;
		
	}

	#top_header {
		height: 170px;
	}
	
	#center_page{
		padding-top: 0px;
	}
	
	#v_element{
		display:none;
	}
	
	#user_menu p{
		width: 1em;
	}
	
	#add_book_img{
		width:100%;
	}
	.copertina{
		width: 70%;
		display: block;
		margin: auto;
		height:auto !important;
	}
	#logo{
		width:60%;
	}
	
	.book:nth-child(2){
		display:block;
	}
	#num_res{
		display:none;
	}
	
	#filter_bar{
		display:block;
		clear:both;
	}
	
	#ordina_per{
		max-width: 120px;
	}
	#ordina_per::before{
		content: "&#xe013;"
	}
	
	#dx_page {
		margin-left: 0px;
		padding-left: 8%;
		padding-right:0px;
	}
	#dati_libro tr td:first-child {
		padding-right: 10px;
		width:100px;
	}
	.book,#add_book{
		width:150px;
		height:370px;
	}
	.book_price_mobile{
		clear:both;
		position: initial;
	}
	#video_book iframe,#video_extra iframe{
		width:100%;
	}
	.long{
		width:100% !important;
	}
}
