:root {
    --inz-primary: #ffa40a;
    --inz-secondary: #4c4c4c;
    --inz-tertiary: #84ba16;
    --inz-gray: #c7c7c7;
    --white: #fff;
}

[data-block].is-selected {
    border: 1px dashed #c0c0c0;
}

[data-block].has-child-selected {
    border: 1px dashed #e9e9e9;
}

.interface-interface-skeleton__editor {
	max-width: 100%;
}

.interface-interface-skeleton__content .container ul li a,
.interface-interface-skeleton__content article a {
    pointer-events: none;
    text-decoration: none;
}

.wp-block.is-reusable {
    max-width: 100% !important;
}

h1.wp-block-post-title.wp-block {
    padding: 30px 0;
    font-size: 28px;
    font-weight: 700;
}

.block-list-appender.wp-block {
    opacity: 0.5;
}

@media screen and (min-width: 960px) {
    body {
        overflow-x:  hidden;
    }

    .alignwide, 
    .alignfull {
            width:  100%;
            max-width:  100%;
    }
    .wp-block[data-align=full] {
        max-width: 100%;
    }
    .post-type-post .wp-block {
        max-width: 900px;
    }
}

/* BUTTONS */

.btn-action {
    background-color: var(--inz-primary);
    color: var(--white);
}

.btn-action,
.wp-block-button__link {
    padding: 10px 25px;
}

.btn-action,
.wp-block-button__link {
    font-weight: 600;
    font-size: 1.1em;
    text-align: center;
    text-transform: uppercase;
}

body:not(.wp-admin) .btn-action:hover,
body:not(.wp-admin) .wp-block-button__link:hover {
    background-color: var(--inz-secondary) !important;
    color: var(--white) !important;
}

.is-style-outline>:where(.wp-block-button__link), 
:where(.wp-block-button__link).is-style-outline {
    border-width: 1px;
}

@media (max-width: 575px) {
	.btn-action,
    .wp-block-button__link {
		padding: 10px 15px;
	    font-size: 1em;
    }
}

/* TOP HOME */

div.block-hero {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.hero__outer,
.hero__outer.slick-slide {
	width: 100%;
	height: 280px;
	text-align: center;
}

.hero__outer.light {
    color: var(--white);
}

.hero__outer img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero__outer.slick-slide img {
    height: 100%;
}

.hero__outer > .container {
	display: flex;
	align-items: center;
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
}

.hero__inner {
    width: 80%;
    max-width: 570px;
}

.hero__outer h2 {
    color: var(--inz-light);
    font: 700 1.3em/1 'Jost';
    text-transform: uppercase;
}

.hero__outer.dark h2 {
    color: var(--inz-primary);
}

.block-hero p {
	font-size: 13px;
	line-height: 1.2;
}

.block-hero .text-right p {
    margin-left: auto;
}

.block-hero .text-center p {
    margin-left: auto;
    margin-right: auto;
}

.hero__btn {
    display: inline-block;
}

.light .hero__btn {
    background-color: var(--white);
    color: var(--inz-secondary);
}

.light .hero__btn:hover {
    background-color: var(--inz-secondary);
    color: var(--white);
}

@media (max-width: 991px) {
	.hero__inner {
		max-width: 235px;
	}

    .hero__btn {
        padding: 8px 20px;
        font-size: 14px;
        line-height: 1;
    }
}

@media (min-width: 992px) {
    .hero__outer,
    .hero__outer.slick-slide {
        height: 500px;
    }

    .container .hero__outer {
        height: 350px;
    }

    .container .hero__outer > .container {
        padding: 0 8%;
    }
    
    .hero__outer h2 {
        font-size: 3.2em;
    }

    .container .hero__outer h2 {
        font-size: 3em;
    }

    .hero__outer p {
        font-size: 1.4em;
    }
}

@media (min-width: 1200px) {
    .hero__outer,
    .hero__outer.slick-slide {
        height: 650px;
    }
}

/* BLOCK BANNERS */

.block-banners img {
    width: 100%;
    height: auto;
}

/* PAGES */

.intitle,
h2.intitle,
p.intitle {
    font: 700 2em/1.2 'Jost';
    position: relative;
    letter-spacing: -1px;
}

@media (max-width: 767px) {
    .intitle br {
        display: none;
    }
}

@media (min-width: 992px) {
    .intitle,
    h2.intitle,
    p.intitle {
        font-size: 2.78em;
    }
}

/* ARTICLE */

article[class^="post-style-"] img {
    width: 100%;
    height: auto;
    transition: transform .6s;
}

article[class^="post-style-"] img:hover {
    filter: brightness(80%);
    transform: scale(1.06);
}

article[class^="post-style-"] h2,
.cards-list__item.style-4 h3 {
	width: 85%;
	min-height: 80px;
	padding: 35px 0 0 25px;
	margin: -12px auto 0;
	font-size: 1.4em;
	font-weight: 600;
	line-height: 1.1;
	border-left: 1px solid;
}

.post-style__thumb {
    overflow: hidden;
}

.post-style__cat {
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
	position: absolute;
	top: -3px;
	left: 0;
}

.post-style__cat a {
	padding: 0 5px;
	background-color: var(--inz-secondary);
	color: var(--white);
}

.post-style__cat a:nth-child(n + 2) {
    display: none;
}

.post-style-1.style-2 .post-style__infos {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.post-style-1.style-2 h2 {
    min-height: auto;
    padding: 0 0 25px 15px;
    color: var(--white);
    font-size: 1em;
    text-transform: uppercase;
    border-color: var(--white);
}

.post-style-1.style-2 img {
    filter: brightness(70%);
}

.post-style-1.style-2:hover img {
    filter: brightness(40%);
    transform: scale(1.06);
}

.post-style-1.style-2.category-item h2 {
    font-size: 1.3em;
    text-transform: lowercase;
}

.post-style-1.style-2.category-item .post-style__thumb {
    height: 250px;
}

.post-style-1.style-2.category-item .post-style__thumb img {
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .categorie-list > div:nth-child(odd) {
        top: 20px;
    }
}

@media (min-width: 992px) {
    .post-style-1.style-2.category-item .post-style__thumb {
        height: 350px;
    }
}

/* TAXONOMY LIST */

.taxonomy-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.taxonomy-list.vertical ul li {
    padding: 5px 0;
}

.taxonomy-list.horizontal ul {
    line-height: 1.1;
    display: flex;
    gap: 2rem;
}

@media (max-width: 767px) {
    .taxonomy-list.horizontal {
        display: none;
    }
}

/* ELEMENTS */

.acf-image-uploader .image-wrap img {
    max-width: 80px !important;
}

p[class*=font-size] {
    font-weight: 300;
}

.wp-block-image {
    margin-bottom: 0;
}

.z-index {
    z-index: 1;
}

@media (min-width: 768px) {
    .b-white img {
        border: 15px solid var(--white);
    }
}

@media (min-width: 768px) and (max-width: 782px) {
    .grids-s-w_i {
        display: grid !important;
    }
}

/* CARD STYLED */

.card-styled {
    padding: 2rem;
    background-color: var(--inz-primary);
}

.card-styled:before {
    content: "";
    width: 100vw;
    height: 80px;
    background-color:  var(--inz-primary);
    position: absolute;
    top: -80px;
    left: calc(100% - 100vw);
    mix-blend-mode: multiply;
}

.card-styled:after {
    content: "";
    width: 100%;
    background-color:  var(--inz-primary);
    position: absolute;
    bottom: 0;
    top: 0;
    left: -100%;
}

@media (min-width: 768px) {
    .card-styled {
        padding: 3rem;
    }

    .card-styled:before {
        height: 200px;
        top: -200px;
    }
}
/* COVER */

@media (max-width: 575px) {
    .wp-block-cover {
        padding-left: 0;
        padding-right: 0;
    }
}

/* MAP */

.map-block {
    width: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
}

.map-block iframe {
    width: 100%;
    height: 335px;
}

/* FAQ */

.acc-block .accordion-item {
    border: none;
}

.acc-block h2.accordion-header {
    margin: 0 !important;
    font-family: inherit;
}

.accordion-item .accordion-button {
    margin-bottom: 15px;
    border-radius: 3px;
    border: 1px solid var(--inz-secondary);
    outline: none;
    box-shadow: none;
    font-weight: 600;
}

.accordion-item .accordion-button:focus {
    border-color: var(--inz-primary);
}

.accordion-item .accordion-button:after {
    background-size: 0.8rem;
    background-position: center;
    border-radius: 30px;
    border: 1px solid var(--inz-primary);
}

.accordion-item .accordion-button[aria-expanded=true]:after {
    background-color: var(--white);
    border-color: var(--white);
    filter: grayscale(100%);
}

.accordion-button:focus {
    outline: none;
    box-shadow: none !important;
}

.accordion-item .accordion-button:not(.collapsed) {
    background-color: var(--inz-primary);
    color: var(--white);
    border: none;
}

/* CARDS LIST */

div[id*=cards-list-block_].fixed-h {
    height: 100%;
    max-height: 500px;
}

.style-1 .cards-list__inner,
.style-2 .cards-list__inner {
    width: 100%;
    min-height: 160px;
    height: 100%;
    padding: 30px;
    border: 1px solid #ddd;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    top: 0;
}

.cards-list__img img {
    width: 100%;
}

.cards-list__icon {
    width: 130px;
    height: 130px;
    margin: 0 auto;
    background-color: var(--inz-primary);
    border-radius: 100px;
    text-align: center;
    display: flex;
    align-items: center;}

.cards-list__icon img {
    max-width: 72px;
    margin: 0 auto;
    filter: brightness(0%) invert(100%);
}

.style-2 .cards-list__img img {
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.style-2 .cards-list__inner {
    border: none;
    overflow: hidden;
}

.style-2 .cards-list__img {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
}

.cards-list__overlay {
    background: var(--inz-secondary);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0.95;
    z-index: 1;
}

.cards-list__infos {
	z-index: 2;
}

.style-3 .cards-list__infos {
    margin-top: 20px;
}

.style-3 .cards-list__infos {
    text-align: center;
}

.cards-list__title {
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.3;
    z-index: 1;
}

.style-1 .cards-list__title {
    padding: 40px 0 0 15px;
    margin-top: -45px;
    border-left: 1px solid var(--inz-primary);
}

.style-3 .cards-list__title {
    max-width: 95%;
    margin: 0 auto 10px;
    font-size: 1.1em;
    font-weight: 600;
}

.slick-slider .cards-list__item {
    padding: 0 15px;
}

.card-list .slick-list {
    margin: 0 -15px;
}

.style-4 .cards-list__inner {
    height: 100%;
    padding: 1.5rem 1.5rem 10px 1.5rem;
    background: linear-gradient(to bottom, #f5f5f5, #fff);
    font-size: 13px;
}

.cards-list__item.style-4 h3 {
    margin-bottom: 20px;
}

.cards-list__item.style-2 .cards-list__title {
    color: var(--white);
}

.cards-list__item.style-2 p {
    color: #dbdbdb;
}

.cards-list__item.style-1 p {
    margin: 15px auto 10px;
    font-size: 14px;
}

.cards-list__btn {
    display: block;
    width: 35px;
    height: 35px;
    background-color: var(--inz-primary);
    color: var(--white);
    border-radius: 30px;
    font-size: 20px;
    line-height: 35px;
    text-align: center;
    z-index: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
}

.style-2 .cards-list__btn,
.cards-list__item:hover .cards-list__btn {
    background-color: var(--white);
    color: var(--inz-primary);
}

@media (max-width: 379px) {
    .style-3 .cards-list__title {
        max-width: 100%;
        font-size: 1em;
    }
}

@media (min-width: 768px) and (max-width: 781px) {
    .style-1 .cards-list__inner,
    .style-2 .cards-list__inner {
        padding: 10px 15px;
    }
}

@media (max-width: 991px) {
    .style-1 .cards-list__inner br,
    .style-2 .cards-list__inner br {
        display: none;
    }
}

@media (min-width: 992px) {
    .card-alternate .cards-list__item:nth-child(2n) {
        margin-top: -100px;
    }
}

/* STRETCHED SLIDER */

.stretched-slider .slick-list {
	overflow: visible;
}

.stretched-slider {
	cursor: grab;
}

.stretched-slider__prev:not(.slick-active) {
	opacity: 0 !important;
	z-index: -1;
	pointer-events: none;
}

.stretched-slider .slick-track {
	pointer-events: none;
}

/* GALLERY */

.gallery__item.slick-slide {
    padding: 0 5px;
    overflow: hidden;
}

.gallery-slider[data-columns=1] .gallery__item {
    padding: 0;
}

.gallery-slider[data-columns=1] .gallery__item.slick-slide {
    min-height: 350px;
    height: 60vh;
}

.gallery__item img {
    width: 100%;
    height: auto;
}  

.gallery-slider[data-columns=1] .gallery__item im {
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .gallery-slider[data-columns=1] .gallery__item.slick-slide {
        min-height: 700px;
        height: 100vh;
    }   
}

/* VIDEO */

.col-12.video-item {
    max-width: 750px;
    margin: 0 auto 30px;
}

.video-item__thumb {
    cursor: pointer;
    position: relative;
    height: 100%;
    max-height: 350px;
    overflow: hidden;
}

.video-item__thumb img {
    width: 100%;
	height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-item__thumb a:before {
    content: "";
    background: url(../../images/play-button.png) center no-repeat rgba(0,0,0,0.4);
    background-size: 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    border-radius: 3px;
}

.video-item__thumb:hover a:before {
    background: url(../../images/play-button.png) center no-repeat rgba(0,0,0,0.5);
    background-size: 40px;
}

/* LINKS PAGE */

.page-template-page-links {
    background-color: var(--bg-color-3);
}

[id*=links-block] {
    max-width: 600px;
    padding: 40px 0;
    margin: 0 auto;
}

.links-block__img {
    margin: 0 auto;
    text-align: center;
}

.links-block__img img {
    width: auto;
    max-width: 230px;
}

.links-block__list {
    list-style: none !important;
    padding: 0;
}

.links-block__list li a {
    display: block;
    width: 100%;
    margin: 0 auto 10px;
    color: var(--tx-color);
    background-color: var(--bg-color-1);
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    padding: 15px 5px;
    border-radius: 3px;
}

.wp-admin .links-block__list li a {
    pointer-events: none;
}

/* CONTACT BLOCK */

.contact-block {
    max-width: 350px;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.contact-block li {
    display: block;
    margin-bottom: 20px;
}

.contact-block li:last-child {
    margin: 0;
}

.contact-block li a {
    font-weight: 600;
}

/* IMAGES */

.alignnone {
	margin: 5px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
	text-align: center;
}

.wp-block-image.aligncenter>figcaption {
    display: inherit;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

img.alignright {
	float: right;
	margin: 5px 0 20px 10px;
}

img.alignnone {
	margin: 5px 20px 10px 0;
}

img.alignleft {
	float: left;
	margin: 5px 20px 10px 0;
}

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

.wp-caption {
	background: var(--white);;
	max-width: 100%;
	padding: 0;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 10px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 10px 0;
}

.wp-caption.alignright {
	margin: 5px 0 10px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.language-block {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px dashed;
}

.language-block__title {
    padding: 7px 10px 5px;
    background-color: #c0c0c0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

@media (min-width: 600px) and (max-width: 767px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child) {
        flex-basis: 100%!important;
        flex-grow: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .wp-block-columns.md-100 {
        flex-wrap: wrap !important;
    }

    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child) {
        flex-basis: 100%!important;
        flex-grow: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 599px) {
    .has-huge-font-size,
    .has-gigantic-font-size,
    .has-extra-large-font-size {
        font-size: 20px !important;
    }
}

@media screen and (min-width: 960px) {
    .post-type-page .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper > *, 
    .post-type-page .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > *,
    .post-type-single .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper > *, 
    .post-type-single .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > * {
        max-width: 1150px;
    }

    .wp-admin .wp-block-acf-inz-container {
        margin-left: auto;
        margin-right: auto;
    }
}