.nav-link {
    font-weight: 600;
}

/* adds some margin below the link sets  */
.navbar .dropdown-menu div[class*="col"] {
    margin-bottom: 1rem;
}

.navbar .dropdown-menu {
    border: none;
    background-color: #FFF !important;
    border-radius: 0;
}

.mega-menu {
    list-style: none;
    padding: 0;
}

.mega-menu li {
    padding-left: 15px;
}

#instafeed {
    display: inline-grid;
    width: 100%
}

#instafeed .ig_block {
    position: relative;
    overflow: hidden;
    height: 450px;
}

#instafeed .ig_block::before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 100%
}

@media screen and (max-width: 800px) {
    #instafeed {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

#instafeed .ig_block img {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    object-position: top
}

#instafeed .ig_block a:hover {
    color: #000
}

#instafeed .ig_block:hover .ig_caption {
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease
}

#instafeed .ig_block .ig_caption {
    position: absolute;
    top: 0;
    background: rgba(255, 255, 255, .7);
    color: #333;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    overflow: hidden
}

#instafeed .ig_block .ig_caption .fa {
    font-size: 34px;
    margin-bottom: 10px
}

#instafeed .ig_block .ig_caption button {
    background: #333;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    border: 0;
}

.footer {
    background: #eeeeee;
    padding: 30px 0 60px 0;
}

.footer h4 {
    font-size: 16px;
    padding-bottom: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.footer p {
    font-size: 14px;
}

/* breakpoint and up - mega dropdown styles */
@media screen and (min-width: 992px) {

    /* remove the padding from the navbar so the dropdown hover state is not broken */
    .navbar {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    /* makes the dropdown full width  */
    .navbar .dropdown {
        position: static;
    }

    .navbar .dropdown-menu {
        width: 100%;
        top: 46px;
        left: 0;
        right: 0;
        display: block;
        visibility: hidden;
        border-top: 1px solid #dee2e6;
        opacity: 0;
        transition: visibility 0s, opacity 0.3s linear;
    }

    /* shows the dropdown menu on hover */
    .navbar .dropdown:hover .dropdown-menu,
    .navbar .dropdown .dropdown-menu:hover {
        display: block;
        visibility: visible;
        opacity: 1;
        transition: visibility 0s, opacity 0.3s linear;
    }
}

.pg-subtitle {
    padding: 5px;
}

/** Buttons colors*/
.btn-outline-secondary {
    border-color: #ced4da;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
}

/** Badge colors*/
.badge-info {
    background-color: #1AB1F1;
}

/** Product card */
.card-product .card-tag {
    position: absolute;
    border-radius: 0 5px 5px 0;
    left: 0;
}

.card-product:hover .btn-buy {
    opacity: 1;
}

.card-product .btn-buy {
    width: calc(100% - 14px);
    position: absolute;
    top: 380px;
    left: 7px;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s linear;
}

.card-product .card-title {
    font-size: 16px;
}

.card-product .card-ref {
    font-size: 12px;
}

/*
    code by Iatek LLC 2018 - CC 2.0 License - Attribution required
    code customized by Azmind.com
*/
@media (min-width: 768px) and (max-width: 991px) {

    /* Show 4th slide on md if col-md-4*/
    .carousel-multi .carousel-inner .active.col-md-4.carousel-item+.carousel-item+.carousel-item+.carousel-item {
        position: absolute;
        top: 0;
        right: -33.3333%;
        /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
}

@media (min-width: 576px) and (max-width: 768px) {

    /* Show 3rd slide on sm if col-sm-6*/
    .carousel-multi .carousel-inner .active.col-sm-6.carousel-item+.carousel-item+.carousel-item {
        position: absolute;
        top: 0;
        right: -50%;
        /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
}

@media (min-width: 576px) {
    .carousel-multi .carousel-item {
        margin-right: 0;
    }

    /* show 2 items */
    .carousel-multi .carousel-inner .active+.carousel-item {
        display: block;
    }

    .carousel-multi .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
    .carousel-multi .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)+.carousel-item {
        transition: none;
    }

    .carousel-multi .carousel-inner .carousel-item-next {
        position: relative;
        transform: translate3d(0, 0, 0);
    }

    /* left or forward direction */
    .carousel-multi .active.carousel-item-left+.carousel-item-next.carousel-item-left,
    .carousel-multi .carousel-item-next.carousel-item-left+.carousel-item,
    .carousel-multi .carousel-item-next.carousel-item-left+.carousel-item+.carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    /* farthest right hidden item must be also positioned for animations */
    .carousel-multi .carousel-inner .carousel-item-prev.carousel-item-right {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: block;
        visibility: visible;
    }

    /* right or prev direction */
    .carousel-multi .active.carousel-item-right+.carousel-item-prev.carousel-item-right,
    .carousel-multi .carousel-item-prev.carousel-item-right+.carousel-item,
    .carousel-multi .carousel-item-prev.carousel-item-right+.carousel-item+.carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}

/* MD */
@media (min-width: 768px) {

    .navbar .dropdown-menu {
        -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.3);
    }

    /* show 3rd of 3 item slide */
    .carousel-multi .carousel-inner .active+.carousel-item+.carousel-item {
        display: block;
    }

    .carousel-multi .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)+.carousel-item+.carousel-item {
        transition: none;
    }

    .carousel-multi .carousel-inner .carousel-item-next {
        position: relative;
        transform: translate3d(0, 0, 0);
    }

    /* left or forward direction */
    .carousel-multi .carousel-item-next.carousel-item-left+.carousel-item+.carousel-item+.carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    /* right or prev direction */
    .carousel-multi .carousel-item-prev.carousel-item-right+.carousel-item+.carousel-item+.carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}

/* LG */
@media (min-width: 991px) {

    /* show 4th item */
    .carousel-multi .carousel-inner .active+.carousel-item+.carousel-item+.carousel-item {
        display: block;
    }

    .carousel-multi .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)+.carousel-item+.carousel-item+.carousel-item {
        transition: none;
    }

    /* Show 5th slide on lg if col-lg-3 */
    .carousel-multi .carousel-inner .active.col-lg-3.carousel-item+.carousel-item+.carousel-item+.carousel-item+.carousel-item {
        position: absolute;
        top: 0;
        right: -25%;
        /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }

    /* left or forward direction */
    .carousel-multi .carousel-item-next.carousel-item-left+.carousel-item+.carousel-item+.carousel-item+.carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    /* right or prev direction //t - previous slide direction last item animation fix */
    .carousel-multi .carousel-item-prev.carousel-item-right+.carousel-item+.carousel-item+.carousel-item+.carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}

.whats-float {
    position: fixed;
    background: #34af23;
    border-radius: 40px;
    font-size: 1.25em;
    line-height: .7em;
    text-decoration: none;
    text-align: center;
    padding: 10px 20px;
    bottom: 12px;
    left: 12px;
    color: #fff;
}

.whats-float:hover {
    text-decoration: none;
    color: #fff;
}

.whats-float span {
    font-weight: bold;
    font-size: .6em;
}

.pulse {
    display: block;
    background: #34af23;
    cursor: pointer;
    box-shadow: 0 0 0 #34af23;
    animation: pulse 1s infinite;
}

.pulse:hover {
    animation: none;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 #34af23;
    }

    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 #34af23;
        box-shadow: 0 0 0 0 #34af23;
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
        box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
        box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
    }
}