.dashboard-slide-1{
    background:linear-gradient(
        rgba(0, 0, 0, 0.5), 
        rgba(0, 0, 0, 0.5)
        ), url(../images/dashboard/slide-1/dashboard-BG-slide1.jpg);
    background-size: cover;
    text-align: center;
}

#water-scheme img, #countries img, #water-reused img {
    max-height:20vh; /*200px avant*/
}


.dashboard-quote {
    background-image: url(../images/dashboard/quote/bg-quote.jpg);
    background-size: cover;
    text-align: center;
}

.slide-bg-container {
    background-color: rgba(0, 22, 41,0.3);
    /*padding: 140px 0px 10px 0;*/
    padding: 5vh 0px 10px 0;
    height: 100%;
}

.dflex-al-center{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titre-blanc h1 {
    font-family: 'Questrial', serif;
	font-size:6vh; /*60px*/
    font-weight: normal;
    color: white;
    text-align: center;
}
.titre-blanc h2 {
    font-family: 'Questrial', serif;
	font-size:4vh; /*40px;*/
    font-weight: normal;
    color: white;
    text-align: center;
}

.titre-noir h1 {
    font-family: 'Questrial', serif;
	font-size:6vh; /*60px;*/
    font-weight: normal;
    color: black;
    text-align: center
}

.titre-noir h2 {
    font-family: 'Questrial', serif;
	font-size:4vh /*40px*/;
    font-weight: normal;
    color: black;
    text-align: center
}

.infos {
    justify-content: space-between;
    margin-top: 40px;
}

.center-data {
    justify-content: space-around;
}

.container.organize-data {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 50px;
}

.white-bg div {
    font-family: 'Questrial', sans-serif;
    font-size: 27px;
    margin-bottom: 20px;
    font-weight: normal;
    color: black;
}


#othersLabels {
    margin-top: 10px;
    font-size: 12px;
}

#updateDate {
    margin-bottom: 20px;
    font-size: 20px;
}

#center-country-chart {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.quote h1,.quote h2 {
    color: white;
}

.fs-20 {
    font-family: 'Questrial', sans-serif;
    font-size: 20px;
    /* margin-bottom: 10px; */
    font-weight: normal;
}


/* override position and transform in 3.3.x */
#carousel-experts .carousel-inner,
#carousel-contributors .carousel-inner{
    margin-left: 2vw;
    width:95%;
    overflow-y: hidden;
    height:250px;
}

#carousel-financial-support .carousel-inner,
#carousel-sponsors .carousel-inner {
    margin-left: 2vw;
    width:95%;
    overflow-y: hidden;
}
#fifth-block img { max-width:220px; max-height: 100px; }
.carousel-inner>.item {text-align: center; }
.carousel-inner .item.left.active {
    transform: translateX(-33%);
  }
  .carousel-inner .item.right.active {
    transform: translateX(33%);
  }
  
  .carousel-inner .item.next {
    transform: translateX(33%)
  }
  .carousel-inner .item.prev {
    transform: translateX(-33%)
  }
  
  .carousel-inner .item.right,
  .carousel-inner .item.left { 
    transform: translateX(0);
  }
  
  
.carousel-control.left,.carousel-control.right {background-image:none;}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}


.card {
    display: flex;
    flex-direction: column;
    height: 240px;
    word-wrap: break-word;
    background-color: ghostwhite;
    color: black;
    background-clip: border-box;
    border: 1px solid;
    border-radius: 20px;
    max-width: 70vw;
    margin:auto;
    /*overflow: hidden;*/
}

.flag {
    border: 1px solid;
    margin-top:0px;
    position: absolute;
    top:0;
    right:0;
}

.company {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.position {
    font-size: 14px;
    font-style: italic;
}

.info-contributor{
    display: flex;
    justify-content: space-around;
}

.info-contributor .img-circle {
    height:100px;
    border:1px solid;
}

.action-contributor{
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    margin: auto;
    margin-right: 1vw;
    margin-left: 1vw;
    text-align: center;
}

.border-bottom {
    border-bottom: 1px solid black;
}

.m-b10 {
    margin-bottom: 10px;
}

.carousel-control {
    width: 5%;
}

#carousel-contributors .carousel-control.left, #carousel-contributors .carousel-control.right {
    color: black;
    opacity: 1;
}

#carousel-experts .carousel-control.left,.right {
    color: white;
    opacity:1;
}

.w80 {
    width: 80vw;
    height: 100vh;
}



.mt15vh {
    margin-top: 15vh;
}

#fifth-block div.fp-slides,#carousel-financial-support .fp-tableCell {
    height: 15vh !important;
}

.fp-slides,.fp-tableCell {
    height: 50vh !important;
}

.avatar-new-user {
    display: flex;
    margin-top: 10vh;
    justify-content: space-around;
}

.a-design {
    padding: 20px 20px 20px 20px;
    border-radius: 40px;
    width: 18vw;
    border: 2px solid black;
    font-size: 18px;
    font-weight: bold;
    background-color: rgb(255, 255, 255);
    text-align: center;
}

.bg-light-green {
    
    background-color: rgb(156, 215,209);
    border: 2px solid transparent;
}

.bg-light-green:hover {

    background-color: white;
    border: 2px solid black;
}

.my-bg-light {
    
    background-color: white;
}

.my-bg-light:hover {

    
    
    background-color: #2F3C4D; 

}

.my-bg-light:hover a {

    
    color: white!important;
    

}

.a-desing > div {
    align-self: center;
}

.a-design a {
    text-decoration: none;
    color: black;
}

#graphic-countries .container .chart-container {
    height: 60vh;
    width:60vw;
    position: relative;
}

/* partie téléphone*/
@media(max-width:480px) {

    .dashboard-slide-1 .fp-tableCell {
        height: 100vh !important;
    }

    #water-scheme img, #countries img, #water-reused img {
        max-height:10vh; /*200px avant*/
    }

    #graphic .d-flex {
        display: flex;
        flex-direction: column;
    }

    #graphic h2 {
         margin-top: 10vh;   
    }

    h2 {
        font-size: 3vh;
       
    }

    h3 {
        font-size: 2vh;
    }

    .a-design {
        width:auto;
    }

    .mt15vh {
    }

    .dashboard-quote .fp-tableCell {
        height: 100vh !important;
    }


    #carousel-experts .carousel-inner, #carousel-contributors .carousel-inner {
        height:200px;
        margin-bottom: 10vh;
    }

    .card {
        height:100%;
    }

    .card .img-circle {
        height: 10vw;
    }


}

@media(min-width:481px) and (max-width: 800px) {

    .dashboard-slide-1 .fp-tableCell {
        height: 100vh!important;
    }
    
    #water-scheme img, #countries img, #water-reused img {
        max-height:10vh; /*200px avant*/
    }

    #graphic .d-flex {
        display: flex;
        flex-direction: column;
    }

    /* section 2*/
    #graphic h2 {
        font-size: 3vh; 
    }

    #divchartWater {
        max-height: 33vh;
    }


    /*section 4*/
    .dashboard-quote .fp-tableCell {
        height: 100vh!important;
    }

    /* section 5 6*/
    .contributors .fp-tableCell,
    .contributors .fp-slides,
    .experts .fp-slides,
    .experts .fp-tableCell {
        height: 50vh!important;
    }

    .w80 {
        width:100vw;
    }


    h1 {
        text-align: center;
    }

    h2 {
        font-size: 3vh;
    }

    h3 {
        font-size: 2vh;
    }

    .a-design {
        width:auto;
    }

    #carousel-experts .carousel-inner,
    #carousel-contributors .carousel-inner {
        height:240px;
        margin-bottom: 10vh;
    }

    .card .img-circle {
        height: 15vw;
    }

    .container.organize-data {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }


}



@media(min-width: 801px) and (max-width: 1400px) {
    .dashboard-slide-1 .margeur-b30 {
        margin: 0 !important;
    }

    .dashboard-slide-1 .fp-slides, .dashboard-slide-1 .fp-tableCell {
        height: 60vh !important;
        margin-top:5vh;
    }

    #graphic-countries .container .chart-container {
        height: 54vh;
    }

    #graphic-countries h1 {
        font-size: 27px;
    }
    #graphic-countries h2 {
        font-size: 18px;
    }

    .contributors h1 {
        font-size: 40px;
    }

    .contributors h2 {
        font-size: 20px;
    }

    .divchartWater {
       position: relative;
       height:40vh;
       width:40vw;
       margin:auto;
    }

    .dashboard-quote .fp-slides, .dashboard-quote .fp-tableCell {
        height: 60vh !important;
        margin-top:5vh;
    }

    .carousel-inner .item {
        width: 100%;
    }

    .flag {
        position: relative;
    }


}

/* section 2 graphique  pour les grands écran */
@media(min-width: 1400px) {
    .divchartWater {
       position: relative;
       height:60vh;
       width:50vw;
}

    #graphic .container {
        width:auto;
        position: relative;
    }

    #divchartWater canvas {
            position: relative;
            height:100%;
            width:100%;
    }
}
