﻿/*!
 * ========================================================================================================================
 * This file contains custom css styling the application, when adding something describe why it was added.
 */


/*! This rule allows <hr> line tags to take up the full space of a bootstrap container */
hr.line-seperator {
    margin-left: -1rem;
    margin-right: -1rem;
}

/* Custom styles for the grid buttons: add spacing between buttons and align button icons */
div.k-grid table tbody a.btn-grid-command {
    margin-right: 2px;
    margin-left: 2px;
}

div.k-grid table tbody a.btn-grid-command i {
    line-height: inherit;
    padding-right: 0;
}

/* fix loading spinner visibility */
div.k-loading-mask div.k-loading-image {
    font-size: initial !important;
}

/*.k-loading-color {
    background-color: #000;
    opacity: 0.3;
}

.k-loading-image::after, .k-loading-image::before {
    content: "";
    border-width: 2px;
    border-width: max(2px,0.015em);
    font-size: 4em;
    color: white;
}*/

/* style labels for required inputs */
.required:after {
    content: "*";
    font-weight: bold;
    color: red;
    margin-left: 1px;
}

.brand-logo span {
    color: white;
    font-weight: 500;
    text-transform: uppercase !important;
    padding: 10px;
    font-size: 1.1rem;
}

.aside-minimize .brand .brand-logo span {
    display: none;
}

textarea.form-control {
    min-height: 32px;
}

.btn {
    font-family: Poppins, Helvetica, "sans-serif" !important;
}

.font-small-caps {
    font-variant: small-caps;
}

.label-full {
    width: -webkit-fill-available;
    padding: 0.15rem 0.75rem;
    border-radius: 0.42rem;
}

.btn-pdf, .btn-pdf:focus, .btn-pdf.focus {
    color: #FA0F00;
    background-color: #E5EAEE;
    border-color: #E5EAEE;
    -webkit-box-shadow: none;
    box-shadow: none;
}

    .btn-pdf > span:last-of-type {
        display: none;
    }

    .btn-pdf:hover {
        color: #fff;
        background-color: #FA0F00;
        border-color: #FA0F00;
    }

        .btn-pdf:hover > span:last-of-type {
            display: initial;
        }

    .btn-pdf:active, .btn-excel.active {
        color: #fff;
        background-color: #FA0F00;
        border-color: #FA0F00;
        -webkit-box-shadow: 0 0 0 0.2rem #FA0F0080;
        box-shadow: 0 0 0 0.2rem #FA0F0080;
    }

.btn-excel, .btn-excel:focus, .btn-excel.focus {
    color: #107c41;
    background-color: #E5EAEE;
    border-color: #E5EAEE;
    -webkit-box-shadow: none;
    box-shadow: none;
}

    .btn-excel > span:last-of-type {
        display: none;
    }

    .btn-excel:hover {
        color: #fff;
        background-color: #107c41;
        border-color: #107c41;
    }

        .btn-excel:hover > span:last-of-type {
            display: initial;
        }

    .btn-excel:active, .btn-excel.active {
        color: #fff;
        background-color: #107c41;
        border-color: #107c41;
        -webkit-box-shadow: 0 0 0 0.2rem #107c4180;
        box-shadow: 0 0 0 0.2rem #107c4180;
    }

.k-i-file-pdf {
    color: #cf0000;
}

.k-i-file-excel {
    color: #2d9f00;
}