/*  */
* {
  font-family: "Open Sans", sans-serif;
}

* {
  font-size: 14px;
}

body {
  font-family: "Lato", sans-serif;
  margin-top: 0px;
}

.sidebar {
  height: 100%;
  width: 200px;
  position: fixed;
  top: 60px;
  left: 0;
  background-color: #fcaf17;
  overflow-x: hidden;
  transition: 0.5s;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.arrow {
  border: solid black;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  border-color: red;
}

.closebtn {
  top: 130px;
  width: 28px;
  position: fixed;
  transition: margin-left .5s;
  left: 200px;
  text-decoration: none;
  padding: 6px;
  border-style: none;
  background-color: #cfcece;
  border-top-right-radius: 20%;
  border-bottom-right-radius: 20%;
}

.homebtn {
  top: 90px;
  position: fixed;
  transition: margin-left .5s;
  left: 200px;
  text-decoration: none;
  padding: 6px;
  border-style: none;
  background-color: #cfcece;
  color: blue;
  border-top-right-radius: 20%;
  border-bottom-right-radius: 20%;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
  margin-top: 70px;
  margin-left: 230px;
}

#content {
  transition: margin-left .5s;
  padding: 16px;
  margin-left: 225px;
}

#topbar {
  position: fixed;
  color: white;
  width: 100%;
  height: 50px;
  top: 0;
  left: 0;
}

.page-container {
  top: 60px;
  background-color: cadetblue;
}

.sidebar li .submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: smaller;
  font-weight: 600;
}

.sidebar li .submenu .nav-link {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: small;
  font-weight: 600;
}

.sidebar .nav-link {
  font-weight: 600;
  color: var(--bs-dark);
}

.sidebar .nav-link:hover {
  color: var(--bs-primary);
}

@media screen and (max-width: 558px) {
  .homebtn {
    top: 130px;
  }

  .closebtn {
    top: 170px;
  }

  .sidebar {
    top: 110px;
  }

  #main {
    margin-top: 118px;

  }

  .headingtext {
    font-size: smaller;
  }

  #regvehsel #regvehselopt {
    max-width: 100%;
  }

}

@media only screen and (max-width: 768px) {

  /* For mobile phones: */
  .backgroundvehicles {
    background-image: url(../Images/background_icon.png) !important;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: right 20px bottom 70px;
    height: 100%;
    background-size: 70% !important;
  }
}


/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.loader {
  border: 15px solid #fcaf18;
  border-radius: 50%;
  border-top: 15px solid #bcbdc0;
  width: 70px;
  height: 70px;
  -webkit-animation: spin 2s linear infinite;
  /* Safari */
  animation: spin 2s linear infinite;
  position: fixed;
  z-index: 9999;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#spinner {
  position: absolute;
  z-index: 9999;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background: black;
  opacity: .5;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.accordion-button {
  background-color: #fffcf5 !important;
}

.accordion-button:not(.collapsed) {
  background-color: #fcbe42d6 !important;
}

.backgroundvehicles {
  background-image: url(../Images/background_icon.png) !important;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: right 20px bottom 70px;
  /* height: 100% !important; */
  background-size: 50%;
}

.notes {
  width: 100%;
  height: 60vh;
  background-attachment: local;
  background-image:
    linear-gradient(to right, #feff9c 10px, transparent 10px),
    linear-gradient(to left, #feff9c 10px, transparent 10px),
    repeating-linear-gradient(#feff9c, #feff9c 30px, #ccc 30px, #ccc 31px, white 31px);
  line-height: 31px;
  padding: 8px 10px;
  box-shadow: 5px 5px 7px rgba(33, 33, 33, .7);
  outline: none;
}

@media print {
  .modal {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    overflow: visible !important;
  }

  body.modal-open {
    visibility: hidden;
  }

  body.modal-open .modal .modal-header,
  body.modal-open .modal .modal-body {
    visibility: visible;
    overflow: visible !important;

    /* make visible modal body and header */
  }
}