@media (max-width: 1288px) {

    .geomenu {
        height: auto;
    }

    .geomenu .bloccarte {
        height: auto;
    }

    .geomenu .carte {

        margin-left: 10px;
    }

    .geomenu .menuvignette {
        width: 100%;
        height: auto;
        padding-left: 5px;
        margin-top: 10px;
    }

    .mosaique.mosaic4_1 ul li.mosaicelement:first-of-type {
        float: left;
        width: 100%;
        margin-bottom: 10px;
        padding-bottom: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .mosaique.mosaic4_1 ul.mosaicelements li.mosaicelement:first-of-type .mosaic-element {
        display: block;
        float: left;
        left: 50%;
        transform: translateX(-50%);
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .mosaique.mosaic4_1 ul.mosaicelements li.mosaicelement:nth-child(2n) .mosaic-element {
        display: block;
        float: left;
        position: relative;
        left: unset;
        transform: unset;
        right: unset;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .mosaique.mosaic4_1 ul li.mosaicelement {
        float: left;
        width: 50%;
        margin-left: 0;
        margin-right: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }


    .mosaique.mosaic4_1 ul.mosaicelements li.mosaicelement:nth-child(2n) .mosaic-element {
        display: block;
        float: right;
        position: relative;
        left: unset;
        transform: unset;
        right: 62px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .mosaique.mosaic4_1 ul.mosaicelements li.mosaicelement:nth-child(2n+1):not(:first-child) .mosaic-element {
        display: block;
        float: left;
        position: relative;
        left: 75px;
        transform: unset;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .mosaique.mosaic4c ul.mosaicelements li.mosaicelement {
        float: left;
        margin: 0;
        width: 50%;
    }

    .page_vitrine main {
        padding-left: 20px;
        padding-right: 20px;
    }


    .mosaique.mosaic4_1 {
        max-width: 710px;
    }


}


@media (max-width: 1160px) {
    #block-gallica-selection-texteheader {
        width: calc(100% - 620px);
    }

    #block-gallica-selection-texteheader .field__item {
        max-width: 100%;
    }

}

@media (max-width: 1080px) {

    .geomenu {
        width: 100%;
        height: auto;

    }

    .geomenu .bloccarte {
        display: block;
        float: left;
        width: 512px;
        height: auto;
    }

    .geomenu .carte {
        left: 50%;
        transform: translateX(-50%);
    }

}

@media (max-width: 1024px) {
    #block-gallica-selection-texteheader .field__item {
        display: none;
    }



}

@media (max-width: 976px) {

    .field--name-field-titrealter-typedoc {
        top: 85px;
    }

    .field.field--name-field-intro-typedoc {
        top: 35px;
    }

    .field--name-field-paragraphes-typedoc {
        top: 30px;
    }


    .mosaique.transverse2c ul.mosaicelements li.mosaicelement {
        width: 100%;
    }

    .mosaique.transverse2c ul.mosaicelements li.mosaicelement:nth-of-type(2n+1) {
        padding-left: 0;
        padding-right: 0;
    }

    .mosaique.transverse2c ul.mosaicelements li.mosaicelement:nth-of-type(2n) {
        padding-left: 0;
        padding-right: 0;
    }

    .mosaique.transverse4c ul.mosaicelements li.mosaicelement {
        width: 33%;
    }


    .mosaique.transverse4c ul.mosaicelements li.mosaicelement:nth-of-type(4n+1)
    {
        padding-left: 8px;
        padding-right: 8px; 
    }
    .mosaique.transverse4c ul.mosaicelements li.mosaicelement:nth-of-type(4n+2)
    {
        padding-left: 8px;
        padding-right: 8px0; 
    }
    .mosaique.transverse4c ul.mosaicelements li.mosaicelement:nth-of-type(4n+3)
    {
        padding-left: 8px;
        padding-right: 8px; 
    }
    .mosaique.transverse4c ul.mosaicelements li.mosaicelement:nth-of-type(4n)
    {
        padding-left: 8px;
        padding-right: 8px; 
    }


    .mosaique.transverse3c ul.mosaicelements li.mosaicelement {
        width: 50%;
    }

    .timeline .timelineview {
        width: 500px;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 40px;
    }

    .timeline .timelineview::before {
        left: 17px;
    }

    .timeline ul li {
        width: 500px;
    }

    .timeline ul li:nth-child(2n+1) {
        flex-direction: row-reverse;
    }

    .timeline ul li:nth-child(2n+1) .timeline-element .titre h3 {
        text-align: left;
    }

    .timeline ul li:nth-child(2n+1) .blocimage {
        float: left;
    }

    .timeline ul li:nth-child(2n).point {
        left: -2px;
    }

    .timeline ul li:nth-child(2n+1) .timeline-element .texte p,
    .timeline ul li:nth-child(2n+1) .timeline-element .texte {
        text-align: left;
        float: left;
    }


}


@media (max-width: 840px) {


    .mosaique.partenaire ul.mosaicelements li.mosaicelement {
        width: 25%;

    }

    .mosaique ul.mosaicelements li.mosaicelement {
        width: 50%;

    }

    .mosaique.transverse4c ul.mosaicelements li.mosaicelement {
        width: 50%;
    }
}



@media (max-width: 750px) {
    .mosaique.mosaic4_1 ul li.mosaicelement:first-of-type {
        width: 100%;
        height: auto;
    }

    .mosaique.mosaic4_1 ul.mosaicelements li.mosaicelement:nth-child(2n+1):not(:first-child) .mosaic-element {
        left: 5px;
    }

    .mosaique.mosaic4_1 ul.mosaicelements li.mosaicelement:nth-child(2n) .mosaic-element {
        right: 5px;
    }

    .mosaique.mosaic4_1 ul li.mosaicelement:nth-child(1) .mosaic-element {
        width: 100%;
        height: auto;
        float: right;
    }

    .mosaique.mosaic4_1 ul li:nth-child(1) .mosaic-element img {
        width: 100%;
        height: auto;
    }

    .mosaique.mosaic4_1 ul li.mosaicelement:nth-child(1) .bloctexte {
        width: 100%;
        margin-left: 0;
    }

}


@media (max-width: 700px) {
    .mosaique.partenaire ul.mosaicelements li.mosaicelement {
        width: 33%;

    }

    .mosaique.transverse3c ul.mosaicelements li.mosaicelement {
        width: 100%;
    }


    .mosaique.liste ul.mosaicelements li.mosaicelement .mosaic-element .blocimage {
        height: 153px;
        width: 100%;

    }

    .mosaique.liste .mosaic-element img.vignette {
        width: auto;
        height: 135px;
        max-width: 100%;

    }


    .mosaique.liste ul.mosaicelements li.mosaicelement .mosaic-element .bloctexte {
        min-height: unset;
        height: auto;
        width: 100%;
        padding-left: 0;
    }


    .view-search-index-view ul li .views-field-field-vignette-typedoc {
        width: 100%;
    }

    .view-search-index-view ul li .bloctexte {
        width: 100%;
        height: auto;
        padding-left: 0;
        padding-top: 20px;
        padding-bottom: 20px;
        min-height: unset;
    }

    .view-taxo-section-page-type ul li .views-field-field-vignette-typedoc {
        width: 100%;
    }

    .view-taxo-section-page-type ul li .bloctexte {
        width: 100%;
        height: auto;
        padding-left: 0;
        padding-top: 20px;
        min-height: unset;
    }

    .view-taxo-section-page-type ul li .views-field-fieldset {
        min-height: unset;
        height: auto;
        width: 100%;
    }


}

@media (max-width: 680px) {

    .geomenu .menuvignette {
        width: 100%;
        max-width: 290px;
        display: block;
        float: left;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
    }

    .geomenu .menuvignette ul {
        width: 100%;
        display: block;
        float: left;
    }

    .geomenu .menuvignette ul li {
        width: 270px;
        display: block;
        float: left;
    }

    .mosaique.mosaic4c ul.mosaicelements li.mosaicelement {
        float: left;
        margin: 0;
        width: 100%;
    }

}

@media (max-width: 610px) {


    .lang {
        width: 45px;
        height: 22px;
        left: unset;
        top: 33px;
        border: 2px solid black;
        margin-top: 0;
        padding-bottom: 0;
        padding-right: 0;
        padding-left: 4px;
        padding-top: 0;
        border-radius: 3px;
    }

    .lang button {
        line-height: 17px;
    }

    .lang button>span {
        width: 28px;
        height: 18px;
        font-weight: normal;
        font-size: 0.875rem;
        top: 0;
        line-height: 20px;
        margin: 0;
    }

    .lang button>span::after {
        height: 18px;
        line-height: 22px;
        top: 0px;
    }

    .lang-layer {
        width: 120px;
        right: unset;
        left: -81px;
        top: 3px;
    }

    /**/
    .region-header .logo img {
        height: 33px;
    }

    #block-gallica-selection-lienlogoblock-bnf {
        height: 33px;
        margin-top: 26px;
    }

    #block-gallica-selection-lienlogoblock-gallica {
        height: 50px;
        margin-top: 26px;
        margin-left: 8px;
    }

    .mosaique.mosaic4_1 ul li.mosaicelement {
        float: left;
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .mosaique.mosaic4_1 ul.mosaicelements li.mosaicelement:nth-child(2n) .mosaic-element {
        right: unset;
        float: left;
        margin-bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: fit-content;
    }

    .mosaique.mosaic4_1 ul.mosaicelements li.mosaicelement:nth-child(2n+1):not(:first-child) .mosaic-element {
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 5px;
        width: 100%;
        height: fit-content;
    }

    .mosaique.mosaic4_1 ul .mosaic-element img {
        width: 100%;
        height: auto;
    }

    .mosaique.mosaic4_1 ul .bloctexte {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
    }
}



@media (max-width: 580px) {

    .mosaique ul.mosaicelements li.mosaicelement {
        width: 100%;

    }

    .mosaique .mosaic-element img.vignette {
        width: 100%;
    }

    .mosaique.liste ul.mosaicelements li.mosaicelement .mosaic-element .bloctexte {
        width: 100%;
        padding-left: 0;
    }

    .mosaique.slider .bloctexte {
        max-width: 238px;
    }


}

@media (max-width: 540px) {

    .mosaique.partenaire ul.mosaicelements li.mosaicelement {
        width: 50%;

    }

    .mosaique.transverse4c ul.mosaicelements li.mosaicelement {
        width: 100%;
    }

    .geomenu .carte {
        display: none;
    }

    .geomenu .menuvignette {
        width: 320px;
    }

    .geomenu .bloccarte {
        width: 100%;
        max-width: 512px;
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline .timeline-element {
        width: 250px;
        height: auto;
    }

    .timeline .timelineview::before {
        left: 7px;
    }

    .timeline ul li {
        width: 300px;
    }

    .timeline .timeline-element .bloctexte {
        width: 100%;
    }


    .timeline .timelineview {
        width: 300px;
    }

    .field--name-field-titrealter-typedoc h1 {
        font-size: 4.0rem;
    }

}


@media (max-width: 500px) {

    .mosaique.transverse2c ul.mosaicelements li.mosaicelement .mosaic-element {
        width: 100%;
        height: auto;
    }

    .mosaique.transverse2c .blocimage {
        height: 175px;
        width: 100%;
    }

    .mosaique.transverse2c .mosaic-element img.vignette {

        float: left;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: 175px;
        height: 175px;

    }

    .mosaique.transverse2c .bloctexte {
        height: auto;
        width: 100%;
    }

    .page_vitrine h1 {
        font-size: 2.5rem;

    }

}

@media (max-width: 450px) {

    #block-contrastheader {
        display: none;
    }

    .field--name-field-titrealter-typedoc h1 {
        font-size: 3.0rem;
    }
}

@media (max-width: 380px) {

    .lang {
		right: 15px;
        top: 5px;
	}

    .mosaique.partenaire ul.mosaicelements li.mosaicelement {
        width: 100%;

    }

    .mosaique.transverse3c ul.mosaicelements li.mosaicelement .mosaic-element {
        width: 100%;
        height: auto;
    }

    .mosaique.transverse3c .blocimage {
        height: 145px;
        width: 100%;
        max-width: unset;
    }

    .mosaique.transverse3c .mosaic-element img.vignette {

        float: left;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: 145px;
        height: 145px;
    }

    .mosaique.transverse3c .bloctexte {
        height: auto;
        width: 100%;
    }

    .geomenu .bloccarte {
        width: 100%;
        max-width: 350px;
    }

    #block-gallica-selection-lienlogoblock-bnf {
        margin-left: 10px;
    }

}

@media (max-width: 360px) {

    #block-epersoheader {
        display: none;
    }

    .field--name-field-titrealter-typedoc h1 {
        font-size: 2.75rem;
    }
}