@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;


  src: local('DBHeavent-Ext'), local('../fonts/Sarabun-Regular'), url(../fonts/thsarabun.woff) format('woff');
}

@font-face {
  font-family: 'DBHeavent-Ext';
  font-style: normal;
  src: url(fonts/db_heavent_ext_v3.2-webfont.woff) format('woff');
}


@font-face {
  font-family: 'DBHeavent-BoldExt';
  font-style: normal;
  src: url(fonts/db_heavent_bd_ext_v3.2-webfont.woff) format('woff');
}

@font-face {
  font-family: 'DBHeavent-MedExt';
  font-style: normal;
  src: url(fonts/db_heavent_med_ext_v3.2-webfont.woff) format('woff');
}

@font-face {
  font-family: 'DBHeavent-LightExt';
  font-style: normal;
  src: url(fonts/db_heavent_li_ext_v3.2-webfont.woff) format('woff');
}



.sm-frame {
  font-family: "DBHeavent-Ext";
  font-size: 22px;
  line-height: 0.8;

  position: fixed;
  width: 320px;
  /* height: 450px; */

  bottom: 10px;
  right: 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.11);

  z-index: 20000001001;
}

.sm-icon {
  position: fixed;

  bottom: 24px;
  right: 94px;

  cursor: pointer;

  width: 60px;
  height: 60px;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
  border-radius: 30px;

  z-index: 1000;
}

.sm-icon-minimize {
  position: fixed;

  bottom: 143px;
  right: 20px;

  cursor: pointer;

  width: 60px;
  height: 60px;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
  border-radius: 30px;
  display: none;

  z-index: 1000;
}



.sm-form {
  height: 100%;
  border-radius: 8px;
  background-color: white;
  z-index: 1001;
}



.sm-header,
.login-header {
  color: #ffffff;

  height: 28px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background-image: linear-gradient(to right, #6cb6ea, #6cb6ea);
  padding-top: 8px;
  padding-bottom: 3px;
}

.sm-header-text,
.login-header-text {
  font-family: DBHeavent-Ext;
  font-size: 26px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ffffff;
  width: 200px;
  height: 22px;
  display: inline-flex;
}

.sm-header-btn,
.login-header-btn {
  display: inline;
  float: right;
  margin-top: 2px;
  margin-right: 12px;
}

.sm-header-btn svg,
.login-header-btn svg {
  margin-left: 5px;
  cursor: pointer;
  font-size: 0.7em;
}

.sm-body,
.login-body {
  background-color: #fff;
  height: 330px;
  /*height: 365px;*/

  padding: 17px 16px 10px 16px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sm-form .sm-body,
.login-form .login-body {
  height: unset !important;
}

.sm-footer,
.login-footer {
  height: 37px;
  padding: 0px 10px;
  background-color: #fff;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  text-align: center;
}

.sm-btn-submit,
.login-btn-submit {
  font-family: "DBHeavent-Ext";
  font-size: 17px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;



  text-align: center;
  border: none;
  outline: none;
  cursor: pointer;
  background-color: #6cb6ea;
  color: white;

  width: 146px;
  height: 30px;

}

.sm-btn-submit:hover,
.login-btn-submit:hover {
  background-color: #238AD2;
}

.sm-label,
.login-label {
  font-family: "DBHeavent-Ext";
  font-size: 17px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #939598;

  margin-bottom: 5px;
}

.sm-input,
.login-input {
  font-family: "DBHeavent-Ext";
  font-size: 17px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #000000;

  border: 1px solid #d8d8d8;

  width: 95%;

  outline: none;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.sm-dd,
.login-dd {
  font-family: "DBHeavent-Ext";
  font-size: 17px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;

  border: 1px solid #dadadb;
  width: 100%;

  outline: none;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.sm-dd-option,
.login-dd-option {
  font-family: "DBHeavent-Ext";
  font-size: 17px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
}

.sm-input:focus,
.login-input:focus {
  border: 1px solid #a2a2a2;
}

.sm-input-error,
.login-input-error {
  font-family: "DBHeavent-Ext";
  font-size: 17px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: red;
  margin-bottom: 5px;
  margin-top: -5px;
}

.sm-error-panel,
.login-error-panel {
  width: 270px;
  max-height: 60px;
  position: absolute;
  margin: 5px;
  padding: 10px;
  bottom: 0px;
  color: white;
  background-color: rgba(255, 91, 91, 0.8);
  border-radius: 5px;
  display: none;

  font-family: "DBHeavent-Ext";
  font-size: 17px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
}

.sm-ask-panel {
  width: 290px;
  max-height: 70px;
  position: absolute;
  margin: 5px;
  padding: 10px;
  top: 40px;
  color: #4f5051;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 5px;
  border: 1px solid #000;
  display: none;

  font-family: "DBHeavent-Ext";
  font-size: 17px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
}

.sm-input-message {
  font-family: "DBHeavent-Ext";
  font-size: 18px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  width: 100%;
  border: unset;
  outline: none;
  display: block;
  width: 60%;
  margin-top: -3px;
}

.sm-input-message-ex {
  border-top: solid 2px #e5e5e5;
}

.sm-input-message-ex div {
  margin-top: 5px;
}

.sm-msg-agent msg {
  background-color: #58bf94;
  color: #353535;
  padding: 4px 8px;
  border-radius: 20px;
  display: inline-block;
  max-width: 240px;
  font-size: 17px;
  background-color: #f3f3f3;
  padding: 7px 12px;
}


.sm-msg-agent label {
  display: inherit;
  font-size: 0.8em;
  padding: 5px 0px;
  color: #b5b5b5;
}

.sm-msg-customer msg {
  background-color: #ebebed;
  color: #fff;
  padding: 4px 8px;
  border-radius: 20px;
  display: inline-block;
  max-width: 240px;
  font-size: 17px;
  background-color: #6cb6ea;
  padding: 7px 12px;
}

.sm-msg-customer {
  text-align: right;
}

.sm-msg-customer.image msg,
.sm-msg-agent.image msg {
  background-color: white;
}

.sm-msg-customer label {
  display: inherit;
  font-size: 0.8em;
  padding: 5px 0px;
  color: #b5b5b5;

}

.sm-wait-msg {
  height: 100%;
  width: 100%;

  color: #238AD2;


  text-align: center;

  font-family: "DBHeavent-Ext";
  font-size: 18px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
}

.require:after {
  content: '*';
  color: red;
}

.sm-btn-yes {
  width: 90%;
  padding: 5px 0px;
  font-family: "DBHeavent-Ext";
  font-size: 17px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  border: none;
  outline: none;
  cursor: pointer;
  background-color: #6cb6ea;
  color: white;
  height: 30px;
}

/*.sm-btn-yes:hover{
  background-color: #428fd0;
}*/
.sm-btn-no {
  width: 90%;
  padding: 3px 0px;
  font-family: "DBHeavent-Ext";
  font-size: 17px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  border: 2px solid #6cb6ea;
  outline: none;
  cursor: pointer;
  background-color: white;
  color: #6cb6ea;
  height: 30px;
}

/*.sm-btn-no:hover{
  background-color: #d85959;
}*/

.sm-text-workhour {
  font-family: DBHeavent-Ext;
  font-size: 17px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.28;
  letter-spacing: normal;
  color: #238AD2;
  margin-bottom: 10px;
}

.fa-star {
  cursor: pointer;
}

.ms-rating-score {
  display: inline;
  margin: 0px 0px;
  color: #d4d4d4;
  font-size: 0.9em;
}

.ms-rating-score-selected {
  color: #50b5d3;
}

.sm-wrong-input {
  border-color: red;
  border-width: 1px;
}

.sm-wrong-input:focus {
  border-color: red;
  border-width: 1px;
}

.sm-btn-send {
  position: absolute;

  padding: 11px;
  right: 2px;

  margin-top: -33px !important;
  font-family: DBHeavent-Ext;
  font-size: 18px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #6cb6ea;
  cursor: pointer;
}

.sm-btn-attach {
  position: absolute;

  padding: 11px;
  right: 45px;
  margin-top: -33px !important;
  font-family: DBHeavent-Ext;
  font-size: 18px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #6cb6ea;
  cursor: pointer;
}

.sm-attach-icon {
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.sm-btn-emoji {
  position: absolute;

  padding: 11px;
  right: 65px;
  margin-top: -37px !important;
  font-family: DBHeavent-Ext;
  font-size: 18px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #6cb6ea;
  cursor: pointer;
}

.image-upload>input {
  display: none;
}

.sm-btn-icon {
  width: 10px;
  height: 10px;
  object-fit: contain;
  cursor: pointer;
  margin-left: 15px;
}

.sm-btn-icon-rating {
  width: 52px;
  cursor: pointer;
}

.Chat-Bubble {
  width: 29px;
  height: 29px;
  object-fit: contain;
  margin: 17px 16px 14px 15px;

  /*width: 15px;
height: 15px;
object-fit: contain;
margin: 8px 0px 0px 8px;*/
}

.Combined-Shape {
  width: 15px;
  height: 15px;

  margin: 22px 22px 22px 22px;
}

.sm-btn-live {
  width: 6px;
  height: 6px;
  background-color: #69f0ae;
  border-radius: 3px;
  margin-top: 8px;
  margin-left: 12px;
  margin-right: 8px;
}

.sm-icon-input-error {
  position: absolute;
  margin-top: 13px;
  right: 25px;
  display: none;
}


.bar {
  height: 1px;
  background: green;
}

/*
@media only screen and (max-width: 600px) {
  .sm-frame{
	  width: 100%;
	  top:0px;
	  left:0px;
	  padding: 0px;
	  height: 100%;
	  background-color: white;
	  border-radius: 0px;
  }

  .sm-icon{
	  bottom: 100px;
	  right: 30px;
  }
}
*/