/**
 * Soubor obsahuje styly pro zobrazeni galerie
 */

/* DIALOG */

#gallery-screen {
    display: none;
    background: rgba(0, 0, 0, 0.75);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10000;
}

#gallery-outbox {
    position: relative;
    background: white;
    width: 90%;
    height: 90%;
    z-index: 100000;
    margin: 20px auto;
    border-radius: 20px;
    padding: 20px;
}

#gallery-outbox-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    background-image: url("close.jpg");
    background-repeat: no-repeat;
    cursor: pointer;
}

#gallery {
    width: 100%;
    height: 100%;
    z-index: 100000;
}

/* PROSTOR PRO REKLAMU */

#gallery-ads {
    display: none;
    position: absolute;
    width: 150px;
    height: 500px;
    padding-left: 10px;
    right: 0px;
    top: 20px;
}

#gallery-ads-url {
    display: none;
}

/* NAVIGACNY PANEL */

#gallery-navigation {
    text-align: center;
}

#gallery-navigation-prev {
    background-image: url("prev.png");
    background-repeat: no-repeat;
    background-position: right;
    
    cursor: pointer;
    
    padding-right: 20px;
    width: 100px;
    display: inline;
}

#gallery-navigation-next {
    background-image: url("next.png");
    background-repeat: no-repeat;
    background-position: left;

    cursor: pointer;

    padding-left: 20px;
    width: 50px;
    display: inline;
}

#gallery-navigation-count {
    width: 100px;
    display: inline;
    text-align: center;
}

#gallery-navigation-count-current,
#gallery-navigation-count-total {
    display: inline;
}

#gallery-navigation-clear {
    clear: both;
}

/* VELKY OBRAZOK */

#gallery-big {
    height: 500px;
    width: 100%;
    position: relative;
}

#gallery-big-image {
}

#gallery-big-image img {
    display: block;
    margin: 5px auto;
}

#gallery-big-prev {
    cursor: pointer;
    position: absolute;
    height: 100%;
    width: 48%;
    left: 0;
    top: 0;
}

#gallery-big-next {
    cursor: pointer;
    position: absolute;
    height: 100%;
    width: 48%;
    left: 50%;
    top: 0;
}

#gallery-big-info {
    width: 100%;
    margin: auto;
    position: absolute;
    bottom: 0px;
    border-top: 1px solid silver;
}

.gallery-thumbs-item-title-gallery-title {
    display: none;
    font-weight: bold;
}

.gallery-thumbs-item-title-item-title {
    display: inline;
}

/* NAHLEDY */

#gallery-thumbs {
    margin: 5px auto;
    width: 70%;
    height: 100px;
    overflow-x: auto;
    overflow-y: hidden;
    text-align: center;
}

#gallery-thumbs table {
    margin: auto;
    height: 100px;
}

.gallery-thumbs-item {
    margin-top: 0px;
    padding-top: 0px;
    padding-right: 5px;
    vertical-align: top;
    height: 100px;
}

.gallery-thumbs-item-image {
    border: 1px solid grey;
    width: 114px;
    height: 78px;
    text-align: center;
    vertical-align: middle;
    display: inline-table;
    cursor: pointer;
}

.gallery-thumbs-item-title,
.gallery-thumbs-item-order,
.gallery-thumbs-item-filename {
    display: none;
}

/* PREVIEW */

#gallery-preview {
    width: 100%;
}

.gallery-preview-item {
    margin-top: 0px;
    padding-top: 0px;
    padding-right: 5px;
    vertical-align: baseline;
}

.gallery-preview-item-image {
    float: left;
    border: 1px solid grey;
    width: 118px;
    height: 78px;
    text-align: center;
    vertical-align: middle;
    display: inline-table;
    cursor: pointer;
    margin-right: 5px;
    margin-bottom: 5px;
}

.gallery-preview-item-title,
.gallery-preview-item-order,
.gallery-preview-item-filename {
    display: none;
}

#gallery-preview-clear {
    clear: both;
}
