html, body, .calendar {
    overflow: hidden;
}
html {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}
.sections {
    left: 20px;
    right: 20px;
    bottom: 20px;
    top: 120px;
}
.sections>div {
    height: 33%;
}
.values div {
    float: left;
    width: 22%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.values div.space {
    width: 12%;
}

h3 {
    width: 44%;
}
h3.space {
    width: 12%;
}

h2 {
    font-size: 18px;
    line-height: 22px;
}
.information {
    top: 20px;
    right: 20px;
}
.info i:before, .info i:after {
    background: #111;
    margin-left: -1px;
}
.info i:before {
    left: 50%;
    top: 50%;
    width: 2px;
    height: 2px;
    margin-top: -7px;
}
.info i:after {
    left: 50%;
    top: 50%;
    width: 2px;
    height: 10px;
    margin-top: -3px;
}
.role, .name {
    display: block;
}
.role {
    min-width: 100px;
    clear: both;
    font-weight: bold;
}
.name {
    width: 150px;
    clear: both;
    margin-bottom: 10px;
}
@media screen and (min-height: 700px) and (max-width: 960px) {
    .sections {
        top: 140px;
    }
    h1 {
        font-size: 20px;
    }
    h3 {
        font-size: 12px !important;
    }
}
@media screen and (min-height: 700px) and (min-width: 960px) {
    .sections {
        top: 140px;
    }
    h1 {
        font-size: 20px !important;
    }
    h3, .date {
        font-size: 14px !important;
    }
}
@media screen and (max-width: 960px) {
    .panel {
        width: 300px;
        top: 30px;
    }
    .sections>div {
        border-top: 1px solid #555;
    }
    h4 {
        width: 100%;
        height: 23%;
        margin: 0;
        padding-top: 2%;
    }
    .values {
        left: 0;
        right: 0;
        top: 20%;
        bottom:0;
    }
    .calendar, .information {
        display: none;
    }
    .panel {
    }
    h4 i {
        margin-top: 10px;
    }
    svg #zelao {
        transform: translate(330px,0);
    }
    .labels #zelao {
        left: 856px !important;
    }
    #reg polygon#zelao.current {
        -webkit-transform: translate(346px, -4px) !important;
        -moz-transform: translate(346px, -4px) !important;
        -ms-transform: translate(346px, -4px) !important;
        -o-transform: translate(346px, -4px) !important;
        transform: translate(346px, -4px) !important;
    }
    .labels #tinao {
        left: 640px !important;
    }
    .panel {
        left: 0px !important;
    }
    .tabs a:first-child {
        border-radius: 0 4px 0 0 !important;
    }
    #map {
        width: 100%;
        height: 100%;
    }
    .labels, #map {
        transform: translate(75px,0);
    }
    .note {
        min-width: 280px !important;
        width: 280px !important;
    }
}
@media screen and (min-width: 960px) {
    .panel, .calendar {
        width: 430px;
    }
    .panel {
        top: 85px;
    }
    .types {
        padding-left: 110px;
        border-bottom: 1px solid #555;
    }
    h4 {
        width: 110px;
        height: 97%;
        padding-top: 3%;
        line-height: 4vh;
        margin: 0;
    }
    .values {
        left: 110px;
        right: 0;
        top: 10%;
        bottom:0;
    }
}
#star, .note {
    display: none;
}
.has-note #star, .has-note .note {
    display: inline;
}
.values div {
    height: 90%
}
.types:after, .grid div:after {
    clear: both;
    display: block;
    content: '';
}
.point {
    display: inline-block;
    width: 20px;
    height: 36px;
    margin-right: 8px;
    background-image: url(../svg/point.svg);
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
}
.panel, .calendar {
    left: 20px;
}
.panel {
    padding-top: 30px;
    bottom: 70px;
}
.panel .content {
    left: 0;
    right: 0;
    top: 30px;
    bottom: 0;
    padding: 20px;
}
.panel .content, .calendar, #window, .bubble, .closed+.info {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,20,40,.2);
    border-color: transparent;
}
.calendar {
    height: 55px;
    border-radius: 0 0 4px 4px;
}
.open .calendar {
    height: 200px;
}
.open .panel {
    transform: translate(0, 140px);
}
.calendar h1 {
    padding: 0;
    margin: 0 0 0 20px;
    line-height: 55px;
}
h2 {
    margin: 0;
    display: inline-block;
    width: 228px;
}
h3 {
    display: inline-block;
    float: left;
}
h3 span {
    font-weight: normal;
    font-style: italic;
}
.panel .tabs, .date, .grid, #window, .information h2 {
    text-transform: uppercase;
}

#window h1, #window a {
    left: 8%;
}
#window a, #window h1, #window svg, .information, .info {
    position: absolute;
}
#window a {
    border: 2px solid #ccc;
}
#window a.button.first {
    top: 130px;
}
#window a.button.second {
    top: 215px;
}
#window a.button {
    background-image: url("../svg/arrow.svg");
    background-repeat: no-repeat;
    background-size: 25% 40%;
    background-position: right center;
}
/* fixed window */
#window h1 {
    font-size: 32px !important;
    line-height: 32px;
    margin-top: 30px;
}
#window a {
    font-size: 18px;
    line-height: 18px;
    padding: 12px 30px 12px 12px;
}
#window svg {
    width: auto;
    height: auto;
    right: 0;
    bottom: 0;
}

.panel .tabs, .calendar .grid, .note, .src, .values p, .information span {
    font-size: 12px;
}

.panel .tabs {
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    line-height: 30px;
}
.info {
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
    border-radius: 100%;
    border: 1px solid #ccc;
}
.bubble.closed {
    height: 0;
    opacity: 0;
}
.panel .tabs, .values p, .grid a, .picker .date {
    text-align: center;
}
.content, .panel .tabs a, .sections div, .values div {
    position: relative;
}
.values span {
    left: 35%;
}
.values p, .values span {
    bottom: 0;
}
.values hr {
    left: 75%;
    right: -25%;
    height: 2px;
    bottom: 4px;
    border: none;
}
.values p {
    width: 200%;
    line-height: 20px;
    height: 20px;
    margin: 0;
}
.values i {
    left: 0;
    bottom: 30%;
    height: 20%;
    width: 100%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
.values i:hover {
    height: 75%;
}
.panel .tabs a {
    background: #111;
}
.panel .tabs a {
    width: 48%;
    height: 100%;
    float: left;
    color: #fff;
    display: block;
    cursor: pointer;
}
.tabs a:first-child {
    border-radius: 4px 4px 0 0;
    margin-right: 2%;
}
.tabs a:last-child {
    margin-left: 2%;
    border-radius: 4px 4px 0 0;
}
.info i:before, .info i:after, .tabs a:after {
    content: '';
}
.tabs a:after {
    width: 0;
    height: 0;
    border-style: solid;
}
.tabs a:first-child:after {
    border-width: 30px 0 0 15px;
    border-color: transparent transparent transparent #000;
    left: 100%;
    top: 2px;
}
.tabs a:last-child:after {
    border-width: 0 0 30px 15px;
    border-color: transparent transparent #000 transparent;
    right: 100%;
    top: 2px;
}
html, body, .tabs a.current {
    color: #111;
}
.values hr {
    background: #111;
}
.tabs a.current {
    background: #fff;
    z-index: 1;
}
.tabs a:first-child.current:after {
    border-color: transparent transparent transparent #fff;
}
.tabs a:last-child.current:after {
    border-color: transparent transparent #fff transparent;
}

#window, .panel, .panel .content, .panel .tabs, .fade, .tabs a:after,
.sections, .sections div.values, .values i, .values span, i svg, .values p, .values hr,
.calendar, .calendar .picker, .picker a, .prev:before, .prev:after, .next:before, .next:after, .note, .src,
.info i:before, .info i:after {
    position: absolute;
}
.note {
    top: 100%;
    margin-left: 20px;
    margin-top: 20px;
    min-width: 400px;
}
.src {
    bottom: 0;
    height: 50px;
    right: 20px;
    color: #555;
}
.calendar .grid {
    left: 20px;
    right: 20px;
    top: 55px;
    height: 120px;
}
.grid div {
    margin-bottom: 2%;
}
.grid a {
    line-height: 30px;
    height: 20%;
    width: 25%;
    float: left;
}
.grid a.current {
    color: #000;
    font-weight: bold;
}
.grid .years {
    border-bottom: 1px solid #ccc;
}
.picker .date svg {
    margin-right: 4px;
}
.disabled {
    pointer: default;
    color: #ccc;
}
.picker {
    height: 30px;
    top: 12px;
    width: 40%;
    right: 20px;
}
.picker .prev, .picker .next {
    width: 30px;
    height: 100%;
}
/*.prev:before, .prev:after, .next:before, .next:after {
    content: '';
    background: #333;
    width: 25%;
    height: 1px;
    top: 50%;
}
.prev:before {
    transform: rotate(45deg) translate(45%, 0);
}
.prev:after {
    transform: rotate(-45deg) translate(45%, 0);
}
.next:before, .next:after {
    left: 80%;
}
.next:before {
    transform: rotate(-45deg) translate(-45%, 0);
}
.next:after {
    transform: rotate(45deg) translate(-45%, 0);
}*/
.picker .next {
    right: 0;

}
.picker .date {
    left: 20px;
    right: 20px;
    top: 0;
    bottom: 0;
    line-height: 33px;
}
i svg {
    width: 100%;
    height: 100%;
}
#window {
    left: 50%;
    top: 50%;
    height: 320px;
    width: 470px;
    transform: translate(-50%, -50%);
}
#window i {
    background-image: url(../png/start.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    right: 15px;
    bottom: 30px;
}
body {
    background: #D4DBD9;
    background-image: radial-gradient(#D4DBD9 0%, #D4DBD9 100%);
    font-size: 11px;
    font-size: 1.4vh;
}
body.start {
    background-image: radial-gradient(#adc 0%, #499 100%);
}
#main {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
}
.picker svg {
    width: 60%;
    height: 60%;
    margin: 20%;
}
.picker svg path {
    stroke-width: 4px;
    stroke: #333;
}
.picker .disabled svg path {
    stroke: #999;
}
.picker .prev svg {
    transform: scale(-1, 1);
}
.start #main, .notready #main {
    opacity: 0;
}
.start #window {
    opacity: 1;
}
#window {
    opacity: 0;
}
.ready #window {
    display: none;
}


.labels span {
    font-weight: bold;
    font-size: 14px;
    border-radius: 8px 0 0 0;
}
h1 {
    font-size: 200%;
}
.values span {
    font-size: 200%;
}
h3, .date {
    font-size: 120%;
}
h4 {
    font-size: 14px;
}
h4 i {
    width: 50px;
    height: 20px;
    position: relative;
    display: inline-block;
}
.rooms_1 svg .room_2, .rooms_1 svg .room_3, .rooms_2 svg .room_3 {
    display: none;
}
.bubble {
    padding: 16px 20px 16px 20px;
    height: 330px;
}
#window, .bubble, .info {
    background: #fff;
}
.values span, .labels, #window, .information h2 {
    font-family: 'DINCondensed', sans-serif;
    font-weight: normal;
}
#map svg, .labels {
    right: 0;
    bottom: 0;
}
#overlay polygon, a {
    cursor: pointer;
}
#overlay polygon {
    opacity: 0;
}
#overlay #river {
    display: none;
}
#overlay polygon:hover, #overlay polygon.current {
    opacity: 1;
}
#window, #overlay polygon, .values i, svg *, .calendar, .panel, .labels span, .labels span::before, .bubble {
    transition: all .2s ease-out;
}
body, #main {
    transition: opacity .4s ease-out .2s, backgroundImage 10s ease-out;
}
#reg polygon {
    fill: #fff;
    stroke: #abc;
    stroke-width: 1;
    stroke-miterlimit: 10;
}
#labels {
    display: inherit;
}
#reg polygon:hover {
    fill: #F3D84C;
}
.green #reg polygon:hover {
    fill: #3EAD92;
}
#reg polygon.current  {
    fill: #fe7;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
   #reg polygon.current  {
    filter: url(#f1);
    stroke: none;
}
}
#reg polygon.current {
    -webkit-transform: translate(-4px, -4px);
    -moz-transform: translate(-4px, -4px);
    -ms-transform: translate(-4px, -4px);
    -o-transform: translate(-4px, -4px);
    transform: translate(-4px, -4px);
}
.values svg polygon:first-child {
    fill: #ec2;
}
.green .values svg polygon:first-child {
    fill: #3EAD92;
}
.green #reg polygon.current  {
    fill: #7ca;
}
#window a.button.first {
    border-color: #7ca;
}
#window a.button.second {
    border-color: #ed6;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
   .green #reg polygon.current {
    filter: url(#f1_green);
    stroke: none;
}
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
   #original #reg {
    filter: url(#f2);
}
}
.labels {
    width: 998px;
    height: 700px;
    z-index: 1;
}
.panel, .calendar, .information {
    z-index: 2;
}
.labels #cao {
    left: 762px;
    top: 270px;
}
.labels #tinao {
    left: 600px;
    top: 480px;
}
.labels #zelao {
    left: 526px;
    top: 39px;
}
.labels #uzao {
    left: 722px;
    top: 376px;
}
.labels #zao {
    left: 670px;
    top: 330px;
}
.labels #szao {
    left: 650px;
    top: 223px;
}
.labels #sao {
    left: 710px;
    top: 190px;
}
.labels #svao {
    left: 765px;
    top: 180px;
}
.labels #vao {
    left: 850px;
    top: 230px;
}
.labels #uvao {
    left: 840px;
    top: 330px;
}

.labels #uao {
    left: 790px;
    top: 420px;
}
#map svg, .labels, .labels span, .labels span::before, .calendar .grid {
    position: absolute;
}
.labels span {
    background: #f2f2f2;
    height: 22px;
    line-height: 22px;
    padding-left: 6px;
    padding-right: 6px;
    display: inline-block;
}
.labels span.current, .labels span.current::before {
    background: transparent;

}
.labels span::before {
    content: ' ';
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.2) 100%);
    left: 0;
    z-index: -1;
    -webkit-transform: skew(-20deg) translate(6px, 0px);
    -moz-transform: skew(-20deg) translate(6px, 0px);
    -ms-transform: skew(-20deg) translate(6px, 0px);
    -o-transform: skew(-20deg) translate(6px, 0px);
    transform: skew(-20deg) translate(6px, 0px);
}
.fade {
    background: linear-gradient(to bottom, rgba(212,219,217,0) 0%, rgba(212,219,217,1) 100%);
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
}