
.flexbox {
  display: flex;
  flex-flow: row wrap; 
  font-family: 'Kittithada';
  
  }

  #setting  {
      font-family: 'Kittithada';
  }
  @media only screen and (max-width: 767px) {
    .flexbox {
      flex-flow: column wrap; } }
  .flexbox .box {
    flex: 1; }

  @media only screen and (max-width: 767px) {
    section {
      padding: 30px 0; } }
title {
  text-transform: uppercase; }

#side-bar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: -1;
  font-family: 'Montserrat', 'Noto Sans Thai UI', sans-serif;
  transition: .5s; }
  #side-bar.active {
    z-index: 1;
    transition: .5s; }
    #side-bar.active .transparent {
      opacity: 1;
      transition: .5s; }
    #side-bar.active .side-bar {
      left: 0;
      transition: .5s; }
  #side-bar .transparent {
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    width: 100vw;
    height: 100vh;
    transition: .5s; }
  #side-bar .side-bar {
    width: 30%;
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    transition: .5s;
    padding: 50px 0;
    overflow: scroll; }
    @media only screen and (min-width: 768px) and (max-width: 1199px) {
      #side-bar .side-bar {
        width: 50%; } }
    @media only screen and (max-width: 767px) {
      #side-bar .side-bar {
        width: 100%; } }
    #side-bar .side-bar .close {
      position: absolute;
      right: 0;
      top: 0;
      margin: 10px;
      transform: rotate(45deg); }
      #side-bar .side-bar .close a {
        color: #000;
        font-size: 30px; }
  #side-bar section {
    padding: 30px;
    padding-bottom: 0; }
  #side-bar .line {
    width: 86%;
    height: 2px;
    background: rgba(0, 0, 0, 0.4);
    display: block;
    margin: 30px auto 0; }
  #side-bar .btn-wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-top: 15px; }
  #side-bar .btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 15px;
    text-align: center;
    width: auto;
    font-size: 16px;
    font-weight: 400;
    transition: .5s;
    opacity: 1;
    border-radius: 15px; }
    #side-bar .btn:hover {
      opacity: .8; }
  #side-bar h3 {
    font-size: 24px;
    font-weight: 400;
    font-family: 'Montserrat', 'Noto Sans Thai UI', sans-serif;
    margin-bottom: 20px; }
  #side-bar h4 {
    font-size: 18px;
    font-weight: 400;
    font-family: 'Montserrat', 'Noto Sans Thai UI', sans-serif;
    margin-bottom: 10px; }
  #side-bar p {
    font-size: 14px;
    font-family: 'Montserrat', 'Noto Sans Thai UI', sans-serif;
    margin-bottom: 15px; }
    #side-bar p span a {
      display: inline-block; }
    #side-bar p:last-child {
      margin-bottom: 0; }
  #side-bar .link {
    color: #6c6c6c;
    text-decoration: underline; }
  #side-bar .terms {
    position: relative;
    margin-bottom: 20px; }
    #side-bar .terms a {
      font-size: 14px; }
    #side-bar .terms p {
      margin-bottom: 10px; }
    #side-bar .terms:last-child {
      margin-bottom: 0; }
    #side-bar .terms .status {
      position: absolute;
      right: 0;
      top: 0; }
      #side-bar .terms .status p {
        color: #4CBF6B; }
      #side-bar .terms .status label {
        width: 46px;
        height: 26px;
        display: block;
        border-radius: 20px;
        border: 1px solid #c9c9c9;
        position: relative;
        background: #fff;
        margin-top: -5px; }
        #side-bar .terms .status label:hover {
          cursor: pointer; }
        #side-bar .terms .status label span {
          width: 22px;
          height: 22px;
          display: block;
          position: absolute;
          background: #c9c9c9;
          border-radius: 50%;
          top: 1px;
          left: 1px; }

#side-bar .terms .status input[type="checkbox"]+label:after {

    content: '';
}
    #side-bar .terms .status input[type="radio"]+label:before, #side-bar .terms .status input[type="checkbox"]+label:before {
        width: auto;
        height: auto;
        border: 0px;
    }
      #side-bar .terms .status input[type="checkbox"] {
        display: none; }
      #side-bar .terms .status input[type="checkbox"]:checked + label {
        border-color: #4CBF6B;
        background: #fff;
        transition: .5s; }
        #side-bar .terms .status input[type="checkbox"]:checked + label span {
          left: 47%;
          transition: .5s;
          background: #4CBF6B; }

          #side-bar .terms .status input[type="checkbox"]:checked label {
            background-color: red;

          }


.cookie, .cookie a { font-family: 'Kittithada'; font-size: 20px;}