﻿/* Fix UI for TAM
-------------------------------------------------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans/OpenSans-VariableFont_wdth,wght.ttf")
    format("truetype-variations");
  font-weight: 300 800; /* Light to ExtraBold */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans/NotoSans-VariableFont_wdth,wght.ttf")
    format("truetype-variations");
  font-weight: 300 800; /* Light to ExtraBold */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/Mulish/Mulish-Italic-VariableFont_wght.ttf")
    format("truetype-variations");
  font-weight: 300 800; /* Light to ExtraBold */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Courier Prime";
  src: url("../fonts/CourierPrime/CourierPrime-Regular.ttf")
    format("truetype-variations");
  font-weight: 300 800; /* Light to ExtraBold */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tinos";
  src: url("../fonts/Tinos/Tinos-Regular.ttf") format("truetype-variations");
  font-weight: 300 800; /* Light to ExtraBold */
  font-style: normal;
  font-display: swap;
}

/* Default font */
body {
  font-family: "Inter", Open Sans, sans-serif;
  font-size: 14px;
}

.form-control {
  font-size: 14px;
}

.table th,
.table td {
  padding: 8px;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.main-header {
  border-bottom: 1px solid #d2d6de;
  z-index: 1034;
}

.main-sidebar {
  border-right: 1px solid #d2d6de;
}

.main-footer {
  background: #fff;
  padding: 15px;
  color: #444;
  border-top: 1px solid #d2d6de;
}

.brand-link {
  border-bottom: 1px solid #d2d6de;
}

/* Content */
.content-wrapper .container-fluid {
  padding-top: 0px !important;
}

.content-header h1 {
  font-size: 24px;
}

.content-header .breadcrumb {
  font-size: 13px;
}

/* Card */
.card {
  position: relative;
  border-radius: 3px;
  background: #ffffff;
  border-top: 3px solid #d2d6de;
  margin-bottom: 1rem;
  width: 100%;
  box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 1px 3px rgb(0 0 0 / 20%);
}

.card-body {
  padding: 1rem;
}

.card-footer {
  padding: 0.75rem 1rem;
}

/* Label set to right for form horizontal */
@media (min-width: 768px) {
  .form-horizontal .col-form-label {
    text-align: right;
  }
}

/* Button text color */
.btn-primary,
.btn-info,
.btn-warning,
.btn-danger {
  color: #ffffff !important;
}

/* Button size */
.btn-group-xs > .btn,
.btn-xs {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

.btn-sm,
.btn-group-sm > .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

/* Button close icon size */
.close {
  font-size: 1.5rem;
}

/* Modal ui */
.modal {
  background-color: transparent;
  background-color: transparent;
}

.modal-content {
  width: 90%;
}

.modal-content .modal-header {
  color: #fff;
  background-color: #6c757d;
}

/* Button default */
.btn-default {
  border-color: #ddd;
}

/* Size show entries dataTables */
.custom-select-sm {
  font-size: 90%;
}

/* Icon sorting dataTable */
table.dataTableIcon thead .sorting,
table.dataTableIcon thead .sorting_asc,
table.dataTableIcon thead .sorting_desc,
table.dataTableIcon thead .sorting_asc_disabled,
table.dataTableIcon thead .sorting_desc_disabled {
  padding-right: 5px;
  background: 0 0;
}

table.dataTableIcon thead .sorting_asc:after {
  opacity: 0.5;
  content: "\f15d";
  float: right;
  font-family: fontawesome;
  color: #333333;
}

table.dataTableIcon thead .sorting_desc:after {
  opacity: 0.5;
  content: "\f15e";
  float: right;
  font-family: fontawesome;
  color: #333333;
}

table.dataTableIcon thead .sorting:after {
  opacity: 0.2;
  content: "\f0dc";
  float: right;
  font-family: fontawesome;
  color: #333333;
}

/* Form input */
.input-sm {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

/* Pagination */
.pagination {
  margin: 15px 0;
}

.pagination-info {
  text-align: right;
  margin-top: 20px;
}

/* Form input */
.input-sm {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

.custom-checkbox {
  margin-top: 0.5rem;
}

/* Select2 */
.form-group-sm .select2-container .select2-selection--single,
.input-group-sm .select2-container .select2-selection--single {
  font-size: 14px;
  height: 30px;
  padding: 5px;
  border: 1px solid #ced4da;
}

.form-group-sm
  .select2-container
  .select2-selection--single
  .select2-selection__rendered,
.input-group-sm
  .select2-container
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 24px;
}

.form-group-sm
  .select2-container
  .select2-selection--single
  .select2-selection__arrow,
.input-group-sm
  .select2-container
  .select2-selection--single
  .select2-selection__arrow {
  height: 24px;
}

.select2-search--inline {
  display: contents; /*this will make the container disappear, making the child the one who sets the width of the element*/
}

.select2-search__field:placeholder-shown {
  width: 100% !important; /*makes the placeholder to be 100% of the width while there are no options selected*/
}

.nav-treeview .nav-item {
  margin-left: 10px;
}

.dashboard-icon {
  font-size: 5.5vw;
  opacity: 50%;
}

a.sorting {
  display: contents;
  bottom: 0;
}

table input[type="checkbox"] {
  height: 18px;
  width: 18px;
}

.nowrap {
  white-space: nowrap;
}

pre {
  outline: 1px solid #ccc;
  padding: 5px;
  margin: 5px;
}

.string {
  color: lightgreen;
  font-weight: 700;
}

.number {
  color: darkorange;
  font-weight: 700;
}

.boolean {
  color: darkorange;
  font-weight: 700;
}

.null {
  color: magenta;
  font-weight: 700;
}

.key {
  color: white;
  font-weight: 700;
}

.nowrap {
  white-space: nowrap;
}

.notyf__toast {
  z-index: 999999999;
}
