﻿/* 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. */
.center-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    margin-top:-150px;
}

.k-i-loading::after, .k-i-loading::before, .k-loading-image::after, .k-loading-image::before{
    display:none !important;
}

.k-loading-image {
    z-index: 3;
    background-image: url('../images/heartbeat.gif');
    background-repeat: no-repeat;
    background-position: center center;
}

.k-edit-buttons {
    width: 560px !important;
    margin-left: 5px !important;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.k-pager-numbers .k-link.k-state-selected {
    color: #fff;
    background-color: #c02127;
    border-color: #c02127;
}

.k-pager-nav.k-link, .k-pager-refresh {
    border-color: #dee2e6;
    color: gray;
    background-color: #fff;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.viewPageTitle {
    color: #4A4A4A;
    text-align: center;
}

.gridHeader {
    color: #4A4A4A !important;
    font-weight: bold !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-red {
    color: #fff;
    background-color: #c02127;
    border-color: #c02127;
}

    .btn-red:hover {
        color: #fff !important;
        background-color: #460000 !important;
        border-color: #460000 !important;
    }


.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #6c757d;
    border-color: #c02127;
}

.nav-pills .nav-link {
    border-radius: .25rem;
    color: #6c757d;
}

.clickableImage {
    cursor: pointer;
}

.k-button-primary, .k-button.k-primary {
    border-color: #c02127;
    color: #fff;
    background-color: #c02127;
}

    .k-button-primary, .k-button.k-primary:hover {
        border-color: #460000;
        color: #fff;
        background-color: #460000;
    }


/* 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%;
    overflow:auto;
}

body {
    /* Margin bottom by footer height */
    /*margin-bottom: 20px;*/
    background-color: #F5F5F5;
    overflow: auto;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.round {
    border-radius: 50%;
}

.primaryBackgroundColor {
    background-color: #759BBA;
}

.centerLoginCard {
    width: 350px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px;
}

.card-header:first-child {
    border-radius: unset !important;
}

.btn {
    border-radius: unset !important;
}

.nav-item {
    color: #4A4A4A;
    font-weight: 500;
    font-size: large;
}

    .nav-item:hover {
        color: #2B2A2A;
    }

.navbar-light .navbar-nav .show > .nav-link {
    color: #2B2A2A;
}

.textStrikeThrough {
    text-decoration: line-through;
}


/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 150px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 5px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

    /* Show the snackbar when clicking on a button (class added with JavaScript) */
    #snackbar.show {
        visibility: visible; /* Show the snackbar */
        /* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
   However, delay the fade out process for 2.5 seconds */
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}


.k-grid .k-grid-toolbar .k-grid-add,
.k-grid tbody .k-grid-edit,
.k-grid tbody .k-grid-update,
.k-grid tbody .k-grid-cancel,
.k-grid tbody .k-grid-view,
.k-grid tbody .k-grid-delete {
    min-width: 0;
}

    .k-grid .k-grid-toolbar .k-grid-add .k-icon,
    .k-grid tbody .k-grid-edit .k-icon,
    .k-grid tbody .k-grid-update .k-icon,
    .k-grid tbody .k-grid-cancel .k-icon,
    .k-grid tbody .k-grid-view .k-icon,
    .k-grid tbody .k-grid-delete .k-icon {
        margin: 0;
    }

@media only screen and (max-width:767px) {
    .btn-score {
        margin: auto !important;
        padding: 3px;
    }
}
