@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* Bootstrap overriden parameters */
:root {
  --bs-body-font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --bs-body-color: #4d80c1; /* Wimmer blue color */
  --bs-body-bg: #fff;

  --bs-bo_dy-color: red; /* Wimmer blue color */
  --bs-bo_dy-bg: yellow;

  --bs-gutter-x: 0px;
}

/* Own variables */
:root {
  --inactive-color: #808080;             /* Gray color */
  --link-color: var(--bs-body-color);    /* Link color */
}

/* Additional general classes */

h1:focus {
  outline: none;
}

a, .btn-link {
  color: var(--link-color);
}

#components-reconnect-modal {
  display: none;
}
#components-reconnect-modal.components-reconnect-show {
  display: none;
}

.disabled {
  color: #969696 !important;
}

/* ------------------------- */


/* Classes for Wimmer */

.row {
  --bs-gutter-x: 8px;
  margin-right: 0px;
  margin-left: 0px;
}

.container {
  padding-left: 0px;
  padding-right: 0px;
}

/* All pages for the user (narrow view) */

html {
  margin: auto;
}

body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  height: 100%;
}

body > div {
  height: 100%
}

.body-main {
  margin: auto;
  max-width: 575px;
}

.page {
  flex-direction: column !important;
}

.modal-dialog {
  max-width: 580px;
}

.float-left {
  float: left !important;
}
.float-right {
  float: right !important;
}

button.btn {
  font-size: 1.5em;
  margin-top: 30px;
  border-radius: 0px;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* ---------------------------------------------------------- */

.font {
    color: var(--bs-body-color);
    font-size: min(4.5vmin, 26px);
}

.font2 {
    color: var(--bs-body-color);
    font-size: min(3.5vmin, 23px);
}

.font9 {
  color: var(--inactive-color);
  font-size: 3.7vmin;
}

.underline {
    color: lightgrey;
    text-decoration: none;
    border-bottom: 2px solid;
    padding-bottom: 3px;
}

.zange {
    height: 70%;
}

.full {
    height: 100%;
}

.full-height {
  height: 100%;
}

.logo {
    width: 130px;
    height: 130px;
}



.imglow {
    width: 100px;
    height: 90%;
}

.sizeup {
    height: 305px;
    width: 1200px;
}
.backimg {
  background: url('/img/Wimmer_Mietpark Logo.svg?V2');
  background-repeat: no-repeat !important;
  background-position: center;
  min-height: 5em;
  padding-right: 0px !important;
  cursor: pointer;
}

/*
 .backimg {
  background: url('Wimmer_Mietpark Logo.svg');
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center;
  max-width: 35.9em;
  min-height: 5em;
  display: flex;
  justify-content: center;
  padding-left: 0px!important;
  padding-right:0px!important;
  padding-bottom: 0px !important;
}
*/


.column {
    /* The background image must be 800px wide */
    max-width: 800px;
}

.bottom {
    margin-bottom:2px;
}

.invert {
  background-color: var(--bs-body-color) !important;
  color: white !important;
  cursor: default !important;
}

.back {
  background-color: white;
  color: var(--bs-body-color);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropbtn {
  background-color: var(--bs-body-color);
  color: white;
  height: 37px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  width: 10em;
}

.dropbtn1 {
  color: var(--bs-body-color);
  width: 150%;
  height: 37px;
  font-size: 13px;
  border: solid 1px var(--bs-body-color);
  cursor: pointer;
  font-weight:900;
  background-color: white;
}
.dropbtn10 {
  color: var(--bs-body-color);
  width: 100%;
  height: 37px;
  font-size: 13px;
  border: solid 1px var(--bs-body-color);
  cursor: pointer;
  font-weight: 900;
  background-color: white;
}

.dropbtn4 {
  color: var(--bs-body-color);
 width:100%;
  height: 37px;
  font-size: 13px;
  border: solid 1px var(--bs-body-color);
  cursor: pointer;
  font-weight: 900;
  background-color: white;
  text-align:center;
}

.dropbtn5 {
  color: var(--bs-body-color);
  width: 118%;
  height: 37px;
  font-size: 13px;
  border: solid 1px var(--bs-body-color);
  cursor: pointer;
  font-weight: 900;
  background-color: white;
  text-align:center;
}

.dropbtn2 {
  color: var(--bs-body-color);
  width:190%;
  height: 37px;
  font-size: 13px;
  border: solid 1px var(--bs-body-color);
  cursor: pointer;
  font-weight: 900;
  background-color: white;
  text-align:center;
}

.dropbtn3 {
  color: var(--bs-body-color);
  width: 132%;
  height: 37px;
  font-size: 13px;
  border: solid 1px var(--bs-body-color);
  cursor: pointer;
  font-weight: 900;
  background-color: white;
  text-align:center;
}

.dropbtn6 {
  color: var(--bs-body-color);
  width:100%;
  height: 37px;
  font-size: 13px;
  border: solid 1px var(--bs-body-color);
  cursor: pointer;
  font-weight: 900;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: start;
  text-align:center;
}


.aut {
  text-align: center;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #f1f1f1
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: lightblue;
}


footer {
  position: fixed;
  bottom: 0;
  max-width: 575px;
  text-align: center;
}
main {
  margin: 0px;
  padding: 0px;
  margin-top: auto;

}


/*----------------------------------------*/
/* GRF20210915                            */
/*----------------------------------------*/

h1 {
  margin-top: 20px;
  margin-bottom: 20px;
  color: var(--bs-body-color);
  font-size: min(8vmin, 35px);
}

main {
  padding: 20px;
}

td.focused {
  background-color: lightgrey;
}

/*----------------------------------------*/
/* Navbar                                 */
/*----------------------------------------*/

.nav-container {
  float: right;
  width: 230px;
}

.nav-overlay {
  position: absolute;
  z-index: 99;
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-body-color); 
  overflow: hidden;
  width: 230px;
}

.nav-background {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0%;
  left: 0%;
  z-index: 98;
}

.nav-bar {
  position: relative;
}

.navbar-toggler {
  margin-top: -80px;
  margin-right: 10px;
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-bar hr {
  border: 1px solid var(--bs-body-color);
  margin: 0px;
  width: 100%;
}

/* On screens that are 992px or less, hide certain nav elements */
@media screen and (max-width: 991.98px) {
  .nav-fullscreen {
    display: none;
  }
}

/* Restrict the width of some form controls in full width */
@media screen and (min-width: 991.98px) {
  .form-select {
    width: unset;
  }
}

/* Appliance information after reservation confirmation */
.reservation-information .title,
.appliance-information .title {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 16px;
  margin-bottom: 10px;
}

.reservation-information .dim,
.reservation-information .dim-value,
.appliance-information .dim-group,
.appliance-information .dim,
.appliance-information .dim-value {
  margin-top: 4px;
  margin-bottom: 4px;
}

.appliance-information .dim-in-group {
  margin-top: 4px;
  margin-bottom: 4px;
  margin-left: 20px;
}


@media only screen and (max-width: 991.98px) and (orientation:landscape) {
  .hide-landscape {
    display: none;
  }
}

.busy {
  position: relative;
  opacity: 0.8;
}

.busy:after {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  content: ' ';
  cursor: progress;
}

.modal-body {
  font-size: 1.5rem;
}

.modal-dialog .modal-footer button {
  min-width: 150px;
}

/* ---------------------------- */
/* Log status                   */
/* ---------------------------- */

tr.log-info td {
}

tr.log-warning td {
  background-color: #ffc107 !important;
}

tr.log-error td {
  background-color: #dc3545 !important;
}

/* ---------------------------- */
/* Appliance availability       */
/* ---------------------------- */

.appliance-availability {
  width: 100%;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  border: 2px solid black;
  margin-bottom: 20px;
  border: 1px solid rgb(0, 123, 184);
  padding: 10px;

  color: var(--bs-body-color);
  background-color: white;
}

.appliance-availability .title {
  width: calc(100% - 40px);
  font-size: 20px;
  margin-bottom: 0px;
}

.appliance-availability .appliance {
  display: inline-block;
  max-width: 50%;
}

.appliance-availability .price {
  float: right;
  font-weight: normal;
  padding-left: 20px;
}

.appliance-availability.selected {
  color: white;
  background-color: rgb(0, 123, 184);
}

.appliance-availability .details-button {
  font-size: 18px;
  padding-right: 6px;
}

.appliance-availability .appliance-information {
  margin-top: 40px;
  font-weight: normal;
}

.appliance-availability .appliance-information .title {
  font-weight: normal;
  font-size: 18px;
}



hr {
  border: 1px solid lightgrey;
  width: 100%;
}

/* Form */

form h1
{
  margin-bottom: 30px;
}


/* ---------------------------- */
/* Appliance and adapter status */
/* ---------------------------- */

tr.status-available * {
  color: white;
  background-color: #008351;
}

tr.status-reserved * {
  color: black;
  background-color: cyan;
}

tr.status-rented * {
  color: white;
  /* background-color: #4d80c1; */
  background-color: cornflowerblue;
}

tr.status-returned * {
  color: black;
  background-color: orange;
}

tr.status-on-maintenance *,
tr.status-not-available * {
  color: white;
  background-color: #bf3922;
}

tr.status-sold * {
  color: white;
  background-color: black;
}

tr.status-new * {
  color: black;
  background-color: white;
}