#tournav {
    background: url("../images/tour-bg.png") no-repeat;
    width: 159px;
    height: 256px;
    position: relative;
    margin: 0;
    padding: 0;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

#tournav #exit {
    background: url("../images/tour-logo.png") no-repeat;
    display: block;
    position: absolute;
    left: 11px;
    top: 10px;
    width: 138px;
    height: 61px;
    cursor: pointer;
    text-indent: -1000px;
}

#tournav #gallery {
    display: block;
    position: absolute;
    top: 75px;
    left: 15px;
    width: 130px;
    font-size: 10px;
}

#tournav #gallery select {
    width: 130px;
}

#tournav #prevbtn, #tournav #nextbtn {
    display: block;
    position: absolute;
    width: 40px;
    height: 24px;
    overflow: hidden;
    text-indent: -300px;
}

#tournav #prevbtn {
    background: url("../images/tour-left.png") no-repeat;
    left: 11px;
    top: 105px;
}

#tournav #nextbtn {
    background: url("../images/tour-right.png") no-repeat;
    left: 109px;
    top: 105px;
}

#tournav #prevbtn:active, #tournav #prevbtn:hover {
    background: url("../images/tour-left-hi.png") no-repeat;
}

#tournav #nextbtn:active, #tournav #nextbtn:hover {
    background: url("../images/tour-right-hi.png") no-repeat;
}

#tournav #location {
    display: block;
    position: absolute;
    text-align: center;
    top: 108px;
    width: 40px;
    left: 59px;
    color: white;
}

#pano {
    position: absolute;
    top: 190px;
    left: 11px;
    width: 138px;
    height: 57px;
    display: block;
    background: url("../images/tour-panorama.png") no-repeat;
    overflow: hidden;
    text-indent: -1000px;
}

#pano:hover {
    background: url("../images/tour-panorama-hi.png");
}

#overviewbutton {
    background: url("../images/tour-overview.png") no-repeat;
    position: absolute;
    top: 132px;
    left: 11px;
    width: 138px;
    height: 57px;
    cursor: pointer;
    text-indent: -1000px;
}

#overviewbutton:hover {
    background: url("../images/tour-overview-hi.png") no-repeat;
}

#overview {
    position: absolute;
    width: 600px;
    min-height: 400px;
    left: 180px;
    top: 0px;
}

#overview ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#overview ul li {

    position: absolute;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: 4px solid #fcfce3;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#overview ul li:hover {
    border-color: #c2c294;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.8);

    -webkit-transform: scale(1.1);
    -webkit-transform-origin: 50% 50%;

    -moz-transform: scale(1.1);
    -moz-transform-origin: 50% 50%;

    -o-transform: scale(1.1);
    -o-transform-origin: 50% 50%;

    -ms-transform: scale(1.1);
    -ms-transform-origin: 50% 50%;

    transform: scale(1.1);
    transform-origin: 50% 50%;
}

#overview ul li.out {

    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;

    -webkit-transform: scale(0);
    -webkit-opacity: 0;
    -moz-transform: scale(0);
    -moz-opacity: 0;
    -o-transform: scale(0);
    -o-opacity: 0;
    -ms-transform: scale(0);
    -ms-opacity: 0;
    transform: scale(0);
    opacity: 0;
}

#overview ul li.in {
    -webkit-transition: all 250ms ease-in;
    -moz-transition: all 250ms ease-in;
    -o-transition: all 250ms ease-in;
    -ms-transition: all 250ms ease-in;
    transition: all 250ms ease-in;

    -webkit-transform: scale(4);
    -webkit-opacity: 0;
    -moz-transform: scale(4);
    -moz-opacity: 0;
    -o-transform: scale(4);
    -o-opacity: 0;
    -ms-transform: scale(4);
    -ms-opacity: 0;
    transform: scale(4);
    opacity: 0;
}

#overview ul li.front {
    z-index: 100;
}

.no-js #tournav #gallery select {
    width: 90px;
    margin-right: 4px;
}

#loading {
    display: none;
    position: absolute;
    width: 123px;
    height: 80px;
    left: 50%;
    top: 50%;
    background: white url("../images/loading-background.gif") no-repeat center center;
    border: 1px solid black;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

#loading-indicator {
    display: block;
    background: url("../images/loading-indicator.gif") no-repeat;
    width: 32px;
    height: 32px;
    margin-left: 44px;
    margin-top: 16px;
}

@media (-moz-min-device-pixel-ratio: 1.5),
(-o-min-device-pixel-ratio: 3/2),
(-webkit-min-device-pixel-ratio: 1.5),
(min-device-pixel-ratio: 1.5),
(min-resolution: 1.5dppx) {

    #tournav {
        background-image: url("../images/tour-bg@2x.png");
        background-size: 159px 256px;
    }

    #tournav #exit {
        background-image: url("../images/tour-logo@2x.png");
        background-size: 138px 61px;
    }

    #tournav #prevbtn {
        background-image: url("../images/tour-left@2x.png");
        background-size: 40px 22px;
    }

    #tournav #nextbtn {
        background-image: url("../images/tour-right@2x.png");
        background-size: 40px 22px;
    }

    #tournav #prevbtn:active, #tournav #prevbtn:hover {
        background-image: url("../images/tour-left-hi@2x.png");
        background-size: 40px 22px;
    }

    #tournav #nextbtn:active, #tournav #nextbtn:hover {
        background-image: url("../images/tour-right-hi@2x.png");
        background-size: 40px 22px;
    }

    #pano {
        background-image: url("../images/tour-panorama@2x.png");
        background-size: 138px 57px;
    }

    #pano:hover {
        background-image: url("../images/tour-panorama-hi@2x.png");
        background-size: 138px 57px;
    }

    #overviewbutton {
        background: url("../images/tour-overview@2x.png") no-repeat;
        background-size: 138px 57px;
    }

    #overviewbutton:hover {
        background: url("../images/tour-overview-hi@2x.png") no-repeat;
        background-size: 138px 57px;
    }

}