/* General, for all styles */
.posts {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}
.post-thumbnail,
.post-summary {
    padding: 10px;
}
/*.post *:not(.wp-block-columns):not(.button):not(.button>a):not(sup) {
	display: block;
}*/
.post .post-text,
.post .post-title,
.post .post-category,
.post .post-extract,
.post .post-date {
	display: block;
}
.post-title {
	font-size: 1.2em;
    margin: 0;
}
.post-category, .post-extract {
	display: block;
	font-size: 0.9em;
	margin: 0;
}
.post-extract p {
	margin-bottom: 0;
}
.post-content {
    position: relative;
    top: 15px;
}
.post-image img {
	width: 240px;
	aspect-ratio: 240/160;
	object-fit: cover;
	max-width: none;
	border-style: none;
	vertical-align: middle;
}
.product .post-image img {
    object-fit: contain;
    aspect-ratio: 1653/2480;
}
.wc-memberships-restriction-message,
.wc-memberships-content-restricted-message {
	display: none;
}

/* Depending on screen width */
@media (min-width: 371px) {
    .horizontal .post {
		flex: 1;
    }
}
@media (max-width: 370px) {
    .posts,
	.horizontal {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    .post {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    .posts.horizontal .post {
        display: flex !important;
        float: none !important;
        padding: 0 !important;
    }
    .post *,
	.posts.horizontal .post * {
        width: 100% !important;
    }
    .post-text {
        padding-left: 0px !important;
    }
}

/* AGENDA */
.posts.events .post-image img {
	display: block;
	margin: auto;
}

/* Style BLOG */
.posts.blog {
	display: inline-block;
}
.posts.blog .post {
	display: flex;
    padding: 10px 0px;
}
.posts.blog .post {
    height: auto;
    margin-right: auto;
	margin-left: auto;
	text-align: center;
}
.posts.blog .post-image img {
	float: left;
}
.posts.blog .post-text {
	float: right;
	padding-left: 20px;
	text-align: justify;
}

/* Style HORIZONTAL */
.posts.horizontal {
	display: flex;
	flex-wrap: wrap;
}
.posts.horizontal .post {
	padding: 0 10px;
	float: left;
	flex: 1;
}
.posts.horizontal .post * {
	display: block;
	padding: 5px 0;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}

/* Style VERTICAL */
.posts.vertical {
	display: inline-block;
}
.posts.vertical .post {
	float: none;
	flex-wrap: wrap;
    width: 100%;
	padding: 5px 0 15px;
}
.posts.vertical .post * {
	display: block;
	padding: 2px 0 0 0;
	text-align: center;
	margin-right: auto;
	margin-left: auto
}

/* Style ONMOUSEOVER */
.posts.onmouseover {
	display: flex;
	flex-wrap: wrap;
}
.posts.onmouseover .post {
	display: inline-block;
    position: relative;
    padding: 10px;
	float: left;
	flex: 1;
}

.posts.onmouseover .post .post-image {
    position: relative;
    display: inline-block;
    z-index: 0;
    margin: auto;
    top: 0;
    left: 0;
    width: 100%;
}
.posts.onmouseover .post .post-image img {
	width: 240px;
    height: 160px;
    -webkit-transition: width 1s, height 1s;
    -moz-transition: width 1s, height 1s;
    -o-transition: width 1s, height 1s;
    transition: width 1s, height 1s;
}
.posts.onmouseover .post:hover .post-image img {
    width: 480px;
    height: 320px;
}
.posts.onmouseover .post .post-text {
    display: inline-block;
    position: absolute;
    z-index: 1;
    background: rgba(255,255,255,0.6);
    text-align: center;
    font-size: 0.9em;
    margin: 30px 20px 20px 20px;
    top: 0;
    left: 10px;
    width: 200px;
    height: auto;
    color: black;
    background-color: rgba(255,255,255,0.85);
    box-shadow: inset 12px 12px 50px 20px rgba(0, 0, 0, 0.1);
    -webkit-transition: width 1s, height 1s;
    -moz-transition: width 1s, height 1s;
    -o-transition: width 1s, height 1s;
    transition: width 1s, height 1s;
}
.posts.onmouseover .post:hover .post-text {
	width: 444px;
    height: 270px;
}
.posts.onmouseover .post .post-date {
    color: #6f6f6f;
}
.posts.onmouseover .post .post-text .post-extract {
    display: none;
    color: #6f6f6f;
	-webkit-transition: display 1s;
    -moz-transition: display 1s;
    -o-transition: display 1s;
    transition: display 1s;
}
.posts.onmouseover .post:hover .post-text .post-extract {
    display: block;
    height: fit-content;
    font-size: 1em;
}
.posts.onmouseover .post:hover .post-text {
    background: rgba(255,255,255,0.8);
}
.posts.onmouseover .post:hover .post-image img {
    opacity: 0.6;
}

/* Style SLIDER */
.slider {
	position: relative;
	display: flex;
	width: auto;
	max-width: 800px;
	height: auto;
	margin: auto;
}
.slider .slides {
	overflow: hidden;
	display: block;
	opacity: 1;
	padding: 0;
	max-height: 30vw;
	height: auto;
	width: 100%;
	margin: auto;
	transform: translate3d(0,0,0);
	will-change: transform;
}
.slider .slide {
    position: relative;
    z-index: 0;
    width: 100%;
    margin: auto;
}
.slider .slide.active {
    display: block;
}
.slider .slide:not(.active) {
    display: none;
}
.slider .slide .post-image {
    position: relative;
    display: block;
	z-index: -1;
    background: none;
	margin: auto;
}
.slider .slide .post-image img {
	display: none;
    outline: 0;
    width: 100%;
	max-height: 30vw;
	height: auto;
    border: none;
    vertical-align: bottom;
    max-width: 100%;
    backface-visibility: hidden;
}
.slider .slide.active .post-image img {
    display: block;
}
.slider .slide .post-text {
	display: block;
	position: absolute;
    background-color: rgba(255,255,255,0.85);
    box-shadow: inset 12px 12px 50px 20px rgba(0, 0, 0, 0.1);
    top: 0;
    backface-visibility: hidden;
	right: 0;
    left: 0;
    margin: 0 auto;
	padding: 10px 20px 5px 20px;
    background: white;
    width: 100%;
	text-align: center;
    color: black;
	background-color: rgba(255,255,255,0.75);
    overflow: visible;
	text-overflow: ellipsis;
	z-index: 0;
}
.slider .slide .post-text * {
	padding: 3px 0;
}
.slider .slide .post-text .post-category,
.slider .slide .post-text .post-date {
    display: block;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(8,8,8,0.8);
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: center;
}
.slider .slide .post-text .post-title {
    color: #6f6f6f;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
    padding: 0;
    max-width: 100%;
}
.slider .slide .post-text .post-extract {
    display: none;
    color: #6f6f6f;
    margin: 0;
    padding: 0;
    max-width: 100%;
    font-size: 0.9em;
	height: fit-content;
    -webkit-transition: display 1s ease height 1s;
    -moz-transition: display 1s;
    transition: display 1s;
}
.slider .slide:hover .post-text .post-extract {
    display: block;
}
.slider .slider-button {
    position: absolute;
    top: 50%;
    margin-top: -19px;
    background: white;
    border: 0;
    width: 30px;
    height: 38px;
    outline: 0;
    padding: 0;
    cursor: pointer;
    z-index: 20;
    font-size: 24px;
}
.slider .slider-button.slider-prev {
    left: -15px;
}
.slider .slider-button.slider-next {
    right: -15px;
}

/* Specific to medias */
.media-content .media-entry {
	opacity: 1;
}
.media-content {
	display: inline-block;
	background: inherit;
	z-index: 0;
}
.media-content:hover img {
	opacity: 0.6;
}
.media-content:hover .media-entry {
	display: inline-block;
	position: relative;
}
.media-entry {
	display: none;
	z-index: 10;
}

/* Specific to posts feed  – External posts */
.external-posts .category {
	display: none;
}
request {
    display: none;
}

/* Small Screens */
@media screen and (max-width: 699px) {
    .posts.blog .post {
        flex-direction: column;
    }
    .posts.blog .post .post-image {
        margin: auto;
        padding-bottom: 20px;
    }
}
@media screen and (min-width: 320px) {
	.col-4 {
		max-width: none;
		margin-right: auto;
		margin-left: auto;
	}
}
@media screen and (min-width: 992px) {
    
}

.social-sharing-buttons {
    width: 100%;
    display: inline-block;
}

.sfsiplus_footerLnk {
    display: none;
}