@charset "utf-8";

@font-face {
    font-family: RobotoFont;
    src: url(../css/font-awesome/webfonts/Roboto-Regular.ttf);
}

body { /* Disabilitazione selezione testo */
    overflow-y: hidden; /*esclusione scroll a livello di intera pagina*/
    background-image: url("../images/materialDesignWallpaper.jpg");
    font-size: 0.8rem;
    font-family: RobotoFont, sans-serif;
}

.disable-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

table td {
    -webkit-touch-callout: default; /* iOS Safari */
    -webkit-user-select: text; /* Safari */
    -khtml-user-select: text; /* Konqueror HTML */
    -moz-user-select: text; /* Firefox */
    -ms-user-select: text; /* Internet Explorer/Edge */
    user-select: text;
}

select.multiple {
    overflow-y: auto;
    -ms-overflow-style: auto; /* IE 10+ */
}

.logo-box {
    vertical-align: middle;
    margin: 0;
}

.logo-box img {
    display: block;
    height: auto;
}

.logo-box .lead { /*Override class lead on style.css*/
    font-family: RobotoFont;
    font-size: 1.8rem;
}

.white-background {
    background-color: #FFF;
}

.login-title-color {
    color: white;
    font-family: RobotoFont;
    text-align: center;
   /* border-radius: 35px;
    position: relative;
    background: #d0e4f7;
    background: -moz-linear-gradient(top, #d0e4f7 0%, #66bad6 24%, #20a8d8 50%, #66bad6 79%, #87bcea 100%);
    background: -webkit-linear-gradient(top, #d0e4f7 0%, #66bad6 24%, #20a8d8 50%, #66bad6 79%, #87bcea 100%);
    background: linear-gradient(to bottom, #d0e4f7 0%, #66bad6 24%, #20a8d8 50%, #66bad6 79%, #87bcea 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d0e4f7', endColorstr='#87bcea', GradientType=0);
    -webkit-box-shadow: 1px 1px 5px 1px rgba(32, 167, 216, 1);
    -moz-box-shadow: 1px 1px 5px 1px rgba(32, 167, 216, 1);
    box-shadow: 1px 1px 5px 1px rgba(32, 167, 216, 1);*/
}

i.docName, span.docName {
    line-height: normal;
    word-break: break-word;
}

.scanner-icon {
    content: url("../images/scanner.png");
    margin-top: -2px;
    vertical-align: middle;
    width: 18px;
    height: 18px;
}

.child-background {
    background-color: #FFF;
}

.noselection {
    pointer-events: none;
}

.noselection:before {
    pointer-events: all;
}

span.disabled {
    background-color: #e4e7ea;
    opacity: 1;
}

/*impostazione scroll solo nei tab*/
.tab-content {
    overflow-y: auto;
    background: #fff;
    border: 1px solid #c8ced3;
}

.disable-overflow{
    overflow-y: unset !important;
}

.tab-content.border-top-none {
    border-top: none;
}

.noborder {
    border: none;
    background-color: transparent;
}

.justify-content-center .card {
    -webkit-box-shadow: 0px 11px 100px 1px #424242;
    box-shadow: 0px 11px 100px 1px #424242;
    background-color: #FFF;
}

.text-overlay, .doc-preview-overlay {
    position: fixed;
    z-index: 10000;
    display: none;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
}

.text-overlay p.animated-dots, .doc-preview-overlay p.animated-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 20px;
    color: white;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

#tabsGroupManagement .tab-content {
    border-top: 1px solid #a4b7c1;
}

#alertSelect .alert {
    border: 1px solid #a4b7c1;
}

.round-icon {
    align-items: center;
    font-size: medium;
    font-family: serif;
    border: #c8ced3 2px solid;
    /*DINAMICO background-color: #42a5f5;*/
    /*color: #ffffff;*/
    border-radius: 50%;
    display: inline-flex;
    width: 25px;
    height: 25px;
    justify-content: center;
    pointer-events: none;
    margin-bottom: -7px;
    /*DISABLE TEXT SELECTION*/
    user-select: none; /* supported by Chrome and Opera */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

.round-icon img {
    width: 20px;
    height: 20px;
}

.clear-file-icon {
    margin-top: 8px;
}

.file-required, .file-scan-required, .relation-insert-required {
    font-size: initial;
}

#propertyPermitsCard li.search-choice {
    width: 95%;
    cursor: row-resize;
}

.shadow-effect {
    filter: drop-shadow(0px 4px 2px lightgray);
}

/* OVERRIDE Datatables.css */
table.dataTable {
    border-collapse: collapse !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
    top: 5px !important;
    left: 1px !important;
}

/* END OVERRIDE Datatables.css */
.tabclose {
    font-size: 20px;
    float: none;
}

.extra-info {
    float: right;
}

form.form-inline > div {
    padding: 5px;
}

.inline {
    display: inline;
}

#ui-view {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-box-shadow: inset 3px 3px 5px 0px rgba(140, 140, 140, 0.3);
    -moz-box-shadow: inset 3px 3px 5px 0px rgba(140, 140, 140, 0.3);
    box-shadow: inset 3px 3px 5px 0px rgba(140, 140, 140, 0.3);
}

.mini {
    padding: 0;
    height: 21px;
    display: inline;
}

.mini-icon {
    padding: 0 10px;
    height: 21px;
    display: inline;
}

.input-group-text.border-r-none {
    border-right: none;
}

.vertical-text {
    writing-mode: vertical-lr;
    text-orientation: upright;
}

button:focus {
    outline: none;
}

.input-group.date .input-group-append {
    cursor: default;
}

.doc-info {
    font-size: small;
    line-height: 2em;
}

.doc-types {
    width: 30%;
}

.clearfix {
    overflow: auto;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.noselect {
    min-height:20px;
}

.popover-header ul, .popover-body ul {
    max-height: 155px;
    overflow-y: auto;
}

.width-collapser {
    height: auto;
    -webkit-transition:width 0.4s ease-in-out;
    -moz-transition:width 0.4s ease-in-out;
    -o-transition:width 0.4s ease-in-out;
    transition:width 0.4s ease-in-out;
}

.width-collapser-button.collapsed .fas {
    transform: rotate(180deg);
}

/* START Override style.css */
/* DECOMMENTARE IN CASO DI INIZIALI RELAZIONI DOPPI
ul.nav.nav-tabs > li.nav-item {
    line-height:37px;
}*/
.main .container-fluid {
    padding: 0;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin: 0;
    line-height: 0;
}

ol, ul, dl {
    margin: 0;
}

.form-group {
    margin-bottom: 0.2rem;
}

.app-body, .app-header, .app-footer, .aside-menu {
    background-color: rgba(255, 255, 255, 0.8);
}

.app-header {
    border-bottom: 2px solid #c8ced3;
}

.app-header .nav-item {
    padding-right: 10px;
}

.app-footer {
    -ms-flex: none;
    flex: none;
    -webkit-box-shadow: 0px -2px 5px 0px rgba(140, 140, 140, 0.3);
    -moz-box-shadow: 0px -2px 5px 0px rgba(140, 140, 140, 0.3);
    box-shadow: 0px -2px 5px 0px rgba(140, 140, 140, 0.3);
    font-size: 10px;
}

.dropdown-item i {
    width: 16px;
}

.dropdown-scrolling {
    overflow-y:auto;
    max-height:80vh;
}

.alert-link {
    font-weight: bold;
    font-size: small;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-70 {
    width: 70%;
}

.btn-transparent {
    color: #fff;
    background-color: transparent;
    border-color: transparent;
}

.alert {
    margin: 0;
}

.card-body {
    padding: 0.5rem;
}

.card-group {
    border: 3px solid #20a8d8;
    border-radius: 0.4rem;
}

.card-actions button.pin.active {
    background-color: #fff3cd;
}

.card-header .card-actions a, .card-header .card-actions button {
    border-bottom: none;
}

.card-header .card-actions {
    position: absolute;
    top: 0;
    right: 0;
}

.card-header .card-actions a, .card-header .card-actions button {
    display: block;
    float: left;
    width: 50px;
    padding: 0.9rem 0;
    margin: 0 !important;
    color: #151b1e;
    text-align: center;
    background: transparent;
    border: 0;
    border-left: 1px solid #a4b7c1;
    border-radius: inherit;
}

.card-group > .card, .card {
    margin-bottom: 0;
}

.table-hover tbody tr:hover {
    background-color: #fff3cd;
}

.row-flex {
    display: flex;
}

/* Dark Mode theme fixes */

.darkmode .app-body, .darkmode .app-header, .darkmode .app-footer, .darkmode .aside-menu, .darkmode div.child-background,
.darkmode .chosen-container-multi .chosen-choices, .darkmode .bg-gray-200 {
    background-color: inherit !important;
}

.darkmode .tab-content {
    background-color: inherit !important;
    border: 1px solid #23282c !important;
}

.darkmode .table-hover tbody tr:hover, .darkmode .table-primary, .darkmode .card-actions button.pin.active {
    color: black;
}

.darkmode .card-actions .btn, .darkmode .table-hover tbody tr.selected:hover {
    color: inherit;
}

.darkmode .table-hover tbody tr.selected:hover, .darkmode div.child-background {
    color: white;
}

.darkmode .app-header {
    border-bottom: inherit;
}

/*--- END Override style.css ----*/

.btn-sq-lg {
    width: 150px !important;
    height: 150px !important;
}

.btn-sq {
    width: 100px !important;
    height: 100px !important;
    font-size: 10px;
}

.btn-sq-sm {
    width: 50px !important;
    height: 50px !important;
    font-size: 10px;
}

.btn-sq-xs {
    width: 25px !important;
    height: 25px !important;
    padding: 2px;
}

.border-dashed {
    border: 2px yellow dashed !important;
}

.sortable-placeholder {
    border: 2px yellow dashed !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
    height: 40px;
    text-align: center;
    color: #fff;
    font-weight: 400;
    background-color: #f86c6b;
}

.form-control.form-repeating, .form-control.disabled {
    height: auto !important;
}

.padding-header {
    padding-bottom: 1rem;
}

div.repeating-container li.list-group-item {
    display: inline-flex;
    align-items: center;
}

.list-group-item.cursor-resize {
    padding: 5px;
    cursor: ns-resize;
    border: 1px solid #c8ced3;
    background: #f6f6f6;
    font-weight: normal;
}

.icon-xs {
    font-size: .75em !important;
    padding-top: 3px;
}

select.micro {
    padding:0;
    margin-bottom: 10px;
    font-size: 11px;
    height: 18px;
    width: 100%;
}
/*Override SIDEBAR styles*/
.sidebar .sidebar-nav {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    width: unset;
    -ms-flex-direction: column;
    flex-direction: column;
    height: calc(100vh - 71);/*71px = 55px header height + 16px footer height */
}

.sidebar .nav {
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
    width: unset;
}

.sidebar .nav-link {
    display: block;
    font-size: small;
    color: #fff;
    text-decoration: none;
    background: transparent;
}

.sidebar .nav-link .nav-icon {
    color: #ffffff;
}

.sidebar-minimized .sidebar .sidebar-minimizer {
    position: relative;
}

.sidebar .nav-dropdown-toggle::before {
    background-color: #20a8d8;
    width: 12px;
    height: 12px;
    border-radius: 1em;
}

.sidebar-minimized .sidebar .nav-dropdown-items .nav-item {
    width: min-content;
    width: -moz-min-content;
}

.sidebar-minimized .sidebar .nav-dropdown-items .nav-item .nav-link {
    width: 300px;
}
/* Override JSTree css from web: src/main/webapp/css/treeview/style.css */
.jstree-default-dark{
    background: unset;
}

.jstree-default-dark .jstree-open > .jstree-ocl {
    background-position: -132px 6px;
}
.jstree-default-dark .jstree-icon:empty {
    width: 22px;
    height: 35px;
    line-height: 43px;
}
.jstree-default-dark .jstree-themeicon {
    background-position: -261px 4px;
}
.jstree-default-dark .jstree-closed > .jstree-ocl {
    background-position: -100px 6px;
}
.jstree-default-dark .jstree-leaf > .jstree-ocl {
    background-position: -68px 5px;
}
.jstree-default-dark .jstree-node, .jstree-default-dark .jstree-icon {
    margin-top: -3px;
}
.jstree-default-dark .jstree-anchor {
    line-height: 37px;
    margin: 0px;
    height: 43px;
    color: #FFFFFF;
}
.jstree-default-dark .jstree-hovered, .jstree-default-dark .jstree-clicked {
    background: #20a8d8;
    color: #ffffff;
    border-radius: unset;
    box-shadow: inset 0 0 1px #20a8d8;
}

html:not([dir="rtl"]) .sidebar {
    margin-left: -210px;
}

/*END Override SIDEBAR styles*/

/* PLACEHOLDER font-size */
::-webkit-input-placeholder {
    font-size: 12px;
}

::-moz-placeholder {
    font-size: 12px;
}

:-ms-input-placeholder {
    font-size: 12px;
}

::placeholder {
    font-size: 12px;
}

.checkbox-mb {
    margin-bottom: 11px;
}

.form-control.filestyle:disabled {
    background-color: #FFF;
}

#formUpdate .form-control.filestyle:disabled {
    background-color: #FFF;
    border: 1px solid #e4e7ea;
    border-radius: 0.25rem;
}

.scanner-btn {
    min-width: 242px;
}

#promptDialog {
    z-index: 1090;
}

.checkNewDocs{
    display: none;
    vertical-align: middle;
    margin-left: -176px !important;
    margin-top: -23px !important;
    font-size: 13px;
}

@media screen and (min-width: 992px) and (max-width: 1366px) {

    body {
        font-size: small;
    }

    span > *, .alert {
        font-size: small;
    }

    div.row-dynamic {
        display: inline;
    }

    .doc-types {
        width: 50%;
    }
}

/*
    Mobile vertical
    CSS optimizations
*/
@media screen and (max-width: 768px) {

    .app-body > *, span > *, .alert {
        font-size: 0.9rem;
    }

    .card-body {
        padding: 0;
        font-size: small;
    }

    .app-header .navbar-nav {
        flex-direction: column;
        align-items: flex-end;
        margin-left: auto !important;
    }

    .alert.alert-link {
        display: contents;
    }

    .tab-content .tab-pane {
        padding: 0.6rem;
        background: inherit;
    }

    .tab-content {
        overflow-y: inherit;
    }

    div.row-dynamic {
        display: inline;
    }

    .logo-box {
        transform: scale(0.9);
    }

    .navbar-left, .navbar-right {
        width: 50% !important;
    }

    .doc-types {
        width: 30vh;
    }

    .sidebar {
        width: auto;
    }

    h4.d-inline {
        display: block;
    }

    .card-actions button, .card-actions a {
        border-bottom: 1px solid #a4b7c1 !important;
    }

    .export-info.float-right {
        text-align: right;
    }

    .sw-theme-arrows .sw-toolbar {
        margin-top: 5px;
    }

    .sw-toolbar .sw-btn-group {
        float: right !important;
    }

    form.form-horizontal {
        margin-left: .8rem !important;
        margin-right: .8rem !important;
    }

    form.form-horizontal > div.form-group > div.text-right, div.card-body > div.form-group > div.text-right, form#importForm .text-right {
        text-align: left !important;
    }

    form.form-horizontal > div.form-group > div, div.card-body > div.form-group > div {
        padding-bottom: .5rem !important;
    }
}

/* Mobile vertical optimizations for max 320 pixels: < 360 pixels */
@media screen and (max-width: 360px) {

    #ui-view > * {
        font-size: 0.9rem;
    }

    h4.d-inline {
        font-size: 0.9rem;
    }

    .app-header .navbar-nav {
        flex-direction: row;
    }

    .app-header .navbar-nav .dropdown-menu-screen {
        right: auto !important;
    }

    .card-header .card-actions a, .card-header .card-actions button {
        width: 30px;
    }

    header {
        min-width: 320px;
    }
}