body {
    background-size: cover;
    background-position: center;
}

a {
    color: #dddddd;
}

a:hover {
    color: #ffffff;
}

.side-header img {
    display: inline-block;
    margin-top: -2px;
    height: 40px;
    border-radius: 50%;
}

#header-navbar {
    z-index: 10000 !important;
}

#sidebar {
    z-index: 10001 !important;
}

#main-container.block-opt-fullscreen {
    padding: 0 !important;
    z-index: 10001 !important;
}

#account_fullname.hasPicture {
    display: inline-block;
    position: relative;
    margin-left: 50px;
}

#account_fullname.hasPicture img {
    width: 42px;
    height: 41px;
    position: absolute;
    top: -10px;
    left: -47px;
}

#account_fullname.hasPicture::before {
    content: ' ';
    display: block;
    width: 47px;
    height: 46px;
    position: absolute;
    top: -13px;
    left: -50px;
    background-color: #fff;
    border-radius: 23px;
}

.extra-field select {
    padding: 0;
    font-family: "Source Sans Pro", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    background: none;
    height: 21px;
    line-height: 21px;
    width: auto;
    margin-right: 15px;
}

.extra-field .select2-container {
    max-width: calc(100% - 30px);
    z-index: 9999 !important;
}

.required::after {
    content: '*';
    color: #d26a5c;
    text-shadow: -1px -1px 1px #fff !important;
    position: relative;
    left: 0;
    top: -2px;
}

.required:empty {
    position: absolute;
    top: -2px;
    right: 5px;
}

.ucfirst {
    text-transform: lowercase;
}

.ucfirst:first-letter {
    text-transform: uppercase;
}

.discrete {
    opacity: 0.25;
}

.discrete:hover,
.discrete:active {
    opacity: 1;
}

.modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.25);
    box-shadow: 0 5px 15px rgba(0,0,0,.25);
}

.modal-content .block-content .block-header {
    padding: 5px 20px;
}

.modal-backdrop {
    opacity: 0.7 !important;
}

.table-bordered {
    border: none !important;
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: 1px solid #e7e7e7;
}

.table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    font-size: 13px;
}

.table-bordered > tbody > tr > td {
    vertical-align: middle;
}

.table-bordered > thead > tr > td[onclick], .table-bordered > tbody > tr > td[onclick], .table-bordered > tfoot > tr > td[onclick] {
    cursor: pointer;
}

.no-border {
    border: none;
}

.border-gray {
    border: 1px solid #aeaeae;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
    text-overflow: ellipsis;
}

input.form-control {
    text-overflow: ellipsis !important;
}

input.form-control::-webkit-input-placeholder {
    font-weight: 100;
    text-overflow: ellipsis !important;
}

input.form-control:-ms-input-placeholder {
    font-weight: 100;
    text-overflow: ellipsis !important;
}

input.form-control:-moz-placeholder {
    font-weight: 100;
    text-overflow: ellipsis !important;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(0,0,0,0.05);
}

.table thead th {
    position: relative;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th {
    padding: 16px 10px 12px;
    font-family: "Source Sans Pro", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.table thead th.ordered.desc:after {
    content: '\f160';
    position: absolute;
    top: calc(50% - 10px);
    right: 10px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-style: normal;
}

.table thead th.ordered.asc:after {
    content: '\f161';
    position: absolute;
    top: calc(50% - 10px);
    right: 10px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-style: normal;
}

.table thead tr:first-of-type th:not(.no-order) {
    cursor: pointer;
    white-space: nowrap;
    height: 1em;
    margin: 0;
    padding: 3px 30px 3px 8px;
    vertical-align: middle;
}

.table thead tr:first-of-type th.extra-field {
    padding: 3px 8px;
}

.table thead tr:first-of-type th:not(.no-order):hover {
    background-color: rgba(0,0,0,0.05);
}

.table thead tr:first-of-type th:not(.ordered):hover:after {
    content: '\f161';
    position: absolute;
    top: calc(50% - 10px);
    right: 10px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-style: normal;
    opacity: 0.3;
}

.table thead th.no-order:after {
    display: none;
}

.table thead tr.filters th {
    height: 1em;
    margin: 0;
    padding: 3px 8px;
    vertical-align: middle;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 12px;
    line-height: 32px;
}


.filters .input-group-addon {
    padding: 3px;
}

.filters .input-group-addon {
    padding: 3px;
    opacity: 0.3;
    cursor: pointer;
}

.filters .input-group-addon.on {
    opacity: 1;
}

.filters .input-group-addon:hover {
    opacity: 1;
}

.node-tree {
    color: #555;
    font-size: 13px;
}

modal.disabled::after {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1050;
}

.modal { overflow: auto !important; }

html.backgroundBlendMode .modal-content > .block > .block-header {
    background-image: url(/Application/1.0.7/Frontend/assets/img/background.webp);
    background-blend-mode: multiply;
    background-size: cover;
    background-position-y: 28%;
}

html.backgroundBlendMode #main-container > .content:first-of-type {
    background-image: url(/Application/1.0.7/Frontend/assets/img/background.webp);
    background-blend-mode: multiply;
    background-size: cover;
    background-position-y: 2%;
}

.pagination > li {
    position: relative;
}

.pagination > li > a, .pagination > li > span {
    margin: 0 1px 2px 0 !important;
}

.z-top {
    z-index: 999999;
}

.popover {
    z-index: 1000000;
}

.rounded {
    border-radius: 4px;
}

.treeview .node-tree .badge {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    background-color: #a2a2a2;
    font-weight: normal;
}

.treeview .node-selected {
    font-weight: 600;
}

.treeview .node-icon {
    margin-right: 7px !important;
}

.dropdown-menu,
.select2-container,
.datepicker,
.tooltip {
    z-index: 99999 !important;
}

.colorpicker-2x .colorpicker-saturation {
    width: 200px;
    height: 200px;
}

.colorpicker-2x .colorpicker-hue,
.colorpicker-2x .colorpicker-alpha {
    width: 30px;
    height: 200px;
}

.colorpicker-2x .colorpicker-color,
.colorpicker-2x .colorpicker-color div {
    height: 30px;
}

.has-error > label, .has-error > div > label, .has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline, .has-error.radio label, .has-error.checkbox label, .has-error.radio-inline label, .has-error.checkbox-inline label {
    color: #d26a5c;
}

.has-error .help-block {
    line-height: 1em;
    margin-top: 0.1em;
    text-shadow: -1px -1px 1px #fff !important;
    position: absolute;
    right: 15px;
}

.block > .nav-tabs > li > a {
    margin-right: 2px;
}

.block > .nav-tabs > li > a.has-error {
    color: #d26a5c !important;
    background-color: rgba(210, 106, 92, 0.15) !important;
}

.block > .nav-tabs > li > a.has-error:after {
    content: "\f071";
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-size: 12px;
    position: absolute;
    top: -4px;
    right: -3px;
}

.block-title > .label {
   max-width: 50%;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    float: left;
    margin-right: 5px;
    padding: .3em .6em .2em;
}

.block-header .form-group .text-danger {
    position: absolute;
    top: 0;
    right: 5px;
    text-shadow: -1px -1px 1px #fff !important;
}

.block-content .form-group .text-danger {
    text-shadow: -1px -1px 1px #fff !important;
}

input:disabled::-webkit-input-placeholder {
    color: transparent !important;
}
input:disabled::-moz-placeholder {
    color: transparent !important;
}
input:disabled::placeholder {
    color: transparent !important;
}

.irs-shadow {
    height: 27px;
    top: 22px;
    background: #46c37b;
    opacity: .25;
    border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 0;
    border-right: 24px solid #46c37b;
    box-sizing: content-box;
    margin-left: -12px;
    z-index: 1;
}

.irs-bar,
.irs-bar-edge {
    z-index: 2;
}

.irs-slider {
    z-index: 3;
}

.list-subitem td {
    transition: 0.3s;
    border: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

.list-subitem.closed td {
    display: none;
    /*
    font-size: 0 !important;
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-width: 0 !important;
    */
}

.list-subitem.closed td .btn {
    font-size: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.list-subitem td:first-of-type {
    padding-left: 25px;
}

.btn-group, .btn-group-vertical {
    display: inline-flex;
}

.block-options {
    float: right;
    margin: -3px -5px -3px 15px;
    padding: 0;
    height: 24px;
    list-style: none;
}

.modal i.si.si-close {
    font-size: 20px;
}

.nav-main a {
    cursor: pointer;
}

.nav-main a:hover, .nav-main a:focus {
    color: #fff;
    background-color: transparent;
}

.nav-main a > i {
    margin-right: 0;
    color: rgba(255, 255, 255, 0.2);
    min-width: 25px;
    display: inline-block;
    margin-bottom: 6px;
    float: left;
    margin-top: 3px;
}

.progress {
    background-color: #cdcdcd;
    border: none !important;
}

.pie-chart > span {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-top: -2px;
    right: 0;
    left: 0;
    text-align: center;
    padding: 0 40px;
}

.list-url-icon {
    font-size: 20px;
}

.croppie-container .cr-boundary {
    border-radius: 2px;
}

.croppie-container .cr-slider-wrap {
    margin: 5px auto;
}

.croppie-container .cr-viewport {
    border: 1px dashed rgb(214, 214, 214);
}

.note-editor.note-frame.fullscreen {
    margin-top: -30px;
}

.note-modal.open {
    display: block;
    background-color: rgba(0,0,0,0.25);
}

.note-modal-body {
    position: relative;
    padding: 20px;
}

.note-modal-title {
    font-size: 16px;
}

.note-form-label {
    font-size: 14px;
}

.note-modal .form-group {
    margin-bottom: 0;
}

.note-modal .note-modal-body .checkbox label {
    margin-left: 20px;
}

.note-modal-footer {
    height: 60px;
    padding: 0 20px 0 0;
    text-align: center;
}

.switch.switch-sm {
    margin: 8px 0 7px;
    font-size: 13px;
}

.mfp-bg {
    z-index: 1000042;
}
.mfp-wrap {
    z-index: 1000043;
}

#functionTitle .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 12px;
    line-height: 32px;
    font-size: 18px;
}

@media screen and (min-width: 768px) {
    .content-mini {
        padding: 13px 14px 1px;
    }

    .content {
        padding: 16px 14px 1px;
    }
}
