@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#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;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}


.or {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .or .or-line {
        border-bottom: 1px solid var(--bs-body-color);
        width: 100%;
        opacity: 0.2;
    }

    .or .or-text {
        padding: 0 0.625rem 0px 0.625rem;
        font-size: 0.75rem;
        line-height: 1.125rem;
        color: var(--bs-body-color);
        opacity: 0.7;
    }

.links-area {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.625rem;
}

.links-container {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

    .links-container .dot {
        height: 0.3125rem;
        width: 0.3125rem;
        margin: 0 0.1875rem;
        border-radius: 50%;
        background-color: var(--bs-body-color);
        opacity: 0.7;
    }

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background: var(--bs-primary);
    z-index: -1;
}

.info-message {
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .info-message.info-panel {
        margin-bottom: 0.625rem;
    }

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    height: 4.3125rem;
    font-size: 1.875rem;
}

.title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-desktop-inline {
    display: inline-block;
}

.display-mobile {
    display: none;
}

.icon-external-provider {
    width: 1rem;
    height: 1rem;
}

.icon-google {
    background-image: url("/images/account/providers/google-logo.svg")
}

.icon-facebook {
    background-image: url("/images/account/providers/facebook-logo.svg")
}

.icon-microsoft {
    background-image: url("/images/account/providers/microsoft-logo.svg")
}

.icon-twitter {
    background-image: url("/images/account/providers/x-logo.svg")
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }

    .display-desktop-inline {
        display: none;
    }

    .display-mobile {
        display: block;
    }
}

* {
    border-radius: 0 !important;
}

.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1049;
}

/*#logo {
    width: 70px;
    transition: width 2s;
}*/

/* SideBar 
.sidebar {
    position: fixed;
    top: 0rem;
    bottom: 0;
    width: 330px;
    overflow: hidden;
    padding-bottom: calc(3.5rem + 60px);
    box-shadow: inset -140px -8px 30px -100px rgba(0, 0, 0, 0.08);
    z-index: 1029;
    transition: width 0.1s ease-in-out;
}

.sidebar > div {
    width: 330px;
}*/

/* Content 
.content-container {
    height: calc(100% - 7rem);
    overflow-y: scroll;
    overscroll-behavior: none;
    position: relative;
}

    .content-container.animated {
        scroll-behavior: smooth;
    }

.content-all {
    margin: 0 auto;
    max-width: 1900px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
    overflow: hidden;
    min-height: 100%;
}

    .content-all .main {
        -webkit-overflow-scrolling: touch;
        margin-left: 330px;
        width: calc(100% - 330px);
        display: flex;
        flex-flow: column nowrap;
    }

.modal-open .main {
    -webkit-overflow-scrolling: auto;
}

.content-all .main > .content {
    padding: 1.1rem 1.5rem 0;
    flex: 1 1 100%;
}

.content-all .main > .content-footer {
    height: 1em;
    flex: 0 0 auto;
}*/


/*New sidebar*/
.main-container {
    display: flex;
    flex-flow: row wrap;
    overflow: hidden;
    height:100%;
}

    .main-container .sidebar {
        /*background-color: #333;*/
        color: #fff;
        background-color: var(--bs-body-bg);
        width: 240px;
        height: 100%;
        padding: 0 1rem;
        position: fixed;
        top: 100px;
        left: 0;
        transition: 1s ease-in-out;
        overflow: auto;
        box-shadow: 0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22) !important;
        z-index: 1038;
    }


        .main-container .sidebar a {
            color: #fff;
            text-decoration: none;
        }

        .main-container .sidebar .sidebar-header {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: flex-start;
            padding-top: 1rem;
            height: 120px;
        }

            .main-container .header .logo {
                /*width: 70%;*/
                width: 180px;
                /*padding: 1rem;*/
                transition: 1s ease-in-out;
            }

            @media (max-width: 1000px){
                .main-container .header .logo {
                    /*width: 70%;*/
                    width: 180px;
                    /*padding: 1rem;*/
                    transition: 1s ease-in-out;
                }
            }

                /*.main-container .sidebar .sidebar-header .logo img {
                    height: auto;
                    width: 100%;
                }*/

            .main-container .sidebar .sidebar-header button {
                font-size: 1.3rem;
            }

            .main-container .sidebar .sidebar-header .menu {
                /*width: 20%;*/
                text-align: end;
            }

    .main-container .main {
        margin-left: calc(240px + 0rem);
        /*padding: 1rem;*/
        width: 100%;
        transition: 1s ease-in-out;
        
        display: flex;
        flex-flow: column;
        height: calc(100% - 100px);
        
    }

        .main-container .header {
            /*width: calc(100% - 300px);*/
            /*flex: 0 0 auto;*/
            height: 100px;
            width: 100%;
            background-color: var(--bs-body-bg);
            box-shadow: 0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22) !important;
        }

.menu{
    font-size: 1.5rem;
}
    .menu.menu-button {
        padding: 0 1.4rem;
    }

.content {
    /*position: relative;
    flex: 1 1 auto;
    position: relative;*/
    overflow-y: auto;
    overflow-x:hidden;
    height: 100%;
    padding: 1rem;
}

.short .sidebar {
    width: 75px;
    /*text-align: center;*/
}

    .short .sidebar .dxbl-menu-item-text-container {
        display: none;
    }

    .short .sidebar .sidebar-header .logo {
    width: 35px;
    }

    .short .sidebar .sidebar-header {
        display: block;
        height: 120px;
    }

        .short .sidebar .sidebar-header .logo-mobile {
            display: none;
        }

.short .main {
    margin-left: calc(75px + 0rem);
    overflow: auto;
}

#sidebar-overlay {
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1037;
}

@media (max-width: 768px) {
    .sidebar-open #sidebar-overlay {
        display: block;
    }

    .sidebar-close #sidebar-overlay {
        display: none;
    }

    .main-container .main {
        margin-left: calc(0px);
    }

    .short .sidebar {
        width: 0px;
        padding: 0px;
    }

        .short .sidebar .dxbl-menu-item-text-container {
            display: none;
        }

        .short .sidebar .sidebar-header {
            display: block;
            height: 120px;
        }

            .short .sidebar .sidebar-header .logo-mobile {
                display: none;
            }

    .short .main {
        margin-left: calc(0px);
        overflow: auto;
    }
}



.dxbl-menu-item a, .dxbl-menu-item button {
    font-size: 1.1rem;
    transition: 1s ease-in-out;
}

/*TEST*/
body {
    overflow: hidden;
    height: 100vh;
}

/*Search box*/
#search-box {
    margin-left: auto;
    width: 30%;
}

.search-box-container{
    height:100%;
    align-items: center;
}

.search-box-text{
    width: 100%;
}

.search-box-icon {
    position: absolute;
    right: 10px;
    top: 4px;
}

.search-box-container .search-box-icon {
    line-height: calc(100px - 4rem);
}

.clear-search-box-icon {
    position: absolute;
    right: 35px;
    top: 4px;
}

.search-box-container .clear-search-box-icon {
    line-height: calc(100px - 4rem);
}

.recall-search-box-icon {
    position: absolute;
    right: 60px;
    top: 4px;
    line-height: calc(100px - 4rem);
}

#search-results-container{
    display: none;
    position:absolute;
    top: 80px;
    margin-left:15%;
    width: 70%;
    height: 70%;
    background-color: lightcoral;
    z-index: 1040;
}

@media (max-width: 1000px){
    #search-results-container {
        display: none;
        position: absolute;
        top: 80px;
        margin-left: 5px;
        width: 95%;
        height: 80%;
        background-color: lightcoral;
        z-index: 1040;
    }
}

#search-results-container.shown{
    display: block;
}

.search-results-grid{
    height: 100%;
    /*max-height: 300px;*/
}
    

/* Content Modal */
.content-modal.modal-backdrop {
    opacity: 0;
    pointer-events: none;
    top: 0rem;
    z-index: 1026;
}

    .content-modal.modal-backdrop.modal-backdrop-shown,
    .content-modal.modal-backdrop.modal-backdrop-hidden {
        transition: opacity 0.2s ease-in-out;
    }

    .content-modal.modal-backdrop.modal-backdrop-shown {
        cursor: pointer;
        pointer-events: all;
        opacity: 0.5;
    }

/*Login layout*/
.login-page-container{
    margin: auto;
}

.login-page-container .logo{
    width: 220px;
    margin: auto;
    padding-bottom: 1rem;
}

/* Index page */
.widget-card-icon{
    font-size: 2.5rem;
}

/*Misc*/
.grid-icon{
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.btn-sep {
    width: 1px;
    height: 2.125rem;
    display: inline-block;
    background: var(--bs-body-color);
    opacity: .125;
    align-items: center;
    vertical-align: central;
}


/*Modal windows*/
.modal-xl.modal-content{
    height: 60%;
}

/*Rich edit*/
.dxreRoot.messageContentRichEdit{
    width:100%;
    height: 400px;
}

/*Form layout*/
.dxbl-fl .dxbl-fl-item .dxbl-fl-ctrl-nc{
    margin-top: 0;
}

/*Reclamation Message Form ReportViewer*/
.reclamation-form{
    height: 450px;
}

/*Grid layout test*/
.gridlayout-item {
    padding: 0.5rem;
    /*font-size: 1.2em;
    font-weight: 500;
    text-align: center;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 0;
    display: flex;
    justify-content: center;*/
}

@media (max-width: 1000px){
    .gridlayout-item {
        padding: 0.1rem;
    }
}

    .gridlayout-item:before {
        content: " ";
        position: absolute;
        z-index: -1;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        opacity: 0.4;
    }

.gridlayout-header:before {
    background-color: var(--bs-red);
}

.gridlayout-content:before {
    background-color: var(--bs-yellow);
}

.gridlayout-left-side-bar:before {
    background-color: var(--bs-green);
}

.gridlayout-right-side-bar:before {
    background-color: var(--bs-info);
}

.gridlayout-footer:before {
    background-color: var(--bs-blue);
    opacity: 0.5;
}

@media (max-width: 575.98px) {
    .gridlayout-item {
        font-size: 0.9em;
    }
}

/*Mail message attachments*/
div.attachment-container{
    /*position: fixed;
    bottom: 0;*/
}

ul.attachment-list{
    list-style: none;
    display: inline-block;
    padding-left: 0px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid;
}

    ul.attachment-list li {
        display: inline-block;
        margin-right: 10px; 
    }

/*Reclamation tabs*/
.dxbl-tabs {
    height: calc(100% - 0px);
    overflow: hidden;
}

.dxbl-tabs-content-panel {
    height: calc(100% - 50px);
    overflow: hidden;
}

.dxbl-tabs-content{
    overflow-y: auto;
    overflow-x: hidden;
}

/*Flex header and content*/
.flex-container {
    display: flex;
    flex-flow: column;
    /*background-color: green;*/
    height: 100%;
    align-items:stretch;
}


.flex-header {
    height: 40px;
    /*background-color: red;*/
    width: 100%;
    display: flex;
    flex: 0 1 auto;
}

.flex-content {
    /*background-color: blue;*/
    width: 100%;
    height: calc(100% - 40px);
    padding-top: 10px;
    display: flex;
    flex: 1 1 auto;
}

@media (max-width: 1000px) {
    .flex-content {
        /*height: calc(100% - 100px);*/
        padding-top: 30px;
    
    }
}


.content-header{
    font-size: 1.5rem;
    display: inline-block;
}

.content-header-back {
    color: var(--bs-secondary);
}

@media (max-width: 1000px) {
    .content-header {
        font-size: 1.1rem;
    }
}

.templateListbox {
    --dxbl-list-box-border-width: 0px;
    width: 100%
}

/*Dialogs*/
.dialog-info {
    border: 1px solid var(--bs-info);
}

.dialog-warning{
    border: 1px solid var(--bs-warning);
}

.dialog-error {
    border: 1px solid var(--bs-danger);
}

/*Checked important checkboxes*/
.checkbox-important {
    --dxbl-checkbox-check-element-checked-bg: var(--bs-warning);
    --dxbl-checkbox-check-element-checked-color: var(--bs-dark);
    --dxbl-checkbox-check-element-checked-hover-bg: var(--bs-warning);
}

.tags-accordion{
    height: 350px;
    overflow-y: auto;
}

.search-item-badge {
    /*--bs-bg-opacity: .5;*/
    font-size: 0.85rem;
}

.search-item-header{
    font-size: 0.9rem;
}

.search-item-description{
    font-size:0.85rem;
}

.treeview-icon {
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    min-height: 1rem;
    background-size: contain;
    background-position: center center;
}

.border-box{
    box-sizing: border-box;
}

.layout-item-controls{
    /*border: 1px solid var(--bs-secondary);*/
    margin-bottom: 3px;
    padding: 3px;
    min-height: 40px;
}

div.dxbl-upload{
    padding-top: 0px;
}

.icon-bold {
    -webkit-text-stroke: 1px;
}

/*Dashboard*/
.widget-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.widget-card {
    width: 30rem;
    height: 12rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    /*justify-content: center;*/
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
    border-radius: 1rem;
    border: 0px;
    color: var(--bs-link-color-rgb);
    gap: 0rem;
    text-decoration: none;
    position: relative;
    padding: 20px;
    --bs-bg-opacity: 0.1;
    background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;
}

.display-mobile .widget-card{
    width: 90%;
}

.widget-card-wide{
    width: 60.5rem;
}

.widget-card-tall {
    height: 20.5rem;
}

.widget-card-semitall {
    height: 16rem;
}

.widget-card-short{
    height: 8rem;
}

.widget-card:hover {
box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.widget-card-header{
    width: 100%;
    height: 50px;
}

.widget-card-content{
    width: 100%;
    height: calc(100% - 50px);
}

.widget-icon {
    color: var(--bs-light);
    font-size: 25px;
    background-color: rgba(var(--bs-primary-rgb),.1);
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 3px !important;
    display: inline-block;
}

.widget-card .widget-card-text {
    font-size: 1.50rem;
    font-weight: 400;
    letter-spacing: 0em;
    text-align: left;
    text-decoration: unset;
    display:inline-block;
}

.widget-card .widget-card-text-listitem {
    font-size: 0.8rem;
}

.widget-card .widget-card-note{
    font-size: 0.7rem;
}

.widget-card li {
    --bs-bg-opacity: 0;
    background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;
}

.widget-card li:hover{
    --bs-bg-opacity: 0.1;
    background-color: var(--bs-secondary);
}

.widget-card a {
    text-decoration: none;
    color: var(--bs-body-color);
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    /*border: 3px solid green;*/
}

.widget-notifications .dxbl-grid-header-row {
    display: none;
}

@media (max-width: 1000px){
    .modal-content {
        width: 90%;
    }
    dxbl-modal-dialog{
        width: 90% !important;
    }
}

.mail-layout dxbl-grid-layout-root {
    /*grid-template: ". ." 40px ". ." minmax(0px, 1fr) / 180px minmax(0px, 1fr) !important;*/
}

.mail-folders-column{

}

.mail-folders-list{

}

.message-list-button{
    padding: 0.0rem 0.1rem;
}

.ql-editor.dx-htmleditor-content{
    color: black;
    background-color: white;
}

.temporary-attachment{
    background-color: lightyellow;
    color: black;
}

.test-button{
    background-color: lightgreen;
}
.padding-right{
    padding-right:10px;
}
.background-blue
{
    background-color:midnightblue;
}
.background-darkgreen {
    background-color:   dimgrey;
}