/*En-tete */

.en-tete-dynamique {
    display: grid!important;
  grid-template-columns: 32% 10% 5% 5% 15%;
    grid-template-rows: 30% 70%;
    grid-gap: 10px;
        margin-top: 7%;


}

.region.region-top {
    width: 92%;
	height:auto;
    margin: 0 auto;
	padding-top: 50px!important;
}

.region.region-top.reduced .en-tete-dynamique {
    margin-top: 4.5%;
}

/*colonne1*/


.column1 {
    grid-column: 1/2;
    grid-row: 1 / 3;
	background: url(./img_ressources/fiches-conseil.jpg) no-repeat;
    /*background:url("./img2/bg-edito.jpg") no-repeat;*/
    /*background:url("./img2/cdf-covid-19.jpg") no-repeat;*/
    background-size: cover;
    padding:70px;
}


.column1 h2{
    color: #ffffff!important;
    line-height: 1em;
    font-weight: 700;
    font-size: 37px;
    text-transform: uppercase;
}

.column1 h3{

    color: #ffffff;
    font-family: montserrat;
    font-weight: 400;
    font-size: 28px!important;

}

.column1 p{

	line-height: 1.3em;
    color: #ffffff;
    padding-bottom: 20px;
    /*text-align: justify;*/
    font-family: 'Montserrat';
    font-size: 16px;
	font-weight:500;
	margin-bottom: 40px;
    margin-top: 10px;

}

.column1 a {
	text-decoration: none;
    color: #000000;
    font-family: montserrat;
    text-transform: uppercase;
    background: #ffffff;
    font-size: 13px;
    padding: 20px;
    font-weight: 600;
	display:block;
	text-align:center;
}

.column1 a:hover{
	background:#0D5C95;
	color:#FFFFFF;
}
/*Colonne 2* Les CDFs*/

.column2-row1 {
grid-column: 2 / 6;
    grid-row: 1;
	max-height:200px;
	padding: 35px 0 0 0;
    background: #000000;
        position: relative;
}

/*titre*/

.column2-row1 h2{
	color:#ffffff!important;
	line-height: 0;
    font-size: 23px;
    font-weight: 800;
	padding: 0 10px;
}

.column2-row1 p {
	line-height: 0;
    color: #ffffff;
    padding-bottom: 20px;
    font-family: 'Montserrat';
    font-size: 19px;
	padding: 5px 10px 10px;
}
/*deux boutons*/

.button-en-tete-cdf {
    display: flex;
    position: absolute;
    width: 100%;
    bottom: 0;

}

.button-en-tete-cdf a{
	display: flex;
    padding-right: 37px;
    padding-left: 20px;
	border:none;
	line-height: 1.2em;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-size: 12px;
    font-weight: 600;
	width:50%;
	vertical-align: middle!important;
 }


/*btn decouvrir*/


a.decouvrir {
    background: #0D5C95;
    padding-top: 20px;
padding-bottom: 20px;
    display:block;
		text-align:center;
}

/*btn adherer*/

a.adherer {

	background: #C70626;
	   padding-top: 9px;
		display:block;
		text-align:center;
}

.adherer img{
	width:22px;
}


/*Colonne 3*/

.column3-row1 {
    grid-column: 6/ 6;
    grid-row: 1;
	background:url("./img2/bg-jeunes-nb.jpg");
	background-size: cover;
    position: relative;
    min-height: 136px;
}
.column3-row1 .cdf-formations-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*width: 59%;*/
    /*margin: auto auto;*/
    /*display: block;*/
}
.column3-row1 .cdf-formations-logo img {
    width: 100%;
}
.column3-row1 p {
	color: #ffffff;
    width: 100%;
    text-align: center;
    font-size: 20px;
	    padding-top: 28px;
    padding-bottom: 0;
}
.column3-row1 a {
    color: #fff;
    font-weight: 600;
}
.en-tete-dynamique .column3-row1 .subtitle {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: normal;
}
.en-tete-dynamique .column3-row1 .jeunes {
    display: block;
    margin-top: 20px;
}


  a.jeunes img{
	  float:right;
	  margin-right:30px;
	  margin-top: -10px;
  }
/*slider*/

#slider {

	grid-column: 2/ 5;
    grid-row: 2;
    position: relative;
    overflow: hidden;
	background: url(./img2/bg-events.jpg) no-repeat;
    background-size: cover;
    padding: 40px 20px 20px 20px;

}
#slider h2, .column4-row2.text h2 {
    text-transform: uppercase;
    font-size: 25px;
    font-weight: 400;
    color: #ffffff!important;
    padding-left: 10px;
    padding-bottom: 0;
    display: table;
    margin: 0 auto;
    border-left: solid 3px #C70626;
}

#slider h3{
    text-align: center;
    color: #ffffff;
    font-family: montserrat;
    line-height: 1.3;
    margin-top: 55px;
    padding: 0 10px;
    font-size: 15px;
}


#slider p{
	text-align: center;
    color: #ffffff;
    font-family: montserrat;
    font-size: 15px;
    padding: 0 17px 17px;
}
article.evt-slide {
    position: absolute;
    top: 18%;
    left: 0px;
    width: 100%;
    opacity: 0.01;
}

article#slide2 {
    left: -350px;
}

article#slide3 {

    left: -700px;
}

.fleches {
    display: table;
    margin: 0 auto;
    position:absolute;
    left:43%;
    bottom:20px;
}

.fleches img {
   padding: 10px;
}
/*Bloc cdf-mag*/

.column3-row2{
	grid-column: 5/ 6;
    grid-row: 2;
    /*background: url(./img2/dernier-cdfmag.jpg)no-repeat;*/
    background-size: cover;
    position:relative!important;
	width:100%;
        border: 10px solid #eaeaea;
}
.column3-row2 img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.column3-row2 h3 {
    color: #fff;
    background: rgba(0,0,0,0.8);
    padding: 5px 10px;
    font-weight: 400;
    position: absolute;
    bottom: 0;
    width:100%;
}


.column3-row2 h3 a {
    display:block;
    width:100%;
    color:#fff!important;
    font-size:12px!important;

}
/*Bloc video Colonne 5 */

.column4-row2{
	grid-column: 6/ 7;
    grid-row: 2;
	position: relative!important;
    background: #02539E;
}
.column4-row2.text {
    padding: 20px;
}
.column4-row2.text, .column4-row2.text p, .column4-row2.text a {
    color: #fff;
}
.column4-row2 img[data-align=center] {
    display: block;
    margin: 0 auto;
}
.column4-row2 img[data-align=left] {
    float: left;
    margin-right: 20px;
}
.column4-row2 img[data-align=right] {
    float: right;
    margin-left: 20px;
}

.column4-row2.video p {
	background: #000000;
    color: #fff;
    padding: 10px 15px;
	position: absolute!important;
    top: 0!important;
    width: 100%!important;
    text-align: center;
}
.column4-row2.video p a {
    color: #fff;
}

.column4-row2.text h2 {
    text-align: center;
    border-left: none;
    margin-bottom: 20px;
}

/* Masquage video (elle sera réaffichée en js) */
.column4-row2.video iframe {
    display: none;
}

iframe#thim-video {
    width: 100%;
    margin-top: 0;
    border: none;

}

.vp-center {

    display: block!important;}

.poster{

    position: absolute;
    left: 0px;
    top: 0px;}


.poster img{
      width:100%;
}
/*Reseaux Sociaux */

 .reseaux-sociaux {
    width: 92%;
    margin: 22px auto 80px auto;
    display: flex;
    justify-content: center;
    padding: 0;
    background: #C3D6E5;
    align-items: center;
}

 .reseaux-sociaux p{
    font-size: 20px;
    color: #0D5C95;
    font-family: montserrat;
    letter-spacing: 1px;
    font-weight: 500;
    margin-right:30px;
    padding: 10px 0;
}

ul.icones-rs {
    list-style: none;
    display: flex;
    justify-content: space-between;

}

.icones-rs li img{
    width: 40px;
    margin-right: 20px;
}

.icones-rs li img:hover {
    transform: translateY(-5px);
}

/*mode Petit Ordi */

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


 .en-tete-dynamique {
    grid-template-columns: 33% 5% 7% 6% 14%;
    grid-template-rows: 28% 62%;
}

  .reseaux-sociaux {
    width: 95%;
    margin-top: -30px;
      margin-bottom:20px;
    padding: 0;
}

    .column1 h3 {
    font-size: 20px!important;
}

    .column1 p {

    margin-bottom: 0;
    margin-top: 0;
    text-align:left;
}

    .column1 a{
        margin-bottom:36px;
    }

    #slider h3{
        line-height:1.2em;
    }
}

/* Petit ordi de vincent */
@media only screen and (min-width: 1221px) and (max-width: 1500px) {
    .region.region-top {
        padding-top: 85px!important;
    }
    .column2-row1 {
        padding: 22px 0 0 0;
    }
    .column3-row1 p {
        padding-top: 25px;
        padding-bottom: 20px;
    }
    .fleches {
        bottom: 0;
        left: 38%;
    }
    #slider {
        padding-top: 20px;
    }
    #slider h3 {
        margin: 25px auto 0 auto;
        padding: 0 10px;
        font-size: 14px;
        max-width: 80% !important;
    }
}

/* Unquement tablette paysage */
@media only screen and (max-width: 1221px) and (min-width: 768px) {
    #slider {
        padding-top: 20px;
    }

    #slider h3 {
        max-width: 90%;
        margin: 30px auto 0 auto;
    }

    .fleches {
        bottom: 14px;
    }
}

/* mode Tablette */
@media only screen and (max-width: 1220px) {

    .region.region-top {
        width: 99%;
        padding-top:0!important;
    }

    .en-tete-dynamique {
        grid-template-columns: 41% 10% 15%;
        grid-template-rows: 30% 67%;
    }
    .column1 {
        grid-column: 1/3;
        grid-row: 1/3;
        background-size: cover;
        padding: 50px;
    }
    .column2-row1 {
        grid-column: 3 / 6;
        grid-row: 1;
        max-height: 200px;
        padding: 22px 0 0 0;
        margin-top: 1px;
        background:#f7f7f7;
    }

    .column2-row1 p{
       color:#000;
    }

    .column2-row1 h2{
        color:#000!important;
    }

    .column3-row1 {
        display: none;}

    #slider {
        grid-column: 3/ 6;
        grid-row: 2;
    }

    .column3-row2{
        display:none;
    }

    .column4-row2 {
        display: none;
    }
    .reseaux-sociaux {
        background:none;
    }
}



/* mode mobile */

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

    .en-tete-dynamique{
        display:block!important;
    }

    .column1 p{
        display:none;
    }

    .column2-row1 {
        padding-top: 20px;
    }

    .column4-row2 {
        display: block;
    }

    .column1 h3 {
    font-size: 15px!important;}

    #slider {
        height: 300px;}

    .reseaux-sociaux {
    width: 85%;
    display: block!important;
        margin: 0 auto;
    padding: 0;

}

    .reseaux-sociaux p {
        text-align:center;
    }

    ul.icones-rs{
        justify-content:center;
    }
    .icones-rs li img {
    width: 25px;
    margin-right: 20px;
}

}