@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff !important;
}

.btn-primary-light {
    background-color: var(--blue);
    border-color: var(--blue);
    color: #fff !important;
}

.btn-info {
    color: #fff !important;
}

.btn-danger {
    color: #fff !important;
}

.btn-dark {
    background-color: #444 !important;
}


.content {
    /*padding-top: 1.1rem;*/
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ------ Custom CSS ------*/
h6 {
    margin-bottom: 0;
    font-size: 0.9rem;
}

h5 {
    margin-bottom: 0;
    font-size: 1.17rem;
}

h4 {
    margin-bottom: 0;
    font-size: 1.3rem;
}

.pointer {
    cursor: pointer;
}

.bg-light {
    background-color: #999 !important;
}

.bg-very-light {
    background-color: #DDD !important;
}

.bg-highlight {
    background-color: #FFFFFF50 !important;
}

.gts-yellow {
    color: #E8F542;
}

.modal-header {
    background-color: #F7F7F7;
}

.modal-footer {
    background-color: #F7F7F7;
}

.progress-bar {
    transition: width .4s ease;
}

.valid.modified:not([type=checkbox]) {
    outline: none !important;
}

/* ------ Custom Switch ------*/

.custom-switch.custom-switch-md .custom-control-label {
    padding-left: 1.5rem;
    padding-bottom: 0.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));
}


/* ------ Alert Window ------*/

.alert-popup {
    position: fixed;
    width: calc(99% - 550px);
    bottom: 50px;
    left: 350px;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #A0A0A0;
    border-radius: .25rem;
    z-index: 500;
}

/* ------ Sticky Headers ------*/

.sticky-header-form {
    position: -webkit-sticky;
    position: sticky;
    top: 56px;
    z-index: 1020;
    background-color: #FFF !important;
    border-bottom: 1px #DDD solid;
}

.sticky-filter {
    position: -webkit-sticky;
    position: sticky;
    top: 197px;
    z-index: 1020;
    background-color: #FFF !important;
}

.sticky-row {
    position: -webkit-sticky;
    position: sticky;
    top: 255px;
    z-index: 1020;
    background-color: #EEE !important;
}

.sticky-filter-zero {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 1020;
    background-color: #FFF !important;
}

.sticky-row-zero {
    position: -webkit-sticky;
    position: sticky;
    top: 58px;
    z-index: 1020;
    background-color: #EEE !important;
}
