﻿@import url('css/fontawesome/css/all.css');
@import url('css/bootstrap_lumera.css');

@font-face {
    font-family: AkkuratLLWeb;
    src: url('css/font-akkurat/AkkuratLLWeb-Regular.woff');
}

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

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


body {
    overflow-y: scroll;
}


/* Generic pixel widths */
.w-40p {
    width: 40px;
}

.w-60p {
    width: 60px;
}

.w-80p {
    width: 80px;
}

.w-100p {
    width: 100px;
}

.w-120p {
    width:120px;
}

.w-140p {
    width: 140px;
}

.w-280p {
    width: 280px;
}

lumeraroot .nav-item > .eikos-nav-link-header.nav-link {
    font-size: 1.2rem;
    color: var(--white);
    border-radius: 0;
}

/* Page rectangles / indicators */
.lumera-infobox {
    border: 1px solid rgba(0, 0, 0, 0.125);
    font-size: 10px;
    padding: 4px 8px;
}
    /* Could be a confusing selector:  Combination of some classes and hover on that
        I believe combination of classes takes presedence of single classes
    */
    .lumera-pointer.lumera-infobox.bg-light:hover {
        background-color: rgba(0, 0, 0, 0.075) !important;
    }


/* Navbar and navigations */
.navbar-brand > .lumeraImage {
    margin-top: -6px;
    margin-right: -4px;
    height: 33px;
}

.navbar .pensionFund {
    margin-left: 10px;
    margin-top: -7px;
    color: rgb(255,255,255,0.5);
    font-size: 10px;
    text-transform: uppercase;
}

.nav-pills .btn, .navbar .nav-pills .drop-down-item {
    font-size: 10px;
}

.nav-pills .btn {
    color: rgb(255,255,255,0.5);
    border-color: rgb(255,255,255,0.5);
}

.nav-pills .btn-selected {
    color: rgb(255,255,255);
}

.navbar a .fas {
    color: var(--white)
}

.lumera-blockquote {
    background-color: rgba(0, 0, 0, 0.05)
}

.nav-link-sm {
    display : block;
    padding: 0.25rem 0.5rem
}
.nav-pills .nav-link-sm.active {
    color : #fff;
}
/* Table styling */
.table-fit {
    width: 1px;
}

.table input, .table select, .table .remark {
    font-size: 0.8rem;
}

.lumera-table tr.disabled {
    color: var(--gray);
}

    .lumera-table tr.disabled input, .lumera-table tr.disabled select {
        background-color: #fff;
    }
.table tr.no-border-row td, .table tr.no-border-row th {
    border:0;
}

.table tr.new-row input , .table tr.new-row select {
    color: var(--blue);
    background-color : aliceblue;
}


/* Display table */
.dTable {
    display: table;
}

.dTableRow {
    display: table-row;
}

.dTableCell {
    display: table-cell;
}

.dTableCaption {
    display: table-caption
}

/* Link styling */

.lumera-pointer-not-allowed {
    cursor:not-allowed;
}

.lumera-pointer {
    cursor: pointer;
}

    .lumera-pointer .fas, a .fas {
        color: var(--info);
    }

        .lumera-pointer .fas.delete, a .fas.delete {
            color: var(--red);
        }


/* Fieldset */
.lumera-fieldset {
    padding: 20px;
}

    .lumera-fieldset legend {
        font-weight: bold;
        margin-bottom: 0;
        font-size: 14px;
        width: auto;
    }



/* Form*/
.lumera-form .lumera-form-group.form-group {
    margin-bottom: 2px;
}

.form-control-border-none {
    border: none;
}
/* Spin button*/
.fas.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
    color: var(--teal);
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}


/* Unhandled error pop up*/

#blazor-error-ui {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 140px;
    margin-top: -150px;
    margin-left: -200px;
}


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


/* 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;
    color: #143d8d;
    font-size: 24px;
}

strong.subheader {
    color: #143d8d;
}

blockquote {
    background: #fff;
    border-left: .7rem solid var(--primary);
    border-left-color: var(--primary);
    margin: 1.5em .7rem;
    padding: .5em .7rem;
}
/* Loader */
.lumera-loader-container {
    font-family: 'Permanent Marker';
    position: absolute;
    top: 30vh;
    width: 100%;
    text-align: center;
    color: var(--yellow);
}

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

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

        .lumera-loader-ellipsis div:nth-child(1) {
            background-color: var(--yellow);
            left: 8px;
            animation: lumera-loader-ellipsis1 0.6s infinite;
        }

        .lumera-loader-ellipsis div:nth-child(2) {
            background-color: var(--green);
            left: 8px;
            animation: lumera-loader-ellipsis2 0.6s infinite;
        }

        .lumera-loader-ellipsis div:nth-child(3) {
            background-color: var(--red);
            left: 32px;
            animation: lumera-loader-ellipsis2 0.6s infinite;
        }

        .lumera-loader-ellipsis div:nth-child(4) {
            background-color: var(--blue);
            left: 56px;
            animation: lumera-loader-ellipsis3 0.6s infinite;
        }

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

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

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

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

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

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