@font-face {
   font-family: 'DBThaiTextX';
   src: url('../fonts/DBThaiTextX.eot?#iefix')
      format('embedded-opentype'),  url('../fonts/DBThaiTextX.woff')
      format('woff'), url('../fonts/DBThaiTextX.ttf')
      format('truetype'), url('../fonts/DBThaiTextX.svg#DBThaiTextX') format('svg');
   font-weight: normal;
   font-style: normal;
}

@font-face {
   font-family: "db_helvethaica";
   src: url("../fonts/db_helvethaica_x_thin_v3.2-webfont.woff") format("woff");
   font-display: block;
   font-weight: 100;
   font-style: normal;
}
@font-face {
   font-family: "db_helvethaica";
   src: url("../fonts/db_helvethaica_x_li_v3.2-webfont.woff2") format("woff2"), url("../fonts/db_helvethaica_x_li_v3.2-webfont.woff") format("woff");
   font-display: block;
   font-weight: 300;
   font-style: normal;
}
@font-face {
   font-family: "db_helvethaica";
   src: url("../fonts/db_helvethaica_x_v3.2-webfont.woff2") format("woff2"), url("../fonts/db_helvethaica_x_v3.2-webfont.woff") format("woff");
   font-display: block;
   font-weight: normal;
   font-style: normal;
}
@font-face {
   font-family: "db_helvethaica";
   src: url("../fonts/db_helvethaica_x_med_v3.2-webfont.woff2") format("woff2"), url("../fonts/db_helvethaica_x_med_v3.2-webfont.woff") format("woff");
   font-display: block;
   font-weight: 500;
   font-style: normal;
}
@font-face {
   font-family: "db_helvethaica";
   src: url("../fonts/db_helvethaica_x_bd_v3.2-webfont.woff2") format("woff2"), url("../fonts/db_helvethaica_x_bd_v3.2-webfont.woff") format("woff");
   font-display: block;
   font-weight: bold;
   font-style: normal;
}
@font-face {
   font-family: "sukhumvit";
   src: url("../fonts/SukhumvitSet-Light.woff") format("woff");
   font-display: block;
   font-weight: 100;
   font-style: normal;
}
@font-face {
   font-family: "sukhumvit";
   src: url("../fonts/SukhumvitSet-Medium.woff") format("woff");
   font-display: block;
   font-weight: normal;
   font-style: normal;
}
@font-face {
   font-family: "sukhumvit";
   src: url("../fonts/SukhumvitSet-SemiBold.woff") format("woff");
   font-display: block;
   font-weight: 500;
   font-style: normal;
}
@font-face {
   font-family: "sukhumvit";
   src: url("../fonts/SukhumvitSet-Bold.woff") format("woff");
   font-display: block;
   font-weight: bold;
   font-style: normal;
}
@font-face {
   font-family: "KandaModern";
   src: url("../fonts/PSL-KandaModern-pro.woff") format("woff");
   font-display: block;
   font-weight: normal;
   font-style: normal;
}
@font-face {
   font-family: "Montserrat";
   src: url("../fonts/Montserrat-Bold.woff") format("woff");
   font-display: block;
   font-weight: normal;
   font-style: normal;
}

html, body{
   font-family: 'sukhumvit';
   height: 100%;

}
p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
   line-height: 1;
}
.h1 i, .h2 i, .h3 i, .h4 i, .h5 i, .h6 i, h1 i, h2 i, h3 i, h4 i, h5 i, h6 i {

}
h2{
   font-size: 1.5em;
}
h3 {
   font-size: 1.17em;
}
h5 {
   font-size: 0.83em;
}
label {
   line-height: 1;
}

.container{
}
/*.btn {
    padding: .1em .6em;
    font-size: 1.1em;
}*/
.btn-group-lg>.btn, .btn-lg {
   padding: .5rem 1rem;
   padding-bottom: 0.3rem;
   border-radius: .3rem;
   font-size: 100%;
}
.form-control {
   padding: .2em .6em .1em;
   font-weight: normal;
   line-height: 1;
}

header{
   border-bottom: 1px #75574e solid;
}
header img{
   width: 10em;
}
header h2{
   font-size: 1.5em;
   line-height: 1;
}
header h5{
   text-transform: uppercase;
}

footer{
   border-top: 1px #75574e solid;

}
footer h3{

}
footer div{

}

.step{
   width: 80%;
   margin: auto;
   padding: 0;
   list-style: none;
   display: flex;
   opacity: 0.75;
}
.step li{
   position: relative;
   overflow: hidden;
   float: left;
   width: calc(100%/5);
   padding: 0 1em;
}
.step li:before{
   content: "";
   height: 1px;
   background-color: #d8d8d8;
   width: 100%;
   position: absolute;
   left: 0;
   top: calc(50% - 16px);
}
.step li .no{
   width: 60px;
   height: 60px;
   margin: auto;
   background-color: #d8d8d8;
   border-radius: 50%;
   font-size: 2em;
   line-height: 60px;
   z-index: 1;
   position: inherit;
   color: #fff;
   margin-bottom: 15px;
}
.step li .text{
   line-height: 1;
   white-space: nowrap;
}

.step li.passed:before{
   background-color: #0066cc;
}
.step li.passed .no{
   background-color: #0066cc;
}

.step li.active:before{
   background-color: #ffc107;
}
.step li.active .no{
   background-color: #ffc107;
}

.modal-header .close {
   padding: 1rem 1.4rem;
}
.close {
   font-size: 2.5rem;
}
.modal-body p {

}
.modal .modal-dialog .btn{

}

.load-waiting{
   display: none;
   position: fixed;
   width: 100%;
   height: 100%;

}
.load-waiting > .waiting-block{
   position: fixed;
   top: 0;
   z-index: 999999999;
   width: 100%;
   height:100%;
   -webkit-animation-duration: 0.7s;
   animation-duration: 0.7s;
   -webkit-animation-fill-mode: both;
   animation-fill-mode: both;
   -webkit-animation-name: opacityIn;
   animation-name: opacityIn;
   -webkit-animation-delay: 0.1s;
   animation-delay: 0.1s;
   background-color: rgba(0, 0, 0, 0.3);
   width: 100%;
   height: 100%;
   display: table;

}
.load-waiting > .waiting-block > div{
   display: table-cell;
   vertical-align: middle;
}
.load-waiting > .waiting-block > div > span{
   display: block;
   width: 200px;
   height: 200px;
   margin: auto;
   /*background-image: url(../images/loader/loading.gif);*/
   background-position: center;
   background-repeat: no-repeat;
   background-size: auto 75px;
   -webkit-animation-duration: 0.7s;
   animation-duration: 0.7s;
   -webkit-animation-fill-mode: both;
   animation-fill-mode: both;
   -webkit-animation-name: fadeInTop;
   animation-name: fadeInTop;
   -webkit-animation-delay: 0.1s;
   animation-delay: 0.1s;
}
.itemblock{
   cursor: pointer;
}
.silver .itemblock{
   border: #666666 5px solid;
   background-color: #efefef;
}
.silver .itemblock .list-group-item{
   border: 0;
   border-bottom: 1px #666666 solid;
}

.gold .itemblock{
   border: #cccc33 5px solid;
   background-color: #ffffbf;
}
.gold .itemblock .list-group-item{
   border: 0;
   border-bottom: 1px #cccc33 solid;
}

.masterdealer .itemblock{
   border: #5f3f3f 5px solid;
   background-color: #ffe3b5;
}
.masterdealer .itemblock .list-group-item{
   border: 0;
   border-bottom: 1px #5f3f3f solid;
}

.promotion .itemblock {
   border: #b7b7b7 5px solid;
   background-color: #525252;
   color: #fff;
}
.promotion .itemblock .list-group-item{
   border: 0;
   border-bottom: 1px #b7b7b7 solid;
   background-color: #3a3a3a;
}

.card-img-bg{
   width: 100%;
   height: 5.5em;
   background-image: url(../images/noPicture.jpg);
   background-position: center;
   background-repeat: no-repeat;
   background-size: auto;
}

.itemblock.selected{
   border: #0066cc 5px solid;
}

.itemblock.selected .card-img-bg:before{
   content: "";
   width: 1.5em;
   height: 1.5em;
   background-color: #0066cc;
   background-image: url(../images/icon-check.png);
   background-position: center;
   background-repeat: no-repeat;
   background-size: contain;
   position: absolute;
   top: 0;
   right: 0;
   border-bottom-left-radius: 0.2em;
}

.card-text {
   /*line-height: 1;*/
}

.list-group-item {
   line-height: 1;
}

.list-group-item i{
   font-size: 0.55em;
}

.cart-btn{
   width: 100px;
   height: 100px;
   display: block;
   position: fixed;
   bottom: 10px;
   left: 10px;
   border-radius: 50%;
   background-color: #0066cc;
   color: #fff;
   text-align: center;
   font-size: 48px;
   line-height: 1;
   padding-top: 21px;
   display: none;
}
.cart-btn:hover{
   color: #fff;
   background-color: #09a02c;
}

.cart-btn .refresh-cart-btn{
   width: 100%;
   height: 100%;
   position: absolute;
   background-color: rgba(255, 255, 255, 0.18);
   background-image: url(../images/loader.gif);
   background-position: center;
   background-repeat: no-repeat;
   background-size: 30%;
   top: 0;
   left: 0;
   display: none;
}
.modal .list-group-item {
/*   line-height: 1;
   font-size: 1.5em;*/
}
.modal .total-price .list-group-item {
/*   line-height: 1;
   font-size: 1.6em;*/
}
.modal .total-price .list-group-item.total-bath{
/*   line-height: 1;
   font-size: 2em;*/
}

.modal .list-group-item .badge{
   letter-spacing: 0.1em;
}
.modal label, .modal .form-control{
   /*font-size: 1.5em;*/
}

.modal .form-check label{
   font-size: 1em;
}

.small, small {
   font-size: 80%;
   font-weight: 400;
}
.member-block{
   width: 100%;
   position: relative;
   overflow: hidden;
}
.member-block .member-cover{
   height: 250px;
   background-color: #ccc;
   background-image: url(../images/no-user-image.png);
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
}
.member-block .member-image{
   background-color: #ccc;
   background-image: url(../images/no-user-image.png);
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
   border: 0.2em solid #fff;
   border-radius: 50%;
   width: 9em;
   height: 9em;
   margin: auto;
   margin-top: -4.5em;
}
.member-block .member-detail{
   color: #fff;
   padding: 3em;
}
.member-block .member-detail .name{
   text-align: center;
   font-size: 1.2em;
}
.member-block .member-detail .name p{
   font-size: 80%;
}
.member-block .member-detail .contact{
   margin: 0;
   padding: 0;
   list-style: none;

}
.member-block .member-detail .contact li{
   font-size: 100%;
   overflow: hidden;
   position: relative;
   border-bottom: 1px solid rgba(255, 255, 255, 0.36);
   padding: 10px 0.2em;
   line-height: 1;
   display: flex;
}
.member-block .member-detail .contact li:last-child{
   border: none;
}
.member-block .member-detail .contact li .ic{
   float: left;
   padding-right: 0.5em;
   font-size: 2rem;
}
.member-block .member-detail .contact li .tmp{
   padding-top: 12px;
}
.member-block .member-detail .contact li .tmp a{
   color: #fff;
}
.member-collapse{
   position: absolute;
   z-index: 9;
   right: 0;
   color: rgba(255, 255, 255, 0.55);
   display: none;
}
.modal-video{
   position: relative;
   overflow: hidden;
   text-decoration: none;
   margin: 10px;
}
.modal-video .video-name{
   background-color: #fff;
   width: 100%;
   color: #75574e;
   font-size: 100%;
   padding: 0.5em;
   bottom: 0;
   height: 68px;
   overflow: hidden;
   text-decoration: none;
   transition: 0.3s;
}
.modal-video .video-image{
   width: 100%;
   height: auto;
   border-radius: 10px;
   overflow: hidden;
}
.modal-video .video-image img{
   min-width: 100%;
   min-height: 100%;
   width: 100%;
   height: auto;
}
.modal-video:hover{
   text-decoration: none;
}

.modal-btn{
   display: block;
   position: absolute;
   z-index: 1;
   color: #75574e;
   background: rgb(255, 255, 255);
   width: 3em;
   height: 3em;
   text-align: center;
   padding: 1em;
   border-radius: 50%;
   bottom: calc(0% - 1.5em);
   left: calc(50% - 1.5em);
}
@media screen and (max-width: 1280px){

}
@media screen and (max-width: 1024px){

}
@media screen and (max-width: 991px){
   .member-block .member-detail{
      padding: 0;
   }
   .member-block .member-image{
      width: 6em;
      height: 6em;
      margin: auto;
      margin-top: -3em;
   }
   .member-block .member-detail .name {
      text-align: center;
      font-size: 1.5em;
      margin-top: 0.5em;
   }
   .member-block .member-detail .contact{
      display: none;
   }
   .member-block .member-detail .contact li {
      font-size: 1.2em;
   }
   .member-collapse{
      display: block;
   }
}
@media screen and (max-width: 980px){

}
@media screen and (max-width: 736px){
   .step li {
      padding: 0 0.4em;
   }
   .step li:before{
      top: calc(50%);
   }
   .step li .text{
      display: none;
   }
}
@media screen and (max-width: 480px) {

}
@media screen and (max-width: 375px) {

}
@media (orientation: portrait) {

}