﻿/* 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. */
html {
    position: relative;
    min-height: 100%;
}

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

    body.dark-mode {
        /* Margin bottom by footer height */
        margin-bottom: 60px;
        background-color: #24282B;
        color: #fff
    }

.dark-mode .table {
    color: #fff
}

.dark-mode .table-hover tbody tr:hover {
    color: #0366d6
}

.dark-mode .bg-secondary {
    background-color: #1c2126a6 !important;
}

.bg-secondary {
    background-color: #f0f0f0 !IMPORTANT;
}

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

hr {
    border-top: 1px solid #969696;
}
/* 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
-------------------------------------------------- */

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

.pagination li:first-child a {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.pagination li:last-child a {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.pagination li > a {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none
}

.pagination li.active a {
    z-index: 3;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.dir-rtl {
    direction: rtl;
}


/*
@media screen and (max-width: 900px){
    .topMenu .navbar-collapse {
        position: absolute;
        right: 0px;
        top: 48px;
        padding-top: 25px;
        padding-bottom: 25px;
        width: 200px;
        height: calc(100vh);
    }

    .navbar-dark .navbar-nav .nav-link {
        margin-bottom: 10px;
        border-bottom: 1px solid #8d9194;
        padding-bottom: 9px !important;
    }
}*/
@media screen and (max-width: 1540px) {

    .topMenu .navbar-toggler {
        display: block !important
    }

    .topMenu .navbar-collapse {
        position: absolute;
        right: 0px;
        top: 48px;
        padding-top: 25px;
        padding-bottom: 25px;
        width: 240px;
        height: calc(100vh);
        overflow: auto;
        align-items: start !important
    }

        .topMenu .navbar-collapse ul {
            flex-direction: column !important;
        }

    .navbar-dark .navbar-nav .nav-link {
        margin-bottom: 10px;
        border-bottom: 1px solid #8d9194;
        padding-bottom: 9px !important;
    }
}

@media screen and (min-width: 1545px) {
    .navbar-expand-sm .navbar-collapse {
        display: -ms-flexbox !important;
        display: flex !important;
    }
}
