﻿.modal-backdrop {
    z-index: 800; /*Musste niedriger gesetzt werden, da das Modal ansonsten hinter dem backdrop liegt*/
}

/*Fonts*/
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/Barlow/Barlow-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: bold;
    src: url('/fonts/Barlow/Barlow-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Barlow';
    font-style: italic;
    font-weight: normal;
    src: url('/fonts/Barlow/Barlow-Italic.ttf') format('truetype');
}

/*Response typography*/
@include media-breakpoint-up(sm) {
    html {
        font-size: 1.2rem;
    }
}

@include media-breakpoint-up(md) {
    html {
        font-size: 1.4rem;
    }
}

@include media-breakpoint-up(lg) {
    html {
        font-size: 1.6rem;
    }
}

html {
    overflow-y: scroll;
}

html, body {
    background-color: white;
    font-family: 'Barlow'
}

h1, h2, h3 {
    font-family: 'Barlow';
}

pre {
    font-family: 'Barlow';
    font-size: inherit !important;
    white-space: pre-wrap;
    text-wrap: balance;
}

h2 {
    font-size: 1.15rem;
    margin-top: 48px;
}

a:link {
    color: #0071A1;
}

a:visited {
    color: #0071A1;
}

.cut-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.validation-message {
    color: #b02a37;
}

/*Upload Board*/
.upload-board {
    margin-bottom: 1em;
    margin-top: 1em;
}

    .upload-board li {
        background: #FFFFFF;
        border-radius: 1px;
        box-shadow: 0 0 4 rgba(0, 0, 0, 0.25);
        /*space beetween each elements*/
        list-style: none;
        margin-top: 1em;
        padding: 0.5em;
    }

.success {
    background-color: rgba(26, 147, 111, 0.1) !important;
    border: 1px solid #1A936F !important;
}

.failed {
    background-color: rgba(226, 0, 26, 0.05) !important;
    border: 1px solid #E2001A !important;
}


.upload-board ul {
    padding-left: 0;
}

.upload-file-item {
    display: grid;
}

    .upload-file-item img {
        height: 25px;
        width: 25px;
    }


/*Hides input file default text*/
.custom-input-hide {
    height: 0;
    overflow: hidden;
    width: 0;
}

.accordion .accordion-item {
    border: unset;
}

    .accordion .accordion-item h2 {
        margin-top: 25px;
    }

        .accordion .accordion-item h2 button {
            padding: 0.75rem 1.25rem 0.75rem 0;
            font-weight: bold;
            font-size: 1.2rem;
            background-color: unset;
            box-shadow: unset;
            color: unset;
            border-bottom: 1px solid black;
        }

    .accordion .accordion-item .accordion-body {
        padding-left: 0;
        padding-bottom: 0;
    }

.form-group {
    padding-bottom: 25px;
}


/*Navigation Menu*/
.nav-link {
    border-bottom: .25rem solid transparent;
    padding: .25rem 0;
    font-weight: 700;
    margin-left: 1rem;
}

    /* Link styles on hover */
    .nav-link:hover {
        border-bottom: .25rem solid gray;
    }

    /*Active link styles*/
    .nav-link.active {
        border-bottom: .25rem solid black;
    }


a.nav-link-menu {
    color: black;
}

.nav-link-menu {
    color: black;
    text-decoration: none;
}

    .nav-link-menu:hover {
        color: gray;
        text-decoration: underline;
    }

    .nav-link-menu.active {
        text-decoration: underline;
    }

.cover-container {
    max-width: 54em;
    min-height: calc(100vh - 200px - 25px);
    padding-bottom: 25px;
}

.custom-container {
    max-width: 100em !important;
    padding: 1em !important;
}

.edit-btn {
    background-image: url('/assets/icons/pencil.svg');
    background-repeat: no-repeat;
    background-position: center center;
    height: 15px;
    width: 15px;
    cursor: pointer;
}

    .edit-btn:hover {
        background-image: url('/assets/icons/pencil-fill.svg');
        background-position: center center;
        background-repeat: no-repeat;
        height: 15px;
        width: 15px;
    }

.view-btn {
    background-image: url('/assets/icons/eye.svg');
    background-repeat: no-repeat;
    background-position: center center;
    height: 15px;
    width: 15px;
    cursor: pointer;
}

    .view-btn:hover {
        background-image: url('/assets/icons/eye-fill.svg');
        background-position: center center;
        background-repeat: no-repeat;
        height: 15px;
        width: 15px;
    }

.nowrap {
    text-wrap: none !important;
    white-space: nowrap;
}


/* Table no wrap */
tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    vertical-align: top;
}


.footer-menu * {
    color: white;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.1em;
}

    .footer-menu * a {
        color: white;
    }

        .footer-menu * a:visited {
            text-decoration: white
        }

/*Buttons*/
.btn {
    padding-left: 12px;
    padding-right: 12px;
    font-family: 'Barlow';
    font-weight: 500;
    border-color: transparent;
    border-radius: 1px;
    font-size: 18px;
    line-height: 32px;
    box-sizing: border-box;
}

    .btn:disabled {
        box-shadow: none !important;
        border-color: transparent !important;
        filter: brightness(75%);
    }

    .btn:hover,
    .btn:focus {
        box-shadow: inset 0 0 100px 100px rgba(0, 0, 0, 0.1);
    }


.btn-primary {
    color: white !important;
    background-color: #0071A1 !important;
}

.btn-secondary {
    background-color: #ffffff !important;
    color: #0071A1 !important;
    border: 1px solid #0071a1;
}

.box {
    min-height: 200px;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}


.nfr-table-header {
    background-color: #E5F4FA;
    color: rgba(0, 0, 0, 0.7);
    font-size: 14px;
}

.severity-level {
    font-size: 15px;
    font-family: Barlow;
    font-weight: 600;
    line-height: 18px;
    word-wrap: break-word;
}

/*Plausibility*/
.severityLevel-low {
    color: #1A936F;
    background-color: #D1E9E2;
}

.severityLevel-middle {
    color: #FFDD00;
    background-color: #FFF8CC;
}

.severityLevel-high {
    color: #E2001A;
    background-color: #F9CCD1;
}

/* Style the list */
.dropdown-content ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.dropdown-content li {
    padding: 12px 16px;
    cursor: pointer;
}

    .dropdown-content li:hover {
        background-color: #ddd;
    }

.dropdown-content {
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropbtn {
    background-color: transparent;
    padding: 16px;
    content: url('icons/three-dots-vertical.svg');
}

.image-container {
    width: 24px;
    height: 24px;
}

.dropdown {
    padding: 4px;
    cursor: pointer;
}

.modal {
    z-index: 1000;
}

.filter-years {
    min-width: 150px;
}

.btn .btn-outline-dark {
    border-color: #dee2e6;
}

    .btn .btn-outline-dark:disabled {
        border-color: #666 !important;
    }
