﻿.master-wrapper-content {
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
}
a{}
a {
    display: block;
    cursor: pointer;
    color: #2d2d2d;
}
a:hover, a:focus, a:active {
    text-decoration: none;
    color: #00a77e;
}

img {
    max-width: 100%;
}

select {
    margin: 0 !important;
    padding: 5px 25px 5px 10px !important;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: url(../images/arrow-dropdown.png) no-repeat !important;
    background-position: right !important;
    background-size: 25px !important;
}
select::-ms-expand {
    display: none;
}

iframe {
    width: 100%;
}

/* Hide WM in THAI */
/*.header .links-menu .header-links ul li.cart-full-screen:hover ul li .mini-shopping-cart .items a .product .price span small, .header .links-menu .header-links ul li.cart-full-screen:hover ul li .mini-shopping-cart .totals span small,
.cart-table table tbody tr td small, .payment-calculation .total-info table tr td.cart-total-right small, .product-details-page .price-shipping-info .prices .product-price small,
.product-grid .item-box .thumbnail .product-item .caption .prices small {
    display: none;
}*/



/* #region Customized Class */
.main-container {
    max-width: 1155px;
    margin: 0 auto;
}
 
@media (max-width: 991px){
    .main-container {
        margin-bottom: -30px;
    }

} 

.content-box {
    background-color: #f5f5f5;
}

.btn.btn-main {
    padding: 6px 20px;
    border-color: #00a77e !important;
    border-radius: 4px !important;
    color: white;
    background-color: #00a77e;
}
.btn.btn-main:hover, .btn.btn-main:focus, .btn.btn-main:active {
    color: white;
    opacity: 0.8;
    outline: none;
}

.btn.btn-main-reverse {
    padding: 6px 20px;
    border-radius: 4px !important;
    border-color: #00a77e !important;
    background-color: transparent;
    color: #00a77e;
}
.btn.btn-main-reverse:hover, .btn.btn-main-reverse:focus, .btn.btn-main-reverse:active {
    background-color: #00a77e;
    color: white;
    outline: none;
}

/* #endregion */

/* #region Breadcrumb */

.breadcrumb-wrapper {
    padding: 0 15px;
    background-color: #f5f5f5;
}
.breadcrumb-wrapper .breadcrumb {
    padding: 10px;
    border: 0;
    border-bottom: 1px solid #5d5d5d;
    border-radius: 0;
}
.breadcrumb-wrapper .breadcrumb > li + li:before {
    padding: 0 6px 0 10px;
    color: #5d5d5d;
    content: "\003e";
}
.breadcrumb-wrapper .breadcrumb li a {
    display: inline-block;
}

/* #endregion */

/* #region Forms */

.form-group label {
    font-weight: normal;
}
.form-group input, .form-group textarea, .form-group select {
    border-radius: 0 !important;
    border-color: #ccc !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
.form-group input:not([type=radio]):focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #00a77e !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0,167,126,.6);
    outline: none;
}

.form-group .input-group .input-group-addon {
    padding: 0;
    background-color: transparent;
}
.form-group .input-group .input-group-addon i {
    padding: 0 20px;
}

.form-group.full-name .sal {
    padding-right: 0
}
.form-group.full-name .firstname {
    padding: 0 5px;
}
.form-group.full-name .lastname {
    padding-left: 0px;
}

.form-fields .form-group .control-label {
    padding-top: 7px;
}
.form-fields .form-group .controls {
    margin-top: 20px;
}

/* #endregion */

/* #region Modal */

.modal.in {
    display: -webkit-box !important;
    display: flex !important;
    align-items: center;
    -webkit-box-align: center;
    justify-content: center;
    -webkit-box-pack: center;
}
.modal .modal-content {
    padding: 15px;
}
.modal .modal-content .close {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 99999;
    width: 30px;
    height: 30px;
    padding-bottom: 2px;
    border: solid 2px #fff;
    border-radius: 50%;
    cursor: pointer;
    font-weight: normal;
    line-height: 0px;
    font-size: 24px;
    color: white;
    background-color: #000;
    opacity: 1; 
}
.modal .modal-content .close:hover, .modal .modal-content .close:focus {
    outline: none;
    transform: scale(1);
    transform: rotate(360deg);
    transition: .5s;
}
.modal .modal-content h3 {
    font-size: 20px;
    color: #00a77e;
}
.modal .modal-content .form-horizontal {
    padding: 15px 0;
}

.modal-backdrop {
    background-color: #1d4b3f;
}
.modal-backdrop.in {
    opacity: .8;
}

/* #endregion */

/* #region Product Box */

.product-grid .item-box, .product-list .item-box {
    height: 100%;
    margin-bottom: 10px;
    padding: 0 5px;
}

.product-grid .item-box .thumbnail, .product-list .item-box .thumbnail {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.product-grid .item-box .thumbnail:hover, .product-list .item-box .thumbnail:hover {
    border: 2px solid #00a77e;
}

.product-list .item-box .thumbnail .product-item {
    padding: 0;
}
.product-list .item-box .thumbnail .product-item .picture {
    width: 130px;
    margin-bottom: 0;
}
.product-grid .item-box .thumbnail .product-item .caption, .product-list .item-box .thumbnail .product-item .caption {
    min-height: inherit;
    height: 100%;
    padding: 0;
    text-align: left;
}
.product-grid .item-box .thumbnail .product-item .caption .details {
    margin-right: 5px;
}
.product-list .item-box .thumbnail .product-item .caption .details {
    float: none;
    width: initial; 
    padding: 10px 20px;
}
.product-grid .item-box .thumbnail .product-item .caption .product-title, .product-list .item-box .thumbnail .product-item .caption .product-title {
    font-size: 14px;
}
.product-grid .item-box .thumbnail .product-item .caption .prices {
    overflow: hidden;
}
.product-grid .item-box .thumbnail .product-item .caption .prices small {
    font-size: 10px;
}
.product-grid .item-box .thumbnail .product-item .caption .prices .actual-price, .product-grid .item-box .thumbnail .product-item .caption .prices .bvpoint-overview {
    float: left;
    clear: left;
    padding-right: 5px;
    white-space: nowrap;
}
.product-grid .item-box .thumbnail .product-item .caption .prices .actual-price, .product-grid .item-box .thumbnail .product-item .caption .prices .bvpoint-overview, .product-list .item-box .thumbnail .product-item .caption .prices .actual-price, .product-list .item-box .thumbnail .product-item .caption .prices .bvpoint-overview {
    font-size: 14px;
}
.product-grid .item-box .thumbnail .product-item .caption .prices .old-price, .product-list .item-box .thumbnail .product-item .caption .prices .old-price {
    font-size: 13px;
    line-height: 22px;
    color: #969696;
    text-align: right;
    text-decoration: line-through;
}

/* #endregion */

/* #region Coupon */

.coupun-box {
    display: -webkit-box;
    display: flex;
    margin-bottom: 15px;
    border-left: 0 !important;
}
.coupun-box.invalid {
    opacity: 0.5;
}

.coupun-box .coupon-amount {
    background: url(../images/voucher.png) no-repeat;
    background-size: cover;
    display: -webkit-box;
    display: flex; 
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    flex-direction: column;
    min-width: 140px;
    min-height: 140px;
    padding: 15px;
    font-size: 28px;
    font-family: 'Times New Roman';
    font-weight: bold;
    letter-spacing: 2px;
    color: white;
}
.coupun-box .coupon-amount .tnc {
    font-size: 10px;
    font-weight: normal;
    letter-spacing: initial;
    color: white;
    text-align: center;
}

.coupun-box .coupon-details {
    position: relative;
    width: 100%;
    padding: 10px 10px 35px;
}
.coupun-box .coupon-details .title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}
.coupun-box .coupon-details .description, .coupun-box .coupon-details .date {
    font-size: 12px;
}
.coupun-box .coupon-details .code {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 5px 10px;
    font-size: 13px;
}

/* #endregion */

@media all and (min-width: 768px) {

    .content-box {
        min-height: calc(100vh - 767px);
    }

}

@media all and (min-width: 992px) {

    .content-box {
        min-height: calc(100vh - 666px);
    }

}

@media all and (min-width: 1185px) {

    /* #region Breadcrumb */

    .breadcrumb-wrapper .breadcrumb {
        padding: 10px 25px;
    }

    /* #endregion */

}

@media all and (max-width: 991px) {

    /* #region Product Box */

    .product-grid .item-box .thumbnail .product-item .caption .product-title, .product-list .item-box .thumbnail .product-item .caption .product-title, .product-grid .item-box .thumbnail .product-item .caption .prices .actual-price, .product-grid .item-box .thumbnail .product-item .caption .prices .bvpoint-overview, .product-list .item-box .thumbnail .product-item .caption .prices .actual-price, .product-list .item-box .thumbnail .product-item .caption .prices .bvpoint-overview {
        font-size: 13px;
    }
    .product-grid .item-box .thumbnail .product-item .caption .prices .old-price, .product-list .item-box .thumbnail .product-item .caption .prices .old-price {
        font-size: 12px;
        line-height: 21px;
    }

    /* #endregion */

}

@media all and (max-width: 767px) {

    /* #region Product Box */

    .product-grid .item-box .thumbnail .product-item .caption .product-title, .product-list .item-box .thumbnail .product-item .caption .product-title, .product-grid .item-box .thumbnail .product-item .caption .prices .actual-price, .product-grid .item-box .thumbnail .product-item .caption .prices .bvpoint-overview, .product-list .item-box .thumbnail .product-item .caption .prices .actual-price, .product-list .item-box .thumbnail .product-item .caption .prices .bvpoint-overview {
        font-size: 12px;
    }
    .product-grid .item-box .thumbnail .product-item .caption .prices .old-price, .product-list .item-box .thumbnail .product-item .caption .prices .old-price {
        font-size: 10px;
        line-height: 20px;
    }

    /* #endregion */

}