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

:root {
    /* Oude modulekleuren voor het huidige menu; verdwijnen met de nieuwe layout (nieuwe-look-layout.md). Nieuw: --tt-mod-* in tertios-theme.css. */
    --fin-bg-color: #7B4E12; /*Rosewood*/
    --trs-bg-color: #5F0001; /*blood red*/
    --mgt-bg-color: #98540B; /*Bole*/
    --cms-bg-color: #57422E; /*Cafe noir*/
    --ond-bg-color: #536345; /*Hunter green*/
    --cdms-bg-color: #4E845B; /*middle green*/
    --cwl-bg-color: #4D908E; /*wintergreen dream*/
    --sec-bg-color: #577590; /*queen blue*/
    --gps-bg-color: #455767; /*black coral*/
    --empty-bg-color: #33383E; /*onyx*/
    --bg-hover-color: #ffffff20;
}

body {
    margin: 0;
    overflow-y: hidden;
    -webkit-tap-highlight-color: transparent;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

@media (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}



.tertios-editsave .e-accordion .e-acrdn-item .e-acrdn-panel .e-acrdn-panel .e-acrdn-content {
    padding-left: 30px;
}

.e-success textarea.e-input, .e-control-wrapper.e-success textarea.e-input {
    border-color: #22b24b;
}

.e-float-input.e-success textarea, .e-float-input.e-control-wrapper.e-success textarea {
    border-color: #22b24b;
}



.table td.padding-table-small-sides, .table th.padding-table-small-sides {
    padding-left: 0.1rem;
    padding-right: 0.1rem;
}


.notransition {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

/* custom code start */
.center {
    text-align: center;
    display: none;
    font-size: 13px;
    font-weight: 400;
    margin-top: 20px;
}

.sb-content-tab .center {
    display: block;
}

#sb-content-header {
    display: none
}

.sb-content-section {
    border: 0;
}

.col-md-12, body {
    padding: 0;
}

    /* custom code end */

/*icon styles */
/* custom code start */
.ej2-new .sb-header,
.ej2-new .sb-bread-crumb,
.ej2-new #action-description,
.ej2-new #description-section,
.ej2-new #description,
.ej2-new .sb-footer, .ej2-new #left-sidebar {
    display: none
}

.ej2-new .sb-right-pane.e-view {
    margin-left: 0px !important;
}

.sb-action-description.sb-rightpane-padding {
    padding-bottom: 0;
}

.description-section {
    padding-top: 0;
}

#content-tab.sb-content-tab {
    height: 100% !important;
}

.ej2-new .container-fluid,
.ej2-new .container-fluid .control-section,
#sidebar-section, description-section sb-rightpane-padding {
    padding: 0;
}

.sb-component-name.sb-rightpane-padding {
    margin-top: -56px;
}

.sb-right-pane.e-view {
    left: 0;
    padding-left: 0;
    padding-right: 0;
    top: 0;
    overflow-y: hidden;
}

.sb-desktop-wrapper {
    height: 100%;
}

.sb-component-name h1 {
    padding-top: 0;
}

.ej2-new .sb-content.e-view {
    top: 0;
}
/* custom code end */

/* end of newTab support */

.e-menu-wrapper ul .e-menu-item .e-menu-url,
.e-menu-container ul .e-menu-item .e-menu-url {
    color: #fff;
}


.tertios-sidebar-version {
    text-align: center;
}

.e-grid .e-gridcontent td.tertios-table-align-top.e-rowcell {
    vertical-align: top;
}

i.tertios-help {
    color: lightgray;
    transition: 0.3s;
}

    i.tertios-help:hover {
        color: darkgray;
    }

i.tertios-page-description {
    color: darkgray;
    transition: 0.3s;
}

    i.tertios-page-description:hover {
        color: gray;
    }

img.tertios-foto {
    /* width: 100%; */
    max-width: 12em;
    min-width: 48px;
    height: 100%;
    max-height: 16em;
    min-height: 64px;
    /* margin-bottom: 1em;*/
}











.tertios-below-grid-buttons-right {
    padding-top: .25rem;
    padding-bottom: .25rem;
    display: flex;
    flex-direction: row-reverse;
}

.tertios-editsave .tertios-below-grid-buttons-right,
.tertios-detail .tertios-below-grid-buttons-right {
    padding: 0;
    padding-top: .5rem;
    padding-bottom: .5rem;
    display: flex;
    flex-direction: row-reverse;
}

.tertios-detail, .e-control .tertios-detail, .e-control .tertios-child-page .tertios-detail,
.tertios-editsave, .e-control .tertios-editsave, .e-control .tertios-child-page .tertios-editsave {
    font-size: 14px;
}

.tertios-agenda .schedule-cell-dimension.e-schedule .e-vertical-view .e-appointment {
    min-height: 2.3em;
}

.tertios-agenda-edit .card .card-body .e-recurrenceeditor .e-editor {
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: .5rem !important;
    margin-top: .5rem !important;
    margin-bottom: .5rem !important;
}

.tertios-agenda .e-quick-popup-wrapper {
    min-width: 550px;
}

.tertios-agenda .e-schedule .e-agenda-view .e-resource-column {
    width: 200px;
}

.yellow-bg {
    background-color: #ffff0040;
}

.tertios-nav-menu .e-treeview .e-list-item {
    overflow-x: hidden;
    overflow-y: hidden;
}

.tertios-nav-menu .e-treeview {
    overflow-x: hidden;
}

#tertios-splitter > .tertios-grid-container > .sf-grid.e-grid > .e-gridcontent,
#tertios-splitter-parent > .e-splitter > .splitter-pane-1 > .content > .tertios-grid-container > .sf-grid.e-grid > .e-gridcontent {
    height: calc(100% - 135px) !important; /* Fix for wrong calculation in Syncfusion */
}
/* content area styles */
#maintext.main-content {
    /* height: 100vh; */
    z-index: 1000;
}

.tertios-nav-menu .e-treeview > .e-ul {
    overflow: initial;
}

.tertios-detail-close-button {
    float: right;
    cursor: pointer;
}

.tertios-foto-edit {
    margin-right: 0.5rem;
}

.tertios-foto-edit-buttons {
    max-width: 8rem;
}

span.e-multi-line-input.tertios-limit-height textarea.e-input {
    max-height: 50vh;
}

.e-richtexteditor iframe {
    overflow: scroll !important;
    max-height: 50vh;
}

.e-richtexteditor iframe {
    overflow: scroll !important;
    max-height: 50vh;
}


@media print {
    .no-print, .no-print * {
        display: none !important;
        visibility: hidden;
    }

    #maintext, #maintext .content, #tertios-page, #tertios-splitter-parent, #maintext-content {
        height: unset !important;
        max-height: unset !important;
    }

        #maintext .content {
            margin-left: 0 !important;
        }
}
