/* ============ COLORI =========== */
:root {
    --azzurro:#0499db!important;
    --giallo:#ffbc00!important;
    --rosso:#ff0000!important;
    --verde:#91ca43!important;
}
/*FONT*/
@font-face {
    font-family: 'globalebold';
    src: url('fonts/globale-bold-webfont.woff2') format('woff2'),
    url('fonts/globale-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

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

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

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

body {
    font-family: 'globaleregular';
}
/* =========== GENERALE ========== */
/*html, body {height: 100%;}*/

/* =========== CUSTOM ========== */
.headbgazzurro {background-color: var(--azzurro); color: white!important; padding: 20px; font-size: 15px;}
.pad20 {padding: 20px!important;}
.pad-rl {
    padding: 5px 20px;
}
.text-grey {color: #7b7b7b;}
.font-larger-black {font-size: larger; color: black;}
.bordergreytitle {border-bottom: 2px solid #dcdcdc!important;}
.bg-grigio {background-color: #e9e9e9;}


/* =========== CUSTOM Diario ========== */
.headbgazzurrodata {background-color: var(--azzurro); color: white!important; padding: 5px; font-size: larger;}
.tabelladiario {border-bottom: #e6e6e6 1px solid; width: 100%;}
.letturagiallo {border-left: 15px var(--giallo) solid;}
.letturaverde {border-left: 15px var(--verde) solid;}
.letturarosso {border-left: 15px var(--rosso) solid;}
.cifraglucosiodiario {color: black; font-weight: 600; font-size: 2.4em; padding-left: 10px;}
.spanora {float: right; color: #4e4e4e; font-size: small; text-align: right; padding: 8px 10px;}

/* =========== CUSTOM Dettagli diario ========== */
.letturagiallo_misurazionedettdiario {background-color: var(--giallo)!important; text-align: center; padding-top: 0%; padding-bottom: 0%;}
.letturaverde_misurazionedettdiario {background-color: var(--verde)!important; text-align: center; padding-top: 0%; padding-bottom: 0%;}
.letturarosso_misurazionedettdiario {background-color: var(--rosso)!important; text-align: center; padding-top: 0%; padding-bottom: 0%;}
.cifraglucosiodettdiario {color: black; font-weight: 700; font-size: 2em;}

/* =========== CUSTOM Pagina Lettura ========== */
.letturagiallo_misurazione {background-color: var(--giallo)!important; text-align: center; padding-top: 5%; padding-bottom: 5%;}
.letturaverde_misurazione {background-color: var(--verde)!important; text-align: center; padding-top: 5%; padding-bottom: 5%;}
.letturarosso_misurazione {background-color: var(--rosso)!important; text-align: center; padding-top: 5%; padding-bottom: 5%;}
.cifraglucosiopaglettura {color: black; font-weight: 700; font-size: 6em;}
.cifraglucosiopaglettura::after {
    width: 15px;
    height: 15px;
    display: block;
    content: "";
    position: absolute;
    top: 106%;
    -webkit-transform: rotate(45deg);
    z-index: 9;
    right: 2%;
}
.cifraglucosiopagletturagiallo::after {background: var(--giallo);}
.cifraglucosiopagletturaverde::after {background: var(--verde);}
.cifraglucosiopagletturarosso::after {background: var(--rosso);}

a svg:hover {fill: var(--azzurro)!important;}
svg {width: 20px; height: 20px; fill: #717171}
a.nav-link svg {margin-right: 15px; margin-top: -5px;}

.pulsante-scansiona {
    -webkit-box-shadow: 0 1px 15px 1px rgba(69,65,78,.60);
    box-shadow: 0 1px 15px 1px rgba(69,65,78,.60);}

/* Links */
a, a:hover  {color: var(--azzurro);}
a.disabled  {pointer-events: none;}

/* Colori Glucosio pagina prova*/
.valoreprevisto {background-color: #ffbc00!important; text-align: center; padding-top: 5%; padding-bottom: 5%;}
.cifraglucosio {color: black; font-weight: 700; font-size: 6em;}
.cifraglucosio::after {
    width: 15px;
    height: 15px;
    background: #ffbc00;
    display: block;
    content: "";
    position: absolute;
    top: 106%;
    -webkit-transform: rotate(45deg);
    z-index: 9;
    right: 2%;
}
.mgdL {font-size: 30px; font-weight: 400;}

/* =========== BOOTSTRAP ========== */

p {
    margin-top: .8rem;
    margin-bottom: .8rem;
}

/* Navbar */
.bg-light {background-color: #fff!important; border-bottom: 1px solid #cecece;}
.navbar-light .navbar-nav .nav-link {color: rgba(0,0,0,.9);}
.navbar-light .navbar-nav .active > .nav-link {color: var(--azzurro);}
li.nav-item.active a.nav-link svg {fill: var(--azzurro)!important;}
.nav-link {padding: .34rem 1rem;}
.bg-light {padding-bottom: 11px;}

.navbar-collapse {border-top: 1px solid #dedede; margin-top: 10px;}


/* =========== Report Dropdown ========== */
div.dropdown-menu.report.show {
    padding: 10px!important;
    margin: 0!important;
    font-size: 1.1rem!important;
    color: #ffffff!important;
    background-color: #0499db!important;
    border: 1px solid rgb(4, 153, 219)!important;
    border-radius: 0!important;
    width: 102%;
    margin-right: -10px!important;
    text-align: center;
}

.dropdown-item.report:focus, .dropdown-item.report:hover {
    color: #16181b;
    background-color: #0499db!important;
}

/* Containers*/
.container, .container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

/* Pulsanti */
.btn {
    background: transparent;
    border: 1px solid #dedede;
}

.btn.focus, .btn:focus {
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, 0)!important;
}

.btn-group-lg>.btn, .btn-lg {
    font-size: 1rem;
    border-radius: .1rem;
}
.btn-primary {
    color: #fff;
    background-color: var(--azzurro)!important;
    border-color: var(--azzurro)!important;
    font-size: 0.8rem;
    border-radius: 0;
}
.btn-blue-bg {
    background-color: #2196F3;
    color:#fff!important;
    border-radius: 5px;
}

.btn-secondary {
    font-size: 0.8rem;
    border-radius: 0;
}

.btn-config {
    bottom: 0!important;
    /*position: absolute;*/
    width: 98%;
    margin: 1%;
}

.btn-light {
    background-color: transparent;
    border-color: #ededed;
}

.btn-font-light-blue {
    color: var(--azzurro)!important;
    border: 2px solid #ededed;
}
.btn-avanti {
   border-radius: 7px;
    width: 95%;
    margin: auto;
    margin-bottom: 7px;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--azzurro)!important;
}

/* Modal */
.close {
    opacity: 1!important;
    font-weight: 500;
}

.modal-body {
    padding: 0!important;
}

/* Form */
.form-control {
    margin-bottom: 5px!important;
    margin-top: 5px;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .5rem;
    font-size: 1rem;
    background-color: transparent;
    /*border-bottom: 1px solid #ced4da;*/
    border-bottom:none;
    border-top: transparent;
    border-left: transparent;
    border-right: transparent;
    border-radius: 0;
}

.form-group {
    margin-bottom: .75rem;
}


.form-check {
    padding-top: 10px;
}

.form-check-label {
    padding-bottom: 20px!important;
    padding-top: 10px!important;
    border-bottom: 1px #cccccc solid!important;
    width: 100%!important;
}
.form-control:disabled, .form-control[readonly] {
    background-color: transparent;
    opacity: 1;
    color: #dedede;
    -webkit-text-fill-color: #dedede;
}
input[type=radio] {
    margin-top: 18px!important;
}

/* Carousel
.carousel-inner img {
    width: 100%;
    height: 100%;
}*/

.carousel-indicators li {
    width: 10px;
    height: 10px;
    margin-right: 3px;
    margin-left: 3px;
    background-color: #000;
    background-clip: padding-box;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    opacity: .4;
    margin-top: -100px;
    border-radius: 50%;
}

/* =========== FONT AWESOME ========== */
i.fas.fa-chevron-left {margin-right: 20px;}
a i.fas {color: black;}
.fa-question-circle::before {color: var(--azzurro)!important;}

.fa-sign-out-alt::before {color: var(--azzurro)!important;}
.fa-pen::before {color: #6f6f6f;}
.btn-font-light-blue i.fa-pen:before{color: var(--azzurro)!important;}
a i.fas.fa-caret-left, a i.fas.fa-caret-right {color: white;}

.fa-stopwatch::before, .fa-bell::before {color: #6f6f6f;}
.fa-check::before {color: white; font-size: 14px; padding-left: 10px;}

/* =========== TOGGLE Switch ========== */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.sliderswitch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    width: 54px;
    height: 30px;
}

.sliderswitch:before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 2px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

/*.sliderswitch:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}*/

input:checked + .sliderswitch {
    background-color: #2196F3;
}

input:focus + .sliderswitch {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .sliderswitch:before {
    /*-webkit-transform: translateX(38px);
    -ms-transform: translateX(38px);
    transform: translateX(38px);*/
    -webkit-transform: translateX(23px);
    -ms-transform: translateX(23px);
    transform: translateX(23px);
}

/* Rounded sliders */
.sliderswitch.round {
    border-radius: 34px;
}

.sliderswitch.round:before {
    border-radius: 50%;
}


/*Rolldate picker*/

.rolldate-container .rolldate-panel {
    height: 80%!important;
    position: relative!important;
}
.rolldate-container .rolldate-mask {
    display: none;
}

#testata_orario {
    z-index: 5;
    height: 10%;
    background-color: #dedede;
}

/*PROMEMORIA*/

.promemoria_ricorrente {
    position: absolute;
    bottom: 48%;
    z-index: 9999;
    border-bottom: 1px solid #dedede;
    width: 91%;
    border-top: 1px solid #dedede;
}
#promemoria_input:focus, #promemoria_input:active {
    outline: none!important;

}
div#giorni_settimana {
    position: absolute;
    bottom: 35%;
}
/*Navbar*/
.navbar-light .navbar-toggler {
    border:none;
}

.font-light-blue {
    color:var(--azzurro)!important;
}
/*VARIE*/
.hide-row {
    display: none;
}
.show-row {
    display: block;
}
/*Popup scansione*/
#popup-scansione {

    position: fixed;
    bottom: 0;
    left: 0;

    z-index: 10560!important;
}
#popup-scansione>.row {
    background-color: #fff;
    padding: 30px 15px!important;
    border-radius: 50px!important;
    margin-right: 5px;
    margin-left: 5px;
}

#popup-scansione:after {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.2);
    z-index: -2!important;
}

#popup-scansione .btn {
    width: 90%!important;
    background-color: #d4d3d9!important;
    font-size: 25px;
    font-weight: 600;
    border-radius: 10px;
}
#popup-scansione p {
    font-size: 18px!important;
}
#popup-scansione h2 {
    font-size: 23px!important;
    color: #888888!important;
}
label.label-collegamento {
    display: block;
    font-size: 14px;
    color: #4e4e4e;

}

.form-inserisci-collegamento input{
    border: none;
    border-bottom: 1px solid #666666;
    width: 100%;
    margin-bottom: 20px;
}

#libreview-info {
    width: 80%!important;
    margin: auto!important;
    position: absolute; top: 20%;
    left: 10%;
    background-color: #fff!important;
    padding: 15px;
    padding-bottom: 80px;
    -webkit-box-shadow:  0px 0px 0px 9999px rgba(0, 0, 0, 0.5);
    box-shadow:  0px 0px 0px 9999px rgba(0, 0, 0, 0.5);

}
#info {
    width: 80%!important;
    margin: auto!important;
    position: absolute;
    top: 20%;
    left: 10%;
    background-color: #fff!important;
    padding: 15px;
    padding-bottom: 80px;
    -webkit-box-shadow:  0px 0px 0px 9999px rgba(0, 0, 0, 0.5);
    box-shadow:  0px 0px 0px 9999px rgba(0, 0, 0, 0.5);
    z-index: 10560;
}

#share-img {
    width: 100%!important;
    margin: auto!important;
    position: absolute;
    bottom: 0px;
    z-index: 10560;
}
/*#libreview-info:after {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.2);
    z-index: -2!important;
}*/
/*#info:after{
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.2);
    z-index: -2!important;
}*/
.text-light-grey {
    color: #717171;
    font-size: 14px;
}

.cambio-pw .form-group {
    border-bottom: 1px solid #6f6f6f;
}
/*MEDIA QUERIES*/

/* ----------- iPhone 4 and 4S ----------- */


/* Portrait */
@media only screen and (max-device-height: 480px) {


    .promemoria_ricorrente {
        position: absolute;
        bottom: 12% !important;
        z-index: 9999;
        border-bottom: 1px solid #dedede;
        width: 91%;
        border-top: 1px solid #dedede;
    }
}


/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */


/* Portrait */
@media only screen
and (min-device-height: 568px)
 {
    .promemoria_ricorrente {
        position: absolute;
        bottom: 25%!important;
        z-index: 9999;
        border-bottom: 1px solid #dedede;
        width: 91%;
        border-top: 1px solid #dedede;
    }

    div#giorni_settimana {
        position: absolute;
        bottom: 9%;
    }

}



/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-height: 667px)
 {
    .promemoria_ricorrente {
        position: absolute;
        bottom: 40%!important;
        z-index: 9999;
        border-bottom: 1px solid #dedede;
        width: 91%;
        border-top: 1px solid #dedede;
    }
    div#giorni_settimana {
        position: absolute;
        bottom: 25%;
    }

}



/* ----------- iPhone 6+, 7+ and 8+ ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3) {

}


/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3) {

}



/* IPHONE 11
1792x828px at 326ppi */
@media only screen
and (min-device-height: 896px)
and (-webkit-device-pixel-ratio: 2) {

    .promemoria_ricorrente {
        position: absolute;
        bottom: 40%!important;
        z-index: 9999;
        border-bottom: 1px solid #dedede;
        width: 91%;
        border-top: 1px solid #dedede;
    }
    div#giorni_settimana {
        position: absolute;
        bottom: -165%;
    }
    #info {
        width: 80%!important;
        margin: auto!important;
        position: absolute;
        top: 30%;
        left: 10%;
        background-color: #fff!important;
        padding: 15px;
        padding-bottom: 80px;
        -webkit-box-shadow:  0px 0px 0px 9999px rgba(0, 0, 0, 0.5);
        box-shadow:  0px 0px 0px 9999px rgba(0, 0, 0, 0.5);
        z-index: 105601!important;
    }
}

.hide-row-scroll {
   visibility: hidden;
}
.show-row-scroll {
    visibility: visible;
}
/*Navbar Android*/
.scansione-lista{
   min-width: 70px;
}

/*.scansione-lista ul li{
    display: inline-block;
    float: left;
}*/
.scansione-lista ul li.is-android{
    display: none;
}
.scansione-lista ul.navbar-nav.mr-auto {
    display: inline-block;
}

div#navbarSupportedContent_2 {
    width: 50%;
    background: #fff;
    text-align: left;
    float: right;
    position: absolute;
    right: 0;
    padding: 20px;
    margin-top: 0;
    box-shadow: -2px 6px 10px #dedede;
}
div#navbarSupportedContent_2 a {
    color: #717171!important;
}
/*Navbar Android*/
a#scansione-sensore {
    display: inline!important;
}
.is-android {
    display:none;
}
.ios-only {display: none}

/*FLOATING BUTTON */
.btn-group-fab {
    position: fixed;
    width: 50px;
    height: auto;
    right: 20px; bottom: 20px;
}
.btn-group-fab div {
    position: relative; width: 100%;
    height: auto;
}
.btn-group-fab .btn {
    position: absolute;
    bottom: 30px;
    border-radius: 50%;
    display: block;
    margin-bottom: 4px;
    width: 40px; height: 40px;
    margin: 4px auto;

}
.btn-group-fab .btn-main {
    width: 50px; height: 50px;
    right: 50%; margin-right: -25px;
    z-index: 9;    box-shadow: 1px 1px 5px #777;
}
.btn-group-fab .btn-main#scansione-sensore-and {
    bottom: 100px!important;
    padding: 0;
}
/*.btn-group-fab .btn-sub {
    bottom: 0; z-index: 8;
    right: 50%;
    margin-right: -20px;
    -webkit-transition: all 2s;
    transition: all 0.5s;
}*/
/*.btn-group-fab.active .btn-sub:nth-child(2) {
    bottom: 60px;
}
.btn-group-fab.active .btn-sub:nth-child(3) {
    bottom: 110px;
}
.btn-group-fab.active .btn-sub:nth-child(4) {
    bottom: 160px;
}
.btn-group-fab .btn-sub:nth-child(5) {
    bottom: 210px;*/
}
/*FINE FLOATING BUTTON */

