@import "variablecontrol.css";
* {
  /* font-family: 'prompt'; */
  font-family: 'Kanit' !important;
  /* font-size: 14px; */
}

body {
  /* color: #444C66; */
  background-color: #F5F5F5;
  overflow: hidden;
  height: 100%;
  margin: 0px;
  color: #2f3640 !important;
}

.nav-path {
  color: var(--sub-text-color);
  cursor: pointer;
  user-select: none;
}

.nav-path.current {
  color: var(--normal-text-color);
}

.nav-path:hover {
  color: var(--link-text-color);
}


.ant-input:placeholder-shown {
  /* font-weight: 200; */
}
.ant-table {
  color: #2f3640 !important
}
.ant-timeline {
  color: #2f3640 !important
}
.ant-modal {
  color: #2f3640 !important
}

body {
  scrollbar-width: thin;
}

body::-webkit-scrollbar {
  width: 17px;
}

body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

body::-webkit-scrollbar-thumb {
  background: rgba(136, 142, 158, 0.4);
}

body:hover::-webkit-scrollbar-thumb {
  background: rgba(136, 142, 158, 0.4);
}

body::-webkit-scrollbar-thumb:hover {
  background: rgba(136, 142, 158, 0.4);
}

/* Buttons */

body::-webkit-scrollbar-button {
  border-style: solid;
  height: 16px;
  width: 16px;
  background-color: #444C66;
}

/* Up */

body::-webkit-scrollbar-button:vertical:decrement {
  border-width: 0 7px 14px 7px;
  border-color: transparent transparent rgba(136, 142, 158, 0.4) transparent;
}

body::-webkit-scrollbar-button:vertical:decrement:hover {
  border-color: transparent transparent rgba(136, 142, 158, 0.6) transparent;
}

/* Down */

body::-webkit-scrollbar-button:vertical:increment {
  border-width: 14px 7px 0 7px;
  border-color: rgba(136, 142, 158, 0.4) transparent transparent transparent;
}

body::-webkit-scrollbar-button:vertical:increment:hover {
  border-color: rgba(136, 142, 158, 0.6) transparent transparent transparent;
}

.react-pdf__Page {
  margin-top: 10px;
}

.scroll-disable {
  overflow: hidden !important;
  padding-right: 17px;
}

.container {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
}

.main-container {
  width: 100%;
  min-height: calc(100vh - 60px);
  max-width: 100vw;
  max-height: calc(100vh - 60px);
  background-color: #f5f7fc;
  min-width: 320px;
}

.col-overflow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-text {
  color: var(--link-text-color);
}

#home-icon {
  fill: red
}

.hidden-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
/* .hidden-scrollbar::-webkit-scrollbar {
  width: 0px;
  height: 0px;
} */

.hidden-scrollbar::-webkit-scrollbar {
  /* width: 2px;
  height: 5px;  */
   width: 0px;
  height: 0px;
}


  /* for microsoft edge && fire fox */
.hidden-scrollbar-menu {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hidden-scrollbar-menu::-webkit-scrollbar {
  /* for chrome */
  width: 0px;
  height: 0px;
}

.hidden-scrollbar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

.hidden-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0);
}

.hidden-scrollbar:hover::-webkit-scrollbar-thumb {
  background: #888E9E;
}

.hidden-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #888E9E;
}

.border-radius-10 {
  border-radius: 10px;
}

.shadow-content {
  -webkit-box-shadow: 0px 5px 10px 0px rgba(200, 200, 200, 0.4);
  -moz-box-shadow: 0px 5px 10px 0px rgba(200, 200, 200, 0.4);
  box-shadow: 0px 5px 10px 0px rgba(200, 200, 200, 0.4);
  border: solid 1px #e6e6e6;
}

.default-btn {
  font-weight: 400;
  /* background-image: linear-gradient(to bottom, #96C3DD, #1B55A2); */
  /* background-color: #1B55A2; */
  background: var(--gd-default-btn);
  /* border-radius: 10px; */
  -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  transition: all .2s cubic-bezier(0.075, 0.82, 0.165, 1);
  cursor: pointer;
  user-select: none;
}

.default-btn:hover {
  /* background-image: linear-gradient(to bottom, #96C3DD, #1B55A2); */
  /* background-color: #1B55A2; */
  background: var(--gd-default-btn-hover);
  /* border-radius: 10px; */
  -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.1);
  transition: all .2s cubic-bezier(0.075, 0.82, 0.165, 1);
  cursor: pointer;
  user-select: none;
}

.outline-btn {
  font-weight: 400;
  /* background-image: linear-gradient(to bottom, #96C3DD, #1B55A2); */
  /* background-color: #1B55A2; */
  /* border-radius: 10px; */
  -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  transition: all .2s cubic-bezier(0.075, 0.82, 0.165, 1);
  cursor: pointer;
  user-select: none;
  border: solid 1px var(--sub-text-color);
}

.outline-btn:hover {
  font-weight: 400;
  /* background-image: linear-gradient(to bottom, #96C3DD, #1B55A2); */
  /* background-color: #1B55A2; */
  /* border-radius: 10px; */
  -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  transition: all .2s cubic-bezier(0.075, 0.82, 0.165, 1);
  cursor: pointer;
  user-select: none;
  border: solid 1px var(--link-text-color);
  color: var(--link-text-color);
}

.logout-btn {
  font-weight: 400;
  /* background-image: linear-gradient(to bottom, #96C3DD, #1B55A2); */
  /* background-color: #1B55A2; */
  /* border-radius: 10px; */
  -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
  transition: all .2s cubic-bezier(0.075, 0.82, 0.165, 1);
  cursor: pointer;
  user-select: none;
  background-color: #eb4d4b;
  color: white;
}
.disable-btn {
  /* background-image: linear-gradient(to bottom, #f2f6f8, #e2ebf0); */
  background-color: #e2ebf0;
  /* border-radius: 10px; */
  color: #888E9E !important;
  cursor: not-allowed;
  user-select: none;
}

.cancel-btn {
  /* background-image: linear-gradient(to bottom, #ED9FCB, #DF4CA0); */
  background-color: #eb4d4b;
  -webkit-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  user-select: none;
}

.sub-text {
  color: #888E9E;
}

.highlight-text {
  color: var(--hilight-text-color);
}

.red-text {
  color: #eb4d4b
}
.success-text {
  color: var(--gd-success-color);
}
.warning-text {
  color: var(--warning-text-color);
}


.white-text {
  color: #FFFFFF
}

/* .width-fit-content {
  min-width: fit-content;
} */

.main-layout {
  display: flex;
  flex-direction: row;
  margin-left: 0px;
  /* padding: 5px; */
  min-height: calc(100vh - 60px);
}
.main-content {
  max-height: calc(100vh - 60px);
  /* overflow-y: auto; */
  overflow-y: scroll;
  height: 100%;
  /* padding: 40px; */
}

.sub-content {
  padding: 40px;
  background-color: #fff;
  /* border-radius: 5px; */
  min-height: 100%;
  max-width: 1200px;
  align-self: center;
  margin: auto;
  width: 100%;
}
.sub-row-home {
  padding-left: 40px;
  padding-right: 40px;
}
.sub-content-nonepadding {
    padding: 0px;
}

.ant-input {
  border-radius: 2px;
}

.ant-select-selection {
  border-radius: 2px;
}

.modal-logout-btn {
  margin: 0 10px !important;
}

.empty-div {
  animation: itemEmpty .2s;
  -webkit-animation: itemEmpty .2s;
}

@keyframes itemEmpty {
  from {
    opacity: 0;
    transform: translateY(50px);
    max-height: 0px;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
  }
}

@-webkit-keyframes itemEmpty {
  from {
    opacity: 0;
    -webkit-transform: translateY(50px);
    max-height: 0px;
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    max-height: 100px;
  }
}

.reg-modal {
  padding: 0px 0px 20px !important;
  margin: auto !important;
  display: flex;
  max-width: 50%;
  width: 50% !important;
}

.reg-modal .ant-modal-content {
  width: 100% !important;
}

.ant-calendar-picker-input.ant-input {
  font-size: small;
}

.ant-calendar {
  font-size: small;
}

.ant-modal-wrap {
  display: flex;
}

.ant-modal {
  margin: auto;
  top: 0
}

@media only screen and (max-width: 992px) {
  .sub-row-home {
    padding-left: 0px;
    padding-right: 0px;
  }
  /* * {
    font-size: 13px;
  } */ 
  .main-layout {
    display: flex;
    flex-direction: row;
    margin-left: 0px !important;
  }
  /* .main-layout {
    display: flex;
    flex-direction: row;
    margin-left: 70px !important;
  } */
  .reg-modal {
    padding: 0px 0px 20px !important;
    margin: auto !important;
    display: flex;
    max-width: 60%;
    width: 60% !important;
  }
  .reg-modal .ant-modal-content {
    width: 100% !important;
  }
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.lds-ellipsis div {
  position: absolute;
  top: 27px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #888E9E;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 26px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 45px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(19px, 0);
  }
}

.text-input-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 4px;
  background-color: #F5F5F5;
}

.text-input-container input {
  height: unset !important;
  display: flex;
  flex: 1;
  border-width: 0px;
  padding: 1em;
  background-color: transparent;
  color: #0095DA;
}

.text-input-container input::placeholder {
  color: #888E9E;
}

.otp-input-container {
  width: unset !important;
  height: unset !important;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 4px;
  padding: 1em 0;
  border-width: 0px;
  color: #0095DA;
  background-color: #F5F5F5;
}

@media only screen and (max-width: 576px) {
  * {
    /* font-size: small; */
  }
  /* .ant-modal {
    margin: 0;
  } */
  .ant-modal-content {
    min-width: 320px;
  }
  .reg-modal {
    padding: 0px 0px 20px !important;
    margin: auto !important;
    display: flex;
    max-width: 100%;
    width: 100% !important;
    top: 20px !important;
  }
  .reg-modal .ant-modal-content {
    width: 100% !important;
  }
  .main-content {
    padding: 0px 5px 0px
  }
  .sub-content {
    padding: 10px;
  }

  .sub-row-home {
    padding-left: 0px;
    padding-right: 0px;
  }
  .main-layout {
    display: flex;
    flex-direction: row;
    margin-left: 0px !important;
  }
  .scroll-disable {
    overflow: initial !important;
    padding-right: 0px;
  }
}