/* New styles if we need */ 

#pdfcatalogue .title_catalogue {
	margin: 0 0 20px 0;
	display: block;
	text-align: center;
	color: #000;		
}
#pdfcatalogue .category_description{
	padding:20px 50px;
	text-align:center;
	font-size:14px;
	letter-spacing:1px;
	max-width:900px;
	margin:auto;
}

@media (min-width: 770px){
	#pdfcatalogue .subcategory{
		overflow:auto;
	}
}
#pdfcatalogue .hover-container{
	display:block;
	padding:10px;
    border: 1px solid #E9E9E9;
}
#pdfcatalogue .hover-container:hover{
	box-shadow: 0 0 10px #AAAAAA;
    transition: all 0.3s ease 0s;
    
    /* aquest es el que hi ha a les categories de productes */
    /*
    -webkit-box-shadow: rgba(0, 0, 0, 0.17) 0 0 13px;
    -moz-box-shadow: rgba(0, 0, 0, 0.17) 0 0 13px;
    box-shadow: rgba(0, 0, 0, 0.17) 0 0 13px;
    */
}

#pdfcatalogue .document_title{
	display:table;
	height:36px;
  	overflow: hidden;
	text-overflow: ellipsis;
}
#pdfcatalogue .document_title span{
	display: table-cell; 
 	vertical-align: middle; 
  	overflow: hidden;
	text-overflow: ellipsis;
}

.subcategory .holder_document{
	padding-bottom:20px;
}
.grid .wpfrontpageblock .contenthtml {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    padding: 0px 16px;
    width: 59%;
}

.grid .wpfrontpageblock > a {
    display: inline-block;
    width: 40%;
    vertical-align: top;
}

#pdfcatalogue .wpfrontpageblock{
	float:left;
}
@media (min-width: 991px){
	.subcategory .holder_document:nth-of-type(4n+1){
		clear:left;
	}
}
@media (max-width: 991px){
	.subcategory .holder_document:nth-of-type(2n+1){
		clear:left;
	}
}
.grid .wpfrontpageblock{
	padding-bottom:20px;
}
@media (min-width: 991px){
	.grid .wpfrontpageblock:nth-of-type(4n+1) {  
		clear:left;
	}
	.grid .wpfrontpageblock.col-md-4:nth-of-type(4n+1) {  
		clear:none;
	}
	.grid .wpfrontpageblock.col-md-4:nth-of-type(3n+1) {  
		clear:left;
	}
}
@media (max-width: 991px){
	.grid .wpfrontpageblock:nth-of-type(2n+1) {  
		clear:left;
	}
}
