@media only screen and (min-device-width: 800px) {
    html {
        overflow: hidden;
    }
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    height: 100%; /* for Firefox, Safari */
}

body {
    height: 100%; /* for Firefox */
    overflow: hidden;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.fadeout {
    opacity: 0;
    transition: opacity 0.75s;
    -moz-transition: opacity 0.75s; /* Firefox 4 */
    -webkit-transition: opacity 0.75s; /* Safari and Chrome */
    -o-transition: opacity 0.75s; /* Opera */
}

#panoDIV {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

#pano-container {
    height: 100%;
    width: 100%;
    margin: 0 auto;
}

#cityu_logo {
    z-index: 500;
    position: absolute;
    top: 10px;
    left: 10px;
    margin: 0px;
    width: 120px;
    height: 65px;
    background-image: url("cityu_logo_120x65.png");
    background-repeat: no-repeat;
}

#ocio_logo {
    z-index: 500;
    position: absolute;
    top: 22px;
    left: 150px;
    margin: 0px;
    width: 295px;
    height: 40px;
    background-image: url(ocio_logo_295x40.png);
    background-repeat: no-repeat;
}

@media screen and (max-width: 560px), screen and (max-height: 400px)  and (min-width: 560px) {
    #cityu_logo {
        position: absolute;
        top: 6px;
        width: 60px;
        height: 33px;
        background-image: url(cityu_logo_60x33.png);
        background-repeat: no-repeat;
    }

    #ocio_logo {
        position: absolute;
        top: 44px;
        left: 5px;
        width: 148px;
        height: 20px;
        background-image: url(ocio_logo_148x20.png);
        background-repeat: no-repeat;
    }
}

* img {
    border: 0;
}

.icon-button-img {
    box-shadow: 2px 2px 10px #333333;
}

#pano-content {
    z-index: 600;
    position: absolute;
    top: 43%;
    left: 50%;
    width: 324px;
    height: 324px;

    background: url(cityutour.png) no-repeat center;
    border-radius: 10px;

    /*"margin-top" and "margin-left" should be changed if the size of the pop-up image change*/
    margin-top: -163px;
    margin-left: -163px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

/* Smartphones (portrait) */
@media only screen and (max-width: 480px) {
    #pano-content {
        padding: 15px;
        height: 170px;
        width: 170px;
        margin-top: -100px;
        margin-left: -100px;
        background: url(cityutour_200x200.png), no-repeat;
        background-position: 50% 50%;

    }
}

/* Smartphones (landscape) */
@media only screen and (max-height: 400px) and (min-width: 480px) {
    #pano-content {
        padding: 15px;
        height: 120px;
        width: 263px;
        margin-top: -80px;
        margin-left: -146px;
        background: url(cityutour_293x150.png), no-repeat;
        background-position: 50% 50%;
    }
}

#pano-content h1 {
    margin: 0;
}

#pano-footer {
    z-index: 400;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 5px 5px 5px 7px;
}

#pano-footer {
    color: #EEEEEE;
    font-size: 11px;
}

#pano-footer a {
    color: #EEEEEE;
}

@media only
screen and (max-width: 480px), screen and (max-height: 400px) and (min-width: 480px) {
    #pano-footer {
        display: none;
    }
}