﻿
img {
    vertical-align: middle;
}

.xtextarea {
    width: 80%;
    height: 80px;
    line-height: 30px;
    margin-left: auto;
    margin-right: auto;
}

/* Fading animation */
.fade2 {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

.section_group_title {
    width: 100%;
    margin: 5px 10px 5px;
    font-weight: bold;
}

.xbody-container {
    width: 100%;
    margin: 0px 0px 0px;
    /*margin: 0px 0px 10px;*/
    //top,left right,bottom;
}

@-webkit-keyframes fade2 {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade2 {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}


.swipe {
    overflow: hidden;
    visibility: hidden;
    position: relative;
}

.swipe-wrap {
    overflow: hidden;
    position: relative;
}

    .swipe-wrap > div {
        float: left;
        width: 100%;
        position: relative;
    }

* {
    box-sizing: border-box;
}

.xwordwrap {
    text-align: center;
    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Firefox */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* IE */
    margin: 5px;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    text-overflow: ellipsis;
    overflow: hidden;
    /*display: -webkit-box;*/
    line-height: 18px;
    max-height: 36px;
    -webkit-line-clamp: 2;
    font-size: 15px;
    height: 200px;
    overflow: hidden;
}

.xthumbnail {
    background-color: white;
    border: 1px solid #ddd; /* Gray border */
    border-radius: 4px; /* Rounded border */
    padding: 0px; /* Some padding */
    width: 100%; /* Set a small width */
}

    .xthumbnail img {
        vertical-align: middle;
    }

    /* Add a hover effect (blue shadow) */
    .xthumbnail:hover {
        box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
    }

.xthumbnail2 {
    z-index: 1;
    background-color: white;
    border: 1px solid #ddd; /* Gray border */
    border-radius: 4px; /* Rounded border */
}

    .xthumbnail2:hover {
        box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
    }

.price {
    color: red;
    font-size: 20px;
}

.original_price {
    font-size: 12px;
}

.banner_imgx {
    width: auto;
    height: 300px;
}

/*.prodimg {
            width:100%;
            min-height:90px;
            max-height: 240px;
        }*/
.promotion_msg {
    position: absolute;
    bottom: 50%;
    background: rgb(0, 0, 0); /* Fallback color */
    background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
    color: #f1f1f1; /* Grey text */
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

.promotiontext {
    text-align: center;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    text-overflow: ellipsis;
    overflow: hidden;
    /*display: -webkit-box;*/
    line-height: 15px;
    -webkit-line-clamp: 2;
    padding: 2px 0px;
    font-size: x-small;
    height: 30px;
    color: orangered;
}

.prodimg {
    width: 100%;
    /*height: 200px;*/
}

@media only screen and (max-width: 480px) {

    #navnext, #navprev {
        display: none;
    }

    .prev, .next, .text {
        font-size: 11px;
    }

    .xthumbnail {
        height: 270px;
    }

    .prodimg {
        max-width: 100%;
        /*max-height: 150px;*/
    }
}

@media only screen and (min-width: 480px) {
    .xthumbnail {
        height: 270px;
    }
}

@media only screen and (min-width: 992px) {
    .xthumbnail {
        height: 350px;
    }
}

@media only screen and (max-width: 600px) {
    .price {
        font-size: 13px;
    }

    .original_price {
        font-size: 10px;
    }
    /*.prodimg {
                    height: 100px;
                }*/
}


.column {
    float: left;
}

.col2 {
    width: 50%;
}

.col3 {
    width: 33%;
}

.col4 {
    width: 25%;
}

.col5 {
    width: 20%;
}

.col6 {
    width: 16.6%;
}

.col7 {
    width: 14.2%;
}

.col8 {
    width: 12.5%;
}
/* Clear floats after rows */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Content */
.content {
    background-color: white;
    padding: 0px;
}

@media screen and (max-width: 900px) {
    .xcolumn {
        width: 50%;
    }
}

@media screen and (max-width: 600px) {
    .xcolumn {
        width: 50%;
    }
}
