/*
CREATES A MEDIA QUERY FOR DESKTOP STYLE
*/

@media only screen and (min-width: 768px){
    /* Main Containter */
    .wpc.wrap
    {
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
    }
    /* Scroller Container */
    .wpc-scroller {
        overflow-x: auto;
    }
    /* "See more" button */
    span.wpc-btn {
        display: inline;
        margin: 5px auto;
        max-width: 12%!important;
        min-width: 100px!important;
    }
    /* Each Product in Loop */
    .wpc-post-content li {
        min-width: 190px!important;
        max-width: 190px!important;
    }
    /* Fills the image in the loop */
    .wpc-post-content li img {
        height: 190px;
        width: 100%;
        object-fit: cover;
        pointer-events: none;
     }

    /* Change Scrollbar in tablet/Desktop */
    .wpc-scroller::-webkit-scrollbar
    {
        visibility: hidden;
        background-color: transparent;
        display: block;
        border-radius: 100vh;
        width: 18px;
        height: 18px;
    }
    .wpc-scroller::-webkit-scrollbar-thumb
    {
        visibility: hidden;
        background-color: rgb(150, 150, 150);
        border: 5px solid transparent;
        background-clip: content-box;
        border-radius: 100vh;
    }
    .wpc-scroller::-webkit-scrollbar-thumb:active
    {
        background-color: rgb(70, 70, 70);
    }
    .scrollVisible::-webkit-scrollbar, .scrollVisible::-webkit-scrollbar-thumb
    {
        visibility: visible!important;
    }
    .wpc-scroller {
        user-select: none;
        cursor: grab;
        padding-bottom: 5px;
    }

}
/**
 * OVERALL STYLE
 */

/* SCROLLER BOX */
.wpc-scroller
{
    overflow-x      : auto;
    display         : flex;
    flex-wrap       : nowrap;
    flex-direction  : row;
    align-items     : center;
    width           : 100%;
}


/**
 * CONTENT SPAN SECTION
 * 
 * This Whole section controls the style for the loop
 * inside the scroller section
 *
 * @since 0.6.0
 */
.wpc-post-content
{
    min-width       : 100%;
    list-style      : none;
    display         : flex;
    flex-wrap       : nowrap;
    flex-direction  : row;
    align-items     : stretch;
}

 /* Product box */
.wpc-post-content li
{
   min-width        : 220px;
   max-width        : 18%;
   margin-right     : 10px;
   border-radius    : 4px;
   background-color : #fff;
   border           : 1px solid #d6d6d6;
   /* padding: 3px; */
}

/* image in the loop */
.wpc-post-content li img
{
    padding: 8px;
}

/* Peoduct Title in the loop */
.wpc-post-content h3
{
    border-top  : 1px #bdbdbd solid;
    padding     : 5px;
}


/* "SEE/LEARN MORE" SPAN */
span.wpc-btn
{
    align-self  : center;
    width       : 100%;
    min-width   : 80px;
    text-align  : center;
    margin      : 0px 0px 0px auto;
}
/* MAKES THE ARROW GO ABOVE THE LEARN MORE TEXT */
span.slide-it-more-logo {
    display : block;
    margin  : 0px auto;
}
/* i.fas.fa-arrow-right {
    display: block;
    border-radius: 100%;
    background-color: #FFF;
    padding: 15px;
    -webkit-writing-mode: vertical-lr;
    margin: 0px auto;
} */


/*.wpc{
    border-right: 1px red solid;
}*/
.wpc-cat{
    width: 100%;
}

/*****| Seamless Card Styles |*****/
 .seamless
 {
    display         : flex;
    flex-direction  : row;
    flex-wrap       : nowrap;
    align-items     : stretch;
    gap             : 10px;
    min-width       : 100%;
 }
 
 .seamless > li 
 {
     min-width      : 165px;
     max-width      : 165px;
     list-style     : none;
     border         : 1px solid #ccc;
     border-radius  : 4px;
 }
 
 .seamless > li > img
 {
     pointer-events : none;
     max-height     : 165px;
     object-fit     : cover;
     border-radius  : 4px 4px 0px 0px;
     height         : -webkit-fill-available;
 }
 
 .seamless a > h3
 {
     font-size  : 15px!important;
     margin     : 5px 3px;
     text-align : center;
 }
/*****| END OF THE SECTION |******/

/****| "Card Style" Card Styles |*****/
.card-style
{
    min-width      : 100%;
    display        : flex;
    flex-direction : row;
    flex-wrap      : nowrap;
    align-items    : stretch;
    gap            : 10px;
}
.card-style > li
{
    border          : solid 1px #ccc;
    border-radius   : 5px;
    list-style      : none;
    position        : relative;
    max-height      : 180px;
    max-width       : 165px;
    min-width       : 165px;
    min-height      : 180px;
}
.card-style > li::after
{
    border-radius   : 5px;
    content         : '';
    background      : linear-gradient(0deg, rgba(0,0,0,0.4) 0%, transparent 60%);
    inset           : 0;
    position        : absolute;
    z-index         : 10;
    transition      : background-color 200ms ease-in;
}
.scrollVisible .card-style > li:hover::after{
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 30%, transparent 75%);
    transition: background-color 200ms ease-out;
}
.card-style > li > img
{
    border-radius   : 5px;
    position        : absolute;
    inset           : 0;
    object-fit      : cover;
    height          : -webkit-fill-available;
}
.card-style > li > a
{
    position    : absolute;
    bottom      : 0;
    left        : 0;
    right       : 0;
    text-align  : center;
    z-index     : 15;
}
.card-style > li > a > h3
{
    line-height : 1;
    margin      : 5px;
    color       : white;
    filter      : alpha(opacity=100);
    font-weight : 500;
}
/*****| END OF THE SECTION |******/