﻿@import url('font-awesome/css/all.css');
@import url('bootstrap/bootstrap_lumera.css');
@font-face {
    font-family: AkkuratLLWeb;
    src: url('font-akkurat/AkkuratLLWeb-Regular.woff');
}

@font-face {
    font-family: AkkuratLLWeb;
    src: url('font-akkurat/AkkuratLLWeb-Bold.woff');
    font-weight: bold;
}

@font-face {
    font-family: AkkuratLLWeb;
    src: url('font-akkurat/AkkuratLLWeb-Italic.woff');
    font-style: italic;
}




#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;
    }

/*body#EikosTilbud {
    font-family: AkkuratLLWeb, Arial, sans-serif, Open Sans, Helvetica;
    background-color: white;
}*/


/* Common  */
.eikos-card.card {
    border-radius: 0;
}

.eikos-table {
    font-size: 0.9rem;
}

.navbar-dark   a.nav-link {
    color: rgb(255,255,255, 0.5);
    text-decoration: none;
}

.navbar-dark .active a.nav-link {
    color: white;
    text-decoration: none;
}

.eikos-dropdown-item:hover, .eikos-clickable-row:hover {
    cursor: pointer;
    background-color: lightgray;
    color: #212529;
}

.eikos-dropdown-item {
    padding-left: 1rem;
}


.eikos-text-regular {
    font-size: 14px;
}

.eikos-tilbud-tableheight {
    max-height: 140px;
    overflow-y: scroll;
}

/* Buttons */

[role=button] {
    cursor: pointer;
}

.eikos-btn.btn {
    border-radius: 0;
}




.eikos-btn-sm.btn {
   font-size: 12px;
}

.eikos-navlink {
    font-family: Arial;
    font-weight: 300;
}
.eikos-navlink-selected {
    font-family: Arial;
    font-weight: 600;
}

button.full-width {
    width: 100%;
    display: block;
}

/* Modal */
.eikos-modal-container {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.eikos-modal-overlay {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: rgba(0,0,0,0.5);
}

.eikos-modal-active {
    display: flex;
}

.eikos-modal {
    display: flex;
    background-color: #fff;
    flex-direction: column;
    width: 60rem;
    border: 1px solid rgba(0,0,0,.125);
    padding: 1.5rem;
    z-index: 4;
}

.eikos-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.eikos-modal-title {
    margin-bottom: 0;
    font-size: 24px;
}


/* Form */
.eikosTilbudForm label, .eikosTilbudForm table th {
    font-weight: bold;
    font-size: 14px;
}

.eikosTilbudForm .eikos-form-group.form-group {
    margin-bottom: 2px;
}

.eikos-form-control.form-control {
    border-radius: 0;
}

.eikos-form-control,  .eikos-form-control.form-control:focus {
    box-shadow: none;
}

.eikos-form-control.form-control:focus {
    border: 1px solid #143d8d;
}


.eikosTilbudForm .validation-errors {
    font-size :14px;
}

.eikosTilbudForm .validation-errors {
    font-size: 14px;
    margin-bottom: 0px;
}

/* Tilbudform table*/
.eikosTilbudForm .eikos-table .eikos-form-control {
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    height: 24px;
}

.eikosTilbudForm .eikos-table .btn {
    padding: 2px;
}

.eikos-number-cell {
    text-align : right;
}

/* Display table*/

.eikos-display-table {
    display: table;
}
.eikos-display-tablecell {
    display: table-cell;
}


/* Tables */
.eikos-table {
    width: 100%;
}
.eikos-table th, .eikos-table td {
    padding: 0;
    margin: 0;
    border: 1px solid #efefef;
}

.eikos-table .eikos-form-control {
    border: 0;
}

.eikos-table th {
    padding: 4px;
    background-color: #f8f9fa;
}

.eikos-table tfoot td {
    padding-top: 4px;
    border: 0;
}

.eikos-result-table {
    width: 100%;
}

.eikos-result-table td {
    color: #495057;
    padding: 4px 4px;
}
    .eikos-result-table td .number {
        text-align: right
    }

/* Premieberegning */

#Premieberegning div{
    font-size: 14px;
}

#Premieberegning label {
    font-size: 14px;
    font-weight : bold;
}


/* Loader */
.eikos-loader-container {
    font-family: 'Permanent Marker';
    position: absolute;
    top: 30vh;
    width: 100%;
    text-align: center;
    color: darkgray;
}

.eikos-loader-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .eikos-loader-ellipsis div {
        position: absolute;
        top: 33px;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background-color: darkgrey;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .eikos-loader-ellipsis div:nth-child(1) {
            left: 8px;
            animation: eikos-loader-ellipsis1 0.6s infinite;
        }

        .eikos-loader-ellipsis div:nth-child(2) {
            left: 8px;
            animation: eikos-loader-ellipsis2 0.6s infinite;
        }

        .eikos-loader-ellipsis div:nth-child(3) {
            left: 32px;
            animation: eikos-loader-ellipsis2 0.6s infinite;
        }

        .eikos-loader-ellipsis div:nth-child(4) {
            left: 56px;
            animation: eikos-loader-ellipsis3 0.6s infinite;
        }

@keyframes eikos-loader-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes eikos-loader-ellipsis3 {
    0% {
        transform: scale(1);
    }

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

@keyframes eikos-loader-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}
