﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1f62cf;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* Custom styles
-------------------------------------------------- */
.space {
    padding-top: 20px;
    padding-bottom: 10px
}

.control-label {
    padding: 2px;
}

.sidebar-container {
    margin-left: inherit;
    margin-right: inherit;
    max-width: 100%;
}

.sidebar-navlink {
    font-weight: 600;
    font-size: large;
    padding: .7rem 2rem;
    border-bottom: 3px solid #06357a;
}

.label-light-bold {
    font-weight: 500;
    padding-top: 10px;
}

.h2-blue-underlined {
    color: #06357a;
    border-bottom: 3px solid #06357a;
}

.overview-text {
    text-align: justify;
    padding-top: 20px;
    font-size: large;
}

#sidebar {
    max-width: fit-content;
}

.my-custom-scrollbar {
    position: relative;
    height: 200px;
    overflow: auto;
}

.table-wrapper-scroll-y {
    display: block;
    flex: 1;
}

.collapsible {
    background-color: #1f62cf;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: solid;
    font-size: 15px;
}

    .collapsible:hover {
        background-color: #3498DB;
    }

.activeCollapsible {
    background-color: #1f62cf;
}

    .activeCollapsible span svg {
        transform: rotate(90deg);
    }

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #fff;
}

.first-content {
    padding: 0 18px;
    display: block;
    overflow: hidden;
    background-color: #fff;
}

.section-button {
    width: 32px;
    height: 32px;
    float: right;
}

.section-expanded {
    transform: rotate(90deg);
}

.section-title {
    float: left;
}

.nowrap {
    flex-wrap: nowrap;
}

.label-margin {
    margin-left: 10px;
}

.number-label-margin {
    margin-left: 20px;
}

.validation-message {
    color: crimson;
}

.text-box {
    width: 20rem;
}

.number-box {
    width: 75px;
}

.error-message {
    color: crimson;
    margin-right: 20px;
    margin-left: 20px;
}

.selection-type {
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
}

.box-group {
    margin-right: 20px;
    margin-left: 5px;
}

minBoxGroup {
    margin-right: 20px;
    margin-left: 5px;
}

maxBoxGroup {
    margin-right: 20px;
    margin-left: 5px;
}

.icon-available {
    color: green;
    font-size: 1.2em;
}

.icon-unavailable {
    color: red;
    font-size: 1.2em;
}

#mvDropDown {
    appearance: none;
    padding: 8px 12px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

#mvDropDown {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 40px;
    padding-right: 40px;
}

    #mvDropDown:hover,
    #mvDropDown:focus {
        border-color: #007bff;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

    #mvDropDown + button {
        margin-left: 10px;
    }

#mvAddBtn {
    background-color: buttonface;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

    #mvAddBtn:hover {
        background-color: lightgray;
        border-color: lightgray;
    }

#mvTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

    #mvTable th {
        background-color: #f4f4f4;
        text-align: left;
        border-bottom: 2px solid #ccc;
    }

    #mvTable td {
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    #mvTable input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin: auto;
        display: block;
    }

.mvRemoveBtn {
    width: 40px;
    height: 40px;
    background-color: white;
    color: white;
    border: none;
}

    .mvRemoveBtn:hover {
        background-color: pink;
    }

.info-warning {
    color: #0056b3;
    display: none;
}

.info-icon {
    margin-right: 4px;
    font-size: 1.1em;
    vertical-align: middle;
    cursor: pointer;
}

.slide-toggle {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s, margin 0.4s;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.slide-toggle.visible {
    max-height: 140px !important;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 8px;
    margin-bottom: 0px;
}
