/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
    font-family: dtl_nobelt;
    src: url("../fonts/nobelt/italic.woff2") format("woff2"), url("../fonts/nobelt/italic.woff") format("woff");
    font-weight: 400;
    font-style: italic
}
@font-face {
    font-family: dtl_nobelt;
    src: url("../fonts/nobelt/light.woff2") format("woff2"), url("../fonts/nobelt/light.woff") format("woff");
    font-weight: 300;
    font-style: normal
}
@font-face {
    font-family: dtl_nobelt;
    src: url("../fonts/nobelt/regular.woff2") format("woff2"), url("../fonts/nobelt/regular.woff") format("woff");
    font-weight: 400;
    font-style: normal
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.error-message {
    position: fixed;
    top: 150px;
    left: 0px;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: #cc0000;
    color: #fff;
    text-align: center;
    z-index: 100;
}

#gigapixel {
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 5;
    color: #c1c1c1;
    font-size: 12px;
    text-decoration: none;
}

* {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;    
}

html, body, #pano, #pano-wrapper {
    height: 100%;
    padding: 0px;
    margin: 0px;    
}



audio#clap {
    position: absolute;
    left: -9999px;
    top: -9999px;    
}

#krpanoSWFObject * {
    font-family: "dtl_nobelt", Tahoma;
}

body {
    background: #968253;
    color: #fff;
    overflow: hidden;
    font-family: "dtl_nobelt", Tahoma;
    position: relative;
}

#overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;

    background: #0018cc;
    background: rgba(0, 24, 204, 0.75);
    z-index: 200;    
}

#pano-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

#pano {
    width: 100%;
    height: 100%;
    z-index: 0;
}

#logo {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    box-sizing: border-box;
    height: 100%;
}


#logo img {
    display: block;
    padding: 12.5%;
    height: 100%;
    box-sizing: border-box;

}

header {
    display: block;
    background: #968253;
    width: 100%;
    top: -150px;
    height: 150px;
    /*overflow: hidden;*/
    position: absolute;
    z-index: 2;
}



#share-dialog {
    display: block;
    background: #968253;
    width: 100%;
    padding-bottom: 2%;
    top: -200px;
    /*overflow: hidden;*/
    position: absolute;
    z-index: 1;
    text-align: center;
}

#share-dialog .btn-m {
    margin-right: 2%;   
}

#share-dialog .btn {
    width: 31.5%;
    box-sizing: border-box;;
    padding: 13px 16px 13px 16px;
    border: 4px solid #fff;
    text-decoration: none;
    color: #fff;
    
    display: block;
    float: left;
}

#share-dialog input {
    width: 98.5%;
    cursor: default;
    background: #7d6d46;
    box-sizing: border-box;
    text-align: center;
    margin-top: 2%;
    
    padding: 13px 16px 13px 16px;
    border: none;
    text-decoration: none;

    color: #fff;
    display: none;
}

#share-inner {
    width: 70%;
    padding-top: 20px;
    position: relative;
    left: 50%;
    margin-left: -35%;    
}

#close-share {
    position: absolute;
    right: 20px;
    top: 0px;
    color: #fff;
    font-size: 20px;
}

#button-bar {
    height: 100%;
    width: 70%;
    position: absolute;
    line-height: 150px;
    left: 50%;
    text-align: center;
    display: block;
    margin: 0px;
    padding: 0px;
    list-style: none;
    margin-left: -35%;    
}

#button-bar {
    display: inline-block;
}

#button-bar li a {
    border: 3px solid #fff;
    line-height: 1.4em;
    text-decoration: none;
    color: #fff;
    display: inline-block;
    padding: 13px 16px 13px 16px;
}

#tags {
    
    display: block;
    margin: 0px;
    height: 100%;
    width: 60%;
    position: absolute;
    left: 50%;
    margin-left: -30%;
    padding: 0px; 

}

#tags li {
    display: block;
    float: left;
    width: 23.5%;
    margin-right: 1.5%;
    height: 100%;    
}

#tags li a {
    display: block;
    width: 100%;
    color: #fff;
    text-decoration: none;
    height: 100%;
}

#pixel {
    display: none;
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background: red;
    z-index: 500;
    left: 50%;
    top: 57.5%;
    margin-top: -3px;
    margin-left: -3px;
}

#tags li a .tag-wrap {
    display: block;
    width: 100%;
    height: 80%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

#tags li a .title {
    display: block;
    text-align: center;
    width: 100%;
    display: none;
    font-size: 13px;
    height: 20%;
}


#tags .tag-yourself {
    width: 100%;
    height: 80%;    
    font-size: 14px;
    box-sizing: border-box;
    border: 4px solid #fff;
    text-align: center;
    line-height:105px;
    border-top: 0px;
}

#tags .tag-yourself span {
  display:inline-block;
  line-height:20px;
  vertical-align:middle;    
}

#extra {
    float: right;
    
    width: 10%;
    padding: 1%;
}

#languages {
    list-style: none;
    padding: 0px;
    margin: 0px;
    float: right;
    display: block;
}

#languages li {
    float: left;
    padding-right: 5px;
}

#languages li.first {
}

#languages li a {
    color: #fff;
    text-decoration: none;
}

#languages li a.active {
    border-bottom: 1px solid rgba(255,255,255,0.5);
}
header #languages li a.active {
    border-color: #cfc7b6;
}

sub, sup {
    vertical-align: sub;
    font-size: 75%;
}

.share {
    display: block;
    margin-top: 20px;
    float: right;
    clear: both;
    float: right;
    color: #fff;
    text-decoration: none;
}

#text {
    display: none;
    width:50%;
    color: #978153;
    text-align: center;
    position: relative;
    z-index: 1;
    top: 50%;
    margin: 0px auto 0px auto;
    font-size: 30px;
    line-height: 40px;
    
}

#text p {
    margin: 0px 0px 30px 0px;
}

#text p.last-p {
    margin-bottom: 0px;
}

#text img {
    width: 160px;
}

#text .btn {
    border: 4px solid #978153;
    text-decoration: none;
    color: #978153;
    display: inline-block;
    padding: 13px 16px 13px 16px;
}

#text .btn:hover {
    background: #0018cc;
}

#overlay #extra {
    width: 100%;
    right: 0px;
    top: 0px;
    z-index: 0;
    position: absolute;

}

#overlay li.first {
    border-right: none;
    padding-right: 0px;
    margin-right: 0px;
}

#overlay #languages li {
    font-size: 24px;
    color: #978153;
    margin-right: 12px;
}

#languages li a.active {
    border-color: #978153;
}

#overlay #languages li a {
    color: #978153;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 1080px) {
    #text {
        width: 70%;
    }

    #share-dialog .btn {
        font-size: 12px;
    }
    #tags, #share-inner {
        width: 65%;
        margin-left: -32.5%;
    }

}

@media only screen and (max-width: 880px) {
    #tags, #share-inner {
        width: 70%;
        margin-left: -35%;
    }
    #tags li a .title { 
        font-size: 10px;
        line-height: 30px !important;
    }
    #logo img {
        padding-left: 5%
    }
    #logo {
        width:30%;
    }
}

@media only screen and (max-width: 770px) {
    #text {
        font-size: 20px;
        line-height: 30px;
    }
    #extra {
        width: 20%;
        font-size: 13px;
    }
    #text .btn {
        font-size: 16px;
        padding: 6px 12px 6px 12px
    }
    #overlay #languages li {
        margin-right: 6px;
    }
    #overlay #languages li.slash {
        margin-right: 0px;
    }    
    #overlay #languages li {
        font-size: 15px;
    }    
}


@media only screen and (max-width: 730px) {
    header {
        height: 100px;
    }
    #logo img {
        
        padding: 7.5%;
    }
    #tags li a .title {
        font-size: 8px;
        line-height: 21px !important;
    }    
}

@media only screen and (max-width: 700px) {
    #logo {
        width: 30%;
    }
    #tags .tag-yourself {
        line-height: 100px
    }
    #tags .tag-yourself span {
        font-size: 10px;
        line-height: 16px;
    }
}

@media only screen and (max-width: 660px) {
    #logo {
        width: 40%;
    }    
    #logo img {
        padding: 12.5% 12.5% 12.5% 5%;
    }
    #tags .tag-yourself {
        overflow: hidden;
        line-height: 60px;
    }
    #tags .tag-yourself span {
        font-size: 7px;
        line-height: 12px;
    }    
}

@media only screen and (max-width: 570px) {
    #text {
        font-size: 14px;
        line-height: 25px;
    }
    #text .btn {
        font-size: 12px;
        padding: 6px 12px 6px 12px
    }
    body {
        font-size: 12px;
    }

    header {
        height: 100px;
    }

    .error-message{
        top: 100px;
    }

    #logo {
        display: none;
    }

    #tags, #share-inner {
        width: 77.5%;
        left: 2.5%;
        margin-left: 0px;
    }
    #share-dialog .open-iframe {
        display: none;
    }
    #share-inner {
        width: 92.5%;
        margin-left: 2.5%;
        padding-top: 20px;
        padding-bottom: 5px;
    }
    #close-share {
        z-index: 100;
        top: 0px;
        font-size: 12px;
        line-height: 0px;
        right: 5px;
    }
    #share-dialog .btn {
        padding: 7px;
        font-size: 10px;
        width: 48%;        
    }
}


@media only screen and (max-width: 460px) {
    #tags li a .title {
        font-size: 10px;
        padding-top: 3px;
            line-height: 14px !important;
    }
    #tags li a .tag-wrap, #tags .tag-yourself {
        height: 65%;
    }    
    #tags .tag-yourself span {
        font-size: 8px;
        line-height: 12px;
    }    
    #extra {
        width: 20%;
        padding: 2%;
        font-size: 11px;
    }   
    #tags, #share-inner {
        width: 80%;
        left: 2.0%;
        margin-left: 0px;
    }     

    #text {
        width: 90%;
        font-size: 16px;
    }    
    #text .btn {
        font-size: 14px;
    }
}

@media only screen and (max-width: 320px) {
    #text {
        font-size: 12px;
        line-height: 20px;
    }
    #tags li a .title {
        font-size: 7px;
        padding-top: 5px; 
        line-height: 8px !important
    }
    header {
        height: 75px;
    }

    #extra {
        font-size: 10px;
    }
    #text .btn {
        font-size: 11px;
        padding: 6px 12px 6px 12px
    }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

/*@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}*/