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

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

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

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

#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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41N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iIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.mud-alert-message {
    padding: 0px 0;
}

/* #region Menu items */

.active span {
    text-decoration: underline;
    text-decoration-color: var(--mud-palette-info) !important;
    text-underline-offset: 8px;
}

/* #endregion Menu items END */


/* #region LanguageSelector Component */

.language-selector {
    width: 3.5rem;
    height: 1.5rem;
}

    .language-selector p {
        font-size: small
    }

/* #endregion LanguageSelector Component END */

/* #endregion Notifications Component END */

.notification-row:hover {
    background-color: rgba(33,150,243, 0.15) !important;
}

.notifications-table .mud-table-pagination {
    text-align: center;
    display: block !important;
}

.history-table .mud-table-cell-checkbox {
    visibility: hidden;
}

.notifications-table table,
.history-table table{
    table-layout: fixed;
}

/* #endregion Notifications Component END */

/* #region ToolCollectionOverview Component */

.drag-icon {
    visibility: hidden;
}

.drag-icon-align-middle {
    vertical-align: middle;
}

.collection-drop-container .mud-dropitem-placeholder {
    margin-bottom: 6px;
    border-radius: 24px;
}

.collection-overview .mud-list-item {
    border-radius: 24px !important;
    border: 1px solid white !important;
}

.collection-overview .mud-drop-item {
    margin-bottom: 6px;
    border-radius: 24px !important;
}

.mud-list-item-clickable:focus {
    background-color: inherit !important;
}

.collection-overview .mud-list-item:hover,
.collection-overview .mud-selected-item {
    cursor: pointer;
    background-color: rgba(33,150,243,0.2) !important;
    border: 1px solid var(--mud-palette-info) !important;
    border-radius: 24px !important;
}

.collection-overview .mud-drop-item:not(.mud-drop-item-preview-start) {
    cursor: pointer;
}
 
.collection-overview-pointer .mud-list-item:hover, .collection-overview-pointer .mud-selected-item {
    cursor: pointer !important;
}

/* #endregion ToolCollectionOverview Component END */
/* #region ToolCollection Component */
.tool-drop-container .mud-drop-item {
    height: 65%;
    width: 30.5%;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    margin-bottom: 1.25rem;
    cursor: pointer !important;
}

.tool-drop-container .mud-dropitem-placeholder {
    width: 30.5%;
    height: 95px;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    margin-top: 0px;
    border-radius: 6px;
    background-color: rgba(33,150,243,0.2) !important;
}

/* #endregion ToolCollection Component END */

/* #region ToolLogo Component */

.tool-logo {
    font-size: 80px !important;
}

.loading-spinner {
    width: 80px !important;
    height: 80px !important;
}

.shared-badge {
    position: absolute;
    top: 74% !important;
    left: 80% !important;
}

/* #endregion ToolLogo Component END */

/* #region EditTool Component */
.tool-type-picker {
    width: 50%
}

.tool-type-picker .mud-input {
    height: 2.5rem;
}

.upload-input {
    opacity: 0;
}

.upload-dashed {
    max-width: 429.5px;
    border-style: dashed !important;
    border-width: 1.5px !important;
    border-color: var(--mud-palette-info) !important;
}

/* #endregion EditTool Component END */

/* #region EditIncident component */

.incident-level-picker .mud-input {
    height: 2.5rem;
}

/* #region EditIncident component END */

/* #region Dialog */

.mud-dialog-actions {
    background-color: #F5F5F5;
}

/* #endregion Dialog */

/* #region MudAlert */

.mud-alert-message {
    width: 100%;
}

.mud-alert-position {
    align-items: center;
}

/* #endregion MudAlert */

/* #region Incident Assistant */

.breadcrumb-home,
.incident-breadcrumb {
    color: rgba(33,150,243) !important;
}

.breadcrumb-home:hover,
.incident-breadcrumb:hover {
    background-color: rgba(33,150,243, 0.2) !important;
}

ol {
    padding-left: 20px;
}

/* #endregion Incident Assistant */

/* #region Shared */
.add-collection-header {
    justify-content: space-between;
    display: flex;
}

.user-groups {
    font-size: small !important;
}

.align-center {
    align-content: center;
}

.delete-icon {
    display: block;
    margin: auto;
}

.bold {
    font-weight: bold !important;
}

.text-align-center {
    text-align: center;
}

.warning-text p {
    color: red;
}

.text-overflow-ellipsis {
    width: 90%;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.best-practices-text {
    color: var(--mud-palette-text-secondary);
}

.mud-drop-item-preview-start {
    height: 1px !important;
}

.bg-color-gray {
    background-color: rgb(243 244 246);
}

.float-right {
    float: right;
}

.overflow-wrap {
    overflow-wrap: anywhere;
}

/* #endregion Shared END */

.mud-list-item .drag-icon {
    visibility: hidden;
}

.mud-list-item:hover .drag-icon {
    visibility: visible;
}

.mud-menu:hover {
    cursor: pointer;
}

.unordered-list {
    list-style-type: initial;
}

/* This fixes the bug where MudMenu's inside a dropzone do not automatically close.
   However, adding this will add a strange behaviour when dragging a component in a dropzone.
   It appears as if the component is dragging along parts of the components around it.
   Known issue in MudBlazor, check updates to see if issue is fixed:
    https://github.com/MudBlazor/MudBlazor/issues/9611

.mud-drop-zone-with-menu > .mud-drop-item {
    transform: unset !important;
}

*/

div .mud-border-primary {
    border-color: var(--mud-palette-info) !important;
}
