/* @import url('https://fonts.cdnfonts.com/css/sans-comic-sans'); */
*{
  padding: 0;
  margin: 0;
  font-family: 'Sans Comic Sans', sans-serif;
  color: #111154;
}
body {
  background-color: #B3BAC7;
  }
  
  #header {
  }

  .header_title{
    /* background-color: rebeccapurple; */
    font-size: 2em;
    font-weight: 500;
    display: inline-block;
    width:250px;
    position: absolute;
    right: 20px;
  }
  #buttons {
    float: left;
  }
  #buttons button{
    background-color: #E1E9F5;
    border: 1px solid black;
    padding:10px;
    border-radius: 10px;
    color: #111154;
    font-size: 1em;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
  }
  
  #content {
    display: flex;
    width:100%;
    max-height: 60vh;
  }
  
  .table-container1 {
    background-color: #E1E9F5;
    border: 1px solid black;
    width:60%;
    border-radius: 30px;
    margin-left: 10px;
    padding:30px;
    padding-right:30px;
    text-align:right;
  }
  .space{
      width:10%;
  }
  .div_legna{
    width:20%;
    margin-left: 10px;
    margin-left: 10px;

    background-color: #C7D3E6;
    border: 1px solid black;
    /* width:50%; */
    /* height: 300px; */
    height: 90%;
    border-radius: 30px;
    margin-left: 10px;
    padding:30px;
    padding-right:30px;
  }
  .div_legna table{
    /* max-height: 70%; */
    /* width: 10px !important; */
  }
  .space_2{
    width:20%;
  }
  .table-container2 {
    background-color: #E1E9F5;
    border: 1px solid black;
    width:35%;
    border-radius: 30px;
    padding:30px;
    margin-right: 10px;
    text-align:right;
  }
  .table-container input {
    margin-bottom: 10px;
  }
  
  .down-section {
    /* width: 90vw; */
    display: flex;
    height: 20vh;
    margin:auto;
    margin-top: 30px;
  }
table td,th{
  /* padding-left:15px; */
  padding-right:15px;
}
table,td,th{
  border: 1px solid black;
  border-collapse: collapse;
}
table{
  width: 100%;
}
.selection-div{
  /* background-color: red; */
}
.ricerca{
  width: 100%;
  /* background-color: gray; */
}
.ricerca input{
  width: 155px;
}
.titolo_tabella{
  text-align:left;
  font-size: 1.4em;
  font-weight: 300;
}
.div_capitale{
  background-color: #C7D3E6;
  border: 1px solid black;
  width:50%;
  /* height: 300px; */
  height: 90%;
  border-radius: 30px;
  margin-left: 10px;
  padding:30px;
  padding-right:30px;
}
.div_guadagni{
  background-color: #C7D3E6;
  border: 1px solid black;
  width:25%;
  /* height: 300px; */
  height: 100%;
  border-radius: 30px;
  margin-left: 10px;
  margin-right: 10px;
  padding:10px;
  padding-bottom:30px;
  padding-right:30px;
}
.div_guadagni span{
}
.corto{
  display: inline-block;
  text-align: center;
  width: 210px;
  /* font-size: 1.1em; */
  font-size: 0.8em;
}
.risultato{
  color: #6587A8;
  font-size: 1.1em;
}
.guadagni_selection{
  width: 100%;
  font-size: 12px;
text-align: center;
margin-bottom: 5px;
}
.acquisto_selection{
  width: 100%;
  font-size: 12px;
text-align: center;
margin-bottom: 5px;
}
.guadagni_info{
  margin: auto;
  width: 100%;
  text-align: center;
  margin-top: 3px;
}
.acquisti_info{
  margin: auto;
  width: 100%;
  text-align: center;
  margin-top: 3px;
}
.div_capitale table{
  overflow-y: auto;
}
.div_capitale div{
  float: left;
  width: 33%;
  height: 90%;
}
.saldo{
  display: flex;
  align-items: center;
}
.saldo .denaro{
  padding: 5px;
  margin-left: 5px;
}
.denaro_verde{
  background-color: #A8E1C5;
  border: 2px solid #A0CCA7;
}
.denaro_rosso{
  background-color: #b85a5a;
  border: 2px solid #613535;
}
.spese_recenti{
  overflow-y: scroll;
  text-align: center;
  max-height: 80%;
}
.spese_recenti table{
  max-width: 90%;
  max-height: 90px;
  overflow-y: scroll;
  margin:auto;

}
.spese_recenti table td{
  color: red;
  height: 50px;
}

.entrate_recenti{
  text-align: center;
  overflow-y: scroll;
  max-height: 80%;
}
.entrate_recenti table{
  max-width: 90%;
  margin:auto;
}
.entrate_recenti table td{
  color: green;
  height: 50px;
}

.sfondo{
  visibility: hidden;
  display: none;
  height: 100vh;
  width: 100vw;
  background-color: rgb(113, 152, 166);
  opacity: 0.7;
  position: absolute;
  top:0;
}
.form_vendita,.form_modifica_vendita, .form_cliente,.form_modifica_cliente, .form_spesa, .form_acquisto, .form_modifica_legna{
  z-index: 100;
  visibility: hidden;
  display: none;
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: rgb(74, 96, 124);
  box-shadow: inset 50px 50px 50px 50px rgba(94, 116, 144, 0.5);
  border-radius: 30px;
  top: 30%;
  left: calc(50% - 200px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.form_vendita img,.form_modifica_vendita img,.form_cliente img,.form_modifica_cliente img, .form_spesa img, .form_acquisto img, .form_modifica_legna img{
  position: absolute;
  top: 10px;
  right: 10px;
}
.form_vendita form,.form_modifica_vendita form,.form_cliente form,.form_modifica_cliente form, .form_spesa form, .form_acquisto form, .form_modifica_legna form{
  text-align: center;
}
.form_vendita button,.form_modifica_vendita button, .form_cliente button,.form_modifica_cliente button, .form_spesa button, .form_acquisto button, .form_modifica_legna button{
  font-size:1.2em; 
  border: 2px solid rgba(94, 116, 144);
  padding: 3px;
  background-color:rgb(66, 76, 92);
  margin-top: 10px;
}
.body_login {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  margin: 0;
}
.form_login{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px; 
  background-color: #E1E9F5;
  border: 1px solid black;
  border-radius: 30px;
  margin-left: 10px;
  padding:30px;
  padding-right:30px;
  text-align:center;
}
.form_login input{
  width: 200px;
  height: 20px;
  font-size: 17px;
  border: 1px solid rgb(34, 45, 71);
}
.form_acquisto input,.form_modifica_vendita input, .form_spesa input,.form_cliente input,.form_modifica_cliente input,.form_vendita input{
  /* width: 200px; */
  height: 20px;
  font-size: 15px;
}
.switch {
  position: relative;
  display: block;
  width: 60px;
  height: 25px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

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

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

input:checked + .slider:before {
  -webkit-transform: translateX(35px);
  -ms-transform: translateX(35px);
  transform: translateX(35px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 30px;
}

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

.acquisto_selection{
  display: none;
  visibility: hidden;
}
.acquisti_info{
  display: none;
  visibility: hidden;
}