/*
Theme Name: Move Premium - Christel Tagliavini
Author: emma.satti
Author URI: https://movepremium.fr
Version: 1.260803
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Zalando+Sans+SemiExpanded:ital,wght@0,200..900;1,200..900&display=swap');

:root {
	--principale: #FFF;
	--secondaire: #bd9a00;
	--gris:       #999999;
	
	--h1:         #fffFF;
	--h2:         #d1b84c;
	--h3:         #d1b84c;
	--text:       #fff;
	--liens:      #bd9a00;
	--blockquote: #f4efea;
	
	--maxwidth:   1140px;
	--margins:    60px;
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

site { width: 100% }

article,
aside,
details,
figure,
footer,
header,
main,
nav,
section,
summary {
	display: block;
}

.type-post, .type-inci { margin-top: 30px !important }
.post-thumbnail { display: none; margin-bottom: 20px }

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

abbr[title] {
	border-bottom: 1px dotted;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img { border: none }
main img {
/*	border:  solid 1px #CCC;
	padding: 5px;
*/}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
	border-top: 1px dotted var(--secondaire);
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="cLVDOkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/* widget recherche */
.wp-block-search__inside-wrapper {
    display: flex;
    gap: 0.5rem; /* espace entre input et bouton, modifiable */
}
.wp-block-search__input {
    flex: 1 1 auto;
    width: auto; /* important pour éviter les conflits avec width: 100% */
}
.wp-block-search__button {
    white-space: nowrap; /* évite le retour à la ligne du texte si trop long */
}
/*--------------------------------------------------------------*/

fieldset {
	border: 1px solid #CCC;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

th, td { padding: 8px; border-bottom: 1px solid #aaa }
th { font-weight: 600 }

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	font-family: "Zalando Sans SemiExpanded", sans-serif;
	font-size: 17px;
	font-weight: 200;
	line-height: 1.5em;
	color: var(--text);
}

h1 {
	font-size: 48px;
	font-weight: 200;
	line-height: 40px;
	color: var(--h1);
	margin: 0 0 15px 0;
}
h1 strong { font-weight: 400; color: var(--secondaire) }

/* masquage titre */
.entry-title { display: none }

@media screen and (max-width: 400px) {
h1 { font-size: 28px; line-height: 38px }
body, button, input, select, textarea { font-size: 16px }
}

h2 {
	line-height: 1.2em;
	font-size: 20px;
	color: var(--h2);
	font-weight: 400;
	/*text-transform: uppercase;*/
	margin: 0 0 10px 0;
    text-shadow: 0 0 10px rgba(0,0,0,1);
}
p + h2, ul + h2 { margin: 20px 0 15px 0 }

h3 {
	line-height: 1.2em;
	font-size: 16px;
	color: var(--h3);
	font-weight: 500;
	margin: 0 0 10px 0;
}
main p {
	margin: 0 0 10px 0;
	/*text-align: justify;*/
	/*hyphens: auto;*/
}

b,
strong {
	font-weight: 500;
}

em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 0 10px;
	background: var(--gris);
	padding: 10px;
	color: #FFF;
}

address {
	margin: 0 0 1.5em;
}

.MAJ { text-transform: uppercase }

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

/* fond */
body {
	background: black;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

figcaption {
	position: absolute;
	right: 0;
	bottom: -12px;
	left: 0;
	padding: 10px;
	background-color: rgba(0,0,0,0.6);
    opacity: 0;
    transition: all 0.5s ease;
	font-size: 0.9em;
	color: white;
}
figure:hover figcaption { 
	opacity: 1;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
label {
    display: block;
    text-align: left;
    font-weight: 400;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.elementor-button-wrapper .elementor-button,
.obfx-grid-footer a,
.glsr-button,
.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 .read-more .btn {
	line-height: 30px;
	background: var(--secondaire);
	font-size: 16px;
	font-weight: 300;
	color: white !important;
	padding: 1px 15px 0 15px ;
	text-transform: lowercase;
	border: none;
	border-radius: 0;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover ,
.elementor-button-wrapper .elementor-button:hover,
.caldera-grid .btn:hover,
.caldera-grid .btn-default:hover,
.obfx-grid-footer a:hover,
.glsr-button:hover,
.ymc-smart-filter-container .container-posts .post-layout1 .ymc-post-layout1 .read-more .btn:hover {
	background: var(--principale);
}
.obfx-grid-footer a, .obfx-grid-footer a:hover {
	text-decoration: none;
	font-size: 11px;
	padding: 5px;
	text-transform: inherit;
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border: 1px solid #ccc;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    background: rgba(255,255,255, 0.25);
	color: white;
    font-weight: 400;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 2px 5px;
	width: 100%;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: white;
}

textarea {
	width: 100%;
    height: 150px;
}

/*--------------------------------------------------------------
# Contact Form 7
--------------------------------------------------------------*/
.wpcf7 p { margin: 0 0 10px 0; font-weight: 400 }
.wpcf7-list-item { margin: 0 0 10px 0 }
.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--gris);
	background: var(--gris);
	color: #fff;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #CCC;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: var(--secondaire);
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	float: left;
	margin-right: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
main:before,
main:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
main:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget-area {
display: inline-block;
padding: 0;
margin: 0;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.hentry {
	margin: 0;
}

.entry-header, .entry-footer { font-size: 0.7em }
.entry-header, .entry-footer, .nav-links {
	width: calc(100% - var(--margins));
	max-width: var(--maxwidth);
	/*height: 160px;*/
	margin: 20px auto;
    display: none;
}

.post { 
	padding-bottom: 20px;
	border-bottom: 1px solid #aaa;
}
.post:last-child { border-top: none }

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.post-navigation { font-size: 0.8em }
.nav-links { display: flex; justify-content: space-between; gap: 50px }
.nav-previous, .nav-next { display: block }
.nav-previous:before { content: "<< "; color: var(--secondaire) }
.nav-next { float: right }
.nav-next:after { content: " >"; color: var(--secondaire) }

.share-icon {margin-left: 30px }
.sd-content ul li:before { content: "" }
.sd-content ul li { width: 32px }


/* PAGE */
main {
    position: relative;
    display: block;
    background: black;
	width: 100%;
	margin: 0 auto 200px auto;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,1);
    z-index: 10;
}
@media screen and (max-width: 700px) {
main { margin: 0 auto 370px auto  }
}
.elementor a,
main a {
	color: var(--principale);
	text-decoration: none;
}
.elementor a:hover,
main a:hover {
	text-decoration: underline;
}
.elementor .elementor-button-link { text-decoration: none !important }

main ul,
main ol {
    padding-left: 15px;
    text-indent: -15px;
	margin: 0 0 10px 0;
}

main ul {
	list-style: none;
}

main ol {
	list-style: decimal;
}

main li:before {  content: "● "; color: var(--secondary); font-weight: 700 }

main li {
	margin: 0 0 6px 0;
}

.entry-content,
.entry-summary {
	width: 100%;
	/*max-width: var(--maxwidth);*/
	margin: auto;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Category
--------------------------------------------------------------*/
/* texte description catégorie */
.category-description { 
	margin-bottom: 20px;
	border-left: 5px solid var(--secondaire);
	padding-left: 20px;
	color: black;
	font-weight: 300;
}
	
/* Conteneur principal pour les articles */
.posts-container, .latest-posts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Post style */
.sc-post-preview {
    box-sizing: border-box;
	position: relative;
    display: flex;
    align-items: center;
    justify-content: initial;
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
	aspect-ratio: 16 / 9;
    margin: 10px;
	overflow: hidden;
	background: white;
	border: 1px solid #ccc;
}

/* Conteneur de la vignette */
.sc-post-preview .post-thumbnail {
	flex: 1 1 auto; /* pour qu'il prenne la place dispo */
    display: block;
    width: 100%;
	height: 100%;
    position: relative;
    overflow: hidden;
	margin: 0;
}

.sc-post-preview img /*, .post-thumbnail img */ {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
	-webkit-transition: transform 0.3s ease;
	transition: transform 0.3s ease;
}

.post-preview:hover img {
    /*transform: scale(1.1);*/
}

.sc-post-preview .post-infos {
    position: absolute;
	width: 33%;
    top: 0;
    left: 0;
    /*right: 10px;*/
    bottom: 0;
    padding: 20px;
	background-color: rgba(0,0,0,0.6);
    color: white;
	transform: translateX(-10px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
	z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: bottom;
	text-align: center;
}
.sc-post-preview:hover .post-infos {
   transform: translateY(0);
   opacity: 1;
}

@media (max-width: 767px) {
	.elementor-widget-shortcode {
		display: block !important;
		width: 100% !important;
	}

	.latest-posts-grid {
		display: flex !important;
		flex-wrap: wrap;
		gap: 16px;
		width: 100% !important;
	}

	.sc-post-preview {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		height: auto !important;
		margin: 0 0 20px 0;
	}
	.sc-post-preview .post-infos {
		width: 40%;
		transform: translateX(0);
		opacity: 1;
		background-color: rgba(0,0,0,0.6);
	}
}

.post-infos .post-category { color: var(--principale) }
.post-infos  h2.post-title {
	font-size: 15px;
	font-weight: 350;
	color: white;
	margin: 0;
}
a.post-infos { text-decoration: none }




/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
	margin: 1%;
}

.gallery-columns-2 .gallery-item {
	max-width: 48%;
}

.gallery-columns-3 .gallery-item {
	max-width: 31.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 23%;
}

.gallery-columns-5 .gallery-item {
	max-width: 18%;
}

.gallery-columns-6 .gallery-item {
	max-width: 14.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 12.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 10.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 9.11%;
}

.gallery-caption {
	display: block;
}

/*-------------------------------------------*/
/* ADDONS
/*-------------------------------------------*/


/*----------------------------------------------*/
/* Cookie Yes
/*----------------------------------------------*/
.cky-consent-container { border-left: 8px solid var(--secondaire); box-shadow: 0 0 20px rgba(0,0,0,0.4) }

.cky-consent-container button.cky-btn,
.cky-consent-container button.cky,
.cky-prefrence-btn-wrapper button { border: 2px solid var(--secondaire) !important; color: var(--secondaire) !important }

.cky-consent-container button.cky-btn-accept,
.cky-consent-container button.cky-btn-reject,
.cky-modal button.cky-btn-accept,
.cky-modal button.cky-btn-reject,
.cky-modal button.cky-btn-preferences { color: #fff !important; background-color: var(--secondaire) !important }

.cky-consent-container a { color: var(--secondaire) !important; text-decoration: none !important }
.cky-consent-container a:hover { color: var(--principal) !important;	border-bottom-color: var(--principal) !important }

button.cky-accordion-btn:not(:hover):not(:active), button.cky-banner-btn-close:not(:hover):not(:active), button.cky-btn-revisit:not(:hover):not(:active), button.cky-btn-close:not(:hover):not(:active) { color: var(--vert) !important }
button.cky-accordion-btn:hover:not(:active), button.cky-banner-btn-close:hover:not(:active), button.cky-btn-revisit:hover:not(:active), button.cky-btn-close:hover:not(:active) { color: #ccc !important }
