﻿.card-image {
    display: block;
    min-height: 15rem; /* layout hack */
    background: #fff center center no-repeat;
    background-size: cover;
    /*filter: blur(3px);*/ /* blur the lowres image */
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

    .card-image > img {
        display: block;
        width: 100%;
        opacity: 0; /* visually hide the img element */
        height:100px;
    }

    .card-image.is-loaded {
        filter: none; /* remove the blur on fullres image */
        transition: filter 1s;
    }
.card-list {
    display: block;
    margin: 1rem auto;
    padding: 0;
    font-size: 16px;
    text-align: center;
    list-style: none;
}

.card-ui {
    display: inline-block;
    width: 100%;
    max-width: 15rem;
    margin: 1rem;
    font-size: 1rem;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 0 3rem -1rem rgba(0,0,0,0.4);
    transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}

    .card-ui:hover {
        transform: translateY(-0.05rem) scale(1.0000);
        box-shadow: 0 0.5em 3rem -1rem rgba(0,0,0,0.5);
    }

.card-ui-description {
    display: block;
    padding: 1em 0.5em;
    color: black;
    text-decoration: none;
    background-color: rgba(158,158,158,0.08);
}

    /*.card-ui-description > h2 {
        margin: 0 0 0.5em;
    }*/

    .card-ui-description > p {
        margin: 0;
    }

/*carousel-card*/
.deal-card {
    cursor: pointer;
    position: relative;
    min-width: 18rem;
    min-height: 18rem;
    margin-left: 1.8rem;
    display: inline-block;
    border: 0.83rem solid;
    -webkit-border-image: url('/images/home/Border-05.svg') 5 stretch; /* Safari 3.1-5 */
    -o-border-image: url('/images/home/Border-05.svg') 5 stretch; /* Opera 11-12.1 */
    border-image: url('/images/home/Border-05.svg') 5 stretch;
    box-shadow: 0 0 1rem -1rem rgba(0,0,0,.7);
    cursor: pointer;
}

.bg-tooktee-red {
    background-color: #c82021;
}

.bg-tooktee-white {
    background-color: #fff;
}

.carousel-card {
    position: absolute !important;
    top: calc(35% - 50px);
    /*left: 10%;*/
    width: 100%;
    background-color: transparent;
    border: none;
}

.carousel-card-text {
    font-size: 50px;
}

.badge {
    overflow: visible;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    text-transform: uppercase;
    color: #fff;
    position: absolute;
    margin: 0px;
    font-size: 17px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 30px;
    padding-bottom: 10px;
    left: -39px;
}

.badge-discount {
    height: 7.5rem;
    min-width: 14rem;
    background-image: url('/images/home/PriceDiscount.svg');
    top: -23px;
    z-index: 2;
}

.badge-discountPercent {
    height: 7.5rem;
    min-width: 13rem;
    background-image: url('/images/home/discountPercent.svg');
    top: -23px;
    z-index: 2;
}

.badge-discountPlus {
    background-image: url('/images/home/PricePlus.svg');
    height: 7.5rem;
    min-width: 13rem;
    z-index: 1;
    top: 58px;
}

.badge-discount-text {
    top: 35px;
    left: 17px;
    position: absolute;
    line-height: 0.5;
}

.badge-discountPlus-text {
    top: 44px;
    left: 17px;
    position: absolute;
    line-height: 0.5;
}

.deal-startPrice {
    position: absolute;
    bottom: 35px;
    right: 8px;
    font-size: 0.8rem;
    color: #9B9EA9;
    text-decoration: line-through;
}

.deal-listPrice {
    font-size: 1.5rem;
    color: #36495A;
    position: absolute;
    bottom: 0px;
    right: 8px;
}

.ellipsis-title {
    line-height: 1;
}

.img-deal {
    position: relative;
    overflow: hidden;
    margin-left: -1px;
}

.img-privillage {
    max-height: 2rem;
    width: 116px !important;
    position: absolute;
    bottom: 8px;
    right: 8px;
}

.on-image-span {
    position: absolute;
    top: 35%;
}

.img-result {
    display: block;
    background: #fff center center no-repeat;
    background-repeat: no-repeat;
    /*background-size: 100% 100%;*/
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.seemore {
    position: relative;
    top: -33px;
    cursor: pointer;
    right: 10px;
    font-size: 1rem !important;
    background-color: #36495A;
}

    .seemore:hover {
        transform: translateY(-0.03rem) scale(1.0000);
        box-shadow: 0 0.5em 3rem -1rem rgba(0,0,0,0.5);
    }

/*card image zoom when hover*/
.card-img-wrap {
    overflow: hidden;
    position: relative;
}

    .card-img-wrap:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.3);
        opacity: 0;
        transition: opacity .25s;
    }

.card-img-wrap {
    transition: transform .25s;
    width: 100%;
}

    .card-img-wrap:hover {
        transform: scale(1.2);
    }

        .card-img-wrap:hover:after {
            opacity: 1;
        }

.img-about img {
    width: 4rem;
    height: 4rem;
}

.card-ui-description {
    padding: 0.5em 0.5em;
}

.shopNow {
    max-width: 128px !important;
}
