/* Google Font */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* Registration Font */

@font-face { font-family: 'UKNumberPlate'; 
  src: url('../fonts/UKNumberPlate.eot'); 
  src: url('../fonts/UKNumberPlate.eot?#iefix') format('embedded-opentype'), 
  url('../fonts/UKNumberPlate.woff') format('woff'), 
  url('../fonts/UKNumberPlate.ttf') format('truetype'); 
  font-weight: normal; 
  font-style: normal; 
}


html, body {
  font-family: "Roboto", sans-serif;
  color: #222;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  height: 100%;
  -webkit-text-size-adjust: none;
  background-color: #fafafa;
  font-size: 95%;
}

img {
  border-radius: 2.5px;
}

a {
  color:#000;
  text-decoration: none;
}

small a {
  text-decoration: underline;

}

/* Global Params */

ul, li {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  margin: 0;
  padding: 5px 0;
}

h1 {
  font-size: 2em;
}

h2 {
  color: #bed836;
}

h3 {
  font-size: 1.1em;
  margin-top: 5px;
}

p {
  line-height: 1.4em;
  margin: 0;
  padding: 0 0 5px 0;
}

/* Input */

input, select, button, textarea, date {
  display: block;
  padding: 10px 7.5px;
  border:none;
  border-radius: 5px;
  box-shadow: 0px 0px 1px 1px rgb(0,0,0,0.1);
  cursor: pointer;
  font-family: inherit;
  font-size:100%;
   -webkit-appearance: none; /* Resets Safari's default styling */
    appearance: none; /* Resets styling for other browsers with similar behavior */
    color:#000;
}

.selectYear {
  width: 100%;
}





input[type="time"] {
  width: 100%;
  box-sizing: border-box;
   -webkit-appearance: none; /* Resets Safari's default styling */
    appearance: none; /* Resets styling for other browsers with similar behavior */
}

input[type="checkbox"] {
  box-shadow: none !important;
}

input[type="date"] {
    width: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Add any additional styling here */
}

input[type="file"] {
    max-width: 100%; /* Ensure the input field doesn't exceed its parent's width */
    width: 100%; /* Ensure the input field fills the available width */
    box-sizing: border-box; /* Include padding and border in the element's total width */
    height: 35px;
     -webkit-appearance: none; /* Resets Safari's default styling */
    appearance: none; /* Resets styling for other browsers with similar behavior */
}

input[type="color"] {
  height: 25px;
  padding: 2.5px;
  width: 100%;
  border-radius: none;
}

::placeholder {
  color:#ccc;
}

button {
  width: 100%;
}

input:focus {
    outline-color: #bed836; /* Change the focus border color to red */
}

button {
  cursor: pointer;
}

textarea {
  width: auto;
  background-color: #fafafa;
}

select {
    max-width: 100%;
    width: 100%;
}

/* Colour */

.light-bg {
  background-color: #fff;
}

.dark-bg {
  background-color: #000;
}



.grid {
  display:grid;
}

/* Padding */

.p5 {
  padding:5px;
}

.p10 {
  padding:10px
}

.p15 {
  padding:15px;
}

.p25 {
  padding:25px;
}

/* Margins *//

.m5 {
  margin:5px;
}

.m10 {
  margin:10px
}

.m15 {
  margin:15px;
}

.m25 {
  margin:25px;
}

/* Gap */

.g5 {
  grid-gap: 5px;
}

.g10 {
  grid-gap: 10px;
}

.g15 {
  grid-gap: 15px;
}

.g25 {
  grid-gap: 25px;
}

.g50 {
  grid-gap: 50px;
}

/* Grid Alignments */

.aic {
  align-items: center;
}

.ais {
  align-items: start;
}

.aie {
  align-items: end;
}

.asc {
  align-self: center;
}

.alc {
  align-content:end;
}

.als {
  align-content: start;
}

.acc {
  align-content: center;
}

.ace {
  align-content: end;
}

.jse {
  justify-self: end;
}

.jcc {
  justify-content: center;
}

/* Text */

.tl {
  text-align: left;
}

.tr{
  text-align: right;
}

.tc {
  text-align: center;
}

/* Radius */

.r5 {
  border-radius: 5px;
  border:1px solid #d1d5dc;
}

.r5-db {
  border-radius: 5px;
  border:1px solid #213b55;
}

/* Status */

.online {
  color: green;
}

.offline {
  color: red;
}

/* Colours */

.white--bg {
  background-color: #fff;
}


.blue--bg {
  background-color: #bed836;
  color:#fff;
}

.dark--blue--bg {
  background-color: #213b55;
  color:#fff;
}

.green--bg {
  background-color: #10a37f;
  color:#fff;
}

.red--bg {
  background-color: #d22e2e;
  color: #fff;
}

.warning, .open {
  background-color: #fff5db;
  border:1px solid #fff5db !important;
}

.success, .completed {
  background-color: #e1f8d9;
  border:1px solid #e1f8d9 !important;
}

button.completed {
  box-shadow: 0px 0px 1px 1px rgb(225 248 217) !important;
}

button.open {
  box-shadow: 0px 0px 1px 1px rgb(255 245 219) !important;
}

.error {
  background-color: #ffd4d4;
  border:1px solid #ffd4d4 !important;
}


.status {
  display: inline-block;
  font-size: 50%;
  text-transform: uppercase;
  padding: 2.5px 5px;
  border-radius: 2.5px;
  margin: 5px 0;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
}


/* Error */

ul.parsley-errors-list {
  margin: 0;
  padding: 0;
}

ul.parsley-errors-list li {
  color: #d22e2e;
  font-size: 70%;
  list-style-type: none;
}

.field {
  position: relative;
}

.field ul {
  /* position: absolute; */
  right: 0;
  top: 0;
  padding: 5px 0 0 15px;
}

.field a {
  text-decoration: underline;
}


/* Table */

table {
  margin: 0;
}

table tbody tr, table thead tr {
  cursor: pointer;
}

table.dataTable thead tr th {
  white-space: nowrap;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    cursor: pointer;
}

table.dataTable thead .sorting:after {
    border-bottom: 4px solid #aaa; 
}

table.dataTable thead .sorting_asc:after {
    border-bottom: 4px solid #bed836; 
}

table.dataTable thead .sorting_desc:after  {
    border-top: 4px solid #bed836; 
}

table.dataTable thead th, table.dataTable thead td {
  padding: 10px !important;
}

table.dataTable thead th.sorting_asc, table.dataTable thead th.sorting_desc {
  color: #bed836;
}

td img {
    display: block;
    max-width: 100%; 
    height: auto; 
    padding: 0; 
    margin: 0; 
    border-radius: 5px;
}

td span.description-container {
  display: grid;
  grid-template-columns: 85px 1fr;
  grid-gap: 15px;
}
td span.description-container span.vehicle {
  display: grid;
  align-items: center;
  align-self: center;
}

td span.description-container span.vehicle strong {
  display: inline-block;
  line-height: 1.6em;
}

td span.description-container span.vehicle ul.description {
  display: inline-block;
  line-height: 1.6em;
  font-size: 90%;
}

td span.description-container span.vehicle ul.description li, td span.description-container span.vehicle ul.sources li {
  list-style-type: none;
  display: block;
}

td span.description-container span.vehicle ul.description li span.mobile {
  display: none;
}

td span.description-container span.vehicle ul.sources li{
  display: block;
  height: auto;
  padding: 2.5px 0;
  margin-top:2.5px;
}

td span.description-container span.vehicle ul.sources li img {
  display: inline-block;
  width: 65px;
  height: auto;
  margin:0 2.5px;
}

.date {
   white-space: nowrap;
}

.mce-panel {
  border:none !important;
  font-family: inherit !important;
}

/* Styles for signature plugin v1.2.0. */
.kbw-signature {
  display: inline-block;
  /* border: 1px solid #a0a0a0; */
  -ms-touch-action: none;
  margin: 0 0 25px 0;
}
.kbw-signature-disabled {
  opacity: 0.35;
}

.kbw-signature { 
  width: 290px; 
  height: 250px;
  background-color: #fafafa;
  box-shadow: 0px 0px 1px 1px rgb(0,0,0,0.1);
}

#sig {
  touch-action: none; /* Prevent scrolling while signing */
}

#sig canvas {
    width: 100% !important;
    height:250px;
    background-color: #fafafa;
    /* border: #000 1px dashed; */
}

.circle {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block; /* Ensures proper inline display for centering */
  margin: 2.5px 5px; /* Optional: Adds space between the circle and text */
}

.circle.completed {
  background-color: green;
}

.circle.scheduled {
  background-color: orange;
}

.circle.overdue {
  background-color: #e30000;
}

.tc {
  text-align: center; /* Aligns the content horizontally */
  vertical-align: middle; /* Aligns the content vertically */
}

small.status.overdue {
  color: #e30000;
  border:1px solid #e30000;
  white-space: nowrap;
}

.mce-tinymce {
  margin: 5px 0 !important
}