#footerSpacer {
    height: calc(50px + 3px);
}
#footerSpacer footer {
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    background: #14348b;
    color: #FFFFFF;
}
#footerSpacer footer h3 {
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
    margin-top: calc((50px - 18px) / 2);
    margin-bottom: calc((50px - 18px) / 2);
}
#footerSpacer footer h3 span {
    line-height: 18px;
}
#footerSpacer.hiddenFooter {
    display:none;
}

.nav-tabs {
    background-color: rgba(0, 0, 0, 0);
    border-radius: 0;
}

#login, #remoteOpeningWizard {
    display: flex;
    min-height: 85vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#login img, #remoteOpeningWizard img {
    max-width: 300px;
    max-height: 300px;
}

.jumbotron {
    margin: 1em 0 !important;
    padding: 1em;
    background-color: #FFFFFF;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
}

.login .jumbotron {
    width: 600px;
    box-shadow: none;
}

.loginFormInput input, .loginFormInput button, 
#requestPasswordFormHolder input, #requestPasswordFormHolder button,
#forgotPasswordFormHolder input, #forgotPasswordFormHolder button, #forgotPasswordFormHolder textarea {
    margin: 1em 0 0 !important;
    padding: 1em;
    border-radius: 1rem;
    min-width: 50%;
}
.loginFormInput input {
    width: 100%;
}

.tableRow .collapsible {
    font-weight: bold;
}

#header {
    z-index: 999;
    position: fixed;
    width: 100%;
    background-color: #FFFFFF;
}
#header > ul {
    display: none !important;
}
#header .pointer:hover {
    cursor: pointer;
}
#header .dropdown-menu.show {
    min-width: 175px;
    margin-left: -100px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    line-height: 30px;
}
#header .dropdown-menu.show a {
    text-align: center;
}
#header .dropdown-menu.show > div {
    padding: 10px;
}
#header > div {
    display: flex;
    flex-direction: row;
}
#header .nav-tabs {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    border: none;
    background-color: rgba(0, 0, 0, 0);
}
#header .nav-tabs .nav-item {
    font-size: 16px;
    padding-left: 12px;
    padding-right: 12px;
}
#header .nav-tabs .nav-link {
    color: black;
    border: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 0;
}
#header .dropdown-toggle {
    background-color: #FFFFFF;
}
#header .right {
    text-align: end !important;
    flex-direction: row !important;
}
#header .right > .nav-tabs {
    display: none !important;
}
#header .right span {
    margin-bottom: 5px;
}
#header .right .dropdown-menu a {
    display: block;
}
#header .right .dropdown-menu a img {
    display: block;
    margin: 0 auto;
}

#containersContainer button.btn-primary {
    display: block;
    margin-top: 18px;
}

#map .mt-1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: center;
    align-items: center;
}
#map button {
    margin: 3px;
}

.tab-pane {
    /*margin-top: 25px;*/
    border: none;
}
.tab-pane h2, .tab-pane h3 {
    padding-left: 12px;
}
.tab-pane b.red {
    color: red;
}
.tab-pane b.green {
    color: green;
}
.tab-pane .row {
    margin: 0;
}
.tab-pane .modal .row {
    margin-bottom: 0.4rem;
}
.tab-pane .col-12 {
    padding: 0;
}
.tab-pane .activity {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 18px;
}
.tab-pane .activity.green {
    background-color: green;
}
.tab-pane .activity.orange {
    background-color: orange;
}
.tab-pane .activity.red {
    background-color: red;
}
.tab-pane .active:after {
    content: "\f106";
}
.tab-pane .content {
    padding: 0 18px 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #fff;
}
.tab-pane .expanded {
    padding: 18px;
}

#content {
    width: 100%;
}

.container.col-12 {
    padding: 0;
}

.nav-item a:hover {
    background: white;
}

.dropdown-menu {
    background: white;
}
@media only screen and (max-width: 1200px) {
    #logo img {
        max-width: 225px;
        max-height: 225px;
    }
}
@media only screen and (min-width: 601px) {
    #header {
        padding: 1em;
    }
    #header .left .nav-tabs {
        align-items: center;
    }
    #header .dropdown-toggle {
        line-height: 60px;
    }
    #header #logo img {
        max-height: 75px;
        padding-right: 18px;
    }
    #menuToggler {
        line-height: 75px;
    }
    .headerspacer {
        height: 100px;
    }
}
@media only screen and (max-width: 600px) {
    #header {
        padding: 0.3em;
    }
    #menuToggler {
        line-height: 41px;
    }
    #header .dropdown-toggle {
        line-height: 30px;
    }
    #header.expanded div .nav-tabs .nav-item {
        padding: 1em 0 1em 1em;
    }
    #header #logo img {
        max-height: 40px;
    }
    .login .jumbotron {
        margin: 0 !important;
        width: 100%;
        min-width: 0;
    }
    #header .left {
        max-width: 66%;
    }
    #header .left > div {
        width: 100%;
    }

    #header > ul {
        display: flex !important;
    }
    #header div > .nav-tabs {
        display: none;
    }
    #header.expanded > div {
        flex-direction: column;
    }
    #header.expanded div .nav-tabs {
        display: flex;
        flex-direction: column;
    }
    .right {
        display: none !important;
    }
    .headerspacer {
        height: 40px;
    }
    
    .bigControlsPage button {
        width: 100%;
        white-space: normal;
    }
}
#login h1 {
    color: white;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
#copyright {
    color: white;
    margin-top: 2rem;
}
#login > .jumbotron {
    background-color: unset;
}
#login > #forgotPasswordFormHolder, #login > #requestPasswordFormHolder {
    background-color: white;
}
#login > #requestPasswordFormHolder table {
    margin-left: auto;
    margin-right: auto;
}
#cardscanOrPasswordHolder div div {
    justify-content: center;
}
#cardscanOrPasswordHolder div div button {
    margin: 0.5em !important;
}

#backgroundImage {
    z-index: -100;
    width: 100vw;
    object-fit: cover;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
#backgroundImage.image:before {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}
#backgroundImage img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#logo, #logoWizard {
    background-color: white;
    border-radius: 1rem;
}
#notificationTable {
    margin-left: auto;
    margin-right: auto;
}
#notificationTable td:last-child {
    text-align:right;
}
#notificationTable #notificationTimeHolder {
    text-decoration: underline;
}
#timeSelector {
    text-align: center;
}
#timeSelector select {
    width: auto;
    display: inline-block;
}
.phonedDatatable button .time {
    padding-right: 1em;
}
.phonedDatatable .offerTable tr td:first-child{
    font-weight: bold;
}
.phonedDatatable .zeroRecords {
    padding-left: 12px;
    font-weight: bold;
    background-color: #f8f8ff;
    padding: 18px;
    color: #212529;
    font-style: italic;
}
#openWithBluetoothProgress tr.active td {
    font-weight: bold;
}
#openWithBluetoothProgress tr.waiting td {
    color: darkgrey;
}
#openWithBluetoothProgress tr.passed td {
    color: green;
}