﻿html, body {
    height: 100%;
}

.viewport {
    height: 100%;
    text-align: center;
    position: relative;
}

.logo-clinica {
    margin-top: 150px;
}

.logo-clinica-demo {
    margin-top: 100px;
}

.testo-centrale {
    margin-top: 150px;
}

.testo-centrale-demo {
    margin-top: 100px;
}

.logo-amihitech {
    height: 100px;
    position: absolute;
    left: 0;
    bottom: 80px;
}

.logo-tecnoin {
    height: 80px;
    position: absolute;
    right: 0;
    bottom: 80px;
}

body {
    padding-top: 50px;
}

body.wait {
    cursor: wait;
}

.navbar-inverse {
    background-image: linear-gradient(to right, #001e4a, #003e6c, #005f8c, #0083a8, #00a7c0);
    border-color: dodgerblue;
    font-family: "SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;

}

.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a {
    color: ivory;
}

.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-nav > li > a:hover {
    color: grey;
}

.navbar-inverse .navbar-nav > li.active {
    background-color: blue;
}

.navbar-inverse .navbar-nav > .open > a, 
.navbar-inverse .navbar-nav > .open > a:hover, 
.navbar-inverse .navbar-nav > .open > a:focus {
    color: white;
    background-color: darkblue;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    font-family: Roboto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea,
.input-group {
    max-width: 280px;
}

/* Highlight table row */
.table tbody tr.highlight td {
  background-color: #eee;
  cursor: pointer;
}

.table tbody tr.highlight-click td {
  background-color: #ddd;
  cursor: pointer;
}

/* Highlight div table row */
div.table div.highlight div {
  background-color: #eee;
  cursor: pointer;
}

div.table div.highlight-click div {
  background-color: #ddd;
  cursor: pointer;
}

.currency {
    text-align: right;
}

.hand-on-hover:hover {
    cursor: pointer;
}

div.modal.scrollable .modal-dialog {
    overflow-y: initial !important;
}

div.modal.scrollable .modal-body {
    height: 500px;
    overflow-y: auto;
}

.form-control[readonly] {
    background-color: none !important;
}



/*** FullCalendar Personal Style ***/


#calendar { 
    text-transform: lowercase;
}

.fc-content {
    font-size: 1.3em;
}

.fc-time-grid .fc-slats td {
    border-bottom: 0;
}

.fc-time-grid-event {

    margin: 2px;

}


.fc-highlight { /* when user is selecting cells */
	background: #0000FF;
	opacity: 0.7;
}

#btnFullscreen {
    float: right
}


.fullscreen {
    width: 100vw;
}

/***********************************/




/* Checkbox style */

.checkbox label {
    padding-left: 0;
}

.checkbox label:after {
  content: '';
  display: table;
  clear: both;
}

.checkbox .cr {
  position: relative;
  display: inline-block;
  border: 1px solid #a9a9a9;
  border-radius: .25em;
  width: 1.3em;
  height: 1.3em;
  float: left;
  margin-right: .5em;
}

.checkbox .cr .cr-icon {
  position: absolute;
  font-size: .8em;
  line-height: 0;
  top: 50%;
  left: 20%;
}

.checkbox label input[type="checkbox"] {
  display: none;
}

.checkbox label input[type="checkbox"]+.cr>.cr-icon {
  opacity: 0;
}

.checkbox label input[type="checkbox"]:checked+.cr>.cr-icon {
  opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled+.cr {
  opacity: .5;
}

.no-padding-side {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/******************/




.datepicker {
    z-index: 10000;
}

.form-group.required .control-label:after { 
    content:"*";
    color:red;
}

.nav-tab-group.required .nav-tab-title:after {
    content:"*";
    color:red;
}

.navbar-sub {
    margin-top: 51px;
    background-color: white;
    z-index: 9;
}

.navbar-sub hr {
    margin-top: 4px;
    margin-bottom: 10px;
}

.navtab-sub {
    margin-top: 115px;
    padding-top: 2px;
    background-color: white;
    z-index: 8;
}

.navbar.navbar-fixed-bottom {
    background-color: white;
}

.time-picker {
    margin-top: 10px;
    width: 80px;
}


#standalone-container {
    margin: 50px auto;
    max-width: 1000px;
}

#editor-container {
    height: 1600px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

a.submenu-link i {
    float: right;
    margin-top: 3px;
}

/* CRUD Cliente */
#fotoClientePanel input, #fotoClientePanel .input-group {
    max-width: none;
}

.img-qr-code-foto-cliente {
    display: block;
    margin: auto;
}

/* Visita */
.visita-container .tab-dati-visita h3 {
    text-align: center;
}

.visita-container input, .visita-container select, .visita-container textarea, .visita-container .input-group {
    max-width: none;
}


.visita-container .select2, #laserVisitaModal table, #laserVisitaModal .select2 {
    width: 100% !important;
}

.visita-container .tab-dati-visita legend {
    font-size: 16px;
    font-weight: bold;
}

.visita-container .tab-dati-visita textarea {
    overflow-x: hidden;
}

.visita-container .tab-dati-visita a:hover {
    outline: none;
    text-decoration: none;
}

.visita-container .tab-dati-visita a:focus {
    outline: none;
    text-decoration: none;
}

.visita-container .tab-dati-visita a::after:not(.aprischedapaziente) {
    content: "\f106";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
}

.visita-container .tab-dati-visita a.collapsed::after:not(.aprischedapaziente) {
    content: "\f107";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
}

#laserVisitaModal td {
    padding: 3px;
}

#laserVisitaModal td.label-table {
    text-align: right;
}

#nomeTipologiaTrattamento {
    padding-top: 7px;
}

#tipologiaTrattamentoModal select {
    max-width: none;
}

.visita-container .table-laser {
    width: 100%;
    background-color: #f1f1f1;
    margin: 15px 0;
}

.visita-container .table-laser td {
    padding: 3px;
    height: 34px;
}

.visita-container .table-laser td.label-table {
    text-align: right;
    font-weight: bold;
}

.tab-foto-content {
    margin-bottom: 100px;
}

/* Customer Style */

table.scrollable {
    width: 100%;
}

table.scrollable thead,
table.scrollable tbody,
table.scrollable tr,
table.scrollable td,
table.scrollable th {
    display: block;
}

table.scrollable tr:after {
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
}

table.scrollable thead th {
    height: 30px;
    /*text-align: left;*/
}

table.scrollable tbody {
    min-height: 50px;
    overflow-y: auto;
}

table.scrollable thead {
    /* fallback */
}


table.scrollable tbody td,
table.scrollable thead td,
table.scrollable thead th {
    float: left;
}

.tb-col-1 {
    width: 8.33%;
}

.tb-col-2 {
    width: 16.66%;
}

.tb-col-3 {
    width: 25%;
}

.tb-col-4 {
    width: 33.33%;
}

.tb-col-5 {
    width: 41.66%;
}

.tb-col-6 {
    width: 50%;
}

.tb-col-7 {
    width: 58.33%;
}

.tb-col-8 {
    width: 66.66%;
}

.tb-col-9 {
    width: 75%;
}

.tb-col-10 {
    width: 83.33%;
}

.tb-col-11 {
    width: 91.66%;
}

.tb-col-12 {
    width: 100%;
}

.pagination-container {
    text-align: center;
}

/*
.customers-style tbody td, .customers-style thead th {
    width: 25%;
}
    */

.btn-modifica-riga {
    float: left;
}

.btn-elimina-riga {
    float: left;
}

.riga-view {
    padding-top: 7px;
}

.riga-timbro input {
    max-width: none;
}

.riga-timbro input[type="checkbox"] {
    margin: 0;
    width: 25px;
}


.panel {
    -webkit-box-shadow: 2px 1px 83px 19px rgba(0,0,0,0.07);
    -moz-box-shadow: 2px 1px 83px 19px rgba(0,0,0,0.07);
    box-shadow: 2px 1px 83px 19px rgba(0,0,0,0.07);


border-radius: 19px;
padding: 20px;
border: none;
}


.table-content {
    font-size: 16px;
}

.table-content tr:nth-child(even) {background-color: #f2f2f2;}

.table-content td { border-bottom: none !important; border-top: none !important }

#visitePrecedentiTable {
    font-size: 16px;
}

#visitePrecedentiTable tr:nth-child(even) {background-color: #f2f2f2;}

#visitePrecedentiTable td { border-bottom: none !important; border-top: none !important }



#btnSave {
    background-color: #80ff80 ;
    color: #185f21;
    border: none;
}

#btnFattura {
    background-color: #aaaaff ;
    color: #000044;
    border: none;
}

#btnDelete {
    background-color: #ff0000 ;
    color: #ffffff;
    border: none;
}



#btnCartellaClinica {
    background-color: #ffa489 ;
    color: #522500;
    border: none;
}

#btnElimina {
    background-color: #ff4d40 ;
    color: #ffffff;
    border: none;
}


#model-event-anagrafica {
    background-color: #c8ff00 ;
    color: #3b3f00;
    border: none;
}

#modal-event-visita {
    background-color: #00a7d1 ;
    color: #f5f5f5;
    border: none;
}

#modal-event-visitalaser {
    background-color: #2c002c ;
    color: #ffd7fd;
    border: none;
}

#modal-event-visitachirurgica {
    background-color: #7d6c04;
    color: #faeea2;
    border: none;
}



#btnStampaPri {
    background-color: #c8ff00 ;
    color: #3b3f00;
    border: none;
}

#btnStampaDoc {
    background-color: #2c002c ;
    color: #ffd7fd;
    border: none;
}

#btnStampaCon {
    background-color: #00a7d1 ;
    color: #002024;
    border: none;
}


#btnStampaFatt {
    background-color: #161616 ;
    color: #eeeeee;
    border: none;
}

#btnStampaScheda {
    background-color: #009e69 ;
    color: #f8f8f8;
    border: none;
}


#covid-19 {
    background-color: #ff0000;
    color: #ffffff;


}


fieldset {
-webkit-box-shadow: 2px 1px 83px 19px rgba(0,0,0,0.07);
    -moz-box-shadow: 2px 1px 83px 19px rgba(0,0,0,0.07);
    box-shadow: 2px 1px 83px 19px rgba(0,0,0,0.07);



border-radius: 19px;
padding: 20px;
border: none !important;

margin-bottom: 20px !important;
}



#loginForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    -webkit-box-shadow: -13px 13px 5px 0px rgba(0,0,0,0.13);
-moz-box-shadow: -13px 13px 5px 0px rgba(0,0,0,0.13);
box-shadow: -13px 13px 5px 0px rgba(0,0,0,0.13);
border-radius: 19px;
padding: 20px;
border: none !important;

    font-family: "SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;

}



#loginForm .form-horizontal {
        width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.form-group {
    width: 100%;
}


.modal-header {
    border-bottom: none;
}


#modal-event-paziente {
    font-size: 30px;
}

.modal-content {
    border: none;
    border-radius: 34px;
}

.modal-footer {
    border-top: none;
    padding: 15px;
    text-align: right;
    /* border-top: 1px solid #e5e5e5; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}



#selectionBox {
    width: 800px;
}


#selectionBox > div > div.modal-body > div:nth-child(2) {
    margin-top: 20px;
}


.anagrafica_annotazioni {
   height: 300px !important;
   resize: vertical;
   max-width: 100% !important;
}

.div-table-header {
    font-weight: bold;
    color: rgb(51,51,51);
    border-width: 1px 0;
    border-style: solid;
    border-color: rgb(221,221,221);
    border-collapse: collapse;
    padding: 9px 0;
}

.div-table-row {
    color: rgb(51,51,51);
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: rgb(221,221,221);
    border-collapse: collapse;
    padding: 9px 0;
}

div.table div.div-table-row.highlight {
    background-color: #eee;
    cursor: pointer;
}

div.table div.div-table-row.highlight-click {
    background-color: #ddd;
    cursor: pointer;
}

/* Griglia delle immagini */
.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Contenitore per ogni immagine */
.photo-box {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 3px solid transparent;
}

    /* Immagini responsive che mantengono le proporzioni */
    .photo-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    /* Stile quando un'immagine è selezionata */
    .photo-box.selected {
        border: 3px solid #007bff;
    }

/* Overlay con check */
.check-overlay {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 123, 255, 0.8);
    color: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    display: none;
}

/* Mostra l'overlay quando l'immagine è selezionata */
.photo-box.selected .check-overlay {
    display: flex;
}