/*-----------------------------------
    // Instagram Blocks
-----------------------------------*/
.advanced_addons_instagram.type-1 .single-image {
    flex: 0 0 16.6666666%;
    -ms-flex: 0 0 16.6666666%;
    max-width: 16.6666666%;
    padding: 3px;
}
.advanced_addons_instagram.type-1 .single-image > div {
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    background: rgba(35, 42, 52, .80);
    z-index: 0;
    transition: all .30s linear;
    opacity: 0;
    transform: scale(.9);
}

.advanced_addons_instagram.type-1 .single-image > div  h5 {
    letter-spacing: 3px;
}

.advanced_addons_instagram.type-1 .single-image:hover > div {
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    top: 3px;
    left: 3px;
    transform: scale(1);
    opacity: 1;
}

/*-----------------------------------------------
 //   Instagram 2
-----------------------------------------------*/


.advanced_addons_instagram_area.type-2 .single-image {
    flex: 0 0 calc(25% - 10px);
    -ms-flex: 0 0 calc(25% - 10px);
    max-width: calc(25% - 10px);
    padding: 0;
    margin: 5px;
    transition: all .30s linear;
}

.advanced_addons_instagram_area.type-2 .single-image:hover {
    box-shadow: 0px 0px 5px rgba(19, 2, 25, .25);
    padding: 8px;
}

.advanced_addons_instagram_area.type-2 .advanced_addons_btn.advanced_addons_btn_solid {
    background: #ffffff;
    border-color: #ffffff;
    color: #ed6e6c;
}

.advanced_addons_instagram.type-1.grad-style .single-image {
    flex: 0 0 25%;
    -ms-flex: 0 0 25%;
    max-width: 25%;
    padding: 3px;
}

.advanced_addons_instagram.type-1.grad-style img {
    width: 100%;
}

.advanced_addons_instagram.type-1.grad-style i {
    font-size: 26px;
    position: relative;
    z-index: 9;
}

.advanced_addons_instagram.type-1.grad-style .single-image:hover > div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #ffbe43;
    background: -moz-linear-gradient(45deg, #ffbe43 0%, #cc299a 50%, #4c5ed7 100%);
    background: -webkit-linear-gradient(45deg, #ffbe43 0%, #cc299a 50%, #4c5ed7 100%);
    background: linear-gradient(45deg, #ffbe43 0%, #cc299a 50%, #4c5ed7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffbe43', endColorstr='#4c5ed7', GradientType=1);
    opacity: .7;
}

.advanced_addons_instagram_head.type-1 {
    text-align: center;
    font-size: 20px;
    line-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 7px rgba(19, 2, 25, .15);
    margin: 0 4px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: -4px;
}

.advanced_addons_instagram_head.type-1 span {
    background: -webkit-linear-gradient(#ffbe43, #4c5ed7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(to right, #ffbe43 30%, #cc299a 50%, #4c5ed7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.advanced_addons_instagram_head.type-1 i {
    font-size: 30px !important;
    display: inline-flex;
    margin-right: 10px;
    background: linear-gradient(to right, #ffbe43 0%, #cc299a 50%, #4c5ed7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*tyepe-4*/
.advanced_addons_instagram.type-1.back-image .single-image:hover > div::before, 
.border-bottom.advanced_addons_instagram.type-1.grad-style.back-image .overlay {
    background: rgba(1, 2, 20, .70);
}

.advanced_addons_instagram.type-1.back-image .single-image:hover > div {
    box-shadow: 0px 0px 29px rgba(0, 0, 0, .70);
}

.advanced_addons_instagram.type-1.grad-style.back-image i {
    background: linear-gradient(to right, #ffbe43 0%, #cc299a 50%, #4c5ed7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


@media (max-width:1200px) and (min-width:768px) {
    .advanced_addons_instagram.type-1 .single-image > div h5 {
        letter-spacing: 2px;
        font-size: 14px;
    }
}


@media (max-width:767px) {
    .advanced_addons_instagram.type-1 .single-image {
        flex: 0 0 50%;
        -ms-flex: 0 0 50%;
        max-width: 50%;
    }

    .advanced_addons_instagram.type-1 .single-image img {
        width: 100%;
    }

    .advanced_addons_dribble_content {
        margin-bottom: 15px;
    }
    .advanced_addons_instagram_area.type-2 .single-image {
        flex: 0 0 calc(50% - 10px) !important;
        -ms-flex: 0 0 calc(50% - 10px) ;
        max-width: calc(50% - 10px) !important;
        padding: 0;
        margin: 5px;
        transition: all .30s linear;
    }
    .advanced_addons_instagram.type-1.grad-style .single-image {
        flex: 0 0 50%;
        -ms-flex: 0 0 50%;
        max-width: 50%;
        padding: 3px;
    }
    .advanced_addons_instagram.type-1 .single-image > div h5 {
        letter-spacing: 1px;
        font-size: 12px;
    }
    .advanced_addons_instagram.type-1 .single-image > div i {
        font-size: 20px;
    }
    .advanced_addons_instagram_head.type-1 i {
        font-size: 22px !important;
    }
    .advanced_addons_instagram_area.type-2 .advanced_addons_btn.advanced_addons_btn_solid {
        font-size: 14px;
        line-height: 34px;
        min-width: 120px;
    }
    .advanced_addons_instagram_head.type-1 {
        font-size: 14px;
        line-height: 50px;
    }

}