﻿input[type=checkbox], input[type=checkbox]:checked {
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
}

#blazor-error-ui {
    background: #646464;
    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:before {
        content: "Errore. Ricarica la pagina o Ctrl + F5 per pulire la cache. "
    }

#blazor-error-ui-reload:before {
    content: "Ricarica la pagina"
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#loader-wrapper {
    position: fixed;
    top: 10em;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;
    -webkit-animation: spin 2s linear infinite;
    /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #e74c3c;
    -webkit-animation: spin 3s linear infinite;
    /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f9c922;
    -webkit-animation: spin 1.5s linear infinite;
    /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);
        /* IE 9 */
        transform: rotate(0deg);
        /* Firefox 16+, IE 10+, Opera */
    }

    100% {
        -webkit-transform: rotate(360deg);
        /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);
        /* IE 9 */
        transform: rotate(360deg);
        /* Firefox 16+, IE 10+, Opera */
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);
        /* IE 9 */
        transform: rotate(0deg);
        /* Firefox 16+, IE 10+, Opera */
    }

    100% {
        -webkit-transform: rotate(360deg);
        /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);
        /* IE 9 */
        transform: rotate(360deg);
        /* Firefox 16+, IE 10+, Opera */
    }
}

.side-feature-box {
    padding-top: 1em;
    padding-bottom: 1em;
}

/* Custom CSS */

.geodata-base-flex-center {
    display: flex;
    align-items: center;
    margin: 0px;
    width: 100%;
}

.geodata-flex-opposite-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zoneEdif .selected {
    background-color: #e0f0ff !important;
}

.TableCDU .mud-table-container {
    max-height: 25vh !important;
    overflow: overlay;
    /* Chrome, Edge */
}

.mud-main-content>div>div {
    margin: 0px !important;
    width: 100% !important;
}

.mud-main-content>div>div>div {
    padding: 0px !important;
}

.mud-drawer-right-clipped-always>aside {
    z-index: auto;
}

.login-background {
    background-image: url("img/sfondo.jpg");
    background-attachment: fixed;
    background-size: cover;
    overflow: hidden;
}

.edit-farma-paper {
    border: 2px solid #ffefa3;
}

/*style popup */

.map {
    width: 100%;
    height: 400px;
}

.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "✖";
}

.street-overlay-href {
    color: #3498db;
}

/*fine style popup */

/*style editor */
.editor-page {
    height: 95vh;
    padding: 15px;
}

.editor-main {
    margin-top: 15px;
    height: calc(100vh - 260px);
    margin-bottom: 15px;
    padding: 15px;
}

.editor-parametri {
    max-height: calc(100vh - 420px);
    overflow: auto;
}

.editor-end {
    padding: 15px;
}

/*fine style editor */

.cdu-opacity-slider>.mud-typography {
    margin-top: 0px !important;
}

.main-tree {
    height: calc(100vh - 105px);
    padding: 12px;
    /*firefox*/
    overflow: scroll;
    /*Chrome,Edge*/
    overflow: overlay;
}

.tree-toolbar {
    padding: 12px;
    border-top: 1px solid lightgray;
}

.rapid-search-button {
    margin-top: 10px;
    display: none;
}

.mq-container {
    overflow: hidden;
}

.mq {
    white-space: nowrap;
    overflow: hidden;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.cesium-viewer-bottom {
    /* display: none !important; */
    opacity: 0;
}

.cesium-viewer-animationContainer {
    display: none;
}

.cesium-viewer-timelineContainer {
    display: none;
}

.mod-switch {
    top: 7px;
    left: 5.5em;
}

.allega-richiesta-cdu {
    display: flex;
    flex-wrap: nowrap;
    align-content: center!important;
    justify-content: space-between!important;
    align-items: center;
    border: 1px dashed #5c5c5c7d;
    border-radius: 6px;
}


.richiesta-cdu-expansion-panels .mud-collapse-entered {
    padding-top: 8px;
    padding-bottom: 8px;
}

.main-side-feature-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 4px;
    background: #f5f5f5;
}

.main-side-feature-title {
    font-size: 16px;
    margin-left: 6px;
    font-weight: 500;
}

.main-cdu-search-particelle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-cdu-elabora {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.webgis-hover-poiter-tab .mud-table-container .mud-table-body .mud-table-row {
    cursor: pointer;
}

    .webgis-hover-poiter-tab .mud-table-container .mud-table-body .mud-table-row:hover td {
        color: var(--mud-palette-primary)
    }

.mud-table-row:has(.mud-title-row-selected) {
    outline: 2px solid var(--mud-palette-secondary);
    border-radius: var(--mud-default-borderradius);
    outline-offset: -2px;
    background: var(--mud-palette-secondary-text);
}

/* stile testo selezione riga sulla tabella */
.mud-title-row-selected {
    font-weight: bold;
    color: var(--mud-palette-secondary) !important;
}

.street-overlay-button-copy {
    color: var(--mud-palette-primary);
    border: 1px dashed;
    border-radius: 6px;
    padding: 2px;
    margin: 2px;
    bottom: 14px;
    left: 3px;
}

/* treeview */

.geodata-tree-node {
    /*padding-left: 10px;*/
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.geodata-node-content {
    display: flex;
    align-items: center;
}

.geodata-expand-button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1em;
    width: 20px;
    min-width: 20px;
}

.geodata-blank-expand-button {
    width: 20px;
    min-width: 20px;
}

.geodata-node-icon {
    margin-left: 1px;
    margin-right: 1px;
    min-height: 24px;
    min-width: 24px;
}

.geodata-node-icon-selectable {
    cursor: help;
    transition: all;
    transition-timing-function: ease-in-out;
    transition-duration: 0.3s;
}

    .geodata-node-icon-selectable:hover {
        color: #8013ab;
    }

.geodata-node-icon-selected {
    color: #ab11e7 !important;
    opacity: 1 !important;
    /*    transform: rotate(180deg);*/
}

.geodata-node-title {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    padding-top: 2px;
/*    padding-left: 1px;*/
    border: 1px dashed #ffffff00;
    transition: all;
    transition-duration: 0.3s;
}

.geodata-node-title-selectable {
    cursor: pointer;
    border-radius: 10px;
}

    .geodata-node-title-selectable:hover {
        color: #2672a5;
    }

.geodata-node-title-selected {
    margin-left: 2px;
    color: #3498db !important;
    font-weight: bold;
    border: 1px dashed #79c4fb;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.geodata-child-nodes {
    padding-left: 10px;
}


.geodata-checkbox {
    height: 20px;
    width: 20px;
    border: 2px solid lightgray;
    border-radius: 4px;
    cursor: pointer;
    background-color: white;
    transition:all;
    transition-duration: 0.3s;
}

    .geodata-checkbox:checked {
        outline: 2px solid #ffffff;
        outline-offset: -4px;
        background: none !important;
        background-color: #79c4fb !important;
        border: 2px solid #3498db !important;
    }

.geodata-checkbox-with-visible-child {
    outline: 2px solid #ffffff;
    outline-offset: -4px;
    background: linear-gradient(45deg, #ffffff 50%, #b9e1ff 50%);
}

.geodata-tools-treeview {
    display: flex;
    border: 1px solid lightgray;
    border-radius: 6px;
    padding: 2px;
}

.geodata-tree-legend-image {

}

.geodata-child-details {
    display: flex;
    border-left: 1px dashed #818181;
    margin-left: 30px;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    transition: all;
    transition-duration: 0.3s;
    background-color: #f7f7f7;
    border-radius: 0 10px 10px 10px;
    padding: 5px 10px 5px 10px;
}

.geodata-child-slider {
    display: flex;
    align-items: center;
}

.geodata-child-legend{
    width:100%;
    overflow:auto;
}

.ol-ext-print-dialog{
    z-index: 10000!important;
}

.geodata-densita-abitativa-result-panel {
    margin-top: 16px;
    border: 1px solid lightgray;
    padding: 8px;
    border-radius: 6px;
}

/*GeodataPrintDialog*/

.ol-print-param {
    font-family: Roboto;
    width: 19em !important;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.ol-ext-print-dialog .ol-print-param li {
    margin: 1em 0!important;
}

.ol-closebox {
    margin-top: 10px;
}

.ol-print-title input[type=text] {
    width: 100% !important;
    margin: 1em 0 0 0 !important;
}

.ol-clipboard-copy {
    margin-top: 300px;
}

.ol-avviso-risoluzioni {
    display: none;
}

.ol-avviso-risoluzioni-active {
    display: block;
    font-size: 13px;
    text-align: center;
    margin-top: 20px;
    margin: 12px;
    color: #d3560a;
}

.ol-avviso-legenda {
    display: none;
}

.ol-avviso-legenda-active {
    display: block;
    font-size: 13px;
    text-align: center;
    margin-top: 20px;
    margin: 12px;
    color: #d30a0a;
}

.ol-geodata-legend-top-right {
    position: absolute;
    top: 0px;
    right: 0px;
}

.ol-geodata-legend-bottom-right {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.ol-geodata-legend-top-left {
    position: absolute;
    top: 0px;
    left: 0px;
}

.ol-geodata-legend-bottom-left {
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.hidden{
    display:none;
}

.search-browser-livelli {
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    width: 140px;
    transition: all;
    transition-duration: 0.3s;
    color: #3498db;
    font-weight: bold;
}

    .search-browser-livelli:focus {
        width: 140px;
        border: 1px solid #3498db;
    }

.geodata-opacity-icon {
    margin-left: 2px;
    margin-right: 2px;
    opacity: 0;
    transition: all;
    transition-duration: 0.15s;
    cursor: pointer;
}

.geodata-node-content-foglia:hover .geodata-opacity-icon {
    opacity: 1;
}

.geodata-expand-button-disabled {
    cursor: not-allowed;
    opacity: 0.1;
}