﻿a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: white;
    background-color: #1b6ec2;
    /*    text-transform: uppercase;*/
}

/*.navbar-light {
    background-color: #e4f1ff !important;
    border: none !important;
    border-width: 0 !important;
}*/

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #b94a48;
    background-color: #fff;
    border-color: #b94a48;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


.login-form {
    width: 340px;
    margin: 50px auto;
    font-size: 15px;
}

.login-form form {
    margin-bottom: 15px;
    background: #f7f7f7;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    padding: 30px;
}

.login-form h2 {
    margin: 0 0 15px;
}


.field-validation-error {
    color: #b94a48;
    display: inline-block;
    *display: inline;
    padding-left: 5px;
    vertical-align: middle;
    *zoom: 1;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    /*
    border: 1px solid #ff0000;
    background-color: #ffeeee;
    */
    color: #b94a48;
    border-color: #b94a48;
}

.input-validation-error:focus {
    border-color: #953b39;
    -webkit-box-shadow: 0 0 6px #D59392;
    -moz-box-shadow: 0 0 6px #d59392;
    box-shadow: 0 0 6px #d59392;
}

.validation-summary-errors {
    /*font-weight: bold;*/
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.app-w-35 {
    width: 35px;
}

.app-w-40 {
    width: 40px;
}

.app-w-50 {
    width: 50px;
}

.app-w-60 {
    width: 60px;
}

.app-w-100 {
    width: 100px;
}

.app-w-150 {
    width: 150px;
}

.app-w-200 {
    width: 200px;
}


.app-link {
    color: #0d6efd;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: normal;
}

.calendar-day {
    min-width: 30px;
    max-width: 30px;
    text-align: center;
    padding: 0.3rem;
    font-family: monospace;
}

.calendar-day-number {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .3px;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    min-width: 30px;
    max-width: 30px;
}

.calendar-day-text {
    font-size: 10px;
    display: inline-block;
    text-align: center;
    min-width: 30px;
    max-width: 30px;
}

.calendar-header {
    min-width: 30px;
    max-width: 30px;
    text-align: center;
    padding: 0;
    font-family: monospace;
}

.calendar-day-unavailable {
    text-align: center;
    background-color: #f7f7f7;
}


.calendar-month {
    vertical-align: middle !important;
    width: 80px;
    font-family: monospace;
}

.rota-row {
    border: 1px solid darkgray;
}

.rota-row-header {
    background-color: lightgrey;
    border: 1px solid gray;
}

.rota-col-header {
    border: 1px solid darkgray;
}

.rota-col {
    padding: 2px;
}


.rota-col-date {
    text-align: center;
    align-self: center;
    width: 100px;
    background-color: white;
    vertical-align: middle;
}

.rota-col-date-header {
    text-align: center;
    width: 100px;
}


.rota-col-edit {
    text-align: center;
    align-self: center;
    background-color: white;
    color: white;
    width: 35px;
}

.rota-col-edit-header {
    text-align: center;
    width: 35px;
}

.rota-col-day {
    background-color: white;
}

.rota-col-day-header {
    text-align: center;
}

.rota-col-day-no {
    font-size: 10pt;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.rota-oc-doctor {
    font-size: 24pt;
    font-weight: bold;
    flex: 0 0 30px;
}

.rota-occasion {
    font-size: 10pt;
    width: auto;
    text-align: center;
    border: none;
}

.table > :not(:first-child) {
    border-top: 0;
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }
}

.card-header {
    color: #000000;
    background-color: #ffffff;
    border-color: #ffffff;
}

.card-body {
    background-color: #ffffff;
}

.card-footer {
    background-color: #ffffff;
}

.modal-label {
    margin: 0;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: #1861ac;
    padding-left: 0.3rem;
}

.modal-value {
    margin: 0;
    padding-left: 0.75rem;
    font-size: 0.9rem;
    font-weight: bold;
}

@media print {
    body {
        zoom: 95%;
    }
    @page {
        size: A4 portrait;
        max-height: 99%;
        max-width: 99%; 
        margin: 0;
    }

    .slide-container, .slide-container * {
        visibility: visible !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
    }
}