
/* Estilos general de la aplicación ---------------*/


body { 
  font-family:      'Lato', sans-serif; 
  font-size:        16px;
  margin:           0;
  padding:          0;
  text-align:       center;
  padding-bottom:   6rem;
  width:            100%;
  background-color: white;
  color:            black ;
  text-rendering:   optimizeLegibility!important;
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing:   antialiased!important;
  -moz-osx-font-smoothing:  grayscale;
}

.header {
  position: fixed;
  width: 100%;
  height: 100px;
  background-image: url("media/head.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: black;
}

.logo {
  position: fixed;
  top: 5px;
  left: 26px;
  width: 250px;
  border: 2 solid black;
}

.lema {
  position: fixed;
  background: transparent;
  color: black;
  font-size: 12px;
  top: 20px;
  right: 20px;
  text-justify: right;
}

.menubar {
  position: fixed;
  width: 100%;
  top: 100px;
  height: 40px;
  background-color: navy;
  color: white ;
  text-align: left;
  font-size: 16px;
  padding: 0 10px;
}

.menu:link, .menu:visited {
  background-color: navy;
  color: white;
  font-size: 16px;
  padding: 12px 12px;
  margin: 0 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.menu:hover, .menu:active {
  background-color: blue;
  color: white;
}

.menub {
  top: 100px;
  left: 65px;
  margin: 0;
  padding: 11px 11px;
  background-color: navy;
  color: white;
  border: none;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.menub:hover{
  background-color: blue;
}

.pie {
  position: fixed;
  width: 100%;
  bottom: 0px;
  height: 22px;
  background-color: rgb(180,180,180);
  color:  rgb(80,80,80);
  text-align: center;
  font-size: 12px;
  line-height: 22px;
}

.lan {
  position: fixed;
  top: 108px;
  right: 12px;
  font-size: 12px;
  text-align: right;
  background-color: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px 10px;
}
.lan:hover { background-color: blue; color: yellow; }

.content {
  position: fixed;
  top: 140px;
  bottom: 22px;
  width: 100%;
  background-color: rgb(200,200,200);
  background-image: url("media/fondo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: black;
  font-size: 16px;
  overflow: auto; 
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: top; 
  padding: 20px 40px;
}

.inside {
  position: absolute;
  top: 10px; height: 96%;
  left: 10px;  width: 98%;
  background-color: transparent;
  color: black;
  font-size: 16px;  
  border: none ;
  overflow-x: hidden;
  overflow-y: auto; 
}

.priva {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 680px;
  background-color: rgb(235,235,235);
  color: black;
  font-size: 14px;
  text-align: justify;
  padding: 16px 20px;
  border: 1 solid black;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(8,7,16,0.6);
}

.fondo {
  opacity: 0.2;
  width: 100%;
  display: cover;
}

.tomail {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 560px;
  color: white;
  font-size: 18px;
  line-height: 2 ;
  text-align: justify;
  padding: 18px 40px;
  border: 1 solid grey;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(8,7,16,0.6);
  text-shadow: 1px 1px 2px black;
  background-image: url("media/f1.jpg");
  background-size: 100% 100%; 
  background-repeat: no-repeat;
  background-position: center;
}

.cuerpo { margin:auto; width:70%; min-width:500px; font-size:18px; line-height:130%; color:black ; text-align:justify; }

.f18  { font-size: 18px; padding: 2px 6px; border-radius: 6px; }
.f18t { font-size: 18px; padding: 2px 6px; width:420px; height:160px; resize:none; border-radius: 6px; }

.okbtn2 {   position: absolute;  bottom: 20px;
  left: 50%;
  transform: translate(-50%,0);
  margin: auto;
  text-align: center;
  padding: 5px 20px;
  background-color: background-color:rgb(200,200,200);
  color: black;
  border: 1 solid grey;
  cursor: pointer;
  border-radius: 12px;
}
.okbtn2:hover { background-color: blue; color: yellow; }

.okbtn3 {
  margin: 5px 10px 5px 10px;
  padding: 3px 5px;
  background-color: background-color:rgb(180,180,200);
  color: rgb(60,60,60);
  border: 1 solid white;
  cursor: pointer;
  border-radius: 8px;
}
.okbtn3:hover { background-color: red; color: lime; }

.nsh {
  margin: 15px 24px;
  padding: 5px 20px;
  background-color: navy;
  color: white;
  border: 1 solid white;
  cursor: pointer;
}
.nsh:hover { background-color: navy; color: yellow; }

.shadow {
   position: fixed ;
   top: 0; left: 0; 
   width: 100% ;
   height: 100% ;
   background-color: rgba(0,0,0,0.7);
   color: white ;
   display: block;
   transition: 0.7s;
   z-index: 10;
}
.shwin {
  position: fixed ;
  display: block ;
  width:  560px ;
  height: 320px ;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background-color: rgb(240,240,250);
  color: black ;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(220,220,250,0.8);
  z-index: 10;
}
.framy {
  position: fixed ;
  display: block ;
  width:  520px ;
  height: 280px ;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 8px;
  border: 2 solid white;
  background-color: rgb(210,210,210);
  padding: 10px;
  color: black;
  text-align: justify;
}

.formar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 600px;
  background-color: rgb(235,235,235);
  color: black;
  font-size: 16px;
  text-align: justify;
  padding: 16px 20px;
  border: 1 solid black;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(8,7,16,0.6);
}

.formar2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 400px;
  background-color: rgb(235,235,235);
  color: black;
  font-size: 16px;
  text-align: justify;
  padding: 16px 20px;
  border: 1 solid black;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(8,7,16,0.6);
}

.askn {
  position: relative;
  width: 560px;
  background-color: navy;
  color: white;
  font-size: 16px;
  text-align: center;
  line-height: 1.6;
  padding: 16px 20px;
  border: 2px solid white;
  border-radius: 8px;
  left: 50%;
  transform: translate(-50%,0%);
}

.askn2 {
  position: relative;
  width: 360px;
  background-color: navy;
  color: white;
  font-size: 16px;
  text-align: center;
  line-height: 1.6;
  padding: 16px 20px;
  border: 2px solid white;
  border-radius: 8px;
  left: 50%;
  transform: translate(-50%,0%);
}

tip {
  position: absolute;
  display: none;
  background-color: rgba(0,0,0,0.7);
  padding: 8px;
  color: rgba(250,250,250,0.8);
  border-radius: 10px;
  font-size: 12px;
  font-style: oblique 10deg; 
  text-align: left;
  translate: 5px -30px;
  z-index: 2;
}
tool:hover tip { display: inline; }
tool { font-weight: bold; }

.mywin {
  position: absolute;
  top: 50%;   left:50%;
  transform: translate(-50%, -51%);
  width: 740px;     height: 510px;
  margin: auto;
  border: none;
  background-color: navy ;
  color: white ;
  font-size: 16px;
  text-align: justify;
  padding: 8px 18px;
  border: 1 solid black;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(8,7,16,0.6);
} 

.tab { overflow: hidden; border: none; background-color: #f1f1f1; margin: 0 0 8px 0; }

.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px 16px;
  transition: 0.3s;
  font-size: 17px;
}
.tab button:hover { background-color: darkgrey; color: white; }
.tab button.active { background-color: blue; color: white; font-weight: bold; }

.tabcontent { display: none; padding: 6px 12px; border: none; border-top: none; }

.f14  { font-size: 16px; margin: 2px 0; border-radius: 6px; }
.f14g { font-size: 16px; background-color: navy; color: snow; border: none;  margin: 4px 0; border-radius: 6px; }
.f18  { font-size: 18px; padding: 2px 6px; border-radius: 6px; }
.f18t { font-size: 18px; padding: 2px 6px; width:420px; height:160px; resize:none; border-radius: 6px; }
.t1   { width: 130px; height: 30px; text-align: right; font-size: 16px; margin:2px; border-radius: 6px; }
.t2   { width: 240px; height: 30px; text-align: left;  font-size: 16px; margin:2px; border-radius: 6px; }
.t3   { width: 190px; height: 30px; text-align: right; font-size: 16px; margin:2px; border-radius: 6px; }
.t4   { width: 210px; height: 30px; text-align: left;  font-size: 16px; margin:2px; border-radius: 6px; }
.t5   { width: 130px; height: 18px; text-align: right; font-size: 15px; margin:2px; border-radius: 6px; }
.t6   { width: 240px; height: 18px; text-align: left;  font-size: 14px; margin:2px; border-radius: 6px; }

.datatab {
  border: none; 
  width: 720px;
}

.tabss {
  position: relative;   
  min-height: 154px; /* This part sucks */
  clear: both;
  margin: 6px 0;
}
.tabs {
  float: left;
}
.tabs label {
  background: rgb(220,220,220); 
  color: black ;
  padding: 6px;
  border: 1px solid #ccc;
  margin-left: -1px; 
  position: relative;
  left: 1px; 
}
.tabs [type=radio] {
  display: none;   
}
.tabcont {
  position: absolute;
  top: 22px;
  left: 0;
  background: navy;
  color: white ;
  right: 0;
  bottom: 0;
  padding: 20px;
}
[type=radio]:checked ~ label {
  background: blue;
  color: white ;
  border-bottom: 1px solid navy;
  z-index: 2;
}
[type=radio]:checked ~ label ~ .tabcont {
  z-index: 1;
}

.serv  { width:98%; height:160px; border:none; margin:auto; overflow:hidden !important; }
.serv2 { width:90%; height:210px; border:none; background:transparent; overflow-y:auto; padding: 10px 20px; margin: 10px 0 0 0; }
.btnser { display:flex; width:95%; height:46px; border:grey; background:transparent; color:white; 
          text-align:left; font-size:100%; border-radius:10px; align-items:center; text-decoration: none; }
.btnser:hover { background:rgb(160,160,220); color:black; cursor:pointer; }
.btnlink, .btnlink:visited, .btnlink:active { display:block; width:95%; height:60px; border:grey; background:rgba(230,230,230,0.8);
                                              color:black; text-align:left; font-size:100%; border-radius:10px; align-items:center;
                                              text-decoration: none; border: 1px solid grey; padding: 8px; 
                                              box-shadow: 3px 3px 8px rgba(40,40,60,0.6); }
.btnlink:hover { background:rgba(110,110,110,0.8); text-decoration: none; color: white; }

.imgbtn { max-height:46px; max-width:70px; margin: 0 12px; background:rgb(160,160,220); borden:none; border-radius:8px; }

.data {
  position: relative; /* ya no absolute */
  width: 75%;
  min-width: 540px;
  max-width: 860px;
  min-height: 340px;
  max-height: 620px;
  padding: 24px 40px;
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, .2); 
  border-radius: 5px;
  z-index: 2;
  background: transparent;
  text-align: justify;
  overflow: hidden;
  overflow-y: auto;
}

.data:before {
  content: "";
  position: absolute;
  inset: 0; /* remplaza top/left/right/bottom */
  background: rgba(250,250,250,0.3);
  z-index: -1;
  box-shadow: inset 0 0 2000px rgba(255, 255, 255, 0.5);
  filter: blur(18px);
  border-radius: 5px;
  padding: 24px 40px;
}

.neomorfin {
  border-radius: 10px;
  border: 2px solid transparent;
  background: rgba(240,240,240,0.7);
  box-shadow: 
    inset 8px 8px 16px #bebebe,
    inset -8px -8px 16px #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.miliga { width:200px; border:none; }
.miliga:hover { filter: drop-shadow(0 0 8px blue); border: 1px solid rgb(180,180,180); border-radius: 16px; } 

.miuol { margin: 0; padding-left: 1.5em; list-style-position: outside; }
.miuol li { margin-bottom: 0.8em; }

.mitable { width:86%; border:none; }
.mitable td { text-align:left;  color:lime; }
.mitable td:first-child { text-align:right;  width:160px;  padding: 6px 20px;  font-weight: bold;  color:white; }

.pay { width:120px; height:24px; bottom:40px; box-shadow: 2px 2px 6px black; }
.pay:hover { background:lime; box-shadow: 0 0 8px white; }

