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

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

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

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

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

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

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

.loader {
    position: absolute;
    top: 30vh;
    width: 100%;
    text-align: center;
}

.login-bg {
    background-image: url('/img/blue-bg.jpg');
    background-size: contain;
    background-repeat: repeat;
    width: 100%;
    height: 900px;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
}

/* DropZone Classes*/
.DropAllowedClass {
    border: dotted 1px #0d6efd;
}

.DraggingClass {
    border: dotted 1px gray;
}

.dropped-moduleUI-bg {
    background: white;
    background-image: radial-gradient(#a9a5a5 1px, transparent 0);
    background-size: 30px 30px;
    background-position: -19px -19px;
}
/* Action Button Bar Item Classes*/
.ActionBtnBar {
    width: 80px !important;
    height: 40px !important;
    border-radius: 5px !important;
}

.ActionBtnBarLink {
    padding: 0px !important;
    color: #222122 !important;
}
/*-------------------------------*/
/* Drag and Drop Item ModuleUI Container for flexboxes */
.widget-ui-row {
    display: flex;
    flex-wrap: wrap;
}

/* Create four equal columns */
.widget-ui-column-25 {
    flex: 25%;
    padding: 10px;
}
/* Create two equal columns */
.widget-ui-column-50 {
    flex: 50%;
    padding: 10px;
}

/* On screens that are 992px wide or less, go from four columns to two columns */
@media screen and (max-width: 992px) {
    .widget-ui-column-25, .widget-ui-column-50 {
        flex: 50%;
    }
}

/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .widget-ui-row {
        flex-direction: column;
    }
}

.loadWidget {
    position: relative;
    /* overflow: auto;*/
    min-height: 75vh;
}

.loadWidget-nav-buttons {
    position: fixed;
    right: 10px;
}

.loadWidget-disable {
    pointer-events: none;
}
/*---------------------------------------*/
.drawer {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 500px; /* Width of the drawer */
    background-color: #f4f4f4;
    transition: transform 0.3s ease;
    transform: translateX(550px); /* Initially hide the drawer */
    right: 0;
    z-index: 99;
}

    .drawer.open {
        transform: translateX(0); /* Show the drawer */
    }

.drawer-content {
    /* padding: 20px;
    height:100%*/
}


.drawer-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9; /*Ensure it's above other content */
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/* Widget Steps class - Start */
.widget-step .step-active .step-circle::before {
    color: #28a745;
}
.widget-step .step-active .step-circle {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}
.widget-step .step-danger.step-active .step-circle {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}
.widget-step .step-active .step-text {
    color: #28a745 !important;
}
.widget-step .step-danger.step-active .step-text {
    color: #dc3545 !important;
}
/* Widget Steps class - End */

.snackBar-TopEnd {
    margin-top: 55px;
}
.moduleUI-container {
    width: 85%;
}
.moduleUI-container::before {
    content: "Drop Element Here"; /* Widget design module UI background text */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5em;
    color: #000000;
    opacity: 0.1; /* Make the text faint */
    white-space: nowrap;
    z-index: 1; /* Place it behind the content */
    pointer-events: none;
    overflow: hidden; /* Ensure text doesn't overflow */
}

.moduleUI-container > * {
    position: relative;
    z-index: 2; /* Place content above the background text */
}

.fixed-top-right {
    position: fixed;
    top: 80px; /* Adjust based on your header height and desired vertical position */
    right: 60px; /* Adjust to move the button left or right */
    z-index: 1000; /* Ensure it is on top of other elements */
}

.fixed-bottom-right {
    position: fixed;
    bottom: 20px; /* Adjust this value as needed */
    right: 30px; /* Move the button to the left if needed */
    z-index: 1000; /* Ensure it is on top of other elements */
}
@media (max-width: 768px) {
    .fixed-top-right {
        right: 20px; /* Move closer to the edge on smaller screens */
    }

    .fixed-bottom-right {
        right: 20px; /* Adjust positioning on smaller screens */
    }
}

 /* Apply scroll bar styling globally - Start  */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--lightestgrey);
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #a9a5a5;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #888;
}
/*Apply scroll bar styling globally - End  */

.min-padding-important {
    padding: 0.35rem 0.35rem !important;
}

.validation-border {
    border: 1px solid var(--bs-danger);
}

.font-bold-italic {
    font-style: italic;
    font-weight: 300;
}

.widgetHtmlModal {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
}
.widgetHtmlModal-content {
    width: 300px;
    text-align: center;
}

.pre-code {
    background-color: #eeeeee;   
    border-radius: 10px;
    border: 1px solid #e7e2e2;
}