/* middle ribbon image gallery */

#gallery {
    width: 738px;
    height: 390px;
}
#gallery-container {
    position: relative;
    height: 366px;
}
[class|="gallery-page"] {
    position: absolute;
    left: 0;
    top: 0;
}
[class|="gallery-page"] + [class|="gallery-page"] {
    display: none;
}
[class|="gallery-page"] ul {
    margin: 0;
    height: 123px;
    list-style: none;
}
[class|="gallery-page"] ul li {
    float: left;
    opacity: .8;
    -webkit-transition: opacity .8s ease-in-out;
    -moz-transition: opacity .8s ease-in-out;
    -o-transition: opacity .8s ease-in-out;
    -ms-transition: opacity .8s ease-in-out;
    transition: opacity .8s ease-in-out;
}
[class|="gallery-page"] ul li + li {
    padding-left: 8px;
}
[class|="gallery-page"] ul li:hover {
    opacity: 1;
}
[class|="gallery-page"] ul li img {
    cursor: pointer;
}

#gallery-navigation ul {
    list-style: none;
    text-align: center;
    margin-left: 353px;
}
#gallery-navigation ul li {
    display: inline;
}
#gallery-navigation a {
    display: block;
    float: left;
    margin: -2px 2px 0;
    cursor: pointer;
    width: 9px;
    height: 9px;
    background: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-indent: -9999px;
}
#gallery-navigation a.active,
#gallery-navigation a:hover {
    background: #808080;
    -webkit-transition:background-color 200ms ease-in-out;
    -moz-transition:background-color 200ms ease-in-out;
    -o-transition:background-color 200ms ease-in-out;
    transition:background-color 200ms ease-in-out;

}







.gallery-modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 734px;
    height: 360px;
}
.gallery-modal img {
    opacity: 0;
}


#modal-downloads {
    position: absolute;
    bottom: -28px;
    right: 2px;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: #9f9f9f;
    cursor: pointer;
    opacity: 0;
}
#modal-downloads ul {
    margin-left: 0;
    list-style: none;
}
#modal-downloads ul li {
    display: inline;
}
#modal-downloads ul li + li {
    padding-left: 3px;
}
#modal-downloads ul li a {
    color: #9f9f9f;
    font-size: 12px;
}
#modal-downloads ul li a:hover,
#modal-downloads ul li span {
    color: #fff;
}

#modal-downloads a:hover {
    text-decoration: none;
}





#modal-close {
    position: absolute;
    top: -26px;
    right: 2px;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: #9f9f9f;
    cursor: pointer;
    opacity: 0;
}
#modal-close:hover {
    text-decoration: none;
}













