﻿.listbox {
    min-width: 200px;
    width: 100%;
    height: 300px !important;
}

.list-overflow {
    height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.list-overflow-auto {
    height: 90%;
    overflow-y: auto;
    overflow-x: hidden;
}

.list-report li {
    list-style: none;
    border-bottom: solid 1px #ddd;
    padding-top: 20px;
    padding-bottom: 20px;
}

.folder-panel {
    min-height: 400px;
}

.folder-list {
    padding-left: 0;
    list-style: none;
}

    .folder-list li {
        float: left;
        width: 95px;
        height: 95px;
        padding: 10px;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        background-color: #f9f9f9;
        border: 1px solid #fff;
        cursor: pointer;
    }

        .folder-list li:hover {
            background-color: #ddd;
        }

    .folder-list .glyphicon {
        margin-top: 5px;
        margin-bottom: 10px;
        font-size: 34px;
        color: #ffd800;
    }

    .folder-list .desc {
        display: block;
        text-align: center;
        word-wrap: break-word;
    }

/* .modal-fullscreen */

.modal-fullscreen {
    background: transparent;
}

    .modal-fullscreen .modal-content {
        background: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.modal-backdrop.modal-backdrop-fullscreen {
    background: #ffffff;
}

    .modal-backdrop.modal-backdrop-fullscreen.in {
        opacity: .8;
        filter: alpha(opacity=97);
    }

.modal-fullscreen {
    /*width: 80%;*/
    margin: 0;
    margin-left: auto;
    padding-right: 0px !important;
    overflow-y: auto;
}

    .modal-fullscreen .modal-dialog {
        background: #ffffff;
        margin: 0;
        /*margin-right: auto;*/
        margin-left: auto;
        width: 100%;
        height: 100%;
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        max-width: 80%;
    }

.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    max-height: 100%;
    overflow: auto;
    border: 1px solid;
}

.modal.fade:not(.in) .modal-dialog {
    -webkit-transform: translate3d(80%, 0, 0);
    transform: translate3d(80%, 0, 0);
}

.modal-fullscreen .modal-dialog {
    border: none;
    border-radius: 0;
    background: #f9f9f9;
    border-left: 1px solid #f5f5f5;
    -webkit-box-shadow: 10px 0 5px -2px #888;
    box-shadow: 10px 0 5px -2px #888;
    box-shadow: 1000px 0 0 #f9f9f9,0 2px 80px rgba(0,0,0,.5);
}


.form-group .button-box {
    margin-top: 0;
    margin-bottom: 0;
}


.folder-list {
    padding-left: 0;
    list-style: none;
}

    .folder-list li {
        float: left;
        width: 95px;
        height: 95px;
        padding: 10px;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        background-color: #f9f9f9;
        border: 1px solid #fff;
        cursor: pointer;
    }

        .folder-list li:hover {
            background-color: #ddd;
        }

    .folder-list .glyphicon {
        margin-top: 5px;
        margin-bottom: 10px;
        font-size: 34px;
        color: #ffd800;
    }

    .folder-list .desc {
        display: block;
        text-align: center;
        word-wrap: break-word;
    }


.button-box:hover {
    color: #37a000;
    border-bottom-color: #37a000;
}

.button-box .glyphicon {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 34px;
}

.button-box.active, .button-box:active, .button-box:focus, .button-box:hover, .row > .col-md-3 > .button-box:active, .row > .col-md-4 > .button-box:active {
    z-index: 1;
    outline: none;
}

.button-box.active {
    color: #37a000;
    border-bottom-color: #37a000;
}

.button-box {
    cursor: pointer;
}

.button-box {
    position: relative;
    vertical-align: top;
    text-align: center;
    min-height: 120px;
    border-radius: 2px;
    border: 2px solid #e0e0e0;
    color: #494949;
    padding: 18px;
    margin-top: 10px;
    margin-bottom: 20px;
}

    .button-box.no-padding {
        min-height: 0px;
        padding: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
        border: none;
    }

.drop-highlight {
    height: 30px;
    line-height: 30px;
    border: 2px dashed #494949;
}

.sortable {
    cursor: pointer;
}

.panel-heading a:after {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right;
    color: grey;
}

.panel-heading a.collapsed:after {
    content: "\e080";
}

.panel-heading.panel-nocollapse a:after {
    content: "";
    float: right;
}

.padded-div {
    padding: 10px 10px 10px 10px;
}

.formula-field {
    padding: 10px 15px;
    border: solid 1px #ddd;
    background-color: #fff;
}

.body-content {
    margin: 10px 10px;
}

.report-container {
    padding: 5px 5px 5px 5px;
    margin: 30px 30px 30px 30px;
}

    .report-container > .report-inner {
        padding: 25px 25px 25px 25px;
        background: #fff;
        margin-bottom: 38px;
    }

.report-view {
    margin: 0 auto;
}

@media(max-width: 992px) {
    .report-canvas > .report-container {
        min-height: 580px;
    }

    .report-container > .report-inner {
        min-height: 880px;
    }
}

@media(min-width: 993px) {
    .report-canvas > .report-container {
        min-height: 840px;
    }

    .report-container > .report-inner {
        min-height: 1040px;
    }
}

.report-pager-btn {
    vertical-align: middle;
    margin-top: -4px;
    padding-right: 10px;
}

.report-outer {
}

.report-canvas {
    width: 100%;
    overflow: auto;
    top: 32px;
    right: 0;
    bottom: 32px;
    left: 0;
    background-color: #888;
}

.report-menubar {
    padding-top: 8px;
    padding-bottom: 8px;
    z-index: 2;
    height: 42px;
    width: 100%;
    overflow: hidden;
    background-color: #ddd;
}

.btn {
    margin-right: 5px;
}

.right-align {
    text-align: right !important;
}

.report-chart {
    width: 100%;
    min-height: 450px;
}

.total-records {
    padding-top: 3px;
    padding-right: 5px;
}

.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
    margin-left: 10px;
    margin-right: 10px;
}

    .material-switch > label::before {
        background: rgb(0, 0, 0);
        box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
        border-radius: 8px;
        content: '';
        height: 16px;
        margin-top: -8px;
        position: absolute;
        opacity: 0.3;
        transition: all 0.4s ease-in-out;
        width: 40px;
    }

    .material-switch > label::after {
        background: rgb(255, 255, 255);
        border-radius: 16px;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
        content: '';
        height: 24px;
        left: -4px;
        margin-top: -8px;
        position: absolute;
        top: -4px;
        transition: all 0.3s ease-in-out;
        width: 24px;
    }

.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

.validation-summary-errors ul {
    list-style-type: none;
}


/* styles for validation helpers */

.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.error {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}

.form-control {
    /*width: auto;*/
}

.blockUI {
    z-index: 2200 !important;
}

.canvas-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .canvas-container canvas {
        /*border: solid 1px;*/
        width: 100%;
    }

select.is-invalid ~ span .select2-selection {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.highlight {
    background-color: yellow;
}

.query-builder .rule-container, .query-builder .rule-placeholder, .query-builder .rules-group-container {
    position: relative;
    margin: 4px 0;
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #eee;
    width: 100%;
}


.query-builder .rules-group-container {
    padding: 10px;
    padding-bottom: 6px;
    border: 1px solid #dcc896;
}

.query-builder .rules-group-header {
    margin-bottom: 10px
}

    .query-builder .rules-group-header .group-conditions .btn.readonly:not(.active), .query-builder .rules-group-header .group-conditions input[name$='_cond'] {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
        white-space: nowrap
    }

    .query-builder .rules-group-header .group-conditions .btn.readonly {
        border-radius: 3px
    }

.query-builder .rules-list {
    list-style: none;
    padding: 0 0 0 15px;
    margin: 0;
    background-color: #fff;
}

    .query-builder .rules-list > ::after, .query-builder .rules-list > ::before {
        content: '';
        position: absolute;
        left: -10px;
        width: 10px;
        height: calc(50% + 4px);
        border-color: #ccc;
        border-style: solid
    }

    .query-builder .rules-list > ::before {
        top: -4px;
        border-width: 0 0 2px 2px;
    }

    .query-builder .rules-list > ::after {
        top: 50%;
        border-width: 0 0 0 2px
    }

    .query-builder .rules-list > :first-child::before {
        top: -12px;
        height: calc(50% + 14px)
    }

    .query-builder .rules-list > :last-child::before {
        border-radius: 0 0 0 4px
    }

    .query-builder .rules-list > :last-child::after {
        display: none
    }

.select2-container {
    min-width: 200px;
}