﻿.ws-placeholder-panel-header {
    /*Usato per posizionare testo dinamico personalizzato*/
}

.ws-map {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
}

.ws-map-focusable {
    border: 3px double transparent;
}

.ws-map-focusable:focus {
    border: 3px double blue;
}

/*.ws-map-a2 {
    position: absolute;
    width: 7016px;
    height: 4961px;
    padding: 0px;
    margin: 0px;
}

.modal {
    min-height: 500px;
    min-width: 600px;
}

    .modal .modal-body {
        overflow-y: auto;
    }*/

.ws-fill {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
}

.ws-resizable {
}

.ws-draggable {
}

.ws-draggable-handle {
    cursor: move;
}

.panel {
    margin: 0px;
    z-index: 50;
}

    /*.panel:hover {
      
        z-index: 51;
    }*/

    .panel:focus {
        z-index: 52;
    }

.modal-footer .btn-group {
    margin-bottom: 0;
    margin-left: 5px;
}

    .modal-footer .btn-group + .btn {
        margin-bottom: 0;
        margin-left: 5px;
    }

.ws-treeview {
    margin: 0;
    padding: 0;
    display: block;
}

    .ws-treeview ul {
        margin: 0;
        padding: 0;
        list-style: none;
        width: 100%;
        /*font-size: inherit;*/
    }

    .ws-treeview li {
        position: relative;
        padding-left: 15px;
        margin-top: 5px;
        margin-bottom: 5px;
        vertical-align: middle;
    }

.ws-clickable {
    cursor: pointer;
}

    .ws-clickable:hover {
        background-color: lightgray;
    }

/* classe utilizzata dallo script knockout.validation.js per la validazione dei campi con regex */
.ws-validationMessage {
    color: salmon;
    font-size: 0.85em;
    font-weight: bold;
}

.ws-validationElement {
    border: 2px solid salmon !important;
}

.dx-overlay-wrapper {
    z-index: 2000 !important;
}

.dropdown-menu dropdown-menu-right {
    display: inline-block;
    min-width: 568px;
}

.dx-texteditor-input {
    color: gray;
    border-color: aqua;
}

.dx-datagrid-headers .dx-datagrid-table .dx-row > td {
    border-left-color: #d3d3d3;
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: #d3d3d3;
    border-right-style: solid;
    border-right-width: 1px;
}

.dx-command-select {
    width: 30px !important;
    min-width: 30px !important;
}

.flex-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -ms-flex-align: start;
    align-items: flex-start;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .dropdown-menu {
        /*top: 0;
    margin-top: -1px;
    left: 100%;
    right: auto;*/
    }

    .dropdown-submenu > a:after {
        display: block;
        float: right;
        content: " ";
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

.selected {
    padding: 0px;
    border-radius: 4px;
    border: 3px solid rgb(221, 221, 221);
    border-image: none;
    display: table;
    border-color: #337ab7;
}


.normal {
    padding: 0px;
    border-radius: 4px;
    border: 1px solid rgb(221, 221, 221);
    border-image: none;
    display: table;
}

div:focus {
    outline: none; /*Toglie il bordo (outline) quando il panel è selezionato: visibile su chrome e mozilla */
}

@media print { /*Regola dedicata alla visualizzazione su carta*/

    body {
        margin: .5in .2in .0in .2in;
    }

    .noprint {
        display: none !important;
    }
}

@page {
    margin: .2in .2in .2in .2in;
}

/*#region Personalizzazioni custom per linee guida WCAG (Errore 1.4.10) */
.form-group {
    max-width: auto;
}

.form-control {
    width: 100%;
    max-width: 100%;
}

.sr-only { /*Screen Reader Only */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/*#endregion */
