
.quiqqer-gallery-slider {
    float: left;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.quiqqer-gallery-slider-control::before {
    content: "";
    display: block;
    /* initial ratio of 3:2, the real ratio should be 66.666% */
    padding-top: 67%;
}

.quiqqer-gallery-slider-content {
    left: 0;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
}

.quiqqer-gallery-slider-content:hover .quiqqer-gallery-slider-zoom {
    display: inline;
}

.quiqqer-gallery-slider-prev,
.quiqqer-gallery-slider-next {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    cursor: pointer;
    float: left;
    font-size: 26px;
    height: 60px;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: calc(50% - 30px);
    transition: all 0.5s ease;
    width: 40px;
    z-index: 10;

    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.quiqqer-gallery-slider:hover .quiqqer-gallery-slider-prev,
.quiqqer-gallery-slider:hover .quiqqer-gallery-slider-next {
    color: #fff;
    opacity: 1;
}

.quiqqer-gallery-slider:hover .quiqqer-gallery-slider-title {
    opacity: 0;
}

.quiqqer-gallery-slider-prev {
    left: 10px;
}

.quiqqer-gallery-slider-next {
    right: 10px;
}

.quiqqer-gallery-slider-prev:hover,
.quiqqer-gallery-slider-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.quiqqer-gallery-slider .fa,
.quiqqer-gallery-slider .fa {
    line-height: 60px;
}

.quiqqer-gallery-slider-title {
    background: rgba(0, 0, 0, 0.5);
    bottom: 0;
    left: 0;
    height: 50px;
    overflow: hidden;
    padding: 10px;
    position: absolute;
    width: 100%;
    z-index: 2;
}

.quiqqer-gallery-slider-title-header {
    color: #fff;
    font-weight: bold;
}

.quiqqer-gallery-slider-title-text {
    color: #fff;
    opacity: 1;
    transition: all 0.5s ease;

    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.quiqqer-gallery-slider-image {
    height: auto;
    max-width: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
}

.quiqqer-gallery-slider-content-imagefit .quiqqer-gallery-slider-image {
    max-height: 100%;
}

/** controls
 * ========================================== */

.quiqqer-gallery-slider-controls {
    opacity: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    transition: all 0.5s ease;
    z-index: 10;

    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.quiqqer-gallery-slider:hover .quiqqer-gallery-slider-controls {
    opacity: 2;
}

.quiqqer-gallery-slider-controls .fa {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid transparent;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    float: left;
    line-height: 30px;
    margin: 0 5px;
    padding: 0 10px;
}

.quiqqer-gallery-slider-controls .fa:hover {
    background: rgba(0, 0, 0, 0.8);
}

.quiqqer-gallery-slider-controls .fa.control-background-active {
    background: #0069B4;
}

/** Preview
 * ========================================== */

.quiqqer-gallery-slider-previews {
    bottom: 0;
    float: left;
    height: 80px;
    left: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 100%;
}

.quiqqer-gallery-slider-previews-entry {
    float: left;
}

.quiqqer-gallery-slider-previews-prev,
.quiqqer-gallery-slider-previews-next {
    cursor: pointer;
    float: left;
    height: 80px;
    line-height: 80px;
    text-align: center;
    width: 20px;
}

.quiqqer-gallery-slider-previews-container {
    float: left;
    height: 80px;
    overflow: hidden;
    position: relative;
    width: calc(100% - 40px);
}

.quiqqer-gallery-slider-previews-containerInner {
    left: 0;
    position: relative;
}

.quiqqer-gallery-slider-previews-container img {
    cursor: pointer;
    padding-right: 5px;
}

.quiqqer-gallery-slider-previews-container img:hover {
    opacity: 0.5;
}

.quiqqer-gallery-slider-active-preview {
    opacity: 0.2;
}

/** outsitde settings */
.quiqqer-gallery-slider-previewOutside .quiqqer-gallery-slider-content {
    border-bottom: 1px solid #fff;
    height: calc(100% - 80px);
}