@charset "UTF-8";
*{margin: 0; padding: 0;}

h1 {margin-bottom: 1em; font-size: 1.8em; line-height: 1em;}
h2 {margin-bottom: 0.5em; font-size: 1.4em; line-height: 1em;}
h3 {margin-bottom: 0.5em; font-size: 1.4em; line-height: 1em;}
h1, h2, h3 {color: #698F27;}
label, input, select, textarea {display: block; width: 100%;}
input, select, textarea {padding: 0.7em; border: solid 1px #698F27; border-radius: 5px; background: none; box-sizing: border-box;}
input[type="file"] {padding: 0.5em;}
button {border: none;}
table {margin-bottom: 50px;}

p {font-size: 1em; line-height: 1.2em;}
a {text-decoration: none; color: #695743}
a {text-decoration: none; color: #FFF}
a {color: #698F27;}
ul {list-style-type: none;}
body {font-family: 'Slabo 27px', serif; font-size: 16pt; line-height: 11pt;}
body {font-family: 'Open Sans', serif; font-size: 14pt; line-height: 11pt; color: #555;}
section {max-width: 1100px; width: 100%; margin: 0 auto;}
span {line-height: 1.2em;}


#navigation {background: rgba(255,255,255,0.7);}

#navigation {padding: 32px 30px 20px 30px; background: rgba(105,87,67,0.7);}
#navigation {background: #444;}
#navigation > div {max-width: 1100px; width: 100%; margin: 0 auto;}
#navigation #logo {display: inline-block;;}
#navigation #logo img {width: 178px;}
#menu {float: right; position: relative; top: 11px; text-align: right; }
#menu li {display: inline-block; margin-left: 40px;}
#menu li:first-of-type {margin-left: 0px;}
#menu a {color: #FFF;}
#menu a:hover {color: #698F27;}
#menu a.current {color: #698F27;}

/* Menu responsive */
span.toggle-nav {display: none;}
/* end menu responsive */

#header-content > div {margin-bottom: 50px;}
#lema {display: none;}


#content {padding-bottom: 100px;}
footer {padding: 30px 0; background: #444;}
#footer-content {max-width: 1100px; width: 100%; margin: 0 auto; padding: 30px 0; color: #FFF;}
#footer-content div.footer-item {float: left; max-width: 25%; width: 100%; min-height: 140px; padding: 0 20px; box-sizing: border-box}
#footer-content a {line-height: 1.2em; color: #FFF;}
#footer-content a:hover {color: #698F27;}
div.footer-item > span {display: block; margin-bottom: 20px; border-bottom: solid 1px #698F27; color: #698F27;}
div.footer-item li {margin-bottom: 10px; font-size: 0.9em;}
span.cb {padding: 0 10px 0 0 ;}

/* CLASES */

.clearfix:after {content: " ";visibility: hidden;display: block;height: 0;clear: both;}
.left {float: left;}
.right {float: right;}
.link-button {display: inline-block; padding: 8px; background: #444; color: #FFF;}
a.link-button:hover {color: #698F27;}
.frame {padding: 30px; background: #F1F2F3; box-sizing: border-box;}
.btn {padding: 10px 15px; cursor: pointer; border-radius: 5px; background-color: #698F27; color: #FFF;}
.centrado {text-align: center;}
.border-box {box-sizing: border-box;}
.form-brick {margin-bottom: 0.8em;}
.semi {display: inline-block; max-width: 45%; width: 100%;}
.left {float: left;}
.right {float: right;}
.no-float {clear: both} 

.nav-pagination {clear: both; text-align: right;}
.nav-pagination li {display: inline-block; margin: 0 3px; padding: 5px 5px; font-size: 0.9em;}
.nav-pagination li.active {background: #444;}
.nav-pagination li.active a {color: #FFF;}

.lightbox {display: none;}
div.featherlight-content {border-radius: 10px; border: 1px solid #333; }
.lightbox {padding: 30px; text-align: center; color: #698F27;}
.lightbox h1 {margin-bottom: 2em; font-size: 24px;}
.lightbox p {margin-bottom: 1.5em; font-size: 0.8em; color: #555;}
.lightbox span {display: block;}

/* Mensajes */

.msg-box {display: block; max-width: 800px; width: 100%; margin: 40px auto 40px auto; padding: 20px; border-radius: 2px; text-align: center; font-size: 1em; line-height: 1.2em;}
.msg-error {background: #F2DEDE; color: red;}
.msg-success {background: #DFF4D7; color: green;}
.msg-alert {background: #FCF6D6; color: #EAAB0D;}
.border-error {border: solid 1px red;}
.error {color: red;}
.volver {display: block; width: 86px; margin: 0 auto; padding: 12px 18px; font-size: 0.9em; text-align: center;}
span.error {position: absolute;}


/* Cookies*/
#cookies {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 30px 3%;
    box-sizing: border-box;
    background: rgba(85,85,85,1);
    text-align: center;
    font-size: 1em; 
    line-height: 1.2em;
    color: #FFF;
}
#cookies > span {line-height: 1em; font-size: 0.9em}
#cookies a {color: #A3C84A;}


.aviso_covid, .aviso_covid_home {

	font-size: 1.2em;
	color: #698F27;
}
.aviso_covid p, .aviso_covid_home p {margin-bottom: 1.2em; text-align: justify;}
.aviso_covid_home {padding: 100px; background: #698F27; color: #FFF;}
.aviso_covid_home p.text-right {text-align: right;}


/* RESPONSIVE */

@media all and (max-width: 1400px) {

	#navigation {padding: 40px 3% 30px;}
	#navigation > div {max-width: 1024px;}
	##content {padding: 0 3% 100px 3%;}
	section {max-width: 1024px;} 

}

@media all and (max-width: 1200px) {

	section {max-width: 960px;}
	div.footer-item li {font-size: 0.8em;}
	
}
@media all and (max-width: 1024px) {

	#content {padding: 0 3% 100px 3%;}
	#menu {font-size: 0.9em;}
}
@media all and (max-width: 900px) {

	#footer-content {padding: 5%; box-sizing: border-box;}
	#footer-content div.footer-item {width: 50%; max-width: 400px; margin-bottom: 50px;}
	#footer-content div.footer-item:nth-of-type(even){float: right; }
	
}
@media all and (max-width: 800px) {

	#navigation {position:relative; padding-top: 30px; z-index: 100;}
	#menu {clear: both; width: 100%; padding-top: 50px; text-align: center;}
	#navigation #menu.up {display: none;}
	#navigation #menu.down {display: block; position: static; } 
	#navigation #menu.down li {display: block; margin: 0 0 20px 0; text-align: center;}
	#navigation #menu.down li a {display: block; padding: 10px 0; }
	
	#navigation span.toggle-nav {float: right; display: block; margin-right: 20px;}
	#navigation span.toggle-nav-btn {display: block; width: 2.2em; height: auto; border: solid 1px #f3f3f3; border-radius: 3px; cursor: pointer;}
	span.s-line {display: block; width: 1.5em; height: 1px; margin: 6.0px auto; background: #FFF;}
	
	#cookies {font-size: 0.9em; line-height: 1.4em;}
	
}
@media all and (max-width: 768px) {

	#footer-content div.footer-item {width: 100%; max-width: none; float: none;}
	#footer-content div.footer-item:nth-of-type(even){float: none; }
	div.footer-item li {margin-bottom: 16px;}
	
}header {margin-bottom: 100px;}
##header-content > div {position: relative; background: url('/images/portada/castillo-priorio-1900x1267.jpg') no-repeat; height: 950px; background-position: center 0; background-size: cover;}

#lema {position: absolute; top: 18%; display: block; width: 100%; margin-bottom: 50px; text-align: center; font-size: 5em; font-weight: 300; color: #FFF;}
#descubre {opacity: 0; transition: opacity 3s linear; transition-delay: 0s;}
#disfruta {opacity: 0; transition: opacity 3s linear; transition-delay: 1.5s;}
#saborea {opacity: 0; transition: opacity 3s linear; transition-delay: 3s;}

h1 {max-width: 1100px; margin: 0 auto 50px auto; font-size: 2.5em; text-align: center; font-weight: 400;}

#news {margin-bottom: 100px;}
#mensaje {display: block; margin-bottom: 50px; text-align: center; font-size: 3em; }
#news-slider {position: relative; max-width: 1360px; width: 100%; margin: 0 auto; font-weight: 300;}
#news-slider span.titulo {position: absolute; top: 0; display: inline-block; padding: 30px 50px; background: rgba(105,87,67,0.7); font-size: 2.4em; color: #FFF;}
#news-info {position: absolute; right: 0px; bottom: 0; padding: 50px 30px; font-size: .9em; background: rgba(105,87,67,0.7);}
#news-info div  {margin-bottom: 20px;}
#news-info span {display: block; margin-bottom: 6px; color: #FFF;}
#news-info span.fecha {margin-bottom: 2px;}
#news-info span.fecha2 {margin-bottom: 20px;}
#news-info span span {display: inline-block}
#news-slider img {width: 100%;}
#frames {display: flex; justify-content: space-between; flex-wrap: wrap; flex-direction: row; max-width: 1024px; width: 100%; margin: 0 auto; }
#frames div.frame-item {position: relative; max-width: 300px; width: 100%; padding: 20px;}
#frames div.frame-item:hover span.shadow {display: block; cursor: pointer;}
#frames div.frame-item:hover span.title {font-size: 1.2em;}
#frames div.frame-item span.title {position: absolute; bottom: 40px; left: 36px; color: #FFF;}

#frames div.frame-item span.shadow {position: absolute; top: 0px; left: 0px; display: none; width: 100%; height: 100%;background: rgba(255,255,255,0.3);}
#frames div a {display: block;}
#frames div img {width: 100%;}

.texto-grande {font-size: 1em;}

@media all and (max-width: 1400px) {

	#lema {font-size: 3.6em;}

}

@media all and (max-width: 1280px) { 

	#lema {font-size: 3em;}
	#frames {justify-content: center;}
	#frames div.frame-item {width: 29%; max-width: 280px;}
	
	
}
@media all and (max-width: 1024px) {

	#frames div.frame-item {width: 40%; max-width: 360px;}
}

@media all and (max-width: 980px) { 
	
	#lema {top: 24%; font-size: 3.6em;}
	#lema span span {display: block;}
	#news-slider span.titulo {font-size: 2em}
	#news-info {padding: 3%;}
	
}

@media all and (max-width: 768px) {

	h1 {font-size: 2em;}
	##header-content > div {background: url('/images/portada/castillo-priorio-s.jpg') no-repeat;}
	#frames div.frame-item {max-width: 320px; margin-bottom: 30px;}
	#frames div.frame-item {width: 100%; max-width: 340px;}
	#news-slider span.titulo {position: static; padding: 30px 3% 10px 3%; background: none; font-size: 1.4em; color: #555;}
	#news #mensaje {font-size: 2em;}
	#news-info {position: static; background: none;}
	#news-info div {margin-bottom: 10px;}
	#news-info span {color: #555;}
	#news-info span.fecha {display: inline-block;}
}