.zindex-10 {
    z-index: 10;
}

.bold-text {
    font-weight: bold !important;
}

.float-right {
    float: right !important;
}

.full-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999;
}

.display-block {
    display: block;
}

.display-none {
    display: none;
}

.display-none-important {
    display: none !important;
}

.inline-block {
    display: inline-block;
}

.inline {
    display: inline;
}

.inline-flex {
    display: inline-flex !important;
}

.pointer {
    cursor: pointer;
}

.bg-cyan {
    background-color: #1ba1e2 !important; /* ciano */
}

.opacity-0 {
    opacity: 0 !important;
}

.opacity-1 {
    opacity: 1;
}

.omt-default-axis {
    border-color: #C2320E !important /* rosso */
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.overflow-y-auto {
    overflow-y: auto;
}

.overflow-y-hidden {
    overflow-y: hidden;
}

.overflow-y-70vh {
    height: 70vh;
    overflow-x: hidden;
    overflow-y: visible;
}

.rows-divider {
    margin-top: 4px !important;
    margin-bottom: 4px
}

.rows-divider2 {
    margin-top: 8px !important;
    margin-bottom: 8px
}

.rows-divider3 {
    margin-top: 24px !important;
    margin-bottom: 24px
}

.mywrapper {
    height: calc(100% - 52px);
}

div.mandatory {
    display: inline;
    cursor: pointer;
    position: relative;
    right: 0px !important;
}

.control-label {
    font-weight: 600; /* semi-bold */
}

.margin-4 {
    margin: 4px !important;
}

.margin-8 {
    margin: 8px !important;
}

.margin-16 {
    margin: 16px !important;
}

.margin-32 {
    margin: 32px !important;
}

.margin-bottom-4 {
    margin-bottom: 4px !important;
}

.margin-bottom-8 {
    margin-bottom: 8px !important;
}

.margin-bottom-12 {
    margin-bottom: 12px !important;
}

.margin-horizontal-2 {
    margin-left: 2px !important;
    margin-right: 2px !important;
}

.margin-horizontal-4 {
    margin-left: 4px !important;
    margin-right: 4px !important;
}

.margin-horizontal-8 {
    margin-left: 8px !important;
    margin-right: 8px !important;
}

.margin-horizontal-16 {
    margin-left: 16px !important;
    margin-right: 16px !important;
}

.margin-horizontal-32 {
    margin-left: 32px !important;
    margin-right: 32px !important;
}

.margin-horizontal-48 {
    margin-left: 48px !important;
    margin-right: 48px !important;
}

.margin-left-4 {
    margin-left: 4px !important;
}

.margin-left-8 {
    margin-left: 8px !important;
}

.margin-left-12 {
    margin-left: 12px !important;
}

.margin-left-16 {
    margin-left: 16px !important;
}

.margin-left-20 {
    margin-left: 20px !important;
}

.margin-left-24 {
    margin-left: 24px !important;
}

.margin-left-48 {
    margin-left: 48px !important;
}

.margin-right-4 {
    margin-right: 4px !important;
}

.margin-right-8 {
    margin-right: 8px !important;
}

.margin-right-16 {
    margin-right: 16px !important;
}

.margin-right-32 {
    margin-right: 32px !important;
}

.margin-right-500 {
    margin-right: 500px !important;
}

.margin-top-4 {
    margin-top: 4px !important;
}

.margin-top-5 {
    margin-top: 5px !important;
}

.margin-top-6 {
    margin-top: 6px !important;
}

.margin-top--8 {
    margin-top: -8px !important;
}

.margin-top-8 {
    margin-top: 8px !important;
}

.margin-top-16 {
    margin-top: 16px !important;
}

.margin-top-16-important {
    margin-top: 16px !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

.margin-top-24 {
    margin-top: 24px !important;
}

.margin-top-32 {
    margin-top: 32px !important;
}

.margin-top-48 {
    margin-top: 48px !important;
}

.margin-top--20 {
    margin-top: -20px !important;
}

.margin-vertical-4 {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}

.margin-vertical-8 {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

.margin-vertical-16 {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
}

.margin-vertical-24 {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

.padding-8 {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.padding-16 {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.padding-bottom-4 {
    padding-bottom: 4px !important;
}

.padding-bottom-8 {
    padding-bottom: 8px !important;
}

.padding-horizontal-4 {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.padding-horizontal-16 {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.padding-top-16 {
    padding-top: 16px !important;
}

.padding-vertical-4 {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.padding-vertical-8 {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.padding-vertical-16 {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.text-align-center {
    text-align: center;
}

.width-48 {
    width: 48px !important;
}

.width-200 {
    width: 200px !important;
}

.white-fg {
    color: white;
}

.z-index-2000 {
    z-index: 2000 !important;
}

/* ################################################################################ */
/* FROM BOOTSTRAP */
/* ################################################################################ */
.text-danger {
    color: #dc3545 !important;
}

.center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* ################################################################################ */
/* IMAGES */
/* ################################################################################ */
.center-image-vertically {
    margin-top: auto;
    margin-bottom: auto;
}

.roundedimage {
    display: flex !important;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    border-radius: 50%;
    border: solid 1px black;
}

.roundedimage-little {
    width: 128px !important;
    height: 128px !important;
}

.roundedimage-middle {
    width: 192px !important;
    height: 192px !important;
}

.roundedimage-big {
    width: 256px !important;
    height: 256px !important;
}

@media (max-width: 768px) {
    .roundedimage {
        width: 128px !important;
        height: 128px !important;
    }

    .roundedimage-big {
        width: 128px !important;
        height: 128px !important;
    }
}

/* ################################################################################ */
/* CONTROLS */
/* ################################################################################ */
.centered-form-control {
    display: flex !important;
    margin-left: auto;
    margin-right: auto;
}

.form-group-with-rounded-white-border {
    border: 1px solid white;
    border-radius: 5px !important;
    padding: 8px !important;
    width: 75%;
    display: flex !important;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .form-group-with-rounded-white-border {
        width: 90%;
    }
}


.form-label {
    font-size: 20px !important;
    font-weight: bold;
}

/* ################################################################################ */
/* BORDERS */
/* ################################################################################ */
.border-cyan {
    border-color: #1ba1e2 !important; /* ciano */
}

.border-bottom {
    border-bottom: 1px solid #1ba1e2 !important; /* ciano */
}

.border-left {
    border-left: 1px solid #1ba1e2 !important; /* ciano */
}

.border-right {
    border-right: 1px solid #1ba1e2 !important; /* ciano */
}

.border-top {
    border-top: 1px solid #1ba1e2 !important; /* ciano */
}

.border-tab {
    border-right: 1px solid #1ba1e2 !important; /* ciano */
    border-top: none !important;
}

@media (max-width: 576px) {
    .border-tab {
        border-right: none !important;
        border-top: 1px solid #1ba1e2 !important; /* ciano */
    }
}

/* ################################################################################ */
/* INTRO  */
/* ################################################################################ */
.page-cover {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px !important;
    left: 0px !important;
    background-color: black;
}

.intro-logo {
    width: 400px !important;
    height: 400px !important;
}

@media (max-width: 576px) {
    .intro-logo {
        width: 200px !important;
        height: 200px !important;
    }
}

/* ################################################################################ */
/* HIDE SCROLLBAR  */
/* ################################################################################ */
/* Per nascondere la scrollbar ma mantenere lo scroll */
.hide-scrollbar {
    overflow: scroll; /* o auto */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

    .hide-scrollbar::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }

/* ################################################################################ */
/* SWITCH  */
/* ################################################################################ */
.switch-cyan .check::after {
    background: #0a87c1 !important;
    border-color: #0a87c1 !important;
}

.switch-cyan input[type="checkbox"]:checked ~ .check {
    background: #ffffff !important;
}

    .switch-cyan input[type="checkbox"]:checked ~ .check::after {
        border-color: #0a87c1 !important;
    }


.bg-dark-red {
    background-color: #8d0202 !important;
}

.bg-logo {
    background-color: #d60505 !important;
}
.cookie-consent-banner {
    width: 40%;
    height: 40%;
    padding: 8px;
    background-color: #8d0202 !important;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    border: 2px white solid;
}

/* iPad Pro */
@media screen and (max-width: 1024px) {
    .cookie-consent-banner {
        width: 50%;
        height: 30%;
    }
}

/* Nest Hub */
@media screen and (max-width: 1024px) and (max-height: 600px) {
    .cookie-consent-banner {
        width: 60%;
        height: 55%;
    }
}

/* iPad Air/Mini */
@media screen and (max-width: 820px) {
    .cookie-consent-banner {
        width: 100%;
        height: 30%;
    }
}

/* Surface Duo */
@media screen and (max-width: 540px) {
    .cookie-consent-banner {
        width: 100%;
        height: 60%;
    }
}

/* phones */
@media screen and (max-width: 480px) {
    .cookie-consent-banner {
        width: 100%;
        height: 50%;
    }
}

/* phones-2 */
@media screen and (max-width: 380px) {
    .cookie-consent-banner {
        width: 100%;
        height: 70%;
    }
}

.cookie-title {
    font-size: 20px;
    font-weight: bold;
    color: white;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.cookie-text {
    font-size: 16px;
    color: white;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.cookie-button {
    float: right;
    margin-right: 16px;
}