/* START KD toast*/
#KD-snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #198754;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    font-weight: bold;
  }
  
  .card-body .KdCustomTagImg{
      min-height: 20px;
      margin: 3px 0;
  }
  #KD-snackbar.KD-show {
    visibility: visible;
    -webkit-animation: KDfadein 0.5s, KDfadeout 0.5s 2.5s;
    animation: KDfadein 0.5s, KDfadeout 0.5s 2.5s;
  }
  
  @-webkit-keyframes KDfadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;} 
  }
  
  @keyframes KDfadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @-webkit-keyframes KDfadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
  }
  
  @keyframes KDfadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }
/* END KD toast*/
li.product article.card .card-figcaption{
    display: none !important;
}
.quickSearchResults .card-figure .slick-track [data-product-slide]{
    height: 300px !important;
}
.quickSearchResults .heroCarousel{
    margin: 0 !important;
}
.productGrid .product {
  width: 33.33% !important;
}

.card-body {
    padding-left: 25px !important;
}

.card .slick-next, .card .slick-prev {
    width: 30px;
    height: 30px;
}

.card .slick-next::before, .card .slick-prev::before{
    width: 100%;
    height: 100%;
}

.card-img-container img {
    transition: opacity 0.3s ease;
    opacity: 1;
}
.card-img-container img:nth-child(2){
    opacity: 0;
}
.card-figure:hover .kd-card-multiple-images img:nth-child(1){
    opacity: 0;
}
.card-figure:hover .kd-card-multiple-images img:nth-child(2){
    opacity: 1;
}

.card-figure .slick-track [data-product-slide]{
    position: relative !important;
    height: 472px !important;
}

article.card {
    border: 1px solid #f7f7f7;
    box-shadow: 0 1px 21px 0 rgba(135,140,157,.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    /*padding-bottom: 20px;*/
    flex-direction: column;
    justify-content: space-between;
}

body article.card .card-image{
    /*object-fit: cover;*/
}

body article.card .slick-dots{
    margin-bottom: 30px !important;
    display: inline !important;
}

body article.card  .slick-dotted.slick-slider{
    margin-bottom: 0;
}
body article.card .slick-dots li button{
    border: 1px solid #9e9e9e !important;
    background: #9e9e9e !important;
}

body a.kd-add-to-cart.button.button--small.card-figcaption-button {
    position: absolute;
    bottom: 20px;
    left: 25%;
    right: 25%;
}
/* start slider dots*/
body article.card .slick-dots li{
    height: 10px;
    width: 10px;
    margin: 5px;
    padding: 0;
}

body article.card .slick-dots li button, 
body article.card .slick-dots li button::before{
    height: 100%;
    width: 100%;
    left: 0 !important;
    top: 0 !important;
}
/* end slider dots*/

.kd-variants{
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 10px !important;
}
.kd-variants .kd-product-color{
    border:1px solid #ccc;
    padding: 2px;
}
.kd-variants .kd-variant-selected{
    background: #000;
    color: #fff;
}
.kd-variants-colors{
    min-height: 45px;
}
.kd-variants-sizes{
    min-height: 25px;
}
.kd-brandName{
    min-height: 21px;
}
.kd-variant-color-selected{
    opacity: .5;
}


button.kd-product-block-options__item {
    border: 1.5px solid #ccc;
    color: #666;
    border-radius: 5px;
    /*width: 30px;*/
    /*height: 30px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}
button.kd-product-block-options__item:hover{
    background-color: black;
    color: white;
}

body .card-body {
    padding: 10px 10px 0px 10px !important;
}

ul.slick-dots {
    margin-bottom: -10px !important;
}

body .card-img-container img{
    position: absolute !important;
}

/*.slick-track {*/
/*  width: 358px !important;*/
/*}*/

.slick-slide {
  position: relative !important;
}

.disable-hover {
    pointer-events: none;
}

@media only screen and (max-width: 600px) {
  .productGrid .product {
    width: 100% !important;
}
    .card-body {
    padding-left: 0px !important;
}
    .card-body {
    padding-top: 10px !important;
}}

@media screen and (min-width: 610px) and (max-width: 800px) {
.productGrid .product {
    width: 50% !important;
}}

@media screen and (min-width: 800px) and (max-width: 913px) {
.card-body {
    padding-left: 65px !important;
}}

@media screen and (min-width: 915px) and (max-width: 1030px) {
.card-body {
    padding-left: 15px !important;
}}

article.card {
    width: 100%;
    /*height: 700px;*/
}

@media (min-width: 801px){
.heroCarousel {
    margin-top: 0;
}}

img.card-image.lazyautosizes.lazyloaded {
    object-fit: contain;
}

.heroCarousel .slick-dots li {
    background-color: transparent !important;
    background-color: transparent !important;
}
    
h2.drawer-menu__title {
    color: black;
}

.category-fixed-sidebar-closer {
    float: right;
}

/*.kd-sidebar-colour{*/
/*    display: none;*/
/*}*/

drawer-menu#related-colours--global {
    /*display: none;*/
}

.kd-drawer-show {
    width: 40%;
    animation-name: drawerLeft;
    animation-duration: 0.5s;
}

@keyframes drawerLeft {
    0% {
      transform: translateX(100%);
}}

.kd-drawer-hide{
    transform: translatex(100%);
    /*animation-name: drawerRight;*/
    /*animation-duration: 0.5s;*/
}

@keyframes drawerRight {
    0% {
      transform: translatex(100%);
}}



/*Side bar of the sizes*/
.drawer-menu {
    max-width: 438px;
    padding: 1.5rem;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
}
.product-grid__item {
    margin-bottom: 1.5rem;
    max-width: 50%;
    padding: 0 0.25rem;
    width: 100%;
}
a.product-grid__item__image {
    display: block;
    margin-bottom: 0.625rem;
}
a {
    transition: color .15s ease;
    color: #171717;
    transition: color .1s, border-color .1s, opacity .1s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.drawer-menu img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}
a.product-grid__item__title {
    font-size: 1rem !important;
    line-height: 1.25 !important;
}

.drawer-menu {
    background-color: #fff;
    box-shadow: -0.25rem 0 0.625rem rgba(0,0,0,.15);
    color: #000;
    height: 100%;
    max-width: 335px;
    overflow-y: auto;
    padding: 1.5rem 1rem;
    position: fixed;
    right: 0;
    top: 0;
    transition: all .3s;
    width: 100%;
    z-index: 9000;
}

@media screen and (min-width: 768px){
.drawer-menu {
    max-width: 438px;
    padding: 1.5rem;
}}

.drawer-visible .drawer-shade {
    height: 100%;
    opacity: 1;
    pointer-events: auto;
}
.drawer-shade {
    background: rgba(0, 0, 0, .3);
    height: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition: opacity .5s cubic-bezier(.55,.03,.37,.96);
    width: 100%;
    z-index: 8999;
}
body [data-sidebar-colour-product-id]{
    min-height: 55px;
}

body article.card .card-title{
    min-height: 45px;
}
input#hideshow {
        -webkit-appearance: none;
        -moz-appearance: none;
        border-radius: 0;
        border-style: none;
        border-width: 1px;
        cursor: pointer;
        font-family: Montserrat, Arial, Helvetica, sans-serif;
        font-weight: 400;
        line-height: normal;
        margin: 0 0 1rem;
        position: relative;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        background-color: transparent;
        border-color: #ccc;
        color: #666;
        font-size: 1rem;
        outline: 0;
        vertical-align: middle;
}

body article.card .slick-dotted.slick-slider{
    margin: 0;
}

body article.card .slick-slider .slick-list, .slick-slider .slick-track{
    margin: 0;
}
