﻿.custom-file-label { overflow: hidden; }

.text-sm { font-size: 0.8rem !important; }
.text-md { font-size: 1rem !important; }
.text-lg { font-size: 1rem; }

.btn-group-xs > .btn, .btn-xs {
    padding: 0.25rem 0.5rem !important;
    font-size: .75rem !important;
    line-height: 1.2 !important;
    border-radius: 0.2rem;
}

label[for] { font-weight: 500; margin-bottom: 5px; }
.custom-file-label, .custom-control-label { font-weight: normal !important; }
.form-control-plaintext { padding: 0; }
.required::after { content: '*'; margin-left: 5px; }

/* jquery-validation fixes */
.input-validation-error { border-color: #ff4000; }

.validation-summary-errors {
    color: #852100;
    background-color: #ffd9cc;
    border-color: #ffcab8;
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

    .validation-summary-errors ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

.validation-summary-valid { display: none; }
.field-validation-error { color: #ff4000; font-size: 0.8rem; }
/******/

/** Bootstrap fixes **/
.col-form-label { font-weight: bold; }

.text-success { color: #008542 !important; }
.bg-lightgray { background-color: #f8f9fa !important; }

.dropdown-menu[role=combobox] { z-index: 1060 !important; }
    .dropdown-menu[role=combobox] ul.dropdown-menu li.selected { background-color: #ddd; }
    
    .dropdown-menu[role=combobox] ul.dropdown-menu li a.dropdown-item:focus,
    .dropdown-menu[role=combobox] ul.dropdown-menu li a.dropdown-item:hover {
        color: #fff;
        background-color: #495057;
    }

.btn-warning { color: white; }
    .btn-warning:hover { color: white; }
/******/

/** bootstrap-select fixes **/
.bootstrap-select > .dropdown-toggle {
    background-color: #fff;
    color: #495057 !important;
    border: 1px solid #ced4da;
}
/******/

/** PowerBI **/
.pbi-report {
    /*min-width: 900px;*/
    width: 100%;
    height: 720px;
    border: 1px solid #c8c8c8;
}

    .pbi-report iframe { border: none; }

/*@media (max-width: 767px) {
    .pbi-report {
        min-width: inherit !important;
        height: 550px;
    }
}*/
/******/

/** Bootstrap Datepicker fixes **/
.datepicker { z-index: 1100 !important; }
.datepicker-dropdown { z-index: 1060 !important; }
/******/

/** Character Counter fixes **/
.counter-text { font-weight: 600 }
    .counter-text.exceeded { color: #dc3545; }
/******/
