/*
    STYLE GUIDE
    Mise en forme de l'article texte en bloc de wordpress
*/

.templatePageTextBloc > div:not(:last-child) {
    margin-bottom:30px;
}

/* Bloc citation */
.header_content_introduction {
    position: relative;
    padding: 30px 0;
    font-weight: 700;
    font-size: 20px;
    font-style: italic;
    color: #000;
}
.header_content_introduction::before {
    content:"";
    position: absolute;
    /* top:-20px; */
    top:-10px;
    left:90px;
    /* width: 100px;
    height: 100px; */
    width:80px;
    height: 80px;
    background-image: url('/wp-content/themes/mediapilote/img/charte/icon-quotation-top.svg');
    background-repeat: no-repeat;
}
.header_content_introduction::after {
    content:"";
    position: absolute;
    /* bottom:-20px; */
    bottom: -10px;
    right:90px;
    /* width: 100px;
    height: 100px; */
    width:80px;
    height: 80px;
    background-image: url('/wp-content/themes/mediapilote/img/charte/icon-quotation-bottom.svg');
    background-repeat: no-repeat;
}
.header_content_introduction p {
    width:920px;
    margin: auto;
}

/* Bloc introduction */

.bloc-introduction {
    padding: 0 15%;
    text-align: center;
}
	.bloc-introduction p {
		font-size: 1.8rem;
		font-weight: bold;
	}




/* Galerie image */

.galerie-image-container {
	margin-left: -0.5rem;
	margin-right: -0.5rem;
}
	.galerie-image .item {
	}
	.galerie-image .item a{
		position: relative;
		overflow: hidden;
		display: block;
		background-color: #000;
	}
	.galerie-image .item a::before{
		display: block;
		width: 100%;
		padding-top: 100%;
		content: "";
	}
		.galerie-image .item img {
			position: absolute;
			top: 0;
			left: 0;
			transition: transform .3s, opacity .3s;
		}
		.galerie-image .item:hover img {
			opacity: 0.5;
			transform: scale(1.05);
		}

/* Diaporama */

.slider-page .image-diapo {
    height: 500px;
}

/* Téléchargement fichier */
.fileDownload-itemContent{
	background-color: var(--gray-200);
}
.fileDownload-item .title {
    flex-grow: 1;
	font-weight: 800;
    color: var(--color-primary);
    margin: 0;
}
.fileDownload-item .vignette {
    width: 180px;
    margin: 0 10px 0 0;
}
.fileDownload-item .link a {
    margin: 0 0 0 5px;
	display: flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	background-color: var(--white);
}
.fileDownload-item .link a i{
	color: var(--color-primary);
}
/* Vignette page */

.blocVignettesCarrefours-itemContent {
	overflow: hidden;
}

/* .blocVignettesCarrefours-item:nth-child(3n+2) {
    margin: 0 40px 30px 40px;
} */
	.blocVignettesCarrefours-item .image {
		background-color: #000;
	}
		.blocVignettesCarrefours-item .image {
			transition: opacity .3s, transform .3s;
		}
		.blocVignettesCarrefours-item .image:hover {
			opacity: 0.5;
			transform: scale(1.05);
		}

/* 14 - SLICK */
button.slick-arrow {
    font-family: 'icomoon';
    src: url('fonts/icomoon.eot?re0wk5');
    src: url('fonts/icomoon.eot?re0wk5#iefix') format('embedded-opentype'),
      url('fonts/icomoon.ttf?re0wk5') format('truetype'),
      url('fonts/icomoon.woff?re0wk5') format('woff'),
      url('fonts/icomoon.svg?re0wk5#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;

    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

button.slick-arrow {
    font-size: 0;
    background-color: var(--white);
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
    width: 39px;
    height: 38px;
    z-index: 10;
    outline: transparent;
    cursor: pointer;
}
button.slick-arrow::before {
  content: "\e901";
  font-size: 16px;
  color: var(--color-primary);
}
button.slick-arrow.slick-prev {
    left: -40px;
}
button.slick-arrow.slick-next {
    right: -40px;
    transform:translateY(-50%) rotate(-180deg);
}


.slider-arrow-top-right button.slick-next{
  right: 0;
  top: -70px;
  transform: rotate(-180deg);
}
.slider-arrow-top-right button.slick-prev{
  right: 60px;
  left: auto;
  transform: none;
  top: -70px;
}

/*------------
RESPONSIVE
--------------*/
@media screen and (max-width: 1440px) {
    .header_content_introduction::before {
        left:30px;
    }
    .header_content_introduction::after {
        right: 30px;
    }
}
@media screen and (max-width:1199px) {
    .header_content_introduction::before {
        top:-18px;
        width: 60px;
        height: 60px;
        left:0;
    }
    .header_content_introduction::after {
        bottom: -18px;
        width: 60px;
        height: 60px;
        right: 0;
    }
    .header_content_introduction p {
        width: 100%;
    }
}
@media screen and (max-width:768px) {
    .header_content_introduction::before,
    .header_content_introduction::after {
        width: 70px;
        height: 70px;
    }

    .header_content_introduction {
        font-size: 18px;
    }
}