/** ------------------------------------------
 * Copyright (C) 2014 Andrea Guarinoni.
 * All rights reserved.
 ------------------------------------------ */

#dimmer {
    display: block;
    visibility: visible;
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9000;
    -webkit-transform: translateZ(0); /* hack only for -webkit: smooth transitions by forcing them on GPU layer */
}

.pub-full-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    /*max-width: 95%;
    max-height: 95%;*/
    /*NEW margin: 1.5%;*/
    margin: 1.5% 1.5% 3%;
    text-align: center;
    overflow: hidden;
}

.pub-full-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 25px;
    height: 25px;
    color: #fff;
    font-size: 34px;
    line-height: 23px;
    text-align: center;
    cursor: pointer;
    z-index: 9100;
    text-shadow: 0 0 2px #A7A7A7;
    /*NEW*/
    top: 1.5%;
    right: 1.5%;
    line-height: 18px;
    background-color: rgb(211, 218, 220);
    border-radius: 50%;
    /*border: 1px solid #ddd;*/
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: all 750ms ease-in-out;
}
.pub-full-close:before {
    content: "x";
    font-size: 75%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.pub-full-close:hover {
    
}

.pub-full-selector {
    position: absolute;
    margin: auto;
    /*NEW bottom: 20px;*/
    bottom: 1.5%;
    left: 0;
    right: 0;
    display: block;
    width: 100%;
    text-align: center;
    z-index: 9090;
}

.pub-full-selector-item {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    margin: 1px 1px 1px 11px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-color: #bbb;
    background-color: rgba(160,160,160,0.6);
    box-shadow: 0 0 6px #000;
    -webkit-transition: all 500ms ease;
    -moz-transition:    all 500ms ease;
    transition:         all 500ms ease;
}
.pub-full-selector-item:hover {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background-color: #ddd;
    background-color: rgba(210, 210, 210, 0.8);
}
.pub-full-selector-item-selected {
    width: 12px;
    height: 12px;
    border-radius: 12px;
    background-color: #fff;
}
.pub-full-selector-item-selected:hover {
    width: 12px;
    height: 12px;
    border-radius: 12px;
    background-color: #fff;
}

.pub-full-slider {
    position: absolute;
    height: 100%;
    overflow: hidden;
    -webkit-transition: -webkit-transform 600ms ease,
    margin 600ms ease;
    -moz-transition:    -moz-transform 600ms ease,
    margin 600ms ease;
    -ms-transition:    -ms-transform 600ms ease,
    margin 600ms ease;
    -o-transition:      -o-transform 600ms ease,
    margin 600ms ease;
    transition:         transform 600ms ease,
    margin 600ms ease;
}
.pub-full-slider-null-transition {
    -webkit-transition: none;
    -moz-transition:    none;
    -ms-transition:     none;
    -o-transition:      none;
    transition:         none;
}

.pub-full-item-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* spinner */
    /*background-image: url(data:image/gif;base64,R0lGODlhIAAgAPMAABkZGXd3dy0tLUVFRTIyMj09PWJiYlZWViYmJ…lLX+BP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA==);
    background-position: center center;
    background-repeat: no-repeat;*/
}

.pub-full-item {
    visibility: visible;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    height: auto;
    box-shadow: 0 0 10px #000;
    /*NEW added*/
    /*border: 6px solid #eee;*/
    box-sizing: border-box;
    /*border-radius: 3px;*/
}

.cursor-next {
    cursor: url('icons/next.ico'), pointer;
}
.cursor-prev {
    cursor: url('icons/prev.ico'), pointer;
}
.cursor-dragging {
    cursor: -webkit-grabbing;
}