
.grimlock-query-section__posts [id^="post-"].type-leaflet {
	margin-bottom: 15px !important;
}

.grimlock-query-section__posts [id^="post-"].type-leaflet .card {
	background-color: #F9FAFB;
	color: inherit;
	border: none;
	border-radius: .85rem;
	transition: all .2s ease-in-out;
	padding-bottom: 0 !important;
	position: static;
}
.grimlock-query-section__posts [id^="post-"].type-leaflet .card:hover {
	background-color: #fff;
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.grimlock-query-section__posts [id^="post-"].type-leaflet .card .card-body {
	position: relative;
	padding: 1.5rem;
	padding-bottom: 45px;
}
.grimlock-query-section__posts [id^="post-"].type-leaflet .card .entry-header {
	min-height: 0;
}
.grimlock-query-section__posts [id^="post-"].type-leaflet .card .entry-title a {
	color: #524C4B;
	pointer-events: none;
}
.grimlock-query-section__posts [id^="post-"].type-leaflet .card .edit-link {
	display: none !important;
}
.grimlock-query-section__posts [id^="post-"].type-leaflet .card .entry-summary + .more-link {
	display: none !important;
}
.grimlock-query-section__posts [id^="post-"].type-leaflet .card .card-body .more-link {
	right: 30px;
	bottom: -15px;
	background: #D83547 !important;
}

.grimlock-query-section__posts [id^="post-"].type-leaflet .card .card-body .more-link:hover {
	background: #a11f2e !important;
}

.grimlock-query-section__posts [id^="post-"].type-leaflet .card .card-body .more-link:after {
	transform: rotate(90deg);
	transform-origin: center;
	margin: 0 -10px 0 10px;
	padding: 0;
}
.grimlock-query-section__posts [id^="post-"].type-leaflet .card .card-body .more-link:hover:after {
	transform: rotate(90deg) translate(3px, 0);
}

.leaflet-before-header {
	font-size: .85rem;
	margin-bottom: .25rem;
}

.leaflet-before-header i {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 1.7rem;
	color: #66C1BF;
}
.leaflet-before-header__category {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.75rem;
	color: #66C1BF;
}

.leaflet-before-header__category + .leaflet-before-header__category {
	margin-left: .5rem;
}

.leaflet-before-header__date:before {
	content:' | ';
	display: inline-block;
	margin-left: .25rem;
	margin-right: .25rem;
}

.page-template-template-leaflets .grimlock--page-header,
.page-template-template-leaflets .grimlock--page-footer {
	display: none !important;
}
.page-template-template-leaflets #content {
	padding-top: 3% !important;
}
.page-template-template-leaflets .wp-block-column:not(:empty) {
	background: none;
	box-shadow: none;
	padding: 0 !important;
}
.page-template-template-leaflets .grimlock--page-content h2:not(.woocommerce-loop-product__title) {
	margin-bottom: 0 !important;
}
.page-template-template-leaflets .wp-block-column p:last-child {
	margin-bottom: 0;
}
.page-template-template-leaflets .has-inline-color.has-quinary-color {
	color: #66C1BF;
}
.page-template-template-leaflets .has-inline-color.has-quaternary-color {
	color: #BCCF00;
}
.page-template-template-leaflets .wp-block-video {
	margin-bottom: 0;
}
.page-template-template-leaflets .modal {
	background-color: rgba(44, 38, 38, .75  );
}
.page-template-template-leaflets .grimlock-query-section .region__col--2 {
	padding: 0 !important;
}
.page-template-template-leaflets #main .modal--download .gform_confirmation_message {
	text-align: center;
	padding-bottom: 8%;
	padding-top: 11%;
}

.page-template-template-leaflets #main .modal--download .gform_confirmation_message a {

	font-family: Ubuntu, sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0px;
	line-height: 1rem;
	text-transform: uppercase;
	border-width: 1px !important;
	display: inline-block;
	background: #D83547 !important;
	padding: 1rem 2rem;
	color: #fff !important;
	font-size: 0;
	line-height: 1.5;
	min-width: 250px;
	padding: 1.25rem .8rem !important;
	margin-top: 5px;

}

.page-template-template-leaflets #main .modal--download .gform_confirmation_message a:before {
	content: 'Téléchargement';
	font-size: .8rem;
}

.page-template-template-leaflets #main .modal--download .gform_confirmation_message a:hover,
.page-template-template-leaflets #main .modal--download .gform_confirmation_message a:active,
.page-template-template-leaflets #main .modal--download .gform_confirmation_message a:focus {
	background-color: #a11f2e !important;
	color: #fff !important;
}

.page-template-template-leaflets #main .modal--download .gform_confirmation_message a  br {
	display: none;
}
.page-template-template-leaflets #main .modal--download .close {
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 2.2rem;
	z-index: 9;
}
.page-template-template-leaflets #main .modal--download .modal-body {
	padding: 2rem;
}

.page-template-template-leaflets #main .modal--download .gform_wrapper {
	margin: 0;
}

.page-template-template-leaflets #main .modal--download .gsection {
	margin-top: 0;
	padding: 0;
	border: 0;
}

.page-template-template-leaflets #main .modal--download .modal-header {
	padding: 0;
	margin: 0;
}

.page-template-template-leaflets #main .modal--download .gsection .gsection_title {
	margin-bottom: 1.1rem !important;
}

.page-template-template-leaflets #main .modal--download .gform_footer {
	position: absolute;
	bottom: 2rem;
	right: 1rem;
	width: auto;
	margin: 0;
	padding: 0;
}


.page-template-template-leaflets #main .modal--download .gform_wrapper ul.gform_fields li.gfield {
	padding-right: 0;
}

.page-template-template-leaflets #main .modal--download .gform_button {
	background: #D83547;
	border: none;
	font-size: .85rem;
}

.page-template-template-leaflets #main .modal--download .gform_button:hover,
.page-template-template-leaflets #main .modal--download .gform_button:active,
.page-template-template-leaflets #main .modal--download .gform_button:focus {
	background: #a11f2e;
}

.page-template-template-leaflets #main .modal--download select {
	border-color: #ddd;
}

.page-template-template-leaflets #main .modal--download .gsection:last-child {
	width: 55%;
	margin: 40px 0 0 0 !important;
	padding: 0;
}

.page-template-template-leaflets #main .modal--download .modal-dialog {
	max-width: 650px;
}
