﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
h1{
  font-weight: 600;
  font-size: 40px;
  color: var(--text-color);
}

h2{
  font-weight: 500;
  font-size: 36px;
  color: var(--text-color);
}

h3{
  font-weight: 500;
  font-size: 32px;
  color: var(--text-color);
}

h4{
  font-size: 18px;
  color: var(--text-color);
}

h4 span{
  color: var(--primary-color)
}

a{
  text-decoration: none;
  cursor: pointer;
}

p {
    color: var(--text-color)
}

.text-center {
    text-align:center;
}

.btn-center {
  display: flex;
  flex-flow: row wrap;
  gap: 0.5rem;
}

.btn{
    border-radius: 4px;
}
.btn-group {
    display: flex;
    gap: 0.5rem;
    padding-left: 1rem;
}

.btn-group.group-header {
    justify-content: end;
}

.btn-primary {
    border: 1.8px solid var(--primary-color);
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 5px;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    cursor: pointer;
    font-size: 17px;
}

    .btn-primary:hover {
        background-color: var(--primary-color);
        color: var(--body-color);
        transition: 0.3s;
        color: #fff;
        border-radius: 4px;
    }
    .btn-primary:disabled {
        opacity: 0.5;
    }

.btn-secondary {
    border: 1.8px solid var(--primary-color);
    color: var(--primary-color);
    background-color: var(--body-color);
    border-radius: 5px;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    cursor: pointer;
    font-size: 17px;
}

    .btn-secondary:hover {
        transition: 0.3s;
        background-color: var(--primary-color);
        color: #fff;
    }
    .btn-secondary:disabled {
        opacity: 0.5;
    }
.btn-danger {
    border: 1.8px solid #c70000;
    color: #fff;
    background-color: #c70000;
    border-radius: 5px;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    cursor: pointer;
    font-size: 17px;
}

    .btn-danger:hover {
        background-color: #c70000;
        color: var(--body-color);
        transition: 0.3s;
        color: #fff;
        border-radius: 4px;
    }
    .btn-danger:disabled {
        opacity: 0.5;
    }

.btn-full {
    border: 1.8px solid var(--primary-color);
    color: #fff;
    border-radius: 5px;
    background-color: var(--primary-color);
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    cursor: pointer;
    font-size: 17px;
}

:root {
    /* ===== Colors ===== */
    --body-color: #f4f4f4;
    --sidebar-color: #c4c4c4;
    --primary-color: #43B14B;
    --primary-color-light: #e3e3e3;
    --toggle-color: #202020;
    --text-color: #202020;
    --card-color: #d9d9d9;
    --table-color: #efefef;
    --card-green-color: #43B14B;
    --card-yellow-color: #ffed4e;
    --card-red-color: #fa4d41;
    --card-green-footer-color: #3a9440;
    --card-yellow-footer-color: #f0db22;
    --card-red-footer-color: #c93a2f;
    /* ====== Transition ====== */
    --tran-03: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.3s ease;
    --tran-05: all 0.3s ease;
}

body{
    min-height: 100vh;
    background-color: var(--body-color);
    transition: var(--tran-05);
}

::selection{
    background-color: var(--primary-color);
    color: #fff;
}

body.dark {
    --body-color: #18191a;
    --sidebar-color: #242526;
    --primary-color: #43b14b;
    --table-color: #18191a;
    --primary-color-light: #3a3b3c;
    --toggle-color: #fff;
    --text-color: #fff;
    --card-color: #242526;
    --card-green-color: #2e7933;
    --card-yellow-color: #e4d232;
    --card-red-color: #8f302a;
    --card-green-footer-color: #399e40;
    --card-yellow-footer-color: #f8e852;
    --card-red-footer-color: #c5352a;
}

::-webkit-scrollbar {
  width: 10px;
}

  ::-webkit-scrollbar-track {
      background-color: #fff;
  }

  ::-webkit-scrollbar-thumb {
    background-color: rgb(172, 172, 172);
  }

  ::-webkit-scrollbar-thumb:hover {
    background-color: #43B14B;
  }

.sidebar.close ~ .home {
    left: 78px;
    height: 100vh;
    width: calc(100% - 78px);
}

#mobile-toggleBar {
    display: none;
    color: var(--text-color);
}

.home {
    position: absolute;
    top: 0;
    top: 0;
    left: 250px;
    height: 100vh;
    width: calc(100% - 250px);
    background-color: var(--body-color);
    transition: var(--tran-05);
}
.home .text{
    font-size: 30px;
    font-weight: 500;
    color: var(--text-color);
    padding: 12px 60px;
}

body.dark .home .text .details-card{
    color: var(--text-color);
}

.main{
  margin-top: 4vh;
  margin-left: 4.5rem;
}

.expand{
  color: var(--primary-color);
  font-size: 22px;
  float: right;
  cursor: pointer;
}

#deliveries{
  display: none;
}

#despatch{
  display: none;
}


#details-link{
  float: right;
  color: var(--text-color);
  margin: 5px;
}

table{
  color: var(--text-color);
  width: 100%
}
table td{
  background-color: var(--table-color);
}

table td a {
  color: var(--primary-color);
}
.details-table {
    padding-bottom: 1rem;
}
.details-table td, th {
    background-color: transparent;
    padding: 0 1rem;
}

.text p{
  font-weight: normal;
  font-size: 22px
}

.customRow {
    height: 50px;
    padding-left: 20px;
}

.asset-table {
    grid-column: 2/4;
    background-color: var(--card-color);
    border-radius: 4px;
}

th{
  font-weight: normal;
  text-align: left;
  font-size: 14.5px;
  padding-top: 1.2em;
  margin-top: 20px;
}

.row{
  display: flex; 
  justify-content: space-between;
   margin-right: 2.5em;
}

td{
  font-weight: normal;
  font-size: 16px
}
.form-control {
    background-color: white;
    border: none;
    width: 100%;
    border-radius: 0.4rem;
    padding: 0.5rem;
    box-sizing: border-box;
    font-size: medium;
}
input,select.form-control {
    min-height: 2rem;
    height: 3rem;
}
.form-control2 {
    right: 5px;
    background-color: white;
    border: none;
    width: 20%;
    border-radius: 0.4rem;
    padding: 0.5rem;
    box-sizing: border-box;
    font-size: medium;
}

input, select.form-control2 {
    min-height: 2rem;
    height: 3rem;
}

textarea.form-control {
    height: 4rem;
}

input,select,textarea:focus {
    outline: none !important;
    border: none;
    box-shadow: none;
}

.csvUploadInput {
    text-align-last:center;
}

@media(max-width: 1080px) {
    .text{
    font-size: 60%
  }
}
.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1250px;
  }
  @media (min-width: 1400px) {
  .container {
    width: 1620px;
  }
}
}

.entries-form {
    width:120px; 
    margin-left:15px;
}
.location-form {
    width: 200px;
    margin-left: 15px;
}
.btn-filter {
    margin-top: 2.1rem;
    margin-left: 15px;
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 3; 
 /* padding-top: 100px; */
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
}

.modal-content {
  position: relative;
  border-radius: 4px;
  background-color: var(--body-color);
  margin: auto;
  color: var(--text-color);
  width: 40%;
  top: 20%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  text-align: center;
}

.modal-confirm {
    position: relative;
    border-radius: 4px;
    background-color: var(--body-color);
    margin: auto;
    color: var(--text-color);
    width: 25%;
    top: 20%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    text-align: center;
}

.modalwide-content {
    position: relative;
    border-radius: 4px;
    background-color: var(--body-color);
    margin: auto;
    color: var(--text-color);
    width: 50%;
    top: 3%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop-wide;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop-wide;
    animation-duration: 0.4s;
    text-align: left;
}

@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:20%; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:20%; opacity:1}
}

.close {
  color: var(--text-color);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  color: white;
  border-radius: 4px 4px 0 0;
  background-color: var(--card-color);
}

.modal-body {
  padding: 30px;
  min-height: 20vh
}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

#reader{
  max-width: 200px;
}

@media (max-width: 768px) {
    .sidebar.close ~ .home {
        height: 100%;
        width: 100%;
    }

    .home {
        position: unset;
        width: 100%
    }

    .btn {
        min-width: max-content;
        height: 100%;
        font-size: 14px;
    }

    .main {
        margin: 0;
        padding: 0 0 0 1.5rem;
        height: 100%;
        width: 100%;
    }

    .btn-center {
      flex-flow: column wrap;
    }

    #mobile-toggleBar {
        display: inline;
    }
}

#error-box{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25vh;
    text-align: center;
    color: var(--text-color);
    
}

    #error-box h1 {
        font-size: 80px;
    }
    #error-box h1 i {
        color: var(--card-red-color);
    }

/* Printables */
.font-face {
    font-family: "MS Mincho";
    panose-1: 2 2 6 9 4 2 5 8 3 4;
}

.font-face {
    font-family: "MS Gothic";
    panose-1: 2 11 6 9 7 2 5 8 2 4;
}

.font-face {
    font-family: "Cambria Math";
    panose-1: 2 4 5 3 5 4 6 3 2 4;
}

.font-face {
    font-family: "Microsoft Sans Serif";
    panose-1: 2 11 6 4 2 2 2 2 2 4;
}

.font-face {
    font-family: "Franklin Gothic Demi";
    panose-1: 2 11 7 3 2 1 2 2 2 4;
}

.font-face {
    font-family: "\MS Gothic";
    panose-1: 2 11 6 9 7 2 5 8 2 4;
}

.font-face {
    font-family: "\MS Mincho";
    panose-1: 2 2 6 9 4 2 5 8 3 4;
}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal {
    margin: 0in;
    line-height: 130%;
    font-size: 9.0pt;
    font-family: "Microsoft Sans Serif",sans-serif;
    color: #262626;
}

p.MsoTitle, li.MsoTitle, div.MsoTitle {
    mso-style-link: "Title Char";
    margin-top: 4.0pt;
    margin-right: 0in;
    margin-bottom: 0in;
    margin-left: 5.05pt;
    line-height: 130%;
    font-size: 26.0pt;
    font-family: "Franklin Gothic Demi",sans-serif;
    color: black;
    text-transform: uppercase;
}

p.MsoTitleCxSpFirst, li.MsoTitleCxSpFirst, div.MsoTitleCxSpFirst {
    mso-style-link: "Title Char";
    margin-top: 4.0pt;
    margin-right: 0in;
    margin-bottom: 0in;
    margin-left: 5.05pt;
    line-height: 130%;
    font-size: 26.0pt;
    font-family: "Franklin Gothic Demi",sans-serif;
    color: black;
    text-transform: uppercase;
}

p.MsoTitleCxSpMiddle, li.MsoTitleCxSpMiddle, div.MsoTitleCxSpMiddle {
    mso-style-link: "Title Char";
    margin-top: 0in;
    margin-right: 0in;
    margin-bottom: 0in;
    margin-left: 5.05pt;
    line-height: 130%;
    font-size: 26.0pt;
    font-family: "Franklin Gothic Demi",sans-serif;
    color: black;
    text-transform: uppercase;
}

p.MsoTitleCxSpLast, li.MsoTitleCxSpLast, div.MsoTitleCxSpLast {
    mso-style-link: "Title Char";
    margin-top: 0in;
    margin-right: 0in;
    margin-bottom: 0in;
    margin-left: 5.05pt;
    line-height: 130%;
    font-size: 26.0pt;
    font-family: "Franklin Gothic Demi",sans-serif;
    color: black;
    text-transform: uppercase;
}

span.TitleChar {
    mso-style-name: "Title Char";
    mso-style-link: Title;
    font-family: "Franklin Gothic Demi",sans-serif;
    color: black;
    text-transform: uppercase;
}

p.Normalright, li.Normalright, div.Normalright {
    mso-style-name: "Normal right";
    margin-top: 3.0pt;
    margin-right: 0in;
    margin-bottom: 1.0pt;
    margin-left: 0in;
    line-height: 130%;
    font-size: 11.0pt;
    font-family: "Microsoft Sans Serif",sans-serif;
    color: #0D0D0D;
    letter-spacing: .2pt;
    font-weight: bold;
}

p.Style1, li.Style1, div.Style1 {
    mso-style-name: Style1;
    mso-style-link: "Style1 Char";
    margin-top: 3.0pt;
    margin-right: 0in;
    margin-bottom: 1.0pt;
    margin-left: 0in;
    line-height: 130%;
    font-size: 14.0pt;
    font-family: "Franklin Gothic Demi",sans-serif;
    color: #236A46;
    letter-spacing: .2pt;
}

span.Style1Char {
    mso-style-name: "Style1 Char";
    mso-style-link: Style1;
    font-family: "Franklin Gothic Demi",sans-serif;
    color: #236A46;
    letter-spacing: .2pt;
}

.MsoChpDefault {
    font-size: 9.0pt;
    font-family: "Microsoft Sans Serif",sans-serif;
    color: #262626;
}

.MsoPapDefault {
    line-height: 130%;
}
/* Page Definitions */
.page WordSection1 {
    size: 8.5in 11.0in;
    margin: .5in .6in 1.0in .6in;
}

div.WordSection1 {
    page: WordSection1;
}
