﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------- GLOBAL CSS - LESTER ------------------------------------------------------- */
/* ------------- PLEASE AVOID CREATING CSS STYLE FOR ONE COMPONENT ONLY, THIS CSS ONLY APPLIES TO TWO OR MORE COMPONENT ------------ */
/* ---------- CSS with PascalCase styling indicates global CSS, while other class indicates that it has been overridden  ----------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */


:root {
    --primaryColor: #1e2f57;
    --secondaryColor: #637eba;
    --boldTextColor: #242934;
    --mediumTextColor: #212529;
    --lightTextColor: #9b9aba;
    --orange: #f56800;
    --green: #43a047;
    --yellow: #eab308;
    --amber: #FFC107;
    --blue: #1a73e8;
    --lightBlue: #7dabe6;
    --lightGray: #d1d5db;
    --gray: #6a6464;
    --error: #ef4444;
    --red: #b0423f;
    --violet: #6081e2;
    --darkBG: #343a40;
    /*--primaryColor: #3e93cf;*/
    /*--orange: #FF9800;*/
    /*--green: #4CAF50;*/
    /*--yellow: #D1BC00;*/
    /*--blue: #2196F3;*/
    /*--lightBlue: #4dbcde;*/
    /*--gray: #1e1b18;*/
    /*--violet: #9C27B0;*/
}

html, body {
    font-family: Montserrat, Helvetica, Arial, sans-serif !important;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #242934;
    background-color: #f7f7f7 !important;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    /*    user-select: none;*/
}


/*.BackgroundImageBrokerManagement {
    background-image: url(../assets/background-home.png);
    position: relative;
    background-size: cover;
    height: 100vh;
    max-width: 100%;
    user-select: none;
}*/

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 1.1rem;
}

.NavigationBar {
    background: var(--primaryColor);
    padding: 50px 5px 5px 5px;
    text-align: center;
}

.warning {
    color: #CC3300;
}

.error {
    text-align: center;
    margin-bottom: -20px;
    color: var(--red);
    font-weight: 600 !important;
}

.success {
    color: #22c55e;
}

/* -------- FORM -------- */

input[type="checkbox"] {
    border: 1px solid var(--gray);
}

.CaptionFormGroup {
    display: flex;
    flex-direction: column;
}

input {
    padding: 8px;
    border-radius: 7px;
    border: 1px solid #c5c5c5
}

    input:focus {
        outline-color: var(--primaryColor);
    }

.CustomSelect {
    -webkit-appearance: menulist-button;
    appearance: menulist-button;
    font-size: 13px !important;
    height: 31px !important;
}

select:hover {
    cursor: pointer;
}

select.form-control option {
    padding: 100px !important;
    height: 100px !important;
    line-height: 100px !important;
}

option:hover {
    cursor: pointer;
}

.Asterisk {
    color: var(--red);
    margin-left: 2px;
}

.ErrorForm {
    border: 1px solid var(--red);
    color: var(--red);
}


.ActiveForm {
    border: 1.5px solid var(--green);
    color: var(--green);
}



/* ---------- Toast -----------t */
.blazored-toast-container {
    position: fixed;
    right: 2rem;
    top: 1rem;
    z-index: 1000;
    animation: slideInRight 0.5s ease-in-out;
}

.blazored-toast {
    width: 20rem;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .3);
    border-radius: .25rem;
    animation: slideInRight 0.5s ease-in-out;
    margin-bottom: 10px;
}

.blazored-toast-header {
    display: flex;
    align-items: center;
    padding: .5rem .75rem;
    color: #007bff;
    background-color: rgba(255, 255, 255, .85);
    border-bottom: solid 1px rgba(0, 0, 0, .125);
    border-radius: .25rem .25rem 0 0;
}


.blazored-toast-body {
    padding: .75rem;
}


.blazored-toast-success {
    color: white;
    background: var(--green)
}


.blazored-toast-info {
    color: white;
    background: #eab308;
}

.blazored-toast-warning {
    color: white;
    background: #f97316;
}


.blazored-toast-danger {
    color: white;
    background: var(--red);
}

.blazored-toast button {
    position: absolute;
    right: 20px;
    padding: 0;
    background-color: transparent;
    border: 0;
    font-size: 1.25rem;
    cursor: pointer;
    color: white;
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}


/* --------- TEXT -------- */
.HeaderCaption {
    background: var(--primaryColor);
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 15px;
    text-align: center;
    border-top-right-radius: 7px;
    border-top-left-radius: 7px;
    margin-left: 20px;
    margin-bottom: -16px;
}

.Navigator {
    font-size: 20px;
    color: var(--gray);
    font-weight: 700;
}

.Header {
    font-size: 20px;
    color: var(--primaryColor);
    font-weight: 800;
}

.title {
    font-size: 17px;
    color: var(--primaryColor);
    font-weight: 700;
}

.SubTitle {
    font-size: 15px;
    color: var(--primaryColor);
    font-weight: 600;
}

.caption {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
}


/* --------- Buttons -------- */

button:focus {
    outline: none !important;
}

.btn-brokerManagement {
    color: white;
    background: var(--primaryColor);
    padding: 5px 20px;
    border-radius: 3px;
    border: none;
    transition-duration: 300ms;
}

    .btn-brokerManagement:hover {
        opacity: 0.8;
        color: white;
        transition-duration: 300ms;
    }

    .btn-brokerManagement:disabled {
        opacity: 0.7;
    }

.btn-secondary {
    color: var(--primaryColor);
    background: white;
    border: 0.1rem solid var(--primaryColor);
    border-radius: 3px;
    transition-duration: 300ms;
}

    .btn-secondary:hover {
        color: var(--primaryColor);
        background: white;
        opacity: 0.8;
        transition-duration: 300ms;
    }


.btn-dark {
    color: white;
    background: var(--primaryColor);
    border-radius: 3px;
    padding: 3px 10px;
    transition-duration: 300ms;
    border: none;
}

    .btn-dark:hover {
        color: white;
        background: var(--primaryColor);
        opacity: 0.8;
        transition-duration: 300ms;
    }

    .btn-dark:disabled {
        opacity: 0.6;
    }

.btn-delete {
    color: white;
    background: var(--red);
    border-radius: 3px;
    padding: 3px 8px 3px 10px;
    transition-duration: 400ms;
    border: none;
}


    .btn-delete:hover {
        color: white;
        opacity: 0.8;
        transition-duration: 400ms;
        border: none;
    }


.PrimaryText {
    color: var(--textColor);
}

.LayoutBackground {
    background: white;
    padding: 25px 40px 20px 40px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
    margin: 0px 10px;
}


/* ------------ Scrollbar ---------------- */


.scroll-bar-wrap {
    width: 100%;
    position: relative;
}

.scroll-box {
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

    .scroll-box::-webkit-scrollbar {
        width: .3em !important;
    }

    .scroll-box::-webkit-scrollbar,
    .scroll-box::-webkit-scrollbar-thumb {
        overflow: visible !important;
        border-radius: 4px !important;
    }

    .scroll-box::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,.2) !important;
    }

.cover-bar {
    position: absolute !important;
    background: white !important;
    height: 100% !important;
    top: 0 !important;
    right: 0;
    width: .3em;
    -webkit-transition: all .5s;
    opacity: 0;
}

.scroll-bar-wrap:hover .cover-bar {
    opacity: 1;
    -webkit-transition: all .5s;
}

::-webkit-scrollbar {
    display: none !important;
}


/* --------- Table ---------*/
.table-container {
    margin: auto;
    overflow: auto;
    min-width: 100px;
    width: 100%;
}


table {
    width: 100%;
    max-height: 700px;
    word-wrap: break-word;
}

th, td {
    padding: 5px 3px;
    text-align: center;
    white-space: normal;
}

.wrapper {
    position: relative;
    overflow: auto;
    white-space: nowrap;
}

.StickyCol {
    position: -webkit-sticky;
    background: white;
    position: sticky;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
}

th {
    color: #808080;
}

tr:nth-child(even) td {
    background-color: #dbebf6;
    white-space: normal;
}

thead {
    border-bottom: 1px solid var(--gray);
}


.table-container::-webkit-scrollbar {
    height: 5px;
    width: 5px;
}

.table-container::-webkit-scrollbar-track {
    background-color: lightgray;
}

.table-container::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: var(--gray);
}


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}


/* Custom Table (Blue Header) */

.table-blue-header {
    background: var(--primaryColor);
    border: 0.3px solid var(--primaryColor);
}

    .table-blue-header th {
        color: white;
        padding: 8px 20px;
    }

.table-blue-border {
    border: 0.3px solid var(--primaryColor);
}

    .table-blue-border td {
        padding: 8px 20px;
    }

    .table-blue-border tr:nth-child(even) td {
        background-color: transparent !important;
    }

    .table-blue-border td {
        border-bottom: 0.1px solid var(--primaryColor);
    }



.table-blue::-webkit-scrollbar {
    height: 8px;
}


.table-blue-header .StickyCol {
    position: -webkit-sticky;
    background: var(--primaryColor);
    position: sticky;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
}

.table-blue-border .StickyCol {
    position: -webkit-sticky;
    position: sticky;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
}

.table-blue::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: var(--primaryColor);
}

.action-columns {
    background-color: #fff !important;
}

/* ---------- NO DATA OR LOADING DATA INDICATOR ---------- */
.CenteredContent {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .CenteredContent img {
        width: 100px;
        height: auto;
        padding: 0;
        margin-top: 15px;
        display: inline-flex;
    }

    .CenteredContent h5 {
        font-size: 13px;
        font-weight: 500;
    }

    .CenteredContent.NoData {
        flex-direction: column;
    }

.NoData {
    font-size: 13px !important;
    margin-top: 20px;
    font-weight: 600;
}

.message {
    margin-top: 10px;
}

/* ---------- Links ---------- */


.LinkDownload {
    color: var(--primaryColor);
    text-decoration: underline;
    font-weight: 600;
}

    .LinkDownload:hover {
        cursor: pointer;
        transition: color 0.2s;
        color: var(--textColor);
    }


/* ---------- FORMS ---------- */

input[type=radio] {
    accent-color: var(--primaryColor);
    -ms-transform: scale(1.2); /* IE 9 */
    -webkit-transform: scale(1.2); /* Chrome, Safari, Opera */
    transform: scale(1.2);
    margin-right: 5px;
}

/* ---------- ICONS Action button fixed position ---------- */

.table-container .wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.GraySeparator {
    margin: 15px 0px;
    border-bottom: 0.1px solid #bababa;
}

.BlueSeparator {
    margin: 15px 0px;
    border-bottom: 0.1px solid #b8e2ff;
}

/* --------------------- MODAL -------------------------*/

.size-large {
    margin-top: 130px !important;
}

.size-extra-large {
    margin-top: 40px !important;
}

.Large-Modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    display: flex;
    width: 90%;
    max-width: 1000px;
    max-height: 800px;
    justify-content: center;
    flex-direction: column;
    padding: 30px 20px 40px 25px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
}

.Medium-Modal {
    position: fixed;
    top: 50%;
    left: 50%;
    overflow: auto;
    transform: translate(-50%, -50%);
    z-index: 1050;
    display: flex;
    width: 100%;
    max-width: 300px;
    justify-content: center;
    flex-direction: column;
    height: auto;
    padding: 30px 20px 40px 25px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
}


.SmallModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    display: flex;
    width: 80vw;
    max-width: 400px;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    min-height: auto;
    padding: 10px 25px 40px 25px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
}

.blazored-loading-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80vw;
    max-width: 550px;
    height: auto;
    padding: 20px 20px 45px 20px;
    background-color: white;
    z-index: -1;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
}

    .blazored-loading-modal img {
        max-width: 100%;
    }

    .blazored-loading-modal h5 {
        font-size: 15px;
    }

.LoadingIndicator {
    margin-left: 5px;
    width: 20px;
}

.CenteredContent {
    border-top: 1px solid #808080;
    padding: 30px 0px 0px 0px;
    margin: 50px 0px 0px 0px !important;
}

/* --------- Error Indicator (Blazor) DO NOT DELETE ---------*/

#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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }



/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------- RESPONSIVENESS -------------------------------------------------------- */
/* -------------- PLEASE MATCH YOUR CSS ACCORDING TO THE VIEWPORT DO NOT CREATE ANOTHER TO AVOID CONFLICT RESPONSIVENESS ---------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */


@media only screen and (max-width: 991px) {

    .NavigationBar {
        text-align: start;
        padding: 10px;
    }

    .Navigator {
        display: none;
    }
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------- SMALL PHONE VIEWPORT ------------------------------------------------------ */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */

@media only screen and (max-width:576px) {
    .LayoutBackground {
        margin: 0px 10px;
        padding: 20px;
    }

    .HeaderCaption {
        margin-left: 20px;
        margin-top: 40px;
        margin-bottom: -60px;
        font-size: 15px;
    }
}


/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------- BIGGER PHONE VIEWPORT ----------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */


@media (min-width: 576px) and (max-width: 767.98px) {
    .LayoutBackground {
        margin: 10px 10px;
    }

    .HeaderCaption {
        margin-left: 20px;
        margin-top: 40px;
        margin-bottom: -99px;
    }
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------- TABLET VIEWPORT -------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */


@media (min-width: 768px) and (max-width: 991.98px) {
    .LayoutBackground {
        margin: 10px 10px;
    }
}


/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------- LAPTOP AND SMALLER DESKTOP  ------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */

@media screen and (min-width:992px) and (max-width: 1199px) {
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------  DESKTOP  ------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */


@media (min-width: 1200px) and (max-width: 1499px) {
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------- ULTRAWIDE DESKTOP ------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */

@media (min-width: 1500px) {
}
