/* Card Links */
.card-links{
    background-size: cover;
    background-position: center;

}
.card-links .simple .card-link:nth-child(4) {
    padding-left: 0;
    padding-right: 0;
}

.card-links .simple .link-wrapper,
.card-links.carousel .link-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    padding: 15px 0;
    margin-top: -1px;
}



.card-links .simple .link:hover p,
.card-links.carousel .link:hover {

    color: black;
}

.card-links .simple .link p,
.card-links.carousel .link p {
    color: white;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
}


.card-links .simple .link:nth-child(1),
.card-links .simple .link:nth-child(2),
.card-links .simple .link:nth-child(3) {
    border-bottom: 10px solid white;
}

.card-links .simple .link:nth-child(1),
.card-links .simple .link:nth-child(2),
.card-links .simple .link:nth-child(4),
.card-links .simple .link:nth-child(5) {
    border-right: 10px solid white;
}

.draggable {
    padding: 0 !important;
}
.card-links .link{
    width:50px;
}

.card-links .simple .link-wrapper,
.card-links.carousel .link-wrapper {
    width: 100%;
    height: 10rem;
    background-color: transparent;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 1;
    z-index: 1;
    overflow: hidden;
    transition: background-position 0.6s ease;
}

.card-links .simple .link,
.card-links.carousel .link {
    height: auto;
}
.link-wrapper img{
    max-width:50px;
}

.card-links .simple .link-wrapper:hover,
.card-links.carousel .link-wrapper:hover {
    background: linear-gradient(135deg, rgba(255, 186, 0, 1) 50%, transparent 50%);
    background-size: 200% 200%;
    background-position: 12% 0%;
}
.card-links .link-wrapper img{
   display:block;
}
.card-links .link-wrapper img.image-alt{
   display:none;
}
.card-links .link-wrapper:hover img{
   display:none;
}
.card-links .link-wrapper:hover .image-alt {
   display:block;
}

@media(max-width:768px) {

    .wrapper {
        padding-top: 50px;
        background-image: none !important;
    }
    .card-grid-links .link{
        border-right:none!important;
        background-size: cover!important;
        background-repeat: no-repeat!important;
        background-position: right!important;
    }

}


@media (min-width: 576px) and (max-width: 768px) {

    .card-links .simple .link:nth-child(3) {
        border-right: none;
        border-right: 10px solid white;
    }

    .card-links .simple .link:nth-child(2) {
        border-right: none;
    }

    .card-links .simple .link:nth-child(4) {
        border-right: none;
        border-bottom: 10px solid white;
    }

}

.card-links .carousel-control-prev-icon{
   left:-12px!important;
    top:33%;
}
.card-links .carousel-control-next-icon {
    right: -12px!important;
    top:33%;
}