﻿@font-face { font-family: ThaiSansNeue-Black; src: url('fonts/ThaiSansNeue-Black.eot'); src: url('fonts/ThaiSansNeue-Black.eot?#iefix') format('embedded-opentype'), url('fonts/ThaiSansNeue-Black.woff') format('woff'), url('fonts/ThaiSansNeue-Black.ttf') format('truetype'), url('fonts/ThaiSansNeue-Black.svg#ThaiSansNeue-Black') format('svg'); font-weight: normal; font-style: normal; }
@font-face { font-family: ThaiSansNeue-Bold; src: url('fonts/ThaiSansNeue-Bold.eot'); src: url('fonts/ThaiSansNeue-Bold.eot?#iefix') format('embedded-opentype'), url('fonts/ThaiSansNeue-Bold.woff') format('woff'), url('fonts/ThaiSansNeue-Bold.ttf') format('truetype'), url('fonts/ThaiSansNeue-Bold.svg#ThaiSansNeue-Bold') format('svg'); font-weight: normal; font-style: normal; }
@font-face { font-family: ThaiSansNeue-SemiBold; src: url('fonts/ThaiSansNeue-SemiBold.eot'); src: url('fonts/ThaiSansNeue-SemiBold.eot?#iefix') format('embedded-opentype'), url('fonts/ThaiSansNeue-SemiBold.woff') format('woff'), url('fonts/ThaiSansNeue-SemiBold.ttf') format('truetype'), url('fonts/ThaiSansNeue-SemiBold.svg#ThaiSansNeue-SemiBold') format('svg'); font-weight: normal; font-style: normal; }

@font-face { font-family: ThaiSansNeue-Regular; src: url('fonts/ThaiSansNeue-Regular.eot'); src: url('fonts/ThaiSansNeue-Regular.eot?#iefix') format('embedded-opentype'), url('fonts/ThaiSansNeue-Regular.woff') format('woff'), url('fonts/ThaiSansNeue-Regular.ttf') format('truetype'), url('fonts/ThaiSansNeue-Regular.svg#ThaiSansNeue-Regular') format('svg'); font-weight: normal; font-style: normal; }

@font-face { font-family: ThaiSansNeue-Light; src: url('fonts/ThaiSansNeue-Light.eot'); src: url('fonts/ThaiSansNeue-Light.eot?#iefix') format('embedded-opentype'), url('fonts/ThaiSansNeue-Light.woff') format('woff'), url('fonts/ThaiSansNeue-Light.ttf') format('truetype'), url('fonts/ThaiSansNeue-Light.svg#ThaiSansNeue-Light') format('svg'); font-weight: normal; font-style: normal; }


body.PrintPage { font-family: ThaiSansNeue-Light, sans-serif; font-size: 19px; background-color: #fff; margin: 0; padding: 0; color: #231f20; padding: 10px; }
#PrintArea { font-size: 19px; padding: 10px; }
.PrintPage .PrintPageDiv { width: 840px; margin: 10px auto; }

.PrintPage H4 { font-family: ThaiSansNeue-Bold; font-size: 24px; margin-bottom: 0; font-weight: normal; }

.PrintButton, .CloseButton { cursor: pointer; line-height: 24px; padding: 2px 20px 5px; text-transform: uppercase; font-size: 18px; font-family: ThaiSansNeue-Regular; border-radius: 5px; cursor: pointer; }
.PrintButton { color: #fff; background-color: #011b54; }

.CloseButton { color: #fff; background-color: #808080; }

.PrintButton:hover { color: #fff; background-color: #0032a1; }

.CloseButton:hover { color: #fff; background-color: #3e3e3e; }

/* CheckoutComplete Begin */

.CheckoutComplete .CommonPageRight { padding: 0; }

.CheckoutCompletePanel { clear: left; float: left; width: 100%; margin: 20px 0; text-align: center; position: relative; }
    .CheckoutCompletePanel .CheckoutCompleteText i { color: #299100; font-size: 60px; }
.CheckoutOrderSummaryPanel { clear: left; float: left; width: 100%; margin: 0; }

.CheckoutCompleteText { clear: left; float: left; width: 100%; text-align: center; margin-top: 10px; font-size: 20px; }

    .CheckoutCompleteText.Title { font-size: 26px; font-family: ThaiSansNeue-Bold; }

.CheckoutCompleteTextOrderLabel { clear: left; float: left; width: 100%; font-size: 22px; font-family: ThaiSansNeue-SemiBold; }

.CheckoutCompleteTextCommonDiv { clear: left; float: left; width: 100%; font-family: ThaiSansNeue-Light; }

.CheckoutCompleteErrorLiteralDiv { clear: left; float: left; width: 100%; margin: 20px 0; text-align: center; }

.CheckoutCompleteDetailsLabelColumn { float: left; margin-right: 5px; min-width: 37px; }

.CheckoutCompleteDetailsValueColumn { float: left; }

.CheckoutCompleteCustomerTable { width: 100%; }

.CheckoutCompleteOrderHeaderFormView { width: 100%; }

.CheckoutCompleteOrderHeaderDiv { clear: left; float: left; width: 100%; margin: 0 0 20px; background-color: #edf4ff; border: solid 1px #a0a8d0; }

.CheckoutCompleteOrderHeaderFormView .OrderHeaderItem { display: inline-block; margin: 10px 0.5%; vertical-align: top; width: 15%; }

    .CheckoutCompleteOrderHeaderFormView .OrderHeaderItem .Title { clear: left; float: left; width: 100%; margin-bottom: 10px; }

    .CheckoutCompleteOrderHeaderFormView .OrderHeaderItem .Value { clear: left; float: left; width: 100%; font-family: ThaiSansNeue-SemiBold; font-size: 20px; }

.CheckoutCompleteOrderHeaderFormView .OrderIDLabel { }

.CheckoutCompleteOrderProduct { clear: left; border: solid 1px #d4cdcb; background-color: #fff; display: flex; flex-wrap: wrap; }

.CheckoutCompleteFormHeadTitle { clear: left; float: left; width: 100%; font-family: ThaiSansNeue-Bold; font-size: 24px; margin: 5px 0; }

.CheckoutCompleteRewardPointDiv { float: right; text-align: right; }

.CheckoutCompletePointEarnedDiv { float: left; }

.CheckoutCompleteOrderProduct .CheckoutCompleteDetailsLabelColumn { }
.CheckoutCompleteOrderProductDiv { clear: left; float: left; width: 100%; padding: 12px 0; border-top: solid 1px #d4cdcb; display: flex; align-items: center; flex-wrap: wrap; }

    .CheckoutCompleteOrderProductDiv.SummaryPrice { line-height: 30px; }

    .CheckoutCompleteOrderProductDiv .Bold { font-family: ThaiSansNeue-Bold; }

    .CheckoutCompleteOrderProductDiv .Title { clear: left; float: left; }

    .CheckoutCompleteOrderProductDiv .Value { float: right; text-align: right; }

    .CheckoutCompleteOrderProductDiv.SummaryTotalPrice { font-size: 22px; line-height: 30px; font-family: ThaiSansNeue-SemiBold; padding-top: 20px; margin-top: 10px; }

        .CheckoutCompleteOrderProductDiv.SummaryTotalPrice .TaxIncludeLabel { font-size: 11px; line-height: 16px; clear: left; width: 100%; float: left; color: #878785; font-weight: 400; font-family: Tahoma; }
        .CheckoutCompleteOrderProductDiv.SummaryTotalPrice .Title { width: 55%; font-family: ThaiSansNeue-Bold; }

        .CheckoutCompleteOrderProductDiv.SummaryTotalPrice .Value { width: 45%; font-size: 24px; font-family: ThaiSansNeue-Bold; }

.ProductImageItemDiv { float: left; margin-right: 20px; display: flex; align-items: center; justify-content: center; background-color: #fff } 

.ProductInfoItemDiv { float: right; line-height: 22px; }

    .ProductInfoItemDiv .Title { clear: left; float: left; width: 100%; margin: 5px 0 0; color: #555; font-size: 95%; }

    .ProductInfoItemDiv .Value { clear: left; float: left; width: 100%; font-family: ThaiSansNeue-SemiBold; text-align: inherit; }

    .ProductInfoItemDiv .NameItem { clear: left; float: left; width: 100%; font-family: ThaiSansNeue-SemiBold; margin-bottom: 5px; }

    .ProductInfoItemDiv .UnitPriceItem { float: left; width: 35%; }

    .ProductInfoItemDiv .QuantityItem { float: left; width: 30%; text-align: center; }

    .ProductInfoItemDiv .PriceItem { float: right; }

.CheckoutCompleteOrderCustomerInfoDiv { clear: left;  display: flex; flex-wrap: wrap; }

.CheckoutCompleteOrderCustomerInfoFormView { clear: left; width: 100%; padding: 0; }
.CheckoutCompleteFormInfo { display: inline-block; width: 49%; vertical-align: top; line-height: 22px; margin: 0 0 30px; font-family: ThaiSansNeue-Light; }

.CheckoutCompleteFormInfoTitle { clear: left; float: left; width: 100%; font-family: ThaiSansNeue-Bold; font-size: 24px; margin: 0 0 10px; line-height: 30px; }

.CheckoutCompleteTextCommonDiv.Title { font-family: ThaiSansNeue-Bold; }

.CheckoutCompleteTextCommonDiv.Address { margin: 0 0 15px; }

.CheckoutCompleteTextCommonDiv .CheckoutCompleteDetailsLabelColumn { font-family: ThaiSansNeue-Regular; }

.CheckoutCompleteOrderCustomerInfoFormView .BankTransferAccountList { width: 100%; }
.CheckoutCompleteOrderCustomerInfoFormView .PaymentDescription-Image { float: left; width: 12%; }
.CheckoutCompleteOrderCustomerInfoFormView .PaymentDescription-HeaderText { float: left; font-family: ThaiSansNeue-Regular; }

.PrintPage .CheckoutCompleteOrderHeaderDiv, .PrintPage .CheckoutCompleteOrderProductDiv, .PrintPage .CheckoutCompleteOrderCustomerInfoFormView, .PrintPage .CheckoutCompleteOrderCustomerInfoFormView { padding-left: 0; padding-right: 0; }

.PrintPage .CheckoutCompleteOrderProduct { padding-left: 20px; padding-right: 20px; margin: 0 0 20px; width: calc(100% - 42px); }

.PrintPage .CheckoutCompleteOrderCustomerInfoDiv { padding-left: 20px; padding-right: 20px; width: calc(100% - 40px); }
.PrintPage .CheckoutCompleteOrderHeaderDiv { margin: 15px 0; padding: 5px 10px; width: calc(100% - 20px); }
/* CheckoutComplete End */
.PrintPageDiv .PaymentConfirmationPanel { display: none; }

@media only screen and (min-width: 1300px) {
    .CheckoutCompleteOrderHeaderFormView { width: 1200px; margin: auto; }
    .CheckoutCompleteOrderHeaderDiv { padding: 20px 30px; } 
    .CheckoutCompleteOrderCustomerInfoDiv { margin: 0 auto 20px; width: 1200px; padding: 20px 30px; }
    .CheckoutCompleteOrderProduct { margin: 0 auto 20px; width: 1200px; padding: 20px 30px; }

    .PrintPageDiv .CheckoutCompleteOrderHeaderFormView { width: 100%; }

    .ProductImageItemDiv { width: 100px; height: 100px; }  
        .ProductImageItemDiv img { max-height: 100px; max-width: 100%;} 
    .ProductInfoItemDiv {  width: calc(100% - 120px);  }
}

@media only screen and (max-width: 1299.99px) { 
    .CheckoutCompleteOrderHeaderFormView { width: 100%; margin: auto; }
    .CheckoutCompleteOrderHeaderDiv { padding: 20px; }
    .CheckoutCompleteOrderCustomerInfoDiv { margin: 0 0 10px; width: 100%; padding: 20px; }
    .CheckoutCompleteOrderProduct { margin: 0 0 10px; width: 100%; padding: 20px; }

    .ProductImageItemDiv { width: 80px; height: 80px; }
        .ProductImageItemDiv img { max-height: 80px; max-width: 100%; }
    .ProductInfoItemDiv { width: calc(100% - 100px); }
}

@media only screen and (max-width: 979.99px) {

    .CheckoutCompleteOrderHeaderDiv { margin: 0 0 15px; width: 100%; }

    .CheckoutCompleteOrderProduct { margin: 0 0 15px; width: 100%; }

    .CheckoutCompleteOrderCustomerInfoDiv { padding-left: 2%; padding-right: 2%; }

    .CheckoutCompleteOrderHeaderFormView .OrderHeaderItem { width: 31.5%; }

        .CheckoutCompleteOrderHeaderFormView .OrderHeaderItem .Title { margin-bottom: 5px; }

    .PrintPage .PrintPageDiv { margin: 0 0 15px; width: 100%; }
}

@media only screen and (max-width: 767.99px) {

    .CheckoutCompleteOrderHeaderFormView .OrderIDLabel { font-size: 20px; }
    .CheckoutCompleteOrderProduct { margin: 0 0 20px; width: 100%; padding: 15px; }

    .CheckoutCompleteOrderCustomerInfoDiv { padding-left: 0; padding-right: 0; }

    .CheckoutCompleteOrderHeaderFormView .OrderHeaderItem { display: inline-block; margin: 5px 0; vertical-align: top; width: 100%; }

        .CheckoutCompleteOrderHeaderFormView .OrderHeaderItem .Title { width: 30%; margin-bottom: 0; }

        .CheckoutCompleteOrderHeaderFormView .OrderHeaderItem .Value { clear: none; width: 70%; }

    .CheckoutCompleteOrderProductDiv { padding: 10px 0; }


        .CheckoutCompleteOrderProductDiv.SummaryPrice { line-height: 26px; }

    .CheckoutCompleteOrderCustomerInfoFormView { padding-left: 0; padding-right: 0; }

    .CheckoutCompleteFormInfo { width: 100%; margin: 0 0 20px; }
    .CheckoutCompleteOrderHeaderFormView .OrderHeaderItem .Value { font-size: 18px; }
}

@media only screen and (max-width: 479.99px) {
    body.PrintPage { font-size: 19px; }
    #PrintArea { font-size: 19px; }
    .CheckoutCompleteText { font-size: 20px; }
    .CheckoutCompleteRewardPointDiv { clear: left; float: left; text-align: left; }
    .CheckoutCompletePointEarnedDiv { line-height: 20px; }
    .CheckoutCompleteFormHeadTitle { font-size: 22px; }
    .CheckoutCompleteFormInfoTitle { font-size: 22px; }
    .ProductInfoItemDiv { position: relative; }
        .ProductInfoItemDiv .Title { margin: 0; line-height: 18px; }
        .ProductInfoItemDiv .NameItem { margin-top: 48px; line-height: 18px; font-size: 19px; }
        .ProductInfoItemDiv .UnitPriceItem { width: 65%; }
        .ProductInfoItemDiv .QuantityItem { width: 35%; }
        .ProductInfoItemDiv .PriceItem { clear: left; float: left; width: calc(100% - 20px); position: absolute; top: 0; }

    .CheckoutCompleteOrderHeaderFormView .OrderHeaderItem .Title { width: 100%; }
    .CheckoutCompleteOrderHeaderFormView .OrderHeaderItem .Value { clear: none; width: 100%; margin-bottom: 5px; }
}
