.block-page-title-block, h2, h3 {
	text-align: center;
}

h2.accordion {
	text-align: center;
	font-weight: bold;
	background-color: #3a4b3a;
	color: #eeffee;
	cursor: pointer;
	padding: 18px;
	transition: 0.4s;
	border-radius: 8px;
	box-shadow: 3px 5px rgba(136, 136, 136, 0.5);
	visibility: hidden;
}
h2.accordion.animate {
  visibility: visible;
  animation-name: accordion-animation; 
  animation-duration: 1s;
  animation-delay: 0s;
  animation-iteration-count: 1;
}
@keyframes accordion-animation {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
h2.active, h2.accordion:hover {
	background-color: #516351;
}
h2.accordion + div {
	display: none;
	margin-bottom: 3rem;
}
.cke_editable h2.accordion + div {
	display: block
}

h2.accordion + div h3 {
	text-align: left;
	font-weight: bold;
	font-size: 1.3rem;
	margin: 0;
}

h2.accordion + div p {
	margin: 0;
}

h2.accordion + div h4 {
	font-weight: bold;
}

h2.accordion + div h5 {
	font-weight: bold;
}

.titular {
//	display: none;
	margin-top: 1rem;
	margin-bottom: 2rem;
}
.titular > div {
	text-align: center;
	font-weight: bold;	
	color: #3a4b3a;
	font-size: 1.3em;
}
.titular > div.precio {
	font-size: 1.5em;
	text-decoration: underline;
}

.carta_table {
	display: grid;
	grid-template-columns: auto 110px;
	grid-gap: 0;
	margin-top: 1.5rem;
}
.carta_table h3 {
	margin: 0;
}
.carta_table p {
	margin: 0 0 1.2em;
}
.carta_table img {
  display: inline-block;
}
.carta_table > div {
	padding: 0.5rem 1rem;
}
.carta_table > div:nth-child(3n - 2) {
	font-weight: bold;
	border-top: 1px solid #333;
	border-left: 1px solid #333;
}
.carta_table > div:nth-child(3n - 1) {
	grid-row: auto / span 2;
	margin-bottom: 1rem;
	text-align: center;
	font-size: 1.1em;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	border-right: 1px solid #333;
}
.carta_table > div:nth-child(3n) {
	margin-bottom: 1rem;
	border-bottom: 1px solid #333;
	border-left: 1px solid #333;
}
.carta_table > div:nth-child(6n - 5) {
	background: #e1f6e1;
}
.carta_table > div:nth-child(6n - 4) {
	background: #e1f6e1;
}
.carta_table > div:nth-child(6n - 3) {
	background: #e1f6e1;
}
.carta_table > div:nth-child(6n - 2) {
	background: #b7ccb7;
}
.carta_table > div:nth-child(6n - 1) {
	background: #b7ccb7;
}
.carta_table > div:nth-child(6n) {
	background: #b7ccb7;
}
.carta_table > div.header {
	display: none;
}
.carta_table > div.precio {
	font-weight: bold;
}
.carta_table > div.precio:before {
	content: 'Precio';
	display: block;
	font-weight: normal;
	font-size: 0.9em;
	color: #666;
}
.carta_table > div.alergenos:not(:empty):before {
	content: 'Alérgenos: ';
	display: block;
	font-size: 0.9em;
	color: #666;
}
.carta_table > div.alergenos > img {
	width: 40px;
	height: auto;
	margin: 3px;
	vertical-align: middle;
}

@media all and (min-width: 901px) {
	.carta_table {
		grid-template-columns: 65% 15% 20%;
		grid-auto-flow: row;
		grid-template-rows: none;
		justify-content: space-around;
		grid-gap: 0.1rem;
	}
	.carta_table > div {
		border: 1px solid #333;
		padding: 0.3rem 1rem;
	}
	.carta_table > div:nth-child(3n - 1) {
		grid-row: auto;
		margin-bottom: 0;
	}
	.carta_table > div:nth-child(3n) {
		margin-bottom: 0;
	}
	.carta_table > div.header {
		display: block;
		font-weight: bold;
		background: #ccc;
		background: rgba(255,255,255,0.5);
	}
	.carta_table > div.precio:before {
		content: none;
	}
	.carta_table > div.alergenos:not(:empty):before {
		content: none;
	}
}

.vinos_continer {
//	display: none;
	margin-top: 1rem;
	margin-bottom: 2rem;
}
.vinos_continer > h3 {
	text-align: center;
	font-weight: bold;	
}

.vinos_table {
	display: grid;
	grid-template-columns: auto 110px;
	grid-gap: 0;
	margin-top: 1rem;
}
.vinos_table img {
  display: inline-block;
}
.vinos_table > div {
	padding: 0.5rem 1rem;
}
.vinos_table > div:nth-child(2n - 1) {
	font-weight: bold;
	border-top: 1px solid #333;
	border-left: 1px solid #333;
	border-bottom: 1px solid #333;
	margin-bottom: 1rem;
}
.vinos_table > div:nth-child(2n) {
	margin-bottom: 1rem;
	text-align: center;
	font-size: 1.1em;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	border-right: 1px solid #333;
}
.vinos_table > div:nth-child(4n - 3) {
	background: #e1f6e1;
}
.vinos_table > div:nth-child(4n - 2) {
	background: #e1f6e1;
}
.vinos_table > div:nth-child(4n - 1) {
	background: #b7ccb7;
}
.vinos_table > div:nth-child(4n) {
	background: #b7ccb7;
}
.vinos_table > div.header {
	display: none;
}
.vinos_table > div.precio {
	font-weight: bold;
}
.vinos_table > div.precio:before {
	content: 'Precio';
	display: block;
	font-weight: normal;
	font-size: 0.9em;
	color: #666;
}
.vinos_table > div.precio_botella {
	font-weight: bold;
}
.vinos_table > div.precio_botella:before {
	content: 'Precio botella';
	display: block;
	font-weight: normal;
	font-size: 0.9em;
	color: #666;
}

@media all and (min-width: 901px) {
	.vinos_table {
		grid-template-columns: 85% 15%;
		grid-auto-flow: row;
		grid-template-rows: none;
		justify-content: space-around;
		grid-gap: 0.1rem;
	}
	.vinos_table > div {
		border: 1px solid #333;
		padding: 0.3rem 1rem;
	}
	.vinos_table > div:nth-child(2n) {
		margin-bottom: 0;
	}
	.vinos_table > div:nth-child(2n - 1) {
		margin-bottom: 0;
	}
	.vinos_table > div.header {
		display: block;
		font-weight: bold;
		background: #ccc;
		background: rgba(255,255,255,0.5);
	}
	.vinos_table > div.precio:before {
		content: none;
	}
	.vinos_table > div.precio_botella:before {
		content: none;
	}
}




.vinos2_table {
	display: grid;
	grid-template-columns: auto auto auto;
	grid-gap: 0;
	margin-top: 1rem;
}
.vinos2_table img {
  display: inline-block;
}
.vinos2_table > div {
	padding: 0.5rem 1rem;
}
.vinos2_table > div:nth-child(3n - 2) {
	font-weight: bold;
	border-top: 1px solid #333;
	border-left: 1px solid #333;
	border-bottom: 1px solid #333;
	margin-bottom: 1rem;
}
.vinos2_table > div:nth-child(3n - 1) {
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	margin-bottom: 1rem;
	text-align: center;
	font-size: 1.1em;
}
.vinos2_table > div:nth-child(3n) {
	margin-bottom: 1rem;
	text-align: center;
	font-size: 1.1em;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	border-right: 1px solid #333;
}
.vinos2_table > div:nth-child(6n - 5) {
	background: #e1f6e1;
}
.vinos2_table > div:nth-child(6n - 4) {
	background: #e1f6e1;
}
.vinos2_table > div:nth-child(6n - 3) {
	background: #e1f6e1;
}
.vinos2_table > div:nth-child(6n - 2) {
	background: #b7ccb7;
}
.vinos2_table > div:nth-child(6n - 1) {
	background: #b7ccb7;
}
.vinos2_table > div:nth-child(6n) {
	background: #b7ccb7;
}
.vinos2_table > div.header {
	display: none;
}
.vinos2_table > div.precio_copa {
	font-weight: bold;
}
.vinos2_table > div.precio_copa:before {
	content: 'Precio copa';
	display: block;
	font-weight: normal;
	font-size: 0.9em;
	color: #666;
}
.vinos2_table > div.precio_botella {
	font-weight: bold;
}
.vinos2_table > div.precio_botella:before {
	content: 'Precio botella';
	display: block;
	font-weight: normal;
	font-size: 0.9em;
	color: #666;
}

@media all and (min-width: 901px) {
	.vinos2_table {
		grid-template-columns: 70% 15% 15%;
		grid-auto-flow: row;
		grid-template-rows: none;
		justify-content: space-around;
		grid-gap: 0.1rem;
	}
	.vinos2_table > div {
		border: 1px solid #333;
		padding: 0.3rem 1rem;
	}
	.vinos2_table > div:nth-child(3n) {
		margin-bottom: 0;
	}
	.vinos2_table > div:nth-child(3n - 1) {
		margin-bottom: 0;
	}
	.vinos2_table > div:nth-child(3n - 2) {
		margin-bottom: 0;
	}
	.vinos2_table > div.header {
		display: block;
		font-weight: bold;
		background: #ccc;
		background: rgba(255,255,255,0.5);
	}
	.vinos2_table > div.precio_copa:before {
		content: none;
	}
	.vinos2_table > div.precio_botella:before {
		content: none;
	}
}


div.leyenda_alergenos {
	display: grid;
	grid-template-columns: repeat(2, 50%);
	justify-content: center;
	margin: 1rem 0 2rem 0;
}
div.leyenda_alergenos > div {
	margin: 0.3rem;
	text-align: center;
}
div.leyenda_alergenos img {
	width: 100px;
	height: auto;
	margin: 3px;
}
@media all and (min-width: 150px) {
	div.leyenda_alergenos {
		grid-template-columns: repeat(3, 33.33%);
	}
}
@media all and (min-width: 300px) {
	div.leyenda_alergenos {
		grid-template-columns: repeat(4, 25%);
	}
}
@media all and (min-width: 470px) {
	div.leyenda_alergenos {
		grid-template-columns: repeat(5, 20%);
	}
}
@media all and (min-width: 640px) {
	div.leyenda_alergenos {
		grid-template-columns: repeat(6, 16.66%);
	}
}
@media all and (min-width: 810px) {
	div.leyenda_alergenos {
		grid-template-columns: repeat(7, 14.28%);
	}
}
/*@media all and (min-width: 980px) {
	div.leyenda_alergenos {
		grid-template-columns: repeat(8, 12.50%);
	}
}*/
