﻿/* 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 {
    font-size: 14px;
    height: 100%;
    margin-right: 0;
}

body {
    position: relative;
    min-height: 100%;
    height: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    width: 100%;
}

header {
    height: 65px;
}

footer {
    height: 60px;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.main-content {
    min-height: -moz-calc(100% - 125px); /* Firefox */
    min-height: -webkit-calc(100% - 125px); /* Chrome, Safari */
    min-height: calc(100% - 125px); /* IE9+ and future browsers */
    height: auto;
    background-color: #f5f6f6;
}

.navbar {
    z-index: 50;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.logo {
    width: 120px;
}

/* Provide sufficient contrast against white background */
a {
    color: #566787;
}

    a:hover {
        color: #828bc8 !important
    }

ol li {
    margin-bottom: 5px;
}


.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;
}

.nav-tabs .nav-link.active {
    border-top: 3px solid #828BC8;
}

.input-group-append {
    border-left: 1px solid #566787;
}

.card-body select.form-control {
    max-width: 300px;
}


/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

@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;
}


.card-header {
    background: #828bc8;
    color: #fff;
    border-radius: 3px 3px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

    .card-header h2 {
        margin: 0;
        font-size: 20px;
    }


/* Table Styling */

.table-responsive {
    margin: 10px 0;
}

.table-wrapper {
    min-width: 1000px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 3px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

table.table:not(.table-sm) tr th, table.table:not(.table-sm) tr td {
    border-color: #e9e9e9;
    padding: 12px 15px;
    vertical-align: middle;
}

    /*table.table:not(.table-sm) tr th:first-child {
    width: 60px;
}*/

    table.table:not(.table-sm) tr th.actions {
        width: 130px;
    }

table.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fcfcfc;
}

table.table-striped.table-hover tbody tr:hover {
    background: #f5f5f5;
}

table.table th i {
    font-size: 13px;
    margin: 0 5px;
    cursor: pointer;
}

table.table td:last-child i {
    opacity: 0.9;
    font-size: 22px;
    margin: 0 5px;
}

table.table td a {
    font-weight: bold;
    color: #566787;
    display: inline-block;
    text-decoration: none;
    padding-right: 10px;
}

    table.table td a:hover {
        color: #828BC8;
    }

table.table td i {
    font-size: 19px;
}

/* Input Auto Complete */

.ui-autocomplete {
    position: absolute;
    cursor: default;
    z-index: 1001 !important
}

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
}

    .ui-autocomplete > li > div {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: normal;
        line-height: 1.42857143;
        color: #333333;
        white-space: nowrap;
    }

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
    cursor: pointer;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.record-not-exists,
.record-exists,
.alert-fixed {
    position: fixed;
    bottom: 10px;
    right: 2%;
    width: 20%;
    z-index: 100;
}

.report-counter span {
    font-size: 2rem;
}

/* Detailed Pledge List styling */
.detailed-pledge-list {
    list-style-type: none;
    padding: 0;
}

    .detailed-pledge-list li {
        border-radius: 4px;
        border-left: 4px solid #828bc8;
    }

        .detailed-pledge-list li p {
            word-wrap: break-word;
        }

    .detailed-pledge-list .pledge-list-info {
        border: solid 2px;
        border-radius: 4px;
        min-width: 150px;
        margin-bottom: 8px;
    }

        .detailed-pledge-list .pledge-list-info:not(:last-child) {
            margin-right: 8px;
        }

        .detailed-pledge-list .pledge-list-info.not-set {
            border: 2px solid rgb(255, 131, 131);
        }

        .detailed-pledge-list .pledge-list-info:not(.not-set) {
            border: 2px solid rgb(49, 204, 49);
        }

    .detailed-pledge-list li.complete {
        border-color: var(--success);
    }

    .detailed-pledge-list li.incomplete {
        border-color: var(--warning);
    }

    .detailed-pledge-list li.not-started {
        border-color: var(--danger);
    }

.pledges-color-key li.complete {
    background-color: var(--success);
    border-left: 2px solid var(--sucess);
}

.pledges-color-key li.incomplete {
    background-color: var(--warning);
}

.pledges-color-key li.not-started {
    background-color: var(--danger);
}

.pledges-color-key {
    list-style-type: none;
    padding: 0;
}

.add-new-stacked {
    font-weight: 400;
}

    .add-new-stacked:hover {
        color: #566787
    }


.card-red {
    border: 2px solid #dc3545;
}

.card-amber {
    border: 2px solid #ffc107;
}

.card-green {
    border: 2px solid #28a745;
}

.report-piechart {
    width: 100%;
    min-height: 350px;
}

.report-barchart {
    width: 100%;
    min-height: 400px;
}

label.error {
    color: #dc3545;
}