html, body {
    width: 100%;
    height: 100%;
}

body {
    padding-top:42px;
}

.toptext {
    position: absolute;
    width: 100%;
}

.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.text-vertical-center h1 {
    margin: 0;
    padding: 0;
    font-size: 4.5em;
    font-weight: 700;
}

.header {
    background: url(/img/bg3.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.header {
    display: table;
    position: relative;
    width: 100%;
    height: 100%;
}
.header h1 {
    font-weight: 500;
    margin-bottom: 20px;
}
.header .today {
    margin-top: 0;
    font-weight: 400;
    font-size: 1.75rem;
}

section h2 {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.75rem;
}

section h3 {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: .5rem;
    line-height: 1.2;
    color: rgba(0,0,0,0.4)
}

.border-light-grey{border-color:#ccc!important}
.bg-info-text{background-color:rgba(190,229,235,.31)}

.btn-dark {
    border-radius: 0;
    color: #fff;
    background-color: rgba(0,0,0,0.4);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    color: #fff;
    background-color: rgba(0,0,0,0.7);
}

.bg-blue {
    color: #fff;
    background-color: #337ab7;
}

.bg-blue a {
    color: #fff;
    text-decoration: underline;
}

.bg-darkblue {
    background-color: #0D47A1!important;
}

.btn-kalender {
    color: #fff;
    background-color: #428bca;
    border-color: #428bca;
}

.btn-kalender:hover, .btn-kalender:focus, .btn-kalender:active, .btn-kalender.active, .open .dropdown-toggle.btn-kalender {
    color: #fff;
    background-color: #3276b1;
    border-color: #285e8e;
}

.border-darkblue {
    border-color: #0D47A1!important;
}

.navbar-brand {
    font-family: 'Rationale', sans-serif; font-size:30px; line-height: 1.1;
}

.width-40 {width: 40px;}

footer .nav-link {
    padding: .25rem .75rem;
}

footer .social a {color:#b7b7b7;}
a.facebook:hover {color:#3b5998;}
a.twitter:hover {color:#55acee;}
a.linkedin:hover {color:#007bb5;}

.links a {
    margin: 10px;
    width: 200px;
}

.mpl-1 {margin-left:1px!important;}
.mpr-1 {margin-right:1px!important;}

.btn-kalender {
    color: #fff;
    background-color: #428bca;
    border-color: #428bca;
}

.btn-kalender:hover, .btn-kalender:focus, .btn-kalender:active, .btn-kalender.active, .open .dropdown-toggle.btn-kalender {
    color: #fff;
    background-color: #3276b1;
    border-color: #285e8e;
}

abbr[title] {
    border-bottom: none;
    text-decoration: none;
}

.abbr-md abbr, .abbr-lg abbr, .abbr-xl abbr {display:none;}

#return-to-top, #return-to-previous {
    position: fixed; /* Fixed/sticky position */
    bottom: 10px; /* Place the button at the bottom of the page */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #428bca; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 12px 22px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    opacity: 0.75;
}
#return-to-top {
    display: none; /* Hidden by default */
    right: 10px; /* Place the button 30px from the right */
}
#return-to-previous {
    left: 10px; /* Place the button 30px from the right */
}
#return-to-top:hover, #return-to-previous:hover {
    background-color: #428bca; /* Add a dark-grey background on hover */
    opacity: 1;
}

.flex-same {flex: 1 1 0;}

.table-cell-mono {font-family: monospace;}
.table-kalender {border-color:#165982!important; border-width: 1px; border-style: solid; ;border-radius: 0 6px 6px 0;}
.table-kalender-border td, .table-kalender-border th {border: 1px solid #165982;}
.table-namedays .table-row:last-child, .table-row2:last-child {border-width: 0;}
.table-kalender td {text-align: left;}
.table-border-top-2 td {border-top-width: 3px;}
.table tr:first-child td {border-top-width:0}
.table-month {
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: #4b4b4b !important;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -5px;
    font-size: 18px;
    font-weight: 600;
    border-width: 1px 0 1px 1px;
    border-style: solid;
    border-color: #165982;
    padding-top: 10px;
    font-family: monospace;
    border-radius: 6px 0 0 6px;
}
.table-row, .table-row2 {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;

    border-bottom: 1px solid #e0e0e0;
    border-collapse: collapse;
    padding-top: 2px;
    padding-bottom: 1px;
}
.table-row2 {justify-content:space-between;}
.table-row2:hover {background-color: #F4F4F4;}

.dayrow td {border-color: #165982;}
.dayrow td:first-child {text-align: center; width: 50px;border-right-width: 1px; border-right-style: solid;}
.dayrow td:first-child b {font-size: 22px;}
.day-holiday {background-color: #e8f0fe;}

.cell-red {color:red;}

.header-line {
    position: -webkit-sticky;
    position: sticky;
    top: 53px;
}

.dropdown-divider {
    border-top-color: #165982;
}
.dropdown-menu {
    border-color:#165982!important;
    background-color: #f3fafe!important;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: #fff;
    background-color: #428bca;
}

@media (min-width: 768px) {
    .d-md-list-item {display:list-item!important;}
}

@media (max-width: 1200px) {
    .abbr-xl span {display:none;}
    .abbr-xl abbr {display:inline;}
}

@media (max-width: 992px) {
    .text-vertical-center h1 {font-size: 3em;}

    .abbr-lg span {display:none;}
    .abbr-lg abbr {display:inline;}
}

@media (max-width: 768px) {
    .toptext div {position: relative; text-align: center; padding:0px 50px 0px 0px;}

    h1 {font-size:2.0rem;}
    .text-vertical-center h1 {font-size: 2.5em;}
    .header .today {font-size: 1.5em;}

    .breadcrumb {font-size: 80%; padding: 0.5rem 1rem;}

    section h2 {
        font-size: 1.5rem;
    }

    .abbr-md span {display:none;}
    .abbr-md abbr {display:inline;}
}

@media (max-width: 576px) {
    .toptext {display:none;}
    .text-vertical-center h1 {font-size: 2em;}
    .header .today {font-size: 1.25em;}
}

@media all and (min-width: 800px) {
}

@media print {
    @page {
        size: A4;
    }
    @page :first {
        margin-top: 25pt;
    }
    html, body {
        width: 210mm;
        height: 297mm;
    }
    .header {
        width: 100%;
        height: 0;
    }
    .header .today {font-size: 1.75em;}
    .text-vertical-center h1 {font-size: 3em;margin-top:30px;}
    .isPrinting {margin:0!important;}
    .isPrinting mt-5 {margin-top:0!important;}
    .isPrinting mb-4 {margin-bottom:0!important;}

    .dayrow b {display:inline-block;width:30px;text-align: right;}
    .dayrow div {display:inline;}
    .dayrow td:first-child {text-align: left;width:150px;}
    .abbr-md span {margin-left:5px; display:inline;}
    .abbr-md abbr {display:none;}
}