@font-face {
    font-family: 'gv-varfont';
    src: url("/shared/fonts/GoogleSans-Regular.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: 'gv-varfont';
    src: url("/shared/fonts/GoogleSans-Bold.ttf") format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: 'gv-varfont';
    src: url("/shared/fonts/GoogleSans-Regular.ttf") format("truetype");
    font-weight: 100;
}

@font-face {
    font-family: 'gv-varfont';
    src: url("/shared/fonts/GoogleSans-Italic.ttf") format("truetype");
    font-style: italic;
}

@font-face {
    font-family: 'gv-monofont';
    font-weight: normal;
    src: url("/shared/fonts/RobotoMono-Regular.ttf") format("truetype");
}

@font-face {
    font-family: 'gv-monofont';
    font-weight: bold;
    src: url("/shared/fonts/RobotoMono-Bold.ttf") format("truetype");
}

@font-face {
    font-family: 'gv-monofont';
    font-weight: 100;
    src: url("/shared/fonts/RobotoMono-Light.ttf") format("truetype");
}

@font-face {
    font-family: 'gv-monofont';
    font-style: italic;
    src: url("/shared/fonts/RobotoMono-Italic.ttf") format("truetype");
}

.font-var {
    font-family: gv-varfont, calibri, verdana, tahoma;
}

.font-mono {
    font-family: gv-monofont, monospace;
}

.font-size-normal {
    font-size: 10pt;
}

.font-size-little {
    font-size: 8pt;
}

.font-size-big {
    font-size: 24pt;
}

.image-button {
    background-repeat: no-repeat;
    width: 50px;
}

.shadow {
    box-shadow: 0 2px 2px 0 #555;
}

#dot {
    padding: 0px 5px 0px 5px;
    height: 16px;
    background-color: #3886e6;
    color: #fff;
    font-weight: bold;
    position: fixed;
    border-color: #000;
    border-width: 1px;
    border-style: solid;
}

.bigchar {
    font-size: 24pt;
}

.littlechar {
    font-size: 8pt;
}

#help {
    visibility: hidden;
}

/*
 * Personalizzazioni Bootstrap 4
 */
html, body {
    font-size: 14px;
    height: 100%;
    width: 100%;
}

body {
    font-family: gv-varfont, calibri, verdana, tahoma;
    padding-top: 55px;
}
body.nomenu {
    padding-top: 0;
}

hr {
    border-color: #bbb;
    margin-top: 8px;
    margin-bottom: 8px;
}

.table tbody tr:hover td,
.table tbody tr:hover th {
    background-color: #eee;
}

.form-control {
    padding: 2px 6px 2px 6px;
    height: auto;
}

.input-group-btn button {
    margin: 0;
    padding-top: 3px;
    height: 26px;
}

pre {
    font-family: gv-monofont, monospace;
}

h3 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.btn {
    margin: 3px;
    padding: 5px 10px 5px 10px;
}

.btn-group > .btn {
    margin: 2px;
}

.btn-default {
    background-color: #ccc;
}

.nonfluid input,
select,
textarea {
    width: auto !important;
}

.panel {
    margin-bottom: 5px;
}

.fas,
.far,
.fab {
    font-size: 110%;
    margin-left: 3px;
    margin-right: 3px;
}

.panel {
    border-width: 0;
}

table {
    width: auto !important;
}

th {
    background-color: #ddd;
}

@media (max-width: 1024px) {
    body {
        font-size: 12px;
    }
}

.progress {
    width: 80px;
    background-color: #bbb;
    margin-bottom: 0px;
    font-family: gv-varfont;
}

.progress-bar {
    font-weight: bold;
}

/*
 * Personalizzazioni GV
 */
.cod {
    font-size: 125%;
    font-family: gv-monofont;
    font-weight: bold;
    color: #23527c;
}

th.sep {
    background-color: #d8dfea;
    color: #324e8b;
    font-weight: bold;
    border-color: #3b5998;
    border-style: solid;
    border-width: 0px 1px 2px 0px;
    background: -webkit-gradient(linear, left top, left bottom, from(#dddddd), to(#999999));
}

th.tit {
    background-color: #aab7df;
}

.table td {
    padding: 4px;
}

.table th {
    padding: 4px;
}

td.err {
    padding: 2px;
    background-color: #f00;
    color: #fff;
    font-weight: bold;
}

td.mod {
    background-color: #ffd;
    border-width: 1px;
    border-style: solid;
}

td.modn {
    font-family: gv-monofont, monospace;
    background-color: #ffd;
    border-width: 1px;
    border-style: solid;
}

td.modnb {
    font-family: gv-monofont, monospace;
    background-color: #ffd;
    border-style: none;
}

td.sep {
    border-right: solid 1px !important;
}

input.sub.pdf {
    background-repeat: no-repeat;
    width: 50px;
    background-image: url('/shared/images/misc/pdf-grey-icon.png');
}

input.sub.csv {
    background-repeat: no-repeat;
    width: 50px;
    background-image: url('/shared/images/misc/xls-grey-icon.png');
}

input.sub.email {
    background-repeat: no-repeat;
    width: 50px;
    background-image: url('/shared/images/misc/internet-grey-icon.png');
}

input.sub.fax {
    background-repeat: no-repeat;
    width: 50px;
    background-image: url('/shared/images/misc/phone-grey-icon.png');
}

.fld {
    padding: 6px 10px 1px 4px;
    background-color: #ddd;
    color: #333;
    border-width: 0 1px 0 1px;
    border-style: solid;
    border-color: #bbb;
    vertical-align: top;
}

table > tr:first-of-type > .fld {
    border-top: solid 1px #bbb;
}

table > tr:last-of-type > .fld {
    border-bottom: solid 1px #bbb;
}

.val {
    padding: 0px 3px 0px 2px;
    background-color: transparent;
    border-style: none;
    vertical-align: top;
}

.valro {
    padding: 0px 3px 0px 0px;
    background-color: #eee;
    border-style: none;
}

.vallb {
    padding: 0px 3px 0px 0px;
    background-color: #eee;
    border-style: solid;
    border-width: 0 3px 0 0;
}

.red {
    background-color: #f00;
}

.redbg {
    background-color: #fcc;
}

.dredbg {
    background-color: #f00;
    color: #ff0;
    font-weight: bold;
}

.lredbg {
    background-color: #fdd;
    font-weight: normal;
}

.grnbg {
    background-color: #cfc;
}

.blubg {
    background-color: #ccf;
}

.ylwbg {
    background-color: #ffc;
}

.cynbg {
    background-color: #99f;
}

.grybg {
    background-color: #eee;
}

.grybg1 {
    background-color: #ccc;
}

.dgrybg {
    background-color: #999;
}

.orabg {
    background-color: #ffbc8c;
}

.redbl {
    font-weight: bold;
    color: #f00;
    text-decoration: blink;
}

.tot {
    background-color: #cee3f6;
    font-weight: bold;
}

.num {
    font-family: gv-monofont, monospace;
    text-align: right;
}

.mono {
    font-family: gv-monofont, monospace;
}

.bold {
    font-weight: bold;
}

.utimg {
    width: 40px;
    border-radius: 4px;
}

#err {
    font-size: 12pt;
    font-weight: bold;
    background-color: #f00;
    padding: 3px;
    color: #fff;
    text-decoration: blink;
}

#noerr {
    font-weight: bold;
    background-color: #ada;
    padding: 3px;
    color: #000;
}

#topbar {
    border-radius: 4px;
    position: fixed;
    top: 60px;
    border: 3px solid black;
    padding: 10px;
    background-color: red;
    visibility: none;
    z-index: 100;
    color: white;
}

.gvnotify {
    display: table;
    vertical-align: middle;
    position: fixed;
    background: #000;
    color: #fff;
    font-weight: bold;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 4px;
    border-radius: 5px;
    font-variant: small-caps;
    font-size: 12pt;
}

.gnotifytext {
    display: table-cell;
    vertical-align: middle;
}

.gvbusy {
    z-index: 9900;
    display: table;
    vertical-align: middle;
    position: fixed;
    background: #f77;
    color: #fff;
    font-weight: bold;
    padding-left: 2px;
    padding-right: 2px;
    padding-bottom: 0px;
    border-radius: 5px;
    font-variant: small-caps;
    font-size: 12pt;
}

.gvpanel {
    display: none;
    width: 90%;
    height: 80%;
    margin: 80px 10px 80px 0px;
    background-color: #eee;
    z-index: 500;
    position: absolute;
    position: fixed;
    padding: 8px;
    overflow: auto;
    box-shadow: 0px 0px 30px #222;
    border-color: #5e7bb9;
    border-width: 8px 1px 1px 1px;
    border-style: solid;
    border-radius: 3px;
    transition: height 0.3s ease, top 0.3s ease;
}

@-webkit-keyframes pulse-red {
    from {
        background-color: red;
        color: white;
    }
    to {
        background-color: white;
        color: red;
    }
}

.pulsered {
    -webkit-animation-name: pulse-red;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation-timing-function: linear;
}

@-webkit-keyframes pulse-yellow {
    0% {
        background-color: rgba(255, 255, 255, 0.5);
    }
    100% {
        background-color: #cdcd00;
    }
}

.pulseyellow {
    -webkit-animation-name: pulse-yellow;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation-timing-function: linear;
}

.tooltip {
    border-radius: 4px;
    padding: 4px;
    background-color: #eee;
    display: none;
    box-shadow: 0px 0px 11px #000;
}

.gvtooltip {
    position: fixed;
    padding: 4px;
    background-color: #eee;
    display: none;
    box-shadow: 0px 0px 15px #222;
}

.noborder td {
    border-style: none;
}

.gvchat-overlay {
    bottom: 1px;
    height: 250px;
    background-color: #fff;
    z-index: 1500;
    border-style: solid;
    border-width: 1px;
    border-radius: 4px 4px 0 0;
    position: fixed;
    border-color: #4181d8;
    font-size: 9pt;
    z-index: 750;
}

.gvchat-title {
    top: 0;
    height: 32px;
    background-color: #4181d8;
    color: #fff;
    width: 100%;
}

.gvchat-add {
    top: 0;
    right: 24px;
    position: absolute;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
}

.gvchat-close {
    top: 0;
    right: 5px;
    position: absolute;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
}

.gvchat-text {
    top: 33px;
    overflow-y: auto;
    position: absolute;
    background-color: #fff;
    bottom: 16px;
    cursor: text;
    border-width: 0 0 1px 0;
    border-color: #2A406C;
    border-style: solid;
    width: 100%;
}

.gvchat-msg {
    bottom: 0;
    width: 99%;
    position: absolute;
    border-style: none;
    background-color: #ddd;
    cursor: text;
    height: 16px;
}

.gvchat-alert {
    background-color: #cc0000;
}

.amchart {
    width: 100%;
    height: 300px;
}

.amchart-small {
    width: 50%;
    height: 300px;
}

audio::-internal-media-controls-download-button {
    display: none;
}

not
(
.gvpanel

)
.sticky th {
    position: sticky;
    top: 48px;
}

.gvpanel .sticky th {
    position: sticky;
    top: -9px;
}

/* Underline rosso */
.navbar-nav > li > a:hover {
    text-decoration: underline red;
}

/* Padding ridotto */
.navbar a {
    padding-left: 8px;
    padding-right: 8px;
}

/* Immagine font awesome 5 */
.nav-item li > a > img {
    float: right;
    padding-top: 4px;
}

.nav-link {
    padding-left: 0.4em !important;
    padding-right: 0.4em !important;
}

.dropdown-menu {
    border: 1px solid #888;
}

.dropdown-item {
    padding-top: 1px;
    padding-bottom: 1px;
}

.dropdown-item:hover {
    background-color: #007bff;
    color: white;
}

/*
 * Personalizzazioni GTS
 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2000;
    background-color: rgba(255, 255, 255, 0.8);
}

.panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 400;
    background-color: rgba(255, 255, 255, 0.7);
}

.loading {
    list-style: none;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0;
    z-index: 2100;
}

.loading li {
    height: 0;
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    margin: 0;
    height: 50px;
    width: 50px;
    border: 3px solid #337ab7;
    border-radius: 100%;
    transform: transformZ(0);
    animation: LOADING 2s infinite;
}

.loading li:nth-child(1n) {
    left: -50px;
    animation-delay: 0s;
}

.loading li:nth-child(2n) {
    left: 0;
    animation-delay: 0.2s;
}

.loading li:nth-child(3n) {
    left: 50px;
    animation-delay: 0.4s;
}

@keyframes LOADING {
    0% {
        transform: scale(0.5);
        background: #337ab7;
    }
    50% {
        transform: scale(1);
        background: white;
    }
    100% {
        transform: scale(0.5);
        background: #337ab7;
    }
}


.lg-hidden {
    display: none;
}

@media only screen and (max-width: 769px) {
    .lg-hidden {
         display: unset !important;
    }
}


ul.lista-sessioni{
    margin: 0;
    padding-left: 1rem;
    list-style: none!important;
}

ul.lista-sessioni > li > span.keySession{
    font-size: 15px;
    cursor: pointer;
    transition: font-weight .1s ease-in-out;
    /*display: inline-block;*/
    margin-right: 10px;
}

ul.lista-sessioni > li span:hover{
    opacity: 1;
    /*font-weight: bold;*/
}
ul.lista-sessioni > li span.active{
    color: var(--success);
}
ul.lista-sessioni > li span.no-active{
    color: var(--danger);
    display: none!important;
}

div.sessions > span.item{
    font-size: 18px;
    color: white;
    margin-right: 10px;
    cursor: pointer;
}

div[id^='gtssearch-id-'] input, span[id^='gtssearch-id-'] input {
    display: inline-block;
}

div[id^='gtssearch-id-'] input:first-of-type{
   width:20%;
}

div[id^='gtssearch-id-'] input:last-of-type{
    width:60%;
}

/* personalizzazioni GTS */
.btnpers {
    border-radius: 50px !important;
}


.dragging {
  opacity: 0.5;
}

.bs4_labels2_hidden {
    visibility: hidden;
}


.relogin {
    background-color: #dff26e !important;
    border-radius: 20px;
    height: 300px;
    background-image: url("https://cdn-icons-png.flaticon.com/128/2628/2628564.png");
     background-size: 100px;
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: bottom;
}

.messagebox_buttons {
    background-color: #dff26e !important;
}

.relogin_overlay {
}


.relogin_label {
    font-weight: bold;
    color: red;
}


.relogin_conferma {
    background-color: #32e832 !important;
    border-radius: 20px !important;
}
.relogin_annulla {
    background-color: #e83232 !important;
    border-radius: 20px !important;
    color: yellow;
}

#gvpanel0{
    padding: 15px 35px 35px!important;
}

.gvpanel-minimo {
    height: 44px !important;
    overflow: hidden !important;
}

/* ---- hb_calendar_range: popup shortcut intervalli ---- */
.gv-cal-shortcuts {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.gv-cal-trigger {
    cursor: default;
    padding: 0 6px;
    color: #aaa;
    font-size: 13px;
    line-height: 1;
}
.gv-cal-trigger:hover {
    color: #555;
}
.gv-cal-popup {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 8px 8px 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,.12);
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s ease,
                visibility 0s linear .3s,
                pointer-events 0s linear .3s;
}
.gv-cal-shortcuts:hover .gv-cal-popup {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity .12s ease;
}
.gv-cal-popup .btn {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 50px !important;
}
.gv-cal-popup-top {
    display: flex;
    flex-direction: row;
    gap: 4px;
}
/* griglia mesi: espansa quando mouse scende nel popup */
.gv-cal-months {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    white-space: nowrap;
    transition: max-height .2s ease, margin-top .15s ease;
    user-select: none;
}
.gv-cal-months.open {
    max-height: 120px;
    margin-top: 6px;
}
.gv-cal-month {
    padding: 2px 4px !important;
    border-radius: 6px !important;
    text-align: center;
    background: #f8f9fa !important;
    border-color: transparent !important;
    color: #495057 !important;
    font-size: 10px !important;
}
.gv-cal-month.in-range {
    background: #cfe2ff !important;
    border-color: #9ec5fe !important;
    color: #084298 !important;
}
.gv-cal-ytd {
    grid-column: 1 / -1;
    margin-top: 2px;
    font-size: 10px !important;
    padding: 2px 4px !important;
    border-radius: 6px !important;
}

