﻿/* 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: 0.9rem !important;
}

.bootstrap-select {
    border: 1px solid #ced4da !important;
    border-radius: 0;
}

@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: 60px;
}*/
.footer {
    /*position: absolute;*/
    /*width: 100%;*/
    white-space: nowrap;
    background-color: #f3f5f9;
    font-size: 0.85rem;
}

.bg-upol {
    background-color: rgb(0, 107, 173) !important;
}

.text-upol {
    color: rgb(0, 107, 173) !important;
}

.navbar-brand {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar {
    padding: 0 !important;
}

.cursor-default {
    cursor: default !important;
}

.card-custom {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
}

/*.card-body-custom {
    padding: 1rem !important;
}*/

.pointer {
    cursor: pointer;
}

.thead-light-custom {
    background-color: #f3f5f9 !important;
}

.table {
    outline-style: solid;
    outline-width: 1px;
    outline-color: #dee2e6;
}


/*Footer*/
container {
    min-height: 0px !important;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

footer {
    margin-top: 10px;
}

.footer .cookieSettings:hover {
    text-decoration: underline;
}

.list-inline-item:not(:last-child) {
    margin-right: 1rem !important;
}

.btn-filter {
    margin-top: 28px;
    margin-bottom: 10px;
}

.filter-option-inner-inner {
    font-size: 0.8rem;
}

.dropdown-menu {
    font-size: 0.8rem !important;
}

.invalid-input {
    border-color: #dc3545 !important;
}

.btn-notEmpty {
    color: #212529;
    background-image: linear-gradient(to right, #ffc107, #fff 60%);
}

.text-primary {
    color: #0062cc !important;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.loader {
    display: block;
    position: relative;
    left: 49%;
    top: 50%;
}

.text-sign {
    color: #343a40 !important;
}

.text-sign:hover {
    color: white !important;
}

.text-signed {
    color: white !important;
}

.main-title {
    margin-bottom: 0 !important;
}

[data-notify] {
    z-index: 99999 !important;
}

.btn-sm-form-centered {
    margin-top: 0.2rem !important;
}

@media (min-width: 576px) {
    .btn-sm-form-centered {
        margin-top: 1.93rem !important;
    }
}

.btn-filtered-centered {
    margin-top: 0.2rem !important;
}

@media (min-width: 576px) and (max-width: 991px) {
    .btn-filtered-centered {
        margin-top: 1.93rem !important;
    }
}

.btn-light {
    background-color: white;
    border-color: white;
}

.modal-content {
    border-radius: 0px !important;
}

.tooltip-inner {
    background-color: white !important;
    /*!important is not necessary if you place custom.css at the end of your css calls. For the purpose of this demo, it seems to be required in SO snippet*/
    color: black;
    border: 1px solid black !important;
}

.tooltip.show {
    opacity: 1;
}

.tooltip.top .tooltip-arrow {
    border-top-color: black;
}

.tooltip.right .tooltip-arrow {
    border-right-color: black;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: black;
}

.tooltip.left .tooltip-arrow {
    border-left-color: black;
}

.calendar-outline-danger {
    background-color: white !important;
    color: #dc3545 !important;
    cursor: pointer !important;
    border: 1px solid #dc3545 !important;
}

.calendar-outline-danger:hover {
    background: linear-gradient(to top right, transparent 50%, #dc3545 0) top right/15px 15px no-repeat, rgb(0, 107, 173) !important;
    color: white !important;
    cursor: pointer !important;
}

.calendar-outline-danger-active {
    background: linear-gradient(to top right, transparent 50%, #dc3545 0) top right/15px 15px no-repeat, rgb(0, 107, 173) !important;
    color: white !important;
    cursor: pointer !important;
    border: 1px solid #dc3545 !important;
}

.calendar-outline-warning {
    background: linear-gradient(to top right, transparent 50%, #ffc107 0) top right/10px 10px no-repeat, white !important;
    color: #B8B8B8 !important;
    cursor: pointer !important;
    border: 1px solid #ffc107 !important;
}

.calendar-outline-warning:hover {
    background: linear-gradient(to top right, transparent 50%, #ffc107 0) top right/15px 15px no-repeat, rgb(0, 107, 173) !important;
    color: white !important;
    cursor: pointer !important;
}

.calendar-outline-warning-active {
    background: linear-gradient(to top right, transparent 50%, #ffc107 0) top right/15px 15px no-repeat, rgb(0, 107, 173) !important;
    color: white !important;
    cursor: pointer !important;
    border: 1px solid #ffc107 !important;
}

.calendar-success {
    background-color: #28a745 !important;
    color: white !important;
    cursor: pointer !important;
    border: 1px solid #28a745 !important;
}

.calendar-success:hover {
    background: linear-gradient(to top right, transparent 50%, #28a745 0) top right/15px 15px no-repeat, rgb(0, 107, 173) !important;
    color: white !important;
    cursor: pointer !important;
}

.calendar-success-active {
    /*background-color: rgb(0,107,173) !important;*/
    background: linear-gradient(to top right, transparent 50%, #28a745 0) top right/15px 15px no-repeat, rgb(0, 107, 173);
    color: white !important;
    cursor: pointer !important;
    border: 1px solid #28a745 !important;
}

.calendar-outline-primary {
    background-color: white !important;
    color: rgb(0, 107, 173) !important;
    cursor: pointer !important;
    border: 1px solid rgb(0, 107, 173) !important;
}

.calendar-outline-primary:hover {
    background-color: rgb(0, 107, 173) !important;
    color: white !important;
    cursor: pointer !important;
}

.calendar-outline-primary-active {
    background-color: rgb(0, 107, 173) !important;
    color: white !important;
    cursor: pointer !important;
}

.month-primary {
    background-color: rgb(0, 107, 173) !important;
    color: white !important;
    cursor: pointer !important;
}

.calendar-secondary {
    color: #B8B8B8 !important;
}

.month-input {
    background-color: rgb(0, 107, 173) !important;
    color: rgb(0, 107, 173) !important;
}

.month-input:focus {
    outline: none;
}

.calendar-weekend {
    background-color: whitesmoke !important;
}

.calendar-active-month {
    color: #767575 !important;
}

.calendar-day-number {
    font-size: 1.2rem;
    font-weight: 600;
}

.signed-users:hover {
    color: rgb(0, 107, 173) !important;
}

/* width */
::-webkit-scrollbar {
    width: 14px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .3) !important;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .4) !important;
}

/* Login cards match the UPOL / MojeID choice in Grants. */
.login-page {
    margin: 64px auto 32px;
    max-width: 960px;
}

.login-choices {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 24px;
}

.login-card {
    display: flex;
    flex: 0 1 380px;
    flex-direction: column;
    align-items: center;
    padding: 32px;
    text-align: center;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px rgba(0, 0, 0, .14), 0 1px 10px rgba(0, 0, 0, .12);
}

.login-card__logo {
    height: 90px;
    margin-bottom: 8px;
}

.login-card__logo img {
    max-width: 100%;
    object-fit: contain;
}

.login-card h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 32px;
}

.login-card__description {
    min-height: 40px;
    margin: 0 0 24px;
    color: rgba(0, 0, 0, .6);
    font-size: 14px;
    line-height: 20px;
}

.login-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 36px;
    margin-top: auto;
    padding: 6px 16px;
    border-radius: 4px;
    background: #006bad;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px rgba(0, 0, 0, .14), 0 1px 5px rgba(0, 0, 0, .12);
}

.login-card__button:hover {
    background: #00558a;
    color: #fff;
    text-decoration: none;
}

.login-card__button--mojeid {
    background: #000;
}

.login-card__button--mojeid:hover {
    background: #252525;
}

.login-card__button:focus-visible {
    outline: 2px solid #006bad;
    outline-offset: 4px;
}

@media (max-width: 575.98px) {
    .login-page {
        margin-top: 32px;
    }

    .login-card {
        flex-basis: 100%;
    }
}
