﻿/* Fix padding */
.scroll-locked {
    padding-right: 0;
}

    .scroll-locked .mud-layout .mud-appbar {
        padding-right: 0;
    }

/* FAB */
button.mud-fab-secondary {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 100;
}

div.for-fab .mud-tooltip-root {
    position: fixed;
    right: 64px;
    bottom: 60px;
    z-index: 100;
}

/* Typo */

h1:focus-visible {
    outline: 0px;
}

h1.display-4 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.text-info {
    color: var(--mud-palette-info-darken) !important;
}

.text-danger {
    color: var(--mud-palette-error-darken) !important;
}

.text-warning {
    color: var(--mud-palette-warning-darken) !important;
}

.text-center {
    text-align: center !important;
}

.text-bold {
    font-weight: bold;
}

.text-mono {
    font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace !important;
}

.border-right {
    border-right: 1px solid var(--mud-palette-divider) !important;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /*    margin-right: -15px;
    margin-left: -15px;*/
}

.col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

table {
    border-collapse: collapse;
}

.align-top {
    vertical-align: top;
}

.align-middle {
    vertical-align: middle;
}

.align-bottom {
    vertical-align: bottom;
}

.img-fluid, .video-fluid {
    max-width: 100%;
    height: auto;
}

img {
    vertical-align: middle;
    border-style: none;
}

.img-fluid.youtube {
    max-width: 500px;
    height: 281px;
}

::-webkit-scrollbar-thumb {
    border-radius: 3px;
}

.btn-group, .btn-group-vertical {
    position: relative;
    display: -ms-inline-flexbox;
    display: inline-flex;
    vertical-align: middle;
}

/* badge */

.badge {
    color: #fff !important;
    display: inline-block;
    padding: .25em .4em;
    /*font-size: 75%;*/
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .125rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.badge-primary {
    color: #fff !important;
    background-color: var(--mud-palette-primary) !important;
}

.badge-secondary {
    color: #fff !important;
    background-color: var(--mud-palette-secondary) !important;
}

.badge-success {
    color: #fff !important;
    background-color: var(--mud-palette-success) !important;
}

.badge-danger {
    color: #fff !important;
    background-color: var(--mud-palette-error) !important;
}

.badge-info {
    color: #fff !important;
    background-color: var(--mud-palette-info) !important;
}

.badge-warning {
    color: #fff !important;
    background-color: var(--mud-palette-warning) !important;
}

.badge-light {
    color: #fff !important;
    background-color: var(--mud-palette-grey-light) !important;
}

.badge-dark {
    color: #fff !important;
    background-color: var(--mud-palette-dark) !important;
}

/* FIXES */
/* readonly input fix */
div.mud-dialog .mud-input > input.mud-input-root:read-only {
    background-color: #0000001e;
}

/* MISC */
.validation-message {
    color: red !important;
}

.active-element {
    background-color: rgba(103, 58, 183, .3);
}
