* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Roboto', Arial;
}


/* For WebKit browsers (Chrome, Safari) */
::-webkit-scrollbar {
  width: 0px;
  /* Adjust the width as per your preference */
  height: 7px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background-color: lightgray;
  border-radius: 3px;
  /* Adjust the border radius as per your preference */
}

/* For Firefox */
::-moz-scrollbar {
  width: 0px;
  /* Adjust the width as per your preference */
  height: 7px;
}

::-moz-scrollbar-track {
  background: none;
}

::-moz-scrollbar-thumb {
  background-color: lightgray;
  border-radius: 3px;
  /* Adjust the border radius as per your preference */
}

/* For Edge and IE */
::-ms-scrollbar {
  width: 0px;
  /* Adjust the width as per your preference */
  height: 7px;
}

::-ms-scrollbar-track {
  background: none;
}

::-ms-scrollbar-thumb {
  background-color: lightgray;
  border-radius: 3px;
  /* Adjust the border radius as per your preference */
}



body {
  background: #ffffff;
  /*#e1e2e9;#eeeee7;*/
  font-family: 'Arimo', Sans-Serif;
}

.content_main {
  margin-top: 53px;
}

#a_tag {
  text-decoration: none;
  outline: none;
  color: darkred;
}

/* general main style */
.main_sec {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 10px;
  width: 100%;
  height: 100%;
}

/* menubar main style */
.menubar_main {
  position: fixed;
  background: #b70101;
  /*linear-gradient(to top,red,darkred);*/
  color: white;
  width: 100%;
  top: 0;
  z-index: 2;
  height: 50px;
  font-family: 'Kanit', Sans-Serif;
  border-bottom: solid 1px white;
}

.set_menu_center {
  background: none;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

.menu_bar_section {
  justify-content: center;
}

.sign_section {}

.login_section {
  justify-content: right;
}

/* leftright id is content left right element*/
#leftright {
  display: none;
}

/* this style was for footer*/
/* this was for footer leftright ele it was hidden by default but display in pc */
/* footer main style */
.footer_main {
  background: #302e2e;
  color: white;
  min-height: 50px;
}

#leftright_footer {
  visibility: hidden;
}

.center_footer_section {
  text-align: center;
}

.center_section {
  position: relative;
  margin: 10px;
}

/* loading div */
.loading_div {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgb(230, 230, 230, 0.3);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.loading_div img {
  width: 60px;
  height: 60px;
}

/* end of loading div */
/* start of chat box style */
.chat_box {
  position: fixed;
  z-index: 2;
  right: 5px;
  bottom: 5px;
  background: #b70101;
  height: 50px;
  width: 50px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  box-shadow: 0px 0px 3px 2px #dfdfdf;
}

.chat_box:active {
  background: red;
}

/* end of chat box style */
/* instant message style*/
.instant_message_div {
  position: fixed;
  min-height: 50px;
  background: white;
  color: #630909;
  box-shadow: 0px 0px 10px 2px lightgray;
  width: 250px;
  right: 5px;
  padding: 10px 25px 10px 25px;
  line-height: 1.5;
  border-radius: 10px;
  z-index: 3;
  font-family: 'Roboto', Sans-Serif;
}

.instant_message_close_icon {
  position: absolute;
  top: 0;
  right: 5px;
  color: gray;
}

.instant_message_close_icon:active {
  color: lightgray;
}

/* end of instant message style */

/* this style is for pc */
@media screen and (min-width: 768px) {

  /* change width of main_section ekement height */
  .main_sec {
    width: 90%;
    margin: 0 auto;
  }

  /* main nenu content */
  .main_content {
    display: grid;
    grid-template-columns: 0.5fr 4fr 0.5fr;
    gap: 10px;
    width: 100%;
    height: 100%;
  }

  /* this style was for leftright section*/
  #leftright {
    display: block;
  }
}

@media screen and (min-width: 600px) {
  .main_sec {
    width: 90%;
    margin: 0 auto;
  }

  /* main nenu content */
  .main_content {
    display: grid;
    grid-template-columns: 0.5fr 4fr 0.5fr;
    gap: 10px;
    width: 95%;
    height: 100%;
    background: none;
    margin: 0 auto;
  }

  /* this style was for leftright section*/
  #leftright {
    display: block;
  }
}

@media screen and (min-width: 1024px) {
  .main_sec {
    width: 75%;
    margin: 0 auto;
  }

  /* main nenu content */
  .main_content {
    display: grid;
    grid-template-columns: 0.5fr 4fr 0.5fr;
    gap: 10px;
    width: 80%;
    height: 100%;
    background: none;
    margin: 0 auto;
  }

  /* this style was for leftright section*/
  #leftright {
    display: block;
  }
}

@media screen and (min-width: 1280px) {
  .main_sec {
    width: 70%;
    margin: 0 auto;
  }

  /* main nenu content */
  .main_content {
    display: grid;
    grid-template-columns: 0.5fr 4fr 0.5fr;
    gap: 10px;
    width: 75%;
    height: 100%;
    background: none;
    margin: 0 auto;
  }

  /* this style was for leftright section*/
  #leftright {
    display: block;
  }
}

@media screen and (min-width: 1480px) {
  .main_sec {
    width: 65%;
    margin: 0 auto;
  }

  /* main nenu content */
  .main_content {
    display: grid;
    grid-template-columns: 0.5fr 4fr 0.5fr;
    gap: 10px;
    width: 70%;
    height: 100%;
    background: none;
    margin: 0 auto;
  }

  /* this style was for leftright section*/
  #leftright {
    display: block;
  }
}

@media screen and (min-width: 2000px) {
  .main_sec {
    width: 50%;
    margin: 0 auto;
  }

  /* main nenu content */
  .main_content {
    display: grid;
    grid-template-columns: 0.5fr 4fr 0.5fr;
    gap: 10px;
    width: 55%;
    height: 100%;
    background: none;
    margin: 0 auto;
  }

  /* this style was for leftright section*/
  #leftright {
    display: block;
  }
}

/*
font-family: 'Arimo', sans-serif;
font-family: 'Merriweather', serif;
font-family: 'Roboto', sans-serif;
font-family: 'Ubuntu', sans-serif;
*/