

.eines-descoberta-portlet select.selectores{
	width: 100%;
	max-width: 100%;
}

#inputSearchData, #inputSearchDataRecomanacions, #inputSearchDataRecomanadors{
	width: 75%;
	float: left;
	margin-right: 2%;
}

#div-resultats{
	min-height: 500px;
}

.noHeightInLlista{
	min-height: 0px;
}

.eines-descoberta-portlet .modal-dialog{
	max-width: 600px;
}

.eines-descoberta-portlet .modal.show {
    overflow: auto;
}

#div-resultats > .graella {

	background-color: lightgray;
    display: inline-block;
    background: #fff;
    padding: 1.5em;
    margin: 0 0 1.5em;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -webkit-box-sizing: inherit;
    -webkit-box-sizing: inherit;
    width: 229px;
/*     float:left;   */
}

#div-resultats > .graella:hover { 
    background-color: #e6e6e6;
}

.graellaTable {
    overflow: auto;
    margin-bottom:1px;
    padding:10px 0 10px 0;
}

.graellaTable:hover { 
    background-color: #e6e6e6;
}

#div-resultats > #div-resultats:nth-child(1n+2) {
    height: 40px;
}
#div-resultats.wrapping-divs > #div-resultats:nth-child(3n+1) {
    clear: left;
}

#buttonCerca, #buttonCercaRecomanacions, #buttonCercaRecomanadors{
	width: 21%;
	margin-bottom:10px;
	height: 31px;
	padding: 0;
    cursor: pointer;
    
}

.eines-descoberta-portlet p {
	margin-bottom: 0px !important;
}

.eines-descoberta-portlet .portlet-borderless-bar{
	top:29em;	
}

.container nav#breadcrumbs{
}



#totales {
	text-align: center;
}

.totalesSub{
	margin-top:15%;
}

#paginas {
	text-align: center;
}

/* .totales{ */
/* 	margin-top: 15%; */
/* 	margin-bottom: 8%; */
/* } */

.paginas{
	margin-bottom: 6%;
}

#buttonLlista{
	margin-top: 2.4%;
	width: auto;
	float: right;
	padding-left: 0;
}

#buttonGraella{
	margin-top: 2.4%;
	width: auto;
	float: right;
}

#buttonExecAjax{
	margin-top: 0%;
	width: auto;	
	float: right;
	margin-right: 0;
	color: #811424;
	text-align: center;
	background-color: white;
	border: solid 1px;
	padding: 10px;
	font-size: 20px;
	
}

#buttonExecAjax:hover{
	background-color: #811424;
	color: white;
		
}


#paginateButtonDiv{
	border-bottom-color: #eeeeee;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}


#buttonLlistaSize{
	  width: 50px;
}

#buttonGraellaSize{
	 width: 50px;
}


.fadeTextDiv{
	position: relative;
	overflow: hidden;
	 white-space:nowrap;
}

.fadeTextDoubleLineDiv{
	position: relative;
    line-height: 1.5em;
    height: 3em;
    overflow: hidden;
}


.fadeSpan{
	background: linear-gradient(to right, rgba(255,255,255,0), #FFF);
	background: -webkit-gradient(linear, 0% 0%, 100% 0%, from(rgba(255,255,255,0)), to(#FFF));
	background: -webkit-linear-gradient(to right, rgba(255,255,255,0), #FFF);
	background: -moz-linear-gradient(to right, rgba(255,255,255,0), #FFF);
	background: -o-linear-gradient(to right, rgba(255,255,255,0), #FFF);
	background: -ms-linear-gradient(to right, rgba(255,255,255,0), #FFF);
	position: absolute;
	right: 0;
	height: 20px;
	width: 45px;
	bottom: 0;
}

#divMotherBuscador{
	padding-top: 10px;
	padding-bottom: 10px;
    background-color: #e6e6e6 !important;
    margin-bottom:1em;
}

#divMotherBuscador .labelsSelectors { 
	 background-color: #e6e6e6 !important;
}

#divMotherSelectores{
	padding-top: 10px;
	padding-bottom: 2px;
    background-color: #e6e6e6 !important;
}

#divMotherRedirect {
	padding-top: 1em;
	padding-left: 0px;
	padding-right: 0px;
}

.graellaMother{
	width: inherit;
}

#divMotherSelectores .labelsSelectors { 
	 background-color: #e6e6e6 !important;
}

.eines-descoberta-portlet input[type="button"].buttonsNovetats{
	background:white;
	color:#a71b2e;
	border-width: 1px;
	border-color:#a71b2e;
	border-style: solid;
	text-transform: capitalize;
}

.eines-descoberta-portlet input[type="button"].buttonsNovetatsDisabled{
	background:white;
	color:#ccc;
	border-width: 1px;
	border-color:#ccc;
	border-style: solid;
	text-transform: capitalize;
}

.buttonsNovetats:hover{
	background:#a71b2e !important;
	color:white !important;
}

.eines-descoberta-portlet input[type="button"]:hover.buttonsNovetatsDisabled{
	background:white;
	color:#ccc;
}

.floatedLeft{
	float: left;
	margin-right: 1%;
}

p#totalesInf{
	font-size:15px;
	margin-top: 6%;
	margin-bottom: 2%;
}

.eines-descoberta-portlet .titolResultat a {
	color :#a71b2e;
	text-transform: uppercase;
}

.eines-descoberta-portlet .oneLine {
	overflow: hidden;
	white-space: nowrap;
	min-height: 1.5em;
	
}

.eines-descoberta-portlet .smallText {
	font-size:13px;
}

.fadedTitolGraella{
	width: 100%;
    position: relative;
}

.fadedAutorGraella{
	width: 100%;
    position: relative;
}

.fadedList{
	position: inherit;
}

span.fintext{
	background: linear-gradient(to right, rgba(255,255,255,0), #FFF);
	background: -webkit-gradient(linear, 0% 0%, 100% 0%, from(rgba(255,255,255,0)), to(#FFF));
	background: -webkit-linear-gradient(to right, rgba(255,255,255,0), #FFF);
	background: -moz-linear-gradient(to right, rgba(255,255,255,0), #FFF);
	background: -o-linear-gradient(to right, rgba(255,255,255,0), #FFF);
	background: -ms-linear-gradient(to right, rgba(255,255,255,0), #FFF);
	bottom: 0;
	height: 25px;
	max-height: 100%;
	position: absolute;
	right: 0;
	height: 20px;
	width: 45px;
}

.eines-descoberta-portlet .titol a {
	color :#4a4a4a;
}

/** Back to top Button **/
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 10;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 40px;
    background: #f5f5f5;
    color: #f5f5f5;
    cursor: pointer;
    border-radius: 250px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
    background-color: #811424;
    font-size: 25px;
}
#back-to-top:hover {
    background: #de1b39
}
#back-to-top.show {
    opacity: 1;
}

/** End Back to top Button **/

/* .eines-descoberta-portlet .autor { */
/* 	margin-top: 2%; */
/* } */

.eines-descoberta-portlet .dataResultats{
	float:right;
	margin-top: -4%;
	font-style:italic;
	font-size:14px;
}


.limitImage img{
    min-height: 200px;
    max-height: 200px;
}

.graellaTable img{
/* 	min-width: 200px; */
}

.novetatsTime{
	margin-bottom:10px;
}

#stickyDiv{
	z-index:8;
	
}
.container nav#breadcrumbs{
	z-index:9;
}
#banner{
	z-index:10;
}
.container nav#breadcrumbs, #banner, #stickyDiv {
 	backgroud-color: #fff;
 }

@media (min-width: 1040px) {
	#tabla-resultats div.bibliotecarisCajas {
	    position: relative;
	    background: #e6e6e6;
	    padding: 10px;
	    float: left;
	    min-height: 175px;
	    width: 28%;
	    margin: 20px;
	    cursor: pointer;
	    min-width: 200px;
	   	max-height: 175px;/*evita espacios en blanco*/
	   /*height: 190px;*/
	    
	}
}
@media (max-width: 1100px) {
	.eines-descoberta-portlet select.selectores{
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 1039px){
	#tabla-resultats div.bibliotecarisCajas {
	    position: relative;
	    background: #e6e6e6;
	    padding: 10px;
	    float: left;
	    min-height: 175px;
	    width: 44%;
	    margin: 20px;
	    cursor: pointer;
	    min-width: 200px;
	   	max-height: 175px;/*evita espacios en blanco*/
	   /*height: 190px;*/
	    
	}
}

@media (min-width: 992px) {
	
	#divFather, #divMother{
		top: 350px;
	}
	
	body.dockbar-ready #divFather{
		top: 233px;
	}
	
	#banner{
		position: fixed;
		top: 0px;
		margin-top: 0px;
		margin-bottom: 0px;
		overflow-y: none;
		width: 100%;
		background-color: #fff;
	}
	
	
	#div-resultats{
		width: 100%;
		min-height: 340px;
	}
}

@media (max-width: 991px) {
	#stickyDiv {
		padding-bottom: 0px;
	}
	
	#divFather, #divMother{
		padding-top: 0px;
	}
	
	.eines-descoberta-portlet .banners-home-right {
		background-color: #fff !important;
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
	
	#div-resultats{
		width: 100%;
		min-height: 0px;
	}
	
	.eines-descoberta-portlet .portlet-borderless-bar{
		top:0;
	}
	
	.container nav#breadcrumbs{
		top:0;
	}
	#tabla-resultats div.bibliotecarisCajas {
	    position: relative;
	    background: #e6e6e6;
	    padding: 10px;
	    float: left;
	    min-height: 175px;
	    width: 28%;
	    margin: 20px;
	    cursor: pointer;
	    min-width: 200px;
	   	max-height: 175px;/*evita espacios en blanco*/
	   /*height: 190px;*/
	    
	}	
}

@media (max-width: 844px) {
	#totales{
		margin-top:34px;
	}
	

}
@media (max-width: 780px) {
	#tabla-resultats div.bibliotecarisCajas {
	    position: relative;
	    background: #e6e6e6;
	    padding: 10px;
	    float: left;
	    min-height: 175px;
	    width: 44%;
	    margin: 20px;
	    cursor: pointer;
	    min-width: 200px;
	   	max-height: 175px;/*evita espacios en blanco*/
	   /*height: 190px;*/
	    
	}	

}

@media (max-width: 765px) {

	#buttonExecAjax{
	margin-top: 0%;
	width: 100%;	
	text-align: center;
	float: left;
	}
	#tabla-resultats div.bibliotecarisCajas {
	    position: relative;
	    background: #e6e6e6;
	    padding: 10px;
	    float: left;
	    min-height: 175px;
	    width: 42%;
	    margin: 20px;
	    cursor: pointer;
	    min-width: 200px;
	   	max-height: 175px;/*evita espacios en blanco*/
	   /*height: 190px;*/
	    
	}	
}

@media (max-width: 700px) {

	#tabla-resultats div.bibliotecarisCajas {
	    position: relative;
	    background: #e6e6e6;
	    padding: 10px;
	    float: left;
	    min-height: 175px;
	    width: 40%;
	    margin: 20px;
	    cursor: pointer;
	    min-width: 200px;
	   	max-height: 175px;/*evita espacios en blanco*/
	   /*height: 190px;*/
	    
	}	
}

@media (max-width: 600px) {

	#tabla-resultats div.bibliotecarisCajas {
	    position: relative;
	    background: #e6e6e6;
	    padding: 10px;
	    float: left;
	    min-height: 175px;
	    width: 38%;
	    margin: 20px;
	    cursor: pointer;
	    min-width: 200px;
	   	max-height: 175px;/*evita espacios en blanco*/
	   /*height: 190px;*/
	    
	}	
}

@media (max-width: 577px) {
	
	/* MIGRATION FIX 2026Q1: scopejat a .carousel-showmanymoveone (el slider propi d'EinesDescoberta).
	   Abans .carousel-inner sense selector trencava els carousels BS5 d'altres publicadors. */
	.carousel-showmanymoveone .carousel-inner{
		display: inline-block !important;
		left: 1% !important;
	}
	#tabla-resultats div.bibliotecarisCajas {
	    width: 36%;
	}	
}

@media (max-width: 821px) {
  #div-resultats > .graella {
    width: 50%;
    border-bottom: solid 1px #eee;
  }
}
@media (max-width: 510px) {
	#tabla-resultats div.bibliotecarisCajas {
	    position: relative;
	    background: #e6e6e6;
	    padding: 10px;
	    float: left;
	    min-height: 175px;
	    width: 90%;
	    margin: 20px;
	    cursor: pointer;
	    min-width: 200px;
	   	max-height: 175px;/*evita espacios en blanco*/
	   /*height: 190px;*/
	    
	}	
}
@media (max-width: 500px) {
  .eines-descoberta-portlet select.selectores{
	width: 100% !important;
	min-width: 200px !important;
	max-width: 100%;
	display: inline-block;
   }
   
   .totalesSub{
		margin-top:0%;
	}
	#tabla-resultats div.bibliotecarisCajas {
	    position: relative;
	    background: #e6e6e6;
	    padding: 10px;
	    float: left;
	    min-height: 175px;
	    width: 90%;
	    margin: 20px;
	    cursor: pointer;
	    min-width: 200px;
	   	max-height: 175px;/*evita espacios en blanco*/
	   /*height: 190px;*/
	    
	}	
}

/* Acordeon styles */
.eines-descoberta-portlet .filters {
  position: relative;
  margin-bottom: 10px;
  width: 100%;
  color: #fff;
  overflow: hidden;
}
.inputAcord {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.eines-descoberta-portlet .labelAcord {
  position: relative;
  display: block;
  padding: 0 0 0 1em;
  background: #16a085;
  font-weight: bold;
  line-height: 2em;
  cursor: pointer;
  font-size: 14px !important;
}

.theTripleShadowBox{
	box-shadow: 3px -3px 0px 0px #AAA, 7px -7px 0px 0 #CCC, 11px -11px 0px 0 #EEE;
}

.eines-descoberta-portlet .tab-content {
  max-height: 0;
  overflow: hidden;
  background: "";
  -webkit-transition: max-height .35s;
  -o-transition: max-height .35s;
  transition: max-height .35s;
  color: darkslategrey;
}

.eines-descoberta-portlet .tab-content p {
  margin: 1em;
}
/* :checked */
.eines-descoberta-portlet .inputAcord:checked ~ .tab-content {
  max-height: 10em;
}
/* Icon */
.labelAcord::after {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 2em;
  height: 2em;
  line-height: 2em;
  text-align: center;
  -webkit-transition: all .35s;
  -o-transition: all .35s;
  transition: all .35s;
}

.inputAcord[type=checkbox] + .labelAcord::after {
  content: "+";
}
.inputAcord[type=radio] + .labelAcord::after {
  content: "\25BC";
}
.inputAcord[type=checkbox]:checked + .labelAcord::after {
  transform: rotate(315deg);
}
.inputAcord[type=radio]:checked + .labelAcord::after {
  transform: rotateX(180deg);
}

///

.eines-descoberta-portlet .tab-contentAnims {
  max-height: 0;
  overflow: hidden;
  background: "";
  -webkit-transition: max-height .35s;
  -o-transition: max-height .35s;
  transition: max-height .35s;
  color: darkslategrey;
}

.eines-descoberta-portlet .tab-contentAnims p {
  margin: 1em;
}
/* :checked */
.inputAcord:checked ~ .tab-contentAnims {
  max-height: 10em;
}
/* Icon */
.labelAcord::after {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 2em;
  height: 2em;
  line-height: 2em;
  text-align: center;
  -webkit-transition: all .35s;
  -o-transition: all .35s;
  transition: all .35s;
}

.inputAcord[type=checkbox] + .labelAcord::after {
  content: "+";
}
.inputAcord[type=radio] + .labelAcord::after {
  content: "\25BC";
}
.inputAcord[type=checkbox]:checked + .labelAcord::after {
  transform: rotate(315deg);
}
.inputAcord[type=radio]:checked + .labelAcord::after {
  transform: rotateX(180deg);
}

div.graellaTable:hover span.fadeSpan, div.graella:hover span.fadeSpan{
	background: -webkit-gradient(linear, 0% 0%, 100% 0%, from(rgba(255, 255, 255, 0)), to(rgba(230,230,230,1)));
	background: -moz-linear-gradient(to right,rgba(230,230,230,0.1),rgba(230,230,230,1));
	background: linear-gradient(to right,rgba(230,230,230,0.1),rgba(230,230,230,1))
}

#upPaginateButtonDiv{
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 10px; 
}

#upPaginateButtonDiv button.buttonUnselected{
	color: #999 !important;
    background: #fff;
}

#categorySelector #filterCategoryContainer button,
	#categorySelector #col-cs-1{
	display:none;
}

#categorySelector{
	float: right;
}

/*disabled*/
.filters.disabled :after{
	display:block;
    content: '';
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
	opacity:0.1;
}

/*Estilos movil*/

@media ( min-width : 767px) {
	#categorySelector #filterCategoryContainer button {
		display: none;
	}
	#stickyDiv {
		display: block;
		overflow: auto;
	}
}

@media ( max-width : 767px) and (max-width: 979px) {
	#stickyDiv {
		display: none;
	}
	.graellaTable {
		text-align: center;
	}
	#categorySelector #filterCategoryContainer button {
		color: #a71b2e !important;
		background: #fff;
		border: 1px solid;
		float: left;
		width: 18%;
		padding: 6px 0 2px 0;
		margin: 0 8px 0 0;
		display: block;
	}
	#categorySelector #filterCategoryContainer select#orderElements {
		width: 76%;
	}
	#categorySelector #col-cs-1 {
		width: 18%;
		float: left;
		margin: 0 8px 0 0;
		display: block;
	}
	#categorySelector label.labelsSelectors {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		width: 76%;
	}
	#buttonGraella {
		display: none;
	}
	#buttonLlista {
		display: none;
	}
	
	#buttonVeure {
		display: none;
	}	

	/*Modal*/
	#cercaModal {
		
	}
	#cercaModal div.modal-header button {
		color: #a71b2e;
	}
	#cercaModal div.modal-header button:hover {
		background: transparent;
	}
	#cercaModal div.modal-header {
		border-bottom: 0;
	}
	#cercaModal #buttonCercaModal {
		width: 100%;
	}
	#cercaModal i {
		padding-right: 4px;
	}
	#cercaModal select {
		width: 100%;
		min-width: 0 !important;
	}
}

.bibliotecarisCajas div.margenCaja{
	display: flex;
	flex-wrap: wrap;
}

@media (max-width : 768px ){
	.bibliotecarisCajas div.margenCaja .eventoTitulo {
		font-size:15px !important;
	}
	#tabla-resultats div.bibliotecarisCajas .margenCaja div.col-xs-3 {
		padding-left:0px !important;
		padding-right:0px !important;
		padding-top:1px !important;
		height:0 !important;
	}
}

@media (max-width : 425px ){
	#tabla-resultats div.bibliotecarisCajas {
		width:90% !important;
	}
	.noticiaEventoRecom{
		float: none !important;
		margin-top: 12px !important;
		margin-bottom: 5px !important;
		
	}

	#tabla-resultats{
		margin-left:0px !important;
	}
	#tabla-resultats.llistat div.bibliotecarisCajas .margenCaja div.col-xs-9{
		width: 95% !important;
	}
	#tabla-resultats.llistat .bibliotecarisCajas .share, #detalleModal .share{
		width:100% !important;
	}
	#tabla-resultats.llistat .modifiedDate{
		margin-right: 5px !important;
	}
}

@media (max-width : 320px){
	.noticiaEventoRecom{
		float: none !important;
		margin-top: 12px !important;
		margin-bottom: 5px !important;
		
	}

	#tabla-resultats{
		margin-left:0px !important;
	}
	#tabla-resultats.llistat div.bibliotecarisCajas .margenCaja div.col-xs-9{
		width: 95% !important;
	}
	#tabla-resultats.llistat .bibliotecarisCajas .share, #detalleModal .share{
		width:100% !important;
	}
	#tabla-resultats.llistat .modifiedDate{
		margin-right: 5px !important;
	}
			
}


.book{
	top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-1550%);
    position: relative;
    margin: 0 auto;
    border: 5px solid #ecf0f1;
    width: 100px;
    height: 60px;
}
.book__page{
    position: absolute;
    left: 50%;
    top: -5px;
    margin: 0 auto;
    border-top: 5px solid #ecf0f1;
    border-bottom: 5px solid #ecf0f1;
    border-right: 5px solid #ecf0f1;
    background: #a71b2e;
    width: 50px;
    height: 60px;
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-animation: flip 1.2s infinite linear;
    animation: flip 1.2s infinite linear;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.book__page:nth-child(1) {
    z-index: -1;
    -webkit-animation-delay: 1.4s;
    animation-delay: 1.4s;
 }
.book__page:nth-child(2) {
    z-index: -2;
    -webkit-animation-delay: 2.8s;
    animation-delay: 2.8s;
}
 .book__page:nth-child(3) {
    z-index: -3;
    -webkit-animation-delay: 4.2s;
    animation-delay: 4.2s;
 }
 @keyframes flip {
  0%{
      transform: perspective( 600px )
      rotateY( -0deg );
  }
  
  20%{
    background:darken(#a71b2e,10%);
  }
  
  29.9%{
      background:darken(#a71b2e,10%);
  }
  30%{
      transform: perspective( 200px )
      rotateY( -90deg );
      background:#a71b2e;
  }
  
  54.999%{
    opacity:1;
  }
  55%{
    opacity:0;
  }
  
  60%{
    transform: perspective( 200px )
    rotateY( -180deg );
    background:#a71b2e;
  }
  
  100%{
    transform: perspective( 200px )
    rotateY( -180deg );
    background:#a71b2e;
  }
}

.eines-descoberta-portlet h2.portlet-title span {

    width: auto;
    position: relative;
    background: #fff;
    top: 2px;
    padding-bottom: 5px;
}

.carousel-showmanymoveone{
	padding: 10px 0;		
}
.carousel-showmanymoveone .carousel-inner{
	overflow: visible;
}

.carousel-showmanymoveone .carousel-item{
	text-align: center;
	padding: 0 15px;
}
	
.carousel-showmanymoveone .carousel-control-prev, .carousel-showmanymoveone .carousel-control-next {
   width: 5%;
   background-image: none;
}

.carousel-showmanymoveone .carousel-control-prev {
  margin-left: -1.9em;
  /*top: 44%;*/
}

.carousel-showmanymoveone .carousel-control-next {
  margin-right: -0.9em;
  /*top: 44%;*/
}

.slider img{	
	min-height: 250px;
	max-height: 250px;
}

.fmslider{
	margin-bottom: 5em;
}

/* MIGRATION FIX 2026Q1: scopejat a .carousel-showmanymoveone (el slider propi d'EinesDescoberta).
   Abans .carousel-inner sense selector trencava els carousels BS5 d'altres publicadors. */
.carousel-showmanymoveone .carousel-inner{
	display: inline-block;
	left: 1%;
}

.carousel .item .col-xs-12 {
   	padding: 1.5em;   
  	background-color: lightgray;
  	display: inline-block;
  	background: #fff;
   	width: 229px;
}


.item .active {
	
    width: 285px;
	min-height: 10em;
    display: inline-block;
    vertical-align: bottom;   
    
}


.centerslider {
	
  display: flex;
  justify-content: center;
}


.text-subscribe {
	color: #811424;
	text-align: center;
	
}

.text-subscribe:after {
	font-family: "Glyphicons Halflings";
	content: "\270f";
	float: center;
	padding: 10px
}

/***--------------RECOMANACIONS-------------------------------*/

#tabla-resultats.llistat div.bibliotecarisCajas .eventoTitulo {
    font-size:25px;
}

.eventoAutor {
	display:none;
}

.noticiaEventoRecom{
	border-bottom: 2px solid #a71b2e;
	border-top: 2px solid #a71b2e;
	float:right;
	width:230px;	
	padding-bottom:5px;	
	padding-top:17px;	
}
#tabla-resultats.llistat .icon-caret-down{
	font-size:28px;
	color:#a71b2e;
	margin-top:-28px !important;
	margin-left:34px;
	position:absolute;
}

.textoRecomendado{
	margin-top:-40px !important;
	padding-bottom:14px;
	margin-left:5px !important;	
	color:#a71b2e !important;
}

.eventoRecomanador{
	display:inline-block;
	border-radius:50%;
	border: 2px solid #a71b2e;
	width:80px;
	height:80px;
	overflow:hidden;
	margin-left:5px !important;
}

.eventoRecomanador:after {
	content:"\f007";
	font-family:'fontawesome-alloy';
	font-size:60px;
	border-radius:0%;
	padding-left:14px;
}

.eventoRecomanadorName {
	width:55%;
	float:right;
	padding-top:10%;
	font-weight:bold;
}

#tabla-resultats{
	margin-left:7px;
}

#tabla-resultats p.letrasAgenda {
    max-height: 5.5em;
    text-overflow: ellipsis;
    /*overflow-y: hidden;*/
}

#tabla-resultats p.letrasAgendaRecomanadors {
    max-height: 5.5em;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* #tabla-resultats div.bibliotecarisCajas { */
/*     position: relative; */
/*     background: #e6e6e6; */
/*     padding: 10px; */
/*     float: left; */
/*     min-height: 175px; */
/*     width: 28%; */
/*     margin: 20px; */
/*     cursor: pointer; */
/*     min-width: 200px; */
/*    	max-height: 175px;evita espacios en blanco */
/*    height: 190px; */
    
/* } */
#tabla-resultats div.bibliotecarisCajas .eventoTitulo{
	font-weight: bold;
    font-size:18px;
    padding-bottom:8px;
}
#tabla-resultats.llistat div.bibliotecarisCajas{
	max-height: none;
}

#tabla-resultats div.bibliotecarisCajas .margenCaja div.col-xs-3 {
    padding-left: 1px;
    padding-right: 6px;
    padding-top: 1px;
    /*height: 0;*/
}

#tabla-resultats.llistat div.bibliotecarisCajas .margenCaja div.col-xs-3 {
    height: 100%;
    margin-bottom: 1em;
    width: 15%;
}
#tabla-resultats.llistat div.bibliotecarisCajas .margenCaja p.imagenLibro img.img-responsive {
	width: 100%;
}

#tabla-resultats.llistat div.bibliotecarisCajas .margenCaja div.col-xs-9 {
    width: 85%;
}

#tabla-resultats div.bibliotecarisCajas .eventoPublicacion, 
#tabla-resultats div.bibliotecarisCajas .eventoDisponibilidad{
 	display: none;
}

#tabla-resultats.llistat div.bibliotecarisCajas {
	background: #fff;
	width: 93%;
	cursor: auto;
} 

#tabla-resultats.llistat p.letrasAgenda{
	max-height: none;
}

#tabla-resultats.llistat div.bibliotecarisCajas .eventoAutor{
	display:block;
	font-style:italic;
	padding-bottom:0px;
}

#tabla-resultats.llistat div.bibliotecarisCajas .eventoPublicacion{
 	display: block;
 	padding-bottom:15px;	
} 
#tabla-resultats.llistat div.bibliotecarisCajas .eventoDisponibilidad{
 	display: block;
 	padding-bottom:40px;
}

#tabla-resultats .bibliotecarisCajas:before {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    border-left: 15px solid transparent;
    border-top: 15px solid transparent;
    border-right: 15px solid #fff;
    border-bottom: 15px solid #fff;
}

#tabla-resultats .bibliotecarisCajas:after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    border-left: 15px solid #b3b3b3;
    border-top: 15px solid #b3b3b3;
    border-right: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.bibliotecarisCajas div[class^="icono_new"]
{
	position: absolute;
    left: -20px;
    top: -20px;
    z-index: 1;
}

.bibliotecarisCajas div.icono_new_es_ES:after
{
	content: url(/o/Bibliotecas-theme/images/bibliotecas/ic_nuevo.png);
}

.bibliotecarisCajas div.icono_new_ca_ES:after
{
	content: url(/o/Bibliotecas-theme/images/bibliotecas/ic_neu.png);
}

.bibliotecarisCajas div.icono_new_en_US:after
{
	content: url(/o/Bibliotecas-theme/images/bibliotecas/ic_new.png);
}


#tabla-resultats div.bibliotecarisCajas:hover {
    background: #811424;
}

#tabla-resultats.llistat div.bibliotecarisCajas:hover {
    background: #fff;
}

.bibliotecarisCajas:hover p{
    color:#fff;
}

#tabla-resultats.llistat .bibliotecarisCajas:hover p{
    color:black;
}

#tabla-resultats .bibliotecarisCajas .share{
	display: none;
}
	
#tabla-resultats.llistat .bibliotecarisCajas .share,
#detalleModal .share{
	display:block;
	float: left;
    width: 100%;
    background: #e6e6e6;
    padding: 10px;
    margin-top: 10px;
}

#tabla-resultats .bibliotecarisCajas:hover:before,
#tabla-resultats.llistat .bibliotecarisCajas:hover:before,
#tabla-resultats.llistat .bibliotecarisCajas:hover:after,
#tabla-resultats.llistat .bibliotecarisCajas:before,
#tabla-resultats.llistat .bibliotecarisCajas:after{
    display: none;
}

#tabla-resultats .bibliotecarisCajas:hover:after {
    padding: 5px;
    font-size: 24px;
    color: #fff;
    border: 0;
    width: auto;
    height: auto;
    content: '+';
}

#detalleModal p.image{
	float: left;
    margin: 0 20px 10px 0;
    max-width: 25%;
}

#detalleModal p.titulo{
	font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

#detalleModal p.titulo-recomanacions{
	font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    padding: 15px;
}

#detalleModal p.llista-recomanacions{
	font-size: 15px;
    margin-bottom: 5px;
    padding: 15px;
}
#detalleModal p.autor{
	font-size: 16px;
    font-style: italic;
    padding-bottom:30px;
}

#detalleModal p.publicacion{
	padding-bottom:30px;
}

#detalleModal p.disponibilidad{
	padding-bottom:30px;
}

#tabla-resultats .modifiedDate{
	display:none;
}

#tabla-resultats.llistat .modifiedDate,
#detalleModal .modifiedDate{
	display:block;
	float: right;
    font-style: italic;
    width:100%;
    text-align: right;
}



#detalleModal .modal-footer{
	padding-top: 0;
	border: none;
}

#content #embedded-portlet>div.portlet-boundary, #content #embedded-portlet h2{
	margin-bottom:0;
}


.treinta-chars {
    width: 18ch;
    overflow: hidden;
/*     white-space: nowrap; */
    text-overflow: ellipsis;
}


/**---------------------- add this ---------------------------------**/
#tabla-resultats.llistat .bibliotecarisCajas .addthis_toolbox a, 
#detalleModal .modal-footer .addthis_toolbox a{
	width: 32px;
    height: 32px;
    transition: all .2s ease-in-out;	
    margin: 5px;
    display: inline-block;
    float: left;
}
#tabla-resultats.llistat .bibliotecarisCajas .addthis_toolbox a:hover,
#detalleModal .addthis_toolbox a:hover{
	-webkit-transform: translateY(-4px);
    transform: translateY(-4px);
    outline-offset: -1px;
    color: inherit;		
}
#tabla-resultats.llistat .bibliotecarisCajas .addthis_toolbox a.addthis_button_email,
#detalleModal .addthis_toolbox a.addthis_button_email{
	background: transparent url(/o/Bibliotecas-theme/images/bibliotecas/email.png) 0 0 no-repeat!important;
}
#tabla-resultats.llistat .bibliotecarisCajas .addthis_toolbox a.addthis_button_compact,
#detalleModal .addthis_toolbox a.addthis_button_compact{
	background: transparent url(/o/Bibliotecas-theme/images/bibliotecas/share.png) 0 0 no-repeat!important;
}
#tabla-resultats.llistat .bibliotecarisCajas .addthis_toolbox a.addthis_button_print,
#detalleModal .modal-footer .addthis_toolbox a.addthis_button_print{
	background: transparent url(/o/Bibliotecas-theme/images/bibliotecas/print.png) 0 0 no-repeat!important;
}
#tabla-resultats.llistat .bibliotecarisCajas .addthis_toolbox span,
#detalleModal .addthis_toolbox span{
	height: 32px !important;
    width: 32px !important;
    display:none;
    background: none !important;
}
/*----------------categories-------------------------------------------*/

.hideCat{
	display:none !important;
	max-height: 0 !important;
}

/*.categoriasTab input[value*="_child_"]{
	margin-left:10px;
}*/

#searchCatBox .icon{
	position: absolute;
  	padding: 10px;
  	pointer-events: none;
  	right: 0px;
}

#searchCatBox input{
	padding-right: 30px;
}

.categoriasTab i.icon {
	font-size: 0.7em;
}


/*----------------categorias Recomanacions-----------------------------*/ 
div[id*=elCloneCat_]:not([parentId*=elCloneCat_0]){
	margin-left: 10px;
}

div[parentid="elCloneCat_0"]>i.icon{
	font-size: 0.7em;
}

div.treeroot{
    display: none;
    transform: rotateX(90deg);
}

.inputAcord:checked ~ div.treeroot{
	display:block;
    transition: 1s;
    transition-property: display;
    transform: rotateX(0deg);	
}
	
.bottomStickdiv{
    position: fixed;
    bottom: 1px;
    opacity: 0;
}

.eines-descoberta-portlet>.portlet>.portlet-topper{
	top: 190px;
}
.eines-descoberta-portlet .portlet>.portlet-topper{
	z-index: 12;
}