﻿/* 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. */

@import "../lib/bootstrap/dist/css/bootstrap.css";

/* 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: 50px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 50px;
    line-height: 50px; /* Vertically center the text there */
}


/* Fortress
-------------------------------------------------- */

:root {
    --fortressblue: #006084;
    --fortressred: #e31e2d;
}

.card-header {
    padding: 0.25rem 1rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: .75rem;
}

.card-footer {
    padding: 0.5rem 0.5rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}


.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.col-form-label {
    padding-top: calc(0.25rem + 1px);
    padding-bottom: calc(0.25rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

.table {
    width: 100%;
    margin-bottom: 0.5rem;
    color: #212529;
}

    .table th,
    .table td {
        padding: 0.5rem 1rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: var(--fortressblue);
    border-color: var(--fortressblue);
}

    .btn-primary:hover {
        color: #fff;
        background-color: var(--fortressblue);
        border-color: var(--fortressblue);
        filter: brightness(120%);
    }

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

    .btn-secondary:hover {
        color: #fff;
        background-color: #6c757d;
        border-color: #6c757d;
        filter: brightness(120%);
    }

.btn-outline-primary {
    color: var(--fortressblue);
    border-color: var(--fortressblue);
}

    .btn-outline-primary:hover {
        color: #fff;
        background-color: var(--fortressblue);
        border-color: var(--fortressblue);
    }

.btn-danger {
    color: #fff;
    background-color: var(--fortressred);
    border-color: var(--fortressred);
}

    .btn-danger:hover {
        color: #fff;
        background-color: var(--fortressred);
        border-color: var(--fortressred);
        filter: brightness(120%);
    }

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    height: 70px;
}

.navbar-nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    justify-content: flex-end;
    margin-top: 0;
}

.navbar {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: flex-end;
    padding: 0.25rem 0.5rem;
}

a {
    color: var(--fortressblue);
    text-decoration: none;
    background-color: transparent;
}


.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--fortressblue);
    background-color: #fff;
    border: 1px solid #dee2e6;
}

    .page-link:hover {
        z-index: 2;
        color: var(--fortressblue);
        text-decoration: none;
        background-color: #e9ecef;
        border-color: #dee2e6;
    }

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: var(--fortressblue);
    border-color: var(--fortressblue);
}

::selection {
    background: var(--fortressblue); /* WebKit/Blink Browsers */
    color: #fff;
}

::-moz-selection {
    background: var(--fortressblue); /* Gecko Browsers */
    color: #fff;
}

* {
    font-size: 100%;
    font-family: Arial,helvetica,sans-serif;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--fortressblue);
    color: white;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    background-color: #D3D3D3;
}

.select2-selection__rendered {
    margin-right: 10px;
}

.custom-dd {
    width: 100%;
}

.control-label {
    width: 100%;
}

@media (max-width: 768px) {
    .custom-container {
        min-width: -moz-fit-content;
        min-width: fit-content;
    }
}

input[type='radio'] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #555;
    border-radius: 50%;
    outline: none;
}

    input[type='radio']:checked {
        background-color: #555;
    }


input[type='checkbox'] {
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #555;
}

    input[type='checkbox']:enabled:hover {
        background: lightgray;
    }

    input[type='checkbox']:checked {
        background-image: url("/images/check.svg");
    }

    input[type='checkbox']:enabled:checked:hover {
        background: lightgray;
        background-image: url("/images/check.svg");
    }

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--fortressblue);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.2;
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

ol, ul, dl {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 0.25rem;
}

.label {
    padding-right: 0.5rem;
}

input.readonly {
    opacity: .5;
    cursor: default;
    pointer-events: none;
}
