﻿/* 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 !important;
}

    .btn-primary:hover {
        background-color: #2774c3;
    }

.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 */
}

.navbar-brand-dely {
    padding-top: .05rem;
}

.line-height-125 {
    line-height: 1.25;
}

.font-nunito {
    font-family: 'Nunito', sans-serif !important;
}

#accountstable_wrapper {
    width: 100%;
    padding: 12px;
}

/*#suborganisationstable_wrapper {
    width: 100%;
    padding: 12px;
}*/

#loadingoverlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000000a3;
    z-index: 99999;
}

    #loadingoverlay .spinner-border {
        width: 3rem;
        height: 3rem;
    }

.search-button {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.bg-dely {
    background-color: #055c8d;
}

.select2-selection__rendered {
    font-family: 'Nunito', sans-serif !important;
}

.select2-results__option {
    font-family: 'Nunito', sans-serif !important;
}

.dataTables_filter {
    font-family: 'Nunito', sans-serif !important;
}

.dataTables_length {
    font-family: 'Nunito', sans-serif !important;
}

.dataTable {
    font-family: 'Nunito', sans-serif !important;
}

.dataTables_info {
    font-family: 'Nunito', sans-serif !important;
}

.dataTables_paginate {
    font-family: 'Nunito', sans-serif !important;
}

.searchcontainer {
    z-index: 999;
}

.searchcontainer-row {
    min-width: 270px;
}

.searchcontainer-content {
    box-shadow: -2px 2px 5px 0px rgba(0,0,0,0.4);
    background-color: white;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
}

.equal-width-to-signaturepad {
    max-width: 372px;
}

.table-link-button {
    font-size: 19px;
}

.line-height-2 {
    line-height: 2em;
}

.cursor-pointer {
    cursor: pointer;
}

.btn-group .btn-primary {
    background-color: grey;
    border-color: grey;
}

.signarea {
    width: 370px;
}

@media (max-width: 575.98px) {
    .custom-switch.custom-switch-md .custom-control-label {
        padding-left: 2rem;
        padding-bottom: 1.5rem;
    }

        .custom-switch.custom-switch-md .custom-control-label::before {
            height: 1.5rem;
            width: calc(2rem + 0.75rem);
            border-radius: 3rem;
        }

        .custom-switch.custom-switch-md .custom-control-label::after {
            width: calc(1.5rem - 4px);
            height: calc(1.5rem - 4px);
            border-radius: calc(2rem - (1.5rem / 2));
        }

    .custom-switch.custom-switch-md .custom-control-input:checked ~ .custom-control-label::after {
        transform: translateX(calc(1.5rem - 0.25rem));
    }

    .signarea {
        width: 306px;
    }
}

/* Datatables override */
#transactionstable_processing {
    background-color: #055c8d;
    color: #fff;
    opacity: 0.75;
}

.dropdown-item.active, .dropdown-item:active {
    text-decoration: none;
    background-color: #e3e3e3;
}

.btn-outline-primary {
    color: #3067d7;
    border-color: #3067d7;
}

    .btn-outline-primary:hover {
        color: #fff;
        background-color: #2774c3;
        border-color: #3067d7;
    }
    .btn-outline-primary:active {
        color: #fff!important;
        background-color: #2774c3!important;
        border-color: #3067d7!important;
    }

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #3067d7;
    background-color: #3067d7;
}

.bg-primary {
    background-color: #3067d7 !important;
}

.text-primary {
    color: #3067d7 !important;
}
