@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Roboto&display=swap');
@import url("tooltipos-tabela.css"); /*ficheiro exclusivo aos tooltips da tabela*/

@font-face {
    font-family: "Museo Sans 100";
    src: url("../fonts/MuseoSans-100.otf") format("opentype");
}
@font-face {
    font-family: "Museo Sans 300";
    src: url("../fonts/MuseoSans-300.otf") format("opentype");
}
@font-face {
    font-family: "Museo Sans 500";
    src: url("../fonts/MuseoSans_500.otf") format("opentype");
}

@font-face {
    font-family: "Museo Sans 700";
    src: url("../fonts/MuseoSans_700.otf") format("opentype");
}

@font-face {
    font-family: "Museo Sans 900";
    src: url("../fonts/MuseoSans_900.otf") format("opentype");
}

body {
	font-family: 'Museo Sans 500';
}
h1 {
	font-size:60px;
	border-bottom:10px solid #A0BE3C;
	margin-bottom:50px;
	font-family: 'Museo Sans 500';
}
h2 {
	font-size:40px;
}
h3 {
	border-bottom:7px solid #A0BE3C;
}

h5 {
	font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1,h2 {
	text-transform: uppercase;
	color:#333532;
	letter-spacing: 10px;
	font-weight: bold;
	display:inline-block;
}

h3,h4 {
	text-transform: uppercase;
	color:#333532;
	letter-spacing: 5px;
	font-family: 'Museo Sans 500';
	display:inline-block;
	margin-bottom:30px;
}

.museo-sans-500{
	font-family: 'Museo Sans 500';
}

.museo-sans-700{
	font-family: 'Museo Sans 700';
}

#nome_da_marca{
	font-size: 20px;
    font-weight: bold;
}

a {
	color:#A0BE3C;
}

.header p {
	font-size:16px;
}

.header .p-size-17 {
	font-size:17px;
}

.btn-secondary {
    border-radius: 15px;
    background: #333532;
    color: white;
    padding: 5px 26px;
    border: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 18px;
}

.nossas-marcas {
	background:#A0BE3C;
	text-transform: uppercase;
	color:white;
}
.nossas-marcas h4 {
	color:white;
}
.comparar-marcas thead th:first-child {
	width:120px;
	text-align:right;
	border:0;
}
.comparar-marcas td:first-child {
	text-align: right;
	border:0;
}
.comparar-marcas thead th {
	border-bottom:0;
}
.comparar-marcas tr td:first-child {
	vertical-align: middle;
	font-weight: normal;
	font-size:18px;
	color:#333532;
}

.comparar-marcas td {
	font-size:24px;
	font-weight: bold;
	color:#333532;
}

.marca-descricao {
	border-left:3px solid #A0BE3C;
	padding-left:20px;
	padding-top:10px;
	font-size: 26px;
    line-height: 34px;
	font-weight: bold;
	letter-spacing: 2px
}

#onde-contactos {
	justify-content: center;
	border:0;
}

#onde-contactos .nav-link {
	border-radius:10px;
	background:#333532;
	color:white;
	padding:5px 20px;
	border:0;
	margin:0 5px;
	text-transform:uppercase;
	letter-spacing: 3px;
}

#onde-contactos .nav-link.active {
	background:#A0BE3C;
}

#contactos {
	max-width:800px;
	margin:30px auto;
}

#contactos input[type=checkbox] {
	-moz-appearance:none;
	-webkit-appearance:none;
	-o-appearance:none;
	outline: none;
	content: none;
}

#contactos input[type=checkbox]:before {
	width:17px;
	height:17px;
	border:1px solid #A0BE3C;
}

#newsletter input[type="email"] {
	border:1px solid #333632;
	border-radius:15px;
}
input[id="pp-newsletter"] + label, input[id="pp-voucher"] + label {
	border:1px solid #333532!important;
	top:3px;
	position:relative;
}

input[id="pp"] + label, input[id="pp-newsletter"] + label, input[id="pp-voucher"] + label {
  display: inline-block;
  width: 20px!important;
  height: 20px!important;
  border: 2px solid #A0BE3C;
  border-radius: 5px!important;
  padding:0!important;
  cursor: pointer;
}
input[id="pp"]:checked + label:after, input[id="pp-newsletter"]:checked + label:after, input[id="pp-voucher"]:checked + label:after {
  position: relative;
  top: -4px;
  left: 2px;
  content: '\2714';
  font-size: 14px;
}
input[id="pp"], input[id="pp-newsletter"], input[id="pp-voucher"] {
  display: none;
}

#contactos textarea, #contactos input[type=text], #contactos input[type=email] {
	border:2px solid #A0BE3C;
	border-radius:20px;
}

p.subtitle {
	line-height: 30px;
	font-size:22px;
	color:#333532;
	font-weight: 700;
	margin-bottom:5px;
}

p.subtitle .lighter {
	font-weight: 300;
	font-size:20px;
}

p.subsubtitle {
    font-size: 15px;
    margin-bottom: 70px;
    line-height: 26px;
    font-weight: 600;
}


.selecionador {
    background-size: cover;
    padding: 0;
    position: relative; 
    width: 100%;
    height: 920px;
}
.selecionador::before {
	content: "";
      background:url('../img/background.png') bottom no-repeat;
      background-size: cover;
      position: absolute;
      top: 0px;
      right: 0px;
      bottom: 0px;
      left: 0px;
      opacity: 0.6;
      z-index: -9999;
}


.selecionador .cao_slide {
    position: absolute;
    top: 40%;
    left: 0%;
    width: 400px;
    z-index: 9999;
}

.selecionador .gato_slide {
    position: absolute;
    top: 40%;
    right: 0%;
    width: 400px;
    z-index: 9999;
}

@media (max-width:1600px) {
	.selecionador .cao_slide {
		top: 55%;
		width: 250px;
	}

	.selecionador .gato_slide {
		top: 55%;
		width: 250px;
	}
}
@media (max-width:991px) {
	.selecionador .cao_slide {
		display:none;
	}

	.selecionador .gato_slide {
		display:none;
	}
}

.selecionador img {
	width:45px;
}
.selecionador input[type=radio] {
	display:none;
}
.selecionador label:has(> input[type=radio]:checked) {
	background:#A0BD3D;
	border:2px solid #A0BE3C;
}
.selecionador label {
	cursor:pointer;
	background:none;
	padding:10px 20px 0px;
	border-radius:25px;
	border:2px solid #333532;
	text-transform: uppercase;
	font-weight: bold;
	font-size:22px;
	letter-spacing: 4px;
	font-family: 'Museo Sans 500';
}

.animal-tipos, .faixa-de-preco, .salmaoOUcarne {
	margin-bottom:10px;
}
.tipos-list {
	display:inline;
}
.tipos-list label {
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 15px;
    letter-spacing: 2px;
    margin-bottom:10px;
	font-family: 'Museo Sans 700';
}

#botao-carregar-tabela{
	font-family: 'Museo Sans 500';
}

.dados-animal {
	padding:70px 0 0;
}
input[type="text"]::placeholder, input[type="number"]::placeholder, textarea::placeholder {
	font-size:16px;
	font-weight: bold;
	color:#333532;
}
.dados-animal input[type="text"] {
	width:50%;
}
#conteudotable-generica input[type="number"], #conteudotable-generica input[type="text"] {
	padding:10px 15px;
	border-radius:20px;
	border:1px solid #333532;
	letter-spacing: 3px;
	/*font-weight: bold; */
	font-size:20px;
	text-align: center;
    width: 290px;
}
input[type="text"] {
	padding:10px 15px;
	border-radius:20px;
	border:2px solid #333532;
	letter-spacing: 3px;
	font-weight: bold;
}
/*parte que faria o select ficar a verde*/
input:focus, select:focus, input:active, select:active  {
	outline-color:#A0BE3C!important;
	background:#A0BD3D;	
	border:2px solid #333532!important;
}

select option {
	background:white;
}
/*class de fazer select persistir a verde*/
.not-empty {
	background:#A0BD3D;
	border:2px solid #A0BE3C!important;
}

.dados-animal select {
	width:25%;
	margin:0 auto;
}
.dados-animal select option {
	background:white;
}
.matches select {
	width:50%!important;
}
.comparador select {
	width:100%;
}
select, input[type=email] {
	padding:10px 15px;
	border-radius:20px;
	border:2px solid #333532;
	font-size:16px;
	font-weight: bold;
	color:#333532;
	letter-spacing: 3px;
}

input[type=email] {
	padding:5px 15px;
	margin-right: 10px;
}

.comparador p {
	color:#333532;
}
.comparador-produto-img {
	max-width:200px;
	display:block;
	margin:0 auto 35px;
}
.comparador-marca-img {
	max-width: 150px;
	position: relative;
	margin-top:-100px;
	padding:15px 30px;
	border-radius:10px;
	box-shadow: 0px 3px 10px #ccc;
	background:white;
}

.diferenca p {
    width: 100%;
    margin: 0 auto;
    font-size: 22px;
    letter-spacing: 1px;
}
.websites-marcas {
	background:#333532;
}
.websites-marcas img {
	max-width:120px;
	width:100%;
}
.websites-marcas .container {
	max-width:1000px;
}
.websites-marcas a {
	color:#A0BE3C;
	font-size:14px;
	text-decoration: unset;
}
.websites-marcas .social a {
	color:white!important;
}
.websites-marcas .social {
	/*color:white;
	border-radius:50%;
	width:25px;
	height:25px;
	padding:0 0 0 1px;
	font-size:15px;
	border:2px solid #A0BE3C;
	margin:5px;*/
	width:25px;
	height:25px;
	margin-right:10px;
}

input[type="text"]:focus {
	background:#A0BE3C;
}

.petmaxi-footer {
	width:120px;
}
.gama {
	width:120px;
}

.gamas-img {
	width:100%;
}
.outra_marca .modal-dialog {
	max-width: 900px;
}
.outra_marca .modal-body p {
	max-width:60%;
	margin:0 auto;
}
.outra_marca .modal-footer {
	justify-content: center;
	border-top:0;
}

.copyright {
	font-size:24px;
	letter-spacing: 2px;
}
#imagens {
	text-align: center;
}
tr#imagens th {
	max-width: 250px;
}
.verde {
	background-color:#A0BD3D;
	border-radius: 15px;
    display: inline-block;
    padding: 10px 25px;
}
.table > tbody > tr > td {
	vertical-align: middle;
}

.table{
	font-family: 'Museo Sans 300'!important;
}
/*.vermelho {
	background-color:#DA4C4B;
	border-radius: 15px;
    display: inline-block;
    padding: 10px 25px;
}*/
#newsletter input[type="email"] {
	width:25%;
}
.inline-block{
	display: inline-block;
}

/* .circuloVS{
	border-radius: 50%;
    height: 60px;
    width: 60px;
    shape-outside: border-box;
    background-color:#A0BE3C;
    display: inline-block;
    vertical-align: middle;
} */

.circuloVS{
	height: 100px;
	width: 100px;
    /*vertical-align: middle;*/
}
.texto_verde{
	color:#A0BE3C;
}

div#download-table {
    font-size: 24px;
    letter-spacing: 3px;
    margin-top: 20px;
    font-family: 'Museo Sans 500';
}

/*MANDAR-VOUCHER*//*cor amarela: rgb(249, 176, 28) core verde: rgb(149, 193, 31)*/

#mandar_vouchers img {
	width:35px;
}
#mandar_vouchers input[type=radio] {
	display:none;
}
#mandar_vouchers label:has(> input[type=radio]:checked) {
	background:#444!important;
	border:2px solid #444;
	color:white;
}
#mandar_vouchers .gato_email label {
	height:42px;
	padding: 8px 25px;
}
.select-selected.active {
	background:#444!important;
	color:white;
}
#mandar_vouchers button[type=submit] {
	padding: 5px 15px;
    border-radius: 25px;
    border: 1px solid #333532;
    letter-spacing: 3px;
    font-weight: 300;
    background: transparent;
    text-align: center;
    color:#333532;
}

#mandar_vouchers label {
    cursor: pointer;
    background: none;
    padding: 5px 15px 0px;
    border-radius: 30px;
    border: 1px solid #333532;
    font-size: 16px;
    letter-spacing: 4px;
    background-color: rgb(249, 176, 28);
}
#mandar_vouchers .select-items{
	width:70%;
}
#mandar_vouchers {
	padding:30px;
}
#mandar_vouchers a {
	color:black;
}
#mandar_vouchers input[type="text"]::placeholder, textarea::placeholder {
	font-size:16px;
	font-weight: bold;
	color:#333532;
}

#mandar_vouchers input[type="text"], #mandar_vouchers input[type="email"] {
	padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid #333532;
    letter-spacing: 3px;
    font-weight: 300;
    width: 100%;
    background: transparent;
    text-align:center;
}
#mandar_vouchers .select-selected {
	background: transparent;
}
#mandar_vouchers .not-empty {
	border:2px solid #444!important;
	background:#444!important;
	color:white;
}
/*parte que faria o select ficar a verde*/
#mandar_vouchers input:focus, select:focus, input:active, select:active  {
	outline-color:#444!important;
	background:transparent;	
	border:2px solid #444!important;
}
#mandar_vouchers input[type="text"]:focus {
	background:transparent;
}

@media (max-width:767px) {
	input[type="text"], select, .matches select  {
	    width: 100%!important;
	}
	#newsletter input[type="email"] {
		width:100%;
	}
	.comparar-marcas tr td:first-child, .comparar-marcas tr th:first-child {
		position: sticky;
		left:-5px;
		z-index: 9999;
		width:auto;
	}
}

@media print {
	html * {
		print-color-adjust: exact!important;
		-webkit-print-color-adjust: exact!important;
	}	
}

/*Select costumizável
Instruçãoes de uso:
1. dar wrap a um select com <div class="custom-select"><div>
1.5 chamar método para fazer esta lógica* (tive que mudar pois estava a fazer quando o site carregava e nessa altura ainda não tenho as options)
2. Fim
Requirements: Tem várias classes de css. Tem javascript e um pouco de jquery.
Fontes: w3schools para o dinamismo do select, comentário do stack overflow em que se usa Canvas para o tamanho dinâmico do select
*/
/*https://www.w3schools.com/howto/howto_custom_select.asp
https://stackoverflow.com/questions/118241/calculate-text-width-with-javascript
*/
/*the container must be positioned relative:*/
.custom-select {
	position: relative;
	vertical-align: middle;
	text-align: center;
	width:100%;
	/* font-family: Arial; */
  }
  
  .custom-select select {
	display: none; /*hide original SELECT element:*/
  }
  
  .select-selected {
	background-color: White;
	border-radius: 25px;
  }
  
  /*style the arrow inside the select element:*/
  .select-selected:after {
	position: absolute;
	content: "";
	top: 14px;
	right: 10px;
	width: 0;
	height: 0;
	border: 6px solid transparent;
	border-color: Black transparent transparent transparent;
  }
  
  /*point the arrow upwards when the select box is open (active):*/
  .select-selected.select-arrow-active:after {
	border-color: transparent transparent Black transparent;
	top: 7px;
  }
  
  /*style the items (options), including the selected item:*/
  .select-items div,.select-selected {
	color: Black;
	padding: 8px 16px;
	border: 1px solid transparent;
	border-color: Black Black Black Black;
	cursor: pointer;
	user-select: none;
  }
  
  /*style items (options):*/
  .select-items {
	position: absolute;
	background-color: White;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 99;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	border-radius: 0px 0px 25px 25px!important;
  }
  
  /*hide the items when the select box is closed:*/
  .select-hide {
	display: none;
  }
  
  .select-items div:hover, .same-as-selected {
	/*background-color: rgba(0, 0, 0, 0.1);*/
	color: #A0BD3D!important;
  }
  
  .select-last-rounded {
	  border-radius: 0px 0px 25px 25px!important;
  }
#vouchers {
    border-bottom: 40px solid #444;
    padding-bottom: 40px;
    background: url(../img/cao_e_gato_voucher_petmaxi.webp);
    background-size: 370px;
    background-repeat: no-repeat;
    background-position: 2vw 100%;
}
  #vouchers p {
  	text-align:left;
  }
  .sim {
    font-size: 40px;
	font-family: 'Museo Sans 500';
    margin-bottom:0;
    letter-spacing: 2px;
}
.testar {
    font-family: 'Museo Sans 900';
    font-size: 45px;
    line-height: 44px;
    margin-bottom:0;
    letter-spacing: 5px;
}
p.valido {
    font-family: 'Museo Sans 500';
    line-height: 20px;
    margin-top: 5px;
    letter-spacing: 1px;
    font-size:18px;
}
.description-voucher{
	padding-left:25px;
}
.row-vouchers{
	margin-left:-25px;
}
.voucher-5 {
	background-color: rgb(249, 176, 28); 
	border-radius: 50px; 
	width: 250px; 
	height: 250px;  
	color:white;
	padding:15px;
	/* font-weight: 900; */
}

.voucher-10 {
	background-color: rgb(149, 193, 31); 
	border-radius: 50px; 
	width: 250px;  
	height: 250px;  
	color:white;
	padding:15px;
	/* font-weight: 900; */
}
.line-height-teste{
	line-height: 40px;
}
.vale {
	font-family: 'Museo Sans 900';
	font-size: 150px;line-height:150px;
}
.euro {
	font-family: 'Museo Sans 900';
	font-size: 60px;
}
.desconto {
	margin-bottom: -20px;
	margin-top: 22px;
}
.de_desconto {
	font-family: 'Museo Sans 500';
	font-size:30px;
}
.menu {
	background:rgba(160, 190, 60, 0.8);
}
.menu nav {
	float:right;
}
a.nav-link {
	font-size:17px;
	color:white;
	letter-spacing: 3px;
	font-family: 'Museo Sans 500';
}
li.nav-item {
    margin: 0 36.66px; 
}
.logo {
	width: 230px!important;
    padding-right: 25px;
    border-right: 4px solid white;
	margin-right: 36.66px;
}
@media (max-width:1199px) { /*Correção ao tamanho em caso antes de botão com os itens*/
	li.nav-item {
		margin: 0 25px; 
	}
}

@media (max-width:327px) {

}
@media (max-width:371px) {
	.especies label {
	    width: 100%;
	    font-size: 14px;
	}
	.selecionador label {
		font-size:12px!important;
		padding: 5px 10px 0px;
		letter-spacing: 1px!important;
	}
	p.subtitle {
	    font-size: 16px!important;
	    line-height: 18px!important;
	}
	p.subsubtitle {
	    font-size: 14px!important;
	    line-height: 16px!important;
	    margin-bottom: 30px;
	}
}
@media (max-width:991px) {
	.selecionador label {
	    font-size: 12px;
	    letter-spacing: 1px;
	}
	p.subtitle {
		font-size:20px;
	}
	p.subsubtitle {
		font-size:18px;
		line-height: 22px;
	}
	.menu nav {
		width: 100%;
	}
}
@media (max-width:767px) {
	.head-labels {
    padding: 5px!important;
}
	.header .head-labels:last-child {
		margin-bottom:25px!important;
	}
	.header p {
		font-size:12px;
	}
	h1 {
	    font-size: 28px;
	    margin-bottom: 20px;
	}
	p.subtitle {
		font-size:16px;
		line-height:18px;
	}
	p.subsubtitle {
		font-size: 14px;
    	line-height: 16px;
   		margin-bottom: 20px;
	}
	.tipos-list label {
		margin-bottom:10px;
		font-size:14px;
	}
	.especies label {
		width: 100%;
    	font-size: 12px;
	}
	.comparador-produto-img {
		width:100px;
		margin:0 auto 30px;
	}
	.comparar-marcas tr td:first-child {
		font-size:12px;
		text-align:left;
	}
	#nome_da_marca {
    	font-size: 14px;
	}
	.comparar-marcas td {
    	font-size: 14px;
	}
	.circuloVS {
		width:30px;
		height:30px;
		position:absolute;
		margin-top: -50px;
    	margin-left: -15px;
	}
	#conteudotable-generica input[type="number"], #conteudotable-generica input[type="text"], #conteudotable-generica input[type="text"]::placeholder, #conteudotable-generica input[type="number"]::placeholder {
		font-size:12px;
		max-width:150px;
	}
	.diferenca p {
		font-size:14px;
	}
	.voucher-5, .voucher-10 {
		margin: 15px auto;
	}
	#vouchers p {
		text-align:left;
	}
	.verde, .vermelho {
		padding:10px;
	}
	div#download-table {
		font-size:16px;
		margin-top:10px;
	}
	.vale {
		font-size: 100px;
    	line-height: 80px;
	}
	.euro {
		font-size:30px;
	}
	.de_desconto {
		font-size:22px
	}
	.desconto {
		margin-bottom: -10px;
		margin-top: 6px;
	}
	.footer{
		text-align: center;
	}
	.voucher-5, .voucher-10 {
		width: 170px;
    	height: 170px;
    	padding: 30px 0;
	}
	.sim {
		font-size:26px;
	}
	.testar {
		font-size:30px;
		line-height:32px;
	}
	p.valido {
		font-size:12px;
		line-height:14px;
	}
}

.subtitle-voucher {
	text-align:center!important;
	font-size:22px;
}

@media (max-width:1400px) {
	#vouchers {
		background:none;
	}
}
@media (min-width: 1200px){
	.h3, h3 {
	    font-size: 2.3rem;
	}
}