.blocimgtxt2 {
    position: relative;
    overflow: hidden;
}

.imgchapitre {
    width: 100% !important;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: grey;
    cursor: default;
}

.blocimgtxt2:hover .overlay {
    opacity: 1;
}

.overlay2 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: grey;
    cursor: default;
}

.blocimgtxt2:hover .overlay2 {
    opacity: 1;
}

.overlay3 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: grey;
    cursor: default;
}

.blocimgtxt2:hover .overlay3 {
    opacity: 1;
}

.overlay4 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: grey;
    cursor: default;
}

.blocimgtxt2:hover .overlay4 {
    opacity: 1;
}

.overlay5 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: grey;
    cursor: default;
}

.blocimgtxt2:hover .overlay5 {
    opacity: 1;
}

.overlay6 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: grey;
    cursor: default;
}

.blocimgtxt2:hover .overlay6 {
    opacity: 1;
}

.text {
    color: black;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

@media screen and (max-width: 1500px) {
    .text {
        font-size: 18px;
    }
}

@media screen and (max-width: 800px) {
    .text {
        font-size: 16px;
    }
}

@media screen and (max-width: 500px) {
    .text {
        font-size: 15px;
    }
}

@media screen and (max-width: 380px) {
    .text {
        font-size: 13px;
    }
}

@media screen and (max-width: 300px) {
    .text {
        font-size: 11px;
    }
}

.jaune {
    background-color: rgb(255, 204, 0) !important;
}

.imgchapitreb {
    width: 100%;
    text-align: center;
}

.blocimgtxt2:hover {
    cursor: inherit;
}

.diapo {
    cursor: default !important;
}

.diapo span {
    cursor: default !important;
}