/* Pour toutes les campagnes */
.campagne{
    padding: 25px;
}
.node .content .campagne h2, .campagne h2{
    text-transform: uppercase;
    font-size: 2.3em;
    font-weight: 900;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    padding: 0 0 10px 0;
    background-size: 25px;
}
.campagne h3 {margin-bottom: 0;}
.campagne ul li h3 a{
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 700;
    color: #f89700;
    margin: 0 0 5px 0;
    text-decoration:none !important;
    display:inline;
}
.campagne.alternative ul li h3 a{color:#76ad55}
.campagne.action ul li h3 a{color:#fff;}
.campagne p{
    padding: 0;
    margin-bottom:0.5em;
}
.campagne a {
    transition: 0.2s all ease-in-out;
}
.campagne a:hover {
    opacity: 0.8;
}
.campagne p.intro {margin-bottom: 0 !important;}
.campagne ul {
    max-width: 50%;
    text-align: left;
    list-style: none;
    display: inline-block;
  }
.campagne ul li {transition: transform .2s;margin: 40px 0;}
.campagne ul li a {
   font-weight: 700;
   padding-top: 0;
   text-transform: uppercase;
   font-style: normal;
   font-size: 0.9rem;
   text-decoration: underline;
   color: #212121;
}
.campagne ul li a p{font-style: italic;}
.campagne a, .campagne a:hover {border: 0 !important;}



/* Variante dark */
.campagne.dark  h2, .campagne.dark p{color: #fff;}
.campagne.dark  ul li h3::before {
    content: "• ";
    color: #fff;
    float:left;
    margin-right:5px;
    font-size:1.2em;
  }
/* Variante light */
.campagne.light{text-align: right;}
.campagne.light  h2, .campagne.dark p{color: #fff;}
.campagne.light h2{color: #212121;}
.campagne.light p,.campagne.light ul, .campagne.light ul li, .campagne.light h2, .campagne.light h3{
    text-align: right;
}
.campagne.light p{
    color: #212121;
    display: inline-block;
    max-width: 600px;
}
.campagne.light a{color:#212121;}




/* Campagne informative */
.campagne.informative {
   background-image: url(https://visuels.l214.com/sites/www.l214.com/2018/pages/campagne/poule-2.png),linear-gradient(120deg, #ebebeb 0%, #fff 100%);
   background-repeat: no-repeat;
   background-position: right bottom;
   background-size: 250px, cover;
}
.campagne.informative h2:before {
   content: "";
   width: 25px;
   height: 25px;
   position: inherit;
   display: inline-block;
   background-size: 25px;
   background-image: url(https://visuels.l214.com/sites/www.l214.com/2018/theme-site/icon/enquete-dark.svg);
   margin: 0 15px 0 0px;
}

/*.campagne.informative {
    background-image: url(https://visuels.l214.com/sites/www.l214.com/2018/pages/campagne/campagne-info-cochon.png), url(https://visuels.l214.com/sites/www.l214.com/2018/pages/campagne/fond-campagne-info.jpg) ;
    background-repeat: no-repeat;
    background-position: right bottom, left top;
    background-size: 50%, cover;    
}
.campagne.informative h2:before{
    content: "";
    width: 25px;
    height: 25px;
    position: inherit;
    display:inline-block;
    background-size: 25px;
    background-image: url(https://visuels.l214.com/sites/www.l214.com/2018/theme-site/icon/enquete-blanc.svg);
    margin: 0 15px 0 0px;
}*/

/* Campagne alternative */
.campagne.alternative {
    background: url(https://visuels.l214.com/sites/www.l214.com/2018/theme-site/campagne/assiette.png),linear-gradient(90deg, rgba(250,250,250,1) 0%, rgba(253,253,253,1) 50%, rgba(240,240,240,1) 100%);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 40%, cover;  
}
.campagne.alternative h2:after{
    content: "";
    background: url(https://visuels.l214.com/sites/www.l214.com/2018/theme-site/icon/soleil-green.svg) no-repeat;
    background-size:26px; 
    position: inherit;
    float: right;
    width: 26px;
    height: 26px;
    margin-left: 10px;
    margin-top: -6px;
}
.campagne.alternative h3{color: #05a70d;}


/* Campagne action */
.campagne.action {
    background-image: url(https://visuels.l214.com/sites/www.l214.com/2018/pages/campagne/campagne-action-clic.png), url(https://visuels.l214.com/sites/www.l214.com/2018/pages/campagne/fond-campagne-action.jpg) ;
    background-repeat: no-repeat;
    background-position: right bottom, left top;
    background-size: 40%, cover;    
}
.campagne.action h2:before{
    content: "";
    width: 22px;
    height: 37px;
    position: inherit;
    float: left;
    background-size: 20px;
    background-image: url(https://visuels.l214.com/sites/www.l214.com/2018/theme-site/icon/action.svg);
    background-repeat: no-repeat;
    margin: -10px 15px 0 0;
}
.campagne.action h3{color: #fff;}
.campagne.action a p{color: #212121;}

/* MOBILE */

@media only screen and (max-width: 1000px) {
    body.node-683 {font-size: 1em;}
    .container.node-683, .messages {padding: 0;}
    .page.node-683 {width: 100% !important;}
    .page.front h1.title {margin: 15px;}
    .campagne{padding:15px;}
    .campagne h2{margin-top:20px;font-size:1.8rem !important;}
    .campagne h3 {margin-bottom: 0;}
    .campagne ul li h3 a{font-size: 1.2rem !important;}
    .campagne ul li a{font-size:0.9em !important;}
    #block-block-20, #block-block-21 {
        padding: 0;
        margin: 0 2%;
    }
    .campagne p{font-size:1rem !important;}
    .campagne.action h2{margin-top:15px;}
    .campagne{padding-bottom: 100px;margin-bottom: 0;}
    .campagne ul {max-width: 100%;}
    .campagne p.intro { text-align:left;}
    .campagne h3 a {
        margin: 0 0 15px 0;
        border-bottom: solid 1px rgba(253,253,253,0.3);
    }
    .campagne.light p, .campagne.light ul, .campagne.light ul li, .campagne.light h2, .campagne.light h3 {
        text-align: left;
    }
    .campagne p {
        margin-bottom: .5em;
    }
    .campagne.informative {background-size: 125px, cover !important;}
    .campagne.informative h2:before{margin: 5px 15px 0 0px;}
    .campagne.alternative {background-position: left bottom;}
    .campagne.alternative h3 {border-bottom: solid #05a70d 1px;}
    .campagne.alternative h2:after {background: none;}
    .campagne.alternative h2:before {
        content: "";
        background: url(https://visuels.l214.com/sites/www.l214.com/2018/theme-site/icon/soleil-green.svg) no-repeat;
        background-size: 26px;
        position: inherit;
        float: left;
        width: 26px;
        height: 26px;
        margin-left: 0px;
        margin-top: -5px;
        margin-right: 10px;
    }

    .campagne.alternative {
        background: url(https://visuels.l214.com/sites/www.l214.com/2018/theme-site/campagne/assiette.png) no-repeat;
        padding-bottom: 180px;
        background-position: bottom left;
        padding: 25px 20px 180px 20px;
        background-size: 190px;
    }

}
