/* noxweb fixer */
.e-grid > .elementor-widget.elementor-widget-heading+.elementor-widget.elementor-widget-heading,
.e-grid > .elementor-widget.elementor-widget-icon-list+.elementor-widget.elementor-widget-heading,
.e-grid > .elementor-widget.elementor-widget-text-editor+.elementor-widget.elementor-widget-heading
{
	margin-top: 0;
}
.e-grid > .elementor-widget
{
	margin-top: 0;
}

/* Global font fixer (only mac) */
* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* GeneratePress fixes */
.site-content
{
	display: block;
}

/* Elementor basics fixes */
.elementor-text-editor p:last-child
{
	margin-bottom: 0;
}
p.elementor-heading-title
{
	margin-bottom: 0;
}

a.elementor-button
{
	position: relative;
	z-index: 1;
}

.elementor-element > .elementor-background-overlay
{
	pointer-events: none;
}


/* Elementor lightbox fix */
.elementor-lightbox .elementor-lightbox-item
{
	padding: 0;
}


/* Elementor utils */
.no-margin
{
	margin: 0 !important;
}
.nox-flex-row.elementor-column .elementor-widget-wrap
{
	flex-direction: row;
	flex-wrap: nowrap;
}
.nox-flex-row.elementor-column .elementor-widget-wrap>.elementor-element
{
	display: flex;
	align-items: center;
	width: auto;
	margin-bottom: 0 !important;
}
.nox-flex-row.elementor-column .elementor-widget-wrap>.elementor-element .elementor-icon-wrapper
{
	display: flex;
	align-items: center;
}
.nox-pos-static.elementor-widget
{
	position: static;
}

/* Body */
body
{
	position: relative;
	background-color: #FFF9F0;
}
body::before
{
	content: "";
	display: block;
	position: absolute;
	inset: 0;
	background-image: url("https://sereni-the.ch/speednox/images/bg-pattern.png");
	background-repeat: repeat;
	background-size: 2500px;
	mix-blend-mode: color-burn;
	opacity: 0.4;
	pointer-events: none;
	z-index: -1;
}

/*Tag color definition*/
body.noxweb-page.tag-orange 
{
	--e-global-color-primary: #b57f35 ;
}

body.noxweb-page.tag-marron 
{
    --e-global-color-primary: #a56a4d ;
}

.serenithe-logo img
{
	filter: drop-shadow(0 500px 0 var(--e-global-color-primary));
    transform: translateY(-500px);
}
.serenithe-logo-wrapper
{
	overflow: hidden;
}

/* Gallery ratio fix */
body.noxweb-page .serenithe-gallery .e-gallery-grid .e-gallery-image
{
	--aspect-ratio: 62.703%;
}


/*Event definition*/
.serenithe-event-horizontal 
{
	margin-top: 20px;
	display: flex;
	gap: 20px;
}

.serenithe-event-icon-container 
{
	width: 100px;
}

.serenithe-text p
{
	display: flex; 
	font-size: 20px;
	flex-direction: column;
	margin: 0 !important;
	--widgets-spacing: 0px 0px;
}

.serenithe-text.cat-degustation-thes 
{
	color: #728f44 ;
}
.serenithe-text.cat-petits-dejeuner-japonais 
{
	color: #b57f35 ;
}
.serenithe-text.cat-tea-time 
{
	color: #a56a4d ;
}
.serenithe-event-italic 
{
	display: flex;
	flex-direction: column;
	font-style: italic;
}

.serenithe-event-button 
{
	color: white;
	font-size: 20px;
	border: none;
	border-radius: 30px;
	font-family: "Livvic", Sans-serif;
}

.serenithe-event-button.cat-degustation-thes 
{
	background: #728f44 ;
}

.serenithe-event-button.cat-petits-dejeuner-japonais 
{
	background: #b57f35 ;
}

.serenithe-event-button.cat-tea-time 
{
	background: #a56a4d ;
}

.serenithe-spacer 
{
	height: 20px;
}


/*Tea definition*/
.serenithe-tea-infos 
{
	display: flex;
	flex-direction: column;
	gap: 20px 20px;
	margin-bottom: 100px;
}

.serenithe-tea-horizontal-top 
{
	margin-top: 20px;
	display: flex;
	gap: 15px 15px;
}

.serenithe-tea-horizontal 
{
	display: flex;
	gap: 20px 20px;
}

.serenithe-tea-data
{
	display: flex;
	flex-direction: column;
	width: 370px;
	gap: 20px 20px;
}
.serenithe-tea-details
{
	display: flex;
	flex-direction: column;
	gap: 10px 10px;
}

.serenithe-tea-pricing
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(1, 1fr);
	gap: 20px 20px;
	align-items: center;
}

.serenithe-tea-grid
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(1, 1fr);
	gap: 10px 10px;
}

.serenithe-tea-details >.serenithe-tea-grid
{
	display: grid;
	grid-template-columns: 73px 1fr;
	grid-template-rows: repeat(1, 1fr);
	gap: 10px 10px;
}

.serenithe-tea-tasse,
.serenithe-tea-gfc
{
	display: flex;
	flex-direction: column;
	width: 367.5px;
	gap: 10px 10px;
}
.serenithe-tea-matcha
{
	display: flex;
	flex-direction: column;
	width: 735px;
	gap: 10px 10px;
}
.serenithe-tea-title
{
	width: 370px;
}
.serenithe-tea-infos h2
{
	margin: 0px;
	line-height: 1em;
	font-weight: 400;
    font-style: italic;
	color: var(--e-global-color-primary);
}
.serenithe-tea-spacer
{
	height: 34px;
}

.serenithe-tea-accent
{
	font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-weight: var(--e-global-typography-accent-font-weight);
    color: var(--e-global-color-text);
	font-style: var(--e-global-typography-primary-font-style);
	margin: 0px;
	line-height: 1em;
}
.serenithe-tea-galette{
	font-family: "Livvic", Sans-serif;
    font-weight: 300;
	font-size: 13px;
	margin: 0px;
}
.serenithe-tea-semibold
{
	font-family: "Livvic", Sans-serif;
    font-weight: 600;
	margin: 0px;
}

.serenithe-tea-details >.serenithe-tea-grid .serenithe-tea-semibold,
.serenithe-tea-origin
{
	margin: 0px;
	line-height: 1;
}

h3.serenithe-tea-semibold
{
	font-size: 18px;
	color: #728f44 ;
}
.serenithe-tea-description{
	margin: 0px;
	padding: 0px;
}

.serenithe-tea-cart{
	text-align: right;
}

.serenithe-tea-button 
{
	line-height: 1;
	width: 62.5px;
	height: 40px;
	color: white;
	font-size: 20px;
	border: none;
	border-radius: 30px;
	background: #728f44 ;
	text-align: center;
	font-family: "Livvic", Sans-serif;
}

/*list customisation*/

#serenithe-list ul 
{
	margin-left: 20px;
	list-style-type: disc;
	position: relative;
}
#serenithe-list ul ul
{
	list-style-type: circle;
}
#serenithe-list ul li::before 
{
    position: absolute;
	left: -20px;
}

#serenithe-maps 
{
	filter : grayscale(100%) sepia(30%) hue-rotate(340deg) saturate(70%);
}

/* Custom event */

.serenithe-cart
{
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 10px;
	border: 1px solid #818a91;
	padding: 12px;
	font-size: 15px;
	font-weight: 400;
	color: var( --e-global-color-text );
	border-radius: 20px;
}
.serenithe-cart p.line
{
	background-color: var( --e-global-color-290b1e9 );
	border-radius: 5px;
	padding: 8px;
	margin: 0;
}
.serenithe-cart p.line:hover
{
	background-color: #eeeeee;
}

.serenithe-cart p.line a.remove 
{
	color: #b61e1e;
}

.serenithe-cart p.line a.quantity
{
	color: #728f44;
	padding-right: 15px;
}

.serenithe-cart p.line input.quantity-input
{
	text-align: center;
	padding: 0px;
	width: 32px;
	border: none;
	background: #fff;
	box-shadow: none;
	border-radius: 0;
	outline: none;
	color: #222;
}

form[name="reservation-form"] input:focus,
form[name="reservation-form"] textarea:focus,
form[name="reservation-form"] select:focus 
{
	border-color: #728f44!important;
	outline: none;
}

/*Tablette display for custom post*/
@media (max-width: 1024px) 
{
	.serenithe-event-icon-container 
	{
		width: 60px;
	} 
	.serenithe-event-text{
		width: 100%;
	}
}

/*Mobile display for custom post*/
@media (max-width: 768px) 
{
	h1{
		font-size: 32px;
	}
	h2
	{
		font-size: 28px;
	}
	.serenithe-tea-infos{
		margin-bottom: 60px;
	}
	.serenithe-event-horizontal 
	{
		margin-bottom: 60px;
	  	display: flex;
	  	flex-direction: column;
		gap: 10px;
	}
	.serenithe-event-icon-container 
	{
		width: 42px;
	} 
	.serenithe-tea-horizontal 
	{
		display: flex;
		flex-direction: column;
	}

	.serenithe-tea-title
	{
		max-width: 340px;
	}
	.serenithe-tea-data,
	.serenithe-tea-tasse,
	.serenithe-tea-gfc
	{
		width: auto;
	}
}
@media (min-width: 1025px) 
{
	.serenithe-event-icon-container img
	{
		min-width: 100px;
	}
}