@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    background-color: #F5F7F9;
    scroll-behavior: unset!important;
}

h1 {
    font-size: 1.25rem !important;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
    text-decoration: none;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #dc3545 !important;
}

.validation-message {
    color: #dc3545;
}

#blazor-error-ui {
    display: none;
}

/*#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}*/

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW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I4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/*#components-reconnect-modal {
    display: none;
}

    #components-reconnect-modal.components-reconnect-show,
    #components-reconnect-modal.components-reconnect-failed,
    #components-reconnect-modal.components-reconnect-rejected {
        display: block;
        background-color: white;
        padding: 2rem;
        border-radius: 0.5rem;
        text-align: center;
        box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
        margin: 50px 50px;
        position: fixed;
        top: 0;
        z-index: 10001;
    }*/

.custom-bold {
    font-weight: 600 !important;
}

.kontering::-webkit-input-placeholder {
    font-weight: 400 !important;
}

.breadcrumb {
    background-color: #e9ecef;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
}

.form-text {
    margin-top: 0px;
}

.form-check-input {
    border-color: #8e8e8e !important;
}

.invalid {
    outline-color: #dc3545;
    outline-width: 1px;
}

.validation-message {
    color: #dc3545;
    font-weight: 400 !important;
    font-size: 0.875rem;
}

.blockOverlay {
    cursor: default !important;
    background-color: #ffffff!important;
    /*opacity: 0.6 !important;*/
}

.blockElement {
    border: none !important;
    background-color: transparent !important;
}

.rbok-blockMsg {
    cursor: default !important;
    border: none !important;
    border-width: 0px !important;
    border-radius: 0px !important;
    background: rgba(250, 250, 250, 0.85) !important;
    text-align: center !important;
    background-color: white !important;
    display: inline-block !important;
    padding: 15px 15px 15px 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23) !important;
    font-size: 1.9rem;
}

.k-tooltip {
    border-color: #DEE2E6 !important;
    background-color: #fff !important;
    color: #000 !important;
    border-width: 1px !important;
    overflow: hidden !important;
}

.table-no-bottom-border tbody tr:last-child td {
    border-bottom: none;
}

table thead th {
    font-weight: 600;
}

.table-striped > thead > tr > * {
    --bs-table-bg-type: #F8F9FA;
}

.table-striped > tbody > tr:nth-of-type(even) > * {
    --bs-table-bg-type: #F5F5F5;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: #fff;
}

.table-striped > tfoot > tr > * {
    --bs-table-bg-type: #F8F9FA;
}

/*.table-striped > thead > tr > .column-sorted {*/
    /*--bs-table-bg-type: #F3F4F5;*/
    /*--bs-table-bg-type: red;
}

.table-striped > tbody > tr:nth-of-type(even) > .column-sorted {*/
    /*--bs-table-bg-type: #F0F0F0;*/
    /*--bs-table-bg-type: #FF0000 !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > .column-sorted {*/
    /*--bs-table-bg-type: #FAFAFA;*/
    /*background-color: #00FF00 !important;
}*/

.modal-adapt div:first-child {
    max-width: none;
    width: fit-content;
}

.rbok-cropper-error-load {
    max-height: inherit;
    max-width: 100%;
    display: block;
    margin-top: 115px;
    margin-bottom: 55px;
    margin-left: auto;
    margin-right: auto;
}

.right .k-input-inner {
    text-align: right !important;
}

.card-shadow {
    box-shadow: 0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);
}

.card-on-hover:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,.3),0 15px 12px rgba(0,0,0,.22);
}

.ansokan-banner {
    width: calc(100% + 100px);
    height: 252px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(12px);
    -webkit-filter: blur(12px);
    background-color: black;
    margin-left: -16px;
    margin-right: -16px;
    margin-top: -16px;
    margin-bottom: -16px;
}

    .ansokan-banner:after {
        display: block;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        content: "";
    }

.ansokan-container {
    position: absolute;
    top: 20px;
    left: 20px;
}

.ansokan-bild {
    width: 160px;
    height: 120px;
}

.ansokan-typ {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-top: 14px;
    line-height: 24px;
}

.ansokan-namn {
    color: white;
    font-size: 26px;
    font-weight: 600;
    line-height: 32px;
}

@media (min-width: 768px) {
    .ansokan-bild {
        width: 240px;
        height: 180px;
    }

    .ansokan-typ {
        font-size: 18px;
        margin-top: 0px;
        line-height: 22px;
    }

    .ansokan-namn {
        font-size: 32px;
        line-height: 42px;
    }
}


.aktivitet-banner {
    width: calc(100% + 100px);
    height: 252px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(12px);
    -webkit-filter: blur(12px);
    background-color: black;
    margin-left: -16px;
    margin-right: -16px;
    margin-top: -16px;
    margin-bottom: -16px;
}

    .aktivitet-banner:after {
        display: block;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        content: "";
    }

.aktivitet-container {
    position: absolute;
    top: 20px;
    left: 20px;
}

.aktivitet-bild {
    width: 160px;
    height: 120px;
}

.aktivitet-typ {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-top: 14px;
    line-height: 24px;
}

.aktivitet-namn {
    color: white;
    font-size: 26px;
    font-weight: 600;
    line-height: 32px;
}

@media (min-width: 768px) {
    .aktivitet-bild {
        width: 240px;
        height: 180px;
    }

    .aktivitet-typ {
        font-size: 18px;
        margin-top: 0px;
        line-height: 22px;
    }

    .aktivitet-namn {
        font-size: 32px;
        line-height: 42px;
    }
}


a:hover, a:active, a:focus {
    outline: none;
}

a:hover {
    text-decoration: underline;
}

    a:hover.dropdown-item {
        text-decoration: none;
    }

    a:hover.ansokan-item {
        text-decoration: none;
    }

    a:hover.aktivitet-item {
        text-decoration: none;
    }

    a:hover.resurs-item {
        text-decoration: none;
    }

.resurs-row:hover {
    background-color: #EDEEF0;
}

.k-calendar .k-alt {
    font-weight: 600 !important;
}

.k-scheduler-cell.k-heading-cell {
    font-weight: 600 !important;
    white-space: normal !important;
    text-align: center;
}

.k-scheduler-cell.k-side-cell {
    min-width: 39px !important;
}

    .k-scheduler-cell.k-side-cell.k-heading-cell.k-major-cell {
        /*min-width: 100px !important;*/
        padding-top: 0px;
        font-weight: 600;
        border-bottom-style: solid;
        border-bottom-width: 1px;
        /*border-bottom-color: red;*/
    }

.k-scheduler-nonwork, .k-scheduler .k-nonwork-hour {
    background-color: unset !important;
}

.current-month {
    background-color: white !important;
}

.time-closed {
    position: absolute;
    z-index: -1;
    top: 0px;
    left: 0px;
    background-color: #efefef;
}

.time-reserved {
    position: absolute;
    z-index: -1;
    top: 0px;
    left: 0px;
    height: 300px;
    width: 300px;
    background-image: linear-gradient(135deg, #cacaca 25%, #fafafa 25%, #fafafa 50%, #cacaca 50%, #cacaca 75%, #fafafa 75%, #fafafa 100%);
    background-size: 12px 12px;
}

.k-event-drag-hint {
    opacity: 1!important;
    background-color: rgba(13, 110, 253, 0.5)!important;
}

.k-event-actions {
    display: none;
}

.kendo-scheduler .k-event, .k-event {
    padding-right: 0px;
    min-height: 5px!important;
}

kendo-scheduler .k-event, .k-event {
    min-height: 5px !important;
}

.collapse:not(.show) {
    display: none;
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: none;
}

.table-hover > tbody > tr.collapse-item:hover > * {
    --bs-table-bg-state: whitesmoke!important;
}

.floating-action-button {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    color: #FFFFFF;
    border-color: #659DD6;
    background-color: #659DD6;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

    .floating-action-button:hover, .floating-action-button:focus, .floating-action-button:active, .floating-action-button:target {
        color: #FFFFFF !important;
        border-color: #659DD6 !important;
        background-color: #659DD6 !important;
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.4), 0 12px 40px 0 rgba(0, 0, 0, 0.38) !important;
    }

/*Telerik popup width*/
.k-child-animation-container {
    width: inherit;
}

.artikel-combobox {
    width: unset!important;
}

/*Badges*/
.badge-custom-pos {
    vertical-align: bottom;
    position: absolute;
    margin-left: -8px;
    margin-top: -5px;
    font-size: 9px;
}

.badge-nav-custom-pos {
    vertical-align: bottom;
    position: absolute;
    margin-left: -8px;
    margin-top: -9px;
    font-size: 11px;
}

.page-link {
    color: #6C6C6C !important;
}

    .page-link:hover {
        color: #3C3C3C !important;
    }

.components-reconnect-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: none;
    overflow: hidden;
    animation: components-reconnect-fade-in;
}

    .components-reconnect-overlay.components-reconnect-visible {
        display: block;
    }

    .components-reconnect-overlay::before {
        content: '';
        background-color: rgba(0, 0, 0, 0.4);
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        animation: components-reconnect-fadeInOpacity 0.5s ease-in-out;
        opacity: 1;
    }

    .components-reconnect-overlay p {
        margin: 0;
        text-align: center;
    }

    .components-reconnect-overlay button {
        border: 0;
        background-color: #6b9ed2;
        color: white;
        padding: 4px 24px;
        border-radius: 4px;
    }

        .components-reconnect-overlay button:hover {
            background-color: #3b6ea2;
        }

        .components-reconnect-overlay button:active {
            background-color: #6b9ed2;
        }

.components-reconnect-dialog {
    position: relative;
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: components-reconnect-slideUp 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-fadeInOpacity 0.5s ease-out 0.3s;
    animation-fill-mode: forwards;
    z-index: 10001;
}

.components-rejoining-animation {
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2) {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

@keyframes components-reconnect-fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-slideUp {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

/* Dölj Telerik Drop Down-Pil */
.k-dropdownlist .k-button{
    display: none;
}

/*a:focus-visible {
    text-decoration: underline!important;
    border-style: solid;
    border-width: 0.5px;
    border-radius: 5px 5px;
}*/

/*.rbok-menu-item:focus-visible .ms-2 {
    border: solid;
    border-style: dashed;
    padding: 3px;
}*/

a:focus-visible {
    text-decoration: underline !important;
    font-weight: 600;
}

a.rbok-menu-item {
    text-decoration: blink !important;
}

.rbok-menu-item:focus-visible .rbok-menu-item-text {
    border: solid;
    border-width: 2px;
    padding: 3px;
    border-radius: 10px;
}

a.rbok-menu-sub-item {
    text-decoration: blink !important;
}

.rbok-menu-sub-item:focus-visible .rbok-menu-sub-item-text {
    border: solid;
    border-width: 2px;
    padding: 3px;
    border-radius: 10px;
}

.rbok-grid-header-menu:focus-visible {
    border: solid;
    border-width: 2px;
    border-radius: 75%;
}

.rbok-grid-header-sort:focus-visible {
    text-decoration: underline !important;
    /*border: solid;*/
    /*border-width: 2px;*/
    font-weight: 600;
}

.rbok-grid-header-filter:focus-visible {
    border: solid;
    border-width: 2px;
    border-radius: 15%;
    color: black!important;
}

.rbok-grid-row-menu:focus-visible {
    border: solid;
    border-width: 2px;
    border-radius: 75%;
}

.dropdown-item:focus-visible {
    font-weight: 600;
}

a.ansokan-item {
    text-decoration: blink !important;
    font-weight: normal;
}

.ansokan-item:focus-visible .card-on-hover {
    border-style: solid;
    border-width: 2px !important;
    border-color: black;
    box-shadow: 0 14px 28px rgba(0,0,0,.3),0 15px 12px rgba(0,0,0,.22);
}

.dashboard-link:focus-visible .dashboard-icon {
    border-color: black;
    border-width: 2px!important;
    /*text-decoration: underline !important;*/
    /*border-style: solid !important;
    border-width: 0.5px !important;
    border-radius: 5px 5px !important;*/
}

.dashboard-link:focus-visible {
    text-decoration: underline !important;
}

.inloggningsmetod:focus-visible .inloggningsmetod-container-text {
    border-style: solid !important;
    border-color: black !important;
    border-width: 2px !important;
    border-radius: 10px;
}

.inloggningsmetod-link:focus-visible {
    text-decoration: underline !important;
}

.profil:focus-visible .profil-container-text {
    border-style: solid !important;
    border-color: black !important;
    border-width: 2px !important;
    border-radius: 10px;
}

.breadcrumb-item a:focus-visible {
    text-decoration: underline !important;
    font-weight: 600;
}

.breadcrumb-icon:focus-visible i {
    border-style: solid !important;
    border-color: black !important;
    border-width: 2px !important;
    border-radius: 10px;
    padding: 2px;
}

.rbok-nav-link.rbok-navbar-text:focus-visible {
    border-style: solid !important;
    border-width: 2px !important;
    border-radius: 10px;
    padding: 4px;
}

.forening-link:focus-visible {
    border-style: solid !important;
    border-width: 2px !important;
    border-radius: 2px;
    padding: 2px;
    margin: -4px;
}

.hjalp-link:focus-visible {
    border-style: solid !important;
    border-width: 2px !important;
    border-radius: 10px;
    padding: 4px;
}

.resurs-favorit:focus-visible {
    border-style: solid !important;
    border-color: black !important;
    border-width: 2px !important;
    border-radius: 10px;
    padding: 3px;
}

.resurs-bevaka:focus-visible {
    border-style: solid !important;
    border-color: black !important;
    border-width: 2px !important;
    border-radius: 10px;
    padding: 3px;
}

.resurs-info:focus-visible {
    border-style: solid !important;
    border-color: black !important;
    border-width: 2px !important;
    border-radius: 10px;
    padding: 3px;
}

