/*********************************
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, .node--type-actu-syndicat, .node--type-article-syndicat, .node--type-event-syndicat {
    padding: 50px 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: 95%;
    flex-wrap: wrap;
    /* justify-content: center; */
    margin: 0 auto;
}

.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{
	/*width: 350px;*/
    min-height:308px!important;
    -webkit-box-shadow: 2px 2px 5px 1px rgba(232,232,232,1);
    -moz-box-shadow: 2px 2px 5px 1px rgba(232,232,232,1);
    box-shadow: 2px 2px 5px 1px rgba(232,232,232,1);
}

.view-actus-syndicat .views-row{
    min-height:420px!important;
}
.views-row {
    display:inline-block;
    vertical-align: top;
    min-width: 23%;
    width: 23%;
    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,
.node--type-actu-syndicat .article-inner h3,
.node--type-article-syndicat .article-inner h3,
.node--type-event-syndicat .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
.node--type-actu-syndicat .article-inner h3 img,
.node--type-article-syndicat .article-inner h3 img,
.node--type-event-syndicat .article-inner h3 img
{
    display:none;
}

.node--type-article .article-inner img, img.align-left,
.node--type-actu-syndicat .article-inner img, img.align-left,
.node--type-article-syndicat .article-inner img, img.align-left,
.node--type-event-syndicat .article-inner img, img.align-left
{
    width: inherit;
    max-width: 100%;
    /*max-height: 400px;*/
    object-fit: contain;
    border: 10px solid #E1EBF2;
    object-position: center;
    display: table;
    margin: 0 auto;
}

/* Alignement des images dans les articles ================================ */
img.align-left, img.align-right {
    max-width: 33% !important;
}
img.align-left {
    /*float:none!important;*/
    margin-right: 20px !important;
}

img.align-right {
    /*float:none!important;*/
    margin-left: 20px !important;
}
/* Fin alignement des images dans les articles ================================ */

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;
}
/*************************************************************************
CSS COVID 19 Ressources
****************************************************************************/
.articles-covid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ligne-covid {
    position: relative;
   background: #E1EBF2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 23%;
    height: 350px;
    margin: 5px 5px 30px 5px;
}

.ligne-covid img {
    width: 100%!important;
    border: none!important;
    margin: 0!important;
}

.covid .text-align-center {
    background: #000;
    padding: 10px;
    display:table;
}

.covid .text-align-center a{
    color:#fff!important;
}

a#dons-btn:hover {
    padding: 10px;
    background: #00528e;
    color: #fff;
}
.covid strong {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 400;
}

.fichier strong {
    font-size: 12px!important;
    text-transform: capitalize!important;
    font-weight: 700!important;
}

.covid ul {
    width: 90%;
    margin-bottom: 20px;
}

p.type, p.type a {
    width: 100%;
    margin: 0!important;
    padding: 5px!important;
    text-align: center;
    text-transform: uppercase;
    background: #0D5C95;
    font-weight: 400;
    font-size: 13px;
    color: #fff!important;
}
p.type a {
    display: block;
}

p.fichier, .ligne-covid p {
    font-size: 11px;
    text-align: left;
    margin: 10px 0;
}

.ligne-covid>div {
    overflow: hidden;
    /*margin-bottom: 45px;*/
    height: 200px;
}

.covid .file--application-pdf {

    font-weight: bold;
}

p.description-covid {
    font-size: 11px!important;
    margin: 0;
    padding: 0 30px 10px !important;
}

a.link-covid {
  font-size: 12px!important;
    text-align: center!important;
    width: 100%;
    display: table;
    position: absolute;
    bottom: 0;
    background: #000;
    color: #fff!important;
    left: 0;
    font-weight: bold;
        padding: 6px 10px;
}

.covid figure {
    margin: 0;
    width: 100px!important;
}

.covid audio {
    max-width: 180px;
}
/*************************************************************************
mode Petit Ordi
****************************************************************************/

@media only screen and (max-width: 1500px) and (min-width: 1219px)  {

    .node--type-article,
    .node--type-actu-syndicat,
    .node--type-article-syndicat,
    .node--type-event-syndicat
    {
        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;
}

 .articles-covid {
    width: 90%;
    margin: 0 auto;
}

}


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

@media only screen and (max-width: 1218px) {


    .node--type-article,
    .node--type-actu-syndicat,
    .node--type-article-syndicat,
    .node--type-event-syndicat
    {
        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: 5% 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,
    .node--type-actu-syndicat .article-inner h3,
    .node--type-article-syndicat .article-inner h3,
    .node--type-event-syndicat .article-inner h3
    {
        font-size:19px;
    }
    .node--type-article .article-inner h4,
    .node--type-actu-syndicat .article-inner h4,
    .node--type-article-syndicat .article-inner h4,
    .node--type-event-syndicat .article-inner h4
    {
        margin: 40px 0 40px 20px;
        text-align: left!important;
    }

    .ligne-covid {
    width: 80%;
    margin: 0 auto;
    height: 400px;
    margin-bottom: 20px;
}
}


/*article cdf vous-souhaitez-adherer-aux-CDF*/


@media (max-width: 480px) {
article[data-history-node-id="1831"] .Rtable--2cols > .Rtable-cell {
    width: 100%;
}
}


#simulateur, #questions, #voies {

	background-size : cover;
	background-position : center;
	padding: 5% 0;
}

#simulateur {
	background-image:url(./img5/bg-simulateur.jpg);
}

#questions {
	background-image:url(./img5/bg-questions.jpg);
	margin-top : 6%;
	margin-bottom :30px;
}


#voies {
	background-image:url(./img5/bg-voies.jpg);
	margin-top : 6%;
}

.dipa-top-container {
    display: flex;
    width: 100%;
    align-items: baseline;
    margin-bottom: 20px;
}
.dipa-top-container .summary {
    width: 60%;
    margin-right: 2%;
    margin-top: 25px;
    padding-top: 20px;
}
.dipa-top-container .dipa-toolbox {
    width: 38%;
    border: 2px solid #0D5C95;
    padding: 18px 26px;
    line-height: 15px;
    margin-top: -15px;
    margin-right: 20px;
}
.dipa-toolbox li {
    margin: 10px 0;
}
.dipa-toolbox i {
    font-size: 15px;
    margin-right: 5px;
}
.dipa-toolbox ul {
    width: 100%;
}
.dipa-toolbox>ul {
    margin-left: 0;
}
.dipa-toolbox ul>li>ul {
    margin-left: 16px;
}
.dipa-toolbox ul li {
    list-style-type: none;
}
.dipa-toolbox .title {
    font-size: 1.4em;
    font-weight: 700;
    padding-bottom: 16px;
    text-transform: uppercase;
    text-align: center;
    line-height: 21px;
}
.dipa-toolbox .toolbox-icon {
    text-align: center;
    margin-top: -34px;
    margin-bottom: 16px;
}
.toolbox-icon i {
    font-size: 2em;
    padding: 0 15px;
    background-color: #fff;
}
/* ===== DIPA ===== */
#simulateur .titres-dipa,
#questions .titres-dipa,
#voies .titres-dipa {

text-transform : uppercase;
background : rgba(13,92,149,0.5);
padding : 2% 5%;
color : white;
}


#simulateur .titres-dipa h2,
#questions .titres-dipa h2,
#voies .titres-dipa h2 {

font-size: 3em;
letter-spacing : 0;
text-align : left;
color : white;
line-height: 1.2em;

}

#simulateur .titres-dipa h3,
#questions .titres-dipa h3,
#voies .titres-dipa h3 {

font-size: 1.2em;
text-align : left!important;
background : none;
color : white;
padding : 0;
letter-spacing: 2px;
margin : 0;
}

#sommaire-questions ul {
	width: 92%;
}


/* ===== FIN DIPA ===== */

@media (max-width: 480px) {
    .dipa-top-container {
        display: block;
    }
    .dipa-top-container .summary, .dipa-top-container .dipa-toolbox {
        width: 90%;
        margin: 0 auto;
    }

    article[about="/dipa-informations-et-outils"] h2 {
        font-size: 17px;
    }

	#simulateur .titres-dipa h2,
#questions .titres-dipa h2,
#voies .titres-dipa h2 {

font-size: 1.6em;
letter-spacing : 0;
text-align : left;
color : white;
line-height: 1.2em;

}

#simulateur .titres-dipa h3,
#questions .titres-dipa h3,
#voies .titres-dipa h3 {

font-size: 1.1em;

}
}