﻿.header_bg {
    border-bottom: 1px solid #ddd;
}

.header-ip {
    width: 1220px;
    max-width: 100%;
    height: auto;
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    top: 0;
    z-index: 10;
    align-items: center;
}

.header_bg .sub_menu {
    width: auto;
    margin: 0;
}

ul.m_menu {
    display: none;
}


.blog-ippage .wrapper h1 {
    font-size: 26px;
    font-weight: bold;
    color: #000000;
    text-align: justify;
    margin-bottom: 15px;
}

.blog-ippage-info p {
    font-size: 20px;
    line-height: 30px;
}

.blog-ippage-detail,
.blog-ippage-info {
    display: flex;
    margin: 20px 10px;
}

.share-block {
    display: flex;
    align-items: center;
    height: 45px;
}

.blog-ippage .left {
    width: 65%;
}

.blog-ippage .right {
    width: 35%;
    padding-left: 25px;
}

.blog-ippage .left img {
    width: 100%;
    display: block;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

    .video-container iframe, .video-container object, .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.blog-ippage-info p,
.product-shortdesc-content p {
    margin: 0 0 25px;
    color: #666;
    line-height: 23px;
    text-align: justify;
    white-space: break-spaces;
}

.ip-product-block .products-content {
    display: block;
}

    .ip-product-block .products-content > li {
        padding: 10px;
        border: 1px solid #ededed;
        margin: 5px 0;
        border-radius: 10px;
        width: 100%;
    }

.ip-product-block .productbox-figure:before {
    content: "";
    display: block;
    padding-top: 35%;
}

.ip-product-block img {
    width: 100%;
    border-radius: 10px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.ip-product-block h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.ip-product-block .product-price span {
    font-size: 20px;
}

.ip-product-block .old-product-price {
    font-size: 12px;
    margin-bottom: 5px;
}

.other-info {
    display: flex;
    flex-direction: column;
}

    .other-info li {
        font-size: 10px;
        color: #666;
        display: flex;
        align-items: baseline;
        line-height: 18px;
    }

        .other-info li i:before {
            color: #d05;
            margin-right: 3px;
        }

.ip-product-block .add-to-cart-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    margin-top: 10px;
}

.ip-product-block .add-to-cart-button {
    width: 48%;
    text-align: center;
    line-height: 35px;
    border: none;
    background-color: #d05;
    font-size: 15px;
    color: #fff;
    border-radius: 6px;
    text-transform: uppercase;
}

.ip-product-block .ip-out-of-stock {
    background-color: #cccccc;
    color: #333333;
    width: 100%;
}

.blog-ippage .full {
    width: 100%;
}

@media (max-width: 769px) {
    .header-ip {
        width: 100%
    }

        .header-ip .logo {
            width: 200px;
        }

    .m-menu-bar {
        position: fixed;
        width: 100%;
        bottom: 0;
        padding: 10px 15px;
        z-index: 10;
        border-bottom: 0px solid #ddd;
        display: flex;
        box-shadow: 0 -1px 2px 1px rgba(0%, 0%, 0%, 0.35);
        background: -webkit-linear-gradient(90deg, rgba(237, 237, 237, 1) 0%, rgba(255, 255, 255, 1) 50%);
        justify-content: space-between;
    }

    .master-column-wrapper {
        padding: 0;
    }

    .blog-ippage .wrapper {
        display: flex;
        flex-direction: column;
    }

    .header_bg,
    .blog-ippage .blog-ippage-detail .left,
    .blog-ippage .right {
        width: 100%;
        padding: 0 20px;
    }

    .blog-ippage-info,
    .blog-ippage-detail {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

        .blog-ippage-info .left {
            width: 100%;
        }

        .blog-ippage-info .right {
            margin-top: 10px;
            min-height: 26em;
        }

    .blog-ippage-body {
        height: 600px;
        overflow: hidden;
        margin-bottom: 15px;
        position: relative;
    }

    .read-more-mask {
        width: 100%;
        padding-top: 100px;
        position: absolute;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 25%, rgba(255, 255, 255, 1) 90%);
        bottom: -5px;
    }

    .m-menu-bar li a {
        color: #888;
        display: flex;
        width: 100%;
        line-height: 30px;
        text-align: center;
        border-radius: 6px;
        flex-direction: column;
    }

        .m-menu-bar li a i {
            font-size: 20px;
        }

    .m-menu-bar p {
        line-height: 18px;
    }

    .m-menu-bar .cart-link {
        position: relative;
    }

    #m-cart-qty {
        top: -2px;
        right: 8px;
    }

    .m-menu-bar li:first-child,
    .m-menu-bar li:nth-child(2) {
        width: 18%;
    }

    .m-menu-bar li:last-child {
        width: 60%;
    }

        .m-menu-bar li:last-child a {
            border: 2px solid #f7b2cc;
            color: #d05;
        }

    .blog-ippage-content button {
        background: #fff;
        border: 1px solid #f7b2cc;
        color: #d05;
        display: block;
        width: 100%;
        line-height: 30px;
        text-align: center;
        border-radius: 6px;
    }

        .blog-ippage-content button:hover {
            background: #d05;
            color: #fff;
        }

    .ip-product-block .products-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

        .ip-product-block .products-content > li {
            width: 48%;
        }
}

@media (min-width: 481px) {
    #readmore,
    .read-more-mask {
        display: none;
    }

    .blog-ippage-body {
        height: auto;
    }
}

@media (max-width: 480px) {
    .ip-product-block .products-content > li {
        width: 100%;
    }
}
