.tvcms_instagram {
    padding: 1.5rem 0;
}

.instagram_list_img img {
    max-width: 100%;
}

.tvcms_instagram_header>a,
.instagram_follow_button {
    border-radius: 5px;
    box-shadow: none;
    color: #fff;
    float: right;
    font-weight: normal;
    line-height: 24px;
    padding: 5px 15px;
    text-transform: none;
}

.top_instagram_follow {
    text-align: center;
}

.top_instagram_follow .title-block {
    margin-bottom: .5rem;
}

.top_instagram_follow .title-block a {
    font-size: 24px;
    font-weight: 700;
}

.tvcms-insta-display-name {
    color: #999;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 5px;
    display: block;
}

.tvcms_instagram_hook_home .tvcms_instagram_header>h4 {
    font-size: 24px;
    line-height: 34px;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
}

.top_instagram {
    margin-bottom: 20px;
}

.tvcms_instagram_hook_home .tvcms_instagram_header {
    display: box;
    display: -webkit-box;
    display: -o-box;
    display: -ms-box;
    display: -moz-box;
    display: flex;
    display: -webkit-flex;
    display: -o-flex;
    display: -ms-flex;
    display: -moz-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    -moz-justify-content: space-between;
    padding: 0 10px;
}

.tvcms-insta-follow-us {
    padding: 5px 10px;
    color: #fff !important;
    font-size: 14px;
    display: inline-block;
    border-radius: 3px;
    margin-top: -2px;
    margin-bottom: 7px;
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transition: all 400ms ease-in-out;
}

.tvcms-insta-follow-us:hover {
    color: #fff;
}

.tvcms_instagram_user {
    color: #999;
    font-size: 14px;
    clear: left;
}

.tvcms_instagram_list_slider {
    clear: left;
    position: relative;
}

.instagram_img-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.tvcms_instagram_hook_home {
    float: left;
    margin-bottom: 30px;
    padding: 20px 15px;
    width: 100%;
}

.tvcms_ins_fancy>img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    max-width: 100%;
    perspective: 500px;
    -o-perspective: 500px;
    -ms-perspective: 500px;
    -moz-perspective: 500px;
    -webkit-perspective: 500px;
    transform: scale(1.02);
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -ms-transform: scale(1.02);
    -o-transform: scale(1.02);
    transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    width: 100%;
}

.zooming_enabled .instagram_item_content:hover img {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
}

.tvcms_instagram_load_more::before {
    content: "\f067";
    font-family: Fontawesome;
    font-size: 12px;
    margin-right: 5px;
    vertical-align: 1px;
}

.tvcms_instagram_load_more {
    clear: left;
    display: block;
    margin-left: 10px;
    margin-top: 10px;
    width: 100%;
}

.tvcms_instagram_header>a:before,
.instagram_follow_button:before {
    content: "\f16d";
    font-family: Fontawesome;
    margin-right: 6px;
}

.tvcms_instagram_hook_home .tvinstagramfeed_item_img {
    float: left;
    padding: 10px;
    width: 16.6667%;
    display: table-cell;
}

.instagram_item_content {
    overflow: hidden;
    position: relative;
    perspective: 500px;
    -o-perspective: 500px;
    -ms-perspective: 500px;
    -moz-perspective: 500px;
    -webkit-perspective: 500px;
}

.instagram_item_content::before {
    bottom: 0;
    box-shadow: 0 0 50px 10px #333;
    -webkit-box-shadow: 0 0 50px 10px #333;
    -ms-box-shadow: 0 0 50px 10px #333;
    -o-box-shadow: 0 0 50px 10px #333;
    -moz-box-shadow: 0 0 50px 10px #333;
    pointer-events: none;
    content: "";
    left: 0;
    position: absolute;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    transition: all 0.35s;
    -o-transition: all 0.35s;
    -ms-transition: all 0.35s;
    -moz-transition: all 0.35s;
    -webkit-transition: all 0.35s;
}

.instagram_item_content:hover:before {
    opacity: 1;
    visibility: visible;
}

.tvcms_instagram_info {
    bottom: 0;
    display: box;
    display: -o-box;
    display: -ms-box;
    display: -moz-box;
    display: -webkit-box;
    display: flex;
    display: -o-flex;
    display: -ms-flex;
    display: -moz-flex;
    display: -webkit-flex;
    justify-content: space-between;
    -o-justify-content: space-between;
    -ms-justify-content: space-between;
    -moz-justify-content: space-between;
    -webkit-justify-content: space-between;
    left: 0;
    pointer-events: none;
    padding: 5px 10px;
    position: absolute;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    width: 100%;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s;
    -o-transition: all 0.35s;
    -ms-transition: all 0.35s;
    -moz-transition: all 0.35s;
    -webkit-transition: all 0.35s;
}

.instagram_item_content:hover .tvcms_instagram_info {
    opacity: 1;
    visibility: visible;
}

.tvcms_instagram_info span {
    color: #fff;
}

.tvcms_instagram_likes::before {
    content: "\f08a";
    font-family: fontawesome;
    font-size: 14px;
    padding-right: 6px;
}

.tvcms_instagram_comments::before {
    content: "\f0e5";
    font-family: fontawesome;
    font-size: 14px;
    padding-right: 6px;
}

.tvcms_instagram_load_more.hidden {
    display: none;
}

.tvcms_instagram_no_more {
    clear: left;
    color: #999;
    float: left;
    font-size: 13px;
    margin-top: 5px;
}

.tvcms_instagram *:focus,
.tvcms_instagram *:active {
    outline: medium none;
    -o-outline: medium none;
    -ms-outline: medium none;
    -moz-outline: medium none;
    -webkit-outline: medium none;
    text-decoration: none;
}

/***************/

.tvcms_instagram_hook_footer .tvinstagramfeed_item_img {
    float: left;
    margin: 0;
    padding: 5px;
    width: 33.33%;
}

.tvcms_instagram_hook_footer #footer_instagram a.btn {
    clear: left;
    float: left;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 5px;
    box-shadow: none;
    color: #fff;
    font-weight: normal;
    line-height: 24px;
    text-transform: none;
}

#footer_instagram a.btn:before {
    content: "\f16d";
    font-family: Fontawesome;
    margin-right: 6px;
}

.tvcms_instagram_hook_footer .tvcms_instagram_info {
    font-size: 10px;
    padding: 2px;
    line-height: 14px;
}

.tvcms_instagram_hook_footer .tvcms_instagram_likes::before,
.tvcms_instagram_hook_footer .tvcms_instagram_comments::before {
    font-size: 10px;
    padding-right: 3px;
}

.tvcms_instagram_hook_footer .tvcms_instagram_header {
    display: block;
    float: left;
    width: 100%;
}

.tvcms_instagram_hook_footer .tvcms_instagram_user {
    float: left;
    margin-bottom: 5px;
    margin-left: 0;
    margin-top: 5px;
    width: 100%;
}

.tvcms_instagram_hook_footer .tvcms_instagram_load_more {
    font-size: 14px;
    margin-left: 0;
}

.tvcms_instagram_hook_footer .instagram_list_img {
    margin-top: 10px;
}

/****************/

.tvcms_instagram_hook_right .tvcms_instagram_header>a,
.tvcms_instagram_hook_left .tvcms_instagram_header>a {
    float: left;
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 5px;
    padding: 3px 10px;
}

.tvcms_instagram_hook_left .tvcms_instagram_user,
.tvcms_instagram_hook_right .tvcms_instagram_user {
    clear: left;
    display: block;
    margin-left: 0;
}

.tvcms_instagram_hook_right .tvinstagramfeed_item_img,
.tvcms_instagram_hook_left .tvinstagramfeed_item_img {
    float: left;
    padding: 5px;
    width: 33.33%;
}

.tvcms_instagram_hook_left .instagram_list_img,
.tvcms_instagram_hook_right .instagram_list_img {
    margin-left: -5px;
    width: calc(100% + 10px);
    width: -webkit-calc(100% + 10px);
    width: -ms-calc(100% + 10px);
    width: -o-calc(100% + 10px);
    width: -moz-calc(100% + 10px);
    margin-top: 5px;
}

.tvcms_instagram_hook_right .tvcms_instagram_info,
.tvcms_instagram_hook_left .tvcms_instagram_info {
    font-size: 10px;
    padding: 0 3px;
}

.tvcms_instagram_hook_left .tvcms_instagram_likes::before,
.tvcms_instagram_hook_right .tvcms_instagram_likes::before,
.tvcms_instagram_hook_right .tvcms_instagram_comments::before,
.tvcms_instagram_hook_left .tvcms_instagram_comments::before {
    font-size: 10px;
    padding-right: 3px;
}

.tvcms_instagram_hook_left .tvcms_instagram_load_more,
.tvcms_instagram_hook_right .tvcms_instagram_load_more {
    margin-left: 0;
    font-size: 13px;
}

.tvcms_instagram_hook_home.is_17 .tvcms_instagram_no_more {
    margin-left: 10px;
}

.tvcms_instagram_hook_left,
.tvcms_instagram_hook_right {
    box-shadow: 2px 2px 11px 0 rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 2px 2px 11px 0 rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 2px 2px 11px 0 rgba(0, 0, 0, 0.1);
    -o-box-shadow: 2px 2px 11px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 2px 2px 11px 0 rgba(0, 0, 0, 0.1);
    float: left;
    margin-bottom: 1.5625rem;
    padding: 1.5625rem 1.25rem;
    width: 100%;
}

.tvcms_instagram_hook_left .tvcms_instagram_header h4,
.tvcms_instagram_hook_right .tvcms_instagram_header h4 {
    font-size: 0.9375rem;
}

li.tvinstagramfeed_item_img {
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .tvcms_instagram_hook_footer {
        float: left;
        width: 16.66%;
    }
}

@media (max-width: 543px) {
    .tvcms_instagram_hook_home .tvinstagramfeed_item_img {
        width: 33.333%;
    }

    .tvcms_instagram_hook_home .tvcms_instagram_header {
        display: block;
    }

    .tvcms_instagram_hook_home .tvcms_instagram_header a {
        float: left;
        margin-top: 7px;
    }

    .tvcms_instagram_hook_home .tvcms_instagram_user {
        margin-top: 8px;
    }
}

@media (max-width: 767px) {
    .tvcms_instagram_hook_footer {
        float: left;
        width: 100%;
    }

    .tvcms_instagram_hook_footer #footer_instagram a.btn {
        margin-top: 10px;
    }

    #footer_instagram {
        padding: 0 10px;
    }

    #footer_instagram .tvcms_instagram_load_more {
        margin-bottom: 20px;
    }

    .tvcms_instagram_hook_footer .tvcms_instagram_header .h3 {
        display: inline-block
    }

    .tvcms_instagram_hook_home .tvinstagramfeed_item_img {
        width: 33.333%;
    }
}

@media (min-width: 544px) and (max-width: 767px) {
    .tvcms_instagram_hook_home .tvinstagramfeed_item_img {
        width: 25%;
    }
}

@media (max-width: 479px) {
    .tvcms_instagram_info {
        padding: 5px;
    }

    .tvcms_instagram_info span,
    .tvcms_instagram_info span::before {
        font-size: 12px;
    }
}

.fancybox-wrap.fancybox-opened {
    z-index: 1200;
}

.fancybox-overlay.fancybox-overlay-fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background-color: rgb(0, 0, 0, 0.7);
    cursor: pointer;
    height: 100%;
    bottom: 0;
    display: block;
}

.fancybox-opened .fancybox-outer,
.fancybox-opened .fancybox-inner,
.fancybox-opened .fancybox-bg,
.fancybox-opened .fancybox-stage {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.tvcmsInsFancybox-slide--video .tvcmsInsFancybox-content {
    width: auto !important;
}

.tvcmsprev-btn {
    position: absolute;
    right: auto;
    left: 5px;
    top: 45%;
    -webkit-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    transform: translate(0, -50%);
    background: #00000082;
    border: 1px solid #000;
    height: 45px;
    width: 45px;
    text-align: center;
    z-index: 2;
    border-radius: 100%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.tvcmsnext-btn {
    position: absolute;
    right: 5px;
    top: 45%;
    -webkit-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    transform: translate(0, -50%);
    background: #00000082;
    text-align: center;
    border: 1px solid #000;
    height: 45px;
    width: 45px;
    border-radius: 100%;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.tvcmsprev-btn i,
.tvcmsnext-btn i {
    color: #fff;
    line-height: 45px;
    font-size: 30px;
}

.tvcmsprev-btn:hover,
.tvcmsnext-btn:hover {
    background: #000;
}
.tvcmsprev-btn:hover i,
.tvcmsnext-btn:hover i {
    color: #fff;
}

.tvcms-left-right-instagram .tvcmsprev-btn,
.tvcms-left-right-instagram .tvcmsnext-btn {
    height: 30px;
    width: 30px;
}

.tvcms-left-right-instagram .tvcmsprev-btn i,
.tvcms-left-right-instagram .tvcmsnext-btn i {
    line-height: 29px;
    font-size: 24px;
}

@media (min-width:991px) {
    .tvinstagram-pagination-wrapper {
        opacity: 0;
        visibility: hidden;
    }

    .tvcms_instagram:hover .tvinstagram-pagination-wrapper {
        opacity: 1;
        visibility: visible;
    }
}

.tvinstagramfeed_item_img a {
    position: relative;
    display: block;
    overflow: hidden;
}

.tvinstagramfeed_item_img a video {
    max-height: 100%;
    width: 100%;
    object-fit: cover;
    display: block !important;
}

.tvinstagramfeed_item_img .instagram_cover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: #fff;
    opacity: 0;
    text-align: center;
    transition: all .3s ease-out;
    background-color: rgba(0, 0, 0, .7);
}

.tvinstagramfeed_item_img:hover .product_btn,
.tvinstagramfeed_item_img:hover .instagram-menu-open,
.tvinstagramfeed_item_img:hover .instagram_cover {
    opacity: 1;
    transition: all .2s ease-out;
}

.product_btn,
.instagram-menu-open {
    background: transparent;
    width: 45px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 45px;
    transition: all 0.3s linear;
    z-index: 998;
    border: none;
    cursor: pointer;
    opacity: 0;
    outline: none !important;
}
#category .product_btn {
    font-size: 11px;
    padding: 4px 4px;
    letter-spacing: .3px;
}
.product_btn {
    background-color: #0000002b;
    width: auto;
    height: auto;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    letter-spacing: .2px;
    border-radius: 5px;
    border: 1px solid #ffffffab;
}
.product_btn:hover {
    background-color: #000;
}

.tvcms-left-right-instagram.tvcms_instagram {
    padding: 0;
    margin-top: 0;
    margin-bottom: 30px;
}

.tvcms-left-right-instagram .top_instagram {
    width: auto;
}

.tvcms-left-right-instagram .title-block {
    font-size: 16px;
    margin-bottom: 5px;
}

.tvcms-left-right-instagram .tvcms-insta-display-name {
    font-size: 12px;
}

.tvcms-left-right-instagram .tvcms-insta-follow-us {
    font-size: 11px;
    padding: 5px 7px;
}

.tvcms-left-right-instagram .top_instagram_follow,
.tvcms-left-right-instagram .tvcms-insta-follow-us {
    margin-top: 5px;
}

@media (max-width: 991px) and (min-width: 768px) {
    .tvcms-left-right-instagram .top_instagram {
        justify-content: center;
        text-align: center;
    }

    .tvcms-left-right-instagram .tvcms-insta-follow-us {
        margin-top: 5px;
    }
}

#tv_homeinstagram.owl-theme .owl-dots .owl-dot.active span,
#tv_homeinstagram.owl-theme .owl-dots .owl-dot:hover span {
    background: #24b9d7;
    width: 10px;
}

/*#tv_homeinstagram.owl-carousel{
    display: flex;
    overflow: hidden;
}*/
@media(max-width: 991px) {
.tvinstagram-pagination-wrapper .tvcmsnext-btn,
.tvinstagram-pagination-wrapper .tvcmsprev-btn {
    height: 35px;
    width: 35px;
}
.tvinstagram-pagination-wrapper .tvcmsnext-btn i,
.tvinstagram-pagination-wrapper .tvcmsprev-btn i {
        line-height: 33px;
    font-size: 24px;
}
}

@media(min-width: 768px) and (max-width: 1199px){
    #left-column .product_btn {
        font-size: 8px;
        padding: 3px 6px 1px;
        line-height: 1.2;
    }
}

@media(min-width: 768px) and (max-width: 1199px)  {
#category .product_btn {
    font-size: 10px;
    padding: 4px 1px;
    width: 65%;
}
}
