:root {
    --backgroundA: hsla(var(--globalSiteHue), 50%, 90%, 80%);
    --backgroundB: hsla(var(--globalSiteHue), 0%, 100%, 80%);
    --comment: hsla(var(--globalSiteHue), 50%, 70%, 100%);
    --btnColor: hsla(var(--globalSiteHue), 50%, 70%, 100%);
    --tableHeader: hsla(var(--globalSiteHue), 50%, 70%, 100%);
    --titleBackgroundColor: hsl( var(--globalSiteHue), 50%, 70%);
    --stickyBackgroundColor: hsl(var(--globalSiteHue), 40%, 60%);
    --capacityBackgroundColor: hsla(var(--globalSiteHue), 80%, 30%, 100%);
    --capacityTextColor: white;
    --adresseFrontColor: hsla(var(--globalSiteHue), 50%, 70%, 100%);
    --adresseBackColor: hsla(var(--globalSiteHue), 50%, 70%, 100%);
}
html
{
  scroll-behavior: smooth;
}

body
{
  background-image: url('../images/accueil.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top; 
  background-attachment: fixed;
  position: relative; 
}



#mainNavBar nav
{
  height: 4em;
}

.dropdown-menu, .dropdown-item
{
  z-index: 1031;
}
.site-section .container
{
  padding: 4em 3em;
}

.site-section:target 
{
    padding-top: 5em;
}


#scrollspy nav
{
  visibility: hidden;
  margin-top: 4em;
  background-color: var(--navScrollSpyBackColor);
}

#scrollspy .nav-link.active 
{
  color: var(--navScrollSpyActiveLink);
}

#scrollspy button
{
  font-size: 1em;
  color: white;
  border-color: white;
}


.sticky 
{
  position: -webkit-sticky;
  position: sticky;
  top: 9em;
  margin: 2em 2em;
  padding: 2em;
  background-color: var(--stickyBackgroundColor);
  text-align: center;
}

#Sticky p 
{
  padding-top: 1em;
  text-align: center;
  color: white;
}

#Sticky img
{
  width: 50%;
}

#Sticky button
{
  color: white;
  border-color: white;
  margin-top: 1em;
}


h2
{
  margin-bottom: 50px;
}

#slideshowModal .modal-dialog
{
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
}

#slideshowModal .modal-content
{
  background-color: hsla(0, 0%, 0%,  90%);
}

#slideshowModal .modal-content,
#slideshowModal .modal-body,
#slideshowModal #slideshowModalCarousel,
#slideshowModal .carousel-inner,
#slideshowModal .carousel-item
{
  width: 100%;
  height: 100%;
}

#slideshowModal img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
}


#Title 
{
  background-color: var(--titleBackgroundColor);
  padding-top: 7em;
  padding-bottom: 2em;
}

#Title .container
{
  padding-left: 10%;
  margin-left: 0px;
}

#Pictures #slideshow img {
    width: 100%;
    height: 100%;
    max-height: 50vh;
    object-fit: cover;
    cursor: pointer;
}

#Pictures #minislideshow img {
    height: 10em;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
}

#Pictures #minislideshow
{
  height:10em;
}

#Pictures #minislideshow .col-sm-2
{
  padding: 0;
}
#Pictures #minislideshow .row
{
  margin: 0;
}

#Pictures #minislideshow .carousel-control-prev,
#Pictures #minislideshow .carousel-control-next
{
  width: 5em;
  background-color: var(--titleBackgroundColor);
  opacity: 100%;
}

#Pictures #minislideshowInner
{
  padding: 0em 5em;
}

#Pictures .carousel-control-next
{
  width: 5em;
}


#Capacity
{
  background-color: var(--capacityBackgroundColor);
  color: var(--capacityTextColor);
}

#Capacity p
{
  text-align: center
}

#Capacity .container
{
  padding: 1em;
}


#Description, #Equipments, #Prox, #Tarifs, #GoodToKnow
{
    background-color: var(--backgroundA);
}

#Themes, #Localisation, #Adresses, #Comments {
    background-color: var(--backgroundB);
}



#Themes .col-md-3
{
  text-align: center;
  max-width: 50%;
}

#Themes img
{
  width: 80%;
}

#Themes p
{
  padding-top: 1em;
  font-size: 1.2em;
}




#Equipments h4
{
  color: black;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  padding-bottom: .5em;
  padding-top: 1em;
}

#Equipments h5
{
  color: black;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  padding-top: 1em;
}

#Equipments li img
{
  height: 2em;
  margin-right: 1em;
}

#Equipments ul
{
  list-style-type: none;
}


#Localisation #mapid 
{ 
  height: 50em; 
}

#Adresses .container
{
  padding: 4em min(48px, 5vw);
}

#Adresses .row
{
  padding: 1em;
}
#Adresses img
{
  margin-bottom: 1em;
  width: 100%;
}
#Adresses h3
{
  font-size: 1.3em;
  text-align: center;
}
#Adresses p
{
  text-align: justify;
}



#Comments h3
{
  font-size: 1.2em;
}

#Comments .comment-inner
{
  padding: 1.2em;
  background-color: var(--comment);
  border-radius: 0.5em;
}

#Comments .comment
{
  padding: 0.7em;
}

.smallLoading
{
 background-image: url("../images/loader.gif");
 background-size: 50%;
 background-repeat: no-repeat;
 background-position: center;
}

.bigLoading
{
 background-image: url("../images/loader.gif");
 background-size: 10%;
 background-repeat: no-repeat;
 background-position: center;
}