/*Navigation style*/
.su-thumb-gallery .cbp-nav-controls {
    position: initial;
}
.su-thumb-gallery .cbp-nav-next, 
.su-thumb-gallery .cbp-nav-prev {
    position: absolute;
    top: 50%;
    height: 40px;
    width: 40px;
    background: #fff;
    border-radius: 2px;
    color: #222;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 11;
    opacity: 0;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
}
.su-thumb-gallery:hover .cbp-nav-controls > div {
    opacity: 1;
}
.su-thumb-gallery .cbp-nav-controls > div:hover {
    background: #f5f5f5;
}
.su-thumb-gallery .cbp-nav-prev {
    left: 20px;
}
.su-thumb-gallery .cbp-nav-next {
    right: 20px;
}
.su-thumb-gallery .cbp-nav-next:after, 
.su-thumb-gallery .cbp-nav-prev:after {
    font-family: FontAwesome;
    background: none;
    top: 50%;
    left: 50%;
    margin: 0;
    margin-top: -8px;
    margin-left: -2px;
    font-size: 17px;
    line-height: 17px;

}
.su-thumb-gallery .cbp-nav-prev:after {
    content: "\f104";
}
.su-thumb-gallery .cbp-nav-next:after {
    content: "\f105";
}
.su-thumb-gallery .su-tg-lbi i {
    position: absolute;
    right: 5px;
    top: 5px;
    color: #e5e5e5;
}

/*style1*/
.su-thumb-gallery-style-1 .su-tg-caption {
    position: absolute;
    bottom: 10px;
    background: #fff;
    padding: 15px 55px 15px 15px;
    left: 10px;
    border-radius: 3px 0 0 3px;
    display: inline-block;
    max-width: 80%;
}
.su-thumb-gallery-style-1 .su-tg-caption h3 {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 16px;
}
.su-thumb-gallery-style-1 .su-tg-caption p {
    margin: 0;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.su-thumb-gallery-style-1 a.su-tg-dbtn {
    position: absolute;
    right: -20px;
    height: 100%;
    background: #333;
    color: #fff;
    padding: 0 24px;
    top: 0;
    border-radius: 0 5px 4px 0;
}
.su-thumb-gallery-style-1 a.su-tg-dbtn:hover {
    background: #444;
}
.su-thumb-gallery-style-1 a.su-tg-dbtn  i {
    margin-top: -8px;
    position: absolute;
    top: 50%;
    margin-left: -5px;
}
.su-thumb-gallery-style-1.su-thumb-gallery {
    border: 1px solid rgba(0,0,0,0.1);
    background: #fff;
    padding: 10px 10px 5px 10px;
}
.su-thumb-gallery-style-1 .su-pagination {
    position: relative;
    margin-top: 10px;
    padding-top: 5px;
}
.su-thumb-gallery-style-1 .su-pagination:before {
    content: '';
    position: absolute;
    top: 0px;
    left: -10px;
    background-color: rgba(0,0,0,0.1);
    width: calc(100% + 20px);
    height: 1px;
}
.su-thumb-gallery-style-1 .su-pagination .cbp-pagination-item {
    margin-right: 5px;
    margin-top: 5px;
}
.su-thumb-gallery-style-1 .cbp-pagination-item:after {
    background: rgba(0,0,0,0.3);
}
.su-thumb-gallery-style-1 .cbp-pagination-active:after {
    background: transparent;
}

/*style2*/
.su-thumb-gallery-style-2 .su-pagination {
    z-index: 11;
    background: #fff;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: #f5f5f5;
    text-align: center;
}
.su-thumb-gallery-style-2 .su-pagination .cbp-pagination-item {
    top: -26px;
    margin-top: 0;
    z-index: 11;
    margin-right: 20px;
}
.su-thumb-gallery-style-2 .su-pagination .cbp-pagination-item:last-child {
    margin-right: 0px;
}
.su-thumb-gallery-style-2 .su-pagination .cbp-pagination-item img {
    -webkit-box-shadow: 0 0 0 6px #fff;
    box-shadow: 0 0 0 6px #fff;
    border-radius: 50%;
    height: 52px;
    width: 52px;
    -webkit-transition: transform .25s ease;
    transition: transform .25s ease;
}
.su-thumb-gallery-style-2 .su-pagination .cbp-pagination-active img {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    -webkit-box-shadow: 0 0 0 5px #fff, 0 3px 15px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 5px #fff, 0 3px 15px 0px rgba(0, 0, 0, 0.3);
}
.su-thumb-gallery-style-2 .cbp-pagination-item:after {
    display: none;
}
.su-thumb-gallery-style-2 .su-tg-caption {
    position: absolute;
    background: #fff;
    padding: 15px 55px 15px 15px;
    left: 15px;
    display: inline-block;
    max-width: 80%;
    top: 15px;
}
.su-thumb-gallery-style-2 .su-tg-caption h3 {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 16px;
}
.su-thumb-gallery-style-2 .su-tg-caption p {
    margin: 0;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.su-thumb-gallery-style-2 a.su-tg-dbtn {
    position: absolute;
    right: -20px;
    height: 100%;
    background: #444;
    color: #fff;
    padding: 0 24px;
    top: 0;
}
.su-thumb-gallery-style-2 a.su-tg-dbtn:hover {
    background: #222;
}
.su-thumb-gallery-style-2 a.su-tg-dbtn  i {
    margin-top: -8px;
    position: absolute;
    top: 50%;
    margin-left: -5px;
}
.su-thumb-gallery-style-2 .cbp-nav-controls > div {
    background: transparent;
    top: auto;
    bottom: -69px;
    opacity: 1;
    border: 1px solid #f5f5f5;
    border-radius: 50%;
}

/*style3*/
.su-thumb-gallery-style-3 .su-pagination {
    z-index: 11;
    background: #fbfbfb;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: #f5f5f5;
    text-align: center;
    padding: 15px 0;
}
.su-thumb-gallery-style-3 .su-pagination .cbp-pagination-item {
    margin-top: 0;
    z-index: 11;
    margin-right: 20px;
}
.su-thumb-gallery-style-3 .su-pagination .cbp-pagination-item:last-child {
    margin-right: 0;
}
.su-thumb-gallery-style-3 .su-pagination .cbp-pagination-item img {
    -webkit-box-shadow: 0 0 0 5px #fff;
    box-shadow: 0 0 0 5px #fff;
    border-radius: 50%;
    height: 52px;
    width: 52px;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
}
.su-thumb-gallery-style-3 .su-pagination .cbp-pagination-active img {
    -webkit-box-shadow: 0 0 0 5px #444, 0 5px 8px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 0 5px #444, 0 5px 8px 0px rgba(0, 0, 0, 0.1);
}
.su-thumb-gallery-style-3 .cbp-pagination-item:after {
    display: none;
}

.su-thumb-gallery-style-3 .su-tg-caption {
    position: absolute;
    background: #fff;
    padding: 15px 55px 15px 15px;
    left: 15px;
    display: inline-block;
    max-width: 80%;
    bottom: 15px;
}
.su-thumb-gallery-style-3 .su-tg-caption h3 {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 16px;
}
.su-thumb-gallery-style-3 .su-tg-caption p {
    margin: 0;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.su-thumb-gallery-style-3 a.su-tg-dbtn {
    position: absolute;
    right: -20px;
    height: 100%;
    background: #444;
    color: #fff;
    padding: 0 24px;
    top: 0;
}
.su-thumb-gallery-style-3 a.su-tg-dbtn:hover {
    background: #222;
}
.su-thumb-gallery-style-3 a.su-tg-dbtn  i {
    margin-top: -8px;
    position: absolute;
    top: 50%;
    margin-left: -5px;
}
.su-thumb-gallery-style-3 .cbp-nav-controls > div {
    top: auto;
    bottom: -82px;
    opacity: 1;
    border: 2px solid #f5f5f5;
    border-radius: 50%;
}
.su-thumb-gallery-style-3 .cbp-nav-controls > div:hover {
    background: #444;
    border: 2px solid #454545;
    color: #fff;
}

/*style4*/
.su-thumb-gallery-style-4 {
    position: relative;
}
.su-thumb-gallery-style-4 .su-pagination {
    position: absolute;
    bottom: 10px;
    z-index: 11;
    left: 15px;
}
.su-thumb-gallery-style-4 .su-pagination .cbp-pagination-item img, 
.su-thumb-gallery-style-5 .su-pagination .cbp-pagination-item img {
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}
.su-thumb-gallery-style-4 .su-pagination .cbp-pagination-item:not(.cbp-pagination-active) img, 
.su-thumb-gallery-style-5 .su-pagination .cbp-pagination-item:not(.cbp-pagination-active) img {
    opacity: 0.4;
}
.su-thumb-gallery-style-4 .su-tg-caption {
    position: absolute;
    background: rgba(0,0,0,0.5);
    padding: 15px 55px 15px 15px;
    left: 15px;
    display: inline-block;
    max-width: 80%;
    top: 15px;
}
.su-thumb-gallery-style-4 .su-tg-caption h3 {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 16px;
    color: #fff;
}
.su-thumb-gallery-style-4 .su-tg-caption p {
    margin: 0;
    font-size: 12px;
    color: #ddd;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.su-thumb-gallery-style-4 a.su-tg-dbtn {
    position: absolute;
    right: -20px;
    height: 100%;
    background: #444;
    color: #fff;
    padding: 0 30px;
    top: 0;
}
.su-thumb-gallery-style-4 a.su-tg-dbtn:hover {
    background: #222;
}
.su-thumb-gallery-style-4 a.su-tg-dbtn  i {
    margin-top: -8px;
    position: absolute;
    top: 50%;
    margin-left: -5px;
}
.su-thumb-gallery-style-4 a.su-tg-dbtn  i:after {
    margin-top: -8px;
    position: absolute;
    top: 50%;
    margin-left: -5px;
}
.su-thumb-gallery-style-4 .cbp-pagination-item:after {
    display: none;
}
.su-thumb-gallery-style-4 .cbp-nav-controls > div {
    background: rgba(0,0,0,0.5);
    color: #fff;
    border-radius: 0;
}
.su-thumb-gallery-style-4 .cbp-nav-controls > div:hover {
    background: rgba(0,0,0,0.7);
}

/*style5*/
.su-thumb-gallery-style-5 .su-pagination {
    background: #fff;
    border-width: 0 1px 1px 0px;
    border-style: solid;
    border-color: #f5f5f5;
    height: 72px;
}
.su-thumb-gallery-style-5 .su-pagination .cbp-pagination-item {
    margin-top: 0;
    z-index: 11;
    margin-right: 0;
    float: left;
}
.su-thumb-gallery-style-5 .su-pagination .cbp-pagination-item {
    margin-top: 0;
    z-index: 11;
    margin-right: 0;
    overflow: hidden;
}
.su-thumb-gallery-style-5 .su-pagination img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}
.su-thumb-gallery-style-5 .cbp-pagination-item:after {
    display: none;
}

.su-thumb-gallery-style-5 .su-tg-caption {
    position: absolute;
    background: #fff;
    padding: 15px 55px 15px 15px;
    border-radius: 3px 0 0 3px;
    left: 15px;
    display: inline-block;
    max-width: 80%;
    bottom: 15px;
}
.su-thumb-gallery-style-5 .su-tg-caption h3 {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 16px;
}
.su-thumb-gallery-style-5 .su-tg-caption p {
    margin: 0;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.su-thumb-gallery-style-5 a.su-tg-dbtn {
    position: absolute;
    right: -40px;
    height: 100%;
    background: #444;
    color: #fff;
    padding: 0 30px;
    top: 0;
    -webkit-transform: skewX(-20deg);
    transform: skewX(-20deg);
    border-radius: 0px 5px 3px 1px;
}
.su-thumb-gallery-style-5 a.su-tg-dbtn:hover {
    background: #222;
}
.su-thumb-gallery-style-5 a.su-tg-dbtn  i {
    margin-top: -8px;
    position: absolute;
    top: 50%;
    margin-left: -5px;
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
}
.su-thumb-gallery-style-5 .cbp-nav-prev {
    right: 40px;
    left: auto;
}
.su-thumb-gallery-style-5 .cbp-nav-controls > div {
    bottom: -108px;
    height: 72px;
    top: auto;
    background: transparent;
    opacity: 1;
    border-radius: 0;
}
.su-thumb-gallery-style-5 .cbp-nav-controls > div:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    background: #f5f5f5;
    left: 0;
    top: 0;
}
.su-thumb-gallery-style-5 .cbp-nav-controls > div:after {
    margin-left: 0;
    font-size: 18px;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
}
.su-thumb-gallery-style-5 .cbp-nav-next {
    right: 0;
}

/*Responsive Media*/
@media screen and (max-width: 480px) {
    .su-thumb-gallery .su-tg-caption {
        display: none;
    }
    .su-thumb-gallery-style-2 .su-pagination, 
    .su-thumb-gallery-style-3 .su-pagination {
        height: 60px;
    }
    .su-thumb-gallery-style-2 .su-pagination .cbp-pagination-item, 
    .su-thumb-gallery-style-3 .su-pagination .cbp-pagination-item, 
    .su-thumb-gallery-style-5 .su-pagination .cbp-pagination-item {
        display: none;
    }
}