﻿/* 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: 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: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}
/*tag
---------------------------------------------------*/

.TagDiv {
    background-color: gray;
    border-width: thin;
    float: left;
    border-radius: 5px;
    padding: 1px 5px;
    margin: 5px 2px;
}

.TagXDiv {
    float: right;
    font-size: xx-small;
    padding-left: 5px;
    padding-top: 5px;
    color: #484949;
    cursor: pointer;
}

.TagListDiv {
    padding: 5px 15px;
}
/* 
items Per Pg ddl
------------------------------------------------
*/

.itemsPerPg {
    display: inline !important;
    width: 75px !important;
}

/*
General
----------------------------------------------------------------
*/
.inlineDiv {
    display: inline;
}

.SortableHeader {
    cursor: pointer;
}

.SortableHeader::after {
    content: "◊";
}

.SortedBy {
    font-weight: bold;
}

.Asc::after {
    content: "▲";
    /*content: "<i class='fa-solid fa-sort-up'></i>";*/
}

.Desc::after {
    content: "▼";
    /*content: "<i class='fa-solid fa-sort-down'></i>";*/
}
.fa-minus 
{
    color: darkred
}

.fa-plus
{
    color: darkgreen
}


/*
Form
----------------------------------------------------------------
*/
.validation-error-msg {
    color: red;
    font-style: italic;
}

.form-check {
    padding-left: 37px;
}
/*
Chart
------------------------------------------------------------
*/
canvas {
    height: 400px !important;
}

/*
Calendar
------------------------------------------------------------
*/
/* align the dates to the Left */
.fc-daygrid-day-top {
    align-items: stretch;
    flex-direction: row !important;
}
/* show the total to the right */
.CalendarDayTotal {
    padding: 4px 10px;
    color: blue;
    margin-left: auto;
    font-style: italic;
}
/*need to overrid the z index of the enlarged day otherwise the popup would be below it*/
.fc-popover {
    z-index: 1000 !important;
}

.hover-end {
    padding: 0;
    margin: 0;
    font-size: 75%;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    opacity: .8
}

.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .popup .popuptext {
        visibility: hidden;
        width: 160px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 8px 0;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -80px;
    }
/*----------------------------------------------------------*/

.popper,
.tooltip {
    position: absolute;
    z-index: 9999;
    background: #4a4843;
    color: black;
    min-width: 150px;
    max-width: 500px;
    border-radius: 3px;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    padding: 3px;
    text-align: center;
    opacity: 1 !important;
}

.tooltip-inner {
    background: #f2f2eb !important;
    color: black !important;
}

.style5 .tooltip {
    background: #1E252B;
    color: #FFFFFF;
    max-width: 200px;
    width: auto;
    font-size: .8rem;
    padding: .5em 1em;
}

.popper .popper__arrow,
.tooltip .tooltip-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    margin: 5px;
}

.tooltip .tooltip-arrow,
.popper .popper__arrow {
    border-color: #FFC107;
}

.style5 .tooltip .tooltip-arrow {
    border-color: #1E252B;
}

.popper[x-placement^="top"],
.tooltip[x-placement^="top"] {
    margin-bottom: 5px;
}

    .popper[x-placement^="top"] .popper__arrow,
    .tooltip[x-placement^="top"] .tooltip-arrow {
        border-width: 5px 5px 0 5px;
        border-left-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        bottom: -5px;
        left: calc(50% - 5px);
        margin-top: 0;
        margin-bottom: 0;
    }

.popper[x-placement^="bottom"],
.tooltip[x-placement^="bottom"] {
    margin-top: 5px;
}

    .tooltip[x-placement^="bottom"] .tooltip-arrow,
    .popper[x-placement^="bottom"] .popper__arrow {
        border-width: 0 5px 5px 5px;
        border-left-color: transparent;
        border-right-color: transparent;
        border-top-color: transparent;
        top: -5px;
        left: calc(50% - 5px);
        margin-top: 0;
        margin-bottom: 0;
    }

.tooltip[x-placement^="right"],
.popper[x-placement^="right"] {
    margin-left: 5px;
}

    .popper[x-placement^="right"] .popper__arrow,
    .tooltip[x-placement^="right"] .tooltip-arrow {
        border-width: 5px 5px 5px 0;
        border-left-color: transparent;
        border-top-color: transparent;
        border-bottom-color: transparent;
        left: -5px;
        top: calc(50% - 5px);
        margin-left: 0;
        margin-right: 0;
    }

.popper[x-placement^="left"],
.tooltip[x-placement^="left"] {
    margin-right: 5px;
}

    .popper[x-placement^="left"] .popper__arrow,
    .tooltip[x-placement^="left"] .tooltip-arrow {
        border-width: 5px 0 5px 5px;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        right: -5px;
        top: calc(50% - 5px);
        margin-left: 0;
        margin-right: 0;
    }


/*
Popup
------------------------------------------------------------
*/

/*Js popup*/
.manage-popup .content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-150%) scale(0);
    min-width: 400px;
    max-width: 800px;
    width: 80%;
    min-height: 150px;
    max-height: 90%;
    z-index: 2;
    padding: 10px;
    border-radius: 5px;
    background: #dfdfdf;
    z-index: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.manage-popup .popupBack {
    position: fixed;
    /*position is calculated from teh center*/
    top: 50%;
    left: 50%;
    transform: translate(-50%,-150%) scale(0);
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #4950576b;
}

.manage-popup.active .content {
    transition: all 300ms ease-in-out;
    transform: translate(-50%,-50%) scale(1);
}

.manage-popup.active .popupBack {
    transform: translate(-50%,-50%) scale(1);
}

/*
Table
------------------------------------------------------------*/

tbody {
    max-height: 700px;
    overflow-y: auto;
}
