html {
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    font-weight: 400;
    color: #202227;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.blue {
    color: #077197;
}


/* LOGIN */
.login-input,
.login-btn {
    padding: 10px 6px;
    border-radius: 6px;
}

.login-wrapper { 
    font-size: 15px;
    width: 315px; 
    max-width: 100%; 
    margin-top: -100px;
}

.logo-login {
    height: 87px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.logo-text {
    font-size: .87rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* REGISTER/PASSWORD */
.register-input,
.register-btn {
    padding: 10px 6px;
    border-radius: 6px;
}

.register-wrapper { 
    font-size: 15px;
    width: 500px; 
    margin-top: -100px;
}


.fixed-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    z-index: 1055;
}


.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #444f55;
  --bs-btn-border-color: #444f55;
  padding: .4rem .6rem;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    color: #fff;
    border-color: #076c91;
    background-color: #076c91;
}



.mt-10 {
    margin-top: 5rem;
}

.mb-10 {
    margin-bottom: 5rem;
}

.my-10 {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

.strong {
    font-weight: 400;
}

.lead {
    font-size: 1.1rem;
}

.lese-only {
    cursor: not-allowed;
    opacity: 0.65;
}

.col-form-label {
    font-size: .9rem;
}


/* BUTTON LAB */

.btn-lab {
    --bs-btn-color: #000;
    --bs-btn-bg: #f8f9fa;
    --bs-btn-border-color: #ced4da;
    font-size: 13px;
    font-weight: 400;

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #077197;
    --bs-btn-hover-border-color: #077197;

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #077197;
    --bs-btn-active-border-color: #077197;

    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-bg: #f8f9fa;
    --bs-btn-disabled-border-color: #ced4da;
}



/* NAVBAR */

.navbar-brand, .navbar-brand:hover {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1.25px;
    color: #353535;
    display: flex;
    align-items: center;
    gap: 12px;
    align-items: flex-start;
}

.sub-brand {
    font-size: .85rem;
    font-weight: 300;
    letter-spacing: normal;
    line-height: 1;
    padding-top: .35rem;
}

.brand-logo {
    height: 45px;        
    width: auto;
}

.brand-text {
    font-size: 1.15rem;
    line-height: 1.2;
    font-weight: 600;
    /*transform: translateY(-1px);*/
}

.brand-divider {
    width: 1px;
    height: 45px;        
    background-color: #ced4da;
    margin-left: 8px;
    margin-right: 8px;
}

.nav-link {
    text-transform: uppercase;
    font-size: 1rem;
}

.nav-link.active {
    font-weight: 400;
}






/* TABLE */


.table-logg {
    font-size: .75rem !important;
}

.table {
    font-size: .9rem;
    font-weight: 300;
}

.table>:not(caption)>*>* {
    padding: .5rem .7rem;
}

th {
    font-weight: 500;
    /*background-color: rgb(248, 249, 250) !important;*/
}

#utstyrstabell tr>td:hover {
    cursor: pointer;
}

.pointer {
    cursor: pointer;
}

#utstyrstabell.table>tbody>tr:hover td,
#utstyrstabell.table>tbody>tr:hover th {
  background-color: rgb(248, 249, 250) !important;
}

.table-row-link {
  cursor: pointer;
}

.table-row-link:hover td {
  background-color: rgba(7, 113, 151, 0.05);
}

.cell-link {
    display:block;
    width:100%;
    height:100%;
    text-align:center;
    cursor:pointer;
}

.table-row-done td {
    background-color: #eef7f1; /* veldig svak grønn */
}

.table-row-done td:first-child {
    border-left: 1px solid var(--bs-border-color);
}

.table-row-done td {
    border-top: 1px solid var(--bs-border-color);
}


/* Mobil */
@media (max-width: 600px) {

    body {
        font-size: 15px;
    }

    .brand-text {
        font-size: 1.2rem;
        line-height: 1;
        /*transform: translateY(-1px);*/
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .form-control-sm, .form-select-sm {
        padding: 8px;
        font-weight: 500 !important;
    }

    .btn.btn-sm {
        padding: .75rem;
    }

    .col-form-label {
        font-size: 1rem;
    }

    .login-wrapper .card {
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .login-wrapper .card-body {
        padding: 0 !important;
    }

    /* Fjern evt. Bootstrap spacing */
    .login-wrapper .card,
    .login-wrapper .card-body {
        border-radius: 0 !important;
    }

    .logo-box {
        margin-bottom: 5rem;
    }

    .logo-login {
        height: 92px;
        width: auto;
    }

    .logo-text {
        font-size: .92rem;
    }

    .login-input,
    .login-btn {
        padding: 12px 6px;
        border-radius: 6px;
    }

    .brand-logo, .brand-divider {
        display: none;
    }
}