/*
 Theme Name: Revela't
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

@import url("https://use.typekit.net/mxu3gjz.css");

* {
	margin: 0;
	padding: 0;
	font-family: clarendon-urw-extra-narrow, serif;
	font-size: 13px;
	font-weight: 300;
	list-style: none;
	font-style: normal;
}

.body-content {
	/*width: 1500px !important;*/
}

#main-content {
	padding-top: 120px;
}

#main-content .container {
	/*width: 1500px !important;*/
	max-width: none !important;
}

.fit-content {
	max-width: fit-content;
}

.border-none {
	border: none;
}

.et_right_sidebar {
	border: none !important;
}

.et_pb_button {
	border-radius: 0 !important;
	min-height: 40px !important;
	max-height: fit-content !important;
	background-color: white !important;
	border: 1px solid black !important;
	width: fit-content !important;
	padding: 2px 20px 5px 20px !important;
	color: black !important;
	font-size: 18px !important;
	font-weight: 400 !important;
}

.et_pb_button:hover {
	background-color: black !important;
	color: white !important;
	cursor: pointer !important;
}

@media (max-width: 2000px) {
	.full-image {
		max-width: 972px !important;
	}
}

.list2 {
	line-height: 19px !important;
}

@media (max-width: 480px) {
	.image-1 {
		width: 50% !important;
	}
}

@media (max-width: 1580px) {

	.body-content,
	#main-content .container {
		width: calc(100vw - 80px) !important;
		margin-right: 40px !important;
		margin-left: 40px !important;
	}
}

@media (max-width: 980px) {
	.two-column {
		width: 100%;
	}
}

@media (max-width: 650px) {

	.body-content,
	#main-content .container {
		width: calc(100vw - 30px) !important;
		margin-right: 15px !important;
		margin-left: 15px !important;
	}
}

.text {
	font-family: "clarendon-urw-extra-narrow", serif;
	font-style: normal;
	font-weight: 300;
	font-size: 20px;
	line-height: 23px;
	/* or 115% */
	font-feature-settings: 'pnum' on, 'onum' on;
	/* UI / dark */
	color: #222222 !important;
}

.text2 {
	font-family: "clarendon-urw-extra-narrow", serif;
	font-style: normal;
	font-weight: 300;
	font-size: 16px;
	line-height: 19px !important;
	/* identical to box height, or 119% */
	font-feature-settings: 'pnum' on, 'onum' on;
	color: #000000;
}

#left-area ul {
	line-height: 19px !important;
}

.et_pb_text_inner ul {
	padding-bottom: 1em !important;
}

.et_pb_text_inner ul li {
	list-style-type: none;
}

.et_pb_text_inner ul li:before {
	content: "– ";
}

.link {
	color: #999999 !important;
	text-decoration: none;
	font-weight: 500 !important;
}

.link:hover {
	text-decoration: underline;
	cursor: pointer;
}

.faqs {
	color: black !important;
}

h1 {
	font-family: "clarendon-urw-extra-narrow", serif;
	font-weight: 700;
	font-style: normal;
	color: #000000;
	font-size: 52px !important;
	line-height: 50px !important;
}

h2 {
	font-family: "clarendon-urw-extra-narrow", serif;
	font-weight: 700;
	font-style: normal;
	color: #000000;
	font-size: 36px !important;
	line-height: 42px !important;
}

h3 {
	font-family: "clarendon-urw-extra-narrow", serif;
	font-style: normal;
	font-weight: 500;
	font-size: 20px;
	line-height: 22px;
	/* or 110% */
	text-decoration: none !important;
	font-feature-settings: 'pnum' on, 'onum' on;
	color: #000000;
}

h4 {
	font-family: "clarendon-urw-extra-narrow", serif;
	font-style: normal;
	font-weight: 300;
	font-size: 20px;
	line-height: 22px;
	/* or 110% */
	text-decoration: none !important;
	font-feature-settings: 'pnum' on, 'onum' on;
	color: #000000;
}

h5 {
	font-family: "clarendon-urw-extra-narrow", serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 19px;
	/* identical to box height, or 119% */
	font-feature-settings: 'pnum' on, 'onum' on;
	color: #000000;
}

h6 {
	font-family: "clarendon-urw-extra-narrow", serif;
	font-style: normal;
	font-weight: 300;
	font-size: 16px;
	line-height: 18px;
	color: #000000;
}

.landing {
	display: flex;
	flex-direction: row;
}

.overlay-img {
	background-color: #fd4b57;
	display: flex;
	flex: 1 1 100%;
	/*height: 100%;*/
	overflow: hidden;
	position: relative;
	/*filter: saturate(0%) brightness(141%) contrast(66%) invert(32%) sepia(500%);*/
    transition: 0.3s all;
}

.overlay-img img {
	filter: grayscale(100%) contrast(1);
	flex: 1 0 100%;
	height: 100%;
	max-width: 100%;
	mix-blend-mode: lighten;
	object-fit: cover;
	opacity: 1;
	position: relative;
	width: 100%;
}

.overlay-img::before {
	background-color: #ffffff;
	bottom: 0;
	content: '';
	height: 100%;
	left: 0;
	mix-blend-mode: darken;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 1;
}

.overlay-img:hover {
    /*filter: none;*/
}

.overlay-img:hover img {
    filter: none;
	mix-blend-mode: normal;
}

.event {
	display: flex;
	flex-direction: row;
	height: fit-content;
	width: 100%;
}

.event a {
	margin-right: 20px;
	width: 210px;
	height: 210px;
}

.event1 {
	margin-right: 20px;
	width: calc(100% - 10px);
}

.event-text {
	background-color: #D9D9D9;
	height: 210px;
	padding: 8px;
	padding-top: 10px;
	position: relative;
	color: black;
}

.event-1 {
	font-size: 16px;
	font-weight: 300;
	line-height: 18px;
	letter-spacing: 0em;
	text-align: left;
	margin-bottom: 8px;
}

.event-2 {
	width: 194px;
	max-width: 100%;
	font-size: 20px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0em;
	text-align: left;
}

.event-date {
	font-size: 20px;
	font-weight: 300;
	line-height: 22px;
	letter-spacing: 0em;
	text-align: left;
}

.event-3 {
	position: absolute;
	bottom: 10px;
	font-style: normal;
	font-weight: 300;
	font-size: 16px;
	line-height: 18px;

}

.event-photo {
	width: calc(100% - 229px);
}

.event-text:hover {
	background-color: #535353;
	cursor: pointer;
	color: white;
}

.slideshow {
	position: relative;
}

.slide {
	position: relative;
	display: none;
	margin-bottom: 40px;
}

.slide-image {
	position: relative;
	display: flex;
	width: 100%;
	margin-bottom: 62px;
}

.slide-image img {
	max-width: 100%;
	height: auto;

}

.slide-image figcaption {
	position: absolute;
	right: 0;
	bottom: 8px;
	left: 0;
	margin: 0 auto;
	text-align: center;
	color: white;
}

.slide.is-active {
	display: block;
}

.controls {
	position: absolute;
	top: calc(50% - 50px);
	display: flex;
	justify-content: space-between;
	width: 100%;
	transform: translateY(-50px);
}

.controls button {
	padding: 16px;
	border: none;
	font-size: 1.8rem;
	color: white;
	background-color: transparent;
	cursor: pointer;
	transition: 0.3s ease;
}

.controls button:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
	height: 20px;
	margin-top: 16px;
	text-align: center;
}

.dot {
	display: inline-block;
	width: 15px;
	height: 15px;
	padding: 4px;
	margin: 0 4px;
	background-color: white;
	border-radius: 50%;
	border: 1px solid black;
	transition: 0.6s ease;
	cursor: pointer;
}

.dot.is-active,
.dot:hover {
	background-color: black;
}

.fade {
	animation-name: fade;
	animation-duration: 0.4s;
}

.expo-link {
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin-top: 30px;
}

@keyframes fade {
	from {
		opacity: 0.4;
	}

	to {
		opacity: 1;
	}
}


@media (max-width: 1000px) {
	.event a {
		margin-right: 20px;
		max-width: 210px;
		width: 100%;
		height: fit-content;
		margin-bottom: 15px;
	}

	.event1 {
		margin-right: 15px;
	}

	.event2 {
		float: right;
	}

	.event {
		display: flex;
		flex-direction: column;
		width: calc(100% - 7.5px);
		height: fit-content;
	}

	.event-photo {
		width: 100%;
	}
}

@media (max-width: 600px) {
	h1 {
		font-size: 36px !important;
		line-height: 40px !important;
	}

	h2 {
		font-size: 22px !important;
		line-height: 28px !important;
	}
}

@media (max-width: 600px) {
	.event {
		display: flex;
		flex-direction: column;
		width: calc(50% - 7.5px);
		height: fit-content;
	}

	.event a {
		margin-right: 20px;
	}

	.event-text {
		width: 100%;
	}

}

@media (max-width: 380px) {
	.event-2 {
		font-size: 18px;
		line-height: 20px;

	}

	.event-date {
		font-size: 18px;
		line-height: 20px;
	}
}

@media (max-width: 350px) {
	.landing {
		display: flex;
		flex-direction: column;
	}

	.event,
	.landing-button,
	.event-text {
		width: 100%;
	}

	.event a {
		margin-right: none;
	}

	.event1 {
		margin-bottom: 15px;
	}
}

/* Uncropped images of Slider module */
.my_uncrop_slider .et_pb_container {
	max-width: 100% !important;
	width: 100% !important;
}

.my_uncrop_slider .et_pb_slide_image {
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	top: auto;
	position: relative !important;
	display: block !important;
}

.my_uncrop_slider .et_pb_slide_image img {
	max-height: none !important;
	width: 100% !important;
}

.my_uncrop_slider .et_pb_slide {
	padding: 0 !important;
}

.my_uncrop_slider .et_pb_slide_with_image .et_pb_slide_description {
	position: absolute !important;
	width: 100% !important;
	padding: 5% !important;
	float: none !important;
	bottom: 0 !important;
	text-align: left;
}

.my_uncrop_slider .et-pb-active-slide .et_pb_slide_image {
	animation-name: fadeIn;
}


/* Header Template */

#header {
	max-height: max-content;
	overflow-y: scroll;
	overflow-x: hidden;
}

.white {
	background-color: white;
	height: 135px;
	width: 100%;
	position: fixed;
	padding-left: calc(50vw - 790px);
	transition: all .3s ease;
}

.white-scroll {
	height: 105px;
	width: 100%;
	position: fixed;
	transition: all .3s ease;
}

.toggler {
	/* ALWAYS KEEPING THE TOGGLER OR THE CHECKBOX ON TOP OF EVERYTHING :  */
	height: 50px;
	width: 50px;
	position: fixed;
	top: 10px;
	right: 30px;
	cursor: pointer;
	opacity: 0;
	z-index: 4;
}

.logo {
	position: absolute;
	margin: 20px 0 0 40px;
	background: none;
	width: fit-content;
	z-index: 1;
	transition: all .3s ease;
}

.logo-scroll {
	content: url("https://revela-t.cat/wp-content/uploads/2024/10/logoR25-scaled-1.png");
	height: 50px;
	width: auto;
	background: none;
	transition: all .3s ease;
}

.edition {
	visibility: visible;
	position: absolute;
	margin: 20px 0 0 270px;
	background: none;
	width: fit-content;
}

.edition-scroll {
	visibility: hidden;
}

.logo img,
.edition img {
	height: 81px;
	width: auto;
	background: none;
}

.logo img {
	transition: all .3s ease;
}

.hamburger {
	position: fixed;
	top: 0;
	right: 40px;
	height: 40px;
	width: 40px;
	z-index: 3;
	margin-top: 20px;
}

#desplegable {
	height: 0;
}

/* CREATING THE MIDDLE LINE OF THE HAMBURGER : */
.hamburger>div {
	position: relative;
	top: 8px;
	left: 20%;
	background: black;
	height: 2px;
	width: 80%;
	transition: all 0.4s ease;
}

/* CREATING THE TOP AND BOTTOM LINES : 
TOP AT -10PX ABOVE THE MIDDLE ONE AND BOTTOM ONE IS 10PX BELOW THE MIDDLE: */
.hamburger>div::before,
.hamburger>div::after {
	content: '';
	position: absolute;
	top: -10px;
	background: black;
	width: 100%;
	height: 2px;
	transition: all 0.4s ease;
}

.hamburger>div::after {
	top: 10px;
}

.menu-logo img {
	height: 50px;
	transform: translate(0, -13px);
}

/* IF THE TOGGLER IS IN ITS CHECKED STATE, THEN SETTING THE BACKGROUND OF THE MIDDLE LAYER TO COMPLETE BLACK AND OPAQUE :  */
.toggler:checked+.hamburger>div {
	background: #2C2C2C;
}

.toggler:checked+.hamburger>div::before {
	top: 0;
	transform: rotate(45deg);
	background: white;
}

/* AND ROTATING THE TOP AND BOTTOM LINES :  */
.toggler:checked+.hamburger>div::after {
	top: 0;
	transform: rotate(135deg);
	background: white;
}

/* IF THE TOGGLER IS IN ITS CHECKED STATE, HEADER TO FIT-CONTENT :  */
.toggler:checked+#header {
	height: fit-content;
}

/* MAIN MENU WITH THE WHITE BACKGROUND AND THE TEXT :  */
.menu {
	background: #2C2C2C;
	width: 375px;
	height: 0%;
	float: right;
	display: flex;
	flex-direction: column;
	z-index: 2;
	position: fixed;
	right: 0;
	padding: 0;
	/* APPLYING TRANSITION TO THE MENU :  */
	transition: all 0.4s ease;
}

/* IF THE TOGGLER IS CHECKED, THEN INCREASE THE WIDTH OF THE MENU TO 30% , CREATING A SMOOTH EFFECT :  */
.toggler:checked~.menu {
	height: 100%;
}

/* STYLING THE LIST :  */
.menu {
	padding-left: 15px;
}

.menu>div {
	display: flex;
	flex-direction: column;
	padding-top: 34px;
	width: 233px;

}

.menu>div>ul {
	display: flex;
	flex-direction: column;
	width: 233px;
	list-style: none;
	line-height: 27px;
	margin-bottom: 21px;
	/* HIDDEN INITIALLY  :  */
	visibility: hidden;
}

.title {
	list-style: none;
	color: white;
	font-size: 17px;
	font-weight: bold;
}

hr {
	width: 233px;
}

.space {
	height: 6px;
}

/*
.menu>div>ul>li {
    width: max-content;
}
*/

.menu>div>ul>li>a,
.submenu>li>a {
	color: white;
	text-decoration: none;
	font-size: 17px;
	/*padding-right: 1vw;*/
}

.dropdown {
	width: 100%;
}

/* WHEN THE TOGGLER IS CHECKED, CHANGE THE VISIBILITY TO VISIBLE :  */
.toggler:checked~#desplegable {
	height: fit-content;
}

.toggler:checked~.menu>div>ul {
	transition: visibility 0.4s ease;
	transition-delay: 0.1s;
	visibility: visible;
}

.toggler:checked~.menu>div>ul>li>a:hover {
	color: #666666;
	cursor: pointer;
}

/* LANGUAGES  */
#lang {
	display: flex;
	flex-direction: row;
	margin-top: 21px;
}

#lang a {
	width: 45px;
	height: 45px;
	min-width: 45px;
	border: solid 1px white;
	border-radius: 22.5px;
	margin-right: 10px;
	text-decoration: none;
}

#lang .active {
	border-color: #666666;
}

#lang .lang-fr {
	display: none;
}

#editions {
	font-size: 17px;
	color: white;
}

.lang {
	color: white;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin-top: 9px;
}

#lang a:hover {
	border-color: #666666;
}

.lang:hover {
	color: #666666;
}

.active {
	color: #666666;
	text-decoration: none;
}

.menu>div>ul>ul>li {
	list-style: none;
}

.menu>div>ul>ul>li>a {
	color: white;
	text-decoration: none;
}

.menu>div>ul>ul>li>a:hover {
	color: #666666;
}

.submenu {
	display: none;
}

@media (max-width: 1580px) {
	#header {
		margin-left: 0;
	}
}

@media (max-width: 650px) {

	.body-content {
		margin-top: 75px;
	}

	.white {
		height: 94px;
		transition: all .3s ease;
	}

	.white-scroll {
		height: 75px;
		transition: all .3s ease;
	}

	.logo {
		content: url("https://revela-t.cat/wp-content/uploads/2024/10/Cabecera-mobil2025.png");
		max-width: 250px;
		margin: 10px 0 0 15px;
		transition: all .3s ease;
	}

	.logo-scroll {
		content: url("https://revela-t.cat/wp-content/uploads/2024/10/logoR25-scaled-1.png");
		width: 125.7px;
		margin: 10px 0 0 15px;
		transition: all .3s ease;
	}

	.edition {
		display: none;
	}

	.toggler {
		height: 50px;
		width: 50px;
		position: fixed;
		right: 0;
	}

	.menu-logo img {
		transform: translate(0, -23px);
	}

	.hamburger {
		top: -10px;
		right: 15px;
	}

	.menu {
		width: 100%;
	}

}

#left-area ul,
.entry-content ul,
.et-l--body ul,
.et-l--footer ul,
.et-l--header ul {
	padding: 0;
}

@media (max-width: 290px) {
	.logo {
		width: 70vw;
	}

	.logo-scroll {
		width: 125.7px;
	}
}

/* Footer Template */

.back {
	/*width: 100vw;*/
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 294px;
	max-height: fit-content;
	background-color: #2C2C2C;
}

.footer {
	width: 100%;
	max-width: 1580px;
	max-height: fit-content;
	background-color: #2C2C2C;
	display: flex;
	flex-direction: row;
	padding-left: 40px;
	padding-top: 25px;
	line-height: 17px;
}

.collaboration {
	margin-top: 30px;
	color: white;
}

.patros {
	flex-wrap: wrap;
	gap: 20px;
	padding-bottom: 30px;
}

.patros .column {
	width: 100%;
	flex-wrap: wrap;
}

.conditions {
	padding-bottom: 40px;
	color: white;
}

.conditions li {
	list-style: none;
}

.conditions a {
	color: white;
}

.conditions a:hover {
	color: #666666 !important;
}

.column {
	display: flex;
	flex-direction: row;
}

.content {
	width: 15vw;
	max-width: 210px;
	margin-right: 20px
}

.patro {
	width: 70%;
	margin-right: 50px;
}

.gencat {
	width: 90%;
}

.diba {
	width: 90%;
}

.sorli {
	width: 40%;
}

.emocions {
	transform: translateY(-10px);
	width: 75%;
}

.fujifilm {
	width: 60%;
}

.menu-logo2 img {
	height: 50px;

}

#main-footer {
	display: none;
}

/* LIST STYLE  */

.title {
	list-style: none;
	color: white;
	font-size: 17px;
	font-weight: bold;
}

.space {
	height: 6px;
}

.space2 {
	height: 15px;
}

.footer>div>div {
	list-style: none;
}

.footer>div>li {
	color: white;
	text-decoration: none;
	padding-right: 5vw;
	display: flex;
	flex-direction: column;
}

.footer>div>div>li {
	color: white;
	text-decoration: none;
}

.footer>div>div>a {
	color: white;
	text-decoration: none;
}

.footer>div>div>a:hover {
	color: #666666;
	cursor: pointer;
}

.newsletter {
	width: 80%;
}

hr {
	width: -webkit-fill-available;
}

.button2 {
	min-height: 40px;
	max-height: fit-content;
	background-color: white;
	border: 1px solid black;
	width: fit-content;
	padding: 2px 20px 5px 20px;
	color: black;
	font-size: 18px;
	font-weight: 400;
}

.button2:hover {
	background-color: black;
	color: white;
	cursor: pointer;
}



@media (max-width: 980px) {
	.footer {
		max-height: fit-content;
		padding-left: 40px;
		padding-right: 15px;
		/*width: 100vw;*/
		display: flex;
		flex-direction: row;
	}

	.column {
		display: flex;
		flex-direction: column;
	}

	.content {
		margin-bottom: 42px;
		width: 100%;
	}

}

@media (max-width: 650px) {
	.footer {
		padding-left: 15px;
		padding-top: 25px;
	}

	.conditions {
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 346px) {
	.menu-logo img {
		height: 17vw;
	}

	.footer {
		display: flex;
		flex-direction: column;
	}
}