/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x
Auteur du code : Mehdi Guyot
*/

/*    Articles page d'accueil      */

.post-grid .item .layer-media img {
	min-height:100% !important;
}

/*    Articles Single     */
.single-post .content p, .single-post .content ol li {
	margin: 0 0 1.5em !important;
	font-family: Cambria, "Times New Roman", Times, serif;
	font-size: 21px !important;
	font-weight: 400 !important;
	max-width: 728px !important;
	width: 100% !important;
}
@media screen and (max-width: 768px) {
	.single-post .content p, .single-post .content ol li {
        font-size: 18px !important;
	}
}

.single-post .content .wp-block-image {
	display:inline-block;
}

.single-post .entry-wrap {
	margin-bottom:30px;
}
.single-post .entry-title {
	font-size:40px !important;
	font-weight:600;
}

@media screen and (max-width: 768px) {
	h2 {
		font-size : 2em;
		max-width:90%;
		margin:auto;
	}
  .oui-a-la-transparence img {
    display:none;
	}
	.oui-a-la-transparence .x-1-3{
		margin: -40px 0 0 50px;
	}
}

/*      Suppression de l'espace au-dessus du slider d'accueil    */
.x-container.offset {
  margin:0 auto;
}

.div-slider, .div-slider .ms-theme-cubic {
	padding:0 !important;
}

/*         Initiatives en cours     */
@media screen and (max-width: 769px) {
  .initiatives-en-cours p{
    font-size:20px;
    color:white;
	padding:20px;
  }
  .initiatives-en-cours img {
      max-height:220px !important;
      display:inline-block;

}
}
/*footer*/
.footer {
	padding: 30px 20px !important;
}
.footer * {
	line-height: 1.5;
}
.footer h2 {
	font-size: 24px !important;
	padding-bottom: 15px;
	text-align: center;
	color: #fff !important;
	line-height: 1;
}
.footer ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.footer .column-footer {
	padding: 30px 10px 10px 10px !important;
}
.footer ul li {
	color: #000 !important;
}
.footer ul li a {
	color: #fff;
	transition: .3s ease all;
}
.footer ul li a:hover {
	color: #0f0f0f;
}
.footer .x-anchor-button {
	margin: 15px auto auto auto;
	display: block;
	max-width: 210px;
	border:3px solid #eb293b;
}
.footer .x-anchor-button:hover {
	background-color: #eb293b !important;
	border: 3px #fff solid;
}
.footer .x-anchor-button:hover span.x-anchor-text-primary {
		color: #fff !important;
}
.footer a {
	display: block !important;
	padding: 5px 0;
}
div.div-social-media {
	padding: 15px 0 !important;
}
ul.footer-social-media {
	display: flex;
	list-style-type: none;
	justify-content: center;
}
ul.footer-social-media li {
	padding: 10px 20px;
}
ul.footer-social-media li i {
	font-size: 40px;
}
.footer ul.speed-link i {
	padding-left: 5px;
}

/* Galerie */
.aigpl-gallery-album-wrp .aigpl-img-wrp::after {
	border-style: none !important;
}
.aigpl-gallery-album-wrp .aigpl-img-wrp {
	border: none !important;
	padding: 0 !important;
}
#aigpl-gallery-1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

/*     MENU       */
#menu-item-2540 > a > span {
	border: solid white;
	border-radius: 10px;
	padding: 10px;
	margin-top: -10px;
	background: white;
	color: black;
}

.x-icon-bars {
	color : rgb(231,41,53) !important;
}
@media screen and (max-width: 769px) {
	.x-logobar .x-brand img {
		width:50px !important;
	}
	.x-logobar {
		width: 76px !important;
		position: absolute;
		z-index: 1000000000000;
		right:0;
		height: 0;
	}
	.x-logobar .x-brand.img {
		position:absolute;
		top:20px;
		right:20px;
	}
	.x-logobar h1{
		display:none !important;
	}
}
.page-elec-slogan h1 {
	color:rgb(231,41,53);
	font-size:50px;
	text-align:center;
}
/*     PAGE ELECTIONS FEDERALES 2019        */
.page-elec p {
    font-size: 18px;
}
.page-elec .elec-candidats {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin :  0 0 0;
    column-gap: 40px;

}

.page-elec .elec-candidats > div {
    width: 400px;
    max-width: 100%;
    margin: 20px 0;
    background-color: aliceblue;
    padding-bottom: 20px;
}

.page-elec .elec-candidats > div img {
    max-width: 100%;
    width: 100%;
    display: block;
}

.page-elec .elec-candidats > div p:first-of-type {
    background: rgb(231,41,53);
    text-align: center;
    padding: 5px 10px;
    color: white;
    font-weight: 800;
    margin: 0;
    font-size: 18px;
    display: block;
}

.page-elec .elec-candidats > div p:nth-of-type(2){
    font-weight: 600;
}

.page-elec .elec-candidats > div p:nth-of-type(3) b{
    color: rgb(231,41,53);
}
.page-elec .elec-candidats > div p:nth-of-type(3) b::before, .page-elec .elec-candidats > div p a:before {
    content: ' ';
    display: block;
    margin-top: 5px;
}

.page-elec .elec-candidats > div a {
    margin: 15px 18px;
   color: rgb(231,41,53);
    font-size: 16px;
}

.page-elec .elec-candidats > div a:hover {
    color: hsl(0, 71%, 65%)
}

.page-elec .elec-candidats > div p {
    padding: 5px 18px;
    margin : 0;
}

.page-elec .elec-candidats > div h3 {
    padding: 5px 18px;
    margin: 5px 0 0 0;
}


.ef-programme {
    width: 500px;
    max-width: 90%;
    margin: auto;
    padding: 5px 1em;
}

.ef-programme h2 {
    color: rgb(231,41,53);
}




.page-elec > h2 {
    text-align: center;
    color: rgb(231,41,53);
    font-size: 30px;
    margin : 50px 0 0 0;
}

.elec-social {
    display: block;
    margin:15px 0;
}

.elec-social a .fab {
    font-size: 30px;
}









.elec-programme > div {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    height: 400px;
}

.elec-programme > div p, .elec-programme > div h2 {
    padding: 20px 20px 0;
    color: white;
    max-width: 500px;
    display: block;
    margin: auto;
    vertical-align: center;
}

.elec-programme > div:first-of-type {
    background: rgba(231,41,53,0.6);
}

.elec-programme {
    background: url("https://images.unsplash.com/photo-1531403009284-440f080d1e12?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80");
    background-size: cover;
    height: 400px;
	  margin-bottom: 20px;
}

.elec-programme > div a {
    color: white;
    font-size: 65px;
    height: 400px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 75px 10%;
    text-anchor: middle;
}

.elec-programme > div:nth-of-type(2) {
    background: rgba(231,41,53,1);
    transition: ease 0.3s;
    padding-top: 0;
}

.elec-programme > div:nth-of-type(2):hover{
    background: rgba(231,41,53,0.3)
}

.elec-programme > div a i {
    display: block;
}


@media screen and (max-width: 1000px) {
    .elec-programme {
        height: auto;
    }

    .elec-programme > div {
        width: 100%;
        height: auto;
        padding: 0 0 20px;
    }

    .elec-programme > div a{
        font-size: 30px;
        height: auto;
        width: 100%;
        padding: 10px 0 ;
    }
    .elec-programme > div:nth-of-type(2) {
        padding: 0;
    }

}



.elec-rubrique > div{
    display: inline-block;
    width: 49%;
    vertical-align: top;
    height: 400px;
    position: relative;
}

.elec-rubrique {
    background-size: cover;
    height: 350px;
    margin-bottom: 0;
    background: black;
    position: relative;
}

.elec-rubrique h2, .elec-rubrique p {
    padding: 20px 20px 0;
    color: white;
    max-width: 500px;
    display: block;
    margin: auto;
    vertical-align: center;
}

.elec-rubrique h2 {
    font-size: 30px;
}

.elec-rubrique::before{
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    filter: brightness(30%);
    background-size: cover;
}

.elec-rubrique:nth-of-type(2)::before{
    background-image: url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80");
}

.elec-rubrique:nth-of-type(3)::before{
    background-image: url("https://images.unsplash.com/reserve/NV0eHnNkQDHA21GC3BAJ_Paris%20Louvr.jpg?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80");
    background: rgb(231,41,53);
    filter: none;
}

.elec-rubrique:nth-of-type(4)::before{
    background-image: url("https://images.unsplash.com/photo-1547489432-cf93fa6c71ee?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80");
}

.elec-rubrique:nth-of-type(5)::before{
    background-image: url("https://images.unsplash.com/photo-1508963493744-76fce69379c0?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80");
    background: rgb(231,41,53);
    filter: none;
}
.elec-rubrique:nth-of-type(6)::before{
    background-image: url("https://images.unsplash.com/photo-1506836467174-27f1042aa48c?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80");
}
.elec-rubrique:nth-of-type(7)::before{
    background-image: url("https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80");
    background: rgb(231,41,53);
    filter: none;
}
.elec-rubrique:nth-of-type(8)::before{
    background-image: url("https://images.unsplash.com/photo-1527525443983-6e60c75fff46?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=632&q=80");
}
.elec-rubrique:nth-of-type(9)::before{
    background-image: url("");
    background: rgb(231,41,53);
    filter: none;
}
.elec-rubrique:nth-of-type(10)::before{
    background-image: url("https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=968&q=80");
}
.elec-rubrique:nth-of-type(11)::before{
    background-image: url("");
    background: rgb(231,41,53);
    filter: none;
}


.elec-rubrique p {
    font-size: 18px;
}

@media screen and (max-width: 1000px) {
    .elec-rubrique {
        height: auto;
    }

    .elec-rubrique > div {
        width: 100%;
        height: auto;
        padding: 0;
    }

    .elec-rubrique > div h2{
        font-size: 30px;
        height: auto;
        width: 100%;
        padding: 10px;
    }
    .elec-rubrique > div:nth-of-type(2) {
        padding: 0 0 30px;
    }

}

/*               PARTIELLE GOUVERNEMENTALE              */

.gvt-content .gvt-info h2{
    background-color: rgb(231,41,53);
    color: white;
    padding: 10px 0;
    text-align: center;
    margin: 0;
	font-size:42px
}

.gvt-content h1{
    color: rgb(231,41,53);
    text-align: center;
	margin:0;
	font-size:60px;
}

.gvt-content{
    font-family: Cambria, "Times New Roman", Times, serif;
    font-size: 21px;
    font-weight: 400 !important;
}
.gvt-info{
    width: 100%;
    display: block;
    margin: 30px auto;
    background: rgb(231,41,53);
    color: white;
}

.gvt-info p {
    max-width: 600px;
    display: block;
    margin: 0 auto;
    padding: 1em 1em 0 0;
}

.gvt-rosa {
    max-width: 850px;
    display: block;
    margin: 20px auto;
    background: aliceblue;
}

.gvt-rosa div {
    width: 50%;
    display: inline-block;
}

.gvt-rosa .rosa-img {
    width: 45%;
    margin: 0 5% 0 0;
}

.gvt-rosa .rosa-img img{
    width: 100%;
    display: block;

}

.gvt-rosa .rosa-img p {
    background: rgb(231,41,53);
    text-align: center;
    padding: 5px 10px;
    color: white;
    font-weight: 800;
    margin: 0;
    font-size: 18px;
    display: block;
}

.gvt-rosa .rosa-txt{
    vertical-align: top;
    max-width: 420px;
}

.gvt-rosa .rosa-txt p {
    margin: 0 auto;
    padding: 1em;
}

.link-partis-politiques {
	color:white !important;
	text-decoration:underline;
	display:block !important;
}

@media screen and (max-width: 850px) {
    .gvt-rosa {
        max-width: 400px;
    }
    .gvt-rosa div {
        width: 100% !important;
        margin: 0 auto !important;
    }
    .gvt-content{
        font-size: 18px;
    }
	.gvt-content h1{
		font-size:35px;
	}
	.gvt-content h2{
		font-size:25px;
	}
}

/*     GALERIE JE VOTE ROSALIE      */
.jvr-galerie .ngg-gallery-thumbnail img {
	height: 160px;
	width: 120px;
}
.jvr-galerie .ngg-fancybox {
	margin: 0;
}

.jvr-galerie .ngg-gallery-thumbnail {
	border: none;
}
.jvr-galerie .ngg-galleryoverview {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 1000px;
	margin: auto;
}

.jvr-gallery .ngg-galleryoverview .ngg-gallery-thumbnail-box{
	flex-basis:130px;
}

.bandeau-jvr h2 {
  background-color: rgb(231,41,53);
  color:white;
  padding:10px;
}

.bandeau-jvr span {
    text-decoration :underline;
}

.bandeau-jvr img{
  max-width:500px;
  width: 90%;
  display: block;
  margin : 20px auto;
}

.rosa-engagement > div{
    display: inline-block;
    width: 49%;
    vertical-align: top;
    height: 400px;
    position: relative;
}

.rosa-engagement {
    background-size: cover;
    height: 300px;
    margin-bottom: 0;
    background: black;
    position: relative;
}

.rosa-engagement h2, .rosa-engagement p {
    padding: 20px 20px 0;
    color: white;
    max-width: 500px;
    display: block;
    margin: auto;
    vertical-align: center;
}

.rosa-engagement p {
    font-size: 18px;
}

.rosa-engagement h2 {
    font-size: 30px;
}

.rosa-engagement::before{
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    filter: brightness(30%);
    background-size: cover;
}

.rosa-engagement:nth-of-type(1)::before{
    background-image: url("https://images.unsplash.com/photo-1542037104857-ffbb0b9155fb?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=950&q=80");
}

.rosa-engagement:nth-of-type(2)::before{
    background: rgb(231,41,53);
    filter: none;
}
.rosa-engagement:nth-of-type(3)::before{
    background-image: url("https://images.unsplash.com/photo-1499571466915-ffc02b27d65e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80");
}
.rosa-engagement:nth-of-type(4)::before{
    background: rgb(231,41,53);
    filter: none;
}
.rosa-engagement:nth-of-type(5)::before{
    background-image: url("https://images.unsplash.com/photo-1557234195-bd9f290f0e4d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80");
}
.rosa-engagement:nth-of-type(6)::before{
    background: rgb(231,41,53);
    filter: none;
}

@media screen and (max-width: 1000px) {
    .rosa-engagement {
        height: auto;
    }

    .rosa-engagement > div {
        width: 100%;
        height: auto;
        padding: 0;
    }

    .rosa-engagement > div h2{
        font-size: 30px;
        height: auto;
        width: 100%;
        padding: 10px;
    }
    .rosa-engagement > div:nth-of-type(2) {
        padding: 0 0 30px;
    }

}

.rosa-vie{
    display: block;
    width:600px;
    max-width: 90%;
    margin: auto;
}





.depliant{
    background: rgb(231,41,53);
    padding: .5em 0;
    display: block;
    width: 100%;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: ease 0.3s;
}

.depliant:hover {
    background: rgba(231,41,53,0.8);
	color:white !important;
}

.depliant span{
    text-decoration: underline;
}





.rosa-galette-des-rois{
    max-width: 450px;
    display: block;
    margin: 20px auto;
    width: 90%;
}

.rosa-galette-des-rois img{
    max-width: 450px;
    width: 100%;
}

.news img[src="https://www.psju.ch/wp-content/uploads/2020/01/20200113_152324-731x974.jpg"] {
	margin-top: -100px;
}


.rosa-article-qj-elecs {
    width: 100%;
    max-width: 600px;
    margin: auto;
    display: block;
}

.rosa-article-qj-elecs img {
    width:100%;
}

.rosa-article-qj-elecs a {
    text-align: center;
    margin-top : 10px;
    background: rgb(231,41,53);
    color:white;
    padding:10px;
    border-radius: 4px;
    text-decoration: none;
    transition: ease 300ms;
    display: block;
	font-size:18px;
}

.rosa-article-qj-elecs a:hover {
    background: rgba(231, 41, 53, 0.8);
	color:white;
}
.rosa-article-qj-elecs a span {
    text-decoration: underline;
}

@media screen and (max-width: 800px) {
    .rosa-gvt-iframe-video {
	    height: calc(100vw / 1.66) !important;
    }
}

/** ELECTIONS CANTONALES 2020    */
.page-elec .ec-candidates {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0 0;
    column-gap: 40px;
    width:100%;

}

.page-elec .ec-candidates > div, .page-elec .ec2020-enjeux {
    display:block;
    width:600px;
    max-width:95%;
    background-color: aliceblue;
    padding-bottom: 20px;
    margin: 0 auto;

}

.page-elec .ec-candidates > div > img{
   max-width: 100%;
    display: block;
}

.page-elec .ec-candidates > div p:first-of-type {
    background: rgb(231,41,53);
    text-align: center;
    padding: 5px 10px;
    color: white;
    font-weight: 800;
    margin: 0;
    font-size: 18px;
    display: block;
}

.page-elec .ec-candidates > div > ul {
    margin: 0;
}

.page-elec .ec-candidates > div p,  .page-elec .ec2020-enjeux p, .page-elec .ec-candidates > div > h3 {
    padding: 5px 18px;
    margin : 0;
}

.page-elec h2 {
    text-align: center;
    background-color: rgb(231,41,53);
    padding: 10px;
    color:white;
}

.page-elec > h3 {
    text-align: center;
    color: rgb(231,41,53);
    font-size: 35px;
}








/** PROGRAMME EC2020      */

.ec2020-rubrique > div{
    display: inline-block;
    width: 50%;
    vertical-align: top;
    height: 400px;
    position: relative;
}

.ec2020-rubrique {
    background-size: cover;
    height: 500px;
    margin-bottom: 0;
    background: black;
    position: relative;
}

.ec2020-rubrique h2, .ec2020-rubrique p {
    padding: 20px 20px 0;
    color: white;
    max-width: 550px;
    display: block;
    margin: auto;
    vertical-align: center;
}

.ec2020-rubrique p {
    font-size: 18px;
}

.ec2020-rubrique h2 {
    font-size: 30px;
}

.ec2020-rubrique::before{
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    filter: brightness(30%);
    background-size: cover;
}

.ec2020-rubrique:nth-of-type(2)::before{
    background-image: url("https://images.unsplash.com/photo-1589994965851-a8f479c573a9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80");
}

.ec2020-rubrique:nth-of-type(3)::before{
    background: rgb(231,41,53);
    filter: none;
}
.ec2020-rubrique:nth-of-type(4)::before{
    background-image: url("https://images.unsplash.com/photo-1556484687-30636164638b?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=967&q=80");
}

.ec2020-rubrique:nth-of-type(5)::before{
    background: rgb(231,41,53);
    filter: none;
}
.ec2020-rubrique:nth-of-type(6)::before{
    background-image: url("https://images.unsplash.com/photo-1581726707445-75cbe4efc586?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1055&q=80");
}

.ec2020-rubrique:nth-of-type(7)::before{
    background: rgb(231,41,53);
    filter: none;
}
.ec2020-rubrique:nth-of-type(8)::before{
    background-image: url("https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1200&q=60");
}
.ec2020-rubrique:nth-of-type(9)::before{
    background: rgb(231,41,53);
    filter: none;
}
.ec2020-rubrique:nth-of-type(10)::before{
    background-image: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80");
}
.ec2020-rubrique:nth-of-type(11)::before{
    background: rgb(231,41,53);
    filter: none;
}
.ec2020-rubrique:nth-of-type(12)::before{
    background-image: url("https://www.jura.ch/Htdocs/Images/Pictures/7581.jpg?puid=6536904c-f818-4ccd-8724-3a82fafac901");
}

.ec2020-moutier {
    text-align: center;
    color: rgb(231,41,53);
    font-size: 30px;
}

.ec2020-programme-texte {
    display: block;
    max-width: 600px;
    width: 90%;
    margin: 0 auto 50px;
}

.ec2020-programme-texte h2 {
    margin : 0;
}

.ec2020-programme-texte p {
    font-family: Cambria, "Times New Roman", Times, serif;
    font-size: 18px !important;
    font-weight: 400 !important;
}
@media screen and (max-width: 768px) {
    .ec2020-programme-texte p {
        font-size: 16px !important;
    }
}

.ec2020-programme-texte h2 {
    font-size: 35px;
    color: rgb(231,41,53);
}


@media screen and (max-width: 1000px) {
    .ec2020-rubrique {
        height: auto;
    }

    .ec2020-rubrique > div {
        width: 100%;
        height: auto;
        padding: 0;
    }

    .ec2020-rubrique > div h2{
        font-size: 30px;
        height: auto;
        width: 100%;
        padding: 10px;
    }
    .ec2020-rubrique > div:nth-of-type(2) {
        padding: 0 0 30px;
    }

}



.ec2020-programme > div {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    height: 300px;
}

.ec2020-programme > div p, .ec2020-programme > div h2 {
    padding: 20px 20px 0;
    color: white;
    max-width: 500px;
    display: block;
    margin: auto;
    vertical-align: center;
}

.ec2020-programme > div:first-of-type {
    background: rgba(231,41,53,0.7);
}

.ec2020-programme {
    background: url("https://images.unsplash.com/photo-1531403009284-440f080d1e12?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80");
    background-size: cover;
    height: 300px;
    margin: 30px 0 30px 0;
}

.ec2020-programme > div a {
    color: white;
    font-size: 65px;
    height: 400px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 70px 10%;
    text-anchor: middle;
}

.ec2020-programme > div:nth-of-type(2) {
    background: rgba(231,41,53,1);
    transition: ease 0.3s;
    padding-top: 0;
}

.ec2020-programme > div:nth-of-type(2):hover{
    background: rgba(231,41,53,0.2)
}

.ec2020-programme > div a i {
    display: block;
}


@media screen and (max-width: 1000px) {
    .ec2020-programme {
        height: auto;
    }

    .ec2020-programme > div {
        width: 100%;
        height: auto;
        padding: 0 0 20px;
    }

    .ec2020-programme > div a{
        font-size: 30px;
        height: auto;
        width: 100%;
        padding: 10px 0 ;
    }
    .ec2020-programme > div:nth-of-type(2) {
        padding: 0;
    }

}


/* ELUS COMMUNAUX   */
.page-elus-communaux ul li {
	display: inline-block;
	border: solid 2px rgb(231,41,53);
	border-radius: 10px;
	padding: 10px;
	margin: 5px;
}

/* COMMUNALES 2022 */
@media screen and (min-width: 1001px){
	.communales-2022-pdf {
    display:none;
  }
}

/* GALERIE */
.aigpl-album-design-1 .aigpl-img-title {
	text-transform: none !important;
}
