/*FONT*/
@font-face {
    font-family: "globalebold";
    src: url("/assets/fonts/globale-bold-webfont.woff2") format("woff2"),
    url("/assets/fonts/globale-bold-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "globalebold_italic";
    src: url("/assets/fonts/globale-bolditalic-webfont.woff2") format("woff2"),
    url("/assets/fonts/globale-bolditalic-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "globaleitalic";
    src: url("/assets/fonts/globale-italic-webfont.woff2") format("woff2"),
    url("/assets/fonts/globale-italic-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "globaleregular";
    src: url("/assets/fonts/globale-regular-webfont.woff2") format("woff2"),
    url("/assets/fonts/globale-regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'robotoregular';
    src: url('/assets/fonts/roboto-regular-webfont.woff2') format('woff2'),
    url('/assets/fonts/roboto-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
* {
    margin: 0;
    padding: 0;
}

/*COLORI*/

:root {
    --azzurro: #0499db !important;
    --grigio: #7b7b7b !important;
    --nero: #000 !important;
    --bianco: #fff !important;
    --grigio-scuro: #333 !important;
    --grigio-chiaro: #eee !important;
    --giallo: #ffbc00 !important;
    --rosso: #ff0000 !important;
    --verde: #91ca43 !important;
    --rosso-custom: #792d2d !important;
    --verde-android: #018577 !important;
    --dark-blue-abbott: #001489 !important;
    --grigio-progress: #4c4c4c!important;
    --grigio-novopen:#d4d3d9!important;
}

.topbar {
    background: var(--grigio-chiaro);
    /*
    box-shadow: 1px 1px 6px 2px #dedede;
    */
}

body {
    font-family: "globaleregular", sans-serif;
    width: 100vw;
    overflow-x: hidden;
    height: 100vh !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

body.android, body.android .modal {
    font-family: "robotoregular", sans-serif!important;

}

html {
    position: fixed;
    height: 100%;
}

body.allarme-signal-loss,
body.allarme-glucosio-basso,
body.allarme-glucosio-alto {
    height: 100vh;
    overflow-y: hidden;
}


.navbar-toggler:focus {
    box-shadow: none !important;
}

img {
    max-width: 100%;
}

figure {
    margin-bottom: 0;
}

figure.img-contain img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

figure.img-cover img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.text-right {
    text-align: right !important;
}

nav.navbar.navbar-light.bg-light svg {
    width: 17px;
}

.ml-auto {
    margin-left: auto !important;
}

.mr-auto {
    margin-right: auto !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

/*Pulsanti*/
.fixed-b-row {
    position: fixed;
    width: 100%;
    bottom: 0px;

}
body:not(.home-novopen) .fixed-b-row {
    padding-bottom: 30px!important;
}
.fixed-btn {
    width: 100%;
    border-radius: 7px;
}

.fixed-btn-split {
    width: 50%;
    border-radius: 0 !important;
    /*display: inline-block;*/
    float: left;
    border: 1px solid var(--grigio-chiaro);
    margin-bottom: 0 !important;
}

.bordered-btn {
    border: 2px solid #ededed !important;
}

.bordered-btn-azzurro {
    border: 2px solid var(--azzurro) !important;
}

.bordered-btn-black {
    border: 2px solid var(--nero) !important;
}

.btn-100 {
    width: 100%;
}

/*Stili Background*/
.bg-azzurro {
    background-color: var(--azzurro);
    color: var(--bianco) !important;
}

.bg-bianco {
    background-color: var(--bianco);
    /*color: var(--nero) !important;*/
}

.bg-grigio {
    background-color: var(--grigio-chiaro);
    color: var(--nero) !important;
}

.bg-grigio-scuro {
    background-color: var(--grigio-scuro);
    color: var(--bianco) !important;
}

.bg-grigio-2 {
    background-color: var(--grigio);
    color: var(--bianco) !important;
}

.bg-giallo {
    background-color: var(--giallo);
}

.bg-rosso-scuro {
    background-color: var(--rosso-custom);
    color: var(--bianco);
}

.verde-android {
    color: var(--verde-android) !important;
}

.color-red {
    color: var(--rosso);
}

/*Stili testi*/

a {
    text-decoration: none;
}

.text-grey {
    color: var(--grigio);
}

.text-black {
    color: var(--nero);
}

.text-bianco,
a.text-bianco:hover {
    color: var(--bianco);
}

.text-azzurro {
    color: var(--azzurro);
}

.text-verde {
    color: var(--verde);
}

.text-smaller {
    font-size: 0.9em;
    line-height: 1em
}

.text-smaller-x2 {
    font-size: 0.8em;
    line-height: 1em
}

.text-bigger {
    font-size: 6em;
}

.text-3x {
    font-size: 3em;
}

.text-4x {
    font-size: 4em;
}

.text-5x {
    font-size: 5em;
}

.text-azzurro {
    color: var(--azzurro);
}
.text-arancione-llu{
    color: #cf4523!important;
}
/*BORDI*/
.bt-grey {
    border-top: 1px solid var(--grigio-chiaro);
}

.bb-grey {
    border-bottom: 1px solid var(--grigio-chiaro);
}

/*Form Styling */
input[type="text"].bordered-input, input[type="email"].bordered-input, input[type="password"].bordered-input, textarea {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #dedede !important;
    border-radius: 0 !important;
}

input:focus, textarea:focus {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.svg-icons-small {
    width: 18px;
}

.android-navigation-top {
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 10px 0;
    text-transform: uppercase;
}

/* width */
.android-navigation-top::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* Track */
.android-navigation-top::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.android-navigation-top::-webkit-scrollbar-thumb {
    background: var(--giallo);
}

/* Handle on hover */
.android-navigation-top::-webkit-scrollbar-thumb:hover {
    background: var(--giallo);
}

#navbar-main.justify-content-start .navbar-brand {
    width: calc(100vw - 150px);
    padding-left: 5px;
}

#navbar-main.justify-content-start .navbar-brand + div {
    width: 90px;
    text-align: right;
}

#navbarSupportedContent {
    padding: 15px 15px 0;
}

#navbarSupportedContent .nav-link {
    display: grid;
    grid-template-columns: 20px auto;
    column-gap: 10px;
}

#navbarSupportedContent .nav-item .nav-link span {
    font-size: 1.1rem;
    position: relative;
    top: 0;
}

#navbarSupportedContent .nav-item .nav-link figure {
    margin: 0;
    width: 18px;
    height: 18px;
}

div#navbarSupportedContent.offcanvas {
    top: 48px;
    max-width: 80vw !important;
    padding-right: 0;
}

.navbar.with-logo div#navbarSupportedContent.offcanvas {
    top: 54px;
}

div#navbarSupportedContent_2 {
    position: absolute;
    z-index: 10569;
    background: #fff;
    width: 55%;
    right: 0;
    padding: 20px;
    box-shadow: 10px 6px 18px 2px #999;

}

div#navbarSupportedContent_2 a {
    color: #000000;
}

.offcanvas-backdrop {
    background: transparent;
}

.navbar-light .navbar-toggler {
    border: none;
}

.pos-rel {
    position: relative;
}

.btn.btn-with-icon {
    display: grid;
    grid-template-columns: 40px auto 40px;
    align-items: center;
    text-align: center;
}

/*FLOATING BUTTON */
.btn-group-fab {
    position: fixed;
    width: 50px;
    height: auto;
    right: 20px;
    bottom: 40px;
}

.btn-group-fab div {
    position: relative;
    width: 100%;
    height: auto;
}

.btn-group-fab .btn {
    position: absolute;
    bottom: 30px;
    border-radius: 50%;
    display: block;
    width: 40px;
    height: 40px;
    margin: 4px auto;
}

.btn-group-fab .btn-main {
    width: 50px;
    height: 50px;
    right: 50%;
    margin-right: -25px;
    line-height: 40px;
    z-index: 9;
    box-shadow: 1px 1px 5px #777;
}

.btn-group-fab .btn-main#scansione-sensore-and {
    bottom: 100px !important;
    padding: 0;
}

/*FINE FLOATING BUTTON */
.navbar h2#navbar-title {
    font-size: 19px;
}

.btn.has-shadow {
    box-shadow: 0 3px 7px rgba(0, 0, 0, .2);
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.no-border {
    border: none;
}

.navbar-brand {
    margin-right: 0 !important;
    padding: 0;
}

#bottom-buttons {
    background-color: #fff;
}

/*@media screen and (min-width: 500px) {*/
/*    .desktop-version {*/
/*        max-width: 450px;*/
/*        margin: auto;*/
/*    }*/
/*}*/
/*.container-fluid {*/
/*    min-height: 60vh!important;*/
/*}*/

body.coloriglucosio[data-platform="ios"] .topbar,
body.ilmioglucosio[data-platform="ios"] .topbar,
body.andamento-glucosio[data-platform="ios"] .topbar {
    box-shadow: none;
}

#popup-scansione, #popup-scansione-completa, #popup-scansione-novopen-2, #popup-scansione-novopen {

    position: fixed;
    bottom: 5px;
    left: 0;

    z-index: 10560 !important;
}

.floating-container {
    position: relative;

}

.fab-container {
    float: right;
    max-width: 70px;
    text-align: right;
    /*left: 20px!important;*/
    right: 20px;
    z-index: 999;
    display: inline-block;
    cursor: pointer;

}

.fab-icon-holder {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background: var(--dark-blue-abbott);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/*.fab-icon-holder:hover {*/
/*    opacity: 0.8;*/
/*}*/

.fab-icon-holder i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 18px;
    color: #ffffff;
}

.fab-icon-holder a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 18px;
    color: #ffffff;
}

div.fab {
    width: 40px;
    height: 40px;
    background: var(--dark-blue-abbott);
}

.fab-options {
    list-style-type: none;
    margin: 0;
    position: absolute;
    bottom: 49px;
    right: -6px;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0);
    transform-origin: 85% bottom;
}

/*.fab:hover+.fab-options,*/
/*.fab-options:hover {*/
/*    opacity: 1;*/
/*    transform: scale(1);*/
/*}*/
.active-fab {
    opacity: 1;
    transform: scale(1);
}

.fab-options li {
    display: flex;
    justify-content: flex-end;
    padding: 5px;
}

.fab-label {
    padding: 2px 5px;
    align-self: center;
    user-select: none;
    white-space: nowrap;
    border-radius: 3px;
    font-size: 16px;
    background: #666666;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    margin-right: 10px;
}

.initial-fab {
    position: absolute;
    bottom: 40px;
    right: 10px;
    width: 0;
}


#draggable ul.align-li-right {
    /*right: -136px;*/
    right: -118px;
}

#draggable ul.align-li-right li {
    flex-direction: row-reverse;
}

#draggable ul.align-li-right li span {
    margin-right: 0;
    margin-left: 10px;
}

#draggable ul.align-li-bottom {
    bottom: -313px !important;
}

.ios-border-button {
    border: 0 !important;
    border-right: 1px solid var(--grigio-chiaro) !important;
    border-radius: 0 !important;
}

.btn-skip-red,
.btn-skip-red:hover {
    background: #792d2d;
    border: 2px solid #792d2d;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .5s;
    font-weight: 500;
}

.btn-skip-red:hover {
    color: #792d2d;
    background: transparent;
}

.navbar {
    padding-top: 5px;
    padding-bottom: 5px;
}

.navbar-nav {
    max-height: 100%;
    min-width: 100%;
    margin: 0;
    overflow-y: auto;
    padding-right: 15px;
}

.modal.simple .modal-content .modal-body strong.fs-1 {
    font-size: 22px !important;
}

body.ios .modal.simple .modal-content {
    border-radius: 0;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

body.ios .modal.simple .modal-content .modal-body p:last-child {
    margin-bottom: 0;
}

.modal.simple .modal-footer {
    padding: 0.35rem 0.75rem;
}

.modal.simple .modal-footer .btn-primary {
    background-color: transparent;
    color: var(--azzurro);
    border: 0;
}

body.android .modal.simple .modal-footer {
    border: 0 !important;
}

body.android .modal.simple .modal-footer button {
    text-transform: uppercase;
    border: 0 !important;
    font-size: 15px;
}

body.ios .modal.simple .modal-footer button {
    color: var(--azzurro);
}

body.ios .modal.simple .modal-footer button {
    border: 0 !important;
    background-color: transparent;
    width: fit-content !important;
}

body.ios .modal.simple .modal-footer.has-primary-btn:not(.has-secondary-btn) button {
    margin: 0 auto;
}

body.ios .modal.simple .modal-footer.has-primary-btn.has-secondary-btn {
    position: relative;
    padding: 0.35rem 0;
}

body.ios .modal.simple .modal-footer.has-primary-btn.has-secondary-btn button {
    width: 50% !important;
    margin: 0;
}

body.ios .modal.simple .modal-footer.has-primary-btn.has-secondary-btn:after {
    height: 100%;
    width: 1px;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    background-color: #dee2e6;
    content: '';
}

body.ios.home .modal.simple .modal-content, body.ios.allarmi .modal.simple .modal-content {
    text-align: center;
    border-radius: 15px !important;
    background-color: #EEEFEF;
    border: 0;
    width: 75%;
}

body.ios.home .modal.simple .modal-body, body.ios.allarmi .modal.simple .modal-content {
    font-size: 19px;
}

body.ios.home .modal.simple .modal-body p, body.ios.allarmi .modal.simple .modal-content {
    color: var(--grigio);
    margin-top: 5px;
    line-height: 21px;
}

.back-btn {
    cursor: pointer;
}

.modal-body {
    font-family: "globaleregular", sans-serif;
    font-size: 15px;
    line-height: 22px;
}

.modal button:hover {
    background-color: transparent;
    color: inherit !important;
}


#mobile-mask {
    height: 100%;
}

.app-content {
    padding-bottom: 15px;
    overflow-y: auto;
    overflow-x: hidden;
}

@media (min-width: 500px) and (min-height: 699px) {
    body,
    body[class*="allarme-"] {
        background-color: #666 !important;
        display: grid;
        height: 100vh;
        min-height: 100vh;
        grid-template-columns: 1fr;
        align-items: center;
        padding-bottom: 0 !important;
    }

    #mobile-mask {
        background-color: #fff;
        margin: 1vh auto;
        width: 375px;
        height: 98vh;
        overflow: hidden;
        position: relative;
    }


    body[class*="allarme-"] #mobile-mask {
        background-color: #eeeeee !important;
    }

    body.applica-sensore #mobile-mask {
        background-color: #F2F4F5;
    }

    .modal,
    .topbar,
    .offcanvas,
    .fixed-b-row {
        position: absolute;
        max-width: 100%;
    }

    .topbar {
        width: 100%;
        left: 12px;
    }

    .topbar + div + div {
        margin-top: 52px;
    }
    body.allarme-signal-loss[data-lang='gr'] .topbar + div + div {
        margin-top: 65px;
    }
    .navbar .navbar-toggler {
        display: block;
    }

    div#navbarSupportedContent.offcanvas {
        max-width: 80% !important;
        height: 758px !important;
    }

    body.android div#navbarSupportedContent.offcanvas {
        top: 48px;
    }

    .min-vh-100, .h-100 {
        min-height: calc(100% - 52.8px) !important;
        max-height: calc(100% - 52.8px) !important;
    }

    .modal-content {
        width: 90%;
        margin: 0 5%;
        font-family: "Arial", sans-serif;
        font-size: 14px;
    }

    .modal-content p.fs-1,
    .modal-content p.fs-2,
    .modal-content p.fs-3,
    .modal-content p.fs-4,
    .modal-content p.fs-5 {
        font-size: 18px !important;
    }

    #share-img img.img-fluid {
        max-width: 100% !important;
    }

    #popup-scansione, #popup-scansione-completa, #popup-scansione-novopen, #popup-scansione-novopen-2{
        position: absolute;
        inset: 0;
        left: -1px;
        top: -1px;
        background-color: rgba(0, 0, 0, .1);
    }

    #popup-scansione img, #popup-scansione-completa img, #popup-scansione-novopen-2 img, #popup-scansione-novopen img {
        object-fit: contain;
        object-position: bottom;
        padding-bottom: 5px;
        height: 100%;
        width: 100%;
    }


    div#navbarSupportedContent.offcanvas {
        top: 56px;
    }
}

@media (min-width: 500px) and (min-height: 740px) {
    #mobile-mask {
        margin: 6vh auto;
        height: 88vh;
    }
}


@media (min-height: 1000px) {
    #mobile-mask {
        margin: calc(50vh - 400px) auto;
        height: 800px;
    }
}
@media (max-height: 760px) {
   .report-andamento-giornaliero .set_background_image img {
       width: 75%!important;
   }
}

div#signalLossAlarm, div#modal-screen, div#ordersensor, div#modalSuoni {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    inset: 0;
    min-width: 100%;
    height: 100%;
    z-index: 109678;
    background-size: cover;
    background-position: center;
}

div#signalLossAlarm img, div#modal-screen img, div#ordersensor img {

    min-width: 100%;
}


/*
div.modal-screen::before {
    content: 'X';
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 24px;
    font-weight: 800;
    background: #000;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
}*/
.bg-blue-scuro {
    background-color: var(--dark-blue-abbott);
    border: 2px solid var(--dark-blue-abbott);
    color: var(--bianco);
}

.bg-blue-scuro:hover {
    background-color: transparent;
    color: var(--dark-blue-abbott);
}

.set_background_image {
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
}

/*Modifiche Modal iOs allarmi e applica sensore*/
body.ios.applica-sensore .modal.simple .modal-content {
    border-radius: 12px !important;
    border: none;
}

body.ios.applica-sensore .modal.simple .modal-footer.has-primary-btn.has-secondary-btn, body.allarmi .modal.simple .modal-footer.has-primary-btn.has-secondary-btn {
    display: flex !important;

}

body.ios.applica-sensore .modal.simple .modal-footer.has-primary-btn.has-secondary-btn:after, body.allarmi .modal.simple .modal-footer.has-primary-btn.has-secondary-btn:after, body.allarmi .modal .modal-footer.has-primary-btn.has-secondary-btn .btn-secondary:not(.order-2){
    display: none;
}

body.ios.applica-sensore .modal.simple .modal-footer.has-primary-btn.has-secondary-btn button {
    width: 100% !important;
}

body.ios.applica-sensore .modal.simple .modal-footer.has-primary-btn.has-secondary-btn button:first-child, body.allarmi .modal.simple .modal-footer.has-primary-btn.has-secondary-btn button:last-child {
    border-bottom: 1px solid #dedede !important;
}

/* Fine Modifiche Modal iOs allarmi e applica sensore*/

.h-100.bg-giallo {
    min-height: 100% !important;
    max-height: 100% !important;
}

/*body.informativa #mobile-mask:before, body.research #mobile-mask:before,  body.info #mobile-mask:before, body.accordo #mobile-mask:before{
    content: 'FPO';
    font-size: 120px;
    opacity: 0.7;
    font-weight: 900;
    color: #ec008c;
    position: absolute;
    width: 100%;
    text-align: center;
    top: 45% !important;
}*/
body.informativa:not([data-lang="nl"]):not([data-lang="fr"]) #mobile-mask:before,
body.manuale-uso:not([data-lang="nl"]):not([data-lang="fr"]) #mobile-mask:before,
body.compatibilita-sensore:not([data-lang="nl"]):not([data-lang="fr"]) #mobile-mask:before,
body.research:not([data-lang="nl"]):not([data-lang="fr"]) #mobile-mask:before,
body.accordo:not([data-lang="nl"]):not([data-lang="fr"]) #mobile-mask:before,
body.info:not([data-lang="nl"]):not([data-lang="fr"]) #mobile-mask:before,
body.contact-novopen-support:not([data-lang="nl"]):not([data-lang="fr"]) #mobile-mask:before,
body.nordisk-privacy:not([data-lang="nl"]):not([data-lang="fr"]) #mobile-mask:before,
body.insulin-pen-user-guide:not([data-lang="nl"]):not([data-lang="fr"]) #mobile-mask:before {
    content: '[FPO]';
    font-size: 120px;
    opacity: 0.7;
    font-weight: 900;
    color: #ec008c;
    position: absolute;
    width: 100%;
    text-align: center;
    top: 45% !important;
    z-index: 999;
}

body.create-account:not([data-lang="nl"]):not([data-lang="fr"]) #mobile-mask:before{
    content: '[FPO]';
    font-size: 120px;
    opacity: 0.7;
    font-weight: 900;
    color: #ec008c;
    position: absolute;
    width: 100%;
    text-align: center;
    top: 65% !important;
    z-index: 999;
}
body.informativa[data-lang="nl"] #mobile-mask:before,
body.research[data-lang="nl"] #mobile-mask:before,
body.accordo[data-lang="nl"] #mobile-mask:before,
body.info[data-lang="nl"] #mobile-mask:before {
    content: 'TER ILLUSTRATIE';
    font-size: 60px;
    opacity: 0.7;
    font-weight: 900;
    color: #ec008c;
    position: absolute;
    width: 100%;
    text-align: center;
    top: 35% !important;
    z-index: 999;
}
a.navbar-brand{
    min-width: 60%;
}
body.aggiungi-nota-orario.ios .picker {
    top:50px;
}
.mw-100 {
    min-width: 100%!important;
}

body[data-lang = "es"].applica-sensore.ios.modal-open .modal-footer, body[data-lang = "nl"].applica-sensore.ios.modal-open .modal-footer{
    display:none!important;
}

body[data-lang="es"].report-grafico-giornaliero.ios #mobile-mask .container-fluid {
    background: #F6F7FB!important;
    min-height: 100%;
}

body.select-insulin-pens .btn.disabled {
    background: transparent!important;
    border: 1px solid var(--grigio-scuro)!important;
    color: var(--grigio-scuro)!important;
}

.icon-big {
    font-size: 200px
}

.progress {
    height: 5px;
    border-radius: 0;
    background-color: var(--grigio-progress);
}

.sensor-life .progress .progress-bar {
    margin-right: 3px;

}

.sensor-life .progress .progress-bar-success {
    background-color: var(--verde);
}

.progress .progress-bar:last-child {
    margin-right: 0 !important;
}

.sensor-life {
    background-color: var(--grigio-progress);
}
.select-insulin-pens .navbar h2#navbar-title {
    font-size: 14px!important;
}

div#modal-novopen .modal-dialog-bottom {


position: absolute;
top: auto;
right: auto;
left: auto;
bottom: 0;

margin: 0;
}

div#modal-novopen .modal-dialog-bottom .modal-content {
border-radius: 15px 15px 0 0 ;
    width: 98%;
    margin: auto;
}
div#scelta-scansione .modal-content {
    width: 98% !important;
    position: absolute;
    bottom: 10px!important;
    border-radius: 50px;
    margin: 0 1%
}
div#scelta-scansione .modal-dialog-centered {
    min-height: calc(100% - 1.75rem);
}
div#scelta-scansione .modal-dialog {
    margin: 1.75rem auto 0!important;
}
#scansione-sensore-modal .modal-body p, #scansione-sensore-modal .modal-body h3, #scansione-sensore-modal .modal-body span {
    font-family:  "globaleregular", sans-serif!important;
}
.bordered-btn-grey {
    border: 1px solid var(--grigio-scuro)!important;
}
.bg-grigio-note {
    background-color: var(--grigio);
}

.modifica-insulina span.insulinDetail:after {
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    width: 10px!important;
    max-width: 30px!important;
    height: 10px!important;
    position: absolute;
    margin-left: 10px;
    /* padding-left: 10px; */
}
.bg-grigio-novopen {
    background-color: var(--grigio-novopen);
}

#scelta-scansione .fw-bold {
    font-weight: 400!important;
}

.insulin-pens-settings .row{
    cursor: pointer;
}
body[data-lang='at'] div#screenbox_novo {
    background-size: 86%!important;
}

@media screen and (max-height: 699px) {
    .home-novopen .set_background_image img {
        max-width: 80%!important;
    }
    body {
        /*background-color: #666!important;*/
        display: grid!important;
        overflow-y: scroll;
    }
    .report-andamento-giornaliero #mobile-mask,.report-a1c-stimata #mobile-mask, .report-uso-del-sensore #mobile-mask,  .report-valore-medio-glucosio #mobile-mask, .report-grafico-giornaliero  #mobile-mask, .report-eventi-di-glucosio-basso  #mobile-mask, .report-tempo-nel-valore-stabilito  #mobile-mask{
        background-color: #ffffff;
    }
/*    #mobile-mask {
        background-color: #eee;
        margin: 1vh auto;
        width: 375px;
        height: 98vh;
        overflow: auto;
        position: relative;
    }*/
    .fixed-b-row {
        position: absolute;
    }
    #config .carousel-inner {
        height: 400px!important;
    }
    .modal-lg, .modal-xl, .modal-dialog{
        width: 324px;
    }
   .unita-carboidrati .topbar {
       position: absolute;
       min-width: 100%;
   }
   .aggiungi-nota #mobile-mask {
       background-color: #fff!important;
   }
   .offcanvas {
        bottom: auto!important;
       position: absolute;
       z-index: 104544;
       display: flex;
       flex-direction: column;
       max-width: 100%;
       visibility: hidden;
       background-color: #fff;
       background-clip: padding-box;
       outline: 0;
       transition: transform .3s ease-in-out;
   }
    body.note #mobile-mask{
        background-color: #fff;
    }

    .mobile {
        position: relative;
        padding-bottom: 50px;
    }
    .impostazioni-account #mobile-mask {
        overflow-y: scroll;
    }
    .img-fluid {
        max-width: 90%;
        margin: auto!important;
        display: block;
    }
}

@media (max-height: 844px) {
     .immagineScansioneNovo img, .immagineScansione img {
         max-width: 90%!important;
    }
   /* .home-novopen .set_background_image img {
        max-width: 80%!important;
    }*/
}

.home-novopen .container-fluid {
    min-height: 100%!important;
}


@media only screen
and (device-width : 375px)
and (device-height : 812px)
 {
    .home #config .carousel-inner {
        height: 400px;

    }

}
@media (device-width: 390px) and (device-height: 844px) {
    #mobile-mask {
      height: 100% !important;
    }
}
@media (device-width: 375px) and (device-height:677px) {
    #mobile-mask {
        height: 100%!important;
    }
}
/*@media (device-width: 820px) and (device-height: 1180px) {
    #mobile-mask {
        max-height: calc(100% - 40px);
        position: fixed;
        top: 20px;
        left: calc(50% - 178.5px);
    }
}*/
/*.applica-sensore .initial-fab {
    position: sticky;
    bottom: 90px;
    right: 10px;
    width: 0;
}*/

.signin .modal-footer.has-primary-btn {
    justify-content: center;
}
div#screenbox_novo {
    background-size: 95%!important;
}
body.home-novopen.android button#navbar_button_android{
    display: none!important;
}

body[data-lang=gr] .picker-choose .confirm, body[data-lang=gr] .picker-choose .cancel  {
    display: none!important;
}

/*Librelinkup flow*/
.llu-invitation-1, .llu-invitation-2, .llu-invitation-3, .llu-dashboard-menu, .llu-dashboard-1, .llu-dashboard-2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
}
.ios.librelinkup .modal-content, .ios.lluCreateAccount2 .modal-content {
    border-radius: 20px!important;
}
.librelinkup.modal-open .modal-body {
    font-size:18px
}

.dettaglio-applica-sensore #config .carousel-inner, .dettaglio-scansione #config .carousel-inner {
    width: 100% !important;
}
.navbar-llu {
    justify-content: normal;
}
.android .navbar {
    justify-content:start!important;
}
/*sensor life*/
.progress {
    height: 5px;
    border-radius: 0;
    background-color: var(--grigio-progress);
}

.sensor-life .progress .progress-bar {
    margin-right: 3px;

}

.sensor-life .progress .progress-bar-success {
    background-color: var(--verde);
}

.progress .progress-bar:last-child {
    margin-right: 0 !important;
}

.sensor-life {
    background-color: var(--grigio-progress);
    padding-bottom: 10px!important;
}

body.modal-open.phone-settings  .container-fluid, body.modal-open.phone-settings  .topbar {
    visibility: hidden;
}