/* gallery css */

body {
    font: "Chaparral Pro","Palatino","Georgia";
}
body.uber {
    background-repeat: no-repeat;
    background-attachment:fixed;
    background-color:#272727;
    background-position:center 0;
    background-size:cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.proxima-nova {
    font-family: proxima-nova,"Helvetica","Arial";
}
.proxima-nova-condensed {
    font-family: proxima-nova-condensed,"Helvetica","Arial";
}
.chaparral {
    font-family: 'Chaparral Pro',"Palatino","Georgia";
}

#main-header {
    background: #d5d4cf;
}

/* navbarUber */
/* ---------- */
#navbarUber {
    /*
    min-height: 35px;
    height: 35px;
    */
    background: #000 !important;
    /*font: 600 16px/34px proxima-nova-condensed, "Helvetica", "Arial";*/
    font-weight: 600;
    font-size: 100%;
    line-height: 34px;
    text-transform: uppercase;
    text-shadow: none;
    padding: 0 0 0 1em;
}
#navbarUber .navbar-nav li.nav-item a.nav-link:hover {
  border: 3px solid #fff;
  border-bottom: 3px solid #fff;
}
#navbarUber a {
    color: #fff;
    border-bottom: 4px solid #000;
}
#navbarUber a:visited {
    color: #fff;
}
#navbarUber a:hover {
    color: #3ca2f1;
    border-bottom: 4px solid #3ca2f1;
}
#navbarUber a.active {
    color: #3ca2f1;
    border-bottom: 4px solid #3ca2f1;
}
@media (max-width: 992px) {
    #navbarUber a.active {
        margin-right: 1em;
    }
}
#navbarUber select {
    /*font: 600 14px/34px proxima-nova-condensed, "Helvetica", "Arial";*/
    font-weight: 600;
    font-size: 90%;
    line-height: 34px;
    width: 100%;
}
#navbarUber select option {
    padding: 5px 5px;
}
a#navbarUberToggle {
    background: url(../img/arrows-up-down.png) 0 16px no-repeat;
    padding-left: 35px;
}
a#navbarUberToggle.open {
    background: url(../img/arrows-up-down.png) 0 -16px no-repeat;
    /*color: #3ca3f1;*/
}

/* Gallery intro */
/* ------------- */
.gallery-header {}
@media (min-width: 992px) {
    .gallery-header-lg {
        margin-top: 140px;
    }
    .gallery-header-fixed {
        position: fixed;
    }
}
.gallery-header h2 {
    /*font:900 52px proxima-nova,"Helvetica","Arial";*/
    font-weight: 900;
    font-size: 320%;
    color:#fff;
    text-shadow:0px 1px #000;
    text-transform: uppercase;
    max-width: 460px;
}
.gallery-header a.bigbutton, .gallery-desc a.bigbutton {
    display:block;
    float:left;
    background:url(../img/bigbutton.png) no-repeat;
    /*font:600 14px/35px proxima-nova-condensed,"Helvetica","Arial"*/
    font-weight: 600;
    font-size: 90%;
    line-height: 35px;
    color:#fff;
    overflow:hidden;
    text-shadow:0px 1px #444;
    position:relative;
    clear:both;
    padding:0 15px 0 20px;
    height:34px;
    white-space:nowrap;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    text-transform: uppercase;
}
.gallery-header a.bigbutton:hover, .gallery-desc a.bigbutton:hover {
    background-position:0 -71px;
    color:#1b2228;
    text-shadow:none;
}
.gallery-desc-wrap {}
@media (min-width: 992px) {
    .gallery-desc-lg {
        margin-top: 280px;
    }
    .gallery-desc {
        float: right;
    }
}
.gallery-desc {
    color:#fff;
    text-shadow:0px 1px #000;
    max-width:500px;
    padding:20px;
    background:url(../img/bgutext.png);
}
.gallery-desc a {
    color: #3ca2f1;
}
.gallery-desc a:hover {
    text-shadow:0px 1px #222;
}
.gallery-desc p {
    margin:0 0 15px;
    font-size: 100%;
    line-height: normal;
    text-indent: 15px;
    color: #e7e7e7;
}
.gallery-desc p:first-child {
    text-indent: 0px;
}
.gallery-desc p:last-child {
    margin-bottom: 0;
}
.gallery-desc h1, .gallery-desc h2, .gallery-desc h3 {
    margin: 20px 0;
}
.gallery-desc h2 {
    font-size: 130%;
}

/* Gallery images */
/* -------------- */
/* TODO: Infobox */
.infobox {
    padding:20px;
    background:url(../img/bgutext.png);
    color:#fff;
    position:absolute;
    display:none;
    z-index:200;
    top:220px;
    right:200px;
    width:260px;
    height:360px;
    text-shadow:0px 1px #000;}
.infobox strong {
    display:block;
    margin:0 0 10px;
}
.infobox p {
    margin:0;
}
#closebox {
    width:23px;
    height:20px;
    background: url(../img/closebox.png) no-repeat;
    top:-20px;
    right:0;
    position:absolute;
}
#closebox:hover {
    opacity:0.9;
    cursor:pointer;
}
#scrollwrap {
    width:270px;
    margin:0;
}
#scrollwrap .viewport {
    width: 220px;
    height: 360px;
    overflow: hidden;
    position: relative;
}
#scrollwrap .overview {
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    margin: 0;
}
#scrollwrap .scrollbar{
    background: transparent url(../img/bg-scrollbar-track-y.png) no-repeat 0 0;
    position: relative;
    background-position: 0 0;
    float: right;
    width: 15px;
}
#scrollwrap .track {
    background: transparent url(../img/bg-scrollbar-trackend-y.png) no-repeat 0 100%;
    width:13px;
    height: 100%;
    position: relative;
    padding: 0 1px;
}
#scrollwrap .thumb {
    background: transparent url(../img/bg-scrollbar-thumb-y.png) no-repeat center bottom;
    height: 20px;
    width: 25px;
    cursor: pointer;
    overflow: hidden;
    position: absolute; top: 0; left: -5px;
}
#scrollwrap .thumb .end {
    background: transparent url(../img/bg-scrollbar-thumb-y.png) no-repeat center top;
    overflow: hidden;
    height: 5px;
    width: 25px;
}
#scrollwrap .disable {
    display: none;
}
/* Progress bar */
#progress-back {
    z-index:5;
    position:fixed;
    bottom:42px;
    left:0;
    height:4px;
    width:100%;
    background:url('../img/progress-back.png') repeat-x;
}
#progress-bar {
    position:relative;
    height:4px;
    width:100%;
    background:url('../img/progress-bar.png') repeat-x;
}
/* Thumbs */
#thumb-tray {
    position:fixed;
    z-index:3;
    bottom:0;
    left:0;
    background:url(../img/bg-black.png);
    height:150px;
    width:100%;
    overflow:hidden;
    text-align:center;
    -moz-box-shadow: 0px 0px 4px #000;
    -webkit-box-shadow: 0px 0px 4px #000;
    box-shadow: 0px 0px 4px #000;
}
#thumb-back, #thumb-forward {
    position:absolute;
    z-index:5;
    bottom:42px;
    height:108px;
    width:40px;
}
#thumb-back {
    left:0;
    background: url('../img/thumb-back.png') no-repeat center center;
}
#thumb-forward {
    right:0;
    background:url('../img/thumb-forward.png') no-repeat center center;
}
#thumb-back:hover, #thumb-forward:hover {
    cursor:pointer;
    background-color:rgba(256,256,256, 0.1);
}
#thumb-back:hover {
    border-right:1px solid rgba(256,256,256, 0.2);
}
#thumb-forward:hover {
    border-left:1px solid rgba(256,256,256, 0.2);
}
ul#slide-list {
    padding:0;
    float:left;
    position:absolute;
    left:50%;
}
ul#slide-list li {
    list-style:none;
    width:12px;
    height:12px;
    float:left;
    margin:0 5px 0 0;
}
ul#slide-list li.current-slide a, ul#slide-list li.current-slide a:hover {
    background-position:0 0px;
}
ul#slide-list li a {
    display:block;
    width:12px;
    height:12px;
    background:url('../img/nav-dot.png') no-repeat 0 -24px;
}
ul#slide-list li a:hover {
    background-position:0 -12px;
    cursor:pointer;
}

ul#thumb-list {
    display:inline-block;
    list-style:none;
    position:relative;
    left:0px;
    padding:0;
    margin-top:0;
    height:108px;
}
ul#thumb-list li {
    background:#111;
    list-style:none;
    display:inline;
    height:108px;
    overflow:hidden;
    float:left;
    margin:0;
}
ul#thumb-list li img {
    max-width:160px;
    height:auto;
    opacity:0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    filter:alpha(opacity=60);
}
ul#thumb-list li.current-thumb img, ul#thumb-list li:hover img {
    opacity:1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter:alpha(opacity=100);
}
ul#thumb-list li:hover {
    cursor:pointer;
}
#nextthumb,#prevthumb {
    z-index:2;
    display:none;
    position:fixed;
    bottom:61px;
    height:75px;
    width:100px;
    overflow:hidden;
    background:#ddd;
    border:1px solid #fff;
    -webkit-box-shadow:0 0 5px #000;
}
#nextthumb {
    right:12px;
}
#prevthumb {
    left:12px;
}
#nextthumb img, #prevthumb img {
    width:150px;
    height:auto;
}
#nextthumb:active, #prevthumb:active {
    bottom:59px;
}
#nextthumb:hover, #prevthumb:hover {
    cursor:pointer;
}
#tray-button {
    float:right;
    margin-top:1px;
    background:url('../img/bg-hover.png') repeat-x 0 44px;
}
#tray-button:hover {
    background-position:0 1px;
    cursor:pointer;
}
/* Slide buttons */
#prevslide, #nextslide {
    position:absolute;
    height:43px;
    width:45px;
    top:50%;
    margin-top:-21px;
    opacity:0.6;
}
#prevslide {
    left:10px;
    background:url('../img/back.png') -1px 0 no-repeat;
}
#nextslide {
    right:10px;
    background:url('../img/forward.png') no-repeat;
}
#prevslide:active, #nextslide:active {
    margin-top:-19px;
}
#prevslide:hover, #nextslide:hover {
    cursor:pointer;
}
/* Controls */
#controls-wrapper {
    margin:0 auto;
    height:42px;
    width:100%;
    bottom:0px;
    left:0;
    z-index:4;
    background:url(../img/nav-bg.png) repeat-x;
    position:fixed;
}
#controls {
    overflow:hidden;
    height:100%;
    position:relative;
    text-align:left;
    z-index:5;
}
#slidecounter {
    float:left;
    color:#999;
    /*font:600 14px/42px proxima-nova-condensed,"Helvetica","Arial";*/
    font-weight: 600;
    font-size: 90%;
    line-height: 42px;
    text-shadow:#000 0 -1px 0;
    margin:0px 10px 0 15px;
}
#slidecaption {
    overflow:hidden;
    float:left;
    color:#FFF;
    font:400 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-shadow:#000 1px 1px 2px;
    margin:0 20px 0 0;
    line-height:42px;
}
#infolabel {
    float:left;
    width:30px;
    height:30px;
    margin:7px 10px 0;
    background:url(../img/infogumb.png) no-repeat;
    display:block;
}
#infolabel:hover {
    opacity:0.8;
    cursor:pointer;
}
#navigation {
    float:right;
    margin:0px 20px 0 0;
}
#play-button {
    float:right;
    margin-top:1px;
    border-right:1px solid #333;
    background:url('../img/bg-hover.png') repeat-x 0 44px;
}
#play-button:hover {
    background-position:0 1px;
    cursor:pointer;
}
/* Supersized */
#supersized-loader {
    position:absolute;
    top:50%;
    left:50%;
    z-index:0;
    width:60px;
    height:60px;
    margin:-30px 0 0 -30px;
    text-indent:-999em;
    background:url(../img/progress.gif) no-repeat center center;
}
#supersized {
    display:block;
    position:fixed;
    left:0;
    top:0;
    overflow:hidden;
    z-index:-999;
    height:100%;
    width:100%;
    padding: 0;
}
#supersized img {
    width:auto;
    height:auto;
    position:relative;
    display:none;
    outline:none;
    border:none;
}
#supersized.speed img {
    -ms-interpolation-mode:nearest-neighbor;
    image-rendering: -moz-crisp-edges;
}
#supersized.quality img {
    -ms-interpolation-mode:bicubic;
    image-rendering: optimizeQuality;
}
#supersized li {
    display:block;
    list-style:none;
    z-index:-30;
    position:fixed;
    overflow:hidden;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#111;
}
#supersized a {
    width:100%;
    height:100%;
    display:block;
}
#supersized li.prevslide {
    z-index:-20;
}
#supersized li.activeslide {
    z-index:-10;
}
#supersized li.image-loading {
    background:#111 url(../img/progress.gif) no-repeat center center;
    width:100%;
    height:100%;
}
#supersized li.image-loading img {
    visibility:hidden;
}
#supersized li.prevslide img, #supersized li.activeslide img {
    display:inline;
}
/* Gallery infobox */
/* --------------- */
#gallery-infobox {
    background:rgba(0, 0, 0, 0.5);
    color:#fff;
    border: none;

    max-width:280px;
    overflow: auto;
    max-height: 50vh;

    resize: none;
}
#gallery-infobox-close {
    width: 23px;
    height: 20px;
    background: url(../img/closebox.png) no-repeat;
    display: inline-block;
    cursor: pointer;
}
@media (min-width: 992px) {
    #gallery-infobox, #gallery-infobox-close {
        margin-right: 140px;
    }
}


/* Gallery videos */
/* -------------- */
.gallery-videowrap {}
.gallery-videowrap a {
    float: left;
    display: block;
    height: 248px;
    width: 225px;
    margin: 0 8px 15px;
    position: relative;
    overflow: hidden;
}
.gallery-videowrap a .shadowwrap {
    position: relative;
    overflow: hidden;
    border-bottom: none;
    box-shadow: 1px 2px 3px 0 #222;
    float: none;
}
.gallery-videowrap a .shadowwrap span {
    background: url(../img/play-hover.png) center center;
    display: none;
    position: absolute;
    z-index: 5;
    height: 150px;
    width: 220px;
}
.gallery-videowrap a:hover .shadowwrap span {
    display: block;
}
.gallery-videowrap a h3 {
    color: #fff;
    font: 600 24px/28px 'Chaparral Pro',"Palatino","Georgia";
    clear: both;
    text-shadow: 0px 1px #000;
    margin: 10px 0;
    display: block;
}
.gallery-videowrap a:hover h3 {
    color: #3ca2f1;
}
.gallery-videowrap a:hover {
    cursor: zoom-in;
}
