/*
Theme Name: vantage-child
Theme URI: https://qooant.com
Version: 1.0
Description: Tema fill de vantage
Author: Pep
Author URI: https://qooant.com
Template: vantage
*/
 
/*----------------- Canvis a partir d'aquí -------------------------------*/

#main {    
    padding: 20px;
}

#masthead .hgroup {
  zoom: 1;
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.main-navigation {   
	background: #000000;
}

.main-navigation ul li a {
	padding: 10px 20px;
	border:solid;
	border-width: thin;
	border-bottom: none;
    border-top: none;
}

.Quadradet {
	width: 15px; 
	height: 15px; 
	border: 1px solid #555;
	float:left;
	margin-left:5px;
}

.Quadradet.Verd {  
	background: #0EAF5F;
}

.Quadradet.Taronja {
	background: #E49812;
}

.Quadradet.Vermell { 
	background: #E41212;
}

.entry-content p{
	margin-bottom:-2px;
}

#page-wrapper h1, #page-wrapper h2, #page-wrapper h3, #page-wrapper h4, #page-wrapper h5, #page-wrapper h6 {    
    font-weight: bold;
}

.main-navigation a {
  font-weight: normal;
}

.wp-block-separator{
	border:0;
}

table.taula th,td {
	border-bottom: solid;
    border-width: thin;
    border-color: gray;
	padding: 3px;
}

.chart_wrap {
    position: relative;
    padding-bottom: 0;
    height: 0;
    overflow:hidden;
	min-height:500px;
	clear:both;
}

.grafica {
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height:500px;
}

@media (min-width: 1080px) {
  body.responsive #masthead .hgroup .logo img,
  body.responsive #masthead .hgroup .custom-logo {
    /* Scale down the logo if necessary */
    max-width: 30%;
    height: auto;
  }
}

ul.box {
    display: flex;
    flex-wrap: wrap;
    padding: 1em 0;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    /* justify-content: space-around; */
	justify-content: left;
	margin-left:-12px;
}

ul.box li{
	box-shadow: rgb(149 157 165 / 20%) 0px 8px 24px;
}

@media (max-width: 800px) {
	ul.box li {
		flex: 0 0 80vw;
		/*height: 32vw;*/
		height: auto;
	}
	ul.box li div.element {
	font-size:20px;
	}
	ul.box li div.titol{	
	font-size: 35px;
	}
	.caselleta .cont {font-size: 18px;}
	.caselleta .tit {font-size: 18px;}
	.entry-content p {font-size: 18px;}
}

@media (min-width: 800px) and (max-width: 1000px) {
  ul.box li {
		flex: 0 0 40vw;
		/*height: 22vw;*/
	  height: auto;
	}
	ul.box li div.element {
	font-size:15px;
	}
	ul.box li div.titol{	
	font-size: 30px;
	}
	.caselleta .cont {font-size: 15px;}
	.caselleta .tit {font-size: 15px;}
	.entry-content p {font-size: 15px;}
}

@media (min-width: 1000px) {
	ul.box li {
		flex: 0 0 11.0vw;
		/*height: 10.3vw;*/
		height: auto;
	}
	ul.box li div.element {
	font-size:13px;
	}
	ul.box li div.titol{	
		font-size: 25px;
	}
	.caselleta .cont {font-size: 13px;}
	.caselleta .tit {font-size: 13px;}
	.entry-content p {font-size: 13px;}
}

ul.box li {
    border-radius: 6px;
    padding: 1em;
    margin: 1em;
	/*
    flex: 0 0 10.3vw;
    height: 10.3vw;
	*/
    display: block;
    background: #fff;
    transition: all 300ms;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
	display: list-item;
    text-align: -webkit-match-parent;
	min-width:200px;
}

ul.box li div.titol{
	font-weight: bold;
	/*font-size: 25px;*/
	border-bottom: 1px solid #eeeeee;
	text-align:center;
	margin-bottom: 5px;
}

ul.box li div.titol a{
	text-decoration:none;
}

ul.box li div.element {
	padding:2px;
	padding-bottom: 0px;
}

ul.linkproductes {
    display: flex;
    flex-wrap: wrap;
    padding: 1em 0;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    /* justify-content: space-around; */
	justify-content: left;
	margin-left:-12px;
}

ul.linkproductes li{
	box-shadow: rgb(149 157 165 / 20%) 0px 8px 24px;
}

@media (max-width: 800px) {
	ul.linkproductes li {
		flex: 0 0 80vw;
		/*height: 32vw;*/
		height: auto;
	}
	ul.linkproductes li div.element {
	font-size:20px;
	}
	ul.linkproductes li div.titol{	
	font-size: 35px;
	}
	.caselleta .cont {font-size: 18px;}
	.caselleta .tit {font-size: 18px;}
	.entry-content p {font-size: 18px;}
}

@media (min-width: 800px) and (max-width: 1000px) {
  ul.linkproductes li {
		flex: 0 0 40vw;
		/*height: 22vw;*/
	  height: auto;
	}
	ul.linkproductes li div.element {
	font-size:15px;
	}
	ul.linkproductes li div.titol{	
	font-size: 30px;
	}
	.caselleta .cont {font-size: 15px;}
	.caselleta .tit {font-size: 15px;}
	.entry-content p {font-size: 15px;}
}

@media (min-width: 1000px) {
	ul.linkproductes li {
		flex: 0 0 11.0vw;
		/*height: 10.3vw;*/
		height: auto;
	}
	ul.linkproductes li div.element {
	font-size:13px;
	}
	ul.linkproductes li div.titol{	
		font-size: 25px;
	}
	.caselleta .cont {font-size: 13px;}
	.caselleta .tit {font-size: 13px;}
	.entry-content p {font-size: 13px;}
}

ul.linkproductes li {
    border-radius: 6px;
    padding: 1em;
    margin: 1em;
	/*
    flex: 0 0 10.3vw;
    height: 10.3vw;
	*/
    display: block;
    background: #fff;
    transition: all 300ms;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
	display: list-item;
    text-align: -webkit-match-parent;
	min-width:200px;
}

ul.linkproductes li div.titol{
	font-weight: bold;
	/*font-size: 25px;*/
	border-bottom: 1px solid #eeeeee;
	text-align:center;
	margin-bottom: 5px;
}

ul.linkproductes li div.titol a{
	text-decoration:none;
}

ul.linkproductes li div.element {
	padding:2px;
	padding-bottom: 0px;
}


article.post .entry-header, article.page .entry-header {
    margin-bottom: 5px;
}

article.post, article.page {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.caselleta {
    border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-color: #D3D3D3!important;
    border-width: 2px;
    border: thin double;
    margin: 10px;
    width: auto;
    float: left;
	padding:4px;
	margin-right: 0px;
	min-width: 60px;
}

.caselleta .tit {
    color:#999;
	/* font-size:11px; */
	margin-bottom: 3px;
	border-bottom: thin solid #CCCCCC;
	padding-bottom:3px;
}

.caselleta .cont {
    float: right;
	color:#666;
	/* font-size:11px; */
}
