﻿/* 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: #1b6ec2;
    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 */
}


/* additional form styles
-------------------------------------------------- */

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-control::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.form-control:-ms-input-placeholder { color: #999; }

.form-control::-webkit-input-placeholder { color: #999; }

.form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}

.form-group { margin-bottom: 15px; }

.checkbox {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.checkbox label {
    min-height: 20px;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: 400;
}

.checkbox input[type="checkbox"] {
    position: absolute;
    margin-left: -20px;
}

.form-horizontal .checkbox {
    padding-top: 7px;
    margin-top: 0;
    margin-bottom: 0;
}

.form-horizontal .checkbox { min-height: 27px; }

.form-horizontal .form-group {
    margin-right: -15px;
    margin-left: -15px;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    border-radius: 4px;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-lg {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-block {
    display: block;
    width: 100%;
}

.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.428571429;
    color: #333;
    white-space: nowrap;
    padding: 10px 20px;
}

.dropdown-submenu { position: relative; }

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: -1px;
}

.btn-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

.input-group .form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}

.input-group .form-control,
.input-group-btn { display: table-cell; }

.input-group .form-control:not(:first-child):not(:last-child),
.input-group-btn:not(:first-child):not(:last-child) { border-radius: 0; }

.input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}

.input-group .form-control:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .form-control:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group-btn {
    position: relative;
    font-size: 0;
    white-space: nowrap;
}

.input-group-btn > .btn { position: relative; }

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.btn .badge {
    position: relative;
    top: -1px;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.clearfix:after,
.clearfix:before,
.container:after,
.container:before,
.form-horizontal .form-group:after,
.form-horizontal .form-group:before,
.navbar-header:after,
.navbar-header:before,
.navbar:after,
.navbar:before,
.row:after,
.row:before {
    display: table;
    content: " ";
}

.clearfix:after,
.container:after,
.form-horizontal .form-group:after,
.navbar-header:after,
.navbar:after,
.row:after { clear: both; }

.pull-right { float: right !important; }

.pull-left { float: left !important; }

.hidden { display: none !important; }

.visible-lg,
.visible-md { display: none !important; }



/* personal styles
-------------------------------------------------- */



.cust-btn-edit, .cust-btn-delete {
    width: 60px;
}

.column-1, .column-2, .column-3, .column-4 {
    width: 15%;
}

.column-5, .column-6 {
    width: 15%;
}

.username-field, .isAdmin-field {
    height: fit-content;
    width: fit-content;
}

.center-children {
    position: relative;
}

    .center-children > * {
        position: absolute;
        inset: 0 0 0 0;
        margin: auto;
    }

.disabled {
    cursor: default;
    background-color: lightgray;
    border-color: rgba(118, 118, 118, 0.3);
}


.login-form {
    margin: 10vh auto 20px auto;
    width: 400px;
    height: fit-content;
    padding: 10px;
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px;
    border-radius: 10px;
}

.error-prompt {
    margin: auto auto auto auto;
    width: 400px;
    height: fit-content;
}

.addUser-form {
    margin: 10vh auto auto auto;
    width: 600px;
    height: fit-content;
    padding: 10px;
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px;
    border-radius: 10px;
}

.editUser-form {
    margin: 10vh auto auto auto;
    width: 600px;
    height: fit-content;
    padding: 10px;
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px;
    border-radius: 10px;
}

.overview-form {
    margin: 10vh auto auto auto;
    height: fit-content;
    min-width: fit-content;
    padding: 10px;
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px;
    border-radius: 10px;
}

    .overview-form .overview-head {
        position: relative;
    }

        .overview-form .overview-head .buttons-container {
            height: fit-content;
            position: absolute;
            inset: 0 0 0 auto;
            margin: auto;
        }

            .overview-form .overview-head .buttons-container > div:first-child {
                margin-right: 5px;
            }

.overviewAdmin-form {
    margin: 10vh auto auto auto;
    height: fit-content;
    padding: 10px;
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px;
    border-radius: 10px;
    width: 400px;
    text-align: center;
}

    .overviewAdmin-form .logout-button {
        display: block;
        margin: 0 auto 0 auto;
        width: 50%;
    }
