@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
/*@import url(https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css);*/


.my-reconnect-modal {
    position: fixed;
    bottom: 0.2em;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #552222 !important;
    width: 80%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3em;
    text-align: center;
    height: 3em;
    padding: 0;
    padding-top: 0.7em;
    display: flex;
    vertical-align: middle;
    border-radius: 10px;
    border-color: white;
    border-width: 1px;
    border-style: solid;
    box-shadow: 0 0 15px gray;
}

div.my-reconnect-modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}

div.my-reconnect-modal > * {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .show {
    display: block !important;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-failed > .failed {
    display: block !important;
}

.components-reconnect-rejected > div {
    display: none;
}

.components-reconnect-rejected > .rejected {
    display: block !important;
}

body.modal-open {
    overflow: hidden; /* Impedisce lo scorrimento della pagina quando il blocco è visibile */
}


html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    margin: 0;
    font-size: 12px;
}

.mainarea {
    background-image: url('/images/bkgimage-dark.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.magicmirror {
    background-color: black;
}

/*body {*/
/*background-image: url('/images/bkgimage-dark.jpg');*/
/*}*/

img {
    width: 100%;
    height: 100%;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem orange;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #62c462;
    ;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

input.form-control {
    height: 2.2em !important;
}

select.form-control {
    height: 2.2em;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

button.form-control {
    height: 1.50em;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

button.btn-close {
    color: white;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC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rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


.logoimage {
    height: min(50vw, 30vh);
    min-height: 50px;
    max-height: 300px;
    width: min(50vw, 30vh);
    min-width: 50px;
    max-width: 300px;
}

.g-recaptcha {
    display: inline-block;
    filter: invert(0.85) hue-rotate(180deg);
}

.roundedvideo {
    border-color: rgba(255, 255, 255, 0.75);
    border-radius: 17.5px;
    border-style: solid;
    border-width: 1px;
    background-color: rgba(20, 20, 20, 0.70);
    box-shadow: 0 0 15px gray;
    padding: 1em;
}

/*Glow*/
.roundeddiv {
    border-color: rgba(255, 255, 255, 0.75);
    border-radius: 17.5px;
    border-style: solid;
    border-width: 1px;
    background-color: rgba(20, 20, 20, 0.70);
    box-shadow: 0 0 15px gray;
    width: 100% !important;
    padding: 1em;
    max-height: calc(100vh - 10em);
    flex-direction: column;
    display: flex;
}

    .roundeddiv > :first-child {
        overflow-y: auto;
    }

    .roundeddiv.keeppadding {
        padding: 2em;
    }

    .roundeddiv.advice {
        height: 20em;
        width: 25em !important;
    }

    .roundeddiv.formsize {
        max-width: 80em;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

.div-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.div-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


@media (max-width: 575px) {
    html {
        /*font-size: 10px;*/
    }

    .roundeddiv.smallsize {
        max-width: 540px;
    }

    .div-center.panel {
        min-width: 90%;
        top: 32em;
    }
}

@media (min-width: 576px) {
    html {
        /*font-size: 10px;*/
    }

    .roundeddiv.smallsize {
        max-width: 540px;
    }

    .div-center.panel {
        min-width: 60%;
        /*top: 38em;*/
    }
}

@media (min-width: 768px) {

    .roundeddiv.smallsize {
        max-width: 720px;
    }

    .div-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

        .div-center.panel {
            min-width: 50%;
        }
}

@media (min-width: 992px) {
    .roundeddiv.smallsize {
        max-width: 40em;
    }

    .roundeddiv.mediumsize {
        max-width: 60em;
    }

    .div-center.panel {
        min-width: 40%;
    }
}

@media (min-width: 1200px) {
    .roundeddiv.smallsize {
        max-width: 40em;
    }

    .roundeddiv.mediumsize {
        max-width: 60em;
    }

    .div-center.panel {
        min-width: 35%;
    }
}

@media (min-width: 1400px) {

    .roundeddiv.smallsize {
        max-width: 40em;
    }

    .roundeddiv.mediumsize {
        max-width: 60em;
    }



    .div-center.panel {
        min-width: 30%;
    }
}

.t-border {
    border-color: rgba(255, 255, 255, 0.75);
    border-radius: 8.5px;
    border-style: solid;
    border-width: 1px;
}

.roundedbutton {
    border-color: rgba(255, 255, 255, 0.75);
    border-radius: 17.5px;
    border-style: solid;
    border-width: 1px;
    background-color: rgba(100, 100, 100, 0.50);
    padding: 10px;
    min-width: 9em;
    font-size: large;
}

.roundedbutton-menu {
    border-color: rgba(255, 255, 255, 0.75);
    border-radius: 8.5px;
    border-style: solid;
    border-width: 1px;
    background-color: rgba(100, 100, 100, 0.50);
    padding: 0.5em !important;
    min-width: 8em;
    height: 3em;
}

.roundedbutton-command {
    border-color: rgba(255, 255, 255, 0.75);
    border-radius: 17.5px;
    border-style: solid;
    border-width: 1px;
    background-color: rgba(100, 100, 100, 0.50);
    padding: auto;
    font-size: large;
    height: 100%;
    width: 100%;
    min-width: 4em;
}

.roundedbutton-menu.button-toggled {
    background-color: rgba(200, 200, 100, 0.50);
}

.roundedbutton-light {
    border-color: rgba(255, 255, 255, 0.75);
    border-radius: 8.5px;
    border-style: solid;
    border-width: 1px;
    background-color: rgba(100, 100, 100, 0.50);
    padding: 0.3em;
    margin: 0;
}

.roundedbutton-nosize {
    border-color: rgba(255, 255, 255, 0.75);
    border-radius: 17.5px;
    border-style: solid;
    border-width: 1px;
    background-color: rgba(100, 100, 100, 0.50);
    font-size: large;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 !important;
    line-height: 0.8em;
    padding: 0.5em !important;
}



.sort-by {
    all: unset;
    cursor: pointer;
}

    .sort-by:hover {
        color: yellow;
        cursor: pointer;
    }

.sort,
.sort-desc {
    all: unset;
    color: Orange;
    cursor: pointer;
}

    .sort:hover,
    .sort-desc:hover {
        color: Orange;
        cursor: pointer;
    }

input[type=number] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
input:-internal-autofill-selected {
    -webkit-text-fill-color: #000;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0%), inset 0 0 0 100px #fff;
}

.input-text {
    border-color: rgba(255, 255, 255, 0.75);
    border-radius: 17.5px;
    border-style: solid;
    border-width: 1px;
    background-color: white !important;
    color: black !important;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 0 15px gray;
    height: 3em;
    font-size: large;
}



.glow {
    color: rgb(255, 255, 255);
    transition: .5s;
}

    .glow:before {
        background: orange;
        transition: .5s;
        transform: scale(.9);
        z-index: -1;
    }

    .glow:hover:before {
        transform: scale(1.2);
        box-shadow: 0 0 15px orange;
        filter: blur(3px);
    }

    .glow:hover {
        color: orange;
        background-color: rgba(100, 100, 100,1);
        box-shadow: 0 0 15px orange;
        text-shadow: 0 0 15px orange;
    }

    .glow.active {
        color: orange;
        background-color: rgba(150, 150, 150,1);
    }

.antiglow {
    color: rgb(255, 255, 255);
}

.antiglow:before {
    background: orange;
    z-index: -1;
}

.antiglow:active {
    color: orange;
    background-color: rgba(150, 150, 150,1);
}

/* Nav */


/*@import url(https://fonts.googleapis.com/css?family=Titillium+Web:300);*/

.fa-2x {
    font-size: 2em;
}

.fa-solid {
    position: relative;
    display: table-cell;
    margin-right: 0.3em;
    margin-left: 0.3em;
    text-align: center;
    vertical-align: middle;
    align-content: center;
}

.list-icon {
    margin: 0.4em !important;
    font-size: larger;
}

td {
    vertical-align: middle !important;
    padding-bottom: 1px !important;
    padding-top: 1px !important;
}

    td:before {
        color: #FFFFCC;
    }

th {
    color: #FFFFCC;
}



.form-label {
    margin-bottom: unset;
}

.main-menu {
    width: 100%;
}

    .main-menu > ul {
        margin: 7px 0;
    }

    .main-menu li {
        position: relative;
        display: block;
        width: 100%;
    }

        .main-menu li > a {
            position: relative;
            display: table;
            border-collapse: collapse;
            border-spacing: 0;
            color: #999;
            font-family: arial;
            font-size: 1.5em;
            text-decoration: none;
            -webkit-transform: translateZ(0) scale(1,1);
            -webkit-transition: all .1s linear;
            transition: all .1s linear;
            width: 100%;
            margin-bottom: 0.5em;
        }

            .main-menu li > a > i {
                width: 1.5em;
            }



    /*.main-menu .nav-icon {
    position: relative;
    display: table-cell;*/
    /*width: 100em;*/
    /*height: 500px;*/
    /*text-align: center;
    vertical-align: middle;
    font-size: 50px;
}*/
    .main-menu .nav-text {
        position: relative;
        display: table-cell;
        vertical-align: middle;
        width: 590px;
    }

/*-----------------------*/

.no-touch .scrollable.hover {
    overflow-y: hidden;
}

    .no-touch .scrollable.hover:hover {
        overflow-y: auto;
        overflow: visible;
    }

a:hover, a:focus {
    text-decoration: none;
}

nav {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

    nav ul, nav li {
        outline: 0;
        margin: 0;
        padding: 0;
    }

    .main-menu li:hover > a, nav.main-menu li.active > a, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus, .no-touch .dashboard-page nav.dashboard-menu ul li:hover a, .dashboard-page nav.dashboard-menu ul li.active a {
        color: #fff;
        background-color: #5fa2db;
    }

.area {
    float: left;
    background: #e2e2e2;
    width: 100%;
    height: 100%;
}


@font-face {
    font-family: 'Atkinson Hyperlegible';
    src: url('/fonts/Atkinson-Hyperlegible-Regular-102.ttf');
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'Atkinson Hyperlegible';
    src: url('/fonts/Atkinson-Hyperlegible-Bold-102.ttf');
    font-style: normal;
    font-weight: bold;
}

@font-face {
    font-family: 'Atkinson Hyperlegible';
    src: url('/fonts/Atkinson-Hyperlegible-Italic-102.ttf');
    font-style: italic;
    font-weight: normal;
}

@font-face {
    font-family: 'Atkinson Hyperlegible';
    src: url('/fonts/Atkinson-Hyperlegible-BoldItalic-102.ttf');
    font-style: italic;
    font-weight: bold;
}


.c-alert {
    border-color: rgba(255, 255, 255, 0.75);
    border-radius: 17.5px;
    border-style: solid;
    border-width: 1px;
    margin: 2%;
    width: 96%;
    border: 3px dotted rgba(255, 255, 255,0.1);
    padding: 10px;
}

.c-alert {
    background-color: rgba(255, 0, 0,0.2);
}

.c-warning {
    background-color: rgba(255, 255, 0,0.2);
}

.c-info {
    background-color: rgba(255, 255, 255,0.2);
}


.magicMirrorLayout {
    background-image: none !important;
}

.modal-header {
    font-size: medium;
}

.magicmirror {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    user-select: none;
}

/*** DEBUG ***/
/*.row {
    border: 1px solid red;
    border-style: dashed;
}

[class^='col-'], .col {
    border: 1px solid blue;
    border-style: dotted;
}*/
/***/



