﻿/* Main Css */
.hwcCustomization {
    font-family: "sukhumvit_settext",Arial !important;
}
    

    .hwcCustomization .mar0 {
        margin: 0px !important;
    }

    .hwcCustomization .blockdesk {
        display: block;
    }

    .hwcCustomization .nonedesk {
        display: none;
    }

    .hwcCustomization a.btn{
        padding: 8px 16px 6px 16px;
        line-height:initial;
    }

    .hwcCustomization #divHideEmptySpace {
        height: 40px !important;
    }

    .hwcCustomization .marpaddbtnarea {
        padding: 40px 0 0px 0;
        margin: 0px 0px 0px 0px;
        width: 100%;
        clear: both;
    }

    .hwcCustomization .btnareajustifymp0 {
        justify-content: space-between;
        padding: 0px;
        margin: 0px
    }

    .hwcCustomization .marpaddbtnsave {
        padding: 0px 0 0 0;
        margin: 0px;
    }

    .hwcCustomization .marpaddbtnback {
        padding: 0px 0 0 0;
        margin: 0px;
    }

    .hwcCustomization .btnSaveSize {
        width: 59.65% !important;
    }

    .hwcCustomization .btnBackStepSize {
        width: 59.65% !important;
        line-height: initial;
    }

    .hwcCustomization .btnSave-align {
        text-align: right;
    }

    .hwcCustomization .btnBack-align {
        text-align: left;
    }

    .cardbor {
        border: 0px;
    }

    .ui.ks.dropdown.selection .text {
        padding-left: 16px !important;
        color: #222222 !important;
        /*font-weight:700 !important;*/
    }

.ui.ks.dropdown.selection .default {
    padding-left: 16px !important;
    color: #949494 !important;
    font-weight: 400 !important;
}

.ui.ks.dropdown.selection .menu .item {
    padding-left: 16px !important;
    color: #5a5a5a !important;
}

.cardpadd {
    padding: 40px 100px !important;
}
/* set Page form */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.hwcCustomization .waterMark {
    background-color: #ece9e9;
    color: #d9d9d9;
    stroke: #dcd5d5;
    height: 38px;
    border: 1px solid #dcd5d5; /*font-size: 22pt;*/
}

    .hwcCustomization .waterMark:focus {
        background-color: #ffffff;
        color: #d9d9d9;
        stroke: #ffda00;
        border: 2px solid #ffda00;
        height: 38px; /*font-size: 22pt;*/
    }

.hwcCustomization .CusCenter {
    text-align: center;
}

.hwcCustomization .groupBtn {
    width: 100%;
}

.ddTitleText .ddlabel {
    padding: 5px;
}

.hwcCustomization .Height23px {
    height: 23px;
}

.hwcCustomization .cursor {
    cursor: pointer;
}

.hwcCustomization .cusColorOrange {
    color: #ff6700;
}

.hwcCustomization .ui-datepicker-trigger {
    margin-left: 5px;
    cursor: pointer; /*padding-top:5px;
    height:38px;*/
    margin-bottom: 0px;
    vertical-align: bottom;
}

.hwcCustomization .calendar_icon {
    /*background: white url(../../Customization/images/calendar.png) no-repeat 97% 3px;
    background-size: 32px;
    padding-right: 20px;*/
}

.hwcCustomization .myBox {
    -ms-grid-columns: 100%;
    -ms-grid-rows: auto auto auto auto;
    display: block; /*font-family: Tahoma, Geneva, sans-serif;*/ /*font-size: 22pt;*/ /*background-color: #F8F8F8;*/
    color: #554242;
    margin: 3px;
    width: 100%;
}

.hwcCustomization .BGWhite {
    background-color: white;
}

.hwcCustomization .myBoxExclusive {
    -ms-grid-columns: 100%;
    -ms-grid-rows: auto auto auto auto;
    display: block; /*font-family: Tahoma, Geneva, sans-serif;*/ /*font-size: 22pt;*/ /*background-color: #1a1818;*/
    color: #ece9e9;
    margin: 3px;
    width: 100%;
}

.hwcCustomization .myContent {
    width: 100%;
}

.hwcCustomization .myFooter {
    width: 100%; /*font-size: 22pt;*/
    padding-top: 20px; /*display: none;*/
}

.hwcCustomization .myHeader {
    /*font-size: 32pt;*/
    padding: 10px 20px 10px 20px;
}

.hwcCustomization .mySubHeader {
    padding: 10px;
    text-align: left;
}

.hwcCustomization .mySubHeaderText {
    padding-left: 20px; /*font-size: 22pt;*/
}

/* table in result */
.hwcCustomization .table-scroll {
    width: 100%;
    overflow-y: hidden;
    overflow-x: auto;
}

.hwcCustomization table {
    width: 100%;
    overflow: auto;
    border-collapse: collapse;
}

.hwcCustomization thead {
    border-bottom: 2px solid #ece9e9;
    border-collapse: separate;
    border-spacing: 5px 5px;
}

.hwcCustomization tfoot tr td {
    border-top: 2px solid #ece9e9;
    border-collapse: separate;
    border-spacing: 5px 5px;
}

.hwcCustomization .CusHeaderWidget {
    text-align: center;
}

.hwcCustomization .basicTable2 {
}

    .hwcCustomization .basicTable2 tbody tr {
        vertical-align: top;
    }

    .hwcCustomization .basicTable2 th {
        background-color: #ffda00;
        border-style: solid;
        border-width: 2px;
        border-color: #FFFFFF;
        border-spacing: 3px;
    }

    .hwcCustomization .basicTable2 tr {
        background-color: #ece9e9; /*font-size: 22pt;*/
        border-collapse: collapse;
        border-spacing: 0;
    }

        .hwcCustomization .basicTable2 tr:nth-child(2n+1) {
            background-color: #F8F8F8; /*font-size: 22pt;*/
            border-collapse: collapse;
            border-spacing: 0;
        }

.hwcCustomization .basicTable th {
    background-color: #715f5f;
    border-style: solid;
    border-width: 2px;
    border-color: #FFFFFF;
    border-spacing: 3px;
    color: #FFFFFF;
}

.hwcCustomization .basicTable tr {
    background-color: #ece9e9; /*font-size: 22pt;*/
    border-collapse: collapse;
    border-spacing: 0;
}

    .hwcCustomization .basicTable tr:nth-child(2n+1) {
        background-color: #F8F8F8; /*font-size: 22pt;*/
        border-collapse: collapse;
        border-spacing: 0;
    }



.hwcCustomization .table-header {
    border-bottom: 2px solid #ece9e9;
    border-collapse: separate;
    border-spacing: 5px 5px;
}

.hwcCustomization .table-body {
    font-weight: normal;
    border-bottom: 2px solid #ECE9E9;
    border-top: 2px solid #ece9e9;
}

.hwcCustomization .table-footer {
    font-weight: bold;
    border-top: 2px solid #ece9e9;
    margin: 5px;
}

/* tab wrapper */
.hwcCustomization .tab_wrap {
    border: 1px solid #999;
    max-width: 300px;
    width: 100%;
}

.hwcCustomization #navWrappertab_, #navWrapperOut_, #navWrappernoBank_ {
    display: none;
}

.hwcCustomization .tabs {
    width: 100%;
    margin: auto;
    overflow: hidden; /*background: #ece9e9;*/ /*font-size: 22pt;*/
    padding: 0px;
}

    .hwcCustomization .tabs ul {
        list-style: none;
        overflow: hidden;
        padding: 0;
        margin: 0 0px;
        border-bottom: 3px solid #FFDA00;
    }

    .hwcCustomization .tabs li a {
        width: auto;
        height: 40px;
        color: #444444;
        display: block;
        float: left;
        font-weight: bold;
        padding: 10px;
        text-align: center;
        text-decoration: none;
        border: none;
        border-left: 1px solid #d9d9d9;
        border-bottom: 1px solid #d9d9d9;
        margin-right: 15px;
        background: #ece9e9;
    }

        .hwcCustomization .tabs li a:hover {
            /*color: white;
            background: #715f5f;*/
        }

    .hwcCustomization .tabs li:first-child a {
        /*border-left: none;*/
    }

    .hwcCustomization .tabs li a.active {
        background: #ffda00;
        border: none;
        border-left: 1px solid #d9d9d9;
        border-bottom: none;
    }

    .hwcCustomization .tabs li:first-child a.active {
        border: none;
        border-bottom: none;
    }

    .hwcCustomization .tabs li:last-child a.active {
        border: none;
        border-left: 1px solid #d9d9d9;
        border-bottom: none;
    }

.hwcCustomization .tab_content {
    border-top-color: #ffda00;
}


/* box wrapper */
.hwcCustomization .wrapper {
    /*font-size: 22pt;*/
    padding: 5px;
    clear: both;
}

    .hwcCustomization .wrapper table {
        padding: 10px;
    }

    .hwcCustomization .wrapper .boxLeft {
        padding: 10px;
    }

    .hwcCustomization .wrapper .boxRight {
        /*padding: 10px 0;*/
    }

    .hwcCustomization .wrapper .boxResult {
        padding: 10px;
    }

    .hwcCustomization .wrapper .div-result-left {
        padding: 10px;
    }

    .hwcCustomization .wrapper .div-result-right {
        padding: 10px;
    }

    .hwcCustomization .wrapper div.alignCenter {
        text-align: center;
    }

    .hwcCustomization .wrapper div.graph {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

.hwcCustomization .boxLeft {
    float: left; /*margin: 10px;*/
    width: 31%;
}

.hwcCustomization .boxRight {
    overflow: hidden;
    margin: 0 10px;
}

.hwcCustomization .boxLeftBiz {
    float: left; /*margin: 10px;*/
    width: 30%;
}

.hwcCustomization .boxRightBiz {
    overflow: hidden;
    margin: 0 10px;
    width: 30%;
}

.hwcCustomization .boxCombo {
    height: auto; /*margin: 10px;*/
    padding-right: 15px;
    margin-left: 10px;
}

.hwcCustomization .boxResult {
    /* ใช้คู่กับ boxWhite */
    float: left;
    width: 30%; /*height: 250px;*/
}

    .hwcCustomization .boxResult div {
        padding: 5px;
    }

.hwcCustomization .boxLeftTotal {
    float: left;
    margin: 0 10px;
    width: 20%;
}

.hwcCustomization .boxResultLeft {
    float: left;
    width: 50%;
}

.hwcCustomization .boxResultRight {
    overflow: hidden;
    margin: 0 10px;
    text-align: left;
}

.hwcCustomization .titleText {
    text-align: right;
}

.hwcCustomization .textExclusive {
    color: #ffda00;
}

.hwcCustomization .wrapperButton {
    text-align: center;
    overflow: hidden; /*font-size: 22pt;*/
    padding: 5px;
}

    .hwcCustomization .wrapperButton div {
        padding: 10px;
    }

.hwcCustomization .buttonCenter {
    width: 100%;
    text-align: center;
}

.hwcCustomization .buttonLeft {
    float: left;
    width: 50%;
    text-align: right;
}

.hwcCustomization .buttonRight {
    overflow: hidden;
    margin: 0 10px;
    text-align: left;
}

.hwcCustomization .div-result {
    padding: 10px 10px 10px 35px;
    width: auto;
    clear: both; /*height: 60px;*/
    text-align: left;
    background-color: #ffda00;
    font-weight: bold;
}

.hwcCustomization .div-result-left {
    float: left; /*fix for  buggy browsers*/
    display: table-column;
    margin: 0 30px;
    text-align: right;
    width: 30%;
}

.hwcCustomization .div-result-right {
    float: left; /*fix for  buggy browsers*/
    display: table-column;
    width: 60%;
}

.hwcCustomization .textResultLeft {
    /*float: left;*/
    margin: 0 10px;
    width: auto;
}

.hwcCustomization .textResultRight {
    overflow: hidden;
    margin: 0 10px;
}

.hwcCustomization .textRemark {
    /*margin: 10px;*/
    display: none; /*font-size: 18pt;*/
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    color: white;
}

.hwcCustomization .textHilight {
    color: #ff6700;
}

/*.label {
    text-align: right;
    float: left;
    margin-top: -10px;
    margin-right: 10px;
}*/

.hwcCustomization .wrapper .div-result-right .labelResult {
    float: left;
    margin-right: 10px;
}

.hwcCustomization .star {
    color: #fc7e41;
    vertical-align: central;
}

.hwcCustomization .hide {
    color: #F8F8F8;
}

.hwcCustomization .list label {
    width: auto;
    text-transform: uppercase;
}

.hwcCustomization .list input[type=radio] {
    -webkit-transform: scale(1, 1);
    margin: 1.25em 1.25em 1.25em 0;
}

.myDdl {
    width: 300px !important;
}

@media only screen and (min-width:768px) and (max-width: 1199px) {
    .hwcCustomization .btnSaveSize {
        padding: 6px 10px 6px 10px;
    }

    .hwcCustomization .btnBackStepSize {
        padding: 6px 0px 6px 0px !important;
    }
}

@media only screen and (max-width: 767px) {

    .cardmar {
        margin-bottom: 40px;
    }

    .cardpadd {
        padding: 8px 1px 0 1px !important;
    }

    .hwcCustomization .marpaddbtnarea {
        margin: 0px 0px 0px 0px;
        padding: 40px 0px 0px 0px;
        width: 100%;
        clear: both;
    }

    .hwcCustomization .marpaddbtnsave {
        padding: 0 0 0 0;
        margin: 0px;
    }

    .hwcCustomization .marpaddbtnback {
        padding: 16px 0 0 0;
        margin: 0 0 0 0;
    }

    .hwcCustomization .btnSaveSize {
        width: 82.32% !important;
    }

    .hwcCustomization .btnBackStepSize {
        width: 82.32% !important;
    }

    .hwcCustomization .btnSave-align {
        text-align: center;
    }

    .hwcCustomization .btnBack-align {
        text-align: center;
    }

    .hwcCustomization .btnareajustifymp0 {
        justify-content: center;
        padding: 0px;
        margin: 0px
    }

    .hwcCustomization .justify-center {
        justify-content: center !important;
    }

    .hwcCustomization #divHideEmptySpace {
        height: 16px !important;
    }

    .hwcCustomization .blockmobile {
        display: block;
    }

    .hwcCustomization .nonemobile {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    /* on iphone */


    .hwcCustomization .padLeft31per {
        padding-left: 0% !important;
    }

    .hwcCustomization .boxCombo {
        padding-right: 10px;
    }

    .hwcCustomization table {
        max-width: initial !important;
        overflow: auto;
        width: 1024px;
        margin: 0 10px;
    }

    .hwcCustomization .table-scroll div {
        width: 1024px;
    }

    .hwcCustomization #navWrappertab_, #navWrapperOut_, #navWrappernoBank_ {
        display: block;
        text-decoration: none;
    }

    .hwcCustomization .tabs {
        display: inline-block;
        padding: 0;
        margin: 0;
    }

        .hwcCustomization .tabs ul {
            border: none;
            list-style-type: none;
            display: none;
            padding: 0 10px;
            margin: 0;
            width: 100%;
            position: absolute;
        }

        .hwcCustomization .tabs li {
            /*position: relative;*/
            float: left;
            list-style: none;
            width: 100%;
            padding: 0 10px;
        }

            .hwcCustomization .tabs li:hover ul {
                /*display: block;*/
            }

            .hwcCustomization .tabs li li {
                float: none;
            }

                .hwcCustomization .tabs li li a {
                    margin: 0 26px 0 -10px;
                }

            .hwcCustomization .tabs li a {
                float: none; /* width: 100%;*/
                margin: 0 10px;
                height: auto;
                text-align: left;
                background-color: none;
            }

                .hwcCustomization .tabs li a:active {
                    text-decoration: none;
                    height: auto;
                }

                .hwcCustomization .tabs li a.active {
                    background: #ece9e9;
                    border: none;
                    border-left: 1px solid #d9d9d9;
                    border-bottom: none;
                }

                .hwcCustomization .tabs li a.ddlHeader {
                    background: #ffda00;
                    border: none;
                    border-left: 1px solid #d9d9d9;
                    border-bottom: none;
                }

    .hwcCustomization .boxLeft {
        float: none;
        margin-right: 0;
        width: auto;
        border: 0; /*border-bottom:2px solid #000;    */
    }

    .hwcCustomization .boxLeftTotal {
        float: left;
        margin-right: 0;
        width: auto;
        border: 0;
    }

    .hwcCustomization .boxResult {
        float: none;
        margin: 0;
        width: auto;
        height: auto;
    }

    .hwcCustomization .titleText {
        text-align: left;
    }

    .hwcCustomization .boxResultLeft {
        float: none;
        width: auto;
    }

    .hwcCustomization .boxResultRight {
        margin: 0;
    }

    .hwcCustomization .buttonLeft {
        text-align: center;
        float: none;
        width: auto;
    }

    .hwcCustomization .buttonRight {
        text-align: center;
    }

    .hwcCustomization .div-result {
        padding: 10px;
    }

    .hwcCustomization .div-result-left {
        text-align: left;
        width: 80%;
    }

    .hwcCustomization .div-result-right {
        margin: 0 30px;
        width: auto;
    }

    .hwcCustomization .textResultLeft {
        float: none;
        margin: 0;
        width: auto;
    }

    .hwcCustomization .textResultRight {
        margin: 0;
    }

    .hwcCustomization .textRight {
        text-align: right !important;
    }

    /*.label {
        float: left;
        margin-top: -10px;
    }*/
    .hwcCustomization .wrapper .div-result-right .label {
        float: left; /* margin-right: 10px; */
    }

    .hwcCustomization .list label {
        padding-right: 30%;
        width: auto;
        text-transform: uppercase;
    }

    .hwcCustomization .list span {
        display: inline-block;
        padding-left: 10px;
        width: auto;
    }

    .hwcCustomization .labelRadioButton {
        display: inline-block;
        padding-left: 10px;
        width: auto;
    }

    .hwcCustomization .wrapper div.graph {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}
/* end i-phone */

@media screen and (max-width: 320px) {
    

    .myDdl {
        width: 250px !important;
    }

    .hwcCustomization .btnOrangeWidth40 {
        width: 100% !important;
    }

        .hwcCustomization .btnOrangeWidth40:Hover {
            width: 100% !important;
        }
}

@media screen and (max-width: 360px) {


    .hwcCustomization .padLeft31per {
        padding-left: 0% !important;
    }

    .hwcCustomization .boxCombo .displayBlock {
        display: inline-block !important;
    }

    .hwcCustomization .btnOrangeWidth40 {
        width: 100% !important;
    }

        .hwcCustomization .btnOrangeWidth40:Hover {
            width: 100% !important;
        }
}

@media screen and (max-width: 547px) {
    .hwcCustomization .groupBtn {
        width: 200px;
        text-align: initial;
        margin-left: auto;
        margin-right: auto;
    }
}
/* form layout */
.hwcCustomization .div-table-row {
    display: table-row;
    padding: 5px;
    width: auto;
    clear: both;
    height: 50px;
}

.hwcCustomization .div-table-col {
    float: left; /*fix for  buggy browsers*/
    display: table-column;
    width: auto;
    padding: 0px 10px 0px 10px;
}

.hwcCustomization .div-table-col-textRight {
    float: left; /*fix for  buggy browsers*/
    display: table-column;
    text-align: right;
    width: 30%; /** older browsers **/
    width: -webkit-calc(100%/3); /** Safari 6, Chrome 19-25 **/
    width: -moz-calc(100%/3); /** FF 4-15  **/
    width: calc(100%/3); /** FF 16+, IE 9+, Opera 15, Chrome 26+, Safari 7 and future other browsers **/
}

.hwcCustomization .div-table-2col {
    width: auto;
}

.hwcCustomization .div-table-2col-merge {
    width: auto;
    margin-left: 30%; /** older browsers **/
    margin-left: -webkit-calc(100%/3); /** Safari 6, Chrome 19-25 **/
    margin-left: -moz-calc(100%/3); /** FF 4-15  **/
    margin-left: calc(100%/3); /** FF 16+, IE 9+, Opera 15, Chrome 26+, Safari 7 and future other browsers **/
    margin-right: -webkit-calc(100%/6.5); /** Safari 6, Chrome 19-25 **/
    margin-right: -moz-calc(100%/6.5); /** FF 4-15  **/
    margin-right: calc(100%/6.5); /** FF 16+, IE 9+, Opera 15, Chrome 26+, Safari 7 and future other browsers **/
}

.hwcCustomization .div-table-col-button {
    display: inline-block;
    float: left;
    padding: 5px 10px 10px 10px;
}



/* Modal dialogs */
.hwcCustomization .ModalBackground {
    background-color: #888888;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.hwcCustomization .ModalPopupDialog {
    background-color: #ffffff;
    border: solid 1px #888888;
    padding: 5px;
}

    .hwcCustomization .ModalPopupDialog .DialogPageBody .PageHeader {
        background-color: yellow;
        border-bottom: 1px solid #CCC;
        display: block;
        padding: 5px 5px 1px;
        white-space: nowrap;
    }

    .hwcCustomization .ModalPopupDialog .PageFooterLine {
        position: relative !important;
    }

    .hwcCustomization .ModalPopupDialog .DialogPageContent {
        padding: 10px;
    }

    .hwcCustomization .ModalPopupDialog .PageFooterLine .Buttons {
        text-align: center;
    }

/* design main */
.hwcCustomization .btnYellow {
    cursor: pointer;
    background-color: #ffda00; /*font-size: 22pt;*/
    color: #3c3a3a;
    border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
    -moz-border-radius: 10px; /* Firefox */
    -webkit-border-radius: 10px; /* Safari and Chrome */
    border: none;
    width: 150px;
    height: 50px;
}

    .hwcCustomization .btnYellow:Hover {
        background-color: #fedd50;
        cursor: pointer; /*font-size: 22pt;*/
        color: #3c3a3a;
        border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
        -moz-border-radius: 10px; /* Firefox */
        -webkit-border-radius: 10px; /* Safari and Chrome */
        border: none;
        width: 150px;
        height: 50px;
    }

.hwcCustomization .btnOrange {
    background-color: #ff6700; /*font-size: 22pt;*/
    color: white;
    border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
    -moz-border-radius: 10px; /* Firefox */
    -webkit-border-radius: 10px; /* Safari and Chrome */
    border: none;
    width: 150px;
    height: 44px;
    font-size: 16px;
}

    .hwcCustomization .btnOrange:Hover {
        background-color: #fc7e41; /*font-size: 22pt;*/
        color: white;
        border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
        -moz-border-radius: 10px; /* Firefox */
        -webkit-border-radius: 10px; /* Safari and Chrome */
        border: none;
        width: 150px;
        height: 44px;
        font-size: 16px;
    }

.hwcCustomization .btnOrangeWidth20 {
    width: 20% !important;
}

    .hwcCustomization .btnOrangeWidth20:Hover {
        width: 20% !important;
    }

.hwcCustomization .btnOrangeWidth40 {
    width: 40%;
}

    .hwcCustomization .btnOrangeWidth40:Hover {
        width: 40%;
    }

.hwcCustomization .btnCyan {
    background-color: #03a49e; /*font-size: 22pt;*/
    color: white;
    border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
    -moz-border-radius: 10px; /* Firefox */
    -webkit-border-radius: 10px; /* Safari and Chrome */
    border: none;
    width: 150px;
    height: 50px;
}

    .hwcCustomization .btnCyan:Hover {
        background-color: #3bb2ab; /*font-size: 22pt;*/
        color: white;
        border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
        -moz-border-radius: 10px; /* Firefox */
        -webkit-border-radius: 10px; /* Safari and Chrome */
        border: none;
        width: 150px;
        height: 50px;
    }

.hwcCustomization .btnDarkGray {
    background-color: #554242; /*font-size: 22pt;*/
    border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
    -moz-border-radius: 10px; /* Firefox */
    -webkit-border-radius: 10px; /* Safari and Chrome */
    border: none;
    width: 150px;
    height: 50px;
}

    .hwcCustomization .btnDarkGray:Hover {
        background-color: #6e5e5e; /*font-size: 22pt;*/
        color: white;
        border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
        -moz-border-radius: 10px; /* Firefox */
        -webkit-border-radius: 10px; /* Safari and Chrome */
        border: none;
        width: 150px;
        height: 50px;
    }

.hwcCustomization .btnMaroonGray {
    background-color: #715f5f; /*font-size: 22pt;*/
    color: white;
    border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
    -moz-border-radius: 10px; /* Firefox */
    -webkit-border-radius: 10px; /* Safari and Chrome */
    border: none;
    width: 150px;
    height: 50px;
}

    .hwcCustomization .btnMaroonGray:Hover {
        background-color: #857777; /*font-size: 22pt;*/
        color: white;
        border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
        -moz-border-radius: 10px; /* Firefox */
        -webkit-border-radius: 10px; /* Safari and Chrome */
        border: none;
        width: 150px;
        height: 50px;
    }

.hwcCustomization .btnExclusiveDark {
    background-color: #1a1818; /*font-size: 22pt;*/
    color: yellow;
    border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
    -moz-border-radius: 10px; /* Firefox */
    -webkit-border-radius: 10px; /* Safari and Chrome */
    border: none;
    width: 150px;
    height: 50px;
}

    .hwcCustomization .btnExclusiveDark:Hover {
        background-color: #3c3a3a; /*font-size: 22pt;*/
        color: yellow;
        border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
        -moz-border-radius: 10px; /* Firefox */
        -webkit-border-radius: 10px; /* Safari and Chrome */
        border: none;
        width: 150px;
        height: 50px;
    }

.hwcCustomization .inActiove {
    background-color: #ede9ea; /*font-size: 22pt;*/
}

.hwcCustomization .basicFill {
    background-color: #ece9e9;
    color: #554242;
    stroke: #dcd5d5;
    height: 38px;
    border: 1px solid #dcd5d5;
    padding-left: 10px;
    padding-right: 10px; /*font-size: 22pt;*/
}

    .hwcCustomization .basicFill:focus {
        background-color: #ffffff;
        color: #554242;
        stroke: #ffda00;
        border: 2px solid #ffda00;
        height: 38px;
        padding-left: 10px;
        padding-right: 10px; /*font-size: 22pt;*/
    }

.hwcCustomization .textButton {
    /*font-size: 22pt;*/
    color: #554242;
}

    .hwcCustomization .textButton:hover {
        /*font-size: 22pt;*/
        color: #ff6700;
    }

.hwcCustomization .fontSize {
    /*font-size: 22pt;*/ /*font-family: Tahoma;*/
}

.hwcCustomization .line {
    clear: both;
    color: #dcd5d5;
    background-color: #dcd5d5; /*border: 1.5px solid;*/
    height: 3px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.hwcCustomization .endLine {
    clear: both;
    color: #ece9e9;
    background-color: #dcd5d5; /*border: 1.5px solid;*/
    height: 3px;
    margin-top: 5px;
}

.hwcCustomization .summaryLine {
    border: 4px solid;
}

.hwcCustomization .boxWhite {
    /*font-size: 22pt;*/
    background-color: #ffffff;
    stroke: #dcd5d5;
    box-shadow: yellow;
    border: 2px solid #ECE9E9;
    margin: 10px;
    overflow: hidden;
}

.hwcCustomization .tabLight {
    /*font-size: 22pt;*/
    background-color: #ece9e9;
}

    .hwcCustomization .tabLight:active {
        /*font-size: 22pt;*/
        background-color: #ffda00;
    }

.hwcCustomization .tabMaroonGrey {
    /*font-size: 22pt;*/
    height: 44px;
    background-color: #715f5f;
    cursor: pointer;
    color: white;
}

.hwcCustomization .tabDarkGrey {
    /*font-size: 22pt;*/
    background-color: #554242;
    cursor: pointer;
    color: white;
    background-repeat: no-repeat;
    font-size: 12px;
}

.hwcCustomization .CusTableTextCenter {
    text-align: center;
}

.hwcCustomization .cleanTable {
    background-color: red; /*font-size: 22pt;*/
    border-collapse: collapse;
    border-spacing: 0;
    border-top: solid;
    border-bottom: solid;
}

    .hwcCustomization .cleanTable:nth-child(n+1) {
        background-color: yellow; /*font-size: 22pt;*/
        border-collapse: collapse;
        border-spacing: 0;
        border-top: solid;
        border-bottom: solid;
    }



/* default */
.hwcCustomization .arrowImg {
    position: relative;
}

    .hwcCustomization .arrowImg .arrowExpand {
        position: absolute;
        background: url("../../../th/Customization/images/arrow_wht.png") no-repeat -20px center !important;
        width: 20px;
        height: 20px;
        top: 10px;
        right: 10px;
    }

    .hwcCustomization .arrowImg .arrowCollapse {
        position: absolute;
        background: url("../../../th/Customization/images/arrow_wht.png") no-repeat -60px center !important;
        width: 20px;
        height: 20px;
        top: 10px;
        right: 10px;
    }

.hwcCustomization .border_table {
    border-style: solid;
    border-width: 2px;
    border-color: #FFFFFF;
    border-spacing: 3px;
    height: 50px;
}

.hwcCustomization .bgColorResult {
    text-align: left;
    background-color: #ffda00;
}

.hwcCustomization .clearBoth {
    clear: both;
}

.hwcCustomization .padHeaderText {
    /*padding: 10px 10px 10px 35px;*/
    padding: 0 10px;
    height: 44px;
}

.hwcCustomization .tabDarkGrey .padHeaderText {
    height: initial;
    padding-left: 20px;
}

.hwcCustomization .tabDarkGrey .textRemark {
    padding-top: 0;
    padding-left: 30px;
}


.hwcCustomization .padText {
    padding: 10px;
}

.hwcCustomization .padTop {
    padding-top: 10px;
}

.hwcCustomization .padBottom {
    padding-bottom: 10px;
}

.hwcCustomization .padLeft {
    padding-left: 10px;
}

.hwcCustomization .padLeft31per {
    padding-left: 31%;
}

.hwcCustomization .padLeftMinus {
    padding-left: -10px;
}

.hwcCustomization .padRight {
    padding-right: 10px;
}

.hwcCustomization .marginNone {
    margin: 0;
}

.hwcCustomization .marginText {
    margin: 10px;
}

.hwcCustomization .marginLeftRight {
    margin: 0 10px;
}

.hwcCustomization .marginLeft {
    margin-left: 10px;
}

.hwcCustomization .marginRight {
    margin-right: 10px;
}

.hwcCustomization .marginText-top {
    margin-top: 10px;
}

.hwcCustomization .marginText-bottom {
    margin-bottom: 10px;
}

.hwcCustomization .margin-Top20px {
    margin-top: 10px;
}

.hwcCustomization .basicResult {
    /*height: 38px;*/ /*font-size: 22pt;*/
}

.hwcCustomization .displayBlock {
    display: block;
}

.hwcCustomization .displayInBlock {
    display: inline-block;
}

.hwcCustomization .displayNone {
    display: none;
}

.hwcCustomization .fontRed {
    color: red;
}

.hwcCustomization .fontBold {
    font-weight: bold;
}

.hwcCustomization .fontBolder {
    font-weight: bolder;
}

.hwcCustomization .floatLeft {
    float: left;
}

.hwcCustomization .leftNone {
    left: 0px !important;
}

.hwcCustomization .listNone {
    list-style-type: none;
}

.hwcCustomization .textLeft {
    text-align: left;
}

.hwcCustomization .textCenter {
    text-align: center;
}

.hwcCustomization .textRight {
    text-align: right;
}

.hwcCustomization .textWhite {
    color: white;
}

.hwcCustomization .cus-tooltip a {
    color: #ffda00;
    text-decoration: none;
}

    .hwcCustomization .cus-tooltip a:hover {
        color: #ece9e9;
        text-decoration: none;
    }

.hwcCustomization .widthAuto {
    width: auto;
}

.hwcCustomization .width10per {
    /* 5 column */
    width: 10%;
}

.hwcCustomization .width15per {
    width: 15%;
}

.hwcCustomization .width20per {
    /* 5 column */
    width: 20%;
}

.hwcCustomization .width25per {
    /* 4 column */
    width: 25%;
}

.hwcCustomization .width30per {
    /* 3 column */
    width: 31%;
}

.hwcCustomization .width33per {
    /* 3 column */
    width: 33.33%;
}

.hwcCustomization .width40per {
    width: 40%;
}

.hwcCustomization .width50per {
    /* 2 column */
    width: 50%;
}

.hwcCustomization .width60per {
    width: 60%;
}

.hwcCustomization .width70per {
    width: 70%;
}

.hwcCustomization .width80per {
    width: 80%;
}

.hwcCustomization .width90per {
    width: 90%;
}

.hwcCustomization .width100per {
    width: 100%;
}

.hwcCustomization .minwidth0 {
    min-width: 0;
}



.hwcCustomization .widthPicker {
    width: 150px;
}

/*.hwcCustomization h1,
.h1 {
    font-size: 60pt !important;
}

.hwcCustomization h2,
.h2 {
    font-size: 48pt !important;
}

.hwcCustomization h3,
.h3 {
    font-size: 32pt !important;
}

.hwcCustomization h4,
.h4 {
    font-size: 22pt !important;
}

.hwcCustomization h5,
.h5 {
    font-size: 18pt !important;
}

.hwcCustomization h6,
.h6 {
    font-size: 16pt !important;
}*/

.hwcCustomization p, .p {
    margin: 0 0 10px;
}

.hwcCustomization .padLeft-12 {
    margin-left: 100% !important;
}

.hwcCustomization .padLeft-11 {
    margin-left: 91.66666667% !important;
}

.hwcCustomization .padLeft-10 {
    margin-left: 83.33333333% !important;
}

.hwcCustomization .padLeft-9 {
    margin-left: 75% !important;
}

.hwcCustomization .padLeft-8 {
    margin-left: 66.66666667% !important;
}

.hwcCustomization .padLeft-7 {
    margin-left: 58.33333333% !important;
}

.hwcCustomization .padLeft-6 {
    margin-left: 50% !important;
}

.hwcCustomization .padLeft-5 {
    margin-left: 41.66666667% !important;
}

.hwcCustomization .padLeft-4 {
    margin-left: 31% !important;
}

.hwcCustomization .padLeft-3 {
    margin-left: 25% !important;
}

.hwcCustomization .padLeft-2 {
    margin-left: 16.66666667% !important;
}

.hwcCustomization .padLeft-1 {
    margin-left: 8.33333333% !important;
}

.hwcCustomization .padLeft-0 {
    margin-left: 0 !important;
}

.hwcCustomization .padRight-12 {
    margin-right: 100% !important;
}

.hwcCustomization .padRight-11 {
    margin-right: 91.66666667% !important;
}

.hwcCustomization .padRight-10 {
    margin-right: 83.33333333% !important;
}

.hwcCustomization .padRight-9 {
    margin-right: 75% !important;
}

.hwcCustomization .padRight-8 {
    margin-right: 66.66666667% !important;
}

.hwcCustomization .padRight-7 {
    margin-right: 58.33333333% !important;
}

.hwcCustomization .padRight-6 {
    margin-right: 50% !important;
}

.hwcCustomization .padRight-5 {
    margin-right: 41.66666667% !important;
}

.hwcCustomization .padRight-4 {
    margin-right: 31% !important;
}

.hwcCustomization .padRight-3 {
    margin-right: 25% !important;
}

.hwcCustomization .padRight-2 {
    margin-right: 16.66666667% !important;
}

.hwcCustomization .padRight-1 {
    margin-right: 8.33333333% !important;
}

.hwcCustomization .padRight-0 {
    margin-right: 0 !important;
}


/*UPDATE 2014 08 21 By BOM*/

.BackgroundLabelBox {
    background-color: #F8F8F8;
    border-color: transparent !important;
}

/*UPDATE 2014 08 21 By BOM*/

/*end Main Css*/

/* Mortgage Custom Css */

/*Preview*/
.hwcDetailGap {
    padding: 20px 0px !important;
    clear: both;
}

.hwcCustomization .ContractUSContent {
    clear: both;
    margin: 0px auto;
    width: 80%;
}

.hwcCustomization .CCTextareaHeight {
    min-height: 76px;
}

.hwcCustomization .ContractUSContent .TitleText {
    margin: 0px 20px;
}


.hwcCustomization .miniTitlePreview {
    padding-left: 14px;
    clear: both;
    padding-top: 5px;
}

.hwcCustomization .PreviewContainer > .PreviewRow {
    clear: both;
    margin: 10px 0px;
}

.hwcCustomization .PreviewContainer .PreviewRow > .BoxTitle {
    clear: both;
    float: left;
    width: 31%;
    text-align: right;
    margin-left: -10px;
    font-weight: bold;
}

.hwcCustomization .PreviewContainer .PreviewRow > .BoxDetail {
    padding-left: 30%;
    width: 100%;
    text-align: left;
    margin-left: 10px;
}

.hwcCustomization .PreviewContainer textarea, .hwcCustomization .PreviewContainer input[type='text'] {
    width: 350px;
}

.hwcCustomization .PreviewLeftPanel {
    clear: both;
    width: 50%;
    float: left;
}

.hwcCustomization .PreviewRightPanel {
    width: 50%;
    float: right;
}

    .hwcCustomization .PreviewLeftPanel .PreviewContainer textarea, .hwcCustomization .PreviewLeftPanel .PreviewContainer input[type='text'], .hwcCustomization .PreviewRightPanel .PreviewContainer textarea, .hwcCustomization .PreviewRightPanel .PreviewContainer input[type='text'] {
        width: 350px;
    }

.hwcCustomization .PreviewContainer .inputPreviewControlClass {
    resize: none;
}

.hwcCustomization .PreviewContainer .PreviewRow .hwcRadioBox {
    margin-left: -5px;
}

.hwcCustomization .PreviewContainer .PreviewRow .hwcFirstRadioDetal {
    clear: none;
}

@media only screen and (max-width: 1080px) {
    .hwcCustomization .PreviewLeftPanel {
        float: none;
        clear: both;
        width: 100%;
        margin: 0px 0px;
    }

    .hwcCustomization .PreviewRightPanel {
        float: none;
        clear: both;
        width: 100%;
        margin: 0px 0px;
    }

        .hwcCustomization .PreviewLeftPanel .PreviewContainer input[type='text'], .hwcCustomization .PreviewRightPanel .PreviewContainer input[type='text'] {
            width: 350px;
        }
}

@media only screen and (max-width: 760px) {
    .hwcCustomization .PreviewContainer .PreviewRow > .BoxTitle {
        clear: both;
        float: none;
        width: 100%;
        text-align: left;
        margin-left: 10px;
        font-weight: bold;
    }

    .hwcCustomization .PreviewContainer .PreviewRow > .BoxDetail {
        clear: both;
        width: 100%;
        text-align: left;
        margin-left: 10px;
        padding-left: 0px;
    }

    .hwcCustomization .PreviewContainer textarea, .hwcCustomization .PreviewContainer input[type='text'] {
        width: 90% !important;
    }

    .hwcCustomization .PreviewLeftPanel .PreviewContainer textarea, .hwcCustomization .PreviewLeftPanel .PreviewContainer input[type='text'], .hwcCustomization .PreviewRightPanel .PreviewContainer textarea, .hwcCustomization .PreviewRightPanel .PreviewContainer input[type='text'] {
        width: 90% !important;
    }

    .hwcCustomization .miniTitlePreview {
        clear: both;
        padding-left: 10px;
    }
}


/*Detail*/
.hwcSelectedRow {
    padding-left: 18px;
    width: 60px;
}

.hwcCustomization .textAlert {
    color: red;
}

.hwcCustomization .hideElement {
    left: -9999px;
    position: absolute;
}

.hwcCustomization .showElement {
    left: auto;
    position: relative;
}

.hwcCustomization table {
    margin: 20px 0px !important;
}

.hwcCustomization h3, .h3 {
    line-height: 35px;
}

.hwcCustomization h3 {
    font-size: 18px;
    /*padding-top: 10px;*/
}

.hwcCustomization .miniTitle {
    padding-left: 14px;
    clear: both;
    padding-top: 5px;
}

.hwcCustomization .wrapper {
    clear: both;
    padding: 5px; /*height: 95px;*/
    min-height: 80px;
}

.hwcCustomization .table-wrapper-margin {
    margin-left: 20px;
}


.hwcCustomization .scroll-table-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
}

.hwcCustomization .headerCol1 {
    width: 300px;
    min-width: 300px;
    text-align: right;
    font-weight: bold;
}

.hwcCustomization .detailCol1 {
    min-width: 200px;
    text-align: left;
    padding-left: 5px;
}

.hwcCustomization .headerCol2 {
    width: 300px;
    text-align: right;
    font-weight: bold;
}

.hwcCustomization .detailCol2 {
    width: auto;
    text-align: left;
    padding-left: 5px;
}

.hwcCustomization .scroll-table-custom {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
}

.hwcCustomization .boxRight {
    margin: 0 10px;
    margin-right: 0px;
    overflow: hidden;
}

.hwcCustomization .wrapperAutoHeight {
    clear: both;
    height: auto;
    padding: 5px;
}

.hwcCustomization .shortInputLeftOnly {
    margin: 0 0 0 10px;
    overflow: visible;
}

.hwcCustomization .btnRegisterAppOnline {
    background: url(~/CMSWebParts/CustomizationFullPhase/Images/arrow_wht-right-y1.png) no-repeat scroll 155px 10px #ff6700;
    border: medium none;
    border-radius: 10px;
    color: white;
    height: 40px;
    width: 180px;
    cursor: pointer;
    margin: 3px 10px;
}

    .hwcCustomization .btnRegisterAppOnline:hover {
        background-color: #fc7e41;
        border: medium none;
        border-radius: 10px;
        color: white;
        height: 40px;
        width: 180px;
        margin: 3px 10px;
    }

.hwcCustomization .btnContractUS {
    background-color: #ffda00;
    border: medium none;
    border-radius: 10px;
    color: black;
    height: 40px;
    width: 180px;
    cursor: pointer;
    margin: 3px 10px;
}

    .hwcCustomization .btnContractUS:hover {
        background-color: #fedd50;
        border: medium none;
        border-radius: 10px;
        color: black;
        height: 40px;
        width: 180px;
        margin: 3px 10px;
    }

.hwcCustomization .btnShortFormCancle {
    background-color: #dcd5d5;
    border: medium none;
    border-radius: 10px;
    color: #554242;
    height: 40px;
    width: 120px;
    cursor: pointer;
    margin: 3px 10px;
}

    .hwcCustomization .btnShortFormCancle:hover {
        background-color: #EBE9E9;
        border: medium none;
        border-radius: 10px;
        color: #554242;
        height: 40px;
        width: 120px;
        margin: 3px 10px;
    }

.hwcCustomization .btnShortFormCancleBackToHome {
    background-color: #ddd4d5;
    border: medium none;
    border-radius: 10px;
    color: #554242;
    height: 40px;
    width: 150px;
    cursor: pointer;
    margin: 3px 10px;
}

    .hwcCustomization .btnShortFormCancleBackToHome:hover {
        background-color: #EBE9E9;
        border: medium none;
        border-radius: 10px;
        color: #554242;
        height: 40px;
        width: 150px;
        cursor: pointer;
        margin: 3px 10px;
    }

.hwcCustomization .btnMgageSaveOrange {
    /*background-color: #ff6700;*/
    background: url(~/CMSWebParts/CustomizationFullPhase/Images/arrow_wht-right-y1.png) no-repeat scroll 200px 14px #ff6700;
    border: medium none;
    border-radius: 10px;
    color: white;
    height: 50px;
    width: 240px;
}

    .hwcCustomization .btnMgageSaveOrange:hover {
        background-color: #fc7e41;
        border: medium none;
        border-radius: 10px;
        color: white;
        height: 50px;
        width: 240px;
    }

.hwcCustomization .btnMgageSendDataOrange {
    background: url(~/CMSWebParts/CustomizationFullPhase/Images/arrow_wht-right-y1.png) no-repeat scroll 145px 10px #ff6700;
    border: medium none;
    border-radius: 10px;
    color: white;
    height: 40px;
    width: 180px;
    cursor: pointer;
    margin: 3px 10px;
}

    .hwcCustomization .btnMgageSendDataOrange:hover {
        background-color: #fc7e41;
        border: medium none;
        border-radius: 10px;
        color: white;
        height: 40px;
        width: 180px;
        margin: 3px 10px;
    }

.hwcCustomization .btnMgageOrange {
    background-color: #ff6700;
    border: medium none;
    border-radius: 10px;
    color: white;
    height: 40px;
    width: 180px;
    cursor: pointer;
    margin: 3px 10px;
}

    .hwcCustomization .btnMgageOrange:hover {
        background-color: #fc7e41;
        border: medium none;
        border-radius: 10px;
        color: white;
        height: 40px;
        width: 180px;
        margin: 3px 10px;
    }

.hwcCustomization .btnMgageNextOrange {
    background: url(~/CMSWebParts/CustomizationFullPhase/Images/arrow_wht-right-y1.png) no-repeat scroll 145px 10px #ff6700;
    border: medium none;
    border-radius: 10px;
    color: white;
    height: 40px;
    width: 180px;
    cursor: pointer;
    margin: 3px 10px;
}

    .hwcCustomization .btnMgageNextOrange:hover {
        background-color: #fc7e41;
        border: medium none;
        border-radius: 10px;
        color: white;
        height: 40px;
        width: 180px;
        margin: 3px 10px;
    }

.hwcCustomization .btnConfirmSendDataOrange {
    background: url(~/CMSWebParts/CustomizationFullPhase/Images/arrow_wht-right-y1.png) no-repeat scroll 155px 10px #ff6700;
    border: medium none;
    border-radius: 10px;
    color: white;
    height: 40px;
    width: 180px;
    cursor: pointer;
    margin: 3px 10px;
}

    .hwcCustomization .btnConfirmSendDataOrange:hover {
        background-color: #fc7e41;
        border: medium none;
        border-radius: 10px;
        color: white;
        height: 40px;
        width: 180px;
        margin: 3px 10px;
    }

.hwcCustomization .btnMgagePreviousOrange {
    background: url(~/CMSWebParts/CustomizationFullPhase/Images/arrow_wht-left-y1.png) no-repeat scroll 15px 10px #ff6700;
    border: medium none;
    border-radius: 10px;
    color: white;
    height: 40px;
    width: 180px;
    cursor: pointer;
    margin: 3px 10px;
}

    .hwcCustomization .btnMgagePreviousOrange:hover {
        background-color: #fc7e41;
        border: medium none;
        border-radius: 10px;
        color: white;
        height: 40px;
        width: 180px;
        margin: 3px 10px;
    }

.hwcCustomization .btnMgageFinishYellow {
    background-color: #ffda00;
    border: medium none;
    border-radius: 10px;
    color: #3c3a3a;
    cursor: pointer;
    height: 40px;
    width: 180px;
    margin: 3px 10px;
}

    .hwcCustomization .btnMgageFinishYellow:hover {
        background-color: #fedd50;
        border: medium none;
        border-radius: 10px;
        color: #3c3a3a;
        height: 40px;
        width: 180px;
        margin: 3px 10px;
    }

.hwcCustomization .btnMaroonGrayForEdit {
    background-color: #715f5f; /*font-size: 22pt;*/
    color: white;
    border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
    -moz-border-radius: 10px; /* Firefox */
    -webkit-border-radius: 10px; /* Safari and Chrome */
    border: none;
    width: 180px;
    height: 40px;
    margin: 3px 10px;
}

    .hwcCustomization .btnMaroonGrayForEdit:Hover {
        background-color: #857777; /*font-size: 22pt;*/
        color: white;
        border-radius: 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
        -moz-border-radius: 10px; /* Firefox */
        -webkit-border-radius: 10px; /* Safari and Chrome */
        border: none;
        width: 180px;
        height: 40px;
        margin: 3px 10px;
    }

.hwcCustomization .googleMapContent {
    width: 600px;
    margin: 0px auto;
}

.resultTableShort {
    background-color: #FEDA00;
    height: 44px;
    font-weight: bold;
}

.hwcCustomization .star {
    color: #fc7e41;
}

.ddCustomization {
    width: 100% !important;
}

.txtboxCustomization {
    width: 100% !important;
}

.hwctxtboxShortFormContract {
    width: 100%;
}

.txtboxCustomizationInTable {
    width: 150px;
}

.txtboxCustomization91Per {
    width: 91% !important;
}

.txtboxWithBackCustomization {
    width: 82% !important;
}

.txtboxWithYearCustomization {
    width: 92% !important;
}

.txtboxWithPeopleNumCustomization {
    width: 87% !important;
}

.txtboxWithBathCustomization {
    width: 85% !important;
}

.txtboxWithMonthCustomization {
    width: 82% !important;
}

.txtboxCustomizationDateTime {
    width: 78% !important;
}

.boxRightContract {
    padding: 0px 10px;
}

.boxComboCustom {
    padding-left: 10px;
}

.titleTextMgageF1 {
    text-align: right;
    padding-left: 3px;
}

.div-col-style {
    padding-right: 10px !important;
    padding-left: 0px !important;
    width: 150px !important;
}

.shform-time {
    padding-top: 0px;
}

.mgageGuarantee {
    margin: 0 auto;
    width: 450px;
    padding-top: 10px;
    padding-bottom: 30px;
}

.boxRightOnly {
    padding-left: 31% !important;
}

.boxRight-text {
    padding: 0px 10px;
}

.boxLeft50 {
    width: 50%;
    float: left;
    clear: both;
}

.boxRight50 {
    float: right;
    width: 50%;
}

.paddinIncomeDoc {
    padding-left: 37%;
}

.PaddingLeft31 {
    padding-left: 31%;
}

.personalDocCol {
    border: thin solid black;
    float: left;
    height: 50px;
}

.personalDocRowCustomize {
    width: 100% !important;
    display: inherit !important;
    height: auto !important;
}

.personalDocHeaderCol-title {
    width: 61% !important;
    padding-left: 4%;
    border-style: solid;
    border-color: #F6F6F6;
    border-width: 2px;
}

.personalDocHeaderCol-detail {
    min-width: 150px;
    text-align: center;
    border-style: solid;
    border-color: #F6F6F6;
    border-width: 2px;
}

.personalDocCol-title {
    width: 61% !important;
    padding-left: 4%;
    border-bottom: solid 1px;
    border-color: #DDD4D5;
}

.personalDocColInput-title {
    width: 40% !important; /*padding-left: 4%;*/
}

.personalDocCol-detail {
    /*width: 10% !important;*/
    min-width: 150px;
    text-align: center;
    border-bottom: solid 1px;
    border-color: #DDD4D5;
}

.personalDocColInput-detail {
    /*width: 10% !important;*/
    min-width: 150px;
    text-align: center;
}

.ConditionalFrame {
    margin: 0 auto;
    width: 100%;
}

.ConditionBorder {
    margin: 0 auto;
    width: 95%;
    border: thin solid black;
}

.NormallyBorder {
    margin: 0 auto;
    border: thin solid black;
}

/*.SubHeadStyle {
        background-color: #FFDE26;
        padding-left: 7px;
        clear: both;
    }*/

.SubHeadStyle2 {
    background-color: #EDE9EA;
    padding-left: 7px;
    clear: both;
}

.SubHeadStyle2-Left {
    background-color: #EDE9EA;
    padding-left: 7px;
    clear: both;
    width: 99%;
}

.SubHeadStyle2-Right {
    background-color: #EDE9EA;
    padding-left: 7px;
    clear: both;
    width: 99%;
}

.BRightImg {
    float: left;
    padding: 5px;
    display: none;
}

.hwcCustomization .div-table-col-MgageCustom {
    float: left;
    display: table-column;
    width: auto;
    padding: 0px 0px 0px 10px;
}

.boxRight-10-Only {
    padding-left: 10% !important;
}

.CenterLoadingImg {
    text-align: center;
    clear: both;
}

.hwcCustomization .mgageButtonLeft {
    padding-left: 31% !important;
    float: left;
    text-align: right;
}

.hwcCustomization .mgageButtonCenter {
    padding-left: 5%;
    float: left;
    text-align: left;
}

.hwcCustomization .mgageButtonRight {
    margin: 0 10px;
    overflow: hidden;
    text-align: left;
}

.hwcCustomization .TitleText {
    margin: 0 10px;
}

.hwcCustomization .mgageLeftPanel {
    float: left;
    width: 50%;
    clear: both;
}

.hwcCustomization .mgageRightPanel {
    float: left;
    width: 50%;
}

.hwcCustomization .mgageLeft50Panel {
    float: left;
    width: 50%;
    clear: both;
}

.hwcCustomization .mgageRight50Panel {
    float: left;
    width: 50%;
}

.hwcCustomization .mgageSubLeftPanel {
    float: left;
    width: 50%;
    clear: both;
}

.hwcCustomization .mgageSubRightPanel {
    float: left;
    width: 50%;
}

.hwcCustomization .shortInputRight {
    width: 100%;
}

.hwcCustomization .backText {
    margin: 0 10px;
    width: 99%;
    text-align: right;
}

.hwcCustomization .hwcRadioButtonDiv {
    margin: 5px 10px;
}

.hwcCustomization .hwcShortFormDebt {
    margin: 0px 16px;
}

.hwcCustomization .hwcRadioTitle {
    float: left;
    min-width: 85px;
}

.hwcCustomization .pagingText {
    margin: 0px 3px;
    cursor: pointer;
}

.hwcCustomization .HeaderImg-Top {
    background-color: #dcd5d5;
    clear: both;
    color: #ece9e9;
    height: 3px;
    margin-bottom: 30px;
}

.hwcCustomization .HeaderImg-Buttom {
    background-color: #dcd5d5;
    clear: both;
    color: #ece9e9;
    height: 3px;
    margin-top: 30px;
}

.hwcCustomization .thankEndLine-Top {
    background-color: #dcd5d5;
    clear: both;
    color: #ece9e9;
    height: 3px;
    margin-bottom: 50px;
}

.hwcCustomization .thankEndLine-Buttom {
    background-color: #dcd5d5;
    clear: both;
    color: #ece9e9;
    height: 3px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.hwcCustomization .boxLeftForRateOnlinelbl {
    padding-left: 14.7%;
    margin: -22px 0px;
    float: left;
}

.hwcCustomization .boxLeftForRateOnlineInput {
    padding-left: 28.4%;
    margin: -22px 0px;
}

.followingTime {
    /*padding-left: 31%;*/
    padding-left: 10px;
}

.hwcCustomization .ddInstallmentStyle {
    padding-left: 31%;
}

.hwcCustomization .divShortformPassNextBeforAppOnline {
    margin: 20px auto;
    padding: 15px 0;
    text-align: center;
    width: 550px;
}

.hwcCustomization .divShortformFailNextBeforAppOnline {
    margin: 10px auto;
    width: 375px;
    padding: 15px 0;
    text-align: center;
}

.hwcCustomization .ContractUSFollowingTimeAlert {
    color: red;
    position: absolute;
}

/* CSS 980 for IE8 */
.hwcCustomization .wrapper980 {
    padding: 5px;
    height: auto;
    clear: both;
}
/* end 980 */

/* CSS 640 for IE8 */
.txtboxCustomization640 {
    width: 85% !important;
}

.txtboxCustomization91Per640 {
    width: 85% !important;
}

.hwcCustomization .mgageSubLeftPanel640 {
    width: 100%;
    clear: both;
    margin: 7px 0;
}

.hwcCustomization .mgageSubRightPanel640 {
    clear: both;
    width: 100%;
}

.hwcCustomization .mgageSubLeftPanel640 {
    width: 100%;
    clear: both;
    margin: 7px 0;
}

.hwcCustomization .mgageSubRightPanel640 {
    clear: both;
    width: 100%;
}

.hwcCustomization .hwcRadioTitle640 {
    clear: both;
    width: 100%;
}

.txtboxWithBackCustomization640 {
    width: 85% !important;
}

.hwcCustomization .SearchButton {
    height: 38px;
    width: 185px;
}

    .hwcCustomization .SearchButton:hover {
        height: 38px;
        width: 185px;
    }

.ShowOn640pDisplay {
    display: none;
}

/* end 640 */
@media only screen and (min-width: 1280px) {
    .personalDocCol {
        border: thin solid black;
        float: left;
        height: auto;
    }
}

@media only screen and (max-width: 980px) {
    /*.ConditionalFrame {
        margin: 0 auto;
        width: 85%;
        margin-left: 10px;
    }*/

    /*.ConditionBorder {
        margin: 0 auto;
        width: 80%;
        border: thin solid black;
        margin-left: 10px;
    }*/


    .hwcCustomization .mgageLeftPanel {
        clear: both;
        margin: 0 10px;
        width: 100%;
        float: none;
    }

    .hwcCustomization .mgageRightPanel {
        clear: both;
        margin: 0 10px;
        width: 100%;
    }

    .hwcCustomization .wrapper {
        clear: both;
        padding: 5px;
        height: auto;
    }

    .hwcCustomization .mgageLeft50Panel {
        width: 100%;
        clear: both;
    }

    .hwcCustomization .mgageRight50Panel {
        width: 100%;
        clear: both;
    }
}

@media only screen and (max-width: 870px) {
    /*.hwcCustomization .mgageSubLeftPanel {
        float: left;
        width: 100%;
        clear: both;
    }

    .hwcCustomization .mgageSubRightPanel {
        margin: 0px;
        overflow: hidden;
        clear: both;
    }*/

    .hwcCustomization .shortInput {
        width: 275px;
    }
}

@media only screen and (max-width: 800px) {
    .hwcCustomization .mgageButtonRight {
        clear: both;
        text-align: center;
    }
}

@media only screen and (max-width: 640px) {

    .hwcCustomization .ContractUSFollowingTimeAlert {
        color: red;
        position: relative;
    }

    .contractMobileModeTitle {
        margin-left: 20px;
    }

    .followingTime {
        padding-left: 10px !important;
    }

    .boxRightOnly {
        padding-left: 0px !important;
    }

    .shform-step2-radio-title-style {
        display: none;
    }

    .shform-time {
        padding-top: 0px !important;
    }

    .boxRightOnly-time {
        padding-left: 0;
    }

    .hwcCustomization .boxLeftForRateOnlinelbl {
        padding-left: 0%;
        margin: 0 10px;
    }

    .hwcCustomization .boxLeftForRateOnlineInput {
        padding-left: 0%;
        margin: 0 10px;
    }

    .boxLeft50 {
        width: 100%;
        float: left;
        clear: both;
    }

    .boxRight50 {
        width: 100%;
        float: none;
    }

    .paddinIncomeDoc {
        padding-left: 0;
    }

    .PaddingLeft31 {
        padding-left: 0;
    }

    .personalDocCol-title {
        width: 70% !important;
        padding-left: 0;
    }

    .ddCustomization {
        width: 250px !important;
    }

    .personalDocCol {
        border: thin solid black;
        float: left;
        height: 70px;
    }

    .ConditionalFrame {
        margin: 0 0;
        width: 100%;
    }

    .ConditionBorder {
        margin: 0 0;
        width: 100%;
        border: thin solid black;
    }

    .NormallyBorder {
        margin: 0 0;
        width: 100%;
        border: thin solid black;
    }

    .PadLeft0-640px {
        padding-left: 0px !important;
    }

    .titleTextMgageF1 {
        text-align: left;
        padding-left: 0px;
    }

    .boxRight-10-Only {
        padding-left: 0 !important;
    }

    .hwcCustomization .mgageButtonLeft {
        float: none;
        padding-left: 0px !important;
        clear: both;
        text-align: center;
    }

    .hwcCustomization .mgageButtonCenter {
        float: none;
        padding-left: 0px !important;
        clear: both;
        text-align: center;
    }

    .hwcCustomization .mgageButtonRight {
        float: none;
        padding-left: 0px !important;
        clear: both;
        text-align: center;
    }

    .hwcCustomization .mgageSubLeftPanel {
        width: 100%;
        clear: both;
        margin: 7px 0;
    }

    .hwcCustomization .mgageSubRightPanel {
        clear: both;
        width: 100%;
    }

    .hwcCustomization .hwcRadioTitle {
        clear: both;
        width: 100%;
    }

    .txtboxWithBackCustomization {
        width: 82% !important;
    }

    .hideOn640pDisplay {
        display: none;
    }

    .ShowOn640pDisplay {
        display: block;
    }

    .InResultButton {
        height: 38px !important;
        width: 80% !important;
        margin: 3px 0px;
    }

    .ConditionalFrame {
        margin: 0 auto;
        width: 100%;
    }

    .hwcCustomization .table-wrapper-margin {
        margin-left: 10px;
    }

    .hwcCustomization .miniTitle {
        clear: both;
        padding-left: 24px;
    }

    .txtboxCustomization {
        width: 82% !important;
    }

    .txtboxCustomization91Per {
        width: 82% !important;
    }

    .txtboxWithBackCustomization {
        width: 82% !important;
    }

    .txtboxWithYearCustomization {
        width: 82% !important;
    }

    .txtboxWithPeopleNumCustomization {
        width: 82% !important;
    }

    .txtboxWithBathCustomization {
        width: 82% !important;
    }

    .txtboxWithMonthCustomization {
        width: 82% !important;
    }

    .txtboxCustomizationDateTime {
        width: 82% !important;
    }

    .hwcCustomization .ddInstallmentStyle {
        padding-left: 8px;
    }

    .hwcCustomization .btnShortFormCancle {
        background-color: #dcd5d5;
        border: medium none;
        border-radius: 10px;
        color: #554242;
        height: 40px;
        width: 180px;
        cursor: pointer;
        margin: 3px 10px;
    }

        .hwcCustomization .btnShortFormCancle:hover {
            background-color: #EBE9E9;
            border: medium none;
            border-radius: 10px;
            color: #554242;
            height: 40px;
            width: 180px;
            margin: 3px 10px;
        }

    .hwcCustomization .btnShortFormCancleBackToHome {
        background-color: #ddd4d5;
        border: medium none;
        border-radius: 10px;
        color: #554242;
        height: 40px;
        width: 180px;
        cursor: pointer;
        margin: 3px 10px;
    }

        .hwcCustomization .btnShortFormCancleBackToHome:hover {
            background-color: #EBE9E9;
            border: medium none;
            border-radius: 10px;
            color: #554242;
            height: 40px;
            width: 180px;
            cursor: pointer;
            margin: 3px 10px;
        }

    .hwcCustomization .divShortformPassNextBeforAppOnline {
        margin: 20px auto;
        padding: 15px 0;
        text-align: center;
        width: auto;
    }

    .hwcCustomization .divShortformFailNextBeforAppOnline {
        margin: 10px auto;
        width: auto;
        padding: 15px 0;
        text-align: center;
    }
}

@media only screen and (min-width: 640px) {
    .shform-time {
        padding-top: 10px !important;
    }
}

@media only screen and (max-width: 696px) {
    .titleTextMgageF1 {
        text-align: left;
        padding-left: 0px;
    }
}

@media only screen and (min-width: 694px) {
    .shform-time {
        padding-top: 10px !important;
    }
}

@media only screen and (min-width: 798px) {
    .shform-time {
        padding-top: 0px !important;
    }

    .boxRightOnly-time {
        padding-left: 31%;
    }
}

@media only screen and (max-width: 558px) {
    .shform-time {
        padding-top: 10px !important;
    }
}


/* end Mortgage Custom Css */
/* hwcRadio CSS */
input[type=radio].Cm-css-checkbox {
    /*display: none;*/ /* fix for ie8 */
    left: -9999px;
    position: absolute;
}

input[type='radio'].Cm-css-checkbox + label.Cm-css-checkbox-label {
    /*padding-left: 42px;*/
    padding-left: 0px;
    height: 30px;
    display: inline-block;
    line-height: 30px;
    background-repeat: no-repeat;
    background-position: 0 0;
    font-size: 14px;
    vertical-align: middle;
    cursor: pointer;
}

input[type='radio'].Cm-css-checkbox:checked + label.Cm-css-checkbox-label {
    background-position: 0 -30px;
}

label.Cm-css-checkbox-label {
    background-image: url("~/CMSWebParts/CustomizationFullPhase/Images/Mgage/krungsri_radio.png"); /*background-image: url(../../../CMSWebParts/CustomizationFullPhase/Images/Mgage/krungsri_radio.png);*/
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Modal CSS */
.modalbox, .modalBox2 {
    background: none repeat scroll 0 0 #fff;
    box-shadow: 0 0 8px #171a24;
    box-sizing: border-box;
    color: #182a3c; /*min-height: 20%;
    min-width: 40%;*/
    padding: 35px;
    transform: scale(0.95);
    width: 450px;
    border-radius: 20px;
}

.ModalSearchRow {
    clear: both;
    width: 100%;
}

.modalbox-result {
    background: none repeat scroll 0 0 #fff;
    box-shadow: 0 0 8px #171a24;
    box-sizing: border-box;
    color: #182a3c; /*min-height: 20%;
    min-width: 40%;*/
    padding: 35px;
    transform: scale(0.95);
    width: 80%;
    border-radius: 20px;
}

.MgageApponlineModalbox {
    background: none repeat scroll 0 0 #fff;
    box-shadow: 0 0 8px #171a24;
    box-sizing: border-box;
    color: #182a3c; /*min-height: 20%;
    min-width: 40%;*/
    padding: 35px;
    transform: scale(0.95);
    width: 50%;
    border-radius: 20px;
}

img.iw-closeImg {
    height: 24px;
    width: 24px;
}

.modalFooter {
    bottom: 0;
    color: #fff;
    position: absolute;
}

    .modalFooter span {
        cursor: pointer;
    }

.iw-modalOverlay {
    background: none repeat scroll 0 0 #000;
    opacity: 0.5;
}

/* Close button */

.remodal-close {
    position: absolute;
    top: 5px; /*left: 5px;*/
    right: 7px;
    width: 28px;
    height: 28px;
    text-decoration: none;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border: 2px solid #3e5368;
    font-size: 22px;
    -webkit-transition: background 0.2s linear;
    -moz-transition: background 0.2s linear;
    -o-transition: background 0.2s linear;
    transition: background 0.2s linear;
}

    .remodal-close:after {
        display: block;
        text-align: center; /*font-size: 32px;
    font-family: Arial, 'Helvetica CY', 'Nimbus Sans L', sans-serif !important;*/
        content: "x";
        cursor: pointer;
        text-decoration: none;
        color: #3e5368;
        font-size: 22px;
        -webkit-transition: all 0.2s linear;
        -moz-transition: all 0.2s linear;
        -o-transition: all 0.2s linear;
        transition: all 0.2s linear;
    }

    .remodal-close:hover, .remodal-close:active {
        background: #3e5368;
    }

        .remodal-close:hover.remodal-close:after, .remodal-close:active.remodal-close:after {
            color: #f4f4f4;
        }

@media only screen and (max-width: 640px) {
    .modalbox, .modalBox2 {
        background: none repeat scroll 0 0 #fff;
        box-shadow: 0 0 8px #171a24;
        box-sizing: border-box;
        color: #182a3c; /*min-height: 20%;
    min-width: 40%;*/
        padding: 30px;
        transform: scale(0.95);
        width: 100%;
        border-radius: 0px;
    }

    .MgageApponlineModalbox {
        background: none repeat scroll 0 0 #fff;
        box-shadow: 0 0 8px #171a24;
        box-sizing: border-box;
        color: #182a3c; /*min-height: 20%;
    min-width: 40%;*/
        padding: 30px;
        transform: scale(0.95);
        width: 100%;
        border-radius: 0px;
    }

    .remodal-close {
        display: none;
    }
}

/*Modal*/
.modalbox .ModalLeftPanel {
    width: 50%;
    float: left;
    clear: both;
}

.modalbox .ModalRightPanel {
    width: 50%;
    float: right;
}

.modalbox .wrapper {
    clear: both;
    min-height: 80px;
    padding: 5px;
}

.modalbox .TitleText {
    margin: 0px 10px;
}

.modalbox .boxRight {
    margin: 0px 10px;
    overflow: hidden;
}

@media only screen and (max-width: 640px) {
    .modalbox .ModalLeftPanel, .modalbox .ModalRightPanel {
        width: 100%;
        clear: both;
    }

    .modalbox .wrapper {
        clear: both;
        min-height: 80px;
        padding: 0px;
    }

    .modalbox .TitleText {
        margin: 0px;
    }

    .modalbox .boxRight {
        margin: 0px;
        overflow: visible;
    }

    /*********Social********/
    .hwcCustomization .boxContent {
        width: 450px;
        -moz-border-radius: 15px;
        -webkit-border-radius: 15px;
        border-radius: 15px;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }

        .hwcCustomization .boxContent .paddingBox {
            padding: 40px 75px;
        }

    .hwcCustomization .spinner {
        margin: 50px 100px 50px 100px;
        height: 28px;
        width: 28px;
        animation: rotate 0.8s infinite linear;
        -webkit-animation: rotate 0.8s infinite linear;
        border: 8px solid #FFD400;
        border-right-color: transparent;
        border-radius: 50%;
        position: absolute;
        right: 35%;
        top: 30%;
        z-index: 1001;
    }
    /*********Social********/
}

@media only screen and (max-width: 470px) {
    .hwcCustomization .boxContent {
        width: auto;
    }

        .hwcCustomization .boxContent .paddingBox {
            padding: 55px;
        }

    .hwcCustomization .spinner {
        margin: 50px 100px 50px 100px;
        height: 28px;
        width: 28px;
        animation: rotate 0.8s infinite linear;
        -webkit-animation: rotate 0.8s infinite linear;
        border: 8px solid #FFD400;
        border-right-color: transparent;
        border-radius: 50%;
        position: absolute;
        right: 35%;
        top: 30%;
        z-index: 1001;
    }
}

@media only screen and (max-width: 380px) {
    .hwcCustomization .boxContent {
        width: 318px;
    }

        .hwcCustomization .boxContent .paddingBox {
            padding: 20px 10px 20px 10px;
        }

    .hwcCustomization .spinner {
        margin: 50px;
        height: 28px;
        width: 28px;
        animation: rotate 0.8s infinite linear;
        -webkit-animation: rotate 0.8s infinite linear;
        border: 8px solid #FFD400;
        border-right-color: transparent;
        border-radius: 50%;
        position: absolute;
        right: 35%;
        top: 30%;
        z-index: 1001;
    }
}

@media only screen and (max-width: 320px) {

    .hwcCustomization .social-text {
        font-size: 16px;
    }

    .hwcCustomization .boxContent {
        width: 276px;
    }

        .hwcCustomization .boxContent .paddingBox {
            padding: 20px 5px 20px 5px;
        }

    .hwcCustomization .spinner {
        margin: 50px 100px 50px 100px;
        height: 28px;
        width: 28px;
        animation: rotate 0.8s infinite linear;
        -webkit-animation: rotate 0.8s infinite linear;
        border: 8px solid #FFD400;
        border-right-color: transparent;
        border-radius: 50%;
        position: absolute;
        right: 35%;
        top: 30%;
        z-index: 1001;
    }
}

.hwcCustomization .spinner {
    margin: 50px;
    height: 28px;
    width: 28px;
    animation: rotate 0.8s infinite linear;
    -webkit-animation: rotate 0.8s infinite linear;
    border: 8px solid #FFD400;
    border-right-color: transparent;
    border-radius: 50%;
    z-index: 1001;
}

@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.bgFacebook2 {
    min-height: 50px;
    /*padding: 5px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;
         margin-top: 20px;*/
    background-color: #3D599B;
    margin-top: 20px;
}

.facebook {
    background-color: #3D599B;
    background-position: 25px 10px;
    background-repeat: no-repeat;
    background-image: url('~/CM-Image/Social/_facebook.png');
    font-size: 16px;
    color: white;
    text-align: center;
    padding-left: 50px;
}

/*CSS Style Sheet*/
/*** Old CSS Paginate ***/
/*** styling ***/
._wPaginate_link {
    display: inline-block;
    margin-left: 5px;
    line-height: 20px;
    width: 20px;
    text-align: center;
    cursor: pointer;
    border: solid black 1px;
    text-decoration: none;
    border-radius: 5px;
    font-family: verdana;
    font-size: 10px;
}

._wPaginate_link_first, ._wPaginate_link_prev, ._wPaginate_link_next, ._wPaginate_link_last {
    width: auto;
    line-height: 10px;
    padding: 3px 5px;
}

/*** themes ***

/*** blue ***/
._wPaginate_blue ._wPaginate_link {
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px 0px;
    text-shadow: rgba(0, 0, 0, 0.247059) 0px -1px 0px;
    border: 1px solid rgba(0, 0, 0, 0.0980392);
    border-bottom-color: rgba(0, 0, 0, 0.247059);
    background-color: #006DCC;
    color: #FFF;
}

    ._wPaginate_blue ._wPaginate_link:hover, ._wPaginate_blue ._wPaginate_link.active {
        background-color: #0044CC;
    }

/*** grey ***/
._wPaginate_grey ._wPaginate_link {
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px 0px;
    text-shadow: rgba(255, 255, 255, 0.75) 0 1px 1px;
    border: 1px solid rgba(0, 0, 0, 0.14902);
    border-bottom-color: rgba(0, 0, 0, 0.247059);
    background-color: #F5F5F5;
    color: #333;
}

    ._wPaginate_grey ._wPaginate_link:hover, ._wPaginate_grey ._wPaginate_link.active {
        background-color: #E6E6E6;
    }

/*** greeen ***/
._wPaginate_green ._wPaginate_link {
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px 0px;
    text-shadow: rgba(0, 0, 0, 0.247059) 0px -1px 0px;
    border: 1px solid rgba(0, 0, 0, 0.0980392);
    border-bottom-color: rgba(0, 0, 0, 0.247059);
    background-color: #5BB75B;
    color: #FFF;
}

    ._wPaginate_green ._wPaginate_link:hover, ._wPaginate_green ._wPaginate_link.active {
        background-color: #51A351;
    }

/*** orange ***/
._wPaginate_orange ._wPaginate_link {
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px 0px;
    text-shadow: rgba(0, 0, 0, 0.247059) 0px -1px 0px;
    border: 1px solid rgba(0, 0, 0, 0.0980392);
    border-bottom-color: rgba(0, 0, 0, 0.247059);
    background-color: #FAA732;
    color: #FFF;
}

    ._wPaginate_orange ._wPaginate_link:hover, ._wPaginate_orange ._wPaginate_link.active {
        background-color: #F89406;
    }

/*** red ***/
._wPaginate_red ._wPaginate_link {
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px 0px;
    text-shadow: rgba(0, 0, 0, 0.247059) 0px -1px 0px;
    border: 1px solid rgba(0, 0, 0, 0.0980392);
    border-bottom-color: rgba(0, 0, 0, 0.247059);
    background-color: #DA4F49;
    color: #FFF;
}

    ._wPaginate_red ._wPaginate_link:hover, ._wPaginate_red ._wPaginate_link.active {
        background-color: #BD362F;
    }

/*** lightblue ***/
._wPaginate_lightblue ._wPaginate_link {
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px 0px;
    text-shadow: rgba(0, 0, 0, 0.247059) 0px -1px 0px;
    border: 1px solid rgba(0, 0, 0, 0.0980392);
    border-bottom-color: rgba(0, 0, 0, 0.247059);
    background-color: #49AFCD;
    color: #FFF;
}

    ._wPaginate_lightblue ._wPaginate_link:hover, ._wPaginate_lightblue ._wPaginate_link.active {
        background-color: #2F96B4;
    }

/*** black ***/
._wPaginate_black ._wPaginate_link {
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px 0px;
    text-shadow: rgba(0, 0, 0, 0.247059) 0px -1px 0px;
    border: 1px solid rgba(0, 0, 0, 0.0980392);
    border-bottom-color: rgba(0, 0, 0, 0.247059);
    background-color: #363636;
    color: #FFF;
}

    ._wPaginate_black ._wPaginate_link:hover, ._wPaginate_black ._wPaginate_link.active {
        background-color: #222222;
    }



/*** hwc_bay ***/
._wPaginate_hwc_bay ._wPaginate_link {
    border-width: 0px;
}

    ._wPaginate_hwc_bay ._wPaginate_link:hover, ._wPaginate_hwc_bay ._wPaginate_link.active {
    }

    ._wPaginate_hwc_bay ._wPaginate_link:hover {
    }

    ._wPaginate_hwc_bay ._wPaginate_link.active {
        background-image: url(images/dot-y20.png);
    }

/*** hwc_bay ***/

._wPaginate_hwc_bay {
}

    ._wPaginate_hwc_bay ._wPaginate_link {
        border-width: 0px;
    }

._wPaginate_link {
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    font-family: verdana;
    font-size: 15px; /*line-height: 20px;*/
    margin-left: 5px;
    text-align: center;
    text-decoration: none;
    width: 20px;
}

._wPaginate_hwc_bay ._wPaginate_link:hover, ._wPaginate_hwc_bay ._wPaginate_link.active {
}

._wPaginate_hwc_bay ._wPaginate_link:hover {
}

._wPaginate_hwc_bay ._wPaginate_link_active {
    background-image: url(~/CMSWebParts/CustomizationFullPhase/Images/Mgage/Paging/dot-y20.png);
}

._wPaginate_hwc_bay ._wPaginate_link_first {
    background-image: url(~/CMSWebParts/CustomizationFullPhase/Images/Mgage/Paging/first-icon.png);
    background-repeat: no-repeat;
    border-radius: initial;
    width: 12px;
    height: 20px;
    padding-top: 2px;
}

._wPaginate_hwc_bay ._wPaginate_link_last {
    background-image: url(~/CMSWebParts/CustomizationFullPhase/Images/Mgage/Paging/last-icon.png);
    background-repeat: no-repeat;
    border-radius: initial;
    width: 12px;
    height: 20px;
    padding-top: 2px;
}

._wPaginate_hwc_bay ._wPaginate_link_prev {
    background-image: url(~/CMSWebParts/CustomizationFullPhase/Images/Mgage/Paging/Back14.png);
    background-repeat: no-repeat;
    border-radius: initial;
    width: 12px;
    height: 20px;
    padding-top: 0;
    line-height: 15px;
}

._wPaginate_hwc_bay ._wPaginate_link_next {
    background-image: url(~/CMSWebParts/CustomizationFullPhase/Images/Mgage/Paging/Next14.png);
    background-repeat: no-repeat;
    border-radius: initial;
    width: 12px;
    height: 20px;
    padding-top: 0;
    line-height: 15px;
}

.hwcCustomization {
}

    .hwcCustomization .ddcommon {
        background: none repeat scroll 0 0 #ece9e9 !important;
    }

    .hwcCustomization .followingTimeFromTitle {
        float: left;
    }

    .hwcCustomization .followingTimeToMiddle {
        padding-left: 18px;
    }

    .hwcCustomization .followingTimeToTitle, .hwcCustomization .followingTimeToTitleHidden {
        display: none;
    }

    .hwcCustomization .ddcommon .ddTitle .ddTitleText {
        display: block;
        max-width: 95%; /*min-height: 38px;*/
    }

@media only screen and (max-width: 1321px) {
    /*.hwcCustomization .followingTimeToTitle {
            padding-left: 17.5%;
            position: absolute;
            display: block;
        }

        .hwcCustomization .followingTimeToMiddle {
            display: none;
        }*/
}

@media only screen and (max-width: 1231px) {
    .hwcCustomization .followingTimeToMiddle {
        display: none;
    }

    .hwcCustomization .followingTimeToTitle {
        display: none;
    }

    .hwcCustomization .mgageSubLeftPanel .mgageSubLeftPanel, .hwcCustomization .mgageSubLeftPanel .mgageSubRightPanel {
        clear: both;
    }

    .hwcCustomization .followingTimeToTitleHidden {
        display: block;
        padding-left: 20px;
    }
}

@media only screen and (max-width: 1100px) {
    .mgageSubLeftPanelFollowingTime {
        width: 100% !important;
    }

    .hwcCustomization .ContractUSFollowingTimeAlert {
        position: relative;
    }
}

.hwcCustomization .showAt640 {
    display: none;
}

.hwcCustomization .boxCombo {
    height: auto;
    margin-left: 10px;
    padding-right: 0px;
}

@media only screen and (max-width: 640px) {

    td {
        -webkit-text-size-adjust: 100%;
    }

    .hwcCustomization .ddcommon .ddTitle .ddTitleText {
        display: block;
        height: 38px;
        max-width: 95%;
    }

    .hwcCustomization .ContractUSPreviewTitlelbl {
        margin-left: 10px;
    }

    .followingTime {
        padding-left: 10px !important;
        padding-right: 0px !important;
    }

    .mgageshortformbtn {
        clear: both;
        margin: 0px auto;
        width: 100%;
    }

    .hwcCustomization .showAt640 {
        display: block;
    }

    .hwcCustomization .hideAt640 {
        display: none;
    }
}

.bg {
    background: url('/bank/App_Themes/krungsri/Images/bg-topgray-wh.jpg') repeat-x center top;
    background-color: #eee;
    min-height: 80px;
    border-bottom: 1px solid transrant;
}

/**************Social***************/
#lnkLeadForm {
    text-decoration: underline !important;
}

.socialLogin input[type='button'], .socialLogin button, .socialLogin .regis #btnRegis {
    width: 100%;
    height: 50px;
    border: none;
}

.hwcCustomization .bgFacebook {
    padding: 5px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background-color: #3D599B;
}

.hwcCustomization .imgFacebook {
    float: left;
    margin: 0 21px 0 20px;
}

.hwcCustomization .social-text {
    float: left;
    color: white;
    font-size: 16px;
    margin-left: 15px;
    margin-top: 2px;
}

.hwcCustomization .LoginSubHeader {
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.hwcCustomization .LoginSubHeader2 {
    font-size: 24px;
    text-align: center;
}

.hwcCustomization .boxContent {
    width: 450px;
    /*background-color: #f6f6f6;*/
    background-color: #efecec;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
}

    .hwcCustomization .boxContent .paddingBox {
        padding: 40px 80px;
    }

.hwcCustomization .marginBtn {
    margin-top: 20px;
}

.hwcCustomization .LoginSubHeader-Padding {
    padding: 0px;
}

    .hwcCustomization .LoginSubHeader-Padding .SubHeaderLine {
        font-weight: bold;
        font-size: 18px;
        text-align: center;
        border-bottom: 3px solid #ffda00;
        position: relative;
    }

    .hwcCustomization .LoginSubHeader-Padding .SubHeaderLine-txt {
        /*background-color: #f6f6f6;*/
        background-color: #efecec;
        position: relative;
        top: 14px;
        padding: 0 10px;
    }

.hwcCustomization #contents {
    position: relative;
}

.hwcCustomization .socailLeadForm .closePopup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
/**************Social***************/

/* Hwc Disable Social 20200407 */

#boxContest, .socailLeadForm, .socailSME {
    display: none;
}

/* END Hwc Disable Social 20200407 */
