/*********************************
effet de flou articles réservés
************************************************/

.blur {
    width: 100%;
    background-color: rgba(255,255,255,0.8);
    height: 100px;
    margin-top: -82px;
    position: relative;
    margin-bottom: 3%;
    filter: blur(1px);
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    z-index: 9999999999999;
}


/*******************************************************
Page article en général : grille 
*******************************************************/

.node--type-article {
    padding: 50px 15% 0 15%;
    background-color: #fff;
    clear: both;
    line-height: 1.7em;
}

.liste_articles {
    display: flex;
    justify-content: space-between;
}

.region.region-liste-articles {
    width: 80%;
}

.view-content {
            
    display:flex;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.teaser a {
    margin-top: 8%;
    font-size: 13px;
    line-height: 1.4em;
    text-align: justify;
    color: #3f3f3f;
    font-weight: 500;
}

.view-petites-annonces .views-row{
    min-height:410px!important;
}

.view-actus-syndicat .views-row{
    min-height:420px!important;
}
.views-row {
    display:inline-block;
    vertical-align: top;
    min-width: 30%;
    width: 31.2%;
    min-height:480px;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.1);
    padding:10px;
    margin-right:20px;
    margin-bottom:40px;
    font-family: montserrat;
    position:relative;
}

div#block-mainpagecontent{
   width: 100%;
    margin: 0 auto;
}

.views-element-container {

    padding: 50px 5%!important;
}


.js-pager__items .pager__item a.button{
   margin: 0 auto!important;
    display: block;
    width: 150px;
    text-align: center;
}
.region-sidebar-first {
    width: 15%;
    padding: 2%;
    background-color: white;
    min-height: 300px;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    margin-top: 54px;
}

.article-teaser{
    padding:0!important
}
.article-teaser .image img {
    object-fit: cover;
    width: 100vw;
    max-width:100%;
    min-height: 250px;
    max-height: 250px;
}

.node--type-article h2.title {
  font-family: montserrat;
    color: #0D5C95;
    line-height: 1.2em;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    border-left:none!important;
}

span.field.field--name-field-tags.field--type-entity-reference.field--label-above.clearfix {
    display: none;
}

.article-teaser .image.left img {
  float: left;

  -webkit-clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%);
  clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%);
}

.teaser-default-image {
    
    background:url(./img2/visuels-img.jpg) no-repeat;
    background-size: contain;
        width:100%;
    height:270px;
}

.node__teaser {
    padding: 10px 0;
    text-align: justify;
    line-height: 1em;
}

.node__teaser a{
       font-size: 13px;
        color:#000;
}


.node--type-article .meta-keywords.label a {
    font-weight: 600;
    font-size: 12px;
    color:#000000!important;
}

.article-card{
    padding:0;
}
.article-card .date{
    padding:0 10px;
}

.article-teaser .content-wrapper {
  margin-left: 315px;
  position: absolute;
}


.article-teaser .content-wrapper .content {
  display: inline-block;
  /*white-space: nowrap;*/
  overflow: hidden;
  text-overflow: ellipsis;

  height: 149px;
}


.article-inner .print-icon {
  color: #000000;
  float: right;
  cursor: pointer;
        padding: 8px;
    font-size:18px;
    
}

.icons {
    position: absolute;
    right: 0;
    background: #fff;
    padding: 10px 0;
}


.article-teaser .icon-premium {
    float: right;
    display: block;
    width: 39px;
    height: 30px;
    margin-left: 12px;
    background: url(img/picto-article-premium.png) no-repeat center center;
}

.article-teaser .icon-practical-sheet {
    float: right;
    display: block;
    width: 30px;
    height: 30px;
    margin-left: 12px;
    background: url(img/picto-fiche-pratique.png) no-repeat center center;
}

.article-teaser .icon-attached {
    float: right;
    display: block;
    width: 30px;
    height: 30px;
    margin-left: 12px;
    background: url(img/picto-attached.png) no-repeat center center;
}


/****************************************************************************
Article TOP Important
*********************************************************************/

.views-row.top-important {
    width: 100%;
    box-shadow:none;
}
.view-search-content .views-row.top-important {
    width: 31.2%;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.1);
}

/*
.article-inner {
    padding: 50px 5%;
}
*/

.node__content p.highlight {
    font-size: 24px;
    color: #cc202f !important;
    text-align: center;
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.2em;
}
.node__content p.highlight.right {
    /*margin-left: 5%;*/
    /*float: right;*/
}
.node__content p.highlight.left {
    /*margin-right: 5%;*/
    /*float: left;*/
}

.article-top-important h2.title{
     text-transform: uppercase;
    font-size: 25px;
    font-weight: 400;
    color: #0D5C95!important;
    padding: 0 10px;
    margin-bottom: 50px;
    border-left: solid 3px #C70626;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: montserrat;
}
.node__content {
    font-family:montserrat;
    font-size:15px;
}
.node__content h2{
    font-family: montserrat;
    text-align: center;
    text-transform: uppercase;
    color: #0D5C95;
    font-size: 27px;
    margin: 20px 0;
    letter-spacing: 5px;
    font-weight: 500;
}

.node__content p {
    font-size: 14px;
    margin: 20px;
    padding: 0 10px;
    color:#000;
    text-align: justify;
    font-weight: 500;
    line-height:1.5em;
}

.node__content ul{
    width:80%;
    margin: 0 auto;
    font-family:montserrat;
    font-size:14px;
}

.node__content ul li{
    list-style:square;
    font-weight:500;
    text-align: justify;
}


article.node.node--type-article.node--promoted.node--view-mode-full.font-md.aos-item__inner.article-full .meta-date-tag span.meta-keywords.label a, article.node.node--type-article.node--view-mode-full.font-md.aos-item__inner.article-full .meta-date-tag span.meta-keywords.label a {
    color: #ffffff!important;
    padding: 1%;
    background-color: #cc202f!important;
    float: right;
    margin-left: 1%;
    font-weight: 500;
}

article.node.node--type-article.node--promoted.node--view-mode-full.font-md.aos-item__inner.article-full .date, article.node.node--type-article.node--view-mode-full.font-md.aos-item__inner.article-full .date{
        margin: 5%;
    padding-top: 20px!important
}

p.frame {
    background: #0D5C95!important;
    color: #fff!important;
    padding: 30px!important;
    font-size: 20px!important;
    font-style: normal!important;
}

/****************************************************************************
Intérieur articles individuel
*********************************************************************/


    article .summary {
    font-size: 17px;
    font-weight: 500;
    padding: 20px;
    color: #0D5C95;
    text-align: justify;
    margin-bottom:50px;
    margin: 50px 0 0 0;
}


.node--type-article .article-inner h4{
    text-align: center!important;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 20px;
    color: #0D5C95;
    border-left: 2px solid #C3D6E5!important;
    display: table;
    padding: 0 10px;
    margin: 40px 0 40px 30px;
}

.node--type-article .article-inner h3{
    background:#E1EBF2;
    padding:20px;
    color:#0D5C95;
    width: 95%;
    font-weight: 500;
    margin: 20px auto;
    text-transform: uppercase;
    text-align: center!important;
}

.node--type-article .article-inner h3 img{
    display:none;
}

.node--type-article .article-inner img, img.align-left {
   width: 100%;
    height: 400px;
    margin-bottom: 20px!important;
    object-fit: contain;
    background: #E1EBF2;
    padding: 10px;
    object-position: center;
}

p.frame a {
    color:#fff!important;
}

div#block-views-block-related-contents-block-1-2 {
    width: 83%;
    margin: 0 auto;
    padding: 0 50px 50px 50px;
}

div#block-views-block-related-contents-block-1-2 h2{
    font-family:montserrat;
    border-left: solid 3px #C70626;
    padding-left: 10px;
    color:#0D5C95;
}

div.view-related-contents .views-row{
    width:100%;
    box-shadow:none;
    min-height: inherit!important;
    margin: 0;
}


div.view-related-contents .views-row .node__teaser{
    padding:0;
    font-size: 14px;
    padding-left: 10px!important;
}

div.view-related-contents .views-row h2::before{
    content:url(./img2/puce.jpg);
    background:none;
}

div.view-related-contents .views-row h2 span:hover{
    
    color: #C70626!important;
}

/*************************************************************************
mode Petit Ordi 
****************************************************************************/

@media only screen and (max-width: 1500px) and (min-width: 1219px)  {
    
    .node--type-article {
        padding: 50px 8% 0 8%;}
    
    .article-inner .summary{
        display:block!important;
        font-size: 15px;
        text-align: justify;
        margin: 50px 20px 0 20px;
    }
    .article-inner .print-icon{
        display:none;
    }
    
    .views-row {
    min-height: 420px!important;
    height: 400px!important;
}
    
div.view-related-contents .views-row {
 
    min-height: inherit!important;
    height: 150px!important;
    padding:0;
}
    
    
}


/****************************************************************************
 Mode Tablette
*****************************************************************************/

@media only screen and (max-width: 1218px) {
    
    .node--type-article {
        padding:0
    }
    
   .region.region-liste-articles {
        width: 100%;
    }
    .article-inner .summary{
        display:block!important;
        font-size: 15px;
        text-align: justify;
        margin: 50px 20px 0 20px;
    }
    .article-inner .print-icon{
        display:none;
    }

    .views-row {
        min-height: 420px!important;
        width:46%;
        background: #fff;
    }
    
    div.view-related-contents .views-row {
        min-height: inherit!important;
        height: 150px!important;
        padding:0;
    }

    .meta-keywords.label {
        display: flex;
        justify-content: center;
    }

    article.node.node--type-article.node--promoted.node--view-mode-full.font-md.aos-item__inner.article-full .meta-date-tag span.meta-keywords.label a, article.node.node--type-article.node--view-mode-full.font-md.aos-item__inner.article-full .meta-date-tag span.meta-keywords.label a {
        padding: 3%;
    }

}

h1.page-title, h1.title {
    padding: 10% 10%;}


/*************************************************************************
mode Mobile
****************************************************************************/

@media all and (max-width: 767px)  {
    

    .node--view-mode-full p:first-of-type {
        font-size: 15px;
        margin: 10px;
    }

    div#block-views-block-related-contents-block-1-2 {
        width: 90%;
    }
    
    .node--view-mode-full ul {
        width: 77%;
        line-height: 1.2em;
        font-size: 15px;
        margin: 0 auto;
    }
    
    p.frame {
        padding: 20px;
        font-size: 16px;
    }
    
    div.view-related-contents {
        padding: 0;
        width:100%;
    }
    
    div.view-related-contents .views-row {
        height: 130px!important;
    }
    
    .related-contents-block-1 .views-row {
        min-height: inherit!important;
        height: 180px!important;
    }
    
   .views-row {
        width: 100%!important;
        background: #fff;
    }
    div.view-related-contents .views-row .node__teaser {
        padding: 0;
        font-size: 12px;
        padding-left: 0px!important;
    }
    
    article .summary {
        text-align: left!important;
        margin: 20px 0 0 0!important;
    }
    
    p.frame {
        font-size: 15px!important;
    }

    .article-card .meta-date-tag{
        display:none;
    }
    
    .node--type-article .article-inner h3{

        font-size:19px;
    }
    .node--type-article .article-inner h4{
            margin: 40px 0 40px 20px;
        text-align: left!important;
    }
}
