﻿.navbar {
    background-color: #05bbd3!important;
    min-height: 60px;
}


#HeaderText{
    display:none;
}


img#clientLogo {
    left: 1.5em;
    padding-bottom: 5px;
    padding-top:5px
}

.ConsioListContainer {
    height: 150px;
    border: 1px solid #067080;
    border-radius: 8px;
    margin: 1em 0;
    width: auto;
    display: grid;
    grid-template-columns: 0px auto 15%;
    grid-template-rows: 40% auto;
    grid-template-areas:
        "image title edit"
        ". ingress .";
}

.ConsioListContainer .ConsioImageContainer {
    grid-area: image;
    grid-row: 0/3;
    height: 100%;
}



#contentLeft {
    overflow-y: auto;
}

.checkbox-wrapper {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
}

    .checkbox-wrapper::-webkit-scrollbar {
        width: 12px;
    }

    .checkbox-wrapper::-webkit-scrollbar-thumb {
        background-color: #cccccc;
        border-radius: 6px;
    }

    .checkbox-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

@media (max-width: 767px) {
    img#clientLogo {
        left: unset;
        right: 1.5em !important;
    }
}

/* ---------------- AVP produkter start ---------------- */

.avp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.avp-header h3 {
    margin: 0;
}

.comment-text {
    margin-bottom: 0;
    padding-bottom: 0;
}

.date-label {
    flex: 0 0 7%;
    max-width: 7%;
}

.date-field {
    flex: 0 0 14.5%;
    max-width: 14.5%;
}

/* ShowAvpProducts.cshtml start */

.companies-dd {
    font-weight: normal;
    display: block;
    margin-bottom: 5px;
}

.custom-btn {
    background-color: #2C3E50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 13px 8px 13px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

.custom-btn:hover {
    background-color: #1A252F;
    color: white;
}

#productsTable {
    border-spacing: 0;
    border-collapse: collapse; /* Ingen mellomrom mellom cellene */
}

#productsTable thead th {
    border-bottom: none;
}

#productsTable tbody tr {
    background-color: transparent;
    margin: 0;
    padding: 0;
}

#productsTable td {
    margin: 0;
    padding: 5px;
    vertical-align: middle;
}

.center-checkbox {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Sørg for at innholdet fyller cellen */
}

.center-checkbox input[type="checkbox"] {
    display: none; /* Skjul standard-checkbox */
}

.center-checkbox label {
    width: 15px;
    height: 15px;
    border: 1px solid black;
    border-radius: 3px; /* Runde hjørner */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed; /* Indikerer at den er deaktivert */
    background-color: white;
    position: relative;
    top: 10px;
}

.center-checkbox input[type="checkbox"]:checked + label::after {
    content: '✔'; /* Hakemerke */
    font-size: 15px;
    font-family: Arial, sans-serif;
    color: #43A047; /* Farge på hakemerket */
}

.action-cell {
    text-align: right;
    padding-right: 10px;
}


/* ShowAvpProducts.cshtml slutt */

/* Add og Edit views start */

.custom-back-btn {
    background-color: #fcfcfc;
    color: black;
    border: 1px solid #aaa;
    border-radius: 5px;
    padding: 5px 15px;
    text-decoration: none;
}

.custom-back-btn:hover {
    background-color: #ededee;
    color: black;
}

.nowrap-label label {
    white-space: nowrap;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.form-check-input {
    margin-left: 0; /* Reset any default browser margin if needed */
}

.delete-file-btn,
.delete-file-btn-existing {
    background: none;
    color: #a33;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    cursor: pointer;
    margin-left: 10px;
    line-height: 1;
    position: relative;
    bottom: 2px;
}

.delete-file-btn:hover,
.delete-file-btn-existing:hover {
    color: #511;
    text-decoration: none;
    background: none;
}

/* Add og Edit views slutt */

/* ---------------- AVP produkter slutt ---------------- */