@font-face {
    font-family: 'khfont';
    src: url("../fonts/siemreap.ttf") format("truetype");

  }
  @font-face {
    font-family: 'khfontmuol';
    src: url("../fonts/khosmuol.ttf") format("truetype");

  }
  body, a {

      font-family: 'khfont', verdana !important;
      

  }
  #toolbar form #searchbar {
 
    height: 2rem !important;
   
}
  input[type="submit"],input[type="reset"], button{
    font-family: 'khfont' !important;
    color: #f8f8f8 !important;
  }	
  select{
  font-family: 'khfont' !important;

  }
  #header {
    background-color: #008374 !important;
  }

  .header{
    font-weight: bold;
    text-align: center;
  }
  input[type=text],textarea,.datetime{
    font-family: 'khfont', verdana !important;
  }
  div.breadcrumbs, .module caption, .module h2, input[type=submit] {
    background-color: #005354 !important;
  }
  .module caption{
    background-color: #008374 !important;
  }
  .toggle-nav-sidebar {
    background-color: #333 !important;
  }

  th, td {
    page-break-inside: avoid !important;
    white-space: wrap  !important;
  }

  button {

    background: #005354 !important;
    padding: 4px 5px;
    border: none;
    border-radius: 4px;
    color: var(--button-fg);
    cursor: pointer;

  }
  h2 {font-size: 1rem !important;font-family: 'khfont' !important;}
  h3 {
    font-size: 0.8rem !important;font-family: 'khfont' !important;;
  }
  h1 {
    font-size: 1.5rem !important;font-family: 'khfont' !important;
  }

  caption, h2 {
    caption-side: top !important;font-family: 'khfont' !important;
    border-radius: 0.2rem;
  }
  .jumbotron {
           padding: 2rem 1rem !important;
  }
  .colMS h1{
    display: none;
  }
  .dashboard #content {
    width: 90% !important;
  }
  @media print { 
    @page {size: auto !important; orientation: auto !important} 
    .jumbotron, .navbar, .import_link, .export_link, .hd, .object-tools, #toolbar, #changelist-filter, .actions {
      display: none !important;
    }
    .adv{
	 background-color: #66CDAA !important;
         -webkit-print-color-adjust: exact;
         print-color-adjust: exact; /* Standard equivalent, though less widely supported */
 	}

    .sup{
  	background-color: #E1DE3D  !important;
        -webkit-print-color-adjust: exact;
         print-color-adjust: exact; /* Standard equivalent, though less widely supported */
     }
    .counter{
       background-color: #FE9A37  !important;
       -webkit-print-color-adjust: exact;
       print-color-adjust: exact; /* Standard equivalent, though less widely supported */
     }
    .sleader{
      background-color: #FFD230  !important;

    }

   
  }
  @media print and (orientation:landscape) {
   
   
    body {
       
        margin: 2mm 5mm 5mm 5mm;
    }
    .tohideforpinting, #header, .toggle-nav-sidebar {
       display: none;
      }
    nav {
        display: none;
    }
    .tb {
      width: 100%; 
     
     } 
    td {
      
      white-space: wrap  !important;
      text-align: left !important;
      /*white-space: nowrap  !important; old ui*/
    }

  
    th {
      text-align: center !important;
      white-space: nowrap  !important;
    }
    tr    { page-break-inside:avoid; page-break-after:auto }
    thead { display:table-header-group }
    tfoot { display:table-footer-group }
  }

  @media print and (orientation:portrait) {
   
   
    body {
       
        margin: 2mm 5mm 5mm 5mm;
    }
    .tohideforpinting, #header, .toggle-nav-sidebar {
       display: none;
      }
    nav {
        display: none;
    }
    td {
      
      white-space: nowrap  !important;
      text-align: left !important;
    }

    .des{
      white-space: wrap  !important;
    } 
    .tb {
      width: 100%; 
     } 
    th {
      text-align: center !important;
      white-space: nowrap  !important;
    }
    tr    { page-break-inside:avoid; page-break-after:auto }
    thead { display:table-header-group }
    tfoot { display:table-footer-group }
  }
