﻿body {
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

@media (min-width: 1300px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1290px;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1390px;
    }
}

@media (min-width: 1500px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1490px;
    }
}

@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1590px;
    }
}

@media (min-width: 1700px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1690px;
    }
}

@media (min-width: 1800px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1790px;
    }
}


@media (min-width: 1900px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1890px;
    }
}



.logo {
    max-height: 30px;
}

.navbar {
    padding: 0;
    background-color: white;
    color: black;
    /*overflow: hidden;*/
    position: fixed; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
    width: 100%; /* Full width */
}

.navbar-brand, .nav-link {
    color: black !important;
    padding-left: 10px;
    padding-right: 10px;
}

    .navbar-brand:hover, .nav-link:hover {
        background-color: darkgreen !important;
        color: gold !important;
    }


/* Copyright (c) Microsoft Corporation.
Licensed under the MIT license. */

header {
    background-color: white;
    width: 100%;
    border-bottom-color: #000000;
}

    header > p {
        color: #FFFFFF;
        font: bold 1.6em "segoe ui", arial, sans-serif;
        margin-left: 31px;
        padding-top: 20px;
    }

.header-navbar {
    min-height: 45px;
    background-color: white;
    color: black;
    width: 100%;
}

main {
    width: 100%;
}

#text-container > div > p {
    font: 1.2em "segoe ui", arial, sans-serif;
}

/*#report-container {
    height: calc(0.5625 * 61vw);*/ /* 16:9 aspect ratio */
/*}*/

#report-container {
    height: calc(100vh - 100px);
}

.footer > div {
    text-align: center;
    margin-top: 10px;
    font: 1em "segoe ui", arial, sans-serif;
    color: #FFFFFF;
}

.footer a {
    font: 1em "segoe ui", arial, sans-serif;
    color: #FFFFFF;
}

.footer {
    position: fixed !important;
    height: 40px;
    background-color: green;
    bottom: 0px !important;
    left: 0px;
    right: 0px;
    margin-bottom: 0px;
    line-height: 40px !important;
    color: white;
}

iframe {
    border: none;
}

@media only screen and (max-width: 574px) {
    #report-container {
        height: calc(0.5625 * 90vw); /* 16:9 aspect ratio */
    }
}

.btn-sm {
    width: 31px;
    height: 31px;
}

.panel {
    max-height: calc(1vh - 150px);
}

.panel-title {
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
    border-top-right-radius: 5px;
}

.panel-title {
    margin-top: 10px;
    background-color: green;
    color: white;
    font-weight: bold;
    padding: 5px;
}

.panel-body {
    background-color: white;
    color: black;
    padding: 5px;
    border: 1px solid green;
}

.panel-footer {
    background-color: green;
    color: white;
    font-weight: bold;
    padding: 5px;
}

    .panel-footer .btn {
        background-color: white;
        color: green;
        font-weight: bold;
        padding: 5px 10px;
    }

        .panel-footer .btn:hover {
            background-color: lime;
            color: black;
            font-weight: bold;
        }

    .panel-footer .btn-danger {
        background-color: red;
        color: white;
        font-weight: bold;
        padding: 5px 10px;
    }

        .panel-footer .btn-danger:hover {
            background-color: gold;
            color: black;
            font-weight: bold;
        }



.panel-footer {
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.control-label {
    font-weight: bold;
    font-style: italic;
    color: green;
}

.form-group {
    margin: 5px;
}

.form-control, .form-select {
    border: 1px solid green;
}

.paginator {
    display: inline-block;
    width: auto;
}

.btn-create {
    background-color: white;
    color: green;
    border: 1px solid green;
    font-weight: bold;
    padding: 5px 10px;
}

    .btn-create:hover {
        background-color: lime;
        color: black;
    }

.btn-login, .btn-logout {
    background-color: green;
    color: white;
    border: 1px solid green;
    font-weight: bold;
    padding: 5px 10px;
}

    .btn-login:hover, .btn-logout:hover {
        background-color: lime;
        color: black;
    }

.deleteText {
    animation-duration: 1s;
    animation-name: blink;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    color: red;
    -webkit-text-stroke: 0.5px white;
    text-shadow: 2px 2px 2px black;
    margin-left: 10px;
}

@keyframes blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/*.table {
    position: sticky;
    top: 0;
    width: 100%;
}

thead > tr {
    position: relative;
    display: block;
}*/

.tableFixHead {
    overflow-y: auto; /* make the table scrollable if height is more than 200 px  */
    max-height: calc(100vh - 250px); /* gives an initial height of 200px to the table */
}

/*.tableFixHead thead th {
        position: sticky;*/ /* make the table heads sticky */
/*top: 0px;*/ /* table head will be placed from the top of the table and sticks to it */
/*}*/

table {
    border-collapse: collapse; /* make the table borders collapse to each other */
    width: 100%;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

    .table > thead > tr > th {
        background-color: green;
        color: white;
    }

        .table > thead > tr > th > a {
            color: white;
        }

            .table > thead > tr > th > a:hover {
                color: gold;
            }

    .table th:last-child, .table td:last-child {
        align-content: end;
        text-align: right;
        width: 150px;
    }

th,
td {
    padding: 8px 16px;
    border-bottom: 1px solid #ccc;
}

th {
    background: #eee;
}

dt {
    text-align: right;
    margin-bottom: .5rem;
}

.left-rounded-corners {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}

.page-item {
    width: 45px;
    text-align: center;
}

.page-item-disabled {
    background-color: gray !important;
}

.page-link {
    color: green;
}

    .page-link:hover {
        background-color: lime;
    }

    .active > .page-link, .page-link.active {
        color: white;
        background-color: green;
        border-color: white;
    }

.paginator-end {
    float: right !important;
    margin-right: 10px;
    margin-bottom: 0;
    height: 40px;
}

.tab-pane {
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    padding: 10px;
}
.tab-pane .panel{
    max-height:none;
}

.tab-pane > .row > .col-12 > #report-container{
    height: calc(100vh - 200px);
}
