/*
Theme Name: 		École Alsacienne
Theme URI:      https://www.travers-media.com
Description:    Based on Gridlove child theme
Template:       gridlove
Version: 				1.1.9
*/

@font-face {
	font-family: 'Alsacienne';
	src: url('fonts/alsacienne-regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Alsacienne';
	src: url('fonts/alsacienne-bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Alsacienne';
	src: url('fonts/alsacienne-black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

html, body {
	overflow-x: hidden !important;
}

/* BP - header : séparation rouge
*/
.gridlove-header-top {
	font-family: 'Alsacienne', sans-serif;
}
.gridlove-header-top li {
	margin-left: 7px;
	margin-right: 7px;
}

.gridlove-logo {
	padding: 18px 0 25px;
}
.gridlove-logo-mini {
	padding: 13px 0 20px;
}
.gridlove-main-nav .sub-menu>li:hover>a {
	padding-left: 20px;
	padding-right: 20px;
}

/* > Sous-menu */
.menu-item.small,
.menu-item.small a {
	font-family: Georgia, serif;
	font-size: 1em;
	font-weight: 400;
}

/* ACCUEIL */
/* > Bandeau en tête */
.home .gridlove-header-responsive + .gridlove-cover-area {
	margin-top: -30px;
}
.home .gridlove-cover-bg {
	position: relative;
	display: flex;
	align-items: flex-end;
}
.home .gridlove-cover-bg h1 {
	box-sizing: content-box;
	position: relative;
	margin: 0;
	padding: 35px 30px;
	z-index: 3;
	color: #fff;
	font-size: 64px;
	line-height: 1.1;
	max-width: 13.5em;
	text-align: left;
}
.home .gridlove-cover-area {
	height: auto !important;
}
.home .gridlove-cover-area .gridlove-hidden-overlay,
.home.gridlove-cover-overlay-off .gridlove-cover-area:hover .gridlove-hidden-overlay {
	z-index: 2;
	background: linear-gradient(rgba(0,0,0,0),#000);
	opacity: .75;
	top: 50%;
	height: 50%;
}
.home .gridlove-cover-area .gridlove-cover {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100% !important;
}
.home .gridlove-cover-area .gridlove-cover:after {
	position: absolute;
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #000;
	opacity: .1;
}
.home .gridlove-cover-area .gridlove-cover img {
	width: 100% !important;
	max-width: 100%;
}
.home .gridlove-cover-bg {
	min-height: 60vh;
}
.home .gridlove-cover-content {
	position: relative;
	z-index: 2;
	margin: 0;
	display: flex;
	align-items: stretch;
	background: #ed1c29;
	width: 100%;
	padding: 20px 30px 86px;
}
.home .gridlove-cover-area .overlay-vh-center-custom {
	display: flex;
	flex-direction: column;
	position: static;
	transform: none;
	margin: 0;
	padding: 0;
	color: #fff;
	text-align: left;
}
.home .gridlove-cover-content .overlay-vh-center-custom > *:first-child {
	margin-top: 0;
}
.home .gridlove-cover-content .overlay-vh-center-custom > *:last-child {
	margin-bottom: 0;
}
.home .gridlove-cover-content p {
	margin-bottom: 1em;
	max-width: 34.5em;
	font-size: 24px;
	line-height: 1.3;
}
.home .gridlove-cover-content a.btn {
	display: inline-block;
	background: #780a18;
	margin-right: 1.5em;
	padding: 17px 25px;
	border-radius: 10px;
	font-family: 'Alsacienne', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	color: #fff;
	text-decoration: none;
}

.gridlove-module {
	margin-top: 80px;
	margin-bottom: 80px;
}

.gridlove-module.valeurs {
	position: relative;
}
.gridlove-module + .gridlove-module.valeurs {
	margin-top: 160px;
}
.gridlove-module.valeurs + .gridlove-module {
	margin-top: 130px;
}
.gridlove-module.valeurs::before {
	content: "";
	display: block;
	position: absolute;
	top: -80px;
	bottom: -50px;
	z-index: -1;
	left: 50%;
	width: 200vw;
	background: #fff;
	transform: translateX(-50%);
	pointer-events: none;
}
.gridlove-module.valeurs .module-title h2 {
	text-align: center;
	max-width: 28.75em;
	margin: 30px auto 55px;
}

.gridlove-box,
.gridlove-box:hover {
	-webkit-box-shadow: none;
	box-shadow: none;
}
.gridlove-content .gridlove-box {
	box-shadow: none;
}

/* > Valeurs */
.gridlove-post-c {
	height: auto;
}
.gridlove-post-c .box-inner-p {
	padding-left: 0;
	padding-right: 0;
}
.gridlove-post-c .entry-title {
	margin-bottom: 15px;
}
.gridlove-post-c .entry-more {
	color: #ed1c29;
	text-decoration: underline;
}

/* > À la Une */
.gridlove-post-b {
	display: flex;
	box-shadow: none;
	height: auto;
	min-height: 300px;
}
.gridlove-post-b .entry-image {
	overflow: hidden;
}
.gridlove-post-b .entry-image a {
	display: block;
	height: 100%;
}
.gridlove-post-b .entry-image img {
	height: 100%;
	transition: transform .2s;
}
.gridlove-post-b .entry-image:hover img {
	transform: scale(1.05);
}
.gridlove-post-b .entry-image:hover a:after {
	content: none;
}
.gridlove-post-b .box-inner-ptbr {
	padding-bottom: 25px;
}
.gridlove-post-b .entry-meta {
	position: static;
	margin-bottom: 8px;
}
.gridlove-post-b .box-inner-ellipsis {
	height: 100%;
	max-height: none;
}
.gridlove-post-b .box-inner-ellipsis > div {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.gridlove-post-b .entry-content {
	margin-bottom: 15px;
}
.gridlove-post-b .entry-link {
	margin-bottom: 30px;
}
.gridlove-post-b .entry-link a {
	font-family: 'Alsacienne', sans-serif;
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.gridlove-post-b .entry-category {
	margin: auto 0 0;
}
.box-inner-p,
.gridlove-text-module-content.gridlove-box {
	padding: 15px;
}
.entry-overlay-wrapper .entry-image:before,
.gridlove-post-d .entry-image a:before {
	content: "";
	position: absolute;
	background: #780a18;
	mix-blend-mode: multiply;
	will-change: background;
	height: 100%;
	width: 100%;
	z-index: 2;
	top: 0;
	left: 0;
}
.gridlove-post-d .entry-image a:after {
	background: #780a18;
	mix-blend-mode: screen;
	z-index: 3;
}
.gridlove-post-d .entry-image img {
	filter: grayscale(1);
}
.gridlove-post-d .entry-overlay {
	display: flex;
	flex-direction: column;
	padding-bottom: 10px;
}
.gridlove-post-d .box-inner-ellipsis {
	height: auto;
}
.gridlove-post-d .entry-category {
	margin: auto 0 0;
}
.gridlove-post-d .entry-meta {
	position: static;
}

.entry-category a, .gridlove-action-link, .gridlove-pill {
	font-family: 'Alsacienne', sans-serif;
	font-weight: 700;
	border-radius: 3px;
	background: #780a18;
}
.entry-overlay .entry-category a,
.gridlove-posts .entry-category a,
.gridlove-related .entry-category a {
	margin-bottom: 5px;
}
.gridlove-cover-content .entry-category a:hover,
.entry-overlay .entry-category a:hover,
.gridlove-highlight .entry-category a:hover,
.gridlove-box.gridlove-post-d .entry-overlay .entry-category a:hover,
.gridlove-post-a .entry-category a:hover,
.gridlove-highlight .gridlove-format-icon,
.entry-category a:hover, .gridlove-action-link:hover, .gridlove-pill:hover {
	background: #ed1c29;
	color: #fff;
}
.entry-meta {
	font-family: 'Alsacienne', sans-serif;
	font-weight: 400;
}

.gridlove-text-module-content.gridlove-box {
	padding: 0 0 30px;
	box-shadow: none;
}
.gridlove-text-module-content.gridlove-box p,
.gridlove-text-module-content.gridlove-box h2 {
	max-width: 35em;
	margin-left: auto;
	margin-right: auto;
	font-size: 24px;
	color: #000;
}

/* > Important */
.gridlove-post-a {
	background: #780a18;
	height: calc(100% - 30px);
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
}
.gridlove-post-a .entry-image:hover>a:after {
	background-color: rgba(120, 10, 24, .2);
}
.gridlove-post-a .box-inner-p {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding-bottom: 23px;
}
.gridlove-post-a .entry-category,
.gridlove-post-a .entry-meta {
	position: static;
}
.gridlove-post-a .entry-meta {
	margin-bottom: 8px;
}
.gridlove-post-a .entry-category {
	margin: auto 0 0;
}
.gridlove-post-a .entry-category a {
	background: #ed1c29;
}
.gridlove-post-a .entry-title a,
.gridlove-post-a.gridlove-highlight.gridlove-box .entry-title a:hover {
	color: #fff;
}
.gridlove-post-a .box-inner-ellipsis {
	height: auto;
	margin-bottom: 15px;
}


/* PAGINATION */
.gridlove-pagination {
	font-family: 'Alsacienne', sans-serif;
}
.gridlove-infinite-scroll a,
.gridlove-load-more a,
.gridlove-pagination .gridlove-next a,
.gridlove-pagination .gridlove-prev a,
.gridlove-pagination .next,
.gridlove-pagination .prev,
.gridlove-infinite-scroll a:hover,
.gridlove-load-more a:hover,
.gridlove-pagination .gridlove-next a:hover,
.gridlove-pagination .gridlove-prev a:hover,
.gridlove-pagination .next:hover,
.gridlove-pagination .prev:hover {
	-webkit-box-shadow: none;
	box-shadow: none;
}


/* BP - empêcher le rectangle central de mordre sur l'image
*/
.gridlove-page-layout-5 {
	margin-top: 0;
	
}


.gridlove-cover-area {
	height: auto;
}
.gridlove-cover,
.gridlove-cover img {
	height: auto;
	aspect-ratio: 904 / 280;
}
.gridlove-cover-area figure {
	margin-bottom: 0;
}
.gridlove-cover-area {
	backface-visibility: hidden;
	background-color: #f4f4f4;
}
.gridlove-cover-area .gridlove-cover-bg img {
	max-width: 1070px;
}


.gridlove-cover-item {
	backface-visibility: hidden;
	background-color: #f4f4f4;

}



.gridlove-cover-bg {
	backface-visibility: hidden;
	background-color: #f4f4f4;

}

/* BP - pour plugin ContentView https://docs.contentviewspro.com/change-color-read-more-button/?utm_source=client&utm_medium=read-more-color&utm_campaign=gopro */


.pt-cv-readmore {
    color: #fff !important;
    background-color: #df0606 !important;
    border: none !important;
}
.ui-dialog .gridlove-module-form.ui-dialog-content{
	overflow: visible!important;
}

/* PAGE / ARTICLE */
.gridlove-header-responsive+.gridlove-cover-area {
	margin-top: 0;
}
.gridlove-page-layout-4,
.gridlove-page-layout-5,
.gridlove-single-layout-7,
.gridlove-single-layout-8 {
	margin-top: 0;
}
.gridlove-breadcrumbs {
	font-family: 'Alsacienne', sans-serif;
}
.entry-tags {
	font-family: 'Alsacienne', sans-serif;
}
.entry-tags a {
	margin-bottom: 5px;
}
.meta-date {
	margin-right: 0;
}
.meta-date .created,
.meta-date .updated {
	margin-right: 10px;
}
.meta-date .updated:before {
	content: '\f040';
}
.gridlove-pn-link {
	font-family: 'Alsacienne', sans-serif;
}





/* Blocs UAGB (Ultimate Addons for Gutenberg)
- Grille de publications */
.uagb-post__date {
	font-family: 'Alsacienne', sans-serif;
}

/* - widget */
.widget_media_image {
	padding: 0;
}
.widget_media_image .widget-title {
	padding: 25px 30px;
	margin: 0;
}
/* - widget Articles Récents */
.widget_recent_entries ul {
	font-family: 'Alsacienne', sans-serif;
}

/* BLOCS GUTENBERG */
.wp-block-button {
	font-family: 'Alsacienne', sans-serif;
}
.wp-block-button__link,
.wp-block-button__link:hover {
	-webkit-box-shadow: none;
	box-shadow: none;
}
.wp-block-button__link.has-gridlove-acc-background-color:hover {
	background: #780a18;
	color: #fff;
}
.wp-block-file a {
	font-family: 'Alsacienne', sans-serif;
}
.wp-block-separator {
	max-width: none;
}
.wp-block-table td,
.wp-block-advgb-table td {
	white-space: normal;
}


/* FORMULAIRES */

.add_to_cart_button,
.gridlove-button,
.gridlove-button-search,
.mks_autor_link_wrap a,
.mks_read_more a,
.submit,
a.mks_button,
body div.wpforms-container-full .wpforms-form .wpforms-page-button,
body div.wpforms-container-full .wpforms-form button[type=submit],
body div.wpforms-container-full .wpforms-form input[type=submit],
button[type=submit],
input[type=submit] {
	font-family: 'Alsacienne', sans-serif;
	-webkit-box-shadow: none;
	box-shadow: none;
}



/* REBOND */
#rebond {
	background: #fff;
	padding: 110px 0 150px;
}
#rebond > .container {
	max-width: 1130px;
}
#rebond article {
	margin-top: 38px;
}
#rebond h2,
#rebond h3 {
	margin: 0;
	font-size: 24px;
	color: #000;
}
#rebond img {
	margin-bottom: 25px;
}


/* PIED DE PAGE */

.gridlove-footer a {
	color: #fff;
}
.gridlove-footer .widget_pages.widget {
	font-family: 'Alsacienne', sans-serif;
	font-weight: 700;
}
.gridlove-footer .widget_nav_menu li a,
.gridlove-footer .widget_pages li a {
	padding-left: 0;
	padding-right: 0;
}
.gridlove-footer .gridlove-nav-widget-acordion {
	right: 0;
}
.widget_pages .children,
.widget_nav_menu .sub-menu {
	background: none;
}
.gridlove-footer .widget_nav_menu .sub-menu,
.gridlove-footer .widget_pages .children {
	padding: 10px 0 10px 15px;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}
.widget_pages .children a,
.widget_pages .children span {
	color: #fff;
}
.gridlove-footer .widget_nav_menu .children li a,
.gridlove-footer .widget_pages .children li a {
	padding-top: 5px;
	padding-bottom: 5px;
}
.widget_nav_menu .sub-menu a:hover,
.widget_nav_menu li>a:hover,
.widget_pages .children a:hover,
.widget_pages li>a:hover {
	padding-left: 0;
}
.widget_nav_menu .sub-menu .sub-menu:after,
.widget_pages .children .children:after {
	display: none;
}
.gridlove-footer .widget_nav_menu .sub-menu .sub-menu,
.gridlove-footer .widget_pages .children .children {
	border-bottom: none;
}
.widget_nav_menu ul>li:last-child.active,
.widget_pages ul>li:last-child.active {
	margin-bottom: -10px;
}
.gridlove-footer .wp-block-heading {
	color: #fff;
}
.gridlove-footer .widget_block {
	margin: 0;
}
.gridlove-footer .widget_block a,
.gridlove-footer .widget_text a {
	border: none;
	text-decoration-line: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: .5px;
}
.gridlove-footer .widget_block p,
.gridlove-footer .widget_text p {
	margin-bottom: 12px;
}
.gridlove-footer .widget_block ol,
.gridlove-footer .widget_text ol,
.gridlove-footer .widget_block ul,
.gridlove-footer .widget_text ul {
	margin: 0 0 12px 12px;
}
.gridlove-footer .widget_block ul,
.gridlove-footer .widget_text ul {
	list-style: disc;
}
.gridlove-footer .widget_block hr,
.gridlove-footer .widget_text hr {
	border-bottom-color: rgba(255, 255, 255, 0.2);
	margin: 12px 0;
}

/* COOKIES */
#cookie-law-info-again {
	font-family: 'Alsacienne', sans-serif !important;
	font-weight: 700;
	box-shadow: 3px 3px 5px 0 rgba(1,1,1,.05);
	right: 30px !important;
}

/* SLIDER PRINCIPAL = diffusé sur un écran 16/9e dans l’école */
body .soliloquy-container {
	font-size: 2.36vw !important; /* 34px pour 1440px de large */
}
body .soliloquy-container .soliloquy-item,
body .soliloquy-container .soliloquy-item.soliloquy-active-slide {
	display: flex;
	aspect-ratio: 2;
}
body .soliloquy-container .soliloquy-item > a {
	width: 66%;
	order: 2;
}
body .soliloquy-container .soliloquy-fc-title {
	font-size: 1.5em !important;
	line-height: 1;
}
body .soliloquy-fc-slider .soliloquy-caption-inside .soliloquy-fc-title {
	margin-bottom: .5em;
}
body .soliloquy-container .soliloquy-fc-content > p {
	line-height: 1.3;
}
body .soliloquy-container .soliloquy-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
body .soliloquy-container .soliloquy-caption {
	position: static;
}
body .soliloquy-container .soliloquy-caption.soliloquy-caption-bottom {
	width: 34%;
}
body .soliloquy-container .soliloquy-caption .soliloquy-caption-inside {
	height: 100%;
	padding: 3.5% 4.5%;
	background-color: #ed1c29;
	text-align: left;
}

/* RESPONSIVE */
.gridlove-header-responsive {
	text-align: left;
}

/* Menu mobile */
.gridlove-action-close {
	width: 50px;
	padding: 0;
	left: auto;
	right: 20px;
	box-shadow: none;
	color: #000;
	display: flex;
  align-items: center;
  justify-content: center;
}
.gridlove-sidebar-action-wrapper {
	background: #fff;
	padding: 30px 0 0;
	font-family: 'Alsacienne', sans-serif;
}
.widget_nav_menu .sub-menu,
.widget_nav_menu .sub-menu .sub-menu {
	background: rgba(0,0,0,.0431372549);
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 10px;
}
.widget_nav_menu .sub-menu .sub-menu {
	top: 0;
}
.widget_nav_menu .sub-menu > li:last-child > .sub-menu {
	margin-bottom: 0;
}
.widget_nav_menu .sub-menu a,
.widget_nav_menu .sub-menu span {
	color: #000;
}

@media (max-width: 1040px) and (min-width: 580px) {
	.home .gridlove-cover-bg h1,
	.home .gridlove-cover-content {
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media (max-width: 1023px) {
  .gridlove-action-search .sub-menu li .gridlove-search-form input[type="text"],
	.gridlove-action-search .sub-menu li .gridlove-button-search {
		max-width: 48.5%;
	}
	.gridlove-action-search .sub-menu li .gridlove-button-search {
		padding-left: 12px;
		padding-right: 12px;
		text-wrap: nowrap;
	}
}

@media screen and (max-width: 1023px) {
	.site-title img {
		margin: 0;
		padding-bottom: 18px;
	}
	.sub-menu form {
		padding-left: 24px;
		padding-right: 24px;
	}
	.home .gridlove-cover-bg h1 {
		font-size: 48px;
	}
	.gridlove-cover, .gridlove-cover-area {
		height: auto !important;
	}
	body:not(.home) .gridlove-cover-area .gridlove-cover-bg img {
		max-width: 688px;
		margin-left: 24px;
    margin-right: 24px;
    width: calc(100% - 48px);
	}
}

@media screen and (max-width: 767px) {
	.home .gridlove-cover-bg h1 {
		font-size: 36px;
	}
	.home .gridlove-cover-content p {
		font-size: 20px;
	}
}

@media screen and (max-width: 579px) {
	.site-title img {
		padding-top: 9px;
		padding-bottom: 13px;
	}
	.gridlove-header-responsive > .container {
		max-width: none;
	}
	.sub-menu .gridlove-button-search {
		margin-top: 0;
	}
	.sub-menu form {
		padding-left: 20px;
		padding-right: 20px;
	}
	.home .gridlove-header-responsive + .gridlove-cover-area {
		margin-top: -20px;
	}
	.home .gridlove-cover-bg h1,
	.home .gridlove-cover-content {
		padding-left: 20px;
		padding-right: 20px;
	}
	body:not(.home) .gridlove-cover-area .gridlove-cover-bg img {
		margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
	}
	.gridlove-post-b {
		flex-direction: column;
	}
	.gridlove-post-b .entry-image a::after {
		display: none;
	}
	.gridlove-post-b .box-inner-ptbr {
		float: none;
		max-width: none;
		margin-left: 0;
	}
}

@media screen and (max-width: 474px) {
}

@media screen and (max-width: 424px) {
}