/*******************************Mosaic View layout*************************************/

.ap_wait_loader img {
    width: 50px;
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.table-outer {
    display: table;
    width: 100%;
    height: 100%;
}

.table-inner {
    display: table-cell;
    vertical-align: middle;
}


/* ---- Thumb view style ---- */

.thumb-view .thumb-elem {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.thumb-view .thumb-elem.hovermove header.thumb-elem-header .featimg img.the-thumb {
    width: 130%;
    height: auto;
    position: absolute;
    top: -15%;
    left: -15%;
    max-width: none;
}


/* ---- End Thumb view style ---- */

.featimg a {
    display: block;
}

.grid-small {
    width: 16.6666%;
}

.grid-medium {
    width: 33.3333%;
}

.grid-large {
    width: 33.3333%;
}

.transparent-image {
    width: 100%;
    vertical-align: middle;
}

.grid-hover {
    position: absolute;
    display: none;
}

.grid-small {
    padding: 5px;
}

.grid-medium {
    padding: 3px 5px 5px 5px;
}

.grid-large {
    padding: 5px;
}

#owl-demo .item {
    margin: 3px;
}

#owl-demo .item img {
    display: block;
    width: 100%;
    height: auto;
}

.owl-carousel .owl-item {
    float: left;
}

.owl-carousel .owl-wrapper-outer {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.thumb-elem-header {
    position: relative;
}

.image-hover {
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    position: absolute;
    bottom: -100%;
    left: 0px;
    width: 100%;
    height: auto;
    line-height: normal;
    text-align: center;
    -webkit-transition: all 3s ease 0s;
    -moz-transition: all 3s ease 0s;
    transition: all 3s ease 0s;
    z-index: 9999;
}

.masonry_elem .image-hover, .masonry_elem .image-hover:active, .masonry_elem .image-hover:hover, .masonry_elem .image-hover:focus {
    color: #ffffff;
}

.owl-item:hover .image-hover, .masonry_elem:hover .image-hover {
    bottom: 0;
    cursor: pointer;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

span.follow {
    float: left;
}

span.follow_icon {
    float: right;
}

.owl-item:hover .instagram_like_count, .masonry_elem:hover .instagram_like_count {
    opacity: 1
}

span.instagram_like_count span {
    display: inline-block;
    font-size: 1em;
}

span.instagram_like_count {
    opacity: 0;
    display: block;
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    margin-top: -14.5px;
    color: #ffffff;
    -webkit-transition: all .3s ease 0s;
    -moz-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
}

.instagram_imge_like:before {
    position: absolute;
    content: '';
    display: block;
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(255, 255, 255, 0.85)));
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 100%);
    background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 100%);
    background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#d9ffffff', GradientType=1);
    width: 35%;
    top: 30%;
    height: 1px;
    left: 5%;
}

.instagram_imge_like:after {
    position: absolute;
    content: '';
    display: block;
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0.85)), color-stop(100%, rgba(255, 255, 255, 0)));
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
    background: -o-linear-gradient(left, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
    background: -ms-linear-gradient(left, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#d9ffffff', endColorstr='#00ffffff', GradientType=1);
    width: 35%;
    top: 30%;
    height: 1px;
    right: 5%;
}

.instagram_imge_like {
    position: relative;
}

.instagram_imge_like .count {
    display: block;
}

.instagram-widget {
    width: 100%;
    padding: 8px 0
}

.instagram-widget li {
    width: 31.33%;
    float: left;
    margin-right: 3%;
    margin-bottom: 3%;
    list-style: none;
    overflow: hidden;
    height: 100px
}

.instagram-widget li:nth-child(3n) {
    margin-right: 0
}

.widget-title-insta {
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: #d28d56;
    font-size: 20px;
    line-height: normal;
    position: relative;
}

.widget_apif_pro_sidewidget .apif-profile {
    background: #295988;
    padding: 10px;
}

.widget_apif_pro_sidewidget .apif-profile-img {
    width: 15%;
    border: 1px solid #ffffff;
    overflow: hidden;
    border-radius: 100%;
    display: inline-block;
    vertical-align: middle;
}

.widget_apif_pro_sidewidget .apif-profile-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    display: inline-block;
    vertical-align: middle;
}

.widget_apif_pro_sidewidget .apif-profile-name {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 18px;
    text-align: left;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.widget_apif_pro_sidewidget .apif-profile-follow {
    background: #F8F8F8;
    padding: 5px;
    border-bottom: 1px solid #eeeeee;
    position: relative;
}

.widget_apif_pro_sidewidget .apif-profile-follow>div {
    float: left;
    width: 25%;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    color: #295988;
}

.widget_apif_pro_sidewidget .apif-profile-follow>div>span {
    display: block;
    font-weight: normal;
    font-size: 10px;
    color: #999999;
    text-transform: capitalize;
}

.widget_apif_pro_sidewidget .apif-profile-follow .follow {
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    padding: 5px;
}

.widget_apif_pro_sidewidget .follow-inner {
    height: 100%;
}

.widget_apif_pro_sidewidget .apif-profile-follow .follow a {
    display: inline-block;
    width: 100%;
    padding: 5px 0px;
    background: #275A89;
    color: #ffffff;
    border: 1px solid #275A89;
    text-transform: capitalize;
    font-weight: bold;
    font-size: 10px;
}

.widget_apif_pro_sidewidget .apif-profile-follow .follow a:hover {
    background: transparent;
    color: #275A89;
    border: 1px solid #275A89;
}

.widget_apif_pro_sidewidget li img {
    /* transition: transform .2s ease-in-out;
  -webkit-transition: transform .2s ease-in-out;
  -moz-transition: transform .2s ease-in-out;
   transform: scale(1.1),translateZ(0);
 -webkit-transform: scale(1.1),translateZ(0);
 -moz-transform: scale(1.1),translateZ(0);*/
    max-width: none;
    width: -webkit-calc(100% + 10px);
    width: calc(100% + 10px);
    opacity: 0.7;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
}

.widget_apif_pro_sidewidget li img:hover {
    /* transform: scale(1);
 -webkit-transform: scale(1);
 -moz-transform: scale(1);*/
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1
}


/*.apif-widget-wrapper span.follow {
    font-size: 10px;
    margin-left:-20px;

.apif-widget-wrapper .image-hover{
    padding:0;
}
.apif-widget-wrapper .fa-heart-o:before {
    content: "\f08a";
    font-size: 16px;
}*/


/* Css start for Instagram pro */


/* Bottom to top */

.apif-bottom-to-top {
    /* width: 20%;*/
    float: left;
}

.apif-bottom-to-top figure {
    position: relative;
    overflow: hidden;
}

.apif-bottom-to-top figure .apif-image-overlay {
    bottom: -300px;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
}

.apif-bottom-to-top:hover figure .apif-image-overlay {
    opacity: 1;
    bottom: 0;
}

.apif-bottom-to-top .apif-image-overlay {
    background: rgba(255, 255, 255, 0.8);
}

.apif-bottom-to-top figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: 0;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.9s ease-in-out 0s;
}

.apif-bottom-to-top:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
}

.apif-bottom-to-top figure .profile-image {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-top: 25px;
}

.apif-bottom-to-top figure .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-bottom-to-top .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-bottom-to-top .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
}

.apif-bottom-to-top span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
}

.apif-ins-link {
    z-index: 99;
}

.apif-bottom-to-top .coment-like {
    padding: 20px;
    display: block;
}

.apif-bottom-to-top .apif-user-name {
    font-weight: bold;
    font-size: 15px;
}

.apif-bottom-to-top .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}


/* left to right */

.apif-left-to-right {
    /*width: 20%;*/
    float: left;
}

.apif-left-to-right figure {
    position: relative;
    overflow: hidden;
}

.apif-left-to-right figure .apif-image-overlay {
    left: -300px;
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    top: 0;
}

.apif-left-to-right:hover figure .apif-image-overlay {
    opacity: 1;
    left: 0;
}

.apif-left-to-right .apif-image-overlay {
    background: rgba(255, 255, 255, 0.8);
}

.apif-left-to-right figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: 0;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.9s ease-in-out 0s;
}

.apif-left-to-right:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
}

.apif-left-to-right figure .profile-image {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-top: 25px;
}

.apif-left-to-right figure .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-left-to-right .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-left-to-right .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
}

.apif-left-to-right span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
}

.apif-left-to-right .coment-like {
    padding: 20px;
    display: block;
}

.apif-left-to-right .apif-user-name {
    font-weight: bold;
    font-size: 15px;
}

.apif-left-to-right .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}


/* top to bottom */

/*.apif-owl-silder figure {
    min-height: 173px;
}*/

.apif-top-to-bottom {
    /*width: 20%;*/
    float: left;
    width: 100%;
}

.apif-top-to-bottom figure {
    position: relative;
    overflow: hidden;
}

.apif-top-to-bottom figure .apif-image-overlay {
    top: -300px;
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    left: 0;
    right: 0;
}

.apif-top-to-bottom:hover figure .apif-image-overlay {
    opacity: 1;
    top: 0;
}

.apif-top-to-bottom .apif-image-overlay {
    background: rgba(255, 255, 255, 0.8);
}

.apif-top-to-bottom figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: 0;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.9s ease-in-out 0s;
}

.apif-top-to-bottom:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
}

.apif-top-to-bottom figure .profile-image {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-top: 25px;
}

.apif-top-to-bottom figure .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-top-to-bottom .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-top-to-bottom .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
}

.apif-top-to-bottom span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
}

.apif-top-to-bottom .coment-like {
    display: block;
    padding: 20px;
    margin: 0 auto;
    font-size: 13px;
}

.apif-top-to-bottom .apif-user-name {
    font-weight: bold;
    font-size: 15px;
}

.apif-top-to-bottom .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}


/* right to left */

.apif-right-to-left {
    /*width: 20%;*/
    float: left;
}

.apif-right-to-left figure {
    position: relative;
    overflow: hidden;
}

.apif-right-to-left figure .apif-image-overlay {
    right: -300px;
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    top: 0;
}

.apif-right-to-left:hover figure .apif-image-overlay {
    opacity: 1;
    right: 0;
}

.apif-right-to-left .apif-image-overlay {
    background: rgba(255, 255, 255, 0.8);
}

.apif-right-to-left figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: 0;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.9s ease-in-out 0s;
}

.apif-right-to-left:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
}

.apif-right-to-left figure .profile-image {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-top: 25px;
}

.apif-right-to-left figure .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-right-to-left .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-right-to-left .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
}

.apif-right-to-left span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
    z-index: 99;
}

.apif-right-to-left .coment-like {
    padding: 20px;
    display: block;
}

.apif-right-to-left .apif-user-name {
    font-weight: bold;
    font-size: 15px;
}

.apif-right-to-left .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}


/* apif-masnry-ui-one */

.apif-masnry-ui-one {
    /*width: 20%;*/
    float: left;
}

.apif-masnry-ui-one figure {
    position: relative;
    overflow: hidden;
    margin: 0;
    min-height: 270px;
}

.apif-masnry-ui-one figure .apif-image-overlay {
    right: -300px;
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    top: 0;
}

.apif-masnry-ui-one:hover figure .apif-image-overlay {
    opacity: 0.7;
    right: 0;
}

.apif-masnry-ui-one .apif-image-overlay {
    /*background: rgba(141,48,130,4);*/
    background: -moz-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(141, 48, 130, 8)), color-stop(100%, rgba(201, 43, 29, 4)));
    background: -webkit-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: -o-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: -ms-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: linear-gradient(to bottom, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#8d3082', endColorstr='#c92b1d', GradientType=0);
}

.apif-masnry-ui-one figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: 0;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.9s ease-in-out 0s;
}

.apif-masnry-ui-one figure .apif-view-n-popup {
    margin-top: 30px;
}

.apif-masnry-ui-one figure .apif-view-n-popup i {
    border: 2px solid #fff;
    border-radius: 50%;
    padding: 10px;
    margin-right: 4px;
    cursor: pointer;
}

.apif-masnry-ui-one figure .apif-view-n-popup a i {
    color: #fff;
}

.apif-masnry-ui-one:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    color: #fff;
}

.apif-masnry-ui-one:hover figure .apif-overlay-cont-block:before {
    position: absolute;
    content: "";
    left: 7px;
    right: 7px;
    bottom: 7px;
    top: 7px;
    border: 2px solid #fff;
    z-index: -1;
}

.apif-masnry-ui-one figure .profile-image {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    display: inline-block;
    /*float: left;*/
    border: 3px solid #fff;
    clear: both;
}

.apif-masnry-ui-one figure .apif-prof-n-name-wrap {
    display: block;
    overflow: hidden;
    clear: both;
    margin-top: 30px;
    padding: 0 30px;
}

.apif-masnry-ui-one figure .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-masnry-ui-one .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-masnry-ui-one .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
}

.apif-masnry-ui-one span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    margin: auto;
}

.apif-masnry-ui-one .coment-like {
    padding: 20px;
    display: block;
}

.apif-masnry-ui-one .apif-user-name {
    font-weight: normal;
    font-size: 15px;
    /*float: left;*/
    padding: 10px 5% 4px 5%;
    margin: 0px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90%;
    display: block;
}

#apif-shortcode-wrapper .apif-masnry-ui-one .coment-like {
    display: block !important;
    font-size: 15px;
    left: 0;
    right: 0;
    position: absolute;
    bottom: 10px;
}

.apif-masnry-ui-one .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}

.apif-masnry-ui-one .apif-masonry-block {
    padding: 0;
    border: 0 !important;
}

.apif-masnry-ui-one .apif-masonry-block .apif-fig-content {
    padding: 0px 15px;
}

.apif-masnry-ui-one .apif-masonry-block .apif-fig-content .ap_posted_ago {
    color: #808080;
}

#apif-shortcode-wrapper .apif-masnry-ui-one .coment-like span p {
    font-size: 12px;
    margin: 0;
}


/* apif-masnry-ui-one end */


/*  apif-masnry-ui-two  */

.apif-masnry-ui-two .apif-featimg {
    display: inline-block;
    width: 100%;
    text-align: center;
    line-height: 150px;
    height: 150px;
    overflow: hidden;
    vertical-align: top;
    border-radius: 5px;
    position: relative;
}

.apif-masnry-ui-two .apif-blue-wrap {
    background: #2199df;
    padding: 15px;
    border-radius: 5px;
    color: #fff;
    position: relative;
}

.apif-masnry-ui-two .apif-blue-wrap:after {
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 18px solid transparent;
    border-top: 20px solid #2199df;
    position: absolute;
    content: "";
    bottom: -31px;
    left: 25px;
}

.apif-masonry-box.apif-masnry-ui-two .apif-masonry-block {
    border: 0;
    border-bottom: 1px solid #f1f1f1;
    padding: 0;
}

.apif-masonry-box.apif-masnry-ui-two {
    padding: 10px;
}

.apif-masnry-ui-two .apif-featimg .apif-view-n-popup {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 999;
    color: #fff;
    opacity: 0;
    transition: all 0.6s ease-in-out 0s;
}

.apif-masnry-ui-two:hover .apif-featimg .apif-view-n-popup {
    opacity: 1;
}

.apif-masnry-ui-two .apif-featimg .apif-view-n-popup a i {
    padding: 8px;
    border: 1px solid #fff;
    border-radius: 100%;
    color: #fff;
    display: inline-block;
}

.apif-masnry-ui-two .apif-featimg img {
    margin: -100%;
    vertical-align: middle;
    /* to show whats been cut off */
    /* position:relative;
  z-index:;*/
}

.apif-masnry-ui-two figure .apif-featimg .apif-image-overlay {
    right: -100%;
    height: 100%;
    /*opacity: 0;*/
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    top: 0;
    background: rgba(0, 0, 0, 0.4);
}

.apif-masnry-ui-two:hover figure .apif-featimg .apif-image-overlay {
    /*opacity: 0.7;*/
    right: 0;
    /*background: rgba(0, 0, 0, 0.4);*/
    background: rgba(0, 0, 0, 0.4);
}

.apif-masnry-ui-two .apif-featimg .apif-image-overlay {
    /*background: rgba(141,48,130,4);*/
    background: rgba(0, 0, 0, 0.4);
}

.apif-masnry-ui-two .apif-overlay-cont-block .ap_posted_ago {
    font-weight: normal;
    color: #f1f1f1;
    font-size: 12px;
}

.apif-masnry-ui-two .apif-overlay-cont-block {
    margin-top: 15px;
}

.apif-masnry-ui-two .apif-image-caption {
    margin-top: 10px;
    font-weight: normal;
    font-size: 14px;
}

.apif-masnry-ui-two .coment-like {
    padding: 20px;
    display: block;
}

#apif-shortcode-wrapper .apif-masnry-ui-two .coment-like {
    display: block;
    width: 100%;
    padding: 20px 0px 0;
}

#apif-shortcode-wrapper .apif-masnry-ui-two .coment-like span p {
    margin: 0;
}

.apif-masnry-ui-two span.ap_insta_like_count {
    display: inline-block;
    float: left;
    font-size: 12px;
    color: #f1f1f1;
}

.apif-masnry-ui-two span.ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
    font-size: 12px;
    color: #f1f1f1;
}

.apif-masnry-ui-two .apif-prof-n-name-wrap .profile-image {
    border-radius: 100%;
    height: 70px;
    width: 70px;
    display: inline-block;
    float: left;
    border: 3px solid #fff;
    clear: both;
}

.apif-masnry-ui-two .apif-prof-n-name-wrap .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-masnry-ui-two .apif-prof-n-name-wrap .apif-user-name {
    display: inline-block;
    float: left;
    padding-left: 10px;
    margin-top: 20px;
    font-size: 17px;
    font-weight: 600;
    text-transform: titlecase;
}

.apif-masnry-ui-two .apif-prof-n-name-wrap {
    display: inline-block;
    width: 100%;
    padding: 15px 5px 5px;
}


/* apif-masnry-ui-three */

.apif-masnry-ui-three {
    /*width: 20%;*/
    float: left;
}

.apif-masnry-ui-three .apif-masonry-block {
    border: 1px solid #ccc;
}

.apif-masnry-ui-three figure {
    position: relative;
    overflow: hidden;
}

.apif-masnry-ui-three figure .apif-image-overlay {
    right: -300px;
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    top: 0;
}

.apif-masnry-ui-three:hover figure .apif-image-overlay {
    opacity: 0.7;
    right: 0;
}

.apif-masnry-ui-three .apif-image-overlay {
    /*background: rgba(141,48,130,4);*/
    background: -moz-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(141, 48, 130, 8)), color-stop(100%, rgba(201, 43, 29, 4)));
    background: -webkit-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: -o-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: -ms-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: linear-gradient(to bottom, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#8d3082', endColorstr='#c92b1d', GradientType=0);
}

.apif-masnry-ui-three figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: 0;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.9s ease-in-out 0s;
}

.apif-masnry-ui-three figure .apif-view-n-popup {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    max-width: 100px;
    max-height: 50px;
}

.apif-masnry-ui-three figure .apif-view-n-popup i {
    border: 2px solid #fff;
    border-radius: 50%;
    padding: 10px;
    margin-right: 4px;
    cursor: pointer;
}

.apif-masnry-ui-three figure .apif-view-n-popup a i {
    color: #fff;
}

.apif-masnry-ui-three:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    color: #fff;
}

.apif-masnry-ui-three:hover figure .apif-overlay-cont-block:before {
    position: absolute;
    content: "";
    left: 25px;
    right: 25px;
    bottom: 40px;
    top: 25px;
    border: 2px solid #fff;
    z-index: -1;
}

.apif-masnry-ui-three .apif-fig-content .profile-image {
    border-radius: 100%;
    height: 60px;
    width: 60px;
    display: inline-block;
    /*float: left;*/
    border: 3px solid #fff;
    clear: both;
}

.apif-masnry-ui-three .apif-fig-content .apif-prof-n-name-wrap {
    display: block;
    overflow: hidden;
    clear: both;
    margin-top: -30px;
    padding: 0 30px;
    position: relative;
    z-index: 999;
    text-align: center;
}

.apif-masnry-ui-three .apif-fig-content .apif-image-caption {
    padding: 8px 10px;
    text-align: center;
    font-size: 14px;
}

.apif-masnry-ui-three .apif-fig-content .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-masnry-ui-three .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-masnry-ui-three .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: left;
}

.apif-masnry-ui-three span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    margin: auto;
}

.apif-masnry-ui-three .coment-like {
    padding: 20px;
    display: block;
}

.apif-masnry-ui-three .apif-user-name {
    font-weight: normal;
    font-size: 15px;
    /*float: left;*/
    padding: 10px 5% 4px 5%;
    margin: 0px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90%;
    display: block;
}

#apif-shortcode-wrapper .apif-masnry-ui-three .coment-like {
    display: block !important;
    font-size: 15px;
    overflow: hidden;
    margin: 20px 10px 3px;
    padding: 10px;
    border-top: 1px solid #dedcdc;
    color: #808080;
}

#apif-shortcode-wrapper .apif-masnry-ui-three .coment-like span p {
    margin: 0;
    padding: 0;
    font-size: 12px;
}

.apif-masnry-ui-three .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}

.apif-masonry-box.apif-masnry-ui-three .apif-masonry-block {
    padding: 0;
    border: 1px solid #dedcdc;
    overflow: hidden;
}

.apif-masnry-ui-three .apif-masonry-block .apif-fig-content {
    /*padding: 0px 15px;*/
}

.apif-masnry-ui-three .apif-masonry-block .apif-fig-content .ap_posted_ago {
    color: #808080;
    padding: 0px 10px 0;
    display: inline-block;
    float: right;
    font-size: 14px;
}


/* apif-masnry-ui-four */

.apif-masnry-ui-four {
    /*width: 20%;*/
    float: left;
}

.apif-masnry-ui-four .apif-masonry-block {
    border: 1px solid #ccc;
}

.apif-masnry-ui-four figure {
    position: relative;
    overflow: hidden;
}

.apif-masnry-ui-four figure .apif-image-overlay {
    right: -300px;
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    top: 0;
}

.apif-masnry-ui-four:hover figure .apif-image-overlay {
    opacity: 0.7;
    right: 0;
}

.apif-masnry-ui-four .apif-image-overlay {
    /*background: rgba(141,48,130,4);*/
    background: -moz-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(141, 48, 130, 8)), color-stop(100%, rgba(201, 43, 29, 4)));
    background: -webkit-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: -o-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: -ms-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: linear-gradient(to bottom, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#8d3082', endColorstr='#c92b1d', GradientType=0);
}

.apif-masnry-ui-four figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: 0;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.9s ease-in-out 0s;
}

.apif-masnry-ui-four figure .apif-view-n-popup {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    max-width: 100px;
    max-height: 50px;
}

.apif-masnry-ui-four figure .apif-view-n-popup i {
    border: 2px solid #fff;
    border-radius: 50%;
    padding: 10px;
    margin-right: 4px;
    cursor: pointer;
}

.apif-masnry-ui-four figure .apif-view-n-popup a i {
    color: #fff;
}

.apif-masnry-ui-four:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    color: #fff;
}

.apif-masnry-ui-four:hover figure .apif-overlay-cont-block:before {
    position: absolute;
    content: "";
    left: 25px;
    right: 25px;
    bottom: 40px;
    top: 25px;
    border: 2px solid #fff;
    z-index: -1;
}

.apif-masnry-ui-four .apif-fig-content .profile-image {
    border-radius: 100%;
    height: 70px;
    width: 70px;
    display: inline-block;
    /*float: left;*/
    /*border: 3px solid #fff;*/
    clear: both;
}

.apif-masnry-ui-four .apif-fig-content .apif-prof-n-name-wrap {
    display: block;
    overflow: hidden;
    clear: both;
    margin-top: -30px;
    padding: 0 30px;
    position: relative;
    z-index: 999;
    text-align: center;
}

.apif-masnry-ui-four .apif-fig-content .apif-image-caption {
    padding: 8px 10px;
    text-align: center;
    font-size: 14px;
}

.apif-masnry-ui-four .apif-fig-content .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-masnry-ui-four .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-masnry-ui-four .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: left;
}

.apif-masnry-ui-four span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    margin: auto;
}

.apif-masnry-ui-four .coment-like {
    padding: 20px;
    display: block;
}

.apif-masnry-ui-four .apif-user-name {
    font-weight: normal;
    font-size: 15px;
    /*float: left;*/
    padding: 10px 5% 4px 5%;
    margin: 0px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90%;
    display: block;
}

#apif-shortcode-wrapper .apif-masnry-ui-four .coment-like {
    display: block !important;
    font-size: 15px;
    overflow: hidden;
    margin: 20px 0px 0px;
    padding: 10px;
    border-top: 1px solid #dedcdc;
    background: #da3738;
    color: #fff;
    border-radius: 8px;
}

#apif-shortcode-wrapper .apif-masnry-ui-four .coment-like span p {
    margin: 0;
    padding: 0 0 0 2px;
    font-size: 12px;
}

.apif-masnry-ui-four .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}

.apif-masonry-box.apif-masnry-ui-four .apif-masonry-block {
    padding: 10px;
    border: 1px solid #dedcdc;
    overflow: hidden;
}

.apif-masnry-ui-four .apif-masonry-block .apif-fig-content {
    /*padding: 0px 15px;*/
}

.apif-masnry-ui-four .apif-masonry-block .apif-fig-content .ap_posted_ago {
    color: #fff;
    padding: 0px 10px 0;
    display: inline-block;
    float: right;
    font-size: 14px;
}


/* apif-masnry-ui-five */

.apif-masnry-ui-five {
    /*width: 20%;*/
    float: left;
    padding: 15px 10px !important;
    z-index: 1;
}

.apif-masonry-box.apif-masnry-ui-five {
    margin-bottom: 27px;
}

.apif-masnry-ui-five .apif-masonry-block {
    border: 1px solid #ccc;
}

.apif-masnry-ui-five figure {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.apif-masnry-ui-five figure .apif-image-overlay {
    right: 0px;
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 0.9s ease-in-out 0s;
    width: 100%;
    z-index: 10;
    top: 0;
}

.apif-masnry-ui-five:hover figure .apif-image-overlay {
    opacity: 0.7;
    /*right: 0;*/
}

.apif-masnry-ui-five .apif-image-overlay {
    /*background: rgba(141,48,130,4);*/
    background: -moz-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(141, 48, 130, 8)), color-stop(100%, rgba(201, 43, 29, 4)));
    background: -webkit-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: -o-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: -ms-linear-gradient(top, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    background: linear-gradient(to bottom, rgba(141, 48, 130, 8) 0%, rgba(201, 43, 29, 4) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#8d3082', endColorstr='#c92b1d', GradientType=0);
}

.apif-masnry-ui-five figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: 0;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.9s ease-in-out 0s;
}

.apif-masnry-ui-five figure .apif-view-n-popup {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    max-width: 100px;
    max-height: 50px;
}

.apif-masnry-ui-five figure .apif-view-n-popup i {
    border: 2px solid #fff;
    border-radius: 50%;
    padding: 10px;
    margin-right: 4px;
    cursor: pointer;
}

.apif-masnry-ui-five figure .apif-view-n-popup a i {
    color: #fff;
}

.apif-masnry-ui-five:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    color: #fff;
}

.apif-masnry-ui-five:hover figure .apif-overlay-cont-block:before {
    position: absolute;
    content: "";
    left: 25px;
    right: 25px;
    bottom: 40px;
    top: 25px;
    border: 2px solid #fff;
    z-index: -1;
}

.apif-masnry-ui-five .apif-fig-content .profile-image {
    border-radius: 100%;
    height: 70px;
    width: 70px;
    display: inline-block;
    /*float: left;*/
    /*border: 3px solid #fff;*/
    clear: both;
}

.apif-masnry-ui-five .apif-fig-content .apif-prof-n-name-wrap {
    display: block;
    overflow: hidden;
    clear: both;
    margin-top: -30px;
    padding: 0 30px;
    position: relative;
    z-index: 999;
    text-align: center;
}

.apif-masnry-ui-five .apif-fig-content .apif-image-caption {
    padding: 8px 10px;
    text-align: center;
    font-size: 14px;
}

.apif-masnry-ui-five .apif-fig-content .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-masnry-ui-five .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-masnry-ui-five .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
}

.apif-masnry-ui-five span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    margin: auto;
}

.apif-masnry-ui-five .coment-like {
    padding: 20px;
    display: block;
}

.apif-masnry-ui-five .apif-user-name {
    font-weight: normal;
    font-size: 15px;
    /*float: left;*/
    padding: 10px 5% 4px 5%;
    margin: 0px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90%;
    display: block;
    color: #000;
    font-weight: 600;
}

#apif-shortcode-wrapper .apif-masnry-ui-five .coment-like {
    display: block !important;
    font-size: 15px;
    overflow: hidden;
    margin: 20px 0px 0px;
    padding: 10px 30px;
    border-radius: 8px;
    position: absolute;
    bottom: 40px;
    right: 0px;
    left: 0px;
    margin: auto;
    max-width: 180px;
}

#apif-shortcode-wrapper .apif-masnry-ui-five .coment-like span p {
    margin: 0;
    padding: 0;
    font-size: 12px;
}

.apif-masnry-ui-five .ap-instagram_imge_like span {
    /*display: inline-block;
    float: left;
    margin-right: 5px;*/
}

.apif-masonry-box.apif-masnry-ui-five .apif-masonry-block {
    overflow: hidden;
    border: 0;
}

.apif-masnry-ui-five .apif-masonry-block .apif-fig-content {
    /*padding: 0px 15px;*/
}

.apif-masnry-ui-five .apif-masonry-block .apif-fig-content .ap_posted_ago {
    padding: 0px 10px 0;
    text-align: center;
    display: block;
    font-size: 12px;
}

.apif-masnry-ui-five .apif-masonry-block .apif-fig-content .ap_posted_ago p {
    margin: 0;
    margin-top: 5px;
}

.apif-masnry-ui-five.effect5 {
    position: relative;
}

.apif-masnry-ui-five.effect5:before, .apif-masnry-ui-five.effect5:after {
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 25px;
    left: 17px;
    width: 50%;
    top: 80%;
    max-width: 300px;
    background: #777;
    box-shadow: 0 10px 8px #777;
    transform: rotate(-3deg);
}

.apif-masnry-ui-five.effect5:after {
    transform: rotate(3deg);
    right: 17px;
    left: auto;
}

.apif-popup-disc {
    display: block;
    overflow: hidden;
    clear: both;
}


/* Top */

.apif-masnry-ui-five .effect-top5 {
    position: relative;
    z-index: 1;
}

.apif-masnry-ui-five .effect-top5:before, .apif-masnry-ui-five .effect-top5:after {
    z-index: -1;
    position: absolute;
    content: "";
    top: 11px;
    left: 7px;
    width: 50%;
    bottom: 80%;
    max-width: 300px;
    /* background: #777; */
    box-shadow: 0px -10px 10px #777;
    transform: rotate(3deg);
}

.apif-masnry-ui-five .effect-top5:after {
    transform: rotate(-5deg);
    right: 7px;
    left: auto;
}


/* image-zoom-style */

.apif-image-zoom-style {
    /*width: 20%;*/
    float: left;
}

.apif-image-zoom-style figure {
    position: relative;
    overflow: hidden;
}

.apif-image-zoom-style figure .apif-image-overlay {
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    top: 0;
    left: 0;
}

.apif-image-zoom-style:hover figure .apif-image-overlay {
    opacity: 1;
    right: 0;
}

.apif-image-zoom-style .apif-image-overlay {
    background: rgba(255, 255, 255, 0.8);
}

.apif-image-zoom-style figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: 0;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.9s ease-in-out 0s;
}

.apif-image-zoom-style:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
}

.apif-image-zoom-style .apif-featimg img {
    transform: scale(1) translateZ(0);
    -ms-transform: scale(1) translateZ(0);
    -webkit-transform: scale(1) translateZ(0);
    transition: all 0.6s ease-in-out 0s;
    -moz-transition: all 0.6s ease-in-out 0s;
    -webkit-transition: all 0.6s ease-in-out 0s;
}

.apif-image-zoom-style:hover .apif-featimg img {
    transform: scale(1.05);
}

.apif-image-zoom-style figure .profile-image {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-top: 25px;
}

.apif-image-zoom-style figure .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-image-zoom-style .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-image-zoom-style .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
}

.apif-image-zoom-style span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
}

.apif-image-zoom-style .coment-like {
    padding: 20px;
    display: block;
}

.apif-image-zoom-style .apif-user-name {
    font-weight: bold;
    font-size: 15px;
}

.apif-image-zoom-style .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}


/* image-zoom-style */

.apif-img-text {
    /*width: 20%;*/
    float: left;
}

.apif-img-text figure {
    position: relative;
    overflow: hidden;
}

.apif-img-text figure .apif-image-overlay {
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    top: 0;
    left: 0;
}

.apif-img-text:hover figure .apif-image-overlay {
    opacity: 1;
    right: 0;
}

.apif-img-text .apif-image-overlay {
    background: rgba(255, 255, 255, 0.8);
}

.apif-img-text figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: -300px;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.4s ease-in-out 0s;
}

.apif-img-text:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
}

.apif-img-text .apif-featimg img {
    transform: scale(1);
    transition: all 0.6s ease-in-out 0s;
}

.apif-img-text:hover .apif-featimg img {
    transform: scale(1.04);
}

.apif-img-text figure .profile-image {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-top: 25px;
}

.apif-img-text figure .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-img-text .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-img-text .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
}

.apif-img-text span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
    z-index: 99;
}

.apif-img-text .coment-like {
    padding: 20px;
    display: block;
}

.apif-img-text .apif-user-name {
    font-weight: bold;
    font-size: 15px;
}

.apif-img-text .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}


/* Rotate image effect */

.apif-img-rotate {
    /*width: 20%;*/
    float: left;
}

.apif-img-rotate figure {
    position: relative;
    overflow: hidden;
}

.apif-img-rotate figure .apif-image-overlay {
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    top: 0;
    left: 0;
}

.apif-img-rotate:hover figure .apif-image-overlay {
    opacity: 1;
    right: 0;
}

.apif-img-rotate .apif-image-overlay {
    background: rgba(255, 255, 255, 0.8);
}

.apif-img-rotate figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: -300px;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.4s ease-in-out 0s;
}

.apif-img-rotate:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
}

.apif-img-rotate .apif-featimg img {
    transition: all 0.4s ease-in-out 0s;
}

.apif-img-rotate:hover .apif-featimg img {
    transform: rotate(90deg);
}

.apif-img-rotate figure .profile-image {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-top: 25px;
}

.apif-img-rotate figure .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-img-rotate .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-img-rotate .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
}

.apif-img-rotate span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
}

.apif-img-rotate .coment-like {
    padding: 20px;
    display: block;
}

.apif-img-rotate .apif-user-name {
    font-weight: bold;
    font-size: 15px;
}

.apif-img-rotate .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}


/* Apif image Zoom out */

.apif-img-zoomout {
    /*width: 20%;*/
    float: left;
}

.apif-img-zoomout figure {
    overflow: hidden;
    position: relative;
    margin: 0;
}

.apif-img-zoomout figure:after, .apif-img-zoomout figure:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}


/*.apif-img-zoomout:hover figure:before{ background: rgba(100, 150, 255, 0.8);}*/

.apif-img-zoomout figure .apif-image-overlay {
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    top: 0;
    left: 0;
    display: none;
}


/*.apif-img-zoomout:hover figure .apif-image-overlay{  opacity: 1; right: 0;}
.apif-img-zoomout .apif-image-overlay{  background: rgba(255, 255,255, 0.8); display:  
}*/

.apif-img-zoomout figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: -300px;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.4s ease-in-out 0s;
    padding-top: 60%;
}

.apif-img-zoomout:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
}

.apif-img-zoomout .apif-featimg img {
    transform: scale(1.0);
    transition: all 0.6s ease-in-out 0s;
    z-index: 9999;
}

.apif-img-zoomout:hover .apif-featimg img {
    transform: translateY(-45px) scale(0.4);
    top: 0;
    filter: none;
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    filter: progid: DXImageTransform.Microsoft.Blur(PixelRadius='0');
}

.apif-img-zoomout figure .profile-image {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-top: 25px;
    display: none;
    /* none dispaly added */
}

.apif-img-zoomout figure .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-img-zoomout .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-img-zoomout .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
}

.apif-img-zoomout span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
}

.apif-img-zoomout .coment-like {
    padding: 20px;
    display: block;
}

.apif-img-zoomout .apif-user-name {
    font-weight: bold;
    font-size: 15px;
}

.apif-img-zoomout .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}

.hoverlay-link {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    text-indent: -9999em;
    top: 0;
    z-index: 1;
}


/* masonry col style */

.apif-masonry-box {
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 8px;
}

.apif-masonry-box figure {
    margin: 0;
}

.apif-masonry-box.apif-col-2 {
    width: 50%;
}

.apif-masonry-box.apif-col-3 {
    width: 33.3333%;
}

.apif-masonry-box.apif-col-4 {
    width: 25%;
}

.apif-masonry-box.apif-col-5 {
    width: 20%;
}

.apif-masonry-box.apif-col-6 {
    width: 16.6666666%;
}

.apif-masonry-box .apif-masonry-block {
    border: 2px double #f3f3f3;
    background: #f9f9f9;
    -webkit-box-sizing: border-box;
    /* Android ≤ 2.3, iOS ≤ 4 */
    -moz-box-sizing: border-box;
    /* Firefox ≤ 28 */
    box-sizing: border-box;
    /* Chrome, Firefox 29+, IE 8+, Opera, Safari 5.1 */
}

.hello-text {
    position: relative;
    display: block;
}

.apif-masonry-block {
    position: relative;
    display: block;
    padding: 10px;
}


/* Instragram layout */

.apif-instagram-layout {
    clear: both;
    float: none !important;
    margin: 0 auto;
    position: relative;
    max-width: 600px;
    width: 100%;
    background: #fff;
    margin-bottom: 50px;
    padding-bottom: 30px;
    max-width: 600px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.apif-instagram-layout figure {
    text-align: center;
    position: relative;
    margin: 0;
}

.apif-instagram-layout .apif-fig-content {
    clear: both;
    margin-top: 10px;
}

.apif-instagram-layout .apif-fig-content {
    padding: 5px 20px;
}

.apif-instagram-layout .apif-insta-cont-block {
    padding: 5px 20px;
}

.apif-instagram-layout .apif-fig-content .apif-user-link {
    float: left;
    margin-right: 8px;
}

.apif-instagram-layout .apif-fig-content .apif-image-caption {
    display: inline;
}

.apif-instagram-layout .apif-instagram-block .profile-image {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    overflow: hidden;
    float: left;
}

.apif-instagram-layout .apif-instagram-block .header-insta-wrap {
    padding: 10px 10px;
    clear: both;
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
}

.apif-instagram-layout .apif-instagram-block .apif-featimg {
    margin: 0px 0 20px 0;
}

.apif-instagram-layout .apif-instagram-block .header-insta-wrap .ap_posted_ago {
    float: right;
    margin-top: 6px;
    font-size: 14px;
    color: #125688;
}

.apif-instagram-layout .apif-instagram-block .header-insta-wrap .apif-user-name {
    margin: 8px 10px;
    float: left;
}

.apif-instagram-layout .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-instagram-layout .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
    font-size: 14px;
}

.apif-instagram-layout span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
}

.apif-instagram-layout .coment-like {
    padding: 20px;
    display: block;
}

.apif-instagram-layout .apif-user-name {
    font-weight: bold;
    font-size: 15px;
}

.apif-instagram-layout .apif-user-name a {
    font-size: 17px;
}

.apif-instagram-layout .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
    font-size: 14px;
}

.load-more-button {
    border-radius: 2px;
    padding: 8px 18px;
    text-decoration: none !important;
    transition: all 0.6s ease-in-out 0s;
    background: #000;
    border: 2px solid #000;
    color: #fff !important;
}
.ap_pagination  .load-more-button:hover,
.load-more-button:hover {
    background: #f1f1f1;
    color: #000 !important;
    border: 2px solid #000;
}


/* ------- Round Image layout ------ */

.apif-round-image-layout {
    float: left;
    margin-bottom: 20px;
}

.apif-round-image-layout.apif-col-2 {
    width: 50%;
}

.apif-round-image-layout.apif-col-3 {
    width: 33.3333%;
}

.apif-round-image-layout.apif-col-4 {
    width: 25%;
}

.apif-round-image-layout.apif-col-5 {
    width: 20%;
}

.apif-round-image-layout.apif-col-6 {
    width: 16.6666666%;
}

.apif-round-image-layout .apif-round-image-block .apif-round-img-info .apif-img-round-c-like p {
    margin-bottom: 0;
}

.apif-round-image-layout .apif-round-image-block .apif-round-img-info .apif-img-round-c-like span {
    display: inline-block;
    padding: 0 2px;
}

.apif-round-image-layout .apif-round-image-block .apif-round-img-info .apif-img-round-c-like {
    margin-top: 20px;
}

.apif-round-image-layout .apif-round-image-block .apif-round-img-info .apif-img-round-c-like .apif-ins-link {
    margin-top: 30px;
}


/* circle left */

.apif-round-image-layout .apif-round-image-block.circle-bottom {
    overflow: visible;
}

.apif-round-image-layout .apif-round-image-block.circle-left {
    overflow: visible;
}

.apif-round-image-layout .apif-round-image-block.circle-right {
    overflow: visible;
}

.apif-round-image-layout .apif-round-image-block {
    overflow: hidden;
}

.apif-round-image-layout .apif-round-image-block.circle-left {
    border-radius: 50%;
    height: auto;
    position: relative;
    width: 100%;
    background-color: #fff;
}

.apif-round-image-layout .apif-round-image-block.circle-left .img::before {
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.apif-round-image-layout .apif-round-image-block.circle-left {
    border-radius: 50%;
    height: auto;
    position: relative;
    width: 100%;
}

.apif-round-image-layout .apif-round-image-block.circle-left .img img.img-thumb {
    border-radius: 50%;
    height: auto;
    width: 100%;
}

.apif-round-image-layout .apif-round-image-block.circle-left {
    box-sizing: border-box;
    padding: 10px;
}

.apif-round-image-layout .apif-round-image-block.circle-left .apif-round-img-info {
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    opacity: 0;
    transition: all 0.35s ease-in-out 0s;
    -webkit-transition: all 0.35s ease-in-out 0s;
    -ms-transition: all 0.35s ease-in-out 0s;
}

.apif-round-image-layout .apif-round-image-block.circle-left .apif-round-img-info {
    backface-visibility: hidden;
    border-radius: 100%;
    bottom: 0px;
    left: 0px;
    position: absolute;
    right: 0px;
    text-align: center;
    top: 0px;
    z-index: 1;
    background: #f1f1f1;
    height: 100%;
    width: 100%;
    border: 2px solid #ddd;
    -webkit-box-sizing: border-box;
    /* Android ≤ 2.3, iOS ≤ 4 */
    -moz-box-sizing: border-box;
    /* Firefox ≤ 28 */
    box-sizing: border-box;
    /* Chrome, Firefox 29+, IE 8+, Opera, Safari 5.1 */
}

.apif-round-image-layout .apif-round-image-block.circle-left a {
    display: block;
}

.apif-round-image-layout .apif-round-image-block.circle-left .img {
    border-radius: 50%;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    position: relative;
}

.apif-round-image-layout .apif-round-image-block.circle-left .img {
    -webkit-transform: scale(1) translateX(0);
    -moz-transform: scale(1) translateX(0);
    -ms-transform: scale(1) translateX(0);
    -o-transform: scale(1) translateX(0);
    transform: scale(1) translateX(0);
}

.apif-round-image-layout:hover .apif-round-image-block.circle-left .img {
    -webkit-transform: scale(0.5) translateX(-100%);
    -moz-transform: scale(0.5) translateX(-100%);
    -ms-transform: scale(0.5) translateX(-100%);
    -o-transform: scale(0.5) translateX(-100%);
    transform: scale(0.5) translateX(-100%);
    z-index: 111;
}

.apif-round-image-layout:hover .apif-round-image-block.circle-left .apif-round-img-info {
    opacity: 1;
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
}

.apif-round-image-layout:hover .apif-round-image-block.circle-left > a:not(.btn) {
    display: block;
}

.apif-round-image-layout .apif-round-image-block.circle-left .apif-round-img-info .apif-img-round-p-image {
    display: inline-block;
    width: 50px;
    height: 50px;
    clear: both;
    margin-top: 20px;
}

.apif-round-image-layout .apif-round-image-block.circle-left .apif-round-img-info .apif-img-round-p-image > img {
    border-radius: 50%;
}


/*.... circle right ....*/

.apif-round-image-layout .apif-round-image-block.circle-right {
    border-radius: 50%;
    height: auto;
    position: relative;
    width: 100%;
    background-color: #fff;
}

.apif-round-image-layout .apif-round-image-block.circle-right .img::before {
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.apif-round-image-layout .apif-round-image-block.circle-right {
    border-radius: 50%;
    height: auto;
    position: relative;
    width: 100%;
}

.apif-round-image-layout .apif-round-image-block.circle-right .img img.img-thumb {
    border-radius: 50%;
    height: auto;
    width: 100%;
}

.apif-round-image-layout .apif-round-image-block.circle-right {
    box-sizing: border-box;
    padding: 10px;
}

.apif-round-image-layout .apif-round-image-block.circle-right .apif-round-img-info {
    transform: translateX(0%);
    opacity: 0;
    transition: all 0.35s ease-in-out 0s;
}

.apif-round-image-layout .apif-round-image-block.circle-right .apif-round-img-info {
    backface-visibility: hidden;
    border-radius: 100%;
    bottom: 0px;
    left: 0px;
    position: absolute;
    right: 0px;
    text-align: center;
    top: 0px;
    z-index: 1;
    background: #f1f1f1;
    height: 100%;
    width: 100%;
    border: 2px solid #ddd;
    -webkit-box-sizing: border-box;
    /* Android ≤ 2.3, iOS ≤ 4 */
    -moz-box-sizing: border-box;
    /* Firefox ≤ 28 */
    box-sizing: border-box;
    /* Chrome, Firefox 29+, IE 8+, Opera, Safari 5.1 */
}

.apif-round-image-layout .apif-round-image-block.circle-right a {
    display: block;
}

.apif-round-image-layout .apif-round-image-block.circle-right .img {
    border-radius: 50%;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    position: relative;
}

.apif-round-image-layout .apif-round-image-block.circle-right .img {
    -webkit-transform: scale(1) translateX(0);
    -moz-transform: scale(1) translateX(0);
    -ms-transform: scale(1) translateX(0);
    -o-transform: scale(1) translateX(0);
    transform: scale(1) translateX(0);
}

.apif-round-image-layout:hover .apif-round-image-block.circle-right .img {
    -webkit-transform: scale(0.5) translateX(100%);
    -moz-transform: scale(0.5) translateX(100%);
    -ms-transform: scale(0.5) translateX(100%);
    -o-transform: scale(0.5) translateX(100%);
    transform: scale(0.5) translateX(100%);
    z-index: 111;
}

.apif-round-image-layout:hover .apif-round-image-block.circle-right .apif-round-img-info {
    opacity: 1;
    transform: translateX(0px);
}

.apif-round-image-layout:hover .apif-round-image-block.circle-right > a:not(.btn) {
    display: block;
}

.apif-round-image-layout .apif-round-image-block.circle-right .apif-round-img-info .apif-img-round-p-image {
    display: inline-block;
    width: 50px;
    height: 50px;
    clear: both;
    margin-top: 20px;
}

.apif-round-image-layout .apif-round-image-block.circle-right .apif-round-img-info .apif-img-round-p-image > img {
    border-radius: 50%;
}

.apif-round-image-layout .apif-round-image-block.circle-right .apif-round-img-info .apif-img-round-c-like {
    color: #000;
}


/*.... circle bottom ....*/

.apif-round-image-layout .apif-round-image-block.circle-bottom {
    border-radius: 50%;
    height: auto;
    position: relative;
    width: 100%;
    background-color: #fff;
}

.apif-round-image-layout .apif-round-image-block.circle-bottom .img::before {
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.apif-round-image-layout .apif-round-image-block.circle-bottom {
    border-radius: 50%;
    height: auto;
    position: relative;
    width: 100%;
}

.apif-round-image-layout .apif-round-image-block.circle-bottom .img img.img-thumb {
    border-radius: 50%;
    height: auto;
    width: 100%;
}

.apif-round-image-layout .apif-round-image-block.circle-bottom {
    box-sizing: border-box;
    padding: 10px;
}

.apif-round-image-layout .apif-round-image-block.circle-bottom .apif-round-img-info {
    transform: translateX(0%);
    opacity: 0;
    transition: all 0.35s ease-in-out 0s;
}

.apif-round-image-layout .apif-round-image-block.circle-bottom .apif-round-img-info {
    backface-visibility: hidden;
    border-radius: 100%;
    bottom: 0px;
    left: 0px;
    position: absolute;
    right: 0px;
    text-align: center;
    top: 0px;
    z-index: 1;
    background: #f1f1f1;
    height: 100%;
    width: 100%;
    border: 2px solid #ddd;
    -webkit-box-sizing: border-box;
    /* Android ≤ 2.3, iOS ≤ 4 */
    -moz-box-sizing: border-box;
    /* Firefox ≤ 28 */
    box-sizing: border-box;
    /* Chrome, Firefox 29+, IE 8+, Opera, Safari 5.1 */
}

.apif-round-image-layout .apif-round-image-block.circle-bottom a {
    display: block;
}

.apif-round-image-layout .apif-round-image-block.circle-bottom .img {
    border-radius: 50%;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    position: relative;
}

.apif-round-image-layout .apif-round-image-block.circle-bottom .img {
    -webkit-transform: scale(1) translateX(0);
    -moz-transform: scale(1) translateX(0);
    -ms-transform: scale(1) translateX(0);
    -o-transform: scale(1) translateX(0);
    transform: scale(1) translateX(0);
}

.apif-round-image-layout:hover .apif-round-image-block.circle-bottom .img {
    -webkit-transform: scale(0.5) translateY(100%);
    -moz-transform: scale(0.5) translateY(100%);
    -ms-transform: scale(0.5) translateY(100%);
    -o-transform: scale(0.5) translateY(100%);
    transform: scale(0.5) translateY(100%);
    z-index: 111;
}

.apif-round-image-layout:hover .apif-round-image-block.circle-bottom .apif-round-img-info {
    opacity: 1;
    transform: translateX(0px);
}

.apif-round-image-layout:hover .apif-round-image-block.circle-bottom > a:not(.btn) {
    display: block;
}

.apif-round-image-layout .apif-round-image-block.circle-bottom .apif-round-img-info .apif-img-round-p-image {
    display: inline-block;
    width: 50px;
    height: 50px;
    clear: both;
    margin-top: 20px;
}

.apif-round-image-layout .apif-round-image-block.circle-bottom .apif-round-img-info .apif-img-round-p-image > img {
    border-radius: 50%;
}

.apif-round-image-layout .apif-round-image-block.circle-bottom .apif-round-img-info .apif-img-round-c-like {
    color: #000;
}


/* round image Rotate */

.apif-round-image-layout .apif-round-image-block.circle-rotate {
    border-radius: 50%;
    height: auto;
    position: relative;
    width: 100%;
    background-color: #fff;
}

.apif-round-image-layout .apif-round-image-block.circle-rotate .img::before {
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.apif-round-image-layout .apif-round-image-block.circle-rotate {
    border-radius: 50%;
    height: auto;
    position: relative;
    width: 100%;
}

.apif-round-image-layout .apif-round-image-block.circle-rotate .img img.img-thumb {
    border-radius: 50%;
    height: auto;
    width: 100%;
}

.apif-round-image-layout .apif-round-image-block.circle-rotate {
    box-sizing: border-box;
    padding: 10px;
}

.apif-round-image-layout .apif-round-image-block.circle-rotate .apif-round-img-info {
    transform: translateX(0%);
    opacity: 0;
    transition: all 0.35s ease-in-out 0s;
}

.apif-round-image-layout .apif-round-image-block.circle-rotate .apif-round-img-info {
    backface-visibility: hidden;
    border-radius: 100%;
    bottom: 0px;
    left: 0px;
    position: absolute;
    right: 0px;
    text-align: center;
    top: 0px;
    z-index: 1;
    background: #f1f1f1;
    height: 100%;
    width: 100%;
    border: 2px solid #ddd;
    -webkit-box-sizing: border-box;
    /* Android ≤ 2.3, iOS ≤ 4 */
    -moz-box-sizing: border-box;
    /* Firefox ≤ 28 */
    box-sizing: border-box;
    /* Chrome, Firefox 29+, IE 8+, Opera, Safari 5.1 */
}

.apif-round-image-layout .apif-round-image-block.circle-rotate a {
    display: block;
}

.apif-round-image-layout .apif-round-image-block.circle-rotate .img {
    border-radius: 50%;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    position: relative;
}

.apif-round-image-layout .apif-round-image-block.circle-rotate .img {
    -webkit-transform: scale(1) translateX(0);
    -moz-transform: scale(1) translateX(0);
    -ms-transform: scale(1) translateX(0);
    -o-transform: scale(1) translateX(0);
    transform: scale(1) translateX(0);
}

.apif-round-image-layout:hover .apif-round-image-block.circle-rotate .img {
    -webkit-transform: rotate(90deg) translateX(-50%);
    -moz-transform: rotate(90deg) translateX(-50%);
    -ms-transform: rotate(90deg) translateX(-50%);
    -o-transform: rotate(90deg) translateX(-50%);
    transform: rotate(90deg) translateX(-50%);
    opacity: 0;
}

.apif-round-image-layout:hover .apif-round-image-block.circle-rotate .apif-round-img-info {
    opacity: 1;
    transform: translateX(0px);
}

.apif-round-image-layout:hover .apif-round-image-block.circle-rotate > a:not(.btn) {
    display: block;
}

.apif-round-image-layout .apif-round-image-block.circle-rotate .apif-round-img-info .apif-img-round-p-image {
    display: inline-block;
    width: 50px;
    height: 50px;
    clear: both;
    margin-top: 20px;
}

.apif-round-image-layout .apif-round-image-block.circle-rotate .apif-round-img-info .apif-img-round-p-image > img {
    border-radius: 50%;
}

.apif-round-image-layout .apif-round-image-block.circle-rotate .apif-round-img-info .apif-img-round-c-like {
    color: #000;
}


/* round image Rotatey */

.apif-round-image-layout .apif-round-image-block.circle-rotatey {
    border-radius: 50%;
    height: auto;
    position: relative;
    width: 100%;
    background-color: #fff;
}

.apif-round-image-layout .apif-round-image-block.circle-rotatey .img::before {
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.apif-round-image-layout .apif-round-image-block.circle-rotatey {
    border-radius: 50%;
    height: auto;
    position: relative;
    width: 100%;
}

.apif-round-image-layout .apif-round-image-block.circle-rotatey .img img.img-thumb {
    border-radius: 50%;
    height: auto;
    width: 100%;
}

.apif-round-image-layout .apif-round-image-block.circle-rotatey {
    box-sizing: border-box;
    padding: 10px;
}

.apif-round-image-layout .apif-round-image-block.circle-rotatey .apif-round-img-info {
    transform: translateX(0%);
    opacity: 0;
    transition: all 0.35s ease-in-out 0s;
}

.apif-round-image-layout .apif-round-image-block.circle-rotatey .apif-round-img-info {
    backface-visibility: hidden;
    border-radius: 100%;
    bottom: 0px;
    left: 0px;
    position: absolute;
    right: 0px;
    text-align: center;
    top: 0px;
    z-index: 1;
    background: #f1f1f1;
    height: 100%;
    width: 100%;
    border: 2px solid #ddd;
    -webkit-box-sizing: border-box;
    /* Android ≤ 2.3, iOS ≤ 4 */
    -moz-box-sizing: border-box;
    /* Firefox ≤ 28 */
    box-sizing: border-box;
    /* Chrome, Firefox 29+, IE 8+, Opera, Safari 5.1 */
}

.apif-round-image-layout .apif-round-image-block.circle-rotatey a {
    display: block;
}

.apif-round-image-layout .apif-round-image-block.circle-rotatey .img {
    border-radius: 50%;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    position: relative;
}

.apif-round-image-layout .apif-round-image-block.circle-rotatey .img {
    -webkit-transform: scale(1) translateX(0);
    -moz-transform: scale(1) translateX(0);
    -ms-transform: scale(1) translateX(0);
    -o-transform: scale(1) translateX(0);
    transform: scale(1) translateX(0);
}

.apif-round-image-layout:hover .apif-round-image-block.circle-rotatey .img {
    -webkit-transform: rotate(-90deg) translateY(-50%);
    -moz-transform: rotate(-90deg) translateY(-50%);
    -ms-transform: rotate(-90deg) translateY(-50%);
    -o-transform: rotate(-90deg) translateY(-50%);
    transform: rotate(-90deg) translateY(-50%);
    opacity: 0;
}

.apif-round-image-layout:hover .apif-round-image-block.circle-rotatey .apif-round-img-info {
    opacity: 1;
    transform: translateX(0px);
}

.apif-round-image-layout:hover .apif-round-image-block.circle-rotatey > a:not(.btn) {
    display: block;
}

.apif-round-image-layout .apif-round-image-block.circle-rotatey .apif-round-img-info .apif-img-round-p-image {
    display: inline-block;
    width: 50px;
    height: 50px;
    clear: both;
    margin-top: 20px;
}

.apif-round-image-layout .apif-round-image-block.circle-rotatey .apif-round-img-info .apif-img-round-p-image > img {
    border-radius: 50%;
}

.apif-round-image-layout .apif-round-image-block.circle-rotatey .apif-round-img-info .apif-img-round-c-like {
    color: #000;
}


/* round image Rotatey */

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs {
    border-radius: 50%;
    height: auto;
    position: relative;
    width: 100%;
    background-color: #fff;
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs .img::before {
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs {
    border-radius: 50%;
    height: auto;
    position: relative;
    width: 100%;
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs .img img.img-thumb {
    border-radius: 50%;
    height: auto;
    width: 100%;
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs {
    box-sizing: border-box;
    padding: 10px;
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs .apif-round-img-info {
    transform: translateX(0%);
    opacity: 0;
    transition: all 0.35s ease-in-out 0s;
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs .apif-round-img-info {
    backface-visibility: hidden;
    border-radius: 100%;
    bottom: 0px;
    left: 0px;
    position: absolute;
    right: 0px;
    text-align: center;
    top: 0px;
    z-index: 1;
    background: #f1f1f1;
    height: 100%;
    width: 100%;
    border: 2px solid #ddd;
    -webkit-box-sizing: border-box;
    /* Android ≤ 2.3, iOS ≤ 4 */
    -moz-box-sizing: border-box;
    /* Firefox ≤ 28 */
    box-sizing: border-box;
    /* Chrome, Firefox 29+, IE 8+, Opera, Safari 5.1 */
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs a {
    display: block;
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs .img {
    border-radius: 50%;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    position: relative;
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs .img {
    -webkit-transform: scale(1) translateX(0);
    -moz-transform: scale(1) translateX(0);
    -ms-transform: scale(1) translateX(0);
    -o-transform: scale(1) translateX(0);
    transform: scale(1) translateX(0);
}

.apif-round-image-layout:hover .apif-round-image-block.circle-rotateyrs .img {
    -webkit-transform: rotate(90deg) translateY(-50%);
    -moz-transform: rotate(90deg) translateY(-50%);
    -ms-transform: rotate(90deg) translateY(-50%);
    -o-transform: rotate(90deg) translateY(-50%);
    transform: rotate(90deg) translateY(-50%);
    opacity: 0;
}

.apif-round-image-layout:hover .apif-round-image-block.circle-rotateyrs .apif-round-img-info {
    opacity: 1;
    transform: translateX(0px);
}

.apif-round-image-layout:hover .apif-round-image-block.circle-rotateyrs > a:not(.btn) {
    display: block;
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs .apif-round-img-info .apif-img-round-p-image {
    display: inline-block;
    width: 50px;
    height: 50px;
    clear: both;
    margin-top: 20px;
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs .apif-round-img-info .apif-img-round-p-image > img {
    border-radius: 50%;
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs .apif-round-img-info .apif-img-round-c-like {
    color: #000;
}

.apif-round-image-layout .apif-round-image-block .apif-round-img-info .apif-img-round-c-like {
    font-size: 14px;
}


/* slider css */

.litbx__overlay {
    z-index: 99999;
}

.theme-default .nivoSlider .nivo-caption img {
    float: left;
    position: relative;
}

.theme-bar .nivoSlider .nivo-caption img {
    float: left;
    position: relative;
}

.theme-light .nivoSlider .nivo-caption img {
    float: left;
    position: relative;
}

.theme-dark .nivoSlider .nivo-caption img {
    float: left;
    position: relative;
}


/* sp slide */

.apif-slider-pro .profile-image img {
    border-radius: 50%;
}

.sp-thumbnails-container .sp-thumbnail {
    text-align: center;
    right: 0;
    left: 0;
    background: #f1f1f1;
    /*padding: 5px;*/
}

.sp-thumbnails-container .sp-thumbnail img {
    transform: scale(1);
    transition: all 0.2s ease-in-out 0s;
}

.sp-thumbnails-container .sp-thumbnail:hover img {
    transform: scale(1.05);
}

.sp-thumbnails-container .sp-thumbnail .sp-thumbnail-title .profile-image {
    width: 40px;
    height: 40px;
    display: inline-block;
}

.sp-thumbnails-container .sp-thumbnail .sp-thumbnail-description a {
    text-decoration: none;
}

.sp-horizontal .sp-previous-arrow {
    left: 5px;
}

.sp-horizontal .sp-next-arrow {
    right: 5px;
}

.sp-next-arrow:after, .sp-next-arrow:before, .sp-previous-arrow:after, .sp-previous-arrow:before {
    width: 20%;
}


/*.sp-bottom-thumbnails.sp-has-pointer .sp-thumbnail{ display: block; right: 0;}*/

.sp-next-arrow::after, .sp-next-arrow::before, .sp-previous-arrow::after, .sp-previous-arrow::before {
    background-color: #FF0000 !important;
}

.pgwSlider .ps-current img {
    /*min-width: auto;*/
    max-width: 100%;
}

.sp-slides-container .sp-slides img.sp-image {
    max-width: 100% !important;
    width: inherit !important;
    height: inherit;
    margin-top: 0 !important;
    margin-bottom: 100px !important;
}

.sp-slides-container .sp-slide img {
    max-width: 100% !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.theme-default .nivo-directionNav a {
    background-color: #000;
    border-radius: 50%;
}


/*
This is the visible area of you carousel.
Set a width here to define how much items are visible.
The width can be either fixed in px or flexible in %.
Position must be relative!
*/

.apif-jcarousel {
    position: relative;
    overflow: hidden;
}


/*
This is the container of the carousel items.
You must ensure that the position is relative or absolute and
that the width is big enough to contain all items.
*/

.apif-jcarousel ul {
    width: 20000em;
    position: relative;
    /* Optional, required in this case since it's a <ul> element */
    list-style: none;
    margin: 0;
    padding: 0;
}


/*
These are the item elements. jCarousel works best, if the items
have a fixed width and height (but it's not required).
*/

.apif-jcarousel li {
    /* Required only for block elements like <li>'s */
    float: left;
}


/* image-zoom-style */

.apif-jcarousel li figure {
    position: relative;
    /*overflow: hidden;*/
    margin: 0;
}

.apif-jcarousel li figure .apif-image-overlay {
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    top: 0;
    left: 0;
}

.apif-jcarousel li:hover figure .apif-image-overlay {
    opacity: 1;
    right: 0;
}

.apif-jcarousel .apif-image-overlay {
    background: rgba(255, 255, 255, 0.8);
}

.apif-jcarousel li figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: -50px;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.7s ease-in-out 0s;
}

.apif-jcarousel span.apif-ins-link a {
    color: #808080;
}

.apif-jcarousel span.apif-ins-video-icon a {
    color: #808080;
}

.apif-jcarousel li.apif_low_resolution:hover figure .apif-overlay-cont-block {
    padding-top: 22%;
}

.apif-jcarousel li.apif_standard_resolution:hover figure .apif-overlay-cont-block {
    padding-top: 22%;
}

.apif-jcarousel li:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
}

.apif-jcarousel .apif-featimg img {
    transform: scale(1);
    transition: all 0.6s ease-in-out 0s;
}

.apif-jcarousel li:hover .apif-featimg img {
    transform: scale(1.2);
}

.apif-jcarousel li figure .profile-image {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-top: 25px;
}

.apif-jcarousel li figure .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.apif-jcarousel .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.apif-jcarousel .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
}

.apif-jcarousel span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
}

.apif-jcarousel .coment-like {
    display: inline-block !important;
    font-size: 13px;
    margin: 0 auto;
    padding: 20px;
}

.apif-jcarousel .apif-user-name {
    font-weight: bold;
    font-size: 15px;
}

.apif-jcarousel .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}

#apif-shortcode-wrapper .coment-like {
    display: inline-block !important;
    font-size: 12px;
    margin: 0 auto;
    padding: 20px;
}

.apif-owl-silder .coment-like {
    display: inline-block !important;
    font-size: 12px;
    margin: 0 auto;
    padding: 20px;
}


/* movement-on-hover */

.movement-on-hover {}

.movement-on-hover figure {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.movement-on-hover figure .apif-image-overlay {
    height: 100%;
    opacity: 0;
    position: absolute;
    text-indent: -9999em;
    transition: all 500ms ease 0s;
    width: 100%;
    z-index: 10;
    top: 0;
    left: 0;
}

.movement-on-hover:hover figure .apif-image-overlay {
    opacity: 1;
    right: 0;
}

.movement-on-hover .apif-image-overlay {
    background: rgba(255, 255, 255, 0.8);
}

.movement-on-hover figure .apif-overlay-cont-block {
    display: block;
    position: absolute;
    top: -100px;
    z-index: 999;
    text-align: center;
    right: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    transition: all 0.6s ease-in-out 0s;
}

.movement-on-hover:hover figure .apif-overlay-cont-block {
    opacity: 1;
    display: block;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
}

.movement-on-hover .apif-featimg img {
    transition: all 0.4s ease-in-out 0s;
}

.movement-on-hover:hover .apif-featimg img {
    transform: rotate(90deg);
}

.movement-on-hover figure .profile-image {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-top: 25px;
}

.movement-on-hover figure .profile-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
}

.movement-on-hover .ap_insta_like_count {
    display: inline-block;
    float: left;
}

.movement-on-hover .ap_insta_comment_count_wrapper {
    display: inline-block;
    float: right;
}

.movement-on-hover span.apif-ins-link {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
}

.movement-on-hover span.apif-ins-link a {
    color: #808080;
}

.movement-on-hover span.apif-ins-video-icon a {
    color: #808080;
}

.movement-on-hover .coment-like {
    padding: 20px;
    display: block;
}

.movement-on-hover .apif-user-name {
    font-weight: bold;
    font-size: 15px;
}

.movement-on-hover .ap-instagram_imge_like span {
    display: inline-block;
    float: left;
    margin-right: 5px;
}

li.movement-on-hover.apif_low_resolution:hover figure .apif-overlay-cont-block {
    padding-top: 22%;
}

li.movement-on-hover.apif_standard_resolution:hover figure .apif-overlay-cont-block {
    padding-top: 22%;
}

.movement-on-hover.apif_standard_resolution figure .profile-image {
    height: auto;
    width: auto;
}


/* slider 4*/

.sp-bottom-thumbnails.sp-has-pointer .sp-selected-thumbnail::after {
    content: none;
}


/*  slider default owl */
#owl-demo .apif-owl-silder .coment-like {
    display: inline-block !important;
    font-size: 12px;
    margin: 5px auto;
    padding: 20px;
}


/* Single Slider No 3 Setting */

.apif-slider-3-view.apif-large {
    max-width: 640px;
    display: block;
    margin: 0 auto;
}

.apif-slider-3-view.apif-medium {
    max-width: 320px;
    display: block;
    margin: 0 auto;
}

.apif-slider-3-view.apif-small {
    max-width: 150px;
    display: block;
    margin: 0 auto;
}


/* Single Slider No 1 Setting */

.apif-slider-1-view.apif-large {
    max-width: 640px;
    display: block;
    margin: 0 auto;
}

.apif-slider-1-view.apif-medium {
    max-width: 320px;
    display: block;
    margin: 0 auto;
}

.apif-slider-1-view.apif-small {
    max-width: 150px;
    display: block;
    margin: 0 auto;
}

ul.apif-slider li .coment-like {
    display: inline-block !important;
    font-size: 13px;
    margin: 0 auto;
    padding: 20px;
}

.apif-slider-pro {
    max-width: 650px;
}

.apif-grid-view .coment-like {
    display: inline-block !important;
    font-size: 13px;
    margin: 0 auto;
    padding: 20px;
}

.ap_pagination {
    padding-top: 30px;
    min-height: 80px;
}

.apif-masonry-block .apif-fig-content .ap_posted_ago {
    padding: 10px 0px 4px 0px;
    color: #ababab;
    font-size: 12px;
}


/* globlized css */

span.apif-ins-video-icon {
    position: absolute;
    display: inline-block;
    top: 8px;
    right: 10px;
    font-size: 20px;
    z-index: 99;
}

.apif-image-caption {
    font-size: 14px;
}

.apif-fig-content {
    font-size: 13px;
}

.apif-round-image-layout .apif-ins-link {
    margin-top: 25px;
    display: inline-block;
}

.apif-round-image-layout .apif-ins-video-icon {
    margin-top: 25px;
    display: inline-block;
}

.apif-owl-demo.owl-theme .owl-controls .owl-buttons div {
    background: #722611;
    border-radius: 0px;
    padding: 2px 10px 4px 10px;
    line-height: 20px;
}

.apif-owl-demo .apif-ins-link a i {
    text-decoration: none !important;
    font-style: normal !important;
}


/* slider 4 */

.apif-slider-4-view .sp-layer {
    font-size: 14px;
}

.apif-slider-4-view .hoverlay-link {
    z-index: 0;
}

.apif-slider-4-view .sp-thumbnail-description a {
    text-decoration: none !important;
    border-bottom: none;
}

.apif-slider-4-view .sp-layer {
    margin: auto;
}

div.light_rounded .pp_description, div.light_square .pp_description {
    clear: both;
    font-size: 13px;
    margin-bottom: 8px;
}


/* lit popup image issue fixed */

.litbx__inner {
    width: auto;
    height: auto;
}

.litbx__wrapper {
    width: auto !important;
    height: auto !important;
}

.ap_pagination.apif-center {
    clear: both;
    display: block;
    text-align: center;
}

.ap_pagination.apif-right {
    clear: both;
    display: block;
    text-align: right;
}

.ap_pagination.apif-left {
    clear: both;
    display: block;
    text-align: left;
}

.ap_pagination {
    clear: both;
    display: block;
    text-align: center;
}


/*  theme 16 fixed */

.apif-slider-4-view a, .apif-slider-5-view a, .jcarousel-wrapper a, .apif-owl-demo a, .apif-image-layout-view a, .apif-instagram-view a, .apif-masonry-view a, .apif-grid-view a, .jcarousel-wrapper a {
    border-bottom: none!important;
    box-shadow: none !important;
}

.apif-image-layout-view span.apif-ins-video-icon {
    position: relative;
    display: block;
    top: 0;
    font-size: 20px;
}

.ap_feed_wrapper i {
    font-style: normal!important;
}


/* slider mobile thumbnail scroller list style */

ul li.movement-on-hover.mTSThumbContainer {
    list-style: none;
}

.widget_apif_pro_sidewidget ol, .widget_apif_pro_sidewidget ul {
    margin: 0 !important;
}

.apif-round-image-layout .apif-round-image-block.circle-rotateyrs a {
    text-decoration: none;
    color: #111;
}

.apif-round-image-layout a {
    color: #111;
}

.apif-left-to-right figure {
    margin: 0px 0;
}

.apif-owl-demo .apif-ins-link a i {
    color: #111;
}

.apif-image-zoom-style figure {
    margin: 0 0;
}

.ap_feeds.ap_feeds-instagram_layout a {
    text-decoration: none;
    color: #125688;
}

.ap_feed_wrapper a i {
    font-style: normal !important;
}

.ap_feed_wrapper a {
    text-decoration: none !important;
}

#apif-shortcode-wrapper a i {
    font-style: normal !important;
}

.jcarousel-wrapper a i {
    font-style: normal !important;
}


/* for accesspress lightbox */

.apif-like-popup, .apif-comment-popup {
    color: #777;
    padding-right: 8px;
    display: inline-block;
    font-size: 12px;
}

.apif-popup-posted-ago {
    color: #777;
    font-size: 12px;
}

.apif-popup-controls .prev, .apif-popup-controls .next {
    width: 20px;
    height: 20px;
    display: block;
    z-index: 99999;
}

.apif-popup-camera-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    float: right;
    border: 1px solid #008dd2;
    text-align: center;
    /*padding: 5px;*/
    margin-top: 15px;
    color: #008dd2;
    line-height: 30px;
}

.apif-popup-camera-icon a i {
    color: #008dd2;
}

.apif-popup-controls .next {
    float: right;
    right: 50px;
    height: 60px;
    width: 60px;
    margin-right: 40px;
}

.apif-popup-controls .prev {
    float: left;
    left: 50px;
    height: 60px;
    width: 60px;
    margin-left: 40px;
}

.apif-popup-controls {
    display: block;
    z-index: 999;
    width: 100%;
    position: absolute;
    top: 50%;
    height: 60px;
    overflow: hidden;
}

.apif-popup-controls a {
    color: #fff;
    display: inline-block;
    overflow: hidden;
}

.apif-close-btn {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 50px;
    top: 50px;
    z-index: 99999;
}

.apif-close-btn a {
    color: #fff;
}

.apif-close-btn a:visited {
    color: #fff;
}

.apif-close-btn a:hover {
    color: #fff;
}

.apif-close-btn a:focus {
    color: #fff;
}

.apif-close-btn a {
    color: #fff;
}

.apif-accesspress-popup-overlay {
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 999;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    display: block;
}

.apif-fig-wrap {
    margin-top: 15px;
}

.ap-insta-popup-likecomment {
    border-top: 1px solid #ccc;
    padding: 15px 5px 8px 5px;
}

.apif-accesspress-popup {
    max-width: 500px;
    left: 0;
    right: 0;
    top: 0;
    margin-top: 10%;
    margin: auto;
    bottom: auto;
    margin-top: 5%;
    background: #fff;
    position: absolute;
    z-index: 9999;
    padding: 10px;
    /*border-radius:10px;*/
    display: block;
    height: auto;
    /*max-height: 550px;*/
}

.apif-popup-pimg {
    width: 70px;
    height: 70px;
    border-radius: 100%;
    display: inline-block;
    float: left;
    margin-right: 10px;
    margin-bottom: 20px;
}

.apif-popup-pimg img {
    width: 70px;
    height: 70px;
    border: 3px solid #ccc;
    border-radius: 100%;
}

.apif-popup-name {
    display: inline-block;
    float: left;
}

.apif-popup-name h4 {
    margin: 0;
    padding: 0;
    margin-top: 20px;
    margin-left: 6px;
    color: #777;
    font-weight: 500;
    font-size: 20px;
}

.apif-accesspress-popup img {
    max-width: 100%;
}

.apif-popup-disc-text {
    display: block;
    overflow: hidden;
    clear: both;
    margin: 10px 5px;
}

.apif-popup-disc-text p {
    font-size: 15px;
    margin-top: 0;
}


/* new added css for popup */

div.pp_pic_holder {
    background: #fff;
}

div.pp_pic_holder .pp_middle {
    display: none;
}

.vbox-inline {
    height: auto !important;
}

.vbox-inline video {
    width: 100%;
}

.apif-popup-controls a:hover, .apif-popup-controls a:focus, .apif-popup-controls a:active {
    color: #fff;
}

.apif-owl-demo .apif-ins-video-icon a {
    color: #000;
}

.theme-default .nivo-directionNav a {
    text-indent: 0;
    background: none;
    font-size: 38px;
    color: #ccc;
}

.apif-slider-4-view .sp-slides-container .sp-image-container {
    position: relative;
    float: right;
    width: 50% !important;
    box-sizing: border-box;
    /*padding-right: 40px;*/
}

.apif-slider-4-view .sp-slides-container {
    /*padding: 25px 0 20px;*/
}

.apif-slider-4-view .apif-slider-pro {
    border: 1px solid #ccc;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
    background: #f1f1f1;
    position: relative;
}

.apif-slider-4-view .apif-slider-pro span.photo-n-video-icon {
    display: inline-block;
    position: absolute;
    top: -20px;
    z-index: 9999;
    right: 0;
    width: 20px;
    height: 30px;
}

.apif-slider-4-view .apif-slider-pro .apif-s4-content {
    margin: 20px 30px 20px 30px;
}

.apif-slider-4-view .apif-slider-pro .apif-s4-content p {
    margin: 0;
    padding: 0;
    line-height: 30px;
    color: #777;
    font-size: 12px;
}

.apif-slider-4-view .apif-slider-pro .apif-s4-content p.apif-posted-info {
    line-height: 20px;
    font-size: 14px;
    margin-top: 20px;
    color: #777;
}

.apif-slider-4-view .apif-slider-pro .apif-comlike .ap-insta i {
    color: #0477ac;
}

.apif-slider-4-view .apif-slider-pro .apif-comlike .apif-left-space {
    margin-left: 12px;
    display: inline-block;
}

.apif-slider-4-view .apif-slider-pro .posted-time i {
    color: #0477ac;
}

.apif-slider-4-view .apif-left-pro-slide-content {
    width: 50%;
    float: left;
    position: relative;
}

.apif-slider-4-view .apif-slider-pro .sp-thumbnail-container .sp-thumbnail img {
    width: 100%;
    max-width: 100%;
}

.apif-slider-4-view .apif-slider-pro .sp-thumbnail-container.sp-selected-thumbnail {
    border-top: 2px solid #0477ac;
}

.apif-slider-4-view .apif-left-pro-slide-content .profile-image {
    width: 90px;
    height: 90px;
    border-radius: 100%;
    float: left;
    display: inline-block;
}

.apif-slider-4-view .apif-left-pro-slide-content .sp-user-name {
    float: left;
    display: inline-block;
    margin-left: 0px;
    margin-left: 30px;
    margin-top: 30px;
}

.apif-slider-4-view .apif-left-pro-slide-content .sp-user-name a {
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
    font-size: 14px;
}

.apif-slider-4-view .apif-left-pro-slide-content .profile-image img {
    border: 3px solid #ccc;
    margin-left: 10px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 100%;
}

.apif-slider-4-view .apif-left-pro-slide-content .profile-user-wrap {
    display: block;
    overflow: hidden;
}

.ap_feeds-grid_layout .apif-overlay-cont-block a {
    color: #999;
}

.ap_feeds-instagram_layout .apif-comment-like span p {
    color: #125688;
}

.apif-masnry-default .apif-overlay-cont-block .apif-ins-video-icon a {
    color: #999;
}

.apif-masnry-default .apif-overlay-cont-block .apif-ins-link a {
    color: #999;
}
.masonry_elem.columns.isotope-item.element-itemif.grid-small span.instagram_like_count {
    font-size: 11px; 
}
.masonry_elem.columns.isotope-item.element-itemif.grid-small a.image-hover .follow {
    font-size: 0;
}
span.instagram_like_count .insta.like_image i {
    font-style: normal;
}
.instagram_imge_like {
    text-align:center !important;
}

.apif-right img {
    float:right;
}

.apif-center img {
    display:inline;
}


/* for accesspress lightbox ends*/

/*.apif-image-source {
    transform-origin: 0 0;
    backface-visibility: hidden;
    height: 100%;
    min-width: 100%;
    max-width: inherit;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.theme-default .nivoSlider{
    height: 400px !important;
    width: 100% !important;
}
.nivoSlider img{
    transform-origin: 0 0;
    backface-visibility: hidden;
    max-width: inherit;
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}
.apif-owl-silder figure{
    min-height: 250px;
    width: 100%;
}

.apif-owl-silder figure img{
    object-fit: cover;
    height: 100%;
}*/
/* ***************** Media query for different view ********************* */

/*@media (max-width:980px) {
    .apif-masonry-box.apif-col-2, .apif-masonry-box.apif-col-3, .apif-masonry-box.apif-col-4, .apif-masonry-box.apif-col-5, .apif-masonry-box.apif-col-6 {
        width: 33.3333%;
    }
    .apif-round-image-layout.apif-col-2, .apif-round-image-layout.apif-col-3, .apif-round-image-layout.apif-col-4, .apif-round-image-layout.apif-col-5, .apif-round-image-layout.apif-col-6 {
        width: 33.3333%;
    }
}

@media (max-width:768px) {
    .apif-masonry-box.apif-col-2, .apif-masonry-box.apif-col-3, .apif-masonry-box.apif-col-4, .apif-masonry-box.apif-col-5, .apif-masonry-box.apif-col-6 {
        width: 50%;
    }
    .apif-round-image-layout.apif-col-2, .apif-round-image-layout.apif-col-3, .apif-round-image-layout.apif-col-4, .apif-round-image-layout.apif-col-5, .apif-round-image-layout.apif-col-6 {
        width: 50%;
    }
}

@media (max-width:640px) {
    .apif-masonry-box.apif-col-2, .apif-masonry-box.apif-col-3, .apif-masonry-box.apif-col-4, .apif-masonry-box.apif-col-5, .apif-masonry-box.apif-col-6 {
        width: 100%;
    }
    .apif-round-image-layout.apif-col-2, .apif-round-image-layout.apif-col-3, .apif-round-image-layout.apif-col-4, .apif-round-image-layout.apif-col-5, .apif-round-image-layout.apif-col-6 {
        width: 100%;
    }
    .apif-slider-4-view .apif-slider-pro .apif-s4-content p.apif-posted-info {
        display: none;
    }
    .apif-slider-4-view .apif-left-pro-slide-content .sp-user-name {
        display: inline-block;
        float: none;
        clear: both;
        margin-top: 20px;
        width: 100%;
    }
}*/

/*@media (min-width:1199px){
    .apif-owl-demo .owl-item{
        height: 20vw !important;
        width: 20vw !important;
    }
    .apif-owl-demo .owl-item .apif-owl-silder,
    .apif-owl-demo .owl-item .apif-owl-silder figure{
        position: relative;
        width: 100%;
        height: 100%;
    }
    .apif-owl-demo .owl-item .apif-owl-silder figure img.apif-image-source{
        object-fit: cover;
        height: 100%;
        transform-origin: 0 0;
        backface-visibility: hidden;
        max-width: inherit;
        position: absolute;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
    }
    
}

@media (max-width:1199px) and (min-width: 979px){
    .apif-owl-demo .owl-item{
        height: 33.33vw !important;
        width: 33.33vw !important;
    }
    .apif-owl-demo .owl-item .apif-owl-silder,
    .apif-owl-demo .owl-item .apif-owl-silder figure{
        position: relative;
        width: 100%;
        height: 100%;
    }
    .apif-owl-demo .owl-item .apif-owl-silder figure img.apif-image-source{
        object-fit: cover;
        height: 100%;
        transform-origin: 0 0;
        backface-visibility: hidden;
        max-width: inherit;
        position: absolute;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
    }
    

}

@media (max-width:979px) and (min-width: 640px){
    .apif-owl-demo .owl-item{
        height: 50vw !important;
        width: 50vw !important;
    }
    .apif-owl-demo .owl-item .apif-owl-silder,
    .apif-owl-demo .owl-item .apif-owl-silder figure{
        position: relative;
        width: 100%;
        height: 100%;
    }
    .apif-owl-demo .owl-item .apif-owl-silder figure img.apif-image-source{
        object-fit: cover;
        height: 100%;
        transform-origin: 0 0;
        backface-visibility: hidden;
        max-width: inherit;
        position: absolute;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
    }
    

}

@media (max-width: 640px){
    .apif-owl-demo .owl-item{
        height: 100vw !important;
        width: 100vw !important;
    }
    .apif-owl-demo .owl-item .apif-owl-silder,
    .apif-owl-demo .owl-item .apif-owl-silder figure{
        position: relative;
        width: 100%;
        height: 100%;
    }
    .apif-owl-demo .owl-item .apif-owl-silder figure img.apif-image-source{
        object-fit: cover;
        height: 100%;
        transform-origin: 0 0;
        backface-visibility: hidden;
        max-width: inherit;
        position: absolute;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
    }
    

}*/



/*Owl Slider*/
.apif-owl-demo.apif-thumbnail .apif-top-to-bottom figure .profile-image{
    width: 30px;
    height: 30px;
}
.apif-thumbnail .apif-owl-silder .coment-like{
    margin: -20px auto 0 !important;
}
.apif-thumbnail .apif-owl-silder .coment-like p{
    font-size: 10px;
}
.apif-thumbnail .apif-user-name{
    font-size: 11px;
}
.apif-low_resolution .apif-owl-silder .coment-like{
    margin: -20px auto 0 !important;
}
.apif-low_resolution .apif-owl-silder .coment-like p{
    font-size: 10px;
}
.apif-low_resolution .apif-user-name{
    font-size: 11px
}
/*.apif-standard_resolution figure .profile-image{
    margin-top: 80px;
}*/
.apif-owl-demo.owl-carousel .owl-nav{
    text-align: center;
    padding: 10px;
}
.apif-owl-demo.owl-carousel .owl-nav .owl-prev, .apif-owl-demo.owl-carousel .owl-nav .owl-next{
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    background: #722611;
    color: #FFF;
    font-size: 12px;
    filter: Alpha(Opacity=50);
    opacity: 0.5;
    -webkit-border-radius: 4px;
            border-radius: 4px;
    -webkit-transition: ease-in-out 0.3s;
       -moz-transition: ease-in-out 0.3s;
        -ms-transition: ease-in-out 0.3s;
         -o-transition: ease-in-out 0.3s;
            transition: ease-in-out 0.3s;
}
.apif-owl-demo.owl-carousel .owl-nav .owl-prev:hover, .apif-owl-demo.owl-carousel .owl-nav .owl-next:hover{
    filter: Alpha(Opacity=100);
    opacity: 1;
}
.apif-owl-demo .owl-item .apif-owl-silder,
.apif-owl-demo .owl-item .apif-owl-silder figure{
    position: relative;
    width: 100%;
    height: 100%;
}
.apif-owl-demo .owl-item .apif-owl-silder figure .apif-overlay-cont-block{
    display: table;
    height: 100%;
    width: 100%;
    position: relative;
}
.apif-owl-demo .owl-item .apif-owl-silder figure .apif-owl-wrapped{
    display: table-cell;
    vertical-align: middle;
    position: relative;
    padding: 0;
    margin: 0 auto;
}
.apif-owl-demo .owl-item .apif-owl-silder figure img.apif-image-source{
    object-fit: cover;
    height: 100%;
    width: 102%;
    transform-origin: 0 0;
    backface-visibility: hidden;
    max-width: inherit;
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}



/*JCarousel Slider*/
/*Apif Js Carousel*/
/*Standard resolution*/
.jcarousel-wrapper .apif-jcarousel figure{
    position: relative;
    display: table;
}
.jcarousel-wrapper .apif-jcarousel .apif-image-info-wrapper{
    display: table-cell;
    vertical-align: middle;
    position: relative;
    padding: 0;
    margin: 0 auto;
    text-align: center;
}
.jcarousel-wrapper .apif-jcarousel .apif_standard_resolution figure{
    width: 450px;
    height: 450px;
}
.jcarousel-wrapper .apif-jcarousel .apif_low_resolution figure{
    width: 320px;
    height: 320px;
}
.jcarousel-wrapper .apif-jcarousel .apif_thumbnail figure{
    width: 150px;
    height: 150px;
}
.jcarousel-wrapper .apif-jcarousel figure img.the-thumb{
    object-fit: cover;
    height: 100%;
    width: 100%;
    transform-origin: 0 0;
    backface-visibility: hidden;
    max-width: inherit;
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}
.jcarousel-wrapper .apif-jcarousel .apif_thumbnail figure .profile-image{
    width: 30px;
    height: 30px;
}
.jcarousel-wrapper .apif-jcarousel .apif_thumbnail figure .coment-like{
    margin: -20px auto 0 !important;
}
.jcarousel-wrapper .apif-jcarousel .apif_thumbnail figure .coment-like p{
    font-size: 10px;
}
.jcarousel-wrapper .apif-jcarousel .apif_thumbnail figure .apif-user-name{
    font-size: 11px;
}
.jcarousel-wrapper .apif-jcarousel .apif_standard_resolution .apif-image-info-wrapper{
    width: 450px;
    display: table-cell;
    vertical-align: middle;
    position: relative;
    padding: 0;
    margin: 0 auto;
    text-align: center;
}
.jcarousel-wrapper .apif-jcarousel .apif_low_resolution .apif-image-info-wrapper{
    width: 320px;
    display: table-cell;
    vertical-align: middle;
    position: relative;
    padding: 0;
    margin: 0 auto;
    text-align: center;
}
.jcarousel-wrapper .apif-jcarousel .apif_thumbnail .apif-image-info-wrapper{
    width: 150px;
    height: 150px;
    display: table-cell;
    vertical-align: middle;
    position: relative;
    padding: 0;
    margin: 0 auto;
    text-align: center;
}
/*Thumbnail Scroller Slider layout*/
.ap_slider_wrapper .apif_standard_resolution figure{
    width: 450px;
    height: 450px;
    position: relative;
}
.ap_slider_wrapper .apif_standard_resolution figure img.sp-image,
.ap_slider_wrapper .apif_low_resolution figure img.sp-image,
.ap_slider_wrapper .apif_thumbnail figure img.sp-image{
    object-fit: cover;
    height: 100%;
    width: 102%;
    transform-origin: 0 0;
    backface-visibility: hidden;
    max-width: inherit;
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}
.ap_slider_wrapper .movement-on-hover.apif_standard_resolution figure .profile-image{
    width: 50px;
    height: 50px;
    margin-top: 35px;
}
.ap_slider_wrapper .apif_low_resolution figure{
    width: 300px;
    height: 300px;
    position: relative;
}
.ap_slider_wrapper .apif_low_resolution figure .apif-user-name{
    margin-top: 10px;
}
.ap_slider_wrapper .apif_low_resolution figure .coment-like{
    padding-top: 0px !important;
}
.ap_slider_wrapper .apif_thumbnail figure{
    width: 150px;
    height: 150px;
    position: relative;
}
.ap_slider_wrapper .movement-on-hover.apif_thumbnail figure .profile-image{
    width: 30px;
    height: 30px;
    margin-top: 35px;
}
.ap_slider_wrapper .movement-on-hover.apif_thumbnail figure .coment-like{
    padding: 0 !important;
}
.ap_slider_wrapper .movement-on-hover.apif_thumbnail figure .coment-like .ap-instagram_imge_like{
    font-size: 11px;
}
.ap_slider_wrapper .movement-on-hover.apif_thumbnail figure .coment-like .ap_insta_comment_count{
    font-size: 11px;
}


.ap_feeds.for-mosaic.ifgrid .profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

.ap_feeds.for-mosaic.ifgrid span.instagram_like_count{
    display: block;
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    margin-top: 0;
    color: #ffffff;
    -webkit-transition: all .3s ease 0s;
    -moz-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
    /* bottom: 0; */
    transform: translateY(-50%);
}
.ap_feeds.for-mosaic.ifgrid .ap-instagram_like_count,
.ap_feeds.for-mosaic.ifgrid .ap_insta_comment_count{
    display: inline-block;
}
.ap_feeds.for-mosaic.ifgrid span.instagram_like_count span{
    display: block;
    padding-left: 2px;
}

@media (min-width: 1367px){
    .apif-owl-demo.apif-standard_resolution .owl-item{
        height: 20vw;
    }
    .apif-owl-demo.apif-low_resolution .owl-item{
        height: 12.5vw;
    }
    .apif-owl-demo.apif-thumbnail .owl-item{
        height: 8.33vw;
    }
}
@media (max-width:1367px) and (min-width: 1200px){
    .apif-owl-demo.apif-standard_resolution .owl-item{
        height: 25vh;
    }
    .apif-owl-demo.apif-low_resolution .owl-item{
        height: 16.66vw;
    }
    .apif-owl-demo.apif-thumbnail .owl-item{
        height: 10vw;
    }
}
@media (max-width:1200px) and (min-width: 992px){
    .apif-owl-demo.apif-standard_resolution .owl-item{
        height: 25vh;
    }
    .apif-owl-demo.apif-low_resolution .owl-item{
        height: 20vw;
    }
    .apif-owl-demo.apif-thumbnail .owl-item{
        height: 12.5vw;
    }
    .apif-standard_resolution figure .profile-image{
        margin-top: 40px;
    }
}
@media (max-width:992px) and (min-width: 768px){
    .apif-owl-demo.apif-standard_resolution .owl-item{
        height: 33.33vw;
    }
    .apif-owl-demo.apif-low_resolution .owl-item{
        height: 25vw;
    }
    .apif-owl-demo.apif-thumbnail .owl-item{
        height: 16.66vw;
    }
    .jcarousel-wrapper .apif-jcarousel .apif_standard_resolution figure{
        width: 400px;
        height: 400px;
    }
    .jcarousel-wrapper .apif-jcarousel .apif_low_resolution figure {
        width: 300px;
        height: 300px;
    }
    .ap_slider_wrapper .apif_low_resolution figure{
        width: 280px;
        height: 280px;
        position: relative;
    }
    .ap_slider_wrapper .movement-on-hover.apif_standard_resolution figure{
        width: 400px;
        height: 400px;
    }
}
@media (max-width:768px) and (min-width: 450px){
    .apif-owl-demo.apif-standard_resolution .owl-item{
        height: 50vw;
    }
    .apif-owl-demo.apif-low_resolution .owl-item{
        height: 33.33vw;
    }
    .apif-owl-demo.apif-thumbnail .owl-item{
        height: 25vw;
    }
    .jcarousel-wrapper .apif-jcarousel .apif_standard_resolution figure{
        width: 350px;
        height: 350px;
    }
    .jcarousel-wrapper .apif-jcarousel .apif_low_resolution figure {
        width: 280px;
        height: 280px;
    }
    .ap_slider_wrapper .apif_low_resolution figure{
        width: 250px;
        height: 250px;
        position: relative;
    }
    .ap_slider_wrapper .movement-on-hover.apif_low_resolution figure .profile-image{
        width: 30px;
        height: 30px;
        margin-top: 10px;
    }
    .ap_slider_wrapper .movement-on-hover.apif_standard_resolution figure{
        width: 350px;
        height: 350px;
    }
    .ap_slider_wrapper .movement-on-hover.apif_standard_resolution figure .profile-image{
        width: 50px;
        height: 50px;
        margin-top: 20px;
    }
    .ap_slider_wrapper .movement-on-hover.apif_standard_resolution figure .coment-like{
        padding: 0 !important;
    }
}
@media (max-width:450px){
    .apif-owl-demo.apif-standard_resolution .owl-item{
        height: 100vw;
    }
    .apif-owl-demo.apif-low_resolution .owl-item{
        height: 50vw;
    }
    .apif-owl-demo.apif-thumbnail .owl-item{
        height: 50vw;
    }
    .jcarousel-wrapper .apif-jcarousel .apif_standard_resolution figure{
        width: 300px;
        height: 300px;
    }
    .jcarousel-wrapper .apif-jcarousel .apif_low_resolution figure {
        width: 250px;
        height: 250px;
    }
    .ap_slider_wrapper .apif_low_resolution figure{
        width: 220px;
        height: 220px;
        position: relative;
    }
    .ap_slider_wrapper .movement-on-hover.apif_low_resolution figure .profile-image{
        width: 30px;
        height: 30px;
        margin-top: 10px;
    }
    .ap_slider_wrapper .movement-on-hover.apif_standard_resolution figure{
        width: 300px;
        height: 300px;
    }
    .ap_slider_wrapper .movement-on-hover.apif_standard_resolution figure .profile-image{
        width: 40px;
        height: 40px;
        margin-top: 20px;
    }
    .ap_slider_wrapper .movement-on-hover.apif_standard_resolution figure .coment-like{
        padding: 0 !important;
    }
}

/*.sidebar-right #page-content{
    width: 100% !important;
}
.site_content_width{
    width: 100% !important;
    max-width: 100% !important;
}*/


