@font-face {
    font-family: Swiss721Medium;
    src: url('fonts/Swiss-721-Medium-BT.ttf');
}

@font-face {
    font-family: Swiss721Light;
    src: url('fonts/Swiss-721-Light-BT.ttf');
}

@font-face {
    font-family: Swiss721Thin;
    src: url('fonts/Swiss-721-Thin-BT.ttf');
}

html {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: Swiss721Light, Arial, Helvetica, sans-serif;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

#container {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0 auto;
    background-image: url("images/bg.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    overflow: hidden;
}

header {
    margin: 0 auto;
    height: 15%;
    width: 94%;
    background-image: url("images/logo.png");
    background-repeat: no-repeat;
    background-size: auto 70%;
    background-position: left center;
}

#homenav {
    position: absolute;
    top: 0;
    left: 3%;
    width: 17%;
    height: 15%;
    z-index: 100;
    cursor: pointer;
}

h1 {
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: 350%;
    text-align: center;
    color: #005177;
}

#menu {
    height: 33%;
    width: 70%;
    float: right;
    display: none;
}

#delete {
    float: right;
    width: 15%;
    height: 100%;
    margin: 0 0 0 1%;
}

.select {
    float: right;
    width: 20%;
    height: 100%;
    margin: 0 0 0 1%;
    border: 1px solid #FFFFFF;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-image: url("images/select-button.png"), url("images/select-gradient.png");
    background-repeat: no-repeat, no-repeat;
    background-position: right center, left top;
    background-size: auto 100%, 100% 100%;
    text-indent: 1%;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.button {
    background: -moz-linear-gradient(
        center top,
        #1FB8FF 0%, #0099E0 100%
    );
    background: -webkit-gradient(
        linear,
        left top, left bottom,
        from(#1FB8FF), to(#0099E0)
    );
    color: white;
    text-align: center;
    cursor: pointer;
}

#content {
    width: 94%;
    height: 78%;
    margin: 0 auto;
}

#index {
    width: 100%;
    height: 100%;
    background-image: url("images/corner.png");
    background-repeat: no-repeat;
    background-size: auto 40%;
    background-position: right top;
}

.img-wrap {
    border: 1px solid #FFFFFF;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
    width: 80%;
    overflow: hidden;
    float: left;
}

img.main {
    height: 100%;
    min-width: 100%;
}

#right {
    width: 20%;
    height: 100%;
    float: right;
}

.spacer {
    width: 100%;
    height: 15%;
}

.logo-wrap {
    width: 100%;
    height: 20%;
    text-align: center;
}

img.logo {
    width: 70%;
}

#text {
    width: 100%;
    height: 50%;
    background-color: #FFFFFF;
}

#text p {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 15px;
    margin: 0;
}

#enter {
    width: 100%;
    height: 15%;
}

.table-wrap {
    display: table;
    width: 100%;
    height: 100%;
}

#enter span {
    display: table-cell;
    vertical-align: middle;
    font-size: 125%;
}

#catalog {
    width: 100%;
    height: 100%;
    display: none;
    /*overflow: hidden;*/
}

.catalog-item:first-of-type {
    margin-left: 0;
}

.catalog-item {
    float: left;
    height: 100%;
    margin: 0 0 0 10px;
    background-image: url("images/corner-small.png");
    background-repeat: no-repeat;
    background-size: auto 45%;
    background-position: right bottom;
    transition: opacity 0.2s;
    -webkit-transition: opacity 0.2s;
    opacity: 1;
}

.img-wrap-small {
    border: 1px solid #FFFFFF;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 70%;
    width: 100%;
    overflow: hidden;
}

.catalog-item img {
    min-width: 100%;
    height: 100%;
}

.item-desc {
    height: 30%;
    width: 100%;
}

.number {
    display: block;
    text-align: right;
    width: 100%;
    height: 15%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 20px;
    color: #5D5D5D;
}

.number:before {
    content: "číslo zájezdu: ";
}

h2 {
    margin: 0;
    padding: 0 20px;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 15%;
    color: #FD7D00;
    font-family: Swiss721Medium, Arial, Helvetica, sans-serif;
}

.item-desc p {
    margin: 0;
    padding: 10px 20px 0;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 40%;
    line-height: 100%;
}

.item-desc .button {
    width: 50%;
    height: 30%;
    float: left;
}

.item-desc .button span {
    display: table-cell;
    vertical-align: middle;
    line-height: 125%;
}

.price {
    width: 35%;
    height: 30%;
    float: left;
}

.price span {
    display: block;
    width: 100%;
    height: 50%;
    text-indent: 10px;
}

.sum {
    font-family: Swiss721Medium, Arial, Helvetica, sans-serif;
    color: #D00000;
}

.sum:after {
    content: ",- Kč";
}

.detail-button {
    float: left;
    width: 15%;
    height: 30%;
    cursor: pointer;
}

footer {
    margin: 0 auto;
    height: 7%;
    width: 94%;
    background-image: url("images/kiwilogo.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 50%;
}

#destination-selector, #type-selector, #date-selector, #price-selector{
    position: absolute;
    z-index: 11;
    border: 1px solid #FFFFFF;
    overflow: hidden;
    display: none;
    height: 0px;
    transition: height 0.4s;
    -webkit-transition: height 0.4s;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

li {
    width: 100%;
    border-bottom: 1px solid #FFFFFF;
    background: -moz-linear-gradient(
        center top,
        #1FB8FF 0%, #0099E0 100%
    );
    background: -webkit-gradient(
        linear,
        left top, left bottom,
        from(#1FB8FF), to(#0099E0)
    );
    color: white;
    cursor: pointer;
    text-indent: 10px;
}

#detail {
    width: 100%;
    height: 100%;
    display: none;
    background-image: url("images/corner.png");
    background-repeat: no-repeat;
    background-size: auto 40%;
    background-position: right top;
}

.detail-img-wrap {
    border: 1px solid #FFFFFF;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
    width: 60%;
    overflow: hidden;
    float: left;
}

img.detail {
    height: 100%;
    min-width: 100%;
}

#thumbnails {
    position: absolute;
}

img.thumbnail {
    width: 25%;
    border: 1px solid #FFFFFF;
    border-left: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
}

img.thumbnail:first-of-type {
    border-left: 1px solid #FFFFFF;
}

#detail-right {
    width: 40%;
    height: 100%;
    float: right;
}

#detail-heading {
    width: 75%;
    height: 20%;
    float: left;
    padding: 0 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #FD7D00;
    font-family: Swiss721Medium, Arial, Helvetica, sans-serif;
    line-height: 110%;
}

#detail-close {
    width: 25%;
    height: 20%;
    float: left;
    cursor: pointer;
}

#detail-number {
    width: 100%;
    height: 18%;
    clear: both;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px 20px 0;
    color: #5D5D5D;
}

#detail-number:before {
    content: "číslo zájezdu: ";
}

#detail-desc {
    width: 100%;
    height: 35%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 20px;
    background-color: #FFFFFF;
}

#detail-desc p {
    margin: 0;
    padding: 20px 0 0;
    font-style: italic;
}

#detail-bottom {
    width: 100%;
    height: 27%;
    background-color: #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
}

#detail-price {
    height: 100%;
    width: 60%;
    float: left;
}

#detail-price span {
    display: block;
    width: 100%;
    height: 34%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 20px;
}

#detail-price span.sum {
    height: 66%;
}

#detail-QR {
    height: 100%;
    width: 40%;
    float: right;
    background-image: url("images/QR.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 75%;
}