@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,700;1,400;1,700&display=swap');

textarea.form-control,
select.form-control:focus,
input.form-control:focus {
    box-shadow: none;
}

.started-wrapper i {
  font-size: 45px;
  opacity: 0.4;
}

.started-wrapper {
  color: #193366;
  font-size: 0.8rem;
}

.dropdown-item {
  color: #212529 !important;
}

.dropdown-item.active {
  background-color: #00cc92;
  color: #fff !important;
}

.btn-success,
.btn-success:active,
.btn-success:focus,
.btn-success:active:focus,
.btn-success:visited {
  color: #003727;
  background-color: #003727;
  border-color: #001a12;
}

.btn,
.btn:active,
.btn:focus,
.btn:active:focus,
.btn:visited {
  color: #fff;
}

.btn-success:hover {
  background-color: #001a12;
  border-color: #003727;
}

.field-loginform-code .invalid-feedback {
    color: #003727;
}

.field-loginform-code .is-invalid {
    border-color: #003727 !important;
}

/*
Password strength style
*/
ul.password-strength-list {
    padding: 0;
    margin: 0;
    list-style-position: inside;
    list-style-type: none;
    color: #999;
}

ul.password-strength-list .icon::before {
    display: none;
}

ul.password-strength-list li::before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    content: "\f00c";
}

ul.password-strength-list li svg {
    color: green;
    margin-right: 0.5rem;
}

ul.password-strength-list li.error::before {
    content: "\f00d";
    color: red;
}

ul.password-strength-list li.error svg {
    color: red;
}

html, body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #2f3135;
}

@media(max-width: 768px) {
  html, body {
    font-size: 14px;
  }
}

.navbar-collapse {
  margin-top: 0.5rem;
}

@media(min-width: 768px) {
  .navbar-collapse {
    margin-top: 0;
  }
}

@media(min-width: 768px) {
  .navbar-nav {
    align-items: center;
  }
}

.navbar-nav > .dropdown {
  margin: 0;
}

.bg-dark {
  background-color: #f8f3ed !important;
  color: #003727;
}

.navbar-toggler-icon {
  font-size: 2.5rem;
}

.navbar-toggler-icon::before {
    display: none;
}

.navbar-toggler span::before {
  color: #003727;
  font-family: "Font Awesome 6 Pro";
  content: "\f0c9";
}

.logged-in-user,
.menu-icon,
.star-icon,
.plus-icon {
  font-size: 22px;
  line-height: 40px;
  margin-top: -8px;
  margin-bottom: -7px;
  padding: 0.6rem;
}

@media(min-width: 768px) {
  .logged-in-user {
    padding: 0;
    font-size: 1.2rem;
  }
}

.navbar-nav > .dropdown > .nav-link > .fal {
  display: inline-block;
  width: 35px;
  text-align: center;
}

.fa-xl {
  font-size: 1.5rem;
}

.fa-xxl {
  font-size: 2rem;
}

.menu-icon {
  background-color: #003727;
  color: #f8f3ed !important;
}

.plus-icon {
  background-color: #006649;
  color: #f8f3ed !important;
}

@media(min-width: 768px) {
  .menu-icon {
    margin-right: 2rem !important;
  }
}


.menu-icon .nav-link,
.plus-icon .nav-link {
  padding: 0;
  color: #fff;
}

.navbar {
  padding: 0.6rem 0.2rem;
  font-size: 1.4rem;
}

@media(min-width: 768px) {
  .navbar {
    padding: 0;
  }
}


.navbar-brand .fad {
  font-size: 30px;
}

.navbar-yellow .navbar-brand {
  color: #2f3135;
}

.navbar-brand img {
    width: 50px;
    padding-left: 1rem;
    display: inline-block;
}

@media (min-width: 768px) {
    .navbar-brand img {
        width: 125px;
        padding-left: 0;
    }
}

.navbar .dropdown-menu {
  left: auto;
  right: 0;
}

.navbar .dropdown-menu .fal {
  width: 35px;
  display: inline-block;
  text-align: center;
}

@media(min-width: 768px) {
  .navbar .dropdown-menu .fal {
    width: 25px;
  }
}

.navbar .dropdown-menu .dropdown-item {
  line-height: 1.5;
}


a,
a:hover,
a:active,
a:visited,
a:focus {
  color: #2f3135;
}

a.muted {
  pointer-events: none;
  color: #ccc;
}

a.navbar-brand,
header a,
header a:hover,
header a:active,
header a:focus,
header a:visited {
  color: #003727;
}

.text-orange,
.text-orange:hover,
.text-orange:active,
.text-orange:visited,
.text-orange:focus {
  color: #f19232;
}

.text-gray,
.text-gray:hover,
.text-gray:active,
.text-gray:visited,
.text-gray:focus {
  color: #999;
}

.text-green {
    color: #003727;
}

.text-red,
.text-red:hover,
.text-red:active,
.text-red:visited,
.text-red:focus {
  color: #ff0000 !important;
}

.text-md {
  font-size: 1.2rem !important;
}

.text-lg {
  font-size: 1.8rem !important;
}

.table-no-filter-header .filters,
.table-simple .filters {
  display: none;
}

.table-row:hover {
  background-color: #ebf0fa;
}

.table-row-select {
  cursor: pointer;
}

.table-row.suspended {
    color: red;
}


.table-simple th {
  border: none;
}

.table .font-awesome {
  font-size: 1.5rem;
  color: #003727;
  white-space: nowrap;
  margin-right: 10px;
}

.action-column {
  white-space: nowrap;
  text-align: right;
}

.gridview-buttons-group {
  white-space: nowrap;
}

.gridview-buttons-group i {
  display: inline-block;
  margin-left: 1rem;
  font-size: 1.2rem;
  color: #807700;
}

@media(min-width: 768px) {
  .filter-form {
    padding-right: 15px;
  }
}

.filter-form input[type=text] {
  width: 100%;
  font-size: 1.2rem;
  padding-right: 2.1rem;
}

@media(min-width: 576px) {
  .filter-form input[type=text] {
    width: 150px;
  }
}

.filter-form label {
  padding-right: 0.7rem;
}

.filter-form .filter-wrapper {
  position: relative;
}

.btn-clear-filter {
  position: absolute;
  top: 0;
  right: 0;
  background-color: transparent;
  border: none;
  color: #aaa;
  font-size: 1.4rem;
}

.btn-clear-filter:disabled {
  display: none;
}

.btn {
  padding: 0.8rem 1.1rem;
  font-size: 1.5rem;
}

.btn-sm {
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
}


main > .container {
    padding: 95px 15px 20px;
}

@media (min-width: 768px) {
    main > .container {
        padding: 135px 15px 20px;
    }
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: auto;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.pagination li {
  margin-right: 10px;
  padding: 5px;
}

.pagination li a {
  color: #007bff !important;
  padding: 5px;
}

.pagination > .active > a,
.pagination > .active > a:hover {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff !important;
}

@media (max-width: 450px) {
  .pagination {
    font-size: 12px !important;
  }
}

/*
 * Modal add product
 */
#modal_search .modal-content,
#modal_scan .modal-content,
#modal_add_product .modal-content {
    background-color: #D9D9D9;
}

#modal_scan .modal-content .modal-header,
#modal_add_product .modal-content .modal-header {
    border-bottom: none;
    padding: 45px 45px 0 45px;
}

#modal_search .modal-content .modal-header h5,
#modal_scan .modal-content .modal-header h5,
#modal_add_product .modal-content .modal-header h5 {
    font-size: 1.6rem;
}

#modal_search .modal-content .modal-header button.close,
#modal_scan .modal-content .modal-header button.close,
#modal_add_product .modal-content .modal-header button.close {
    opacity: 1;
}

#modal_search .modal-content .modal-header button.close span,
#modal_scan .modal-content .modal-header button.close span,
#modal_add_product .modal-content .modal-header button.close span {
    display: inline-block;
    width: 32px;
    height: 32px;
    padding: 2px;
    font-size: 28px;
    color: #B9C3C0;
    background-color: #000000;
    text-shadow: none;
}

#modal_search .modal-content .modal-footer,
#modal_scan .modal-content .modal-footer,
#modal_add_product .modal-content .modal-footer {
    border-top: none;
}

#modal_add_product .input-group-text.quantity,
#modal_add_product .input-group-text.scan,
#modal_add_product .input-group-text.search,
#modal_add_product .input-group-text.clear {
    background-color: #B9C3C0;
    border: none;
    border-radius: 0;
    font-size: 1.6rem;
    padding: 0.375rem 1.25rem;
}

#modal_add_product .input-group-text.quantity {
    font-size: 2.5rem;
    padding: 0.375rem 1.25rem 0.375rem 0.5rem;
}

#modal_search input,
#modal_search select,
#order_form input,
#order_form textarea,
#modal_add_product textarea,
#modal_add_product input,
#modal_add_product select {
    padding: 24px 16px;
    font-size: 1rem;
    text-transform: uppercase;
    background-color: #B9C3C0;
    border: none;
    border-radius: 0;
}

#modal_search input,
#modal_search select {
    padding: 0.375rem 0.75rem;
}

#modal_add_product input,
#modal_add_product select {
    height: 72px;
}

#modal_add_product textarea {
    height: 100%;
}

#modal_add_product .btn-success,
#modal_add_product .btn-success:hover,
#modal_add_product .btn-success:active,
#modal_add_product .btn-success:focus,
#modal_add_product .btn-success:focus:active {
    padding: 16px 24px;
    background-color: #282E2C;
    border-radius: 0;
}

#length_wrapper,
#width_wrapper {
    height: 72px;
}

.total-row  {
    padding: 0.75rem 0;
}

.total-row table th,
.total-row table td {
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    font-size: 1.1rem;
}

.selectable td {
    cursor: pointer;
}

.selectable:hover td {
    background: #B9C3C0;
}