#links {
    /*padding-right: 175px;*/
}

*{
    margin:0;
    padding:0;
}
html, body {
    height: 100%;
}

body{
    font-family:Verdana;
    font-size:10px;
    background-color:#f8f8f8;

    /*overflow:hidden;
    box-shadow:inset 0px 0px 85px rgba(0,0,0,.25);
    -webkit-box-shadow:inset 0px 0px 85px rgba(0,0,0,.25);
    -moz-box-shadow:inset 0px 0px 85px rgba(0,0,0,.25); */
}

#globalContainer, #globalContainer-index{
    text-align: left;
    margin: 10px 5px 5px 5px;
    /*border: 1px solid #f00;*/
}
#globalContainer{
    width: 930px;
}
#globalContainer-index{
    width: 800px;
}

#header {
    border-top: 5px solid #000;
}

#header img{
    padding-top: 20px;
}

#header h2 {
    color: #af0000;
    font-size: 18px;
    padding: 10px 0px;
    float: left;
    font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

span.reference{
    position:fixed;
    left:10px;
    bottom:0px;
    font-size:9px;
}
span.reference a{
    color:#aaa;
    text-decoration:none;
}
span.reference a:hover{
    color:#ddd;
    
}

.albumbar, .albumbar-index{
    height:33px;
    line-height:33px;
    float: right;
    position:relative;
    top:0px;
    border-bottom-style: double;
    border-bottom-color: #000;
}
.albumbar{
    width:720px;
}
.albumbar-index{
    width:590px;
}

.infobar{
    height:38px;
    line-height:22px;
    vertical-align: top;
    color: #444;
    display: block;
    clear: both;
/*    
    padding-left: 45px;
    background: url(/gicons/logo.gif) no-repeat;
    background-color:#dddddd;
    -moz-box-shadow:0px -1px 2px #888888;
    -webkit-box-shadow:0px -1px 2px #888888;
    box-shadow:0px -1px 2px #888888;
    */
}

span#description{
    font-weight: bold;
}
.albumbar span a{
    color:#000;
    font-size: 12px;
    text-decoration:none;
    padding: 0px 5px;
}
.albumbar span a:hover{
    color:#333;
}
#loading{
    display:none;
    width:50px;
    height:50px;
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-24px;
    background:transparent url(/gicons/loading.gif) no-repeat top left;
}
#preview {
    width: 930px;
    text-align: left;
    color: #555;
}

#preview h2{
    color: #666;
    font-size: 15px;
}

#preview span{
    font-size: 18px;
    text-align: justify;
    line-height: 27px;
}

#imageWrapper{
    position:relative;
    margin-bottom: 10px;
    padding-top:10px;
    text-align:left;
    vertical-align: middle;
    width: 845px;
    float: left;
}
#imageWrapper img{
    /*margin:0 auto;*/
    -moz-box-shadow:2px 2px 10px #111;
    -webkit-box-shadow:2px 2px 10px #111;
    box-shadow:2px 2px 10px #111;
}



#thumbsWrapper{
    width: 80px;
    margin: 8px 0px;
    overflow:hidden;
    float: right;
    left: 850px;
    /*border: 1px solid #f00;*/
}
#thumbsContainer{
    width: 80px;
    overflow:hidden;
    z-index: 90;
    /*border: 1px solid #0f0;*/
}
#thumbsWrapper img{
    /*float:left;*/
    margin:2px;
    display:block;
    cursor:pointer;
    opacity:0.05;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=40);
    z-index: 100;
}
.cursorRight{
   /*cursor:url("/gicons/next.cur"),url("/gicons/next.cur"), default;*/
}
.cursorLeft{
    /*cursor:url("/gicons/prev.cur"),url("/gicons/prev.cur"), default;*/
}
.cursorPlus{
    /*cursor:url("/gicons/plus.cur"),url("/gicons/plus.cur"), default;*/
}
.cursorMinus{
    /*cursor:url("/gicons/minus.cur"),url("/gicons/minus.cur"), default;*/
}


#links {
   text-align: right;
}
#links a{
    color: #666;
    padding: 0px 0px 0px 30px;
    text-decoration: none;
}   
#links strong{
    color: #666;
    padding: 0px 0px 0px 30px;
}   

#links a.lang, #links strong.lang{
    padding: 0px 2px;
}   

.albumSelect{
    height:25px;
    width:141px;
    line-height: 25px;
    position:absolute;
    right:5px;
    top:2px;
    z-index: 1;
}
.down{
    background-image:url(/gicons/down.png);
}
.up{
    background-image:url(/gicons/up.png);
}



#slideshow {
    position:relative;
    height: 600px;
    display: block;
    margin: 10px 0px;
    box-shadow: 2px 2px 10px #111111;
}

#slideshow IMG {
    position:absolute;
    top:0;
    left:0;
    z-index:-3;
}

#slideshow IMG.active {
    z-index:-1;
}

#slideshow IMG.last-active {
    z-index:-2;
}

#nav {
    position: relative;
    float: right;
    font-size: 11px;
}
#nav_slash{
    padding: 0px 10px;
}
#nav_prev, #nav_next {
    font-weight: bold;
}
#nav_prev {
    padding-right: 10px;
}
#nav_next {
    padding-left: 10px;
}
#nav_prev, #nav_current, #nav_slash, #nav_total, #nav_next{
    float: left;
}

#nav_prev a, #nav_next a{
    color: #ff0a0a;
    text-decoration: none;
}

.vs{visibility:visible;}

.indextable{
    padding: 20px 0px 50px 0px;
}

.indextable td{
    font-size: 24px;
    /*padding: 10px;*/
    text-align: center;
    width: 500px;
}

.indextable td a{
    color: #aaaaaa;
    padding: 20px 0;
    text-decoration: none;
    font-weight:bold;
}



/* Slideshow container */
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #888;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a grey background color */
.prev:hover, .next:hover {
  background-color: #f1f1f1;
  color: black;
}





        /* Scoped gallery styles with unique prefixes to avoid conflicts */
        .gallery-container-2024 {
            padding: 8px;
            max-width: 100%;
            margin: 0 auto;
        }

        .gallery-grid-2024 {
            column-count: 3;
            column-gap: 4px;
            margin: 0;
        }

        @media (min-width: 768px) {
            .gallery-grid-2024 {
                column-count: 4;
            }
        }

        @media (min-width: 1024px) {
            .gallery-grid-2024 {
                column-count: 5;
            }
        }

        @media (min-width: 1280px) {
            .gallery-grid-2024 {
                column-count: 5;
            }
        }

        .gallery-item-2024 {
            break-inside: avoid;
            margin-bottom: 4px;
            cursor: pointer;
            display: block;
        }

        .gallery-image-wrapper-2024 {
            position: relative;
            overflow: hidden;
            background-color: #ffffff;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .gallery-image-wrapper-2024:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transform: scale(1.02);
        }

        .gallery-image-2024 {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
        }

        .gallery-image-wrapper-2024:hover .gallery-image-2024 {
            transform: scale(1.1);
        }

        /* Lightbox styles */
        .gallery-lightbox-2024 {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
        }

        .gallery-lightbox-2024.active {
            display: flex;
        }

        .gallery-lightbox-content-2024 {
            position: relative;
            max-width: 1200px;
            max-height: 100%;
        }

        .gallery-lightbox-image-2024 {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
        }

        .gallery-close-btn-2024 {
            position: absolute;
            top: 16px;
            right: 16px;
            color: white;
            background: none;
            border: none;
            font-size: 32px;
            cursor: pointer;
            z-index: 10;
            padding: 0;
            line-height: 1;
        }

        .gallery-close-btn-2024:hover {
            color: #ccc;
        }

        .gallery-nav-btn-2024 {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            background: none;
            border: none;
            font-size: 48px;
            cursor: pointer;
            padding: 8px;
            line-height: 1;
        }

        .gallery-nav-btn-2024:hover {
            color: #ccc;
        }

        .gallery-prev-btn-2024 {
            left: 16px;
        }

        .gallery-next-btn-2024 {
            right: 16px;
        }
