@charset "utf-8";
/* CSS Document */
body {
    background: #FFF;
    font-family: "Open Sans", sans-serif;
    font-weight: normal;
}

.sfondo {
    padding-top: 100px;
    padding-bottom: 40px;
    min-height: calc(100vh);
    background-image: url(../img/sfondo.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.navbar-brand {
    color: #ff0000 !important;
    font-size: 1.5em;
}

.bg-light {
    background-color: #FFF !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.30);
}

.navbar-collapse {
    flex-grow: inherit !important;
}

.nav-link {
    background: #FFF;
    color: #F00 !important;
    border-radius: 20px;
    padding: 0px 20px 0px 0px !important;
    margin-right: 10px;
    font-weight: 500;
    font-size: 18px;
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.2);
    transition-duration: 0.5s;
}

.nav-link:hover {
    background: #F00;
    color: #FFF !important;
}

.nav-link .fas {
    background: #F00;
    color: #FFF !important;
    padding: 10px;
    border-radius: 50%;
}

.card {
    margin-bottom: 10px;
    border: none !important;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.primoacc { 
    background: #FF0000;
}
.primoacc .card-title {
    color: #FFF;
}
.primoacc .card-title:after {
    background: #000;
}
.primoacc .card-subtitle{
    color: #EEE !important;
}

.card-img-top {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.card-title {
    font-size: 1.5em;
}

.card-title:after {
    content: "";
    width: 100px;
    height: 2px;
    background: #F00;
    display: block;
    margin: auto;
}

.homepage {
    background: none;
    box-shadow: none;
}

.homepage .card-title {
    font-size: 2em;
    color: #F00;
}

.homepage .card-title:after {
    display: none;
}

.homepage .card-text {
    font-size: 1.5em;
    color: #777;
}

.riqhome {
    min-height: 130px;
}

.form-control, .form-select {
    border-radius: 20px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}

.sesso {
    display: block;
    width: 100%;
}

.form-label {
    color: #777;
    font-weight: 600;
}

.btn-primary {
    background: #F00;
    color: #FFF !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 18px;
    border: none;
}

.btn-primary:hover, .btn-primary:focus {
    background: #F0F0F0;
    color: #F00 !important;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.btn-secondary {
    border: none;
    color: #777;
    background: #FFF;
    border-radius: 20px;
}

.btn-info {
    background: #CCC;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
}

.btn-info:hover, .btn-info:focus {
    background: #F0F0F0;
    color: #F00 !important;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.btn-check:checked + .btn-secondary {
    background: #F00 !important;
}

@media screen and (max-width: 600px) {
    .nav-link {
        margin: 10px 0px;
    }
}

.modal {
    backdrop-filter: blur(3px);
}

.modal-header {
    border: none;
    background: #F00;
    color: #FFF;
    border-radius: 20px;
}

.modal-content {
    border: none;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.modal-open {
    overflow: auto;
    padding-right: 0px !important;
}

.modal-backdrop.show {
    opacity: 0;
}

.icone-dati {
    font-size: 50px;
    color: #F00;
    padding: 0px 15px;
}

.range-output {
    font-size: 24px;
    color: #F00;
    font-weight: 800;
    padding: 15px;
}

.rangeslider__fill {
    background: #F00 !important;
}

.rangeslider__handle {
    border: 2px solid #F00 !important;
}

/* -------------------------- CHAT BOOT -------------------------- */
.chatboot {
    position: fixed;
    bottom: 50px;
    right: -30px;
    background: #FFF;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 10px;
    width: 100px;
    display: block;
    z-index: 1000;
    cursor: pointer;
}

@media only screen and (max-width: 600px) {
    .messb { display: none !important;}
}
.messb {
    width: 300px;
    display: block;
    height: 80px;
    position: fixed;
    border: 1px solid #F00;
    padding: 5px;
    bottom: 150px;
    right: 0px;
    background: #FFF;
    border-radius: 10px;
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-animation: mostramessb 5s ease-out;
    animation: mostramessb 5s ease-out;
}

.messb:before {
    width: 0;
    height: 0;
    content: "";
    bottom: -20px;
    right: 20px;
    position: absolute;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #F00;
}

.messb:after {
    width: 0;
    height: 0;
    content: "";
    bottom: -19px;
    right: 20px;
    position: absolute;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #FFF;
}

@-webkit-keyframes mostramessb {
    0% {
        opacity: 0;
    }
    80% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes nascondimessb {

    100% {
        opacity: 0;
    }
}

.finestra-chatboot .modal-header {
    border: none;
    background: #FFF;
    color: #F00;
}

.finestra-chatboot .modal-content {
}

.domande-questionario {
    padding: 10px;
}

.card-questionario {
    padding: 15px;
    margin-top: 10px;
}

.img-questionario {
    position: relative;
}

.img-questionario > img {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.btn-domanda-questionario {
    margin: 5px;
}

.btn-close-chatbot-msg {
    position: relative;
    float: right;
    bottom: 20px;
    width: 5px;
    height: 5px;
}

.row-dati-paziente {
    padding: 10px 0px;
}

.iconastato {
    font-size: 50px;
}

.testoselezione {
    font-weight: 600;
}

.valore {
    font-size: 40px;
    border-radius: 20px;
    box-shadow: inset 0px 0px 10px #CCC;
}

.rosso {
    color: #F00;
}

.giallo {
    color: #efba3c;
}

.verde {
    color: #24C922;
}

.consiglio-stile-vita {
    margin: 15px 12px;
    padding: 10px 12px;
    font-size: 14px;
    background-color: #CCE5FF;
    border-radius: 20px;
}

/* Datepicker */
.day {
    padding: 5px;
}

.datepicker table tr td.active {
    background: #F00 !important;
}

.datepicker table tr td span.active {
    background: #F00 !important;
}

.dow {
    padding: 5px;
}

.month {
    padding: 1px 5px;
}

/* DataTable */

.page-item.active .page-link {
    background: #F00 !important;
    border-color: #F00 !important;
}

/* Bottone INFO */
button.info {
    padding: 10px;
    vertical-align: bottom;
    position: relative; /* Anything but static */
    width: 1.5em;
    height: 1.5em;
    text-indent: -9999em;
    display: inline-block;
    color: white;
    font-weight: bold;
    font-size: 1em;
    line-height: 1em;
    background-color: #91b2d2 !important;
    border-color: #91b2d2 !important;
    margin-left: .25em;
    -webkit-border-radius: .75em;
    -moz-border-radius: .75em;
    border-radius: .75em;
}

button.info:before {
    content: "?";
    position: absolute;
    top: .25em;
    left: 0;
    text-indent: 0;
    display: block;
    width: 1.5em;
    text-align: center;
}

/* REPORT */
.paginareport {
    box-shadow: 0px 0px 10px #ccc;
    width: 190mm;
    margin: auto;
    padding: 5mm;
}
#areaDiStampa {
    font-size: 3mm;
}
#areaDiStampa h1 { color:#F00; font-size: 10mm;}
#areaDiStampa table th { padding:1mm; background: #EEE; }
#areaDiStampa table td { padding:1mm;}
#areaDiStampa .rigavalori {background: #DDD;}
#areaDiStampa .before {
    page-break-before: always;
}

.elemento-da-scrollare {
    scroll-margin-top: 80px;
}

.risposta-chatbot {
    display: block;
    padding: 10px;
    background: #FFF;
    color: #F00 !important;
    border-radius: 20px;
    margin-right: 10px;
    font-weight: 500;
    font-size: 18px;
    box-shadow: inset 0px 0px 5px rgb(0 0 0 / 20%);
    transition-duration: 0.5s;
}

.btn-chatbot-canc-risp {
    background: #F00;
    color: #FFF !important;
    border-radius: 30px;
    font-size: 18px;
    border: none;
}