/* = gallery
-------------------------------------------------------------- */
.tdp_element {
    margin-bottom: 50px;
}

.tdp_gallery {
    text-align: center;
}
.tdp_gallery .gallery_preview {
    display: none;
}
.tdp_gallery.gallery_layout2 .gallery_preview {
    display: block;
    text-align: center;
    background-color: #333;
    margin-bottom: 10px;
    border: 1px solid #ededed;
    background-color: #f6f6f6;
    padding: 5px;
}
.tdp_gallery .gallery_preview .preview_panel {
    position: relative;
    min-height: 100px;
    display: block;
}
.tdp_gallery .gallery_preview .preview_panel img {
    width: 100%;
}
.tdp_gallery .gallery_preview .preview_panel .thumb {
    display: block;
}
.tdp_gallery .gallery_preview .preview_panel .hover i {
    position: relative;
    top: 49%;
    color: #fff;
    font-size: 22px;
}
.tdp_gallery .gallery_preview a {
}

.tdp_gallery .gallery_thumbs {
}
.tdp_gallery .gallery_thumbs .thumb {
    position: relative;
    line-height: 0px;
    display: inline-block;
    width: 100%;
}
.tdp_gallery .gallery_thumbs a {
    display: inline-block;
    border: 1px solid #ededed;
    padding: 5px;
    line-height: 0px;
    background-color: #f6f6f6;
    position: relative;
    margin: 1%;
}
.tdp_gallery .gallery_thumbs a img {
    width: 100%;
}
.tdp_gallery .gallery_preview .preview_panel .hover,
.tdp_gallery .gallery_thumbs .hover {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 180, 203, 0.8);
    top: 0px;
    left: 0px;
    text-align: center;
    display: none;
    -webkit-transition: all 0.25s ease-out;
}
.tdp_gallery .gallery_thumbs .hover i {
    position: relative;
    top: 48%;
    color: #fff;
    font-size: 18px;
}
.tdp_gallery .gallery_preview .preview_panel a:hover .hover,
.tdp_gallery .gallery_thumbs a:hover .hover {
    display: block;
}

/* Layout - 2 */
.tdp_gallery.gallery_layout2 {
}
.tdp_gallery.gallery_layout2 .gallery_thumbs {
    display: block;
    text-align: center;
}
.tdp_gallery.gallery_layout2 .gallery_thumbs .thumb {
    width: 50px;
}
.tdp_gallery.gallery_layout2 .gallery_thumbs .hover i {
    font-size: 14px;
    top: 38%;
}

/* Layout - iMac */
.tdp_gallery.gallery_imac,
.tdp_gallery.gallery_laptop,
.tdp_gallery.gallery_iphone {
    position: relative;
    display: block;
    padding-left: 10px;
    padding-right: 10px;
}
.tdp_gallery.gallery_imac .gallery_prev,
.tdp_gallery.gallery_laptop .gallery_prev,
.tdp_gallery.gallery_iphone .gallery_prev {
    font-size: 1.8em;
    position: absolute;
    left: 0px;
    top: 50%;
    margin-top: -1.8em;
}
.tdp_gallery.gallery_imac .gallery_next,
.tdp_gallery.gallery_laptop .gallery_next,
.tdp_gallery.gallery_iphone .gallery_next {
    font-size: 1.8em;
    position: absolute;
    right: 0px;
    top: 50%;
    margin-top: -1.8em;
}

.tdp_gallery.gallery_laptop .gallery_prev,
.tdp_gallery.gallery_laptop .gallery_next {
    margin-top: 0px;
}
.tdp_gallery .gallery_viewport {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}
.tdp_gallery .gallery_viewport > div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

/* tdp Gallery Layout slider */
.tdp_gallery.gallery_layout_slider {
    display: block;
    border: 1px solid #ededed;
    background-color: #f6f6f6;
    padding: 5px;
    margin-bottom: 20px;
    position: relative;
}
.tdp_gallery.gallery_layout_slider .gallery_preview {
    display: block;
}
.tdp_gallery.gallery_layout_slider .gallery_preview img {
    width: 100%;
}
.tdp_gallery.gallery_layout_slider .gallery_pager {
    position: absolute;
    bottom: 25px;
    display: block;
    text-align: center;
    width: 100%;
    z-index: 100;
}
.tdp_gallery.gallery_layout_slider .gallery_pager span {
    display: inline-block;
    border-radius: 50%;
    border: 3px solid #cdcdcd;
    background-color: #fff;
    color: #fff;
    line-height: 0px;
    padding: 4px;
    width: 9px;
    height: 9px;
    margin-right: 3px;
    margin-left: 3px;
    cursor: pointer;
}
.tdp_gallery.gallery_layout_slider .gallery_pager span.cycle-pager-active {
    border-color: #00b4cc;
}
