/* CUSTOM */

body 
{
  font-family: 'Montserrat', sans-serif;
}

h1
{
  line-height: 2;
}
.h3, h3 
{
    font-size: 1.25rem;
    display: inline;
}
.float-right 
{
    float: right !important;
    text-align: right;
}
.btn-primary 
{
    color: #fff !important;
}
.btn-tertiary 
{
  background-color: red !important;
  color: #fff !important;
}
.fc-state-default 
{
  background-color: #0060c8;
  background-image: none;
  color: #fff;
}
.fc-state-default.fc-state-active 
{
  background-color: #0060c8d4;
}
td.fc-day-top.fc-today ,
.fc-day-header.fc-widget-header.fc-today 
{
  background-color: #0049a2 !important;
}
.fc-today-button.fc-button.fc-state-default.fc-corner-left.fc-corner-right.fc-state-disabled 
{
  background: #0049a2 !important;
  opacity: 1;
}
.loader img 
{
  margin: 0 auto;
  display: block;
}
.hide 
{
  display: none;
}
#popup-allert 
{
  background:#0006;
}

/* HEADER */
header .header
{
  background-color: #f8f9fa!important;
}
.navbar {
  max-width: 90%;
  margin: 0 auto;
}
.navbar-light .navbar-brand {
  color: #000000a3;
  font-weight: 600;
  font-size: 30px;
}

/* FOOTER */

footer 
{
  margin-top: 50px;
  background-color: #f8f9fa;
  padding: 20px 0;
  font-size: 12px;
}

.footer
{
  max-width: 90%;
  margin: 0 auto;
}

footer.fix_bottom {
  position: absolute;
  width: 100%;
  bottom: 0;
}

/* POPUP SCHEDA CALDAIA */

.cliente-data button.close {
  margin-left: 20px;
}

.cliente-data {
    padding: 5px;
}

.scheda-head {
    margin-bottom: 20px;
    padding: 10px;
}

.scheda-cliente{
  margin-bottom: 30px;
  background-color: #ff000012;
  padding: 10px;
  border-radius: 10px;
}

.scheda-caldaia {
  margin-bottom: 30px;
  background-color: #1bff0012;
  padding: 10px;
  border-radius: 10px;
}

.scheda-note {
  margin-bottom: 30px;
}

.scheda-cliente .form-control:disabled, .scheda-cliente .form-control[readonly],
.scheda-caldaia .form-control:disabled, .scheda-caldaia .form-control[readonly] {
  background-color: #00000008;
}

.scheda-manutenzioni {
    border: 1px solid #000;
    padding: 10px;
}

#salva_modifica_caldaia, #salva_modifica_cliente, #salva_modifica_note {
    display: none;
}

#modifica_caldaia, #modifica_cliente, #modifica_note {
    display: block;
}

td.lista_data_manutenzione {
    width: 15%;
    font-size: 12px;
}
td.lista_modifica_manutenzione {
    width: 70%;
}

.modifica-manutenzione {
    display: block;
}
.salva-manutenzione {
    display: none;
}

thead tr {
    background-color: #007bff;
    color: white;
}

textarea.manutenzione-textarea{
    font-size:11px;
}

#popupModal-scheda-cliente .modal-lg {
  max-width: 99%;
}
#popupModal-scheda-cliente .modal-lg .container {
  max-width: 100%;
}

.btn-mod {
  width: fit-content;
  float: right;
  margin-bottom: 10px;
}

/* CALENDAR */

.page-calendar #wrap {
    margin: 0 auto;
}

.container-fluid.page-calendar {
  max-width: 90%;
}
    
.page-calendar #external-events {
  
    padding: 0 10px;
    border: 1px solid #ccc;
    background: #eee;
    text-align: left;
    border-radius: 10px;
    background: #f8f9fa;
    margin-top: 25px;
}
    
.page-calendar #external-events h4 {
    font-size: 16px;
    margin-top: 0;
    padding-top: 1em;
}
    
.page-calendar #external-events .fc-event {
    margin: 10px 0;
    cursor: pointer;
}

.fc-event, .fc-event:hover {
  color: #000;
}
    
.page-calendar #external-events p {
    margin: 1.5em 0;
    font-size: 11px;
    color: #666;
}
    
.page-calendar #external-events p input {
    margin: 0;
    vertical-align: middle;
}

.aggiungi-cliente {
  float: right;
  background-color: #00ab00;
  border-color: #00ab00;
}
.aggiungi-cliente:hover {
  background-color: #008c00;
  border-color: #008c00;
}
#delete_event_confirm,
#delete_cliente_confirm
{
  display: none;
}

.fc-event-container .fc-content .fc-time,
.fc-event-container .fc-content .fc-title 
{
  display: none;
}

.fc-event
{
  text-align: center;
}
.revisione
{
  color: #000;
  background-color: #ff9800b3;
  border: 1px solid #ff9800b3;
}
.assistenza
{
  color: #000;
  background-color: #ffeb3b87;
  border: 1px solid #ffeb3b87;
}
.generico
{
  color: #000;
  background-color: #03a9f48a;
  border: 1px solid #03a9f48a;
}


.fc-event.revisione.ui-draggable:hover {
  background-color: #dc8300b3;
  border: 1px solid #dc8300b3;
}
.fc-event.assistenza.ui-draggable:hover {
  background-color: #ffe500a6;
  border: 1px solid #ffe500a6;
}
.fc-event.generico.ui-draggable:hover {
  background-color: #00a5efc7;
  border: 1px solid #00a5efc7;
}

#external-events-listing .fc-event {
  padding: 5px 0;
}
.fc-title {
  font-weight: bold;
}


.info-detail-fullcalendar{
  font-size: 11px;
  margin-bottom:1px;
}

.remider-title{
  padding: 15px 0;
  font-size: 16px;
}

.old-revision{
  border: 1px solid grey;
  background-color:#f0f0f0;
  padding:5px;
  border-radius:5px;
  font-size: 12px;
}

.old-revision-row{
  margin: 0 5px;
}

.print-button{
      margin-left: 20px;
    margin-top: 5px;
}
.old-revision.revisione_fissata {
  background-color: #d6d6d6;
}
.old-revision.revisione_fissata div.old-revision-row{
  text-decoration: line-through;
}

/*LOGIN*/
.login-html,
.login-body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #fcfcfc !important;
}
.error {
  color: red;
}
.user_card {
  height: 400px;
  width: 350px;
  margin-top: auto;
  margin-bottom: auto;
  background: #000000a3;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 5px;
}
.brand_logo_container {
  position: absolute;
  height: 170px;
  width: 170px;
  top: -75px;
  border-radius: 50%;
  background: #00000063;
  padding: 10px;
  text-align: center;
}
.brand_logo {
  height: 150px;
  width: 150px;
  border-radius: 50%;
  border: 2px solid white;
}
.logo {
  margin-top: 20px;
  font-size: 100px;
  color: red;
}
.form_container {
  margin-top: 100px;
}
.login_btn {
  width: 100%;
  background: red !important;
  color: white !important;
}
.login_btn:focus {
  box-shadow: none !important;
  outline: 0px !important;
}
.login_container {
  padding: 0 2rem;
}
.input-group-text {
  background: red !important;
  color: white !important;
  border: 0 !important;
  border-radius: 0.25rem 0 0 0.25rem !important;
}
.input_user,
.input_pass:focus {
  box-shadow: none !important;
  outline: 0px !important;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: red !important;
}


/** LISTA CLIENTI **/

#lista_clienti 
{
  display: none;
}
.lista-clienti 
{
  max-width: 90%;
}

.scheda-note form 
{
  width: 100%;
}

.cliente-data input,
.cliente-data textarea 
{
    font-size: 14px;
}
.cliente-data input.cliente_email 
{
  font-size: 12px;
}