.container-md {
    max-width: 1030px;
}

.section-form {
    overflow: hidden;
}

.section-form-inner {
    background-color: #f4f4f4;
    padding: 50px 20px;
}

.msform {
    background-color: #fff;
    padding: 50px 0;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.2);
}

.msform .h3 {
    margin-bottom: 40px;
}

/* msform */

#msform {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    height: auto;
    -webkit-transition: ease-in-out .5s;
    -o-transition: ease-in-out .5s;
    transition: ease-in-out .5s;
    /*    overflow: hidden;*/
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 3px;
    padding: 20px 30px;
    box-sizing: border-box;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}


/*progressbar*/
#progressbar {
    background-color: #f7f7f7;
    height: auto;
    margin: 20px 0;
    overflow: hidden;
    padding: 15px 20px 10px;
}

#progressbar li {
    list-style-type: none;
    color: #333;
    text-transform: uppercase;
    font-size: 9px;
    width: calc(100% / 4);
    float: left;
    position: relative;
}

#progressbar li .number {
    font-family: 'DBThaiTextXBd', Helvetica, Arial, sans-serif;
    font-size: 22px;
    color: #666;
    line-height: 38px;
    text-align: center;
    width: 86px;
    height: 40px;
    display: block;
    background-color: #f7f7f7;
    border-radius: 23px;
    border: 2px solid #999999;
    margin: 0 auto 10px auto;
    position: relative;
    z-index: 2;
}

#progressbar li p {
    font-family: 'DBThaiTextXBd', Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: .8;
    color: #999;
    margin-bottom: 5px;
}

#progressbar li:after {
    content: '';
    width: 36%;
    height: 2px;
    background: #999999;
    position: absolute;
    left: -18%;
    top: 20px;
    z-index: 1;
}

#progressbar li:first-child:after {
    content: none;
}

#progressbar li.active.current .number,
#progressbar li.active.current:after {
    background: #00ad43;
    color: #fff;
}

#progressbar li.active.current .number {
    font-size: 22px;
    border: 2px solid #00ad43;
}

#progressbar li.active.current .number:after {
    display: none;
}

#progressbar li.active .number,
#progressbar li.active:after {
    background: #00ad43;
    color: #fff;
}

#progressbar li.active .number {
    border: 2px solid #00ad43;
    background-color: #f7f7f7;
    font-size: 0;
    position: relative;
}

#progressbar li.active .number:after {
    content: '';
    border-bottom: 3px solid #00ad43;
    border-right: 3px solid #00ad43;
    display: inline-block;
    width: 10px;
    height: 20px;
    -webkit-transform: rotate(50deg);
    -ms-transform: rotate(50deg);
    transform: rotate(50deg);
    visibility: visible;
    margin: 0 0 0 -3px;
    position: absolute;
    top: 6px;
}


/* END msform */

/* Header Doc Style */
.header-docstyle {
    position: relative;
    border-top: 3px solid #00a950;
}

.header-docstyle .inner {
    display: table;
    width: 100%;
    padding: 30px 0;
}

.header-docstyle .header-logo,
.header-docstyle .header-heading {
    display: table-cell;
    vertical-align: middle;
}

.header-docstyle .header-logo {
    text-align: left;
    vertical-align: top;
}

.header-docstyle .header-heading {
    text-align: right;
}

.header-docstyle .heading {
    line-height: 0.8;
}


.slogan {
    padding: 30px 0;
}

.slogan .img {
    margin: 0 auto;
    width: 183px;
}

/* End Header Desktop */


.icw-form .icw-fieldset-inner {
    width: 100%;
    max-width: 410px;
    margin: 0 auto;
}

.action-form {
    margin-top: 20px;
}

.icw-form .overlabel {
    color: #666;
}

input[type=radio].css-checkbox + .css-label,
input[type=radio].css-checkbox:checked + .css-label {
    background: none;
}

input[type=radio].css-checkbox + .css-label,
input[type=checkbox].css-checkbox + .css-label {
    padding-left: 0;
}

.icw-input-checkbox .checkbox {
    margin: 20px 0;
}

input[type=radio].css-checkbox + .css-label {
    position: relative;
    display: block;
    border: 2px solid #dddddd;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 12px 50px 12px 15px;
    text-align: left;
    color: #666;
}

input[type=radio].css-checkbox:checked + .css-label {
    border: 2px solid #00ad43;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.status {
    display: inline-block;
    width: 80px;
    line-height: 45px;
    position: absolute;
    top: 2px;
    right: 2px;
    text-align: right;
    padding-right: 15px;
}

.icw h6.icw-legend-sub {
    color: #999;
}

.icw-form .icw-input.icw-input-checkbox {
    padding-top: 0;
}

input[disabled][type=radio].css-checkbox + .css-label,
input[disabled][type=checkbox].css-checkbox + .css-label {
    background-color: #f7f7f7;
}

.icw-form .overlabel {
    color: #999;
}

.icw-form .overlabel.overlabel-fixed {
    padding-left: 0;
    font-size: 14px;
    font-weight: 700;
    color: #666;
}

.detail-form {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    border: 1px solid #dddddd;
    background-color: #f7f7f7;
}

.detail-form .customer-detail {
    padding: 2.5rem 0;
    margin: auto;
    width: 90%;
    border-bottom: solid 1px #DDDDDD;
}

.detail-form .customer-detail h5 {
    font-weight: normal;
    margin-bottom: 1rem;
}

.detail-form .customer-detail span {
    font-weight: bold;
}

.detail-note {
    padding: 20px 22px 0;
}

.detail-note p {
    color: #fff;
}

.detail-note h3 {
    line-height: 45px;
}

.detail-form .detail-note img {
    width: 20px;
    height: 20px;
    margin: 0 5px 2px 0;
    vertical-align: middle;
}

.last-form > p {
    margin: 40px 0;
    color: #333;
    font-weight: 700;
}

.last-form .icw-fieldset-inner {
    padding: 30px 20px;
}

.link-map {
    padding: 20px 20px;
}

.link-map a {
    border-radius: 25px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.link-map a,
.link-map a i.ic {
    color: #00ad43;
    font-size: 14px;
}


.btn.next,
.btn.previous {
    min-width: 150px;
    margin: 0 10px;
}

.btn.next,
.btn.more {
    padding-right: 30px;
    position: relative;
}

.btn.previous {
    padding-left: 30px;
    position: relative;
    border: 2px solid #dddddd;
    background-color: transparent;
    color: #333 !important;
}

.btn.previous:hover,
.btn.previous:focus {
    background-color: transparent !important;
}

.btn.more:after,
.btn.next:after {
    content: '';
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    display: inline-block;
    width: 8px;
    height: 8px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    visibility: visible;
    margin: 0 0 0 -3px;
    position: absolute;
    top: 15px;
    margin-left: 5px;
}

.previous:before {
    content: '';
    border-bottom: 2px solid #333;
    border-right: 2px solid #333;
    display: inline-block;
    width: 8px;
    height: 8px;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    visibility: visible;
    margin: 0 0 0 -3px;
    position: absolute;
    top: 15px;
    margin-left: -15px;
}

.icw-form .last-form .icw-fieldset-inner {
    max-width: 350px;
    margin: 0 auto;
    border-bottom: 1px solid #ddd;
}

.icw-form .last-form .icw-fieldset-inner li:nth-child(odd) {
    width: 35%;
}

.icw-form .last-form .icw-fieldset-inner li:nth-child(even) {
    width: 65%;
}

.last-form .icw-fields p {
    text-align: left;
    line-height: 1.2;
    padding: 5px 0;
    font-size: 16px;
}

.last-form .icw-fields input[disabled] {
    background-color: transparent;
    border: 0;
    height: 30px;
    font-size: 16px;
    color: #00ad43 !important;
}

.sc-tab {
    margin: 30px 0 20px;
}

.tabs-list {
    font-size: 0;
    border-bottom: 1px solid #eee;
}

.tabs-list li {
    width: calc(100% / 7);
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 5px;
    cursor: pointer;
}

.tabs-list li.active {
    background-color: #eeeeee;
    color: #00ad43;
}

.sc-tbl {
    margin: 20px auto 0;
    max-width: 550px;
}

.sc-tbl .icw-table {
    margin-bottom: 0;
}

.sc-tbl thead th:first-child {
    border-radius: 25px 0 0 25px;
    overflow: hidden;
}

.sc-tbl thead th:last-child {
    border-radius: 0 25px 25px 0;
    overflow: hidden;
}

.sc-tbl thead th:last-child {
    width: 90px;
}

.sc-tbl thead th {
    background-color: #999;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding: 8px 20px;
}

.sc-tbl tbody td {
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
    padding: 10px 10px;
}

.sc-tbl tbody td:last-child {
    width: 170px;
}

.sc-tbl tbody td .btn-outline {
    border-radius: 4px;
    border: 2px solid #00ad43;
    background-color: #ffffff;
    line-height: 36px;
}

.sc-tbl tbody td .btn-outline:hover,
.sc-tbl tbody td .btn-outline:focus {
    background-color: #00a950 !important;
    border: 2px solid #00ad43 !important;
    color: #fff !important;
    -webkit-transition: ease-in-out .3s;
    -o-transition: ease-in-out .3s;
    transition: ease-in-out .3s;
}

.sc-tbl tbody td button[disabled].btn-outline {
    background-color: #cccccc !important;
    border: 2px solid transparent !important;
    color: #999 !important;
}

.tabcontent {
    display: none;
}

.footer {
    background-color: transparent;
    border-top: 1px solid #fafafa;
}

.txt-note {
    width: 100%;
    max-width: 490px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.txt-note p {
    color: #666;
}

.icw-form .icw-legend {
    margin-bottom: 10px
}

span.br-m767 {
    display: block;
}

.section-choose {
    padding: 40px 0;
    min-height: 500px;
}


.section-choose-inner {
    background-color: #f4f4f4;
    height: 300px;
    padding-left: 30px;
    padding-right: 150px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 35px;
}

.section-choose-inner.sc1 {
    background: url('../img/bg-01.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
}

.section-choose-inner.sc2 {
    background: url('../img/bg-02.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
}

.section-choose-inner .tb {
    height: 100%;
}

.section-choose-inner h4 {
    margin-bottom: 20px;
    line-height: 1;
}

.section-choose-inner .btn {
    padding-top: 9px;
    padding-bottom: 11px;
}

.section-choose-inner .btn.more:after {
    top: 18px;
}

@media screen and (max-width: 991px) {
    .main {
        padding-top: 0;
    }

    .section-form .container-md {
        padding-left: 0;
        padding-right: 0;
    }

    .previous:before,
    .btn.next:after,
    .btn.more:after {
        top: 12px;
    }
}

@media screen and (max-width: 767px) {
    #progressbar li .number {
        width: 30px;
        height: 30px;
        line-height: 26px;
    }

    #progressbar {
        margin-bottom: 0;
    }

    #progressbar li:after {
        content: '';
        width: 40%;
        left: -20%;
        top: 15px;
    }

    .msform {
        padding: 40px 0 25px;

    }

    .msform > .h3 {
        margin-bottom: 0;
        line-height: .9;
    }

    #msform fieldset {
        padding-top: 30px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-form-inner {
        padding: 30px 20px;
    }

    #progressbar {
        padding: 15px 10px 10px;
    }

    #progressbar li.active .number:after {
        width: 7px;
        height: 14px;
        top: 5px;
    }



    .icw-form .icw-input-checkbox {
        padding-bottom: 0;
    }

    .btn.next,
    .btn.previous {
        margin-top: 10px;
        min-width: 110px;
    }

    .last-form .icw-fields p,
    .last-form .icw-fields input[disabled] {
        font-size: 14px;
    }

    .last-form .icw-fields input[disabled] {
        padding-right: 0 !important;
    }

    .last-form .icw-fieldset-inner {
        padding: 20px 20px 15px;
    }

    .link-map {
        padding: 15px 20px;
    }

    .last-form > p {
        margin: 20px 0;
    }

    .detail-note {
        padding: 15px 10px 0;
    }

    .sc-tbl thead th {
        padding: 8px 0px;
    }

    .sc-tbl tbody td:first-child {
        width: 140px;
        font-size: 14px;
    }

    .sc-tbl tbody td .btn-outline {
        width: 80px;
        min-width: inherit;
    }

    .scrolling-wrapper {
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
    }

    .tabs-list.scrolling-wrapper li {
        display: inline-block;
        width: 100px;
    }

    .sc-scrolling-wrapper {
        position: relative;
    }

    .sc-scrolling-wrapper:after {
        content: '';
        border-bottom: 2px solid #999;
        border-right: 2px solid #999;
        display: inline-block;
        width: 8px;
        height: 8px;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        visibility: visible;
        margin: 0 0 0 -3px;
        position: absolute;
        z-index: 1;
        top: 15px;
        margin-left: 5px;
        right: -10px;
    }

    .sc-scrolling-wrapper:before {
        content: '';
        border-top: 2px solid #999;
        border-left: 2px solid #999;
        display: inline-block;
        width: 8px;
        height: 8px;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        visibility: visible;
        margin: 0 0 0 -3px;
        position: absolute;
        z-index: 1;
        top: 15px;
        left: -10px;
    }

    .img-logo,
    .header .img-logo {
        width: 120px;
    }

    .header-docstyle {
        min-height: 57px;
        text-align: right;
    }

    .header-docstyle .inner {
        padding: 11px 0;
    }

    .header-docstyle .header-heading {
        padding-left: 15px;
    }

    .header-docstyle .header-logo {
        width: 120px;
    }

    .slogan {
        padding: 15px 0;
    }

    .slogan .img {
        width: 153px;
    }

    .footer-docstyle .footer-legal {
        padding: 15px 0;
    }

    .footer-docstyle .slogan {
        padding: 20px;
    }

    .sc-tbl tbody td:last-child {
        width: 70px;
        padding-left: 0;
        padding-right: 0;
    }

    .sc-tbl tbody td:first-child {
        width: 130px;
        padding-left: 0;
        padding-right: 0;
    }

    .txt-note {
        padding: 0 10px 20px;
    }

    .msform .h3 {
        margin-bottom: 20px;
    }



}

.radio-field-type {
  display: flex;
  flex-direction: row;
}

.radio-field-type li {
  float: left;
  width: 50%;
  height: 40px;
  line-height: 28px;
  position: relative;
  display: flex;
  flex-direction: row;
}

.radio-field-type li:first-child {
  justify-content: flex-end;
  padding-right: 2rem;
}

.radio-field-type li:last-child {
  justify-content: flex-start;
  padding-left: 2rem;
}

.radio-field-type li.border-right {
  border-right: solid 1px #DDDDDD;
}

.radio-field-type input[type="radio"] {
  opacity: 0.01;
  z-index: 100;
}

.radio-field-type input[type="radio"]:checked+label,
.Checked+label {
  color: #00AD43;
}

.radio-field-type input[type="radio"]:checked+label::before {
  background-image: url(../img/icon/radio-selected.png);
}

.radio-field-type label {
  padding: 5px;
  color: #666666;
  font-weight: normal;
  cursor: pointer;
  z-index: 90;
}

.radio-field-type label::before {
  content: '';
  width: 20px;
  height: 20px;
  margin-right: 1rem;
  display: inline-block;
  vertical-align: middle;
  background-image: url(../img/icon/radio-select.png);
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.my-4 {
  margin: 4rem auto !important;
}

.mb-4 {
    margin-bottom: 4rem !important;
}

.mb-3 {
    margin-bottom: 3rem !important;
}

.pb-3 {
    padding-bottom: 3rem !important;
}

.p-2 {
    padding: 2rem !important;
}

.border-bottom {
    border-bottom: solid 1px #DDDDDD !important;
}

@media only screen and (max-width: 767px) {
  .radio-field-type {
    flex-direction: column;
  }
  .radio-field-type li:first-child,
  .radio-field-type li:last-child {
    width: 100%;
    margin: 0;
    padding: 0;
    left: 25%;
    justify-content: flex-start;
  }
  .radio-field-type li.border-right {
    border-right: none;
  }
}
