﻿.btn-primary {
    background-color: #004696;
    border-radius: 5px
}

.btn-primary:hover {
    background-color: #004696;
    border-radius:5px;
    opacity:0.8
}

.btn-primary:active, .btn-primary:focus {
    opacity: 1;
    background-color: #004696;
}

.LightBlue {
    color: #7ccbfc !important;
}

.LightBlue_bg {
    background-color: #7ccbfc !important;
}

.b-radius-5{
    border-radius:5px !important
}

.cluster-icon{
    z-index:1000 !important;
}

.quantity input {
    width: 45px;
    height: 42px;
    line-height: 1.65;
    float: left;
    display: block;
    padding: 0;
    margin: 0;
    padding-left: 20px;
    border: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    border-radius: 4px;
}

    .quantity input:focus {
        outline: 0;
    }

.quantity-nav {
    float: left;
    position: relative;
    height: 32px;
}

.synoptic-menu-row-height{
    max-height:350px;
}

.inline-blocked{
    display: inline-block !important;
}

.quantity-button {
    position: relative;
    cursor: pointer;
    border: none;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    width: 21px;
    text-align: center;
    color: #333;
    font-size: 13px;
    font-family: "FontAwesome" !important;
    line-height: 1.5;
    padding: 0;
    background: #FAFAFA;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.quantity-button:active {
    background: #EAEAEA;
}

.quantity-button.quantity-up {
    position: absolute;
    height: 50%;
    top: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-family: "FontAwesome";
    line-height: 1.6
}

.quantity-button.quantity-down {
    position: absolute;
    bottom: 0;
    height: 50%;
    font-family: "FontAwesome";
}

/*Stati scroll*/
/*html { overflow-y: scroll; }*/
html {
    scrollbar-color: #A0A0A0 #fff;
    scrollbar-width: 5px;
}

#login-form fieldset {
    padding: 20px 14px 5px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 8px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #A0A0A0;
    border-radius: 10px;
    border: 2px solid #A0A0A0;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #A0A0A0;
}

select[id^=bootstrap-duallistbox]{
    overflow:auto;
}

.fa_size {
    font-size: 1.33333333em;
}

.blink-element{
    animation: blinker 1s linear infinite;
}

.vakata-contextmenu-disabled{
    pointer-events: none;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.Hidden {
    display: none !important;
}

.axis-change-scale {
    user-select: none;
}

#measureSVG text{
    font-size:11px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

#measureSVG text.axis-change-scale {
    font-size: 20px;
}

#programmable_devices_tree .jstree-clicked{
    box-shadow:none;
}

#jarviswidget-fullscreen-mode .jarviswidget > div {
    overflow:auto;
}

#widget_measures .jarviswidget-ctrls span {
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    display: inline-block;
    line-height: 32px;
    padding: 0;
    margin: 0;
    color: #333;
    cursor: pointer;
}

.tr-height-custom {
    height: 35px;
    min-height: 35px;
}

    #scale_tooltip {
    width: 200px;
    height: 230px;
    position: absolute;
    z-index: 10000;
    background: white;
    border: 2px solid #004696;
    border-radius: 10px;
}

#scale_tooltip::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #004696;
    clear: both;
}

#permissions_tooltip, #si_permissions_tooltip {
    width: 175px;
    border: 1px solid #004696;
    border-radius: 10px;
}

#permissions_tooltip::after, #si_permissions_tooltip::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #004696;
    clear: both;
}

#si_permissions_tooltip::after {
    left:135px
}

.ui-jqgrid .ui-pg-button span.ui-separator {
    display: none;
}

.tooltip-form {
    display: block;
    height: 32px;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.disabled-link{
    pointer-events : none;
    color: black;
    cursor:text;
}

#programmable_devices_tree .jstree-anchor.jstree-clicked{
    color:#333 !important;
}

#programmable_devices_tree .jstree-checkbox{
    filter:brightness(0.2);
}

.popover {
    max-width: 800px;
    z-index: 8000;
}

label.tooltip-form {
    padding: 0;
}

#linecolor {
    padding: 2px 4px;
}

.gridlines {
    stroke: #dadada;
    pointer-events: none;
    opacity: 0.8
}

.icon-padding{
    padding-right:5px;
}

.axis-change-scale:hover {
    opacity: 0.8;
}

nav ul span.menu-item-parent{
    margin-left:5px;
}

/*(***)a.trubbia fix verso il template perché sennò il menu di ricerca va sotto gli elementi*/
.ui-autocomplete {
    z-index: 1001 !important;
}

.jstree_device {
    color: #212C43 !important;
    font-size: 10px;
    font-style: italic;
}

.container_svg {
    text-align: center;
    max-width: 100%;
    height: auto;
}

/* Split the screen in half */
.split {
    height: 100%;
    width: 50%;
    position: fixed;
    z-index: 0;
    top: 0;
    overflow-x: hidden;
    /*padding-top: 20px;*/
}

.selected_node {
    color: yellow !important;
}

.synoptic-menu-channels-label, #stat-visualization{
    margin:5px 0;
    font-weight: bold;
    font-size: 17px;
}

.active_button {
    background-color: #7ccbfc !important;
}

/* Control the left side */
.left {
    left: 0;
    /*background-color: #111;*/
}

/* Control the right side */
.right {
    display: flex;
    /*background-color: #3d231b;*/
    height: 100%;
}

/* If you want the content centered horizontally and vertically */
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

tr.ui-row-ltr td.ui-sgcollapsed {
    text-align: center;
    vertical-align: middle;
}

.centered_tr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                 supported by Chrome, Edge, Opera and Firefox */
}

.hidden_tab {
    width: 50%;
}

@media screen and (max-width: 979px) {
    .hidden_tab {
        display: none;
    }

    /*#filters_settings_label{
        visibility: hidden;
    }*/
}

.background_yellow {
    background-color: #ffff00;
}

.annotation_graph {
    opacity: 0.4;
    background-color: #ffff00 !important;
}

.title_widgets {
    /*height: 100%;*/
    width: 100%;
    display: inline-block;
    font-size: 13px;
    position: relative;
    margin: 0;
    line-height: 34px;
    font-weight: 400;
    letter-spacing: 0;
    text-align: left;
    background: #fafafa;
    font-weight: 700;
}

/* Style the image inside the centered container, if needed */
.centered img {
    width: 150px;
    border-radius: 50%;
}


.flowplayer {
    background-color: #00abcd;
}

    .flowplayer .fp-color-play {
        fill: #eee;
    }


/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
    background-color: #2980B9;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    /*display: inline-block !important;*/
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    background-color: #fff;
    display: none;
    position: absolute;
    margin-top: 50px;
    min-width: 350px;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 2px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-clip: padding-box;
    z-index: 1;
}

    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 8px 12px;
        text-decoration: none;
        display: block;
        font-size: 13px;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: #3276b1;
            color: white;
        }

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show-menu {
    display: block;
}

/*----------------------------------------------------------------------------------loading---------------------------------------------------------------*/

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 130%;
    background: rgba( 124, 203, 252, .4) /*rgba( 255, 255, 255, .3) */
    /*url('images/4.gif')*/
    50% 50% no-repeat;
}

/* When the body has the loading class, we turn
       the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

    /* Anytime the body has the loading class, our
       modal element will be visible */
    body.loading .modal {
        display: block;
    }

.cssload-loader * {
    box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.cssload-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-left: -40px;
    perspective: 160px;
    transform-type: preserve-3d;
    -o-transform-type: preserve-3d;
    -ms-transform-type: preserve-3d;
    -webkit-transform-type: preserve-3d;
    -moz-transform-type: preserve-3d;
}

.cssload-square {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    perspective: 240px;
    -o-perspective: 240px;
    -ms-perspective: 240px;
    -webkit-perspective: 240px;
    -moz-perspective: 240px;
    transform-type: preserve-3d;
    -o-transform-type: preserve-3d;
    -ms-transform-type: preserve-3d;
    -webkit-transform-type: preserve-3d;
    -moz-transform-type: preserve-3d;
    transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
}

.cssload-square--mini {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 25%;
    margin-top: 0;
    margin-left: 0;
    perspective: 160px;
    -o-perspective: 160px;
    -ms-perspective: 160px;
    -webkit-perspective: 160px;
    -moz-perspective: 160px;
    transform-type: preserve-3d;
    -o-transform-type: preserve-3d;
    -ms-transform-type: preserve-3d;
    -webkit-transform-type: preserve-3d;
    -moz-transform-type: preserve-3d;
    transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    transform: translateZ(80px) rotateX(20deg) rotateY(-10deg);
    -o-transform: translateZ(80px) rotateX(20deg) rotateY(-10deg);
    -ms-transform: translateZ(80px) rotateX(20deg) rotateY(-10deg);
    -webkit-transform: translateZ(80px) rotateX(20deg) rotateY(-10deg);
    -moz-transform: translateZ(80px) rotateX(20deg) rotateY(-10deg);
    background-color: rgba(13,22,41,0.72);
    animation: cssload-squaremini 3.8s cubic-bezier(.38,.04,.38,.99) infinite;
    -o-animation: cssload-squaremini 3.8s cubic-bezier(.38,.04,.38,.99) infinite;
    -ms-animation: cssload-squaremini 3.8s cubic-bezier(.38,.04,.38,.99) infinite;
    -webkit-animation: cssload-squaremini 3.8s cubic-bezier(.38,.04,.38,.99) infinite;
    -moz-animation: cssload-squaremini 3.8s cubic-bezier(.38,.04,.38,.99) infinite;
}

    .cssload-square--mini:nth-child(4n+2) {
        left: 25%;
    }

    .cssload-square--mini:nth-child(4n+3) {
        left: 50%;
    }

    .cssload-square--mini:nth-child(4n+4) {
        left: 75%;
    }

    .cssload-square--mini:nth-child(5),
    .cssload-square--mini:nth-child(6),
    .cssload-square--mini:nth-child(7),
    .cssload-square--mini:nth-child(8) {
        top: 25%;
    }

    .cssload-square--mini:nth-child(9),
    .cssload-square--mini:nth-child(10),
    .cssload-square--mini:nth-child(11),
    .cssload-square--mini:nth-child(12) {
        top: 50%;
    }

    .cssload-square--mini:nth-child(13),
    .cssload-square--mini:nth-child(14),
    .cssload-square--mini:nth-child(15),
    .cssload-square--mini:nth-child(16) {
        top: 75%;
    }

    .cssload-square--mini:nth-child(2),
    .cssload-square--mini:nth-child(5) {
        animation-delay: 95ms;
        -o-animation-delay: 95ms;
        -ms-animation-delay: 95ms;
        -webkit-animation-delay: 95ms;
        -moz-animation-delay: 95ms;
    }

    .cssload-square--mini:nth-child(3),
    .cssload-square--mini:nth-child(6),
    .cssload-square--mini:nth-child(9) {
        animation-delay: 190ms;
        -o-animation-delay: 190ms;
        -ms-animation-delay: 190ms;
        -webkit-animation-delay: 190ms;
        -moz-animation-delay: 190ms;
    }

    .cssload-square--mini:nth-child(4),
    .cssload-square--mini:nth-child(7),
    .cssload-square--mini:nth-child(10),
    .cssload-square--mini:nth-child(13) {
        animation-delay: 285ms;
        -o-animation-delay: 285ms;
        -ms-animation-delay: 285ms;
        -webkit-animation-delay: 285ms;
        -moz-animation-delay: 285ms;
    }

    .cssload-square--mini:nth-child(8),
    .cssload-square--mini:nth-child(11),
    .cssload-square--mini:nth-child(14) {
        animation-delay: 380ms;
        -o-animation-delay: 380ms;
        -ms-animation-delay: 380ms;
        -webkit-animation-delay: 380ms;
        -moz-animation-delay: 380ms;
    }

    .cssload-square--mini:nth-child(12),
    .cssload-square--mini:nth-child(15) {
        animation-delay: 475ms;
        -o-animation-delay: 475ms;
        -ms-animation-delay: 475ms;
        -webkit-animation-delay: 475ms;
        -moz-animation-delay: 475ms;
    }

    .cssload-square--mini:nth-child(16) {
        animation-delay: 570ms;
        -o-animation-delay: 570ms;
        -ms-animation-delay: 570ms;
        -webkit-animation-delay: 570ms;
        -moz-animation-delay: 570ms;
    }



@keyframes cssload-squaremini {
    0%, 100% {
        transform: translateZ(80px) rotateX(20deg) rotateY(-10deg) rotateZ(10deg);
        background-color: rgba(33,44,67,0.75);
    }

    12.5%, 62.5% {
        transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(89,125,171,0.71);
    }

    25%, 75% {
        transform: translateZ(80px) rotateX(-20deg) rotateY(10deg) rotateZ(-10deg);
        background-color: rgba(89,128,166,0.75);
    }

    37.5% {
        transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(124,203,252,0.71);
    }

    50% {
        transform: translateZ(80px) rotateX(20deg) rotateY(-10deg) rotateZ(5deg);
        background-color: rgba(127,156,183,0.75);
    }

    87.5% {
        transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(127,156,183,0.7);
    }
}
/*Da non cancellare anche se non ha corrispondenza!!!*/

@-o-keyframes cssload-squaremini {
    0%, 100% {
        -o-transform: translateZ(80px) rotateX(20deg) rotateY(-10deg) rotateZ(10deg);
        background-color: rgba(33,44,67,0.75);
    }

    12.5%, 62.5% {
        -o-transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(89,125,171,0.71);
    }

    25%, 75% {
        -o-transform: translateZ(80px) rotateX(-20deg) rotateY(10deg) rotateZ(-10deg);
        background-color: rgba(89,128,166,0.75);
    }

    37.5% {
        -o-transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(124,203,252,0.71);
    }

    50% {
        -o-transform: translateZ(80px) rotateX(20deg) rotateY(-10deg) rotateZ(5deg);
        background-color: rgba(127,156,183,0.75);
    }

    87.5% {
        -o-transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(127,156,183,0.7);
    }
}
/*Da non cancellare anche se non ha corrispondenza!!!*/

@-ms-keyframes cssload-squaremini {
    0%, 100% {
        -ms-transform: translateZ(80px) rotateX(20deg) rotateY(-10deg) rotateZ(10deg);
        background-color: rgba(33,44,67,0.75);
    }

    12.5%, 62.5% {
        -ms-transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(89,125,171,0.71);
    }

    25%, 75% {
        -ms-transform: translateZ(80px) rotateX(-20deg) rotateY(10deg) rotateZ(-10deg);
        background-color: rgba(89,128,166,0.75);
    }

    37.5% {
        -ms-transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(124,203,252,0.71);
    }

    50% {
        -ms-transform: translateZ(80px) rotateX(20deg) rotateY(-10deg) rotateZ(5deg);
        background-color: rgba(127,156,183,0.75);
    }

    87.5% {
        -ms-transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(127,156,183,0.7);
    }
}
/*Da non cancellare anche se non ha corrispondenza!!!*/

@-webkit-keyframes cssload-squaremini {
    0%, 100% {
        -webkit-transform: translateZ(80px) rotateX(20deg) rotateY(-10deg) rotateZ(10deg);
        background-color: rgba(33,44,67,0.75);
    }

    12.5%, 62.5% {
        -webkit-transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(89,125,171,0.71);
    }

    25%, 75% {
        -webkit-transform: translateZ(80px) rotateX(-20deg) rotateY(10deg) rotateZ(-10deg);
        background-color: rgba(89,128,166,0.75);
    }

    37.5% {
        -webkit-transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(124,203,252,0.71);
    }

    50% {
        -webkit-transform: translateZ(80px) rotateX(20deg) rotateY(-10deg) rotateZ(5deg);
        background-color: rgba(127,156,183,0.75);
    }

    87.5% {
        -webkit-transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(127,156,183,0.7);
    }
}
/*Da non cancellare anche se non ha corrispondenza!!!*/

@-moz-keyframes cssload-squaremini {
    0%, 100% {
        -moz-transform: translateZ(80px) rotateX(20deg) rotateY(-10deg) rotateZ(10deg);
        background-color: rgba(33,44,67,0.75);
    }

    12.5%, 62.5% {
        -moz-transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(89,125,171,0.71);
    }

    25%, 75% {
        -moz-transform: translateZ(80px) rotateX(-20deg) rotateY(10deg) rotateZ(-10deg);
        background-color: rgba(89,128,166,0.75);
    }

    37.5% {
        -moz-transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(124,203,252,0.71);
    }

    50% {
        -moz-transform: translateZ(80px) rotateX(20deg) rotateY(-10deg) rotateZ(5deg);
        background-color: rgba(127,156,183,0.75);
    }

    87.5% {
        -moz-transform: translateZ(0) rotateX(0) rotateY(0);
        background-color: rgba(127,156,183,0.7);
    }
}
/*Da non cancellare anche se non ha corrispondenza!!!*/

#customLoading {
    width: 250px;
    height: 120px;
    /*background-color:#212c43;*/
    background-image: url('../../../img/Sfondo_Loading50.png');
    background-repeat: repeat-x repeat-y;
    text-align: center;
    border: 1px solid #7ccbfc;
    padding-top: 25px;
}

#divimgLoading {
    height: 65px;
    width: 100%;
}

#imgLoading {
    height: 85px;
    width: auto;
}

#fontLoading {
    color: #FFF;
    font-size: 13px;
    font-family: Arial;
}

/*------------------------------------------------------------------------------------end loading---------------------------------------------------------------------*/

.list {
    list-style: none;
    padding: 0;
}

    .list li {
        display: flex;
        padding-left: 1.3em;
    }

        .list li:before {
            content: "\f061"; /* FontAwesome Unicode */
            font-family: "Font Awesome 5 Free";
            /*display: inline-block;*/
            margin-left: -1.3em; /* same as padding-left set on li */
            width: 1.3em; /* same as padding-left set on li */
            font-weight: 600;
        }

.table-responsive {
    width: 100%;
}

    .table-responsive > table:first-child {
        width: 100%;
        border: #ccc solid 1px;
    }

.table-responsive-th {
    background-color: #eee;
    height: 20px;
    /*min-width: 50px;*/
    /*width: 10%;*/
    border: #ccc solid 1px;
    word-break: break-all;
    text-align: center;
}

    .table-responsive-th:last-child {
        width: auto;
    }

.table-responsive > table > tbody > tr:nth-child(even) > td {
    /*width: 10%;*/
    height: 25px;
    border: #ccc solid 1px;
    word-break: break-all;
    text-align: center;
    cursor: default;
    /*padding: 1% 0% 1% 0%;   */
}


.table-responsive > table > tbody > tr:nth-child(odd) > td {
    background-color: #CECECE;
    /*padding: 5px;*/
}

.table-responsive-td {
    font-size: 12px;
    background-color: white;
    /*min-width: 50px;
    width: 5%;
    border: #ccc solid 1px;
    word-break: break-all;
    text-align: center;
    padding: 1%;*/
}

.table-responsive > table > tbody > tr:nth-child(even) > td:last-child {
    width: auto;
}

.table-responsive table td:last-child {
    /*display: inline-block;*/
}

.table-responsive-td:first-child {
    width: 30px !important;
}

.table-responsive-th:first-child {
    width: 30px !important;
}

.padding_div {
    padding: 6px 5px 30px 5px; /* 10px padding */
    background-clip: content-box; /* <---- */
    box-shadow: inset 0 0 0 3px #CECECE;
}

.padding_div_left {
    padding: 5px 3px 30px 30px; /* 10px padding */
    background-clip: content-box; /* <---- */
    box-shadow: inset 0 0 0 3px #CECECE;
}

.sub-grid-padding {
    padding: 5px 3px 0px 30px; /* 10px padding */
    background-clip: content-box; /* <---- */
    box-shadow: inset 0 0 0 30px #CECECE;
}

.barxaxis text{
    text-anchor : middle
}

.grid-lines line {
    stroke: #dadada;
    pointer-events: none;
    opacity: 0.8
}

.tr_animation {
    -webkit-animation: slide-down .4s ease-out;
    -moz-animation: slide-down .4s ease-out;
}

.font10 {
    font-size: 10px !important;
}

.support-request-icon {
    color: #004696;
    font-size: 18px;
    cursor: pointer;
    padding-left: 20px;
}

#header .pull-right .btn-header > :first-child > a {
    cursor: pointer !important;
}

@-webkit-keyframes slide-down {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-100%);
    }

    70% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes slide-down {
    0% {
        opacity: 0;
        -moz-transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

.hidden_cel {
    visibility: hidden;
    border: 0px;
}

.visible,
.notvisible {
    overflow: hidden;
    /* This container should not have padding, borders, etc. */
}

.visible {
    visibility: visible;
    opacity: 1;
    transition: opacity .2s linear;
}

.notvisible {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s .1s, opacity .1s linear;
}

    .visible > div,
    .notvisible > div {
        /* Put any padding, border, min-height, etc. here. */
    }

    .notvisible > div {
        margin-top: -10000px;
        transition: margin-top 0s .4s;
    }

/*LOADING */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cursor-pointer{
    cursor: pointer;
}

#maintenance-page {
    min-height: 525px;
    text-align: center;
    font: 1em "Open Sans",sans-serif;
    color: #333;
}

    #maintenance-page h1 {
        padding: 40px 0 25px;
        text-align: center;
        font: bold 2.5em "Open Sans",sans-serif;
        color: #084D8B;
        margin: 0;
    }

    #maintenance-page p {
        padding: 25px 0px 40px;
        font-size: 1em;
    }

.disabled-element label {
    cursor: not-allowed !important;
}

/* Oggetti programmazione con classe state-warning*/
.smart-form .checkbox.state-warning i,
.smart-form .radio.state-warning i,
.smart-form .state-warning input,
.smart-form .state-warning select,
.smart-form .state-warning textarea,
.smart-form .toggle.state-warning i {
    background: #fff68cff;
}

/* Oggetti programmazione con classe state-errored */
.smart-form .checkbox.state-errored i,
.smart-form .radio.state-errored i,
.smart-form .state-errored input,
.smart-form .state-errored select,
.smart-form .state-errored textarea,
.smart-form .toggle.state-errored i {
    background: #ff7070ff;
}
.smart-form .state-errored div {
    border-color: #ff7070;
}

/* Oggetti programmazione con classe state-requested */
.smart-form .checkbox.state-requested i,
.smart-form .radio.state-requested i,
.smart-form .state-requested input,
.smart-form .state-requested select,
.smart-form .state-requested textarea,
.smart-form .toggle.state-requested i {
    background: #ebdaffaa;
    cursor: not-allowed;
    opacity: 0.7;
}
.smart-form .state-requested div {
    background: #ebdaff33;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Gestione oggetti programmazione con classe state-wait */
.smart-form .checkbox.state-wait i,
.smart-form .radio.state-wait i,
.smart-form .state-wait input,
.smart-form .state-wait select,
.smart-form .state-wait textarea,
.smart-form .toggle.state-wait i {
    background: #00000010;
    cursor: not-allowed;
    opacity: 0.8;
}
.smart-form .state-wait div {
    background: #00000003;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Gestione oggetti programmazione con classe state-warning-wait */
.smart-form .checkbox.state-warning-wait i,
.smart-form .radio.state-warning-wait i,
.smart-form .state-warning-wait input,
.smart-form .state-warning-wait select,
.smart-form .state-warning-wait textarea,
.smart-form .toggle.state-warning-wait i{
    background: #ffff0030;
    cursor: not-allowed;
    opacity: 0.8;
}
.smart-form .state-warning-wait div {
    background: #ffff0003;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Gestione oggetti programmazione con classe state-errored-wait */
.smart-form .checkbox.state-errored-wait i,
.smart-form .radio.state-errored-wait i,
.smart-form .state-errored-wait input,
.smart-form .state-errored-wait select,
.smart-form .state-errored-wait textarea,
.smart-form .toggle.state-errored-wait i{
    background: #ff707010;
    cursor: not-allowed;
    opacity: 0.8;
}
.smart-form .state-errored-wait div {
    background: #ff707003;
    cursor: not-allowed;
    opacity: 0.8;
}

.max_width {
    width: 100% !important;
}

.p_75_width {
    width: 75% !important;
}

.custom_a {
    margin-bottom: 0px;
}

    .custom_a a {
        font-size: 11px;
        color: #3276b1;
        line-height: 22px;
    }

.custom_checkbox i {
    position: absolute !important;
    top: 3px !important;
    left: 0 !important;
    display: block !important;
    width: 13px !important;
    height: 13px !important;
    outline: 0 !important;
    border-width: 1px !important;
    border-style: solid !important;
    background: #FFF !important;
}

    .custom_checkbox i:after {
        top: -4px !important;
        left: -1px !important;
        font: 900 12px/19px "Font Awesome 5 Free" !important;
    }


.custom-header-widget {
    background: #474544 !important;
    color: #bbb !important;
    border: 1px solid #474544 !important;
}

    .custom-header-widget div {
        background: #474544;
        color: #bbb;
    }

    .custom-header-widget #synoptic-settings-menu, .custom-header-widget #synoptic-settings-menu div {
        background: white;
    }

    .custom-header-widget #synoptic-measure-settings i {
        color: #bbb;
    }

    .custom-header-widget div a {
        background: #474544;
        color: #bbb;
    }

    #synoptic-menu-row div {
        background: white;
        color: #000;
    }
/*.ui-state-focus {
    background: #3276b1 !important;
    color: white !important;
    cursor: pointer;
}*/
/*(***)a.trubbia stili css utili alla regolazione dell'altezza delle tabelle, quando il pager è su tre righe*/
.min-heightx10column {
    min-height: 326px;
}

.min-heightx15column {
    min-height: 426px;
}

.min-heightx20column {
    min-height: 526px;
}

.min-heightx30column {
    min-height: 726px;
}

.min-heightx10line {
    min-height: 270px;
}

.min-heightx15line {
    min-height: 371px;
}

.min-heightx20line {
    min-height: 471px;
}

.min-heightx30line {
    min-height: 671px;
}

.bottom-align {
    position: absolute !important;
    bottom: 0;
}
/*(***)a.trubbia rendere gli elementi della ricerca di equa altezza*/
.columns > select, .operators > .selectopts {
    height: 24px;
}

#map_settings_dropdown {
    display: block;
    min-width: 500px;
    z-index: 5000;
    top: 0;
    padding: 0;
}

#map_search_dropdown {
    display: block;
    min-width: 250px;
    z-index: 5000;
    top: 0;
    padding: 0;
}

.form-check {
    padding-left: 10px;
}

#mapsettings {
    box-shadow: none;
    border: 0;
}

    #mapsettings:active {
        box-shadow: none;
    }

#mapsearch {
    box-shadow: none;
    border: 0;
}

option:disabled {
    color: rgb(173,173,173);
}

#mapsearch:active {
    box-shadow: none;
}

.marker-layer-tooltip{
    width: auto;
}

#synoptic-measure-settings.fscreen-measures {
    color: rgb(187, 187, 187);
}


#main_company {
    overflow-y: hidden;
}

.map_form_div {
    width: 100%;
    border-top: 1px dashed rgba(0,0,0,.4);
    padding: 10px 20px 10px 20px
}

#center_info_row, #center_info_header {
    overflow: auto;
}

body {
    background: #eff0f0;
}

#privacy_div {
    text-decoration: underline;
    color: white
}

.map-settings-label {
    display: inline;
    padding-inline-start: 10px;
    vertical-align: middle;
}

    #privacy_div:hover {
        color: #e0e0e0;
    }
/* D3 pie chart start */
/*.d3piechart {
    float: left;
    border: 1px solid black;
}*/
.d3piechartchart path {
    stroke: #cccccc;
    stroke-width: 1px;
    opacity: 0.8;
}

.d3piechartchart text {
    font-size: 12px;
}

path.slice {
    stroke-width: 2px;
}

path.leaflet-interactive {
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s; /* Safari, Chrome and Opera > 12.1 */
}


.dashed-border label:before {
    content: '';
    left: -15px;
    position: absolute;
    right: auto
}

.dashed-border label:after {
    content: '';
    left: -15px;
    position: absolute;
    right: auto
}

.dashed-border .last-child-schema:before {
    height: 10px;
}

.dashed-border label:before {
    border-left: 1px dashed #999;
    bottom: 50px;
    height: 100%;
    top: 0px;
    width: 1px;
}

.dashed-border label:after {
    border-top: 1px dashed #999;
    height: 20px;
    top: 9px;
    width: 12px;
}

#attachments-container {
    position:relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-top: 2px solid #CCC;
    border-bottom: 2px solid #CCC;
    background: white;
}

#close-attachments{
    position:absolute;
    top:5px;
    right:5px;
    cursor:pointer
}

.attachment-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 40px;
    cursor: pointer
}

.attachment-element i{
    font-size: 40px;
}

.attachment-element p{
    margin-top: 6px;
    margin-bottom: 0px;
    font-size: 14px;
}

.attachment-element:hover i,.attachment-element:hover p {

    color: #00000033;
}

@keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}
/* D3 pie chart end */
#dashboard_schemas_expanded_content img{
    width: 35px;
}

.dashboard-in-ps{
    fill:red;
}

.map-tooltip {
    padding: 2px !important;
    background-color: rgb(255 255 255 / 90%) !important;
    border-radius: 10px !important;
}

.map-power-selection-tooltip {
    color: #ff6464 !important;
    font-weight:bold !important;
}

.simple-button-hover {
    background: white;
}

.simple-button-hover:hover {
    opacity: 0.8;
    background: #fafafa;
}

/* START CHECKBOX CSS*/
input[type=checkbox] {
    cursor: pointer;
}

.checkbox_indeterminate_state:after {
    content: '\f0c8' !important;
    top: 0px !important;
    left: 1px !important;
    width: 15px !important;
    height: 15px !important;
    font: 900 15px/17px "Font Awesome 5 Free" !important;
    text-align: center !important;
}

.events-file-icon-clickable{
    cursor:pointer;
}

/* END CHECKBOX CSS*/

/*(***)a.trubbia classe per togliere l'opzione di default di smart admin che nascondeva il nome della sezione su mobile*/
@media only screen and (max-width: 479px) and (min-width: 320px) {
    .section_title {
        display: block;
    }
}

.margin_info_row {
    margin-top: 40px;
}

.additionalmessage {
    overflow: hidden;
    text-overflow: ellipsis;
}

#ribbon #name_center {
    padding-right: 5px !important;
}

#categories_dropdown{
    max-height: 600px
}

#ps_dropdown{
    max-height: 575px;
}

#ps_dropdown .power-selection-name {
    font-size: 15px;
    padding: 10px 15px;
    display: block;
    min-height: 0;
    border-width: 1px;
    border-style: solid;
    color: #333;
    background-color: #fff;
    font-weight: 400;
    border: 1px solid #ccc;
}

#ps_dropdown .ps-radiobutton {
    -ms-transform: scale(1.3);
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    cursor:pointer;
    vertical-align: text-top;
    margin-right: 5px;
}

#ps_dropdown .ps_active {
    color: #004696;
    font-weight:bold;
}

#ps_dropdown .btn-danger {
    border-radius:5px;
}

.barChartToolTip {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    position: absolute;
    display: none;
    width: auto;
    height: auto;
    background: none repeat scroll 0 0 white;
    border: 0 none;
    border-radius: 8px 8px 8px 8px;
    box-shadow: -3px 3px 15px #888888;
    color: black;
    font: 12px sans-serif;
    padding: 5px;
    text-align: center;
    min-width: 150px;
    max-width: 150px;
    pointer-events:none
}

.dashboard-popup-title-element {
    line-height: 15px; text-align:center;
}

.marquee-text {
    white-space: nowrap;
    position: relative;
    animation: marquee 8s ease-in-out infinite;
    display: inline-block;
}

.selectize-dropdown{
    height:auto!important;
    position: absolute;
}

.selectize-control{
    padding: 0 2px 0 1px
}

.selectize-control.single .selectize-input {
    padding: 0;
    height: 30px;
    background-image: none;
    box-shadow: none;
    border-color: rgb(118, 118, 118);
    background-color: white;
    border-radius:5px;
}

.selectize-input > .item{
    vertical-align: sub;
    color: rgb(0,0,0);
}

.selectize-control.single .selectize-input:after{
    right:5px;
}

.selectize-dropdown .selected{
    background-color: #004696;
}


.ui-jqgrid .ui-pg-table.width100pager, .ui-jqgrid .ui-jqgrid-pager.width100pager {
    width: 100%;
}

#qr-retry-icon {
    display: inline;
    float: right;
    margin-right: 7px;
    font-size: 17px;
    cursor: pointer;
}

#mfa_qr_img {
    height:20vh;
}

#otp_code_label {
    display: inline;
    position: relative;
    top: 5px;
}

#otp_code_input {
    width: 40%;
    display: inline;
    float: right;
}

.otp-icon {
    position: absolute;
    right: 1%;
    top: 44%;
}

.input-typing {
    background-color: #fff68cff !important;
}

.input-not-valid {
    background-color: #ff7070ff !important;
}

@keyframes marquee {
    0%, 20% {
        transform: translateX(0%);
    }

    65%,95% {
        transform: translateX(calc(-100% + 347px));
    }

    100% {
        transform: translateX(0%);
    }
}

.opacity-0-animation {
    animation: fadeInFromNone 0.3s ease-out;
}

@keyframes fadeInFromNone {
    0%{
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media(max-height: 800px) {
    #categories_dropdown{
        max-height: 300px;
    }
}

@media(max-height: 550px){
    #categories_dropdown{
        max-height: 200px;
    }
}

@media (max-width: 880px) and (min-width: 768px) {
    #hide-menu > :first-child > a {
        margin-top: 9px !important;
        line-height: 24px !important;
        height: 30px !important;
    }

    #hide-menu i {
        font-size: 100%;
    }
}

@media (max-width:767px) {
    #hide-menu > :first-child > a {
        border: 0px;
        width: 30px !important;
    }

    #hide-menu i {
        font-size: 100%;
    }
}

@media (max-width:1199px) {
    .jarviswidget header h2 {
        width: auto;
    }
}
