.header .logo {
    background-image:url("/tmp/resources/tjenestemandspension/img/logo_udbetalingDanmark_sort-aa994ab27987b7914497bcfd5122519e.png");
    width: 350px;
}

footer .footer .logo {
    background-image: url("/tmp/resources/tjenestemandspension/img/logo_udbetalingDanmark_sort-aa994ab27987b7914497bcfd5122519e.png");
}

p.w-percent-100 {
    max-width: 100%;
}

.text-muted {
    color: #b3b3b3 !important;
}

/* Fix problem where nav overflow menu was behind active tabnav link */
.nav .overflow-menu > .overflow-menu-inner {
    z-index: 600;
}

/* Fix problem where tooltips was hidden behind active tabnav and accordion on civilservant */
.tooltip-popper, .tooltip-popper .tooltip-arrow {
    z-index: 600;
}

/* Increase Desktop breakpoint max width (breakpoint stays the same, only container width is increased) */
@media (min-width: 1200px){
    .container{
        max-width:1400px;
    }

    .cookie-container .cookie-message{
        max-width:calc(1400px + 40px + 40px);
    }
}

/* Fix date fields showing the calendar button despite being readonly or disabled */
input.date-picker__external-input[readonly] + button.date-picker__button,
input.date-picker__external-input[disabled] + button.date-picker__button {
    display:none;
}

/* Tweak tooltip icon size */
button.js-tooltip .icon-svg {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    margin-bottom: 0.3rem;
}

/* Fix button in th tag (sort header post) */
th > button.button-unstyled {
    font-weight: 600 !important;
    font-size: 16px !important;

}

/* Fix nested table header border */
table.table > tbody > tr > td .table > thead > tr:last-child > th {
    border-bottom: 1px solid #bfbfbf;
}

table.table > tbody > tr > td .table > tbody > tr:last-child > th,
table.table > tbody > tr > td .table > tbody > tr:last-child > td {
    border-bottom: 0;
}

table.table > tbody > tr > td .table > tbody > tr:not(:last-child) > th,
table.table > tbody > tr > td .table > tbody > tr:not(:last-child) > td {
    border-bottom: 1px solid #bfbfbf;
}

/* Fix margin and padding on overflow menus inside tables */
table .overflow-menu .button-overflow-menu {
    min-height: unset;
    min-width: unset;
    padding: unset;
}

/* Expandable table styling tweaks */
table.table--expandable > tbody > tr[aria-hidden="true"] {
    display:none;
}

table.table--expandable > tbody > tr.expanded > td {
    border-bottom: 0;
}

table.table--expandable > tbody > tr.expanded > td:not(:first-child) {
    border-left: 0;
}

table.table--expandable > tbody > tr.expanded > td:not(:last-child) {
    border-right: 0;
}

table.table--expandable > tbody > tr:nth-last-child(2) > th,
table.table--expandable > tbody > tr:nth-last-child(2) > td,
table.table > tbody > tr > td table.table--expandable > tbody > tr:nth-last-child(2) > th,
table.table > tbody > tr > td table.table--expandable > tbody > tr:nth-last-child(2) > td{
    border-bottom: 0;
}

/** Overrides for dkfds styles when form-groups are placed in rows/columns **/
.col-xs-1 > .form-group:first-child,
.col-xs-2 > .form-group:first-child,
.col-xs-3 > .form-group:first-child,
.col-xs-4 > .form-group:first-child,
.col-xs-5 > .form-group:first-child,
.col-xs-6 > .form-group:first-child,
.col-xs-7 > .form-group:first-child,
.col-xs-8 > .form-group:first-child,
.col-xs-9 > .form-group:first-child,
.col-xs-10 > .form-group:first-child,
.col-xs-11 > .form-group:first-child,
.col-xs-12 > .form-group:first-child,
.col-xs-auto > .form-group:first-child,

.col-sm-1 > .form-group:first-child,
.col-sm-2 > .form-group:first-child,
.col-sm-3 > .form-group:first-child,
.col-sm-4 > .form-group:first-child,
.col-sm-5 > .form-group:first-child,
.col-sm-6 > .form-group:first-child,
.col-sm-7 > .form-group:first-child,
.col-sm-8 > .form-group:first-child,
.col-sm-9 > .form-group:first-child,
.col-sm-10 > .form-group:first-child,
.col-sm-11 > .form-group:first-child,
.col-sm-12 > .form-group:first-child,
.col-sm-auto > .form-group:first-child,

.col-md-1 > .form-group:first-child,
.col-md-2 > .form-group:first-child,
.col-md-3 > .form-group:first-child,
.col-md-4 > .form-group:first-child,
.col-md-5 > .form-group:first-child,
.col-md-6 > .form-group:first-child,
.col-md-7 > .form-group:first-child,
.col-md-8 > .form-group:first-child,
.col-md-9 > .form-group:first-child,
.col-md-10 > .form-group:first-child,
.col-md-11 > .form-group:first-child,
.col-md-12 > .form-group:first-child,
.col-md-auto > .form-group:first-child,

.col-lg-1 > .form-group:first-child,
.col-lg-2 > .form-group:first-child,
.col-lg-3 > .form-group:first-child,
.col-lg-4 > .form-group:first-child,
.col-lg-5 > .form-group:first-child,
.col-lg-6 > .form-group:first-child,
.col-lg-7 > .form-group:first-child,
.col-lg-8 > .form-group:first-child,
.col-lg-9 > .form-group:first-child,
.col-lg-10 > .form-group:first-child,
.col-lg-11 > .form-group:first-child,
.col-lg-12 > .form-group:first-child,
.col-lg-auto > .form-group:first-child,

.col-xl-1 > .form-group:first-child,
.col-xl-2 > .form-group:first-child,
.col-xl-3 > .form-group:first-child,
.col-xl-4 > .form-group:first-child,
.col-xl-5 > .form-group:first-child,
.col-xl-6 > .form-group:first-child,
.col-xl-7 > .form-group:first-child,
.col-xl-8 > .form-group:first-child,
.col-xl-9 > .form-group:first-child,
.col-xl-10 > .form-group:first-child,
.col-xl-11 > .form-group:first-child,
.col-xl-12 > .form-group:first-child,
.col-xl-auto > .form-group:first-child,

.col-1 > .form-group:first-child,
.col-2 > .form-group:first-child,
.col-3 > .form-group:first-child,
.col-4 > .form-group:first-child,
.col-5 > .form-group:first-child,
.col-6 > .form-group:first-child,
.col-7 > .form-group:first-child,
.col-8 > .form-group:first-child,
.col-9 > .form-group:first-child,
.col-10 > .form-group:first-child,
.col-11 > .form-group:first-child,
.col-12 > .form-group:first-child,
.col-auto > .form-group:first-child
{
    margin-top: 24px;
}


/** Autocomplete styling */
.autocomplete__wrapper {
    position: relative;
    max-width: 32rem;
}

.autocomplete__input {
    background-color: transparent;
    position: relative;
}

.autocomplete__hint {
    color: #b1b4b6;
    position: absolute;
    margin-top: 0;
    padding: 7px 34px 7px 15px !important;
    background-color: transparent;
}

.autocomplete__input--show-all-values {
    padding: 7px 34px 7px 15px !important;
    cursor: pointer;
}

.autocomplete__dropdown-arrow-down {
    z-index: -1;
    display: inline-block;
    position: absolute;
    right: 12px;
    width: 24px;
    height: 24px;
    top: 8px;
}

.autocomplete__menu {
    background-color: #fff;
    border: 1px solid #747474;
    color: #0b0c0c;
    margin: 0;
    max-height: 342px;
    overflow-x: hidden;
    padding: 0;
    width: 100%;
}

.autocomplete__menu--visible {
    display: block;
}

.autocomplete__menu--hidden {
    display: none;
}

.autocomplete__menu--overlay {
    box-shadow: rgba(0, 0, 0, .256863) 0 2px 6px;
    left: 0;
    position: absolute;
    top: 100%;
    z-index: 100;
}

.autocomplete__menu--inline {
    position: relative;
}

.autocomplete__option {
    border-bottom: solid #b1b4b6;
    border-width: 1px 0;
    cursor: pointer;
    display: block;
    position: relative;
    margin: 0;
    list-style-type: none;
    padding-top: 8px;
    padding-bottom: 8px;
}

.autocomplete__option::before {
    content: none;
}

.autocomplete__option > * {
    pointer-events: none;
}

.autocomplete__option:first-of-type {
    border-top-width: 0;
}

.autocomplete__option:last-of-type {
    border-bottom-width: 0;
}

.autocomplete__option--focused, .autocomplete__option:hover {
    background-color: #1d70b8;
    border-color: #1d70b8;
    color: #fff;
    outline: 0;
}

@media (-ms-high-contrast: active),(forced-colors: active) {
    .autocomplete__menu {
        border-color: FieldText;
    }

    .autocomplete__option {
        background-color: Field;
        color: FieldText
    }

    .autocomplete__option--focused, .autocomplete__option:hover {
        forced-color-adjust: none;
        background-color: SelectedItem;
        border-color: SelectedItem;
        color: SelectedItemText;
        outline-color: SelectedItemText;
    }
}

.autocomplete__option--no-results {
    background-color: #fafafa;
    color: #646b6f;
    cursor: not-allowed;
}

/* Fix tabnav styling for tabnav with links instead of buttons (this is a copy of styling from dkfds-virkdk.css for .tabnav) */
.tabnav-links > a{
    background-color:transparent;
    border:0;
    border-radius:0;
    font-weight:400;
    margin:0;
    padding:0;
    text-align:left;
    -webkit-font-smoothing:auto;
    color:inherit;
    min-height:auto;
    background-color:#F5F5F5;
    background-image:url("../../dkfds/img/svg-icons/remove.svg");
    background-position:left 1.6rem center;
    background-repeat:no-repeat;
    background-size:2.4rem;
    color:#1a1a1a;
    cursor:pointer;
    display:inline-block;
    margin:0;
    line-height:2.4rem;
    padding:1.6rem 1.6rem 1.6rem 5.6rem;
    width:100%;
    font-size:1.6rem;
    position:relative;
    transition:none;
    border-radius:3px;
    border:1px solid #747474;
}
.tabnav-links > a:hover,
.tabnav-links > a:focus{
    background-color:transparent;
    color:inherit;
}
.tabnav-links > a:hover{
    background-color:#DCDCDC;
    color:#1a1a1a;
}
.tabnav-links > a h1,
.tabnav-links > a .h1,
.tabnav-links > a h2,
.tabnav-links > a .h2,
.tabnav-links > a h3,
.tabnav-links > a .h3,
.tabnav-links > a h4,
.tabnav-links > a .h4,
.tabnav-links > a h5,
.tabnav-links > a .h5,
.tabnav-links > a h6,
.tabnav-links > a .h6{
    margin:0;
}
.tabnav-links > a .icon_text{
    font-weight:600;
    margin-right:8px;
    float:left;
}
.tabnav-links > a .accordion-icon{
    right:1.6rem;
    height:2.4rem;
    line-height:2.4rem;
    position:initial;
    text-align:left;
    transform:none;
    display:block;
    top:0.8rem;
}
@media (min-width: 768px){
    .tabnav-links > a .accordion-icon{
        text-align:center;
        position:absolute;
        transform:translateY(-50%);
        top:50%;
        display:flex;
    }
}
.tabnav-links > a .accordion-icon .icon-svg{
    fill:#1a1a1a;
    float:left;
}
.tabnav-links > a .accordion-icon:hover .icon-svg{
    fill:#1a1a1a;
}

.tabnav-links{
    margin:0;
    list-style-type:none;
    padding-left:0;
    margin:0;
    padding:0;
    width:100%;
}
.tabnav-links > li{
    margin-bottom:0;
    margin-top:0;
    padding-left:0;
}
.tabnav-links > li::before{
    content:"" !important;
    padding-right:0 !important;
}
.tabnav-links > ul li ul{
    list-style:disc;
}
.tabnav-links > ul li ul > li > ul{
    list-style:circle;
}
.tabnav-links > ul li ul > li > ul > li > ul{
    list-style:square;
}
.tabnav-links + .accordion, .accordion + .tabnav-links, .tabnav-links + .tabnav-links{
    margin-top:0.8rem;
}
.tabnav-links > li{
    list-style:none;
    margin-bottom:0.8rem;
    width:100%;
}
.tabnav-links > li > h1,
.tabnav-links > li > h2,
.tabnav-links > li > h3,
.tabnav-links > li > h4,
.tabnav-links > li > h5,
.tabnav-links > li > h6{
    margin-top:0px;
    margin-bottom:0px;
    letter-spacing:normal;
    max-width:none;
}

.tabnav-links > a.accordion-error{
    border:2px solid #CC0000;
}

.tabnav-links > a[aria-expanded=true]{
    background-color:#DCDCDC;
    border-radius:3px 3px 0 0;
}
.tabnav-links > a[aria-expanded=true]:not(.accordion-error){
    border-bottom:1px solid #BFBFBF;
}

.tabnav-links > a[aria-expanded=false]{
    background-image:url("../../dkfds/img/svg-icons/add.svg");
    background-repeat:no-repeat;
    background-size:2.4rem;
    border-radius:3px;
}

@media (min-width: 768px){
    .tabnav-links{
        margin:0;
        list-style-type:none;
        padding-left:0;
        list-style-type:none;
        padding:0;
        position:relative;
        display:flex;
        flex-wrap:wrap;
    }
    .tabnav-links > li{
        margin-bottom:0;
        margin-top:0;
        padding-left:0;
    }
    .tabnav-links > li::before{
        content:"" !important;
        padding-right:0 !important;
    }
}
.tabnav-links > a{
    max-width:none;
    text-decoration:none;
    margin-top:8px;
    margin-bottom:0;
}
@media (min-width: 768px){
    .tabnav-links > a{
        border:none;
    }
}
.tabnav-links > a[aria-selected=true]{
    background-color:#DCDCDC;
    border-radius:3px 3px 0 0;
}
.tabnav-links > a[aria-selected=false]{
    background-image:url("../../dkfds/img/svg-icons/add.svg");
    background-repeat:no-repeat;
    background-size:2.4rem;
    border-radius:3px;
}
.tabnav-links > a[aria-selected=false]:focus{
    background-color:#F5F5F5;
}
@media (min-width: 768px){
    .tabnav-links > a{
        display:inline-block;
        width:auto;
        color:#1a1a1a;
        text-align:center;
        text-decoration:none;
        padding:0px;
        background-color:transparent;
        border-radius:0px;
        line-height:normal;
        padding-top:8px;
        padding-bottom:8px;
        padding-left:24px;
        padding-right:24px;
        margin:0 4px 4px 0px;
        text-decoration:underline;
        border-top:4px solid white;
    }
    .tabnav-links > a[aria-selected=false]{
        background-color:#F5F5F5;
        background-image:none;
        border-radius:0px;
    }
    .tabnav-links > a:hover{
        background-color:#DCDCDC;
    }
    .tabnav-links > a:focus{
        outline:none;
    }
    .tabnav-links > a:focus span{
        outline:4px solid #747474;
    }
    .tabnav-links > a[aria-selected=true]{
        background-color:white;
        background-image:none;
        border:1px solid #747474;
        padding-left:calc(24px - 1px);
        padding-right:calc(24px - 1px);
        border-bottom:1px solid white;
        border-radius:0px;
        text-decoration:none;
        margin:0 4px -1px 0px;
        padding-bottom:calc(8px + 2px);
        position:relative;
        z-index:350;
    }
    .tabnav-links > a[aria-selected=true] span:not(.sr-only){
        display:block;
    }
}
@media (min-width: 768px){
    .tabnav-links > a:last-of-type{
        margin-right:8px;
    }
}
.civilservant-header-panel{
    border: #0b0c0c 2px;
    background-color: #F7FCF0;
}

.civilservant-header-panel h5{
    margin-top: 0;
    font-weight: 700;
}

/* Fix issue with modal backdrop above modal when modal is inside tabnav-panel */
.tabnav-links .tabnav-panel {
    z-index: unset !important;
}

.border-box {
    border: 1px solid #BFBFBF;
    box-shadow: 1px 1px 3px grey;
}

.fill-space {
    max-width: 100%;
}

.background-blue {
    background-color: #cee0f6;
}

.background-grey {
    background-color: #F5F5F5;
}

.background-light-yellow{
    background-color: #fcefc2;
}

.background-yellow{
    background-color: #f8e692;
}

.background-light-orange{
    background-color: #fcd2a2;
}

.background-orange{
    background-color: #f9ba73;
}

.no-decorate {
    text-decoration: none;
}

.fill-button {
    width: 100%;
}

.no-border {
    border-width: 0 !important;
}

.tr-color-lightgray {
    background-color: #fafafa!important;
}

.tr-color-darkgray {
    background-color: #f5f5f5!important;
}

.border {
    border: 1px solid #747474; /* You can adjust the width, style, and color */
    padding: 15px;
}

.remove-calculation {
    position:absolute;
    top:8px;
    right:8px;
    width:inherit;
    color:#1a1a1a;
}

#signingWindow {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    border: none;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}

.hidden {
    display: none;
}

.max-width-fit {
    max-width: fit-content !important;
}

.max-width-10percent {
    max-width: 10%;
}

.margin-top-auto {
    margin-top: auto;
}

.background-mitID {
    display: inline-block;
    width: 70px;
    height: 30px;
    background-image: url("/tmp/resources/tjenestemandspension/img/mitID-Logo-hvid-1a89b706a19e8962def9726e5a7bba01.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 10px;
}

.body-no-scroll {
    overflow: hidden;
}

.preserve-linebreaks {
    white-space: pre-line;
    word-break: break-word;
    word-wrap: break-word;
}

.word-break-break-word {
    word-break: break-word;
}

.white-space-pre-wrap {
    white-space: pre-wrap;
}

.font-weight-100 {
    font-weight: 100;
}

.input-separator-character {
    padding-top: 3%;
    padding-left: inherit;
    padding-right: inherit;
    font-weight: 300;
}
