    /*
    Affichage par defaut pour 
        -polices
        -couleurs
        -et version mobile ou pc
    */
    
    
    /* h2.affMedia::after{
content: "AFFSITE";
       } */
      
/* hors taille telephone*/
div.rgrAffTypePC {
        display: block  !important;
    }
    div.rgrAffTypeMobile {
        display: none !important;
    }
    div.rgrMenuTypeMouse {
        display: block  !important;
    }
    div.rgrMenuTypeTouchPad {
        display: none !important;
    }
    div.rgrAffConnect {
        display: block  !important;
    }






    /* telephone */
@media only screen and (max-device-width: 560px) {
  /*    h2.affMedia::after{
content: "AFFSITE max560";
       } */
    div.rgrAffTypePC {
        display: none !important;
    }
    div.rgrAffTypeMobile {
        display: block !important;
    }
    div.rgrMenuTypeMouse {
        display: none !important;
    }
    div.rgrMenuTypeTouchPad {
        display: block !important;
    }
    div.rgrAffConnect {
        display: none !important;
    }
}



	* {
		box-sizing: border-box;
	}
/* 
	.rgrfigure
	{
		border: thin #c0c0c0 solid;
		display: flex;
		flex-flow: column;
		padding:5px;
		margin: auto;
	}
	.rgrfigcaption
	{
		background-color: #f1f1f100; 
		color: #fff;
		font-family: Verdana, sans-serif;
  		font-size: 1.5em;
		padding: 3px;
		text-align: center;
	}
	 */




.rgrListeTitre {
    font-weight: bold;
    font-size: 200%;
    font-family: trebuchet ms, arial, tahoma, verdana, sans-serif;
}

.fabElement {
    font-weight: bold;
    font-size: 100%;
    font-family: trebuchet ms, arial, tahoma, verdana, sans-serif;
}

table.fabElement {
    width: 100%;
}

td.fabImage {
    width: 60%;
}

td.rgrListeTitre {
    text-align: center;
}

div.fabElement {
    padding-left: 20px;
    text-align: left;
}

div.fabElementLig1 {
    padding-left: 30px;
    text-align: left;
}

div.fabPage {
    position: relative;
    left: 20px;
    border: 3px solid #730000;
    padding: 10px;
}

img.fabElement {
    border: 1px solid #0000FF;
    border-radius: 50px;
    padding: 5px;
    /* width: 750px;*/
    width: auto;
    /*  max-height:400px;*/
}

video.bg-video {
    /*  position: fixed;*/
    /*   left: 0;*/
    /*  top: 0;*/
    background-color: #000000;
    /* z-index: -100;*/
}

video.fabElement {
    border: 1px solid #0000FF;
    border-radius: 50px;
    padding: 15px;
    /* width: 750px;*/
    /*  width: -webkit-fill-available;*/
    /*  max-height:400px;*/
}

div.gallery {
    position: relative;
    margin: 5px;
    border: 3px solid #777777;
    float: left;
    width: 150px;
    height: 150px;
    /* display: inline-block; */
}

div.gallery:hover {
    border: 3px solid #ff0000;
}

div.gallery img {
    width: auto;
    max-height: 150px;
    max-width: 150px;
}

a.RGRListeDesc {
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    font-size: 0.5em;
    font-weight: normal;
    line-height: 0.8em;
    border-style: none;
    /* padding: 15px; */
}

.rgrPage {
    /* padding: 10px; */
    min-height: 90vh;
    /* vh = viewport height*/
}
.rgrBandeau {
    height: 120px;
    
}

.rgrTitrePage {
    text-align: center;
    padding: 10px;
    /* font-family: "Times New Roman", Times, serif; */
    /* font-size: 32px; */
}

h1.rgrTitrePage {
    margin: auto;
}

.rgrTextePage {
    text-align: left;
    padding: 10px;
    /*font-family: "Times New Roman", Times, serif;*/
    /*font-size: 16px;*/
    line-height: normal;
}

#rgrcercle {
    border-radius: 50%;
    height: 150px;
}

.RGRBoutonRefresh {
    background-image: url(../../images/actualiser.png);
    background-size: cover;
    /* width: 30px; */
    /* margin: 5px; */
    /* height: 30px; */
    /* float: right; */
    /*	BACKGROUND-POSITION: right 50%; */
    /*  BORDER-BOTTOM: #b0b0b0 1px solid; */
    BACKGROUND-REPEAT: no-repeat;
    /* position:absolute; */
    /* top:50px; */
    /* right:10px; */
    background-color: #e0ffe0;
    font-size: 1.2em;
}

input.RGRBoutonRefresh:hover,
input.RGRBoutonRefresh:focus {
    background-image: url(../../images/actualiser.png);
    background-size: cover;
    /* width: 30px; */
    /* margin: 5px; */
    /* height: 30px; */
    /* float: right; */
    /*	BACKGROUND-POSITION: right 50%; */
    /*  BORDER-BOTTOM: #b0b0b0 1px solid; */
    BACKGROUND-REPEAT: no-repeat;
    /* position:absolute; */
    /* top:50px; */
    /* right:10px; */
    background-color: #660000;
    font-size: 1.2em;
}

span.rgrNoPrecedent {
    width: 40px;
    float: right;
    height: 40px;
    margin: 5px;
    /*	BACKGROUND-POSITION: right 50%;*/
    background-image: url(../../images/NoPrecedent.png);
    /*  BORDER-BOTTOM: #b0b0b0 1px solid; */
    background-repeat: no-repeat;
    position: absolute;
    top: 50px;
}

span.rgrNoSuivant {
    width: 40px;
    margin: 5px;
    height: 40px;
    float: right;
    /*	BACKGROUND-POSITION: right 50%; */
    background-image: url(../../images/NoSuivant.png);
    /*  BORDER-BOTTOM: #b0b0b0 1px solid; */
    background-repeat: no-repeat;
    position: absolute;
    top: 50px;
    right: 10px;
}

span.rgrPrecedent {
    width: 40px;
    height: 40px;
    float: left;
    margin: 5px;
    /*	BACKGROUND-POSITION: right 50%;*/
    background-image: url(../../images/precedent.png);
    /*  BORDER-BOTTOM: #b0b0b0 1px solid; */
    background-repeat: no-repeat;
    position: absolute;
    top: 50px;
}

span.rgrSuivant {
    width: 40px;
    height: 40px;
    float: right;
    margin: 5px;
    /* padding-right: 50px; */
    /*BACKGROUND-POSITION: right 50%; */
    background-image: url(../../images/suivant.png);
    /*  BORDER-BOTTOM: #b0b0b0 1px solid; */
    background-repeat: no-repeat;
    position: absolute;
    /* top:50px;
    right:10%;*/
    /*   padding-right: 50px;
    padding-top: 50px; */
    top: 50px;
    right: 10px;
}



/* debut nouvelle facon */

div.container {
    width: 100%;
    /*  border: 1px solid gray;*/
}

.flex-container {
    display: -webkit-flex;
    flex-flow: row wrap;
    text-align: center;
    display: flex;
    -webkit-flex-flow: row wrap;
}

.flex-container>* {
    /* padding: 15px; */
    -webkit-flex: 1 100%;
    flex: 1 100%;
}


/*pour modele type A (image a gauche) */

.imageG {
    text-align: left;
    float: left;
    max-width: 700px;
    margin: 0;
    padding: 1em;
    position: relative;
}

.elementD {
    margin-left: 720px;
    /*   border-left: 1px solid gray;*/
    padding: 1em;
    overflow: hidden;
}


/*pour modele type B (image a droite) */

.imageD {
    /*   border-left: 1px solid gray;*/
    padding: 1em;
    overflow: hidden;
    max-width: 700px;
    margin-left: 550px;
    position: relative;
}

.elementG {
    text-align: left;
    /*margin-right: 720px;*/
    /* max-width: 500px;*/
    width: 500px;
    padding: 1em;
    float: left;
}

a.pasDeDeco:link,
a.pasDeDeco:visited,
a.pasDeDeco:hover,
a.pasDeDeco:active {
    text-decoration: none;
    display: inline-block;
    border-style: none;
}

.footerSite,
.footerPart {
    text-align: left;
}

a.footerSite:link,
a.footerSite:visited,
a.footerSite:hover,
a.footerSite:active,
a.footerPart:link,
a.footerPart:visited,
a.footerPart:hover,
a.footerPart:active {
    text-decoration: none;
    display: inline-block;
    border-style: none;
}

.footerRGR,
.footerPart,
.footerSite {
    font-size: 1em;
    font-family: Arial, sans-serif, "Times New Roman", Times, serif;
    /* background-color: #ff0000 !important; */
}

a.footerRGR {
    font-size: 1em;
    font-family: sans-serif, "Times New Roman", Times, serif;
}

.img_icoPart {
    margin: 0 auto;
    height: 30px;
}

img.img_icoPart {
    margin: 0 auto;
    height: 30px;
    margin-left: 20px;
}

td.footerSiteConnect {
    text-align: end;
    width: 100px !important;
    /*font-family: sans-serif,"Times New Roman", Times, serif;*/
}


/* } */

.footerRGR {
    text-align: right;
}

a.footerRGR:link,
a.footerRGR:visited,
a.footerRGR:hover,
a.footerRGR:active {
    text-decoration: none;
    display: inline-block;
    border-style: none;
}

.flex-containerListeTexteImage>div {
    margin: 5px;
    width: 45%;
}

.flex-containerListeTexteImage {
    display: flex;
    flex-wrap: wrap;
}

.flex-containerListeImage2 {
    display: flex;
    flex-wrap: wrap;
}

.flex-containerListeImage2>div {
    margin: 5px;
    width: 45%;
}

.flex-containerListeImage3 {
    display: flex;
    flex-wrap: wrap;
}

.flex-containerListeImage3>div {
    margin: 3px;
    width: 30%;
}

.flex-containerListeImage4 {
    display: flex;
    flex-wrap: wrap;
}

.flex-containerListeImage4>div {
    margin: 2px;
    width: 22%;
}

.flex-containerListeImageCentree {
    display: flex;
    /* flex-wrap: wrap; */
    width: 90%;
    height: 90%;
    margin: auto;
    object-fit: contain;
}

.flex-containerListeImageN>div {
    margin: 2px;
    width: 15%;
    height: 15%;
    max-width: 15%;
    max-height: 15%;
}

.flex-containerListeImageN {
    display: grid;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

.flex-containerGaleryImage>div {
    margin: 2px;
    width: 15%;
    height: 15%;
    max-width: 15%;
    max-height: 15%;
}

.flex-containerGaleryImage {
    display: grid;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    border-radius: 10%;
}


/* img.flex-containerListeImageN {
    border-radius: 100%;
} */

.flex-containerListeImageCentree>div {
    margin: 2px;
    width: 60%;
    height: 60%;
    max-width: 60%;
    max-height: 60%;
}


/* img.flex-containerListeImageCentree {
    border-radius: 10%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
} */

.flex-containerListeTexte>div {
    /* width: 95% !important; */
    width: 95% ;
}

.flex-containerMiniaturePage {
    display: flex;
    flex-wrap: wrap;
}

a.flex-containerMiniaturePage {
    font-size: 0.9em;
    text-align: center;
    text-decoration: none;
    font-weight: normal;
    border: none;
}

.flex-containerMiniaturePage>div {
    margin: 5px;
}

.flex-containerMiniaturePage img {
    width: 70px;
}

.flex-containerDrapeau {
    display: inline-flex;
    flex-wrap: wrap;
    /* background-color: gray;*/
    /* border: solid white 1px;
    border-style: none !important; */
}

a.flex-containerDrapeau {
    font-size: 0.85em;
    text-align: center;
    text-decoration: none;
    font-weight: normal;
    border-bottom: none beige 0px;
    border-style: none !important;
}

a.flex-containerDrapeau.link {
    text-decoration: none;
    border-style: none !important;
}

.flex-containerDrapeau>div {
    margin: 5px;
}

.flex-containerDrapeau img {
    width: 15px;
    border: solid white 1px;
}

.flex-containerMiniatureListe {
    display: flex;
    flex-wrap: wrap;
}

a.flex-containerMiniatureListe {
    font-size: 0.9em;
    text-align: center;
    text-decoration: none;
    font-weight: normal;
    border: none;
}

.flex-containerMiniatureListe>div {
    margin: 5px;
}

.flex-containerMiniatureListe img {
    width: 100px;
}

.flex-containerLogo {
    /*display: flex;*/
    flex-wrap: wrap;
}

a.flex-containerLogo {
    font-size: 0.9em;
    text-align: center;
    text-decoration: none;
    font-weight: normal;
    border: none;
    position: relative;
    color: red;
    /*width:400px;*/
}

.flex-containerLogo>div {
    vertical-align: middle;
    margin: 50px;
}

.flex-containerLogo img {
    width: 150px;
    margin: 10px;
}



div.contactSuite {
    float: left;
    width: 45%;
    margin: 10px;
    padding: 10px;
}

div.contactD {
    /* float: bottom; */
    width: 50%;
    left: 50%;
}

div.contactNewLine {
    clear: both;
    position: relative;
    top: 0;
    left: 0px;
    width: 100%;
}

div.contactGauche {
    position: relative;
    left: 0;
    top: 0px;
    /*  border: 3px solid #700000;*/
    /*  width:45%; */
    /* margin: 10px;*/
}

div.contactGaucheSuite {
    position: relative;
    bottom: 10px;
    left: 0;
    border: 3px solid #700000;
    width: 45%;
    /* margin: 10px;*/
}

div.contactGaucheHide {
    position: absolute;
    left: 0;
    border-style: none;
    width: 45%;
    /* margin: 10px;*/
}

div.contactDroite {
    position: relative;
    top: 10px;
    float: right;
    /*   left: 50%;*/
    border: 3px solid #700000;
    /*  width:45%; */
    /* margin: 10px;*/
}

div.contactDroiteHide {
    position: relative;
    top: 10px;
    left: 50%;
    border-style: none;
    width: 45%;
    /* margin: 10px;*/
    background: transparent;
}

a.contactSousTitre {
    text-align: center;
    padding: 10px;
    font-family: "Times New Roman", Times, serif;
    font-size: 20px;
    position: relative;
    top: 10px;
    left: 2px;
    min-width: 200px;
}

h2.contactParagraphe {
    text-align: left;
    font-family: "Times New Roman", Times, serif;
    font-size: 15px;
    font-weight: bold;
    padding: 10px;
    margin: 10px;
    border-style: none;
}

h2.contactParagrapheHide {
    background: transparent;
    padding: 10px;
    border-style: none;
}

h2.contactLigne {
    text-align: left;
    line-height: 1em;
    left: 12px;
    font-family: "Times New Roman", Times, serif;
    font-size: 15px;
    font-weight: normal;
    /*  margin: 0px; */
    padding-left: 20px;
    margin: 10px;
}
.demoInfoFixe {
    /*  background-color: rgb(0,0,0); */
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/opacity/see-through */
    color: #a00000;
    font-weight: bold;
    font-size: 20px;
    border: 1px solid #a00000;
    position: fixed;
    top: 15%;
    left: 15%;
    /* transform: translate(-1%, -1%); */
    z-index: 2;
    width: 20%;
    padding: 2px;
    text-align: center;
}

img.demoImage {
    max-width: 200px;
    padding-left: 10px;
}


/* div (45%) en background image  image puis libelle de l'image*/

div.rgrImage45 {
    float: left;
    width: 50%;
    border: 1px solid red;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    /* background-image: url('{{codehtml.image[loop.index].image}}'); mis dans le twig  */
    width: 50%;
    height: 100%;
    min-height: 300px;
}

div.rgrLibImage45 {
    font-size: 2.0em;
    text-align: center;
    color: #ffffff;
    background-color: #00000050;
}

/* ------------ */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    background-color: #0fff22;
    width: 520px;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 50px;
    background-color: #a55;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
   
  }
  
  .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }





/* --------- */
#PositCaptcha {
    margin-left: 50px;
}






@media only screen  and (max-device-width: 480px) {
  /*  h2.affMedia::after{
content: "AFFSITE max480";
       } */
    #PositCaptcha {
        margin-left: 2px;
    }
    /*}*/
    /*@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {*/
    .footerRGR,
    .footerSite,
    .footerPart {
        font-size: 16px;
        font-family: Arial, sans-serif, "Times New Roman", Times, serif;
        /* background-color: #5515e9 !important; */
    }
    a.footerRGR {
        font-size: 16px;
        /*font-family: sans-serif,"Times New Roman", Times, serif;*/
    }
    .img_icoPart {
        margin: 0 auto;
        height: 20px;
        padding-left: 2px;
    }
    td.footerSiteConnect {
        width: 1px !important;
        text-align: right;
        /*font-family: sans-serif,"Times New Roman", Times, serif;*/
    }
    /*}*/
    /*mobile */
    /*@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {*/
    .flex-containerListeTexteImage>div {
        margin: 5px;
        width: 100%;
        float: left;
    }
    /*}*/
    /*@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {*/
    div.contactSuite {
        float: left;
        width: 100%;
        margin: 0px;
        padding: 0px;
    }
    div.contactD {
        /* float: bottom; */
        width: 100%;
        float: left;
    }
    div.contactNewLine {
        clear: both;
        position: relative;
        top: 0;
        left: 0px;
        width: 100%;
    }
    div.contactGauche {
        position: relative;
        left: 0;
        top: 0px;
    }
    div.contactGaucheSuite {
        position: relative;
        bottom: 10px;
        left: 0;
        border: 3px solid #700000;
        width: 100%;
        /* margin: 10px;*/
    }
    div.contactGaucheHide {
        position: absolute;
        left: 0;
        border-style: none;
        width: 100%;
        /* margin: 10px;*/
    }
    div.contactDroite {
        position: relative;
        top: 10px;
        float: left;
        /*   left: 50%;*/
        border: 3px solid #700000;
        /*  width:45%; */
        /* margin: 10px;*/
    }
    div.contactDroiteHide {
        position: relative;
        top: 10px;
        /*    left: 50%; */
        border-style: none;
        width: 100%;
        /* margin: 10px;*/
        background: transparent;
    }
    a.contactSousTitre {
        text-align: center;
        padding: 10px;
        font-family: "Times New Roman", Times, serif;
        font-size: 20px;
        position: relative;
        top: 10px;
        left: 2px;
        min-width: 200px;
    }
    h2.contactParagraphe {
        text-align: left;
        font-family: "Times New Roman", Times, serif;
        font-size: 15px;
        font-weight: bold;
        padding: 0px;
        margin: 0px;
        border-style: none;
    }
    h2.contactParagrapheHide {
        background: transparent;
        padding: 0px;
        border-style: none;
    }
    h2.contactLigne {
        text-align: left;
        line-height: 1em;
        left: 12px;
        font-family: "Times New Roman", Times, serif;
        font-size: 15px;
        font-weight: normal;
        /*  margin: 0px; */
        padding-left: 0px;
        margin: 0px;
    }
   
}