.gallery-section-content .container {
    max-width: 75em;
    width: 100%;
    margin: 0 auto 50px;
}

.gallery-section-content .page-title h2 {
    font-size: 24px !important;
    color: #2413c5;
    font-weight: 500;
    line-height: 1.5em;
    text-align: right;
    margin: 0;
    padding: 20px 0 0 0;
    float: right;
}
.gallery-popup-wrapper{
	z-index: 999999;
}
.image-wrapper .gallery-items:nth-child(4) {
    margin-left: 0;
    margin-right: 10px;
}
.image-wrapper .gallery-items:nth-child(7) {
    margin-left: 0;
    margin-right: 10px;
}
.gallery-section-content .page-title {
    border-bottom: 1px solid #D9DADB;
    padding-bottom: 10px;
    width: 100%;
    display: inline-block;
    padding-top: 40px;
    margin-bottom: 30px;
}

.gallery-wrap #gallery-section .image-holder .image-wrapper {
    width: 33%;    
	display:inline-block;

}
.gallery-popup-content .content-holder {
    padding: 5px 5px 40px 5px;
    background: rgb(201, 201, 201);
}
.image-wrapper .gallery-items {
    margin:0 10px 10px 0px;
    border-radius: 8px;
    overflow: hidden;
}

.image-wrapper .gallery-items:first-child {
	margin-left: 0;
}
.gallery-go-back {
    cursor: pointer;
    padding: 6px 16px;
    display: inline-block;
    border-radius: 20px;
    line-height: 2;
    color: #2b37c6;
    font-size: 12px;
    font-weight: 500;
    background: rgb(42 55 197 / 10%);
    margin-bottom: 10px;
}
.image-view-port .image-wrapper {
    width: 22%;
	display: inline;
}

.gallery-items {
    position: relative
}

.gallery-items figcaption {
    position: absolute;
    bottom: 0;
    text-align: right;
    color: #fff;
    padding: 10px;
    width: 100%;
    background: linear-gradient(9deg, #2413c5 51%, #e4e538 100%);
    cursor: pointer;
    opacity: 0.9;
    height: 60px;
}

#gallery-section .gallery-description h3 {
     font-size: 20px;
    color: #2a37c5;
    padding-bottom: 10px;
    margin: 0;
    line-height: 24px;
}

#gallery-section .gallery-description p {
    font-size: 14px;
    color: #58595b;
    font-family: Cairo, sans-serif;
    line-height: 24px;
    padding: 10px 0 10px 0;
    text-align: right;
    direction: rtl
}

.gallery-items figcaption img {
    margin: -5px 5px 0 0;
    display: inline-block
}

.image-view-port .gallery-items {
    width: 32.3%;
    display:inline-block !important;
}


.image-wrapper .gallery-items:nth-child(5n) {
    margin-left: 0
}

.gallery-popup-next {
        background: url(../images/slider-arrow-sprite.png);
    height: 51px;
    width: 30px;
    display: block;
    color: transparent;
    right: 20px;
    position: absolute;
    bottom: 48%;
    cursor: pointer;
    background-position: 30px 1px;
}

.gallery-popup-prev {
        background: url(../images/slider-arrow-sprite.png);
    height: 50px;
    width: 33px;
    display: block;
    color: transparent;
    left: 20px;
    position: absolute;
    top: 45%;
    cursor: pointer;
}

.gallery-popup-figcaption {
    text-align: right;
    color: #000000;
    padding: 10px 10px 10px 0;
    width: 100%;
    text-transform: capitalize;
    cursor: pointer;
    font-family: Cairo, sans-serif;
}

.category-description {
    display: none
}

.gallery-popup-content .category-description {
    display: block
}

.image-view-port .category-description {
    display: none;
}

.image-view-port .category-heading {
    display: block;
}

.gallery-popup-wrapper .gallery-popup-content {
    width: 60%!important;
}

iframe.gallery-video-popup {
    width: 100%!important
}
.jssocials-share-googleplus .jssocials-share-link {
    background: #fff;
    padding: 3px;
    border-radius: 3px;
    font-size: 11px;
    color: #db4437;
}
.jssocials-share-facebook .jssocials-share-link {
    background: #365899;
    padding: 2px;
    font-size: 11px;
    color: #fff;
    border-radius: 2px;
}
.jssocials-share-twitter .jssocials-share-link {
    background: #1b95e0;
    font-size: 11px;
    color: #fff;
    padding: 3px;
    border-radius: 2px;
}
.jssocials-share-linkedin .jssocials-share-link {
    background: #0e76a8;
    font-size: 11px;
    color: #fff;
    padding: 3px;
    border-radius: 2px;
}
.jssocials-share-instagram .jssocials-share-link {
    background: #3f729b;
    font-size: 11px;
    color: #fff;
    padding: 3px;
    border-radius: 2px;
}
.jssocials-share-facebook {
    margin: 8px 0;
}
.jssocials-share-googleplus {
    margin: 8px 0;
}
.jssocials-share-linkedin {
    margin: 8px 0;
}
.jssocials-share-instagram {
    margin: 8px 0;
}
.jssocials-shares {
    position: absolute;
    width: 23%;
    left: 0;
    bottom: 60px;
    background: #004990;
    padding: 10px 20px;
    border-radius: 5px;
}
.jssocials-shares:before {
    position: absolute;
    content: "";
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-top: 10px solid #004990;
    margin-left: -140px;
    top: 165px;
    z-index: 9999;
}
.category-description .share-container {
    display: none;
}
.gallery-popup-figcaption .share-container {
    display: block;
}
.category-description{display: none;}
.gallery-popup-content .category-description{display: block;}
.image-view-port .category-description{display: block;}
.image-view-port .category-description.no-ribbon{display: block;background:none;}
.image-view-port .category-heading{display: none;}



.gallery-popup-content.popup-top {
    top:20% !important;
}
.gallery-popup-content .jssocials-share-logo {
    display: none;
}
.jssocials-share .jssocials-share-logo {
    height: auto !important;
    display: inline-block !important;
    padding-right:5px;
}

@media screen and (max-width:768px) {
    .gallery-popup-wrapper .gallery-popup-content {
        top: 10%!important
    }
    .image-view-port .gallery-items {
        width: 32%
    }
    .image-wrapper .gallery-items:nth-child(4n) {
        margin-left: 0
    }
    .image-wrapper .gallery-items:nth-child(5n) {
        margin-left: 5px
    }
    .jssocials-shares:before {
        margin-left:-85px;
    }
}

@media screen and (max-width:650px) {
    .image-view-port .gallery-items {
        width: 48%
    }
    .image-wrapper .gallery-items:nth-child(odd) {
        margin-left: 0
    }
    .image-wrapper .gallery-items:nth-child(4n) {
        margin-left: 5px
    }
    .image-wrapper .gallery-items:nth-child(5n) {
        margin-left: 0
    }
    .jssocials-shares {
        width:45%;
    }
}



#demo1.sharrre {
    width: 100%;
    display: inline-block;
    position: relative;
    top: 0
}

.sharrre .box {
    float: left
}

.sharrre .share {
    color: #fff;
    display: block;
    font-size: 11px;
    height: 16px;
    line-height: 16px;
    margin-top: 3px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    width: 50px;
    background-color: #9cce39;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px
}

.sharrre .buttons {
    display: block;
    float: right;
    width: 300px
}

.sharrre .button {
    float: right;
    max-width: 50px;
    height: 50px;
    margin-left: 10px
}

.share-container {
    position: relative
}

.share-container .pop-img {
    display: block!important
}

.content-holder .pop-img {
    display: none
}

.gallery-items img {
    width: 100%;
    height: 221px;
}
.gallery-popup-wrapper {
    z-index: 999999;
}
.video-overlay:before {
    content: "";
    position: absolute;
    width: 80px;
    height: 61px;
    background: transparent url(../images/video-play-icon.png) no-repeat;
    pointer-events: none;
    left: 0;
    top: 0;
    right: 0;
    cursor: pointer;
    bottom: 0;
    margin: auto;
    z-index: 0;
}
.gallery-popup-close {
    cursor: pointer;
    background-image: url(../../../images/close.png) !important;
}
.gallary-load-more-button,
.load-more-images-button,
.gallary-load-image-more-button {
	    background-image: linear-gradient(340deg, #2413c5 25%, #e4e538 100%);
	    color: #fff;
	    padding: 10px 30px;
	    border-radius: 20px;
	    font-weight: 500;
}

.gallery-button-container {
   margin-top: 34px;
	 display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;  /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
  
  justify-content: center;
  align-items: center;
}

.gallery-button-container .gallary-load-more-button {
font-size: 14px;
    background-image: linear-gradient(340deg, #2413c5 25%, #e4e538 100%);
    color: #fff;
    padding: 10px 30px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
	}
@media screen and (max-width: 1920px) {
    iframe.gallery-video-popup {
        width: 100% !important;
        height:700px;
    }
    .gallery-popup-wrapper .gallery-popup-content {
        width:65% !important;
        top:6% !important;
    }
}
@media screen and (max-width: 1680px) {
    iframe.gallery-video-popup {
        width: 100% !important;
        height:615px;
    }
    .gallery-popup-wrapper .gallery-popup-content {
        width:65% !important;
        top:6% !important;
    }
}
@media screen and (max-width: 1440px) {
    iframe.gallery-video-popup {
        width: 100% !important;
        height:442px;
    }
    .gallery-popup-wrapper .gallery-popup-content {
        width:64% !important;
        top:6% !important;
    }
}
@media screen and (max-width: 1440px) {
    iframe.gallery-video-popup {
        width: 100% !important;
    }
    .gallery-popup-wrapper .gallery-popup-content {
        width:59% !important;
        top:6% !important;
    }
}
@media screen and (max-width: 1280px) {
    iframe.gallery-video-popup {
        width: 100% !important;
        height:463px;
    }
    .gallery-popup-wrapper .gallery-popup-content {
        width:65% !important;
        top:6% !important;
    }
}
@media screen and (max-width: 1024px) {
    iframe.gallery-video-popup {
        width: 100% !important;
        height:456px;
    }
    .gallery-popup-wrapper .gallery-popup-content {
        width:80% !important;
        top:6% !important;
    }
}
@media screen and (max-width: 768px) {
    .video-popup .video-block {
        display: inline-block;
        width: 100%;
        margin-right: 0px;
        margin-bottom: 35px;
    }

        .gallery-popup-wrapper .gallery-popup-content {
    top:10% !important;
     height:456px;
}
	.image-view-port .gallery-items {
    width: 48%;
}
}
@media screen and (max-width: 480px) {
    .image-wrapper .gallery-items {
    margin: 0 0px 10px 0px;
}
    .image-wrapper .gallery-items:nth-child(4n) {
    margin-left: 0;
}
    .image-wrapper .gallery-items:nth-child(5n) {
    margin-left: 0;
}
    .image-wrapper .gallery-items:nth-child(odd) {
     margin-left: 0; 
}
    .jssocials-shares:before {
        margin-left:-110px;
    }
    .gallery-popup-wrapper .gallery-popup-content {
        width: 80% !important;
        top: 25% !important;
        left: 0 !important;
    }
    iframe.gallery-video-popup {
    width: 100% !important;
    height: 186px;
}
}
@media screen and (max-width:480px) {
    .gallery-popup-wrapper .gallery-popup-content {
        width: 80%!important;
        top: 25%!important;
        left: 0!important
    }
    .gallery-wrap #gallery-section .image-holder .image-wrapper {
        width: 100%
    }
    .image-view-port .gallery-items {
        width: 100%
    }
    .gallery-popup-content {
        top: 25%!important
    }
    .gallery-popup-next {
        right: 10px
    }
    .gallery-popup-prev {
        left: 10px
    }
    .gallery-popup-content .content-holder {
        padding: 5px 5px 0px 5px;
        background: rgb(201, 201, 201);
    }
}

@media screen and (max-width: 375px) {
    iframe.gallery-video-popup {
        width: 100% !important;
        height: 165px;
    }
    .jssocials-shares:before {
        margin-left: -90px;
    }
}