/*

oscuro:                               navy;
resaltar pero sin llegar al anterior: #00008085
fondo claro general:                  rgb(188, 199, 252);
más claro, tipo fila impar:           #ced6fd;
el más claro sin ser blanco:          #ffffff96;

*/


body {
  background-color: rgb(188, 199, 252); 
  /*este cambio es para ver la versión en trabajo en rosado
  background-color: rgb(189, 252, 188);*/
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  display: block;
  margin: 3px;

}

body {}
h1 {
  color: navy;
  margin-left: 20px;
}
h2 {
  float: left;
  width: 65%;
  margin-top: 22px;
  margin-bottom: 22px;
}

h3 {
  margin-top: 22px;
  margin-bottom: 22px;
  font-size: 26px;
}
span.tag {
  background-color: #00008085;
  color: white;
  font-weight: bold;
}

span.timet {
  background-color: #ffffff96;
  color: black;
  font-weight: bold;

}
span.snip {
  font-weight: bold;
}
a {
	text-decoration: none;
	color: navy;
}
a:hover {
 	text-decoration: underline;
}

.button {
  background-color: navy;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline;
  font-size: 16px;
  font-family: 'Quicksand', sans-serif;
  margin: 2px 2px;
  cursor: pointer;
}
.button3 {
  background-color: navy;
  color: white;
  padding: 5px 5px;
  text-align: center;
  text-decoration: none;
  display: inline;
  font-size: 16px;
  font-family: 'Quicksand', sans-serif;
  margin: 2px 2px;
  cursor: pointer;
  border-style: solid;
  border-width: 1px;
  border-color: navy;
}

.button3:hover {
  background-color: rgb(188, 199, 252);
  color: navy;
  border-style: solid;
  border-width: 1px;
  border-color: navy;
}

.button3selected {
  background-color: #ffffff96;
  border: none;
  color: navy;
  padding: 5px 5px;
  text-align: center;
  text-decoration: none;
  display: inline;
  font-size: 16px;
  font-family: 'Quicksand', sans-serif;
  margin: 2px 2px;
  cursor: pointer;
  }


.button2 {
  background-color: navy;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-family: 'Quicksand', sans-serif;
  margin: 2px 2px;
  cursor: pointer;
}
.button4 {
  background-color: transparent;
  border: none;
  color: black;
  padding: 3px 3px;
  text-align: center;
  text-decoration: none;
  display: inline;
  font-size: 18px;
  font-family: 'Quicksand', sans-serif;
  margin: 2px 2px;
  cursor: pointer;
}
.button4:hover {
  text-decoration: underline;
}

.button5 {
  background-color: transparent;
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

.button5:hover {
  background-color: rgb(188, 199, 252);
  color: navy;
}

.button5x {
  background-color: #5c63bb;
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

.button5x:hover {
  background-color: rgb(188, 199, 252);
  color: navy;
}


.form {
  font-size: 18px;
}
.hide-submit {
  position: absolute;
  visibility: hidden;
}
section.lateral {
  background-color: navy;
  float: left;
  padding: 20px;
  width: 20%;
  overflow: auto;
  height: 500px;
}
div.main {
  height: 430px;
  overflow: auto;
  padding: 20px;
}
table.general {
  border-collapse: collapse;
  border: 1px solid black;
  text-align: center;
}
table.general th {
  border-collapse: collapse;
  border: 1px solid black;
  text-align: center;
}
table.general tr {
  border-collapse: collapse;
  border: 1px solid black;
  text-align: center;
}
.inputedad {
  background-color: navy;
  color: white;
  font-family: 'Quicksand', sans-serif;
  text-align: center;
  font-size:18px;
  width: 100px;
  border: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.inputnumber {
  background-color: rgb(188, 199, 252);
  font-family: 'Quicksand', sans-serif;
  text-align: center;
  font-size:18px;
  width: 100px;
  border: none;
}
.inputext {
  background-color: rgb(188, 199, 252);
  font-family: 'Quicksand', sans-serif;
  text-align: left;
  font-size:18px;
  border:1px solid navy;
  padding: 2px;
}



.tabladecomandos {
  text-align: center;
}
.tabladecomandos td {
  width: 20px;
  padding: 3px;
}
#experimento {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 5px;
  margin-top: 5px;
}
#experimento td, #experimento th {
  border: 1px solid #ddd;
  padding: 4px;
  font-size: 18px;
}
#experimento tr:nth-child(even){
  background-color: #ced6fd;
}
#experimento th {
  padding-top: 6px;
  padding-bottom: 6px;
  background-color: #0a008085;
  color: white;
  font-size: 14px;
}
#historiatto {
  border-collapse: collapse;
  width: 100%
}
#historiatto td, #historiatto th {
  border: 1px solid #ddd;
  padding: 4px;
  font-size: 18px;
}
#historiatto tr:nth-child(even){
  background-color: #ced6fd;
}
#historiatto th {
  padding-top: 6px;
  padding-bottom: 6px;
  background-color:navy;
  color: white;
  font-size: 14px;
}
textarea {
  height: auto;
  width: 99%;
  font-size:18px;
  font-family: 'Quicksand', sans-serif;
  background:#fff;
  list-style: height 1.5em;
  border:none;
  padding:4px;
}
select {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  padding: 2px 2px;
  background-color:navy;
  color: white;
}
input[type="date"] {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  padding: 2px 2px;
  background-color:rgb(25, 32, 124);
  color: white;
  border:navy;
  background: navy url(/images/outline_calendar_today_white_18dp.png)  97% 50% no-repeat;
}
input[type="date"]::-webkit-clear-button {
  display: none;
}
[type="date"]::-webkit-inner-spin-button {
  display: none;
}
[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
}
select, option {
  width: 210px;
}
.comotexto {
  background-color: rgb(188, 199, 252);
  color: black;
  font-size: 18px;
}

.accordionsimple {
  background-color: navy;
  color: white;
  cursor: pointer;
  padding: 7px;
  width: 100%;
  outline: none;
  font-size: 16px;
  font-family: 'Quicksand', sans-serif;
  transition: 0.2s;
  font-weight: bold;
  border-style: solid;
  border-width: 1px;
  border-color: navy;
  text-align: left;
}

.accordion {
  background-color: navy;
  color: white;
  cursor: pointer;
  padding: 7px;
  width: 100%;
  outline: none;
  font-size: 16px;
  font-family: 'Quicksand', sans-serif;
  transition: 0.2s;
  font-weight: bold;
  border-style: solid;
  border-width: 1px;
  border-color: navy;
  text-align: left;
}
.accordioninv {
  background-color: #e3e9fe;
  color: navy;
  cursor: pointer;
  outline: none;
  font-size: 16px;
  font-family: 'Quicksand', sans-serif;
  transition: 0.2s;
  font-weight: bold;
  border-style: solid;
  border-width: 1px;
  border-color: #e3e9fe;
  text-align:center;
  width:20%;
  display:inline-block;
}
.accordioninv:hover {
  border-color: navy;
}

.fechaPagPte {
  background-color: #ffffff96;
  color: navy;
  width: 100%;
  text-align: center;
  outline: none;
  font-size: 20px;
  font-family: 'Quicksand', sans-serif;
  transition: 0.4s;
  font-weight: bold;
  display: inline-block;
  padding-top: 7px;
  padding-bottom: 7px;
} 

#fecha {
  float: right;
  width: 35%;
  margin-top: 22px;
  margin-bottom: 22px;
  background-color: navy;
  color: white;
  border: none;
  outline: none;
  font-family: 'Quicksand', sans-serif;
}
/* Use a media query to add a breakpoint at 800px: */
@media screen and (max-width: 1000px) {
  h2, #fecha {
    width: 100%; /* The width is 100%, when the viewport is 1000px or smaller */
  }
  #fchPagPte {
    display: none;
  }
  .ppl {
    margin-left: 0px!important;
  }
  #HamMenu {
    display: block!important;
  }
  #calendar {
    width: 100%;
  }
  #cobroshoy {
    float: left;
  }

}

#calendar {
  display: block;
  float: left;
}

#fondofecha {
  background-color: navy;
  color: white;
  font-size: 19px;
  font-weight: bold;
}
#selectorfecha {
  background-color: navy;
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-align: right;
  width: auto;
  border: none;
}
.active {
  background-color: navy;
}
.accordion:hover {
  background-color: rgb(188, 199, 252);
  color: navy;
  border-style: solid;
  border-width: 1px;
  border-color: navy;
}

.panel {
  padding: 0 18px;
  background-color: rgb(188, 199, 252);
  overflow: hidden;
  max-height: 0px;
  transition: max-height 0.2s ease-out;
}
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0; 
  left: 0;
  background-color: navy;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 125px;
  font-size: 36px;
  margin-left: 50px;
}

#mainacc {
  transition: margin-left .5s;
  padding: 16px;
}
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* estos top en principio son de página paciente */

.fijoarriba {
  width: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 100;
}

.top {
  overflow: hidden;
  background-color: navy;
  width: 100%;
}

.top a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;

}

.top a:hover {
  background-color: rgb(188, 199, 252);
  color: navy;
}

.top a.active {
  background-color: #4CAF50;
  color: white;
}

.topx {
  background-color: #5c63bb;
}

.topeste {
  background-color: rgb(188, 199, 252);
  color: navy;
}


.tit {
  text-align: center;
  font-size: 26px;
  background-color: rgb(188, 199, 252);
  font-weight: bold;
  height: auto;
  padding: 20px;
  margin: auto;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: -40%;
  left: 400%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* .fch  */
#fchPagPte {
  width: 203px;
  height: 100%;
  color: navy;
  position:fixed!important;
  z-index:1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0px;
  top: 0px;
  background-color: rgb(188, 199, 252);
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-thumb {
  background-color: #00008085;
  
}



.ppl{
  margin-left: 201px;
  padding: 3px;
  padding-top: 2px;
  top: 157px;
  position: relative;
  display: block;
}

#HamMenu {
  display: none;
  position: fixed;
  top: 117px;
  left: -8px;
}
.container {
  display: inline-block;
  cursor: pointer;
}

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: navy;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
}

.candado {
  background-color: red;
  right: 0px;
  display: block;
  width: 29px;
  position: fixed;
  padding: 14px;
  padding-bottom: 13px;
  top: 0px;
  text-align: center;
}

.masmaterial {
  border: none;
  background-color: transparent;
  font-size: 16px!important;
  cursor: pointer;
}

.defecha {
  width:195px;
} 

.primerboton {
  margin-top: 162px;
}

.bold {
  font-weight: bold;
}

.saldorojo {
  font-weight: bold;
  color: red;
}
.fechacobro {
  font-size: 18px;
  background-color:rgb(188, 199, 252);
  font-family: 'Quicksand', sans-serif;
  border-style: solid;
  border-width: thin;
  border-color: navy;
}

.columnacobro {
  width: 33%;
  float: left;
  min-width: 250px;
}
.home {width: 250px;text-align: left;}

.buscarforms {
  display: block;
  margin-top: 78px;
}

.buscarresultados {
  display: block;
  background-color: #ced6fd;
  margin: 10px;
  padding: 10px;
}
.table-container {
  display: flex;
  justify-content: center;
  margin: 20px 20px;
}
.chart-container {
  display: flex;
  flex-direction: column;
  margin: 20px 20px;

}
.charts {
  display: flex;
  width: 48%;
  align-items: center;
}
.xy-chart {
  margin: 20px 20px;
}
.wide-table-container {
  overflow-x: auto;
  margin: 20px 0;
}
