@font-face {
  font-family: Poppins-Light;
  src: url("../fonts/Poppins-Light.ttf");
}
@font-face {
  font-family: Poppins;
  src: url("../fonts/Poppins-Regular.ttf");
}
@font-face {
  font-family: Poppins-SemiBold;
  src: url("/fonts/Poppins-SemiBold.ttf");
}
@font-face {
  font-family: Myanmar Text;
  src: url("/fonts/mmrtext.ttf");
}
@font-face {
  font-family: tahoma;
  src: url("/fonts/tahoma.ttf");
}
@font-face {
  font-family: NotoSansThai;
  src: url("/fonts/NotoSansThai-Regular.ttf");
}
@font-face {
  font-family: arialuni;
  src: url("/fonts/arialuni.ttf");
}
@font-face {
  font-family: DroidSansFallbackFull;
  src: url("/fonts/DroidSansFallbackFull.ttf");
}
@font-face {
  font-family: MicrosoftJhengHei;
  src: url("/fonts/Microsoft JhengHei.ttf");
}

.form_field{ display: block;}
.error-message .alert { width: 100%}
.error-message-required .alert { width: 100%}
.success-message .alert { width: 100%}
div[class="error-message^"] .alert { width: 100%}
.btn {
  font-size: unset;
  /* background: #efefef; */ 
}

.sidebar > li.bordering-top:before {
    display: block;
    content: "";
    width: 100%;
    border-top: 0.1px solid rgba(226, 228, 208, 0.5);
  }
  
.sidebar > li.bordering-bottom:after  {
    display: block;
    content: "";
    width: 100%;
    border-bottom: 0.1px solid rgba(226, 228, 208, 0.5) ;
}

.form-label-inline {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: none;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn + .btn {
  margin-left: 10px;
}
.sidebar > li.bordering::after {
  display: block;
  content: "";
  width: 100%;
  border-bottom: 0.1px solid #b7b7b76e;
  border-top: none;
}
.sidebar > li.bordering:before {
    display: block;
    content: "";
    width: 100%;
    border-top: 0.1px solid #b7b7b76e;
}


.side-question {
  min-height: 800px;
}

@media (max-width: 768px) {
  ul.menu_box {
    padding-left: 0;
    list-style: none;
  }

  .node-header a.collapse-handle {
    top: 25%;
  }

  .sidebar .nav-item .nav-link span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .side-question {
    min-height: unset;
  }
}

.contentHTML {
  font-family: arial;
}

/* - Chrome ≤56,
   - Safari 5-10.0
   - iOS Safari 4.2-10.2
   - Opera 15-43
   - Opera Mobile 12-12.1
   - Android Browser 2.1-4.4.4
   - Samsung Internet ≤6.2
   - QQ Browser */
   ::-webkit-input-placeholder {
    color: #ccc;
    font-weight: 400;
}

/* Firefox 4-18 */
:-moz-placeholder {
    color: #ccc;
    font-weight: 400;
}

/* Firefox 19-50 */
::-moz-placeholder {
    color: #ccc;
    font-weight: 400;
}

/* - Internet Explorer 10–11
   - Internet Explorer Mobile 10-11 */
:-ms-input-placeholder {
    color: #ccc !important;
    font-weight: 400 !important;
}

/* Edge (also supports ::-webkit-input-placeholder) */
::-ms-input-placeholder {
    color: #ccc;
    font-weight: 400;
}

/* CSS Pseudo-Elements Level 4 Editor's Draft
   - Browsers not mentioned in vendor prefixes
   - Browser of newer versions than mentioned in vendor prefixes */
::placeholder {
    color: #ccc;
    font-weight: 400;
}

.collapse-element{
  display: none;
}

.collapse-element.show {
  display: block;
}

.btn.active {
  background: #465a61;
  color: #fff;
}

.btn-group-toggle .btn , .btn-group>.btn-group:not(:last-child)>.btn, .btn-group>.btn:not(:last-child):not(.dropdown-toggle) , .btn-group>.btn-group:not(:first-child)>.btn, .btn-group>.btn:not(:first-child) {
  border-radius: .25rem;
}

/* slider **/
.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: #999;
  cursor: pointer;
  border-radius:100%
}

.slider::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: #999;
  cursor: pointer;
  border-radius:100%
}

.btn-attribute.active{
    color: #fff;
    background-color: #0062cc;
    border-color: #005cbf;
}

.form-group.form-row.row-question-answer {
  margin-bottom: 10px;
}

.sidebar .nav-item .nav-link i{
  display: inline;
  margin-right: 10px;
}
.sidebar .nav-item > .nav-item .nav-link{
  padding: 0.7rem 0 0.7em 0;
}
.sidebar .nav-item .nav-link span {
  display: inline-block !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-x: hidden;
  width: 165px;
  top: 4px;
  position: relative;
}

.sidebar .nav-item .nav-item .nav-link span {
  width: 80%;
}

.text-link{
  cursor: pointer;
}

@media (min-width: 768px){
  .sidebar .nav-item .nav-link{
    width: 232px;
    position: relative;
  }

  .sidebar .nav-item .nav-link i {
      position: absolute;
      font-size: 14px;
      right: auto;
      left: 20px;
  }

  .sidebar .nav-item .nav-link i:before {
      position: relative;
      top: 0;
  }

  .sidebar .nav-item .nav-link span {
    display: inline-block !important;
    text-overflow: inherit;
    white-space: normal;
    overflow-x: unset;
    top: -1px;
    position: relative;
    margin-left: 30px;
}

}



.files-container #upload-label i{
  text-align: center;
  display: block;
  color: #000;
  height: 115px;
  font-size: 9.5rem;
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  margin-right: auto;
  margin-left: auto;
}

.uploaded-files i{
  color: #000;
}

.thumb-container{
  width: 30px;
}

.uploaded-files .file-detail {
  margin-top: 7px;
  max-width: 210px;
    overflow-wrap: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    white-space: nowrap;
}
 div.type-pdf .thumb-container:after{
  font-family: "Font Awesome 5 Pro";
  content: "\f1c1";
  background-image: unset;
  font-size: 1.4em !important;
  top: 0;
}

 div.type-csv .thumb-container:after{
  font-family: "Font Awesome 5 Pro";
  content: "\f6dd";
  background-image: unset;
  font-size: 1.4em !important;
  top: 0;
}


div.type-png .thumb-container:after, div.type-jpg .thumb-container:after{
  font-family: "Font Awesome 5 Pro";
  content: "\f1c5";
  background-image: unset;
  font-size: 1.4em !important;
  top: 0;
}


.dz-error-message > div {
  background: red;
  padding: 10px;
  color: #fff;
  font-family: Poppins-SemiBold;
  text-align: center;
} 

.text-link{
  text-decoration: underline;
}


.loading-bottom {
  position: fixed;
  right: 50%;
  bottom: 15px;
  display: none;
  width: 100px;
  height: 100px;
  text-align: center;
  color: #fff;
  background: none;
  line-height: 46px;
}

.loading-bottom.active {
  display: block;
}

.loading-bottom .icon {
  font-size: 4em;
  color: green;
}

.bg-e2{
  background-color: #e2e2e2;
}

.ace_editor{
  min-height: 400px;
}

.ql-editor{
  min-height: 400px;
}