/* Tipografia */

.heavy, h1.heavy {
    font-weight: 900;
    letter-spacing: -0.05em;
}

/* Button */
.btn-default {
    color: #0088cc;
}
.btn-round {
    width: 32px;
    height: 32px;
    border-radius:16px;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    padding: 0 !important;
}

.italic {
    font-style: italic;
}

.barrato {
    text-decoration: line-through;
}

.fs_25 {
    font-size: 25px;
}

.fs_30 {
    font-size: 30px;
}

.fs-9rm {
    font-size: 0.9rem;
}

.btn-input {
    left: -5px;
}
.btn-group .btn {
    border-color: rgba(0,0,0,0.1) !important;
}
button.close:focus {
    outline:none;
}

/* Dimensions */
.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%;
}

.w-50 {
    width: 50%;
}

.wd-20 {
    width: 20px !important;
}

.wd-25 {
    width: 25px !important;
}

.wd-50 {
    width: 50px !important;
}

.wd-75 {
    width: 75px !important;
}

.wd-100 {
    width: 100px !important;
}

.wd-125 {
    width: 125px !important;
}

.wd-160 {
    width: 160px !important;
}

.wd-180 {
    width: 180px !important;
}

.wd-200 {
    width: 200px !important;
}

.wd-220 {
    width: 220px !important;
}

.wd-250 {
    width: 250px !important;
}

.wd-300 {
    width: 300px !important;
}

.wmax-25 {
    max-width: 25px !important;
}

.wmax-50 {
    max-width: 50px !important;
}

.wmax-80 {
    max-width: 80px !important;
}

.wmax-100 {
    max-width: 100px !important;
}

.wmax-150 {
    max-width: 150px !important;
}

.wmax-200 {
    max-width: 200px !important;
}

.wmax-250 {
    max-width: 250px !important;
}

.wmax-300 {
    max-width: 300px !important;
}

.wmax-350 {
    max-width: 350px !important;
}

.wmax-400 {
    max-width: 400px !important;
}

.wmax-500 {
    max-width: 500px !important;
}

.wmax-600 {
    max-width: 600px !important;
}

.wmax-800 {
    max-width: 800px !important;
}

.wmin-80 {
    min-width: 80px !important;
}
.wmin-100 {
    min-width: 100px !important;
}
.wmin-150 {
    min-width: 150px !important;
}
.wmin-180 {
    min-width: 180px !important;
}
.wmin-200 {
    min-width: 200px !important;
}
.wmin-250 {
    min-width: 250px !important;
}
.wmin-300 {
    min-width: 300px !important;
}
.wmin-400 {
    min-width: 400px !important;
}

.hmax-100 {
    max-height: 100px !important;
}
.hmax-300 {
    max-height: 300px !important;
}

/* Border */
.no-border,
table.table.no-border td {
    border: 0 none !important;
}
.no-border-bottom {
    border-bottom: 0 none !important;
}

/* Cookies */

#cookieChoiceInfo {
    background-color: rgba(0,89,153,0.90);
}

#cookieChoiceInfo a {
    color: #fff;
    font-weight: bold;
    background-color: transparent !important;
}

#cookieChoiceInfo > span {
    width: 100%;
    margin: 0 auto;
    display: block;
    text-align: center;
}

#cookieChoiceInfo .ui-icon {
    background-image: url(images/ui-icons_ffffff_256x240.png);
}

#cookieChoiceInfo .icon-CookieChoice {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
    background-image: url(../Graphics/icon_cookies.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
}

/* Utilities */

.d-none-light {
    display: none;
}
.d-flex-light {
    display: flex;
}

/* Border-radius */
.rounded-top-none {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.rounded-right-none {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.rounded-bottom-none {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.rounded-left-none {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* HTML */

html {
    overflow-y: auto !important;
}

.overflow-x-hidden {
    overflow-x: hidden !important;
}

/* Masterpage */
#ContentPagePopUp {
    padding-top: 60px !important;
}

/* Header */
html.dark .header, html.header-dark .header {
    border-bottom-color: rgba(255, 255, 255, 0.25);
    border-top-color: rgba(0,0,0,0.25);
}

html.dark .header .separator, html.header-dark .header .separator {
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(10%, rgba(255, 255, 255, 0.25)), to(rgba(255, 255, 255, 0.5)));
    background-image: linear-gradient(rgba(255, 255, 255, 0.25) 10%, rgba(255, 255, 255, 0.5));
}

html.dark .alert-default {
    background-color: #282d36;
    border-color: #1d2127;
    color: #6c6c6c;
}

html.header-dark .notifications > li .notification-icon {
    background: rgba(255,255,255,0.25);
}

html.header-dark .notifications > li .notification-icon i {
    color: rgb(255, 255, 255);
}

html.header-dark .userbox .name,
html.header-dark .userbox small,
html.header-dark .userbox .custom-caret,
html.header-dark .timer-count-down-box small {
    color: rgba(255,255,255,0.95);
}

html.header-dark .userbox .role {
    color: rgba(255,255,255,0.75);
}
#logoBox .toggle-sgr div {
    display: inline-block;
    width: 276px;
    height: 41px;
    vertical-align: middle;
    background-image: url(../img/logo.svg?2223);
    background-repeat: no-repeat;
    background-position: left;
    background-size: contain;
}
#logo-school-code {
    background-image: url(../img/logo-school-code-white.svg);
    background-position: center left;
    background-repeat: no-repeat;
    background-size: contain;
    width: 96px;
    height: 14px;
    opacity: 0.5;
}
#box-school-code {
    height: 96px;
    width: 96px;
    background-color: #fff;
    cursor:pointer;
    position:relative;
}
.schoolCode,
#box-school-code img {
    width: 100%;
}
#box-school-code img {
    z-index: 10001;
    position: absolute;
}}
#logoBox.show .toggle-sgr div {
    background-image: url(../img/logo-scuolaonline-white.svg);
}
#logo-scuola {
    max-width: 100%;
    max-height: 100%;
    padding-left: 1em;
}
html.sidebar-left-collapsed #logo-scuola {
    display:none !important;
}
@media only screen and (max-width: 767px) {
    html .dark .header .logo-container, html.header-dark .header .logo-container {
        background: unset;
        border-bottom-color: rgba(255, 255, 255, 0.25);
        border-top-color: rgba(0,0,0,0.25);
    }

    html.dark .header .separator, html.header-dark .header .separator {
        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(10%, rgba(255, 255, 255, 0.25)), to(rgba(255, 255, 255, 0.5)));
        background-image: linear-gradient(rgba(255, 255, 255, 0.25) 10%, rgba(255, 255, 255, 0.5));
    }

    html.dark .header .header-right, html.header-dark .header .header-right {
        background: unset;
    }

    html.dark .userbox:after, html.header-dark .userbox:after {
        background: unset;
        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(10%, rgba(255, 255, 255, 0.25)), to(rgba(255, 255, 255, 0.5)));
        background-image: linear-gradient(rgba(255, 255, 255, 0.25) 10%, rgba(255, 255, 255, 0.5));
    }
    .userbox.show .dropdown-menu {
        padding: 45px 10px 0 !important;
    }
    .userbox .name, .userbox .role {
        max-width: 128px !important;
    }
    .logo-container .userbox:after {
        display:none;
    }
}
.userbox.show .dropdown-menu a.no-link,
.userbox.show .dropdown-menu a.no-link:hover,
.userbox.show .dropdown-menu a.no-link small {
    background-color: transparent !important;
    color: #C3C3C3 !important;
}

html.dark section.content-body a:not(.btn),
html.dark #ContentPageWindow a:not(.btn),
html.dark #ContentPagePopUp a:not(.btn) {
    /*color: inherit !important;*/
}

html.dark table tr.headerTable {
    background-color: #282d36 !important;
}
html.dark .headerTable.text-primary th {
    /*color: #282d36 !important;*/
}
html.dark.sidebar-light .sidebar-left {
    background-color: unset !important;
}

html.dark .form-group + .form-group {
    border-top: 1px solid rgb(41 41 41 / 55%);
}

html.dark .toggle > .toggle-content,
html.dark .toggle > .toggle-content .toggle-footer {
    background-color: #2e353e;
}
html.dark .accordion.accordion-quaternary .card-header {
    background-color: #2e353e !important;
}

html.dark table.table-edit > tbody > tr:first-child,
html.dark table.table-edit > tbody > tr.headerTable,
html.dark table.table-insert > tbody > tr:first-child,
html.dark table.table-insert > tbody > tr.headerTable {
    border-top: 0;
}

html.dark table.table-edit > tbody > tr,
html.dark table.table-insert > tbody > tr {
    border-top: 1px solid #403f3f;
}

html.dark .table-hover tr:hover {
    background-color: initial !important;
}

.header .logo {
    margin: 6px 0 0 15px;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pagination span > span.page-link,
.pagination span > a.page-link {
    display: inline-block;
    color: #0099e5;
}

.pagination > span > span.page-link.active {
    background-color: #0099e5 !important;
    border-color: #0099e5;
    color: #fff;
}

.pagination > span > a.page-link.aspNetDisabled {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

.pagination > span > .page-link:first-child {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.pagination > span > .page-link:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

@media only screen and (max-width: 991px) {
    /*.pagination {
		display: block !important;
	}
		.pagination > span > .text-right {
			text-align: left !important;
			margin-top:0.5em;
		}*/
}

table.table tbody tr td {
    transition: background-color 0.5s;
}

table.table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.01);
    transition: background-color 0.5s;
}

table.table tbody tr:hover td {
    transition: background-color 0.5s;
}

table.table th {
    background-color: rgba(0,0,0,0.05);
    white-space: nowrap;
}

table tr.headerTable th,
table tr.headerTable td {
    background-color: rgba(0,0,0,0.05);
    white-space: nowrap;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting_desc_disabled:after {
    opacity: 0.2;
    margin-left: 0.1em;
    margin-right: 0.1em;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before {
    right: 1.3em;
    font-family: "Font Awesome 5 Free";
    content: "\f106";
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
    font-family: "Font Awesome 5 Free";
    content: "\f107";
}

table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:after {
    color: #0099e5 !important;
    opacity: 1 !important;
}

.dataTables_wrapper .pagination {
    margin-top: 0 !important;
}

@media only screen and (max-width: 991px) {
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: center;
    }
}

table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc,
table.dataTable thead > tr > th.sorting,
table.dataTable thead > tr > td.sorting_asc,
table.dataTable thead > tr > td.sorting_desc,
table.dataTable thead > tr > td.sorting {
    padding-right: 30px !important;
}

.dataTables_wrapper table.dataTable {
    display: table;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgb(125 127 130 / 20%) !important;
}

html.no-overflowscrolling .nano > .nano-pane > .nano-slider {
    background: #dedede;
}

@media only screen and (max-width: 959px) {
    #DateTime {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .timer-count-down-box {
        float: right;
        margin: 8px 15px 0 0;
    }
}

.card + .card {
    margin-top: 0.5rem;
}

.widget-summary.widget-summary-xs .summary {
    white-space: normal !important;
}

.widget-summary.widget-summary-xs .summary .title {
    line-height: 1.5rem;
}

.header .logo-container {
    z-index: 100000;
}

html.sidebar-right-opened .page-header .sidebar-right-toggle i:before {
    content: "\e904";
}

.sidebar-right {
    z-index: 1000000;
}

.border-gray {
    border-color: #f3f3f3;
}
html.dark .border-gray {
    border-color: #21262d !important;
}

/* Parametri configurabili */
#Id_parametri_alias_rapporto_credenziali_invalsi_classi .cerca-valori {
    display: none;
}
/* Avvisi video-lezione */
.blinkBox {
    background-color: #c00;
    padding: 4px 1.2em;
    font-weight: bold;
    border-radius: 20px;
    display: inline-block;
    animation: blinkingText 1.2s infinite;
}

@-webkit-keyframes blinkingText {
    0% {
        color: #fff;
    }

    40% {
        color: #fff;
    }

    60% {
        color: transparent;
    }

    90% {
        color: transparent;
    }

    100% {
        color: #fff;
    }
}

@keyframes blinkingText {
    0% {
        color: #fff;
    }

    40% {
        color: #fff;
    }

    60% {
        color: transparent;
    }

    90% {
        color: transparent;
    }

    100% {
        color: #fff;
    }
}

.video-lezione-notify {
    animation: pulse 2s infinite;
}

@-webkit-keyframes pulse {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 0.8;
    }

    60% {
        opacity: 0.6;
    }

    100% {
        opacity: 0.2;
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 0.8;
    }

    60% {
        opacity: 0.6;
    }

    100% {
        opacity: 0.2;
    }
}

/* Tabella */

.table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #dee2e6;
}
html.dark .table {
    border-bottom: 1px solid #1d2127;
}
.table ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.table ul li {
    white-space: nowrap;
}

.table span.aspNetDisabled {
    position: relative;
}

table.table tbody tr td.highlighted {
    background-color: rgba(0, 0, 0, 0.03);
    font-weight: bold;
}

table.table tbody tr th a:not([href]):not([tabindex]) {
    color: initial;
}
table.table tbody tr td a:not([href]):not([tabindex]) {
    color: inherit;
}

.table label {
    color: #777;
}

table.table.table-responsive-sm > tbody,
table.table.table-responsive-sm > thead {
    display: table;
    width: 100%;
}

/* Tabella responsive (elenco) */

table.table.table-responsive-col-active > tbody > tr {
    display: block;
    margin-top: 0.8em;
    margin-bottom: 0.8em;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    border-top: 1px solid #dee2e6;
}

html.dark table.table.table-responsive-col-active > tbody > tr {
    border-top: 1px solid #21262d;
}

table.table.table-responsive-col-active > tbody > tr.headerTable {
    display: none;
}

table.table.table-responsive-col-active > tbody > tr > td {
    display: block;
    border-top: 0 none;
    padding: 0.25em 0;
}

table.table.table-responsive-col-active > tbody > tr > td.highlighted {
    background-color: transparent !important;
    text-align: left !important;
}

table.table.table-responsive-col-active > tbody > tr > td.text-center {
    display: block;
    border-top: 0 none;
    padding: 0.25em 0;
}

table.table.table-responsive-col-active > tbody > tr > td .badge-voto {
    margin: 0;
    display: inline-block !important;
    text-align: center;
    vertical-align: middle !important;
}

table.table.table-responsive-col-active > tbody > tr > td:before {
    content: attr(data-content);
    display: inline-block;
    width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.85em;
    color: #999;
    vertical-align: middle;
    text-align: right;
    padding-right: 1em;
    font-weight: normal;
}

table.table.table-responsive-col-active > tbody > tr:hover,
table.table.table-responsive-col-active > tbody > tr:hover:nth-of-type(odd) {
    background-color: transparent !important;
}

.gridList ul {
    margin: 0;
    padding: 0;
    line-height: 130%;
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}
.cursor-default {
    cursor: default !important;
}

a:not([href]):not([tabindex]) {
    color: inherit;
}

a:not([href]):not([tabindex]).btn {
    color: var(--light);
}

    a:not([href]):not([tabindex]).aspNetDisabled,
    a.aspNetDisabled {
        color: gray;
        cursor: not-allowed;
    }

    a:not([href]):not([tabindex]):hover,
    a:not([href]):not([tabindex]):focus {
        color: lightgray;
        text-decoration: none;
    }

a:hover {
    text-decoration: none;
}

label.erroreCampo, .questionari li label.erroreCampo {
    color: #ff3333 !important;
    margin: 0;
    font-weight: bold;
}

input.erroreCampo, select.erroreCampo {
    border-color: #ff3333 !important;
    color: inherit;
}

.bubble {
    display: inline-block;
    padding: 1px 5px;
    font-weight: bold;
    color: #FFF;
    background-color: #C00;
    border: 2px solid #fff;
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.20);
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.20);
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.20);
}

/* Logo utente header */

.userPhotoHeaderBox {
    display: inline-block;
    float: left;
    vertical-align: middle;
    border-radius: 30px;
}

#userbox .userPhotoHeader {
    background-color: rgba(0,0,0,0.15);
}

.userPhotoHeader {
    display: block;
    height: 32px;
    width: 32px;
    margin: 0 6px;
    background-image: url('../Img/user-white.svg');
    background-color: rgba(0,0,0,0.15);
    background-size: cover;
    text-align: center;
    border-radius: 30px;
}

.userPhotoHeaderImg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 30px;
}

/* ---- Menu principale ---- */

ul.nav-main > li > a {
    border-top: 1px solid rgba(125, 125, 125, 0.1);
    font-weight: 600;
}

ul.nav-main {
    border-bottom: 1px solid rgba(125, 125, 125, 0.1);
}

.nav.nav-main li.new {
    display: flex;
    position:relative;
}
.nav.nav-main li.new a {
    flex: 1;
    padding-right: 50px !important;
}

.nav.nav-main li.new:after {
    content: 'new';
    padding: 0px 5px 2px !important;
    background-color: #b00;
    color: #fff;
    font-weight: 700;
    border-radius: 60px;
    align-self: center;
    margin-right: 14px;
    letter-spacing: -0.05em;
    font-size: 0.8em;
    line-height: 1.6em;
    position: absolute;
    right: 0;
    top: 9px;
}
#cercaMenu {
    padding-right: 1em !important;
}
#cercaMenu input.form-control {
    right: -1px;
}

/* Barra laterale per i video tutorial */

.video-tutorial {
    position: fixed;
    width: 260px;
    height: 100%;
    top: 110px;
    bottom: 0;
    right: -260px;
    z-index: 1008;
    border-radius: 0;
    background: #171717;
    transition: right 1s;
}

.video-tutorial .video-toggle {
    position: absolute;
    top: 50px;
    display: block;
    width: 115%;
    right: 0;
    background-color: inherit;
    border-radius: 6px 0 0 6px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 0 0 rgba(66, 138, 202, 0.4);
}

.video-tutorial .video-toggle div {
    display: block;
    width: 40px;
    height: 40px;
    float: left;
    padding: 8px;
}

.video-tutorial .video-toggle div:hover {
    animation: shadowing 2s infinite;
}

@-webkit-keyframes shadowing {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(66, 138, 202, 0.6);
    }

    70% {
        -webkit-box-shadow: 0 0 0 15px rgba(66, 138, 202, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(66, 138, 202, 0);
    }
}

@keyframes shadowing {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(66, 138, 202, 0.6);
        box-shadow: 0 0 0 0 rgba(66, 138, 202, 0.6);
    }

    70% {
        -moz-box-shadow: 0 0 0 15px rgba(66, 138, 202, 0);
        box-shadow: 0 0 0 15px rgba(66, 138, 202, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(66, 138, 202, 0);
        box-shadow: 0 0 0 0 rgba(66, 138, 202, 0);
    }
}

.video-tutorial .video-wrapper {
    height: 100%;
    margin: 0;
    overflow-y: auto;
    padding: 15px 20px 135px;
    position: relative;
}

.video-container {
    width: 100%;
    padding: 0;
    margin: 20px 0;
}

.video-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    border: 1px solid gray;
    border-radius: 5px;
    color: snow;
    font-size: 0.8rem;
    cursor: pointer;
}

/* ---- Flex ---- */

.flex-end {
    align-items: flex-end;
}

/* ---- Singolo elemento per l'orario in slot_docenti_colloqui ---- */

.orarioRicDoc {
    text-align: left;
    background-color: lightgray;
    border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    border-top: #eaeaea 1px solid;
    border-right: #eaeaea 1px solid;
    border-left: #eaeaea 1px solid;
    border-bottom: #eaeaea 3px solid;
    padding: 6px 10px;
    margin-right: 0.25rem !important;
}

    .orarioRicDoc.redBg > label {
        color: white !important;
    }

/* ---- Tabella competenze nei voti quotidiani ---- */
.cell-competenze table {
    width:100%;
}
.cell-competenze table td:nth-child(1) {
    width: 25%;
}
.cell-competenze table td:nth-child(2) {
    width: 25%;
}
.cell-competenze .div-competenze {
    overflow: hidden;
    max-height: 0px;
    transition: max-height 2s cubic-bezier(0, 1, 0, 1);
}

.cell-competenze .div-competenze.active {
    max-height: 1000px;
    transition: max-height 2s ease-in-out;
}

/* ---- Immagine alunno nel tooltip voti quotidiani ---- */
.infoTooltip {
    display: none !important;
}

.alunnoFoto {
    display: inline-block;
    width: 82px;
    height: 82px;
    border: 1px solid white;
    box-sizing: border-box;
}

.alunnoFoto div {
    width: 100%;
    height: 100%;
}

.userPhotoBox_120 {
    display: block;
    float: left;
    padding: 8px 0;
    background-color: #F0F0F0;
    border-radius: 70px;
}

.userPhoto_120 {
    display: block;
    height: 120px;
    width: 120px;
    margin: 0 8px;
    background: url(../Graphics/user-white-120.svg) no-repeat center;
    background-color: gray;
    text-align: center;
    border-radius: 60px;
}

.userPhotoImg_120 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 60px;
}

.userPhotoBox_80 {
    display: block;
    float: left;
    padding: 6px 0;
    background-color: #F0F0F0;
    border-radius: 60px;
}

.userPhoto_80 {
    display: block;
    height: 80px;
    width: 80px;
    margin: 0 6px;
    background: url(../Graphics/bg_user_photo_80.png) no-repeat center;
    background-color: gray;
    text-align: center;
    border-radius: 60px;
}

.userPhotoImg_80 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 60px;
}

.userBlockScreenBox {
    position: absolute;
    left: 50%;
    top: -75px;
    width: 150px;
    height: 150px;
    margin-left: -75px;
    border-radius: 150px;
    background-color: gray;
}

.userBlockScreenBoxImg {
    background-image: url(../Graphics/user-white-120.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 150px;
}

/* ---- Icona per i caricamenti ---- */

.loaderIcon {
    position: absolute;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0.5;
}

.loaderIcon .spinner-border {
    position: relative;
    top: 50%;
    left: 50%;
    margin-left: -1rem;
    margin-top: -1rem;
}
.loading {
    position: relative;
}

.loading:before {
    content: '';
    display: block;
    background-color: rgba(255,255,255,0.4);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9;
}

.loading:after {
    content: "\f1ce";
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    z-index: 9999;
    color: #ced4da;
    font-size: 36px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    width: 36px;
    height: 36px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -18px;
    margin-top: -18px;
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
    overflow: hidden;
    line-height: 36px;
}

/* ---- Tabella utile ai tooltip ---- */

.tooltip-table {
    border: 0;
    margin: 0;
    color: #fff !important;
}

.tooltip-table tr td:first-child {
    padding-right: 5px;
}

.tooltip-table tr td {
    text-align: left;
    font-size: 0.8em;
    vertical-align: top;
}

    .tooltip-table.tooltip-competenze {
        display: table !important;
    }
    .tooltip-table.tooltip-competenze tr {
        display: table-row !important;
    }
    .tooltip-table.tooltip-competenze tr td {
        vertical-align: top !important;
        border-top: 1px solid rgba(128,128,128,0.2);
        display: table-cell !important;
    }

/* Tabella allegati */

table.table.table-responsive-sm.allegati {
    max-width: 250px;
    overflow-y: hidden !important;
    padding: 2px 0;
}

table.table.table-responsive-sm.allegati > tbody {
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
}

table.table.table-responsive-sm.allegati > tbody > tr {
    background-color: rgb(237, 237, 237) !important;
    border: 1px solid #dee2e6;
    padding: 0.4em 1em;
    border-radius: 30px !important;
    display: inline-block;
    margin: 0.2em 0.4em 0.2em 0;
}
html.dark .table.table-responsive-sm.allegati > tbody > tr {
    background-color: rgb(40 45 54) !important;
    border: 1px solid #1d2127;
}

table.table.table-responsive-sm.allegati > tbody > tr > td {
    max-width: 180px;
    border: 0;
    padding: 0.3em;
    overflow: hidden;
    text-overflow: ellipsis;
    display:inline-block;
}
table.table.table-responsive-sm.allegati > tbody > tr > td:nth-child(2) {
    flex:1;
}

table.table tbody tr:nth-of-type(odd) {
    background-color: unset;
}

.bachecaDocumento table.table.table-responsive-sm.allegati > tbody > tr {
    display: flex;
    float: left;
    margin-top: 0.5em;
}

/* Pillola allegato */
div.pillola-allegato {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: max-content;
    padding: 10px;
    background-color: rgb(237, 237, 237) !important;
    border-radius: 20px;
}

/* Gestion hover per righe gią evidenziate */

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.045) !important;
}

table.table tbody tr:hover:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.055) !important;
}

table.table.table-responsive-sm.allegati tbody tr:hover {
    background-color: initial !important;
}

table.table.table-nohover tbody tr:hover:nth-of-type(odd) {
    background-color: unset !important;
}

/* Body */

.content-body {
    padding: 20px;
}

@media only screen and (max-width: 767px) {
    .content-body {
        padding: 0;
    }

    section.content-body header.page-header {
        padding-left: 15px;
    }

    #videoTutorialAside {
        top: 174px;
    }
}

div.card-body {
    padding: 1rem;
}
/* ---- Bordi ---- */
html.dark .border {
    border: 1px solid #595d62 !important;
}
html.dark .btn.border {
    border: 1px solid #21262d !important;
}
/* ---- Toggle ---- */

html .toggle > label i.fas.fa-plus,
html .toggle > label i.fas.fa-minus {
    display: none;
}

html .toggle > label i {
    font-size: 1.2em !important;
}

html .toggle.active {
    /* border: 1px solid #ededed; */
    border-radius: 5px;
    background-color: #ededed;
    padding-bottom: 1px;
    overflow: hidden;
}
html.dark .toggle.active {
    background-color: #39414c;
}

html .toggle > label:before {
    border-top-color: #c2c3c7;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    margin-top: -2px;
    right: 16px;
}

html .toggle.active > label:before {
    border-top-color: transparent;
    border-bottom-color: #c2c3c7;
    border-left-color: transparent;
    border-right-color: transparent;
    margin-top: -8px;
    right: 16px;
}

html .toggle-quaternary .toggle.active > label {
    background-color: #ededed !important;
    border-color: #ededed;
    margin-bottom: 0;
    color: #777;
}

html.dark .toggle-quaternary .toggle.active > label {
    background-color: #39414c !important;
    border-color: #39414c;
    color: #808697;
}

html .toggle-quaternary .toggle > label {
    margin-bottom: 0;
}

html.dark .toggle-quaternary .toggle > label {
    border-left-color: #1d2127;
}

html .toggle > .toggle-content {
    background-color: #fff;
    border-radius: 5px;
    margin: 0 1px 0px;
    padding: 0 1em 1em;
    overflow: hidden;
}

    html .toggle > .toggle-content .toggle-footer {
        background-color: #fcfcfc;
        border-top: 1px solid #ededed;
        bottom: -1em;
    }

html.dark .toggle > .toggle-content .toggle-footer {
    border-top: 1px solid #39414c;
}

html .card-actions a,
html .card-actions
html .card-action {
    font-family: 'Icone-Soluzione' !important;
}
html .card-collapsed .card-action-toggle:before {
    content: "\e96b";
}
html .card-action-toggle:before {
    content: "\e96a";
}

/* Contenitore Colori (Decodifica giudizi) */

.container-Bg {
    width: 1.85rem;
    height: 1.85rem;
    display: inline-block;
    border-radius: 1.85rem;
    line-height: 1.85rem;
    margin: 0 auto;
    background-color: #777;
    color: white;
}

.container-Bg-competenza {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
}

.container-Bg-default {
    background-color: #777;
    color: white;
}

/* Assenze */

.oraAssenza {
    display: inline-block;
    text-align: center;
    color: #FFF !important;
    overflow: hidden;
    width: 24px;
    height: 24px;
    border-radius: 24px;
    margin-right: 2px;
}
.mag18:after {
    content: '+18';
    background-color: #47a447;
    color: #fff;
    font-weight: 700;
    font-size: 9px;
    padding-top: 2px;
    padding-right: 3px;
    padding-bottom: 0px;
    padding-left: 1px;
    border-radius: 2px;
    line-height: 0.95em;
    display: inline-block;
    margin-left: 5px;
    /*top: -1px;*/
    position: relative;
}

/* Registro di classe */

#registroGiornoDetail {
    display: block;
    float: left;
    margin: 8px;
}

#registroGiorno h1 {
    display: block;
    float: left;
    margin: 0;
    font-size: 58px;
    line-height: 58px;
    color: #bbb;
}

#registroGiorno h2 {
    font-size: 18px;
    line-height: 18px;
    margin: 0;
    padding: 0;
    color: #bbb;
}

#registroGiorno h3 {
    font-size: 14px;
    line-height: 14px;
    margin: 0;
    padding: 0;
}

#registroGiorno h5 {
    font-size: 11px;
    font-weight: normal;
    line-height: 11px;
    margin: 0;
    padding: 2px 0 0;
}

.registroOra strong {
    display: inline-block;
    font-size: 14px;
    color: #777;
}

.registroOra small {
    display: inline-block;
    padding: 2px 9px;
    margin: 5px 0;
    font-size: 11px;
    color: #777 !important;
}

.registroClasse {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: auto;
}
.registroClasseHeaderOra {
    background-color: rgb(239, 239, 239);
}
html.dark .registroClasseHeaderOra {
    background-color: rgb(33 38 45);
}

.registroAula {
    display: inline-block;
    font-size: 11px;
    color: #888 !important;
    text-overflow: ellipsis;
}

.registroAula > span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-radius: 4px;
    overflow: hidden;
}

.registroAula > span > span {
    display: block;
    width: 8px;
    height: 8px;
}

.registroModalita {
    color: #888 !important;
    display: inline-block;
    overflow: hidden;
    border-radius: 20px;
    height: 16px;
}

.registroModalita > div {
    display: inline-block;
    overflow: hidden;
    padding: 1px 8px 4px;
    font-size: 10px;
    line-height: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.registro-di-classe-legacy {
    line-height:1.2em;
}

.registro-di-classe-legacy .registroOra strong {
    font-weight: 900 !important;
}


.registro-di-classe-legacy .registroOra small {
    display: block;
    padding: 0;
    margin: 0;
    font-size: 10px;
}

.registro-di-classe-legacy .registroAula,
.registro-di-classe-legacy .registroModalita {
    display: block;
    width: fit-content;
    margin-top:2px;
}

.registro-di-classe-legacy .sol.so-sign {
    font-size: 1.5em;
}

.registro-di-classe-legacy .editAssenze,
.registro-di-classe-legacy .editCompiti .compiti-assegnati {
    white-space:nowrap;
}

.registro-di-classe-legacy .editArgomento p,
.registro-di-classe-legacy editAnnotazioni p {
    line-height:1.4em;
    margin-bottom:0;
}

.registro-di-classe-legacy .editArgomento,
.registro-di-classe-legacy .editAnnotazioni,
.registro-di-classe-legacy .editCompiti {
    min-width: 200px;
}

.editFirma.cursor-pointer {
    /*height: 100%;*/
}

.editFirma.pointerEdit {
    cursor:pointer;
}

div > span.labelMateria {
    font-weight: bold;
    color: #888;
}
div.labelMateria-sm > span.labelMateria {
    color: #6a6a6a;
}

#ContentPlaceHolder1_GridViewRegistroDiClasse div.barrato {
    opacity: 0.5;
}

div > span.labelMateria {
    position: relative;
    display: inline-block;
    height: 36px;
    line-height: 36px;
    padding: 0 14px 0 0;
    border-radius: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
    background-color: rgba(0,0,0,0.05);
}

div.labelMateria-sm > span.labelMateria {
    height: 28px;
    line-height: 28px;
    max-width: 180px;
}

div.barrato > span.labelMateria {
    text-decoration: line-through;
}

div > span.labelMateria > b {
    display: inline-block;
    width: 36px;
    height: 36px;
    vertical-align: top;
    margin-right: 6px;
    border-radius: 20px;
    background-color: rgba(0,0,0,0.15);
    overflow: hidden;
    white-space:nowrap;
}

div.labelMateria-sm > span.labelMateria > b {
    width: 28px;
    height: 28px;
}

div > span.labelMateria > b > b {
    display: block;
    width: 36px;
    height: 36px;
    text-align: center;
}

div.labelMateria-sm > span.labelMateria > b > b {
    width: 28px;
    height: 28px;
}

div > span.labelMateria > b > b > i {
    font-size: 24px !important;
    line-height: 36px;
    margin: 0;
}

div.labelMateria-sm > span.labelMateria > b > b > i {
    font-size: 18px !important;
    line-height: 28px;
}

/* Tabella per Edit e Insert */

.table-edit,
.table-insert {
    display: block;
    width: 100%;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

table.table-edit > tbody,
table.table-insert > tbody {
    display: table !important;
    width: 100%;
}

table.table-edit > tbody > tr,
table.table-insert > tbody > tr {
    border-top: 1px solid #f3f3f3;
}

table.table-edit > tbody > tr:first-child,
table.table-edit > tbody > tr.headerTable,
table.table-insert > tbody > tr:first-child,
table.table-insert > tbody > tr.headerTable {
    border-top: 0;
}

table.table-edit > tbody > tr > td:first-child,
table.table-insert > tbody > tr > td:first-child {
    padding-right: 20px;
    text-align: right;
    width: 30%;
}

table.table-edit > tbody > tr > td,
table.table-insert > tbody > tr > td {
    padding: 0.6em 0;
    text-align: initial;
    vertical-align: text-bottom;
    width: 70%;
}

table.table-edit-sm > tbody > tr > td {
    display: block;
    width: unset;
    margin: 5px 0;
}

table.table-edit-sm > tbody > tr > td:first-child {
    width: 100%;
    text-align: left;
}

@media only screen and (max-width: 767px) {

    table.table-edit:not(.table-edit-modal) > tbody > tr > td,
    table.table-insert > tbody > tr > td {
        display: block;
        width: unset;
        margin: 5px 0;
    }

    table.table-edit:not(.table-edit-modal) > tbody > tr > td:first-child,
    table.table-insert > tbody > tr > td:first-child {
        width: 100%;
        text-align: left;
    }

    .table-edit-modal > tbody > tr > td:first-child {
        vertical-align:middle;
    }
}

@media only screen and (max-width: 575px) {

    table.tableIframe.table-insert > tbody > tr > td,
    table.tableIframe.table-edit > tbody > tr > td {
        display: block;
        width: calc(100vw - 20px);
        margin: 5px 0;
    }

    table.tableIframe.table-insert > tbody > tr > td:first-child,
    table.tableIframe.table-edit > tbody > tr > td:first-child {
        width: 100%;
        text-align: left;
    }
}

@media screen and (max-width: 767px) and (min-width: 576px) {
    table.tableIframe.table-edit > tbody > tr > td,
    table.tableIframe.table-insert > tbody > tr > td {
        display: inline-block;
        padding: 0.6em 0;
        text-align: initial;
        vertical-align: text-bottom;
        width: 70%;
    }

    table.tableIframe.table-edit > tbody > tr > td:first-child,
    table.tableIframe.table-insert > tbody > tr > td:first-child {
        padding-right: 20px;
        text-align: right;
        width: 30%;
    }
}

/* --------- Postit ------------------------------------------------------------- */

.modulo #postit .postit {
    width: 305px;
    position: relative;
    left: auto;
    top: auto;
}

#postit .postit {
    display: none;
    width: 305px;
    font-family: 'Shadows Into Light Two', cursive;
}

#postit .postit .n {
    background-image: url(../Graphics/bg_postit_n.png);
    background-repeat: no-repeat;
    background-position: left top;
    width: 305px;
    height: 10px;
}

#postit .postit .c {
    background-image: url(../Graphics/bg_postit_c.png);
    background-repeat: repeat-y;
    background-position: left top;
    width: 305px;
}

#postit .postit .s {
    background-image: url(../Graphics/bg_postit_s.png);
    background-repeat: no-repeat;
    background-position: left top;
    width: 305px;
    height: 84px;
}

#postit .postit .s .chiudiPostit {
    margin: 43px 0 0 20px;
    cursor: pointer;
}

#postit .content {
    padding: 5px 30px 0 25px;
    font-size: 22px;
    text-align: center;
    font-weight: normal;
}

#postit .postit textarea {
    width: 245px;
    border: 0 none;
    background-color: transparent;
    font-size: 22px;
    text-align: center;
    overflow: hidden;
    resize: none;
}

.postitHiddenDiv {
    width: 245px;
    font-size: 22px;
    text-align: center;
    font-weight: normal;
    white-space: pre-wrap;
    word-wrap: break-word;
    min-height: 50px;
    position: relative;
    display: none;
}

.postitTip, .smsTip {
    background-image: url(../Graphics/bg_textTip.png);
    background-repeat: no-repeat;
    background-position: center 15px;
}

.buttonPostit {
    border-radius: 2px 2px 0 0;
    cursor: pointer;
    display: block;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 12px 9px;
    position: fixed;
    bottom: -8px;
    left: 100px;
    outline: none;
}

/* Alert */
html.dark .alert-warning {
    color: #bb9b3f;
    background-color: #fff3cd36;
    border-color: #ffeeba17;
}
html.dark .alert-warning p {
    color: #bb9b3f;
}

/* Grafica per rendere una div per il drop */

input[type="file"].fileUploadDrop {
    display: block;
    width: 100%;
    height: 100px;
    position: absolute;
    opacity: 0;
    z-index:9;
}
div.dropZone.dropZone-sm input[type="file"].fileUploadDrop {
    height: 50px;
}

div.dropZone {
    display: block;
    width: 100%;
    height: 100px;
    position: relative;
    border: 1px dashed #dadada;
    color: #777;
    border-radius: 5px;
}
div.dropZone.dropZone-sm {
    height: 50px;
}

html.dark div.dropZone {
    border: 1px solid #2e353e;
    color: #808697;
}

div.dropZone span {
    display: block;
    margin: 40px auto;
    text-align: center;
    font-size: 13px;
    padding: 0 10px;
    opacity:0.7;
}
div.dropZone.dropZone-sm span {
    margin: 12px auto;
}

img#LogoDropBox {
    width: 100px;
}

label[for*="CheckBoxListFileCheSarannoCaricati"] {
    max-width: 400px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: text-bottom;
}

/* Homepage linguetta annualitą */
#OldSolBox {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.6);
    left: -260px;
    position: absolute;
    top: 56%;
    margin: -100px 0px 0px;
    z-index: 90;
    -webkit-transition: left 1.8s;
    -moz-transition: left 1.8s;
    -o-transition: left 1.8s;
    transition: left 1.8s;
}

    #OldSolBox:hover {
        left: 0px;
        -webkit-transition: left 0.6s;
        -moz-transition: left 0.6s;
        -o-transition: left 0.6s;
        transition: left 0.6s;
    }

#OldSolLink {
    display: block;
    padding: 10px 20px 8px;
    color: #fff;
}

#OldSolText1 {
    display: inline-block;
    color: #fff;
    font-size: 22px;
    line-height: 25px;
}

    #OldSolText1 .logoHeavy,
    #OldSolText1 .logoThin {
        font-size: 38px;
    }

#OldSolText2 {
    display: inline-block;
    color: #fff;
    margin-left: 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    padding-left: 10px;
    font-size: 16px;
    line-height: 18px;
}

table#gridElencoAlunni tbody tr td {
    vertical-align: middle;
    padding-left: 0;
}
table#gridElencoAlunni tbody tr td .userPhotoHeader {
    margin-left:4px !important;
}
table#gridElencoAlunni tbody tr td .so-lg {
    font-size: 1.45em;
}
/* Elemento ManyToMany per Iphone */

.box_ManyToMany {
    width: 100% !important;
    height: 300px !important;
    border: #bbb solid 1px;
    border-radius: 5px;
    background-color: #FFF;
    overflow: auto;
    display: none;
}

.box_ManyToManyContent input {
    display: none;
}

.box_ManyToManyContent label {
    display: block;
    padding: 2px;
    margin: 0;
    font-size: 12px !important;
    color: #333 !important;
}

.box_ManyToManyContent input:checked + label {
    background-color: #999 !important;
    color: #fff !important;
}

/* filtri */

#contFiltri .toggle-content label {
    display: block;
}

/* scrollable */
.scrollable .scrollable-pane {
    opacity: 0.4 !important;
    transition: opacity 0.6s;
}

.scrollable:hover .scrollable-pane {
    opacity: 1.0 !important;
    transition: opacity 0.6s;
}

.scrollable .scrollable-pane {
    background-color: rgba(0,0,0,0.05);
}

.scrollable .scrollable-slider {
    background-color: #999;
}

/* Colori tabellone scrutinio */

.vc_5 {
    background-color: #b40000;
    color: #fff;
}

.vc_10 {
    background-color: #bd0000;
    color: #fff;
}

.vc_15 {
    background-color: #c40000;
    color: #fff;
}

.vc_20 {
    background-color: #d90000;
    color: #fff;
}

.vc_25 {
    background-color: #ec0000;
    color: #fff;
}

.vc_30 {
    background-color: #fb0000;
    color: #fff;
}

.vc_35 {
    background-color: #ff1100;
    color: #fff;
}

.vc_40 {
    background-color: #ff4f00;
    color: #fff;
}

.vc_45 {
    background-color: #ff8b00;
    color: #000;
}

.vc_50 {
    background-color: #ffb100;
    color: #000;
}

.vc_55 {
    background-color: #b8d50a;
    color: #000;
}

.vc_60 {
    background-color: #7dd50f;
    color: #000;
}

.vc_65 {
    background-color: #63c30d;
    color: #fff;
}

.vc_70 {
    background-color: #54b50b;
    color: #fff;
}

.vc_75 {
    background-color: #399605;
    color: #fff;
}

.vc_80 {
    background-color: #247b01;
    color: #fff;
}

.vc_85 {
    background-color: #176900;
    color: #fff;
}

.vc_90 {
    background-color: #166100;
    color: #fff;
}

.vc_95 {
    background-color: #155a00;
    color: #fff;
}

.vc_100 {
    background-color: #165400;
    color: #fff;
}

/*  Video-tutorial  */

#tableVideo tr td {
    cursor: pointer !important;
    vertical-align: top;
}

#tableVideo tr span.thumb-video {
    display: block;
    position: relative;
    width: 150px !important;
}

#tableVideo tr span.thumb-video img {
    width: 150px !important;
}

#tableVideo tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

#tableVideo tr span.thumb-video:before {
    content: '\f01d';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 87, 130, 0.64);
    color: #fff;
    font: normal normal normal 14px/1 FontAwesome;
    text-align: center;
    font-size: 3em;
    opacity: 0;
    line-height: 80px;
    /*text-shadow: 0 0 10px rgba(0,0,0,0.9);*/
    transition: opacity 0.6s;
}

#tableVideo tr:hover span.thumb-video:before {
    opacity: 1;
    transition: opacity 0.3s;
}

/* Messaggi */

#BoxMessaggiChat {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 200px);
}
@media only screen and (min-width: 768px) {
    #BoxMessaggiChat {
        max-height: calc(100vh - 210px);
    }
} 
#BoxMessaggiUtente .avatar,
#ListaUtentiMessaggi .avatar {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

#BoxMessaggiUtente .avatar,
#BoxMessaggiUtente .avatar > div,
#ListaUtentiMessaggi .avatar,
#ListaUtentiMessaggi .avatar > div {
    width: 48px;
    height: 48px;
    border-radius: 30px;
}

#BoxMessaggiUtente .avatar > div,
#ListaUtentiMessaggi .avatar > div {
    position: relative;
    background-color: gray;
    background-image: url(../Graphics/user-white-120.svg);
    background-size: cover;
    background-position: center;
}

#BoxMessaggiUtente .avatar > div > span.NonLetto,
#ListaUtentiMessaggi .avatar > div > span.NonLetto {
    background-color: #ff7100 !important;
}

#BoxMessaggiUtente .avatar > div > span,
#ListaUtentiMessaggi .avatar > div > span {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    color: #fff;
    font-weight: bold;
    font-size: 8px;
    padding: 0;
    border-radius: 12px;
    min-width: 16px;
    min-height: 16px;
    line-height: 16px;
    text-align: center;
    background-color: #0099e5;
}

#BoxMessaggiUtente .nominativoUtente,
#ListaUtentiMessaggi .nominativoUtente {
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
}

#BoxMessaggiUtente .ListaUtentiMessaggiTipologia,
#ListaUtentiMessaggi .ListaUtentiMessaggiTipologia {
    display: block;
    font-weight: normal;
    font-size: 10px;
    opacity: 0.7;
}

.ListaUtentiMessaggiNominativo {
    line-height:1.4em;
}

#BoxMessaggiUtente .ListaUtentiMessaggiTesto,
#ListaUtentiMessaggi .ListaUtentiMessaggiTesto {
    display: block;
    font-weight: normal;
    font-size: 10px;
    opacity: 0.7;
}

#BoxMessaggi {
    display: block;
    width: 100%;
    /*max-height: calc(100vh - 350px);*/
    border: solid 1px #eee;
    border-top: 0;
    border-radius: 0 0 5px 5px;
    padding: 0 24px 10px;
}

#BoxMessaggiUtente {
    padding: 5px;
    border: 1px solid #eee;
    border-radius: 5px 5px 0 0;
}

#BoxMessaggi .MessaggioData {
	font-weight: bold;
	text-align: center;
	clear: both;
	margin-bottom: 0.5em;
	padding-top: 2em;
}
#BoxMessaggi .MessaggioRAutore,
#BoxMessaggi .MessaggioRicevutoAutore {
	margin-bottom: 4px;
	opacity: 0.5;
	clear: both;
}
#BoxMessaggi .MessaggioIAutore,
#BoxMessaggi .MessaggioInviatoAutore {
	float: right;
	margin-bottom: 4px;
	opacity: 0.5;
	clear: both;
}
#BoxMessaggi .MessaggioTesto {
    padding: 1em 2.5em 1em 1.5em;
    margin-bottom: 0.5em;
    /*border-radius: 5px;*/
    max-width: 500px;
    min-width: 40%;
    clear: both;
    position: relative;
    width: 75%;
}
#BoxMessaggi .MessaggioTesto a {
	opacity: 0.8;
}
#BoxMessaggi .MessaggioTesto a:hover {
	opacity: 1.0;
}
#BoxMessaggi .MessaggioInviato {
	right: 0;
	float: right;
	clear: both;
}
#BoxMessaggi .MessaggioTesto:nth-child(2) {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
#BoxMessaggi .MessaggioTesto:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
#BoxMessaggi .MessaggioInviato:last-child:after {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left-color: inherit;
    border-right-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
    right: -14px;
    top: 26px;
    border-style: solid;
    border-left-width: 20px;
    border-right-width: 0;
    border-top-width: 12px;
    border-bottom-width: 12px;
}
#BoxMessaggi .MessaggioRicevuto:last-child:after {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left-color: transparent;
    border-right-color: inherit;
    border-top-color: transparent;
    border-bottom-color: transparent;
    left: -14px;
    top: 26px;
    border-style: solid;
    border-left-width: 0;
    border-right-width: 20px ;
    border-top-width: 12px;
    border-bottom-width: 12px;
}
#BoxMessaggi .MessaggioTesto .MessaggioTestoOrario {
    opacity: 0.6;
    font-size: 10px;
    margin-top: 4px;
    margin-right: -1.5em;
}

#BoxMessaggi .MessaggioDelete {
    position: absolute;
    top: 14px;
    right: 12px;
    padding: 0 5px;
    color: #eee;
    outline: none !important;
}

#FooterMessaggi {
	display:block;
    width: 100%;
    margin-top: 10px;
}
#FooterMessaggi #BoxAllegati {
	padding: 10px 0;
}
#BoxTextMessaggioInput {
    display: flex;
    align-items: center;
    /*max-height: 240px;
    overflow-y: scroll;
    margin: 0.5em 0.5em 0.5em 0;*/
}
#TextMessaggio {
	background-color: #fff;
	border: 1px solid #ddd;
	min-height: 32px;
	border-radius: 16px;
	margin-right: 1em;
	padding-left: 1em;
	padding-right: 0;
	width: 100%;
	overflow:hidden;
	align-items: center;
}
#TextMessaggio input[type="text"],
#TextMessaggio textarea {
    font-size: 12px !important;
	border: 0 none;
	vertical-align: middle;
    padding: 0;	
	margin:4px 0;
	width: 100%;
	outline: none;
	resize: none;
	/*overflow:hidden;*/
    max-height:25vh;
}
#TextMessaggio input[type="text"]:focus,
#TextMessaggio textarea:focus {
	border: 0 none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

#TextMessaggio input[type="text"]::placeholder,
#TextMessaggio textarea::placeholder { 
	color: #ccc;
	opacity: 1; /* Firefox */
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #ccc;
	opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #ccc;
}

::-ms-input-placeholder { /* Microsoft Edge */
	color: #ccc;
}

#FooterMessaggi #BoxTextMessaggioInput {
	width: 100%;
}
#FooterMessaggi #BoxMessaggioUpload {
    display: flex;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ecedf0;
    align-items: center;
    align-self: stretch;
}
#FooterMessaggi iframe#MessaggioUpload {
	width: 50px;
	height: 32px;
	border: 0 none;
    overflow: hidden;
}
#OpenFileUploadMessaggi {
    padding: 3px;
    text-align: center;
    cursor: pointer;
}

#BoxMessaggi .MessaggioAllegato,
#BoxAllegati .MessaggioFileInCaricamento {
    background-color: rgb(237, 237, 237) !important;
    border: 1px solid #dee2e6;
    padding: 0.4em 1em;
    border-radius: 30px !important;
    display: inline-block;
    margin-top: 0.2em;
    margin-right: 0.2em;
    color: #777;
}

#BoxMessaggi .MessaggioAllegato .MessaggioFileDelete,
#BoxAllegati .MessaggioFileInCaricamento .MessaggioFileInCaricamentoDelete {
    margin-left: 0.7rem;
    outline: none !important;
    font-size: 1rem;
    padding: 3px 0;
    color: inherit;
}

/* --------- Primary color ------------------------------------------------------ */
.sol-primary-color.color-hover-lt:hover,
.sol-primary-color-lt {
	color: #002c65 !important;
}
.sol-primary-color {
	color: #0080bf !important;
}
.sol-primary-color.color-hover-dk:hover,
.sol-primary-color-dk {
	color: #0061a0 !important;
}

.sol-primary-bg-color.color-hover-lt:hover,
.sol-primary-bg-color-lt {
	background-color: #002c65 !important;
	color: #fff;
}
.sol-primary-bg-color {
	background-color: #0080bf !important;
	color: #fff;
}
.sol-primary-bg-color a {
	color: #fff;
}
.sol-primary-bg-color.color-hover-dk:hover,
.sol-primary-bg-color-dk {
	background-color: #0061a0 !important;
	color:#fff;
}

.sol-primary-border-color {
	border-color: #0080bf !important;
}

/* Presenze doposcuola e mensa */

#CalendarioExtra1 table td span.nrGiorno,
#CalendarioExtra2 table td span.nrGiorno,
#CalendarioMensa table td span.nrGiorno {
    position: relative;
    display: block;
    height: 32px;
    width: 32px;
    border-radius: 50px;
    padding: 5px 0;
}

#CalendarioExtra1 table td span.tooltip-sign,
#CalendarioExtra2 table td span.tooltip-sign,
#CalendarioMensa table td span.tooltip-sign {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #0099e5;
    overflow: hidden;
    border-radius: 50%;
    display: block;
    padding: 0 !important;
    margin: 0px;
    right: 0px;
    bottom: 0px;
}
/* --------- Full calendar ------------------------------------------------------ */
.fc .fc-widget-header th {
    background-color: rgba(0,0,0,0.05);
    color: #08c;
}

.fc th, .fc td {
    /*border-width: 1px 0;*/
    border-right-color: rgba(128,128,128,0.075);
    border-left-color: rgba(128,128,128,0.075);
}

.fc-unthemed td.fc-today {
    /*background: rgba(0,136,204,0.8);*/
}

.fc .fc-left h2:before,
.fc .fc-toolbar h2:before {
    /*color: #CCC;*/
    content: "\e940";
    display: inline-block;
    font-family: 'Icone-Soluzione';
    font-size: 28.8px;
    font-size: 1.2rem;
    font-style: normal;
    line-height: inherit;
    margin-right: 10px;
    position: relative;
    top: 0;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
}

.fc .fc-day-grid .fc-widget-content.fc-axis > span {
    line-height: 1em !important;
    font-size: 0.8em !important;
    display: inline-block !important;
}
#Calendario.fc th, 
#Calendario.fc td {
    border-width: 1px 0;
}
#Calendario.fc.fc-ltr .fc-basic-view .fc-day-top .fc-day-number {
    float: unset; 
    display: block;
    text-align: center;
}

#Agenda.agenda-classe .fc-content-skeleton,
#Agenda.agenda-classe td.fc-day {
    cursor: pointer !important;
}

#Agenda .fc-day-grid-event .fc-content {
    white-space: normal !important;
}

#Agenda .fc-view-container .fc-content {
    height: 100% !important;
}

#Agenda button:focus {
    outline: none;
}

#Agenda .fc-header-toolbar .fc-right {
    margin-top: 0.5em;
}

/* --------- Layout classe ------------------------------------------------------ */
#BoxDisposizioneClasse {
    overflow: auto;
}
#ContentPlaceHolder1_ListViewDisposizioneClasse_itemPlaceholderContainer {
    position: relative;
    height: 100%;
}

.desk {
    position: relative;
    display: block;
    float: left;
    background-color: #F0F0F0;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.20);
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.20);
    -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.20);
    font-size: 11px;
    margin: 22px 8px 8px 0;
    cursor: move;
}

div.deskRandom {
    background-color: #e6e6e6;
}

.deskContent {
    position: relative;
    width: 135px;
    height: 65px;
    margin: 6px;
    cursor: move;
}

.deskContent div.datiAlunno {
    position: relative;
    display: block;
    overflow: hidden;
    top: 26px;
    line-height: 130%;
    white-space: nowrap;
    cursor: pointer;
    color: initial;
}

.deskContent .userPhotoBox_40 {
    position: absolute;
    top: -25px;
    display: block;
    float: left;
    padding: 4px 0;
    background-color: #F0F0F0;
    border-radius: 50px;
    -webkit-border-radius: 50px;
}

.userPhotoBox_40 {
    display: block;
    float: left;
    padding: 4px 0;
    background-color: #F0F0F0;
    border-radius: 50px;
    -webkit-border-radius: 50px;
}

.userPhoto_40 {
    display: block;
    height: 40px;
    width: 40px;
    margin: 0 4px;
    background: url('../Img/user-white.svg') no-repeat center;
    background-color: gray;
    text-align: center;
    background-size: cover;
    border-radius: 50px;
    -webkit-border-radius: 50px;
}

.userPhotoImg_40 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50px;
}

#photoBigScutinioBox {
    position: relative;
}

#photoBigScutinioBox:hover #photoBigScutinio {
    opacity: 1;
    transform: scale(1);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

#photoBigScutinio {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    transform: scale(0.5);
    transform-origin: left top;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

/* Periodi */

.periodo {
    position: absolute;
    left: 0;
    top: 0;
    height: 20px;
    width: 1px;
    border-radius: 5px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* --------- Ribbon ------------------------------------------------------------- */
.ribbon-container {
    position: relative;
    overflow: hidden;
}
.ribbon-strip {
    background-color: #b00;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    right: -40px;
    top: 15px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-box-shadow: 0 0 5px #888;
    -moz-box-shadow: 0 0 5px #888;
    box-shadow: 0 0 5px #888;
}
.ribbon-strip a {
    color: #fff;
    display: block;
    margin: 1px 0;
    padding: 4px 50px;
    text-align: center;
    text-decoration: none;
}

/* Button riporta-dato (es. scrutinio) */

a.riportaDato {
    display: inline-block;
    width: 32px;
    height: 32px;
    text-align: center;
    margin: 0;
    margin-right: 5px;
    padding: 5px;
    border: 1px solid #c5c8cc;
    border-radius: 50px;
    cursor: pointer;
}

a.riportaDato:hover {
    opacity: 0.5;
}

/* checkbox input custom */
#contFiltri .checkbox-custom label,
.checkbox-custom label {
    display: inline-block;
}

/* Radio input custom (es. scrutinio) */
.radio-item-toolbar {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.radio-item-toolbar > .radio-item:first-child > label {
    border-left: 1px solid #bfbfbf;
    border-radius: 5px 0 0 5px;
}

.radio-item-toolbar > .radio-item:last-child > label {
    border-radius: 0 5px 5px 0;
}

.radio-item {
    position: relative;
    display: inline-flex;
}

.radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.radio-item label {
    display: inline-block;
    margin: 0;
    background-color: #ffffff;
    padding: 4px 11px;
    border: 1px solid #bfbfbf;
    border-left: 0;
}

.radio-item input[type="radio"]:checked + label {
    background-color: #bbb;
}

/* Select personalizzati iOS */

.select-ios {
    position: relative;
    background-image: 
        linear-gradient(45deg, transparent 50%, gray 50%), 
        linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: 
        calc(100% - 20px) calc(50% - 1px), 
        calc(100% - 15px) calc(50% - 1px);
    background-size: 
        5px 5px, 
        5px 5px;
    background-repeat: no-repeat;
    -webkit-appearance: none !important;
}

/* Select2 */

.select2-dropdown li:empty:before {
    content: 'nessuno';
    opacity: 0.75;
}
.select2-container .container-Bg {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 1.5rem;
    line-height: 1.5rem;
}
li.select2-results__option:after {
    content: "\00a0";
}
.select2-container {
    /*display: inline-block !important;*/
}
.select2-container .select2-selection--single .select2-selection__rendered {
    left: 0.75rem;
    right: 1.75rem;
    position: absolute;
}

/* Select multiple tramite ListBox */

select[size], select[id*="ListBox"] {
    background-image: none;
}

/* Status */

.inactive {
    position: relative;
}
.inactive:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9;
}
.disabled {
    opacity: .50;
    filter: alpha(opacity=50);
    cursor: default !important;
}

/* custom scrollbar */

/* width */
.scrollable-custom::-webkit-scrollbar, .scrollable-small::-webkit-scrollbar, .modal-content-custom .modal-body::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: transparent;
}

/* Track */
.scrollable-custom::-webkit-scrollbar-track, .scrollable-small::-webkit-scrollbar-track, .modal-content-custom .modal-body::-webkit-scrollbar-track {
    background-color: transparent;
}

.scrollable-custom::-webkit-scrollbar-corner, .scrollable-small::-webkit-scrollbar-corner, .modal-content-custom .modal-body::-webkit-scrollbar-corner {
    background-color: transparent;
}

.scrollable-custom::-webkit-scrollbar-button, .scrollable-small::-webkit-scrollbar-button, .modal-content-custom .modal-body::-webkit-scrollbar-button {
    width: 2px;
    height: 2px;
}
html.dark.no-overflowscrolling .nano > .nano-pane > .nano-slider {
    background: #51535d;
}

/* Modal */
html.dark .modal-dialog .bg-quaternary, html.dark .modal-dialog .background-color-quaternary {
    background-color: #363d48 !important;
}

html.dark .modal-dialog .bg-quaternary .close {
    text-shadow: 0 1px 0 #000;
}

body.modal-open {
    padding-right: 0 !important;
}

/* Handle */
.scrollable-custom::-webkit-scrollbar-thumb:horizontal, .scrollable-small::-webkit-scrollbar-thumb:horizontal, .modal-content-custom .modal-body::-webkit-scrollbar-thumb:horizontal {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(100,100,100,0.2) 30%, rgba(100,100,100,0.2) 70%, rgba(0,0,0,0) 70%);
    transition: background 1.6s;
    -webkit-transition: background 1.6s;
}

.scrollable-custom::-webkit-scrollbar-thumb:vertical, .scrollable-small::-webkit-scrollbar-thumb:vertical, .modal-content-custom .modal-body::-webkit-scrollbar-thumb:vertical {
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(100,100,100,0.2) 30%, rgba(100,100,100,0.2) 70%, rgba(0,0,0,0) 70%);
    transition: background 1.6s;
    -webkit-transition: background 1.6s;
}

/* Handle on hover */
.scrollable-custom::-webkit-scrollbar-thumb:horizontal:hover, .scrollable-small::-webkit-scrollbar-thumb:horizontal:hover, .modal-content-custom .modal-body::-webkit-scrollbar-thumb:horizontal:hover {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(100,100,100,0.6) 30%, rgba(100,100,100,0.6) 70%, rgba(0,0,0,0) 70%);
    transition: background 1.6s;
    -webkit-transition: background 1.6s;
}

.scrollable-custom::-webkit-scrollbar-thumb:vertical:hover, .scrollable-small::-webkit-scrollbar-thumb:vertical:hover, .modal-content-custom .modal-body::-webkit-scrollbar-thumb:vertical:hover {
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(100,100,100,0.6) 30%, rgba(100,100,100,0.6) 70%, rgba(0,0,0,0) 70%);
    transition: background 1.6s;
    -webkit-transition: background 1.6s;
}

/* Tabs custom */
.tabs {
    margin-bottom:-1px;
}
.tabs > .nav.nav-tabs,
.tabs > .tab-content {
    max-width: 90vw;
}
.nav-tabs-horizontal {
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow: auto hidden;
}
li.nav-item {
    position:relative;
}
li.nav-item.new a:after {
    content: 'new';
    padding: 0px 5px 2px !important;
    background-color: #b00;
    color: #fff;
    font-weight: 700;
    border-radius: 60px;
    align-self: center;
    margin-right: 14px;
    letter-spacing: -0.05em;
    font-size: 0.8em;
    line-height: 1.6em;
    position: absolute;
    right: 0;
}

/* Summereditor custom */
div.note-editor {
    max-width: 90vw;
    white-space:normal;
}
div.note-editor > div.note-toolbar {
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}
div.note-editor .note-editable,
div.note-editor .note-editable p {
    line-height: 1.5em !important;
}
div.note-editor .note-editable p {
    margin-bottom: 0px;
}


/* Alert custom */
.alert > div.align-top > p {
    white-space: normal;
}

.modal-content-custom {
    max-height: 80vh;
    overflow: auto;
}

.modal-content-custom .modal-body:not(.overflow-hidden) {
    overflow: auto !important;
}

/* form-control */
.form-control-md {
    height: calc(1.5em + 0.5rem + 2px );
    padding: 0.44rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    min-height:2.4em !important;
}
.col-form-label {
    display:block;
}
textarea.form-control:not(.form-control-sm):not(.form-control-lg) {
    line-height: 1.5;
}

/* Wizard */
.form-wizard .card-header {
    display: flex;
    align-items: center;
}
.form-wizard .card-actions {
    top:unset;
}
.form-wizard .wizard-passaggi-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    align-items: center;
    width: 200px;
}
.form-wizard ul.pager a.bg-primary:hover,
.form-wizard ul.pager a.bg-primary:focus {
    background-color: #00a1f2 !important;
    border-color: #00aaff #00aaff #0088cc !important;
    color: #FFF !important;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
}
.page-header h2 {
    white-space: nowrap;
}
.page-header .right-wrapper {
    width: auto;
    min-width: 0;
    overflow: hidden;
    flex: 1;
    align-items: center;
    display: flex;
    justify-content: flex-end;
}
.page-header .right-wrapper ol.breadcrumbs {
    display: flex;
    flex-flow: nowrap;
    align-items: center;
    align-content: stretch;
    min-width: 0;
}
.page-header ol.breadcrumbs li {
    display: flex;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    align-self: center;
    align-items: center;
}
.page-header ol.breadcrumbs li span {
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    min-width: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.page-header .sol.so-home-alt {
    font-size: 1.3em;
    vertical-align: text-bottom;
    opacity: 0.6;
}
.page-header .breadcrumbs li:after {
    content: "\e904";
    font-family: 'Icone-Soluzione' !important;
    font-size: 0.7rem;
}

/* Firme */
.hash-firma {
    /*font-family: monospace;*/
    display: inline-block;
    width: max-content;
    border-radius: 50px;
    padding: 0 1em;
    background-color: rgb(40 167 69 / 10%);
}

/* Badge 'universale' */
.badge-bull {
    position: absolute;
    right: -2px;
    top: -5px;
    color: #fff;
    font-size: 9px;
    font-weight: 400;
    min-width: 12px;
    height: 12px;
    max-height: 16px;
    padding: 2px 5px;
    border-radius: 12px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background: #0099e5;
}
.badge-custom {
    position: absolute;
    left: 50% !important;
    top: -6px;
    color: #fff;
    font-size: 9px;
    font-weight: 400;
    min-width: 15px;
    height: 15px;
    max-height: 15px;
    padding: 0px 4px;
    border-radius: 15px;
    line-height: 15px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background: #0099e5;
    margin-left: 4px;
}

/* widget */
#widget-plan-noactivity {
    width: 100px;
    height: 100px;
    position: relative;
    background-image: url(../img/widget-plan-background.png);
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: block;
    margin-top: 20px;
}

.widget-plan-noactivity-shadow {
    background-image: url(../img/widget-plan-shadow.png);
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    animation: T-animation-2 1s ease-in-out infinite alternate;
    position: absolute;
    left: 5%;
    top: -4%;
}

.widget-plan-noactivity-animate {
    width: 90%;
    height: 90%;
    /* border: 1px #000 solid; */
    /* background-color: rgba(255,245,0,0.5); */
    line-height: 200px;
    text-align: center;
    /* transform: rotateY(6deg) rotateZ(7deg); */
    /* transform: skew(6deg); */
    transform-origin: top center;
    animation: T-animation 1s ease-in-out infinite alternate;
    background-image: url(../img/widget-plan-user.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -4%;
}

@keyframes T-animation {
    0% {
        transform: rotateY(-2deg) rotateZ(-2deg) skew(2deg);
    }

    100% {
        transform: rotateY(2deg) rotateZ(2deg) skew(-2deg);
    }
}

@keyframes T-animation-2 {
    0% {
        transform: translateX(10px);
    }

    100% {
        transform: translateX(-10px);
    }
}

/* modal bootstrap  */
.modal-backdrop {
    width: 100%;
    height: 100%;
}