@font-face { font-family: DIN-Bold; src: url('../font/DIN_bold.woff'); }
@font-face { font-family: DIN-Bold; font-weight: bold; src: url('../font/DIN_bold.woff');}

@font-face { font-family: DIN-Light; src: url('../font/DIN_light.woff'); }
@font-face { font-family: DIN-Light; font-weight: bold; src: url('../font/DIN_light.woff');}

body {
    font-family: DIN-Light, sans-serif;
    padding-top: 65px !important;
    /* There were some with problems with a wierd margin, so this just removes it. */
    overflow-x: hidden;
}
@media (max-width: 979px) {
    body {
        padding-top: 0px;
    }
}
.hide {
    visibility: hidden;
}
#content {
    background-color: #eceff1 !important;
}
.btn, input, .multiselect, .multiselect-container, select, .modal-content {
    border-radius: 0 !important;
}
/* Add red color for too old vehicles */
.oldDriver {
    background-color: #e3000f;
    color: #fff;
}
.tooltip-inner {
    max-width: 350px;
}

/* No padding */
.no-pad {
    padding: 0;
}

.table th {
    background: grey;
    color: white
}

.datepicker td,
.datepicker span {
    border-radius: 0 !important;
}
.datepicker .active {
    background-color: #e3000f !important;
    background-image: none !important;
}
.datepicker table tr td.day.highlight {
    background-color: #eceff1;
}

/* Mammoet color */
.navbar {
    font-family: DIN-Bold, sans-serif;
    background-color: #263238;
    padding: 0;
    padding-right: 0.7vw;
}
#nav-image {
    background-color: #e3000f;
    padding: 0.7vw;
}
.btn {
    font-family: DIN-Bold, sans-serif;
}
.btn-custom {
    background-color: #e3000f;
    border-color: #e3000f;
    color: #fff;
}
.btn-custom:hover {
    background-color: #ca0714;
    border-color: #ca0714;
    color: #fff;
}

/* DAWA */
.autocomplete-container {
    /* relative position for at de absolut positionerede forslag får korrekt placering.*/
    position: relative;
    width: 100%;
    max-width: 30em;
}

.autocomplete-container input {
    /* Både input og forslag får samme bredde som omkringliggende DIV */
    width: 100%;
    box-sizing: border-box;
}

.dawa-autocomplete-suggestions {
    margin: 0.3em 0 0 0;
    padding: 0;
    text-align: left;
    border-radius: 0.3125em;
    background: #fcfcfc;
    box-shadow: 0 0.0625em 0.15625em rgba(0,0,0,.15);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 9999;
    overflow-y: auto;
    box-sizing: border-box;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion {
    margin: 0;
    list-style: none;
    cursor: pointer;
    padding: 0.4em 0.6em;
    color: #333;
    border: 0.0625em solid #ddd;
    border-bottom-width: 0;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:last-child {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    border-bottom-width: 0.0625em;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion.dawa-selected,
.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:hover {
    background: #f0f0f0;
}


/* JESPER SECTION */
    .TabelSize {
        overflow: auto;
    }

    img {
        cursor:  pointer;
    }

    /* Order Index warnings (Licence, inspection etc) */

    .slidedowntext {
        position: absolute;
        overflow-wrap: anywhere;
        overflow: hidden;
        transition: 1s ease-in-out;
        position: absolute;
        left: 1%;
        width: 250px;
        height: 50px;
        opacity: 1;
    }
    .slideuptext {
        position: absolute;
        overflow-wrap: anywhere;
        overflow: hidden;
        transition: .5s ease-in-out;
        position: absolute;
        left: -15%;
        width: 250px;
        height: 50px;
        opacity: 0;
        margin-top:  -14px;
    }
    .slideupmenu {
        overflow: hidden;
        width: 250px;
        height: 25px;
        text-align: center;
        line-height: 25px;
        border-radius: 5px;;
        border: 2px solid #e3000f;
        background-color:#e0e3e5;
        font-family: roboto;
        margin-bottom: 2.5px;
        margin-top: 2.5px;
    }

    .slideupmenu:Hover .slidedowntext {
        transition: .5s ease-in-out;
        opacity: 0;
    }
    .slideupmenu:Hover .slideuptext {
        left: 1%;
        opacity: 1;
    }


    .slidedowntext2 {
        transition: .5s ease-in-out;
        left: 1%;
        height: 25px;
        width: 250px;
        opacity: 1;
    }
    .slideuptext2 {
        overflow:  hidden;
        transition: .1s ease-in-out;
        left: -15%;
        width: 250px;
        height: 0px;
        opacity: 0;
        text-align: left;
    }
    .slideupmenu2 {
        position:  aboslute;
        width: 250px;
        height: auto;
        text-align: center;
        line-height: 25px;
        border-radius: 5px;
        border: 2px solid #e3000f;
        background-color:#e0e3e5;
        font-family: roboto;
        margin-bottom: 2.5px;
        margin-top: 2.5px;
    }

    .slideupmenu2:Hover {
        transition: .5s ease-in-out;
    }

    .slideupmenu2:Hover .slideuptext2 {
        transition: .1s ease-in-out;
        left: 0%;
        opacity: 1;
        height: auto;
    }

    /* Custom css for orders */
    .largerText{
        font-weight: bolder;
        font-family: 'DIN-Bold';
        font-size: 17px;
    }


.tableFixHead {
    overflow-y: auto; max-height: 680px;
}

.tableFixHead thead { position: sticky; top: -3px; z-index: 1; outline:  2px solid grey;}

/* Style the tab */
        .tab {
          overflow: hidden;
          border: 1px solid #ccc;
          background-color: #f1f1f1;
        }

        /* Style the buttons inside the tab */
        .tab button {
          background-color: inherit;
          float: left;
          border: none;
          outline: none;
          cursor: pointer;
          padding: 14px 16px;
          transition: 0.3s;
          font-size: 17px;
          background-color: #ccc;
        }

        /* Change background color of buttons on hover */
        .tab button:hover {
          background-color: #ddd;
        }

        /* Create an active/current tablink class */
        .tab button.active {
          background-color: #ddd;
        }

        /* Style the tab content */
        .tabcontent {
          display: none;
          padding: 6px 12px;
          border-top: none;
        }