﻿/*from layout*/
html,
body {
  width: 100%;
  height: 100%;
}

body {
  background: #fff;
}

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

a {
  color: #007bff;
}

.wrapper-flex {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  /*height: 100%; */
}

.content {
  flex: 1 0 auto;
}

.footer {
  flex: 0 0 auto;
}

.unread-messages {
    font-weight: 700;
}

.grey {
    background-color: #f0f4f8;
}

.white {
  background-color: #fff;
}

.sup-required {
  font-size: 10px;
  color: red;
}

.partial-index {
  margin: 20px;
}

.fas.fa-times {
  color: rgb(256, 0, 0);
}

/*from layout*/
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
  /*padding-left: 15px;
	padding-right: 15px;*/
  padding-left: 5px;
  padding-right: 5px;
}

/* Carousel */
.carousel-caption p {
  font-size: 20px;
  line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$='.svg'] {
  width: 100%;
}

/* QR code generator */
#qrCode {
  margin: 15px;
}

.tab-close-icon {
  position: absolute;
  top: 1px;
  right: 1px;
  color: gray;
}

h2 {
  margin-top: 15px;
  margin-bottom: 8px;
}

.black-text {
  color: #201e00;
}

.green-text {
  color: #96c12a;
  font-weight: bolder;
}

.gr {
  background-color: #96c12a;
  border-color: #96c12a;
}

.submit {
  color: rgb(0, 123, 255);
}

.blue-circle {
  color: rgb(0, 123, 255);
}

.td-cell {
  vertical-align: middle;
}

.message-date {
  font-size: small;
}

.body-content {
  display: flex;
  flex-flow: column;
  min-height: 100%;
}

.btn-default,
.btn-primary {
  background-color: #96c12a;
  border-color: #96c12a;
}

.btn-outline-primary {
  border-color: #96c12a;
  color: #000;
  background-color: rgba(158, 196, 17, 0.416);
}

.btn-outline-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(158, 196, 17, 0.5);
}

.btn-outline-primary:hover,
.btn-outline-default:hover {
  color: #fff;
  background-color: #96c12a;
  border-color: #96c12a;
}

.red {
  color: #ff0000;
}
.grey {
  background-color: #f0f4f8;
}

.image-upload > input {
  display: none;
}

.image-upload i {
  font-size: 1.4em;
  cursor: pointer;
  color: #007bff;
}

.side-menu {
  margin-top: 10px;
  min-width: 165px;
  width: 168px;
}

.nav-link.side-menu_item.active.open-tab {
  border: 2px;
  border-style: groove;
  border-color: #007bff;
}

.nav-link > i {
  color: #007bff;
}

.long-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.is-deleted {
  text-decoration: line-through;
}

.hint-label {
  font-style: oblique;
  color: gray;
}

.th-company-name {
  max-width: 13.22vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.th-document-operate {
  min-width: 2.4vw;
  color: green;
}

/*loader begin*/
.loader {
  background: none repeat scroll 0 0 #fff;
  height: 100%;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9999;
}

.loader .loader_inner {
  animation: animate 1.5s linear infinite;
  clip: rect(0, 80px, 80px, 40px);
  height: 80px;
  width: 80px;
  position: absolute;
  left: calc(50% - 40px);
  top: calc(50% - 40px);
}

@keyframes animate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(220deg);
  }
}

.loader .loader_inner:after {
  animation: animate2 1.5s ease-in-out infinite;
  clip: rect(0, 80px, 80px, 40px);
  content: '';
  border-radius: 50%;
  height: 80px;
  width: 80px;
  position: absolute;
}

@keyframes animate2 {
  0% {
    box-shadow: inset #8cc832 0 0 0 17px;
    transform: rotate(-140deg);
  }

  50% {
    box-shadow: inset #8cc832 0 0 0 2px;
  }

  100% {
    box-shadow: inset #8cc832 0 0 0 17px;
    transform: rotate(140deg);
  }
}
/*loader end*/
/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
  /* Hide captions */
  .carousel-caption {
    display: none;
  }

  .side-menu {
    margin-top: 10px;
    min-width: 165px;
    width: 168px;
  }

  body {
    color: red;
    font-size: smaller;
  }
}

@media screen and (max-width: 767px) {
}

.login {
  width: 100%;
  height: 100dvh;

  background: #f5f5f5;
}

.login-wrapper-flex {
  width: 100%;
  height: 100dvh;

  display: flex;
  justify-content: center;
  align-items: center;
}
.login-container {
  width: 100%;
  max-width: 400px;
  margin: 0 37.5px;
}
.login-logo-wrapper {
  width: 100%;

  margin-bottom: 35px;
}
.login-logo {
  width: 100%;
  display: flex;
  justify-content: center;
}

.image-responsive {
  height: 52px;
}

.login-form {
  background: #fff;

  border-radius: 10px;
}

.login-form .card {
  border: 1px solid #fff !important;
}

.login-form-content {
  padding: 32px 50px 27px 50px;
}

@media screen and (max-width: 500px) {
  .login-form-content {
    padding: 33px 28px 26px 42px;
  }

  .image-responsive {
    height: 41px;
  }
}

.login-form-content .row {
  margin: 0;
}

.login-form-content .col-md-12 {
  padding: 0;
}

.form-group {
  margin-bottom: 19px;
}

.form-group.form-group-password,
.form-group.form-group-button {
  margin-bottom: 27px;
}

.form-group.form-group-checkbox {
  margin-bottom: 25px;
}

.form-group label {
  font-size: 13px !important;
  line-height: 15.85px;

  margin-bottom: 15px;
}

.form-group input,
.form-group input:focus {
  border-color: #1c1b17;
  color: #1c1b17;

  /* font-family: Montserrat; */
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0em;
  text-align: left;
}

.form-group.form-group-forgotPassword,
.form-group.form-group-forgotPassword p {
  margin: 0px;
}

.form-group.form-group-forgotPassword p {
  display: flex;
  justify-content: center;
}

.text-danger.validation-summary-errors {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0em;
}

.form-group.form-group-forgotPassword p a {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0em;

  color: #1c1b17;
}

.form-group.form-group-forgotPassword p a:hover {
  color: #007bff;
}

.button-load.btn {
  width: 100%;

  background: #7db84e;
  box-shadow: rgba(125, 184, 78, 0.3) 0px 5px 10px 0px !important;
  border-color: #7db84e;
  border-radius: 8px;

  color: #1c1b17 !important;

  /* font-family: Montserrat; */
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0em;
}
.button-load.btn:hover,
.button-load.btn:focus {
  background: #70a545;
  color: #0f0f0d !important;
}

.form-group .custom-control {
  padding-left: 18px;

  min-height: 0;
}

.form-group label {
  color: #1c1b17 !important;
  height: 16px;
  display: flex;
  align-items: center;

  margin-top: 0;
}

.form-group .custom-control-label:before,
.form-group .custom-control-label:after {
  height: 12px;
  width: 12px;
}
.form-group .custom-control-label:after {
  top: 4px;
  left: 0.25px;
}
.form-group .custom-control-label:before {
  border: 1px solid #1c1b17;
  border-radius: 2px;
  top: 3px;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #1c1b17 !important;
}
