@font-face { font-family: Gotham-Bold; src: url('../fonts/Gotham-Bold.otf'); }
@font-face { font-family: Gotham-Bold; font-weight: bold; src: url('../fonts/Gotham-Bold.otf');}

@font-face { font-family: Bai-Jamjuree; src: url('../fonts/BaiJamjuree-Bold.ttf'); }
@font-face { font-family: Bai-Jamjuree; font-weight: bold; src: url('../fonts/BaiJamjuree-Bold.ttf');}

@font-face { font-family: Source-Sans-Pro; src: url('../fonts/SourceSansPro-Bold.ttf'); }
@font-face { font-family: Source-Sans-Pro; font-weight: bold; src: url('../fonts/SourceSansPro-Bold.ttf');}

body {
  font-size: 14px;
  -webkit-print-color-adjust: exact;
}
html{
  overflow-y: scroll;
}
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
}
.bg-tlwarn {
  background-color: #3c4044 !important;
}
.bg-tlpen1 {
  background-color: #a1a22b !important;
}
.bg-tlpen2 {
  background-color: #c37a3b !important;
}
.bg-tlpen3 {
  background-color: #9a1616 !important;
}
.bg-code {
  background-color: #bf1564 !important;
}
.headerlogo {
  height: 40px;
}
.table-sm th, .table-sm td {
	line-height: 1;
}
.table td {
  vertical-align: middle;
}
.flag {
  text-align: center;
  color: #fff;
}
.flagprint {
  text-align: center;
  color: #000;
}
.auto-hide {
  display: none;
}
.form-center {
  display: block;
}
.btntoppanel {
  margin: 3px;
  margin-bottom: 5px;
}
.btntop {
  margin-left: 3px;
  margin-right: 3px;
}
.btn-sm, .btn-group-sm > .btn {
	padding: 0.01rem 0.5rem;
}
.btn-gap {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.text-black {
  color: #000 !important;
}
.displaylogo {
  max-width:100%;
  max-height:175px;
}
.logo {
  max-height:80px;
  max-width:100%;
  display:block;
  margin-left:auto;
  margin-right:auto;
}
.gt-logo {
  width: 140px;
}
.printtext {
    font-size: 10px;
}
.printheaders {
    font-size: 12px;
}
.img-print {
    height: 85px;
}
.img-print-750 {
    height: 90px;
}
.img-print-judicial {
  max-height: 100px;
  max-width: 100%;
}
.img-print-summary {
  max-height: 100px;
}
.table-print>thead>tr>th, .table-print>tbody>tr>th, .table-print>tfoot>tr>th {
  border-bottom: 2px solid black;
}
.table-print>thead>tr>td, .table-print>tbody>tr>td, .table-print>tfoot>tr>td {
  border-bottom: 1px solid grey;
}
.table-judicial>thead>tr>th, .table-judicial>tbody>tr>th, .table-judicial>tfoot>tr>th {
  border: 1px solid #dee2e6;
  background-color: #dee2e6 !important;
}
.table-judicial>thead>tr>td, .table-judicial>tbody>tr>td, .table-judicial>tfoot>tr>td {
  border: 1px solid #dee2e6;
}
.navflag {
  color: #fff !important;
}
.dropdown-success {
  color: #fff;
  background-color: #28a745;
}
.dropdown-success:active, .dropdown-success:hover {
  color: #fff;
  background-color: #218838;
}
.dropdown-danger {
  color: #fff;
  background-color: #dc3545;
}
.dropdown-danger:active, .dropdown-danger:hover {
  color: #fff;
  background-color: #c82333;
}
tr.archived {
  text-decoration: line-through;
  color: #828282;
}
.historyhr {
  margin: 0;
}
.defaultnone {
  display: none;
}
.modalhr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.modal-open .modal {
  overflow: hidden;
}
#otherPenalty {
  display: none;
}
#otherOffence {
  display: none;
}
#otherReg {
  display: none;
}
#fineamount {
  display: none;
}
#adminemail {
  display: none;
}

#pointsamount {
  display: none;
}
.select2-results {
  color: #000;
}
.table-nowrap {
  white-space: nowrap;
}

.changedetectionbtn {
  width: 100%;
}

.btn-code{color: #fff; background-color: #bf1564; border-color: #bf1564;}
.btn-code:hover{color: #fff; background-color: #8a0b46; border-color: #8a0b46;}
.btn-code:not(:disabled):not(.disabled):active{color: #fff; background-color: #8a0b46; border-color: #8a0b46; ?>;}
.btn-code:focus{box-shadow: 0 0 0 0.2rem rgba(191,21,100, 0.5);}
.btn-code:not(:disabled):not(.disabled):active{box-shadow: 0 0 0 0.2rem rgba(191,21,100, 0.5);}

@media (min-width: 768px) {
  .modal-xl {
    width: 90%;
    max-width:1800px;
  }
}

.page-header, .page-header-space {
  height: 100px;
}

.page-footer, .page-footer-space {
  height: 15px;
}

.page-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
}


.page {
  page-break-after: after;
}

.report>thead>tr>th, .report>tbody>tr>th, .report>tfoot>tr>th, .report>thead>tr>td, .report>tbody>tr>td, .report>tfoot>tr>td {
  padding: 0;
}

@media print {
  @page landscapePage {
    size: A4 landscape;
  }

  /* Apply landscape only to a specific section */
  .landscape {
    page: landscapePage;
  }

  /* General print styles */
  * {
    color: #000;
  }

  /* Header alignment for the landscape page */
  .landscape .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .landscape .page-header .row {
    display: flex;
    width: 100%;
  }

  .landscape .col-md-8, 
  .landscape .col-md-4 {
    flex: 1;
  }

  .landscape .col-md-8 {
    text-align: left;
  }

  .landscape .col-md-4 {
    text-align: right;
  }

  .landscape .img-print {
    max-width: 100px;
    height: auto;
  }

  /* Table styling only for landscape page */
  .landscape .table-judicial > thead > tr > th,
  .landscape .table-judicial > tbody > tr > th,
  .landscape .table-judicial > tfoot > tr > th {
    border: 1px solid #dee2e6;
    background-color: #dee2e6 !important;
  }

  .landscape .table-judicial > thead > tr > td,
  .landscape .table-judicial > tbody > tr > td,
  .landscape .table-judicial > tfoot > tr > td {
    border: 1px solid #dee2e6;
  }

  /* Footer applies only when printing */
  .divFooter {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
  }
}

@media print {
  div.divFooter {
    position: fixed;
    bottom: 0;
  }
}
@media screen {
  div.divFooter {
    display: none;
  }
}

.sticky-offset {
    top: 56px;
}

.navrow {
    margin-left:0;
    margin-right:0;
}
#sidebar-container {
    min-height: 100vh;   
    background-color: #222;
    padding: 0;
}

/* Sidebar sizes when expanded and expanded */
.sidebar-expanded {
    width: 230px;
}
.sidebar-collapsed {
    width: 60px;
}

/* Menu item*/
#sidebar-container .list-group a {
    height: 50px;
    color: white;
}

/* Submenu item*/
#sidebar-container .list-group .sidebar-submenu a {
    height: 45px;
    padding-left: 30px;
}
.sidebar-submenu {
    font-size: 0.9rem;
}

/* Separators */
.sidebar-separator-title {
    background-color: #222;
    color: #fff !important;
    height: 35px;
}
.sidebar-separator {
    background-color: #222;
    height: 25px;
}
.logo-separator {
    background-color: #222;    
    max-height: 60px;
}

.gap {
  margin-top: 56px;
}

.pointer{
  cursor:pointer;
}

.font-Gotham-Bold {
  font-family: Gotham-Bold, "Segoe UI";
}

.font-Bai-Jamjuree {
  font-family: Bai-Jamjuree, "Segoe UI";
}

.font-Source-Sans-Pro {
  font-family: Source-Sans-Pro, "Segoe UI";
}

.font-oxanium {
  font-family: "Oxanium", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.bg-gb3 {
  background-color: #FEFEFE;
}

.lineheight13 {
  line-height: 1.3 !important;
}