﻿/* width
::-webkit-scrollbar {
  width: 10px;
} */

/* Track 
::-webkit-scrollbar-track {
  background: #f1f1f1;
}*/

/* Handle 
::-webkit-scrollbar-thumb {
  background: #888;
}*/

/* Handle on hover 
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
*/

/*
SWALL
*/
.TxtVertical{
    text-orientation:upright;
    writing-mode:vertical-rl;
}

xcelval, invisible{
    display:none;
    }

.BLUE{
    background: #1940fd;
    border: 3px #1940fd solid;
}

.BRED{
    background: #f90505;
    border: 3px #f30505 solid;
}

.BYELLOW{
    background: #f0ff09;
    border: 3px #f0ff09 solid;
}

.BGREEN{
    background: #17c303;
    border: 3px #17c303 solid;
}

.Bconvenio {
    position: absolute;
    top: 184px;
    height: 41px;
    right: -4px;
    width: 410px;   
    padding: 2px;
    border-radius: 15px;
}

.Convenio {
    height: 31px;
    left: 1040px;
    width:400px;
    background: powderblue;
    border: 3px #000080 solid;
    padding: 2px;
    border-radius: 15px;
}


/*PADDING OF MAIN HEADER, TO USE ALL SPACE*/

/*BORDER RADIUS OF POPUP WINDOW*/
.swal2-popup {   
    border-radius: 30px;
}

.swal2-close:hover {
    background: #0099CC;
    color: #ffffff;
}

/*
END OF SWALL
*/
legend {
    text-align: left;
}

.bordefalta{
    border: solid 1px red!Important;
    background-color: pink!Important;
}

/*Usuario deshabilitado*/
.bajausuario{
    position: relative;
    display: inline-block;
}
.tacha{
    position: absolute;
    top: -9px;
    left:9px;
    font-size: 77px;
    color: #e16666;
    font-family: sans-serif;
}
.BL, .bl{
    color:Blue;
    font-weight: bold;
    display:inline-block;
}

.RD, .rd{
    color:red;
    font-weight: bold;
    display:inline-block;
}
.GR, .gr{
    color:rgb(0, 160, 19);
    font-weight: bold;
    display:inline-block;
}
.BLK, .blk{
    color:#000000;
    font-weight: bold;
    display:inline-block;
}
.WT, .wt{
    color:#FFFFFF;
    font-weight: bold;
    display:inline-block;
}
.YL, .yl{
    color:#ffce1b;
    font-weight: bold;
    display:inline-block;
}


.BdayBLOCK{
    border: solid 2px #000080;
    border-radius:10px;
}
/*
MEDALLAS DE ADEUDO
*/


.BadBLOCK{
    border:solid 2px red;
    border-radius:15px;
    background-color:#e7baba;
}

.BadOK{
    border:solid 2px green;
    border-radius:15px;
    background-color:#d6efd6;
}

.BadFREE{
    border: solid 2px blue;
    border-radius: 15px;
    background-color: #b6b6d7;
}

.BadCONV{
    border: solid 2px #f58805;
    border-radius: 15px;
    background-color: #ffe98c;
}
/*
    ETIQUETA DETALLES (sustituye al antiguo popup
*/
.FkeEtiqueta{
    padding: 2px 6px;
    font: initial;
    border: none;
    list-style: none;
}

.Envelope{
    font: 16px "Open Sans", Calibri, sans-serif;
    position: relative;
}

.Etiqueta{
    padding: 2px 6px;
    font: initial;
    border: none;
    cursor: pointer;
    list-style: none;
    color: Blue;
}
.Etiqueta:hove{
 
}
.Etiqueta:hover + .Detail, .Detail:hover {
    display:grid;
    
}

.Detail{
    --detail-default:#ddd;
    display: none;
    border-radius:10px;
    background-color: var(--detail-default);
    padding: 10px;
    margin: 0 auto;
    box-shadow: 3px 3px 4px black;
    position: absolute; /* Con position absolute, no ocupa espacio en el elemento, es flotante */
    max-width:370px;
    z-index:1;
    left:120px;
}

.DetailYELLOW{
    --border-color:#DCA;
    background-color:#fffAF0;
    border: solid 1px var(--border-color);
    
}

.fARRIBAcL:after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 24px solid var(--border-color, var(--detail-default));
    border-top: 6px solid transparent;
    left: 3%;
    top: -30px;
}
.fARRIBA25:after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 24px solid var(--border-color, var(--detail-default));
    border-top: 6px solid transparent;
    left: 22%;
    top: -30px;
}
.fARRIBAcR:after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 24px solid var(--border-color, var(--detail-default));
    border-top: 6px solid transparent;
    left: 80%;
    top: -30px;
}
.fARRIBA:after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 24px solid var(--border-color, var(--detail-default));
    border-top: 6px solid transparent;
    left: 50%;
    top: -30px;
}

.fABAJO:after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid transparent;
    /*border-top: 24px solid #ddd;*/
    border-top: 24px solid var(--border-color, var(--detail-default));
    left: 50%;
    top: 100%;
}

.fIZQ:after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 24px solid var(--border-color, var(--detail-default));
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    left: -29PX;/*-8%;*/
    top: 44%;
}

.fDER:after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 24px solid var(--border-color, var(--detail-default));
    border-right: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    left: 100%;
    top: 44%;
}

/********  
UTILIZADO PARA 
    <details>
        <summary>LINK VISIBLE</summary>
        <p>
            INFO OCULTA
        </p>
    </details>

 */
details {
  font: 16px "Open Sans", Calibri, sans-serif;  
  position:relative;
}

details > summary {
  padding: 2px 6px;
  font:initial;
  border: none;
  cursor: pointer;
  list-style: none; /* Quita la flechita del summary */  
  color:Blue;
}

details > p ,
details > div {
  border-radius: 0 0 10px 10px;
  background-color: #ddd;
  padding: 10px;
  margin: 0;
  box-shadow: 3px 3px 4px black;
  position: absolute; /* Con position absolute, no ocupa espacio en el elemento, es flotante */
  max-width:370px;
  z-index:1;
  left:70px;
}
details > div {
    border-radius: 10px!important;
    margin:0 auto!important;
    display:grid!important;
    left: 101px!important;
  }




.uLabelCheck{
    background-color:#a5a1a1;
    width:100%;
    display:inline-block;
}
/*
FILTRO DE TABLA
*/
.TxtFiltro::placeholder {
  color: white; 
}
.TxtFiltro{
    background: #507CD1;
    text-align: center;
    /*border-radius: 0px !important;*/
    border: solid 1px #acbad7 !Important;
    font-weight: bold;
    padding: 0px;
    max-height: 20px;
    margin-bottom: initial!Important;
    padding-left: initial !important;
    color: white;
    font-family: Times New Roman;
    font-size: 14px;
    margin: 1px;
    width: inherit;
}

/*
Drag and drop
*/
.Drop-area{
    border:5px  dashed #ddd;
    height:500px;
    width:700px;
    border-radius:5px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
}
   
.Drop-area.active{
    background-color:#b8d4fe;
    color:Black;
    border:2px dashed #618ac9;
}


/*
BUSCAR EN TABLA
*/
#myInput {
  background-image: url('/IMG/searchicon.png') !Important;
  background-position: 5px 5px;
  background-repeat: no-repeat;
  padding: 3px 3px 4px 29px;
  /*width: 100%;
  font-size: 16px;
  
  border: 1px solid #ddd;
  margin-bottom: 12px;*/
}

#myTable {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #ddd;
  font-size: 18px;
}

#myTable th, #myTable td {
  text-align: left;
  padding: 12px;
}

#myTable tr {
  border-bottom: 1px solid #ddd;
}

#myTable tr.header, #myTable tr:hover {
  background-color: #f1f1f1;
}



/*
.swal2-header{
    background: #ff00002e !Important ;
    padding: 2px !Important;
    position: relative !Important;
    margin-left: 0px !Important;
    margin-right: 0px !Important;
    width: 100% !Important;
    border-bottom: solid 2px red !Important;
}
.swal2-close{
    background-color:Red !Important;
    color: black !Important;
   
}*/

Select:invalid {
    border: 2px solid red!Important;
    background:#edcfd4;
}

input[type="number"]:invalid {
    border: 2px solid red!Important;
    background:#edcfd4;
    height: 21px!Important;    
}

/*
Especial para textarea
*/
textarea:invalid:required {
    border: 2px solid red!Important;
    background:#edcfd4;    
}

input[type="tel"]:invalid:required,
input[type="number"]:invalid:required,
input[type="text"]:invalid:required {
    border: 2px solid red!Important;
    background:#edcfd4;
    height: 21px!Important;
    
}
input[type="date"]:invalid {
    border:2px solid red!Important;
    height: 25px!Important;
}

input[type="email"]:invalid {
    border: 2px solid red!Important;
}
input[type="date"]:invalid + span::after,
input[type="email"]:invalid + span::after {
    content: "✖";
    color:Red;
    font-size:34px;
    position:absolute;
    margin: -10px 5px 5px 5px;
}


input[type="date"]:valid + span::after,
input[type="email"]:valid + span::after {
    content: "✓";
    color:Green;
    font-size:28px;
    position:absolute;
    margin: -7px 5px 5px 5px;
    font-weight:bolder;
}
        
.show{
    /*display:block!Important;*/
    display: flex !important;
}

.PEDIloading1{
    position:absolute;
    z-index:2;
    backdrop-filter:blur(4px);
    width:100%;
    height:100%;
    text-align: center;
}
.PEDIloading2{
    top:20%;
    position:absolute;
    left:40%;
    background-color:#ffffff;
    border-radius:25px;
    height:140px;
    padding-top:15px;
}

.hbox{
    display:none;
    position:absolute;
    width:387px;
    height:auto;
    background-color:cornsilk;
    border:solid black;
    border-radius:27px;
    z-index:1;
    margin:auto;
    padding:10px;
    left:-410px;
    top:-76px;
    
}


.JQLstLoading{
    padding-top:7%;
    padding-bottom:7%;
    left:8px;
    width: 98%;
    height:46vh;    
    text-align: center;
    position: absolute;
    z-index: 2;
    backdrop-filter: blur(4px);
    border-radius: 15px;
}

.JQLstLoading img{
    zoom:36%
}

.JQLoadingM{
    margin-top: -1px;
    text-align: center;
    position: absolute;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 100px;
    right:60px;
    zoom:.7;
}

.JQLoading{
    margin-top: -1px;
    text-align: center;
    position: absolute;
    z-index: 2;
    padding-top: 100px;
    height: 40%; /*auto;*/
    width: 95%; 
    backdrop-filter: blur(4px);
    padding-bottom: 100px;
    margin: 0 auto auto -20px;
    
}
.JQRombo{
    width: 128px;
    height: 131px;
    border: 10px solid #555;
    background: #ffdd36;
    margin: 0 auto;
    transform: rotate(45deg);
    text-align: left;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);    
}
.JQRomboTxt{
    border: 4px solid #555;
    background: #ffdd36;
    width: 203px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
    height: 28px;
}

/*
Descripción de funcionalidades básicas de la página y fuentes
*/
vl{
    display:none;
}
div.FixHeader { 
    height: 500px; 
    overflow-y: scroll; 
    position: relative; 
    overflow-x: hidden;
}

div.FixHeader th {   
    top: 0px; 
    position:sticky; 
    z-index: 1;     
   /* border-width: 0px;*/
}

.SelBg{
    background:#b0e0e6;
}
/*
Colores
  Si en un mismo Div tiene mas de 1 tabla se puede poner el 
  color en el HeaderStyle-CssClass 
*/
.RedColor th{
    background-color: #990000;   
}
.BlueGreenColor th{
    background-color: #006699;   
}
.BlueColor th{
    background-color: #507CD1;   
}
.GreenColor th{
    background-color:#5D7B9D;
}
.PurpleColor th{
    background-color:#4A3C8C;
}
.DarkBlueColor th{
    background-color:#000084;
}
/*
----------------------------------
*/

.Total{
    background-color:#bfbbbb;
    text-align:center ;
    
}
.Stotal{
    background-color:#808080;
    text-align:center ;
}

/*
Resolución maxima de la página
----------------------------------------------------------- */
#maxres{
	width:1000px;
	height:100%;
	margin:4px auto!Important;
	display: block;
	position:relative; /*<==NUEVO*/
	/*background-color:#FF0000;*/
}

#navegacion{
    width:100%; /*1000px;
	margin:4px auto;*/
	display: block;
	height: 71px;
    position: sticky;
    top: 0;
    z-index: 2;
    background:cornsilk;
}

#Topper{
    background-color: #4267b2;
    height: 53px;
    margin-top: -22px;
    padding: 12px 5px 1px 5px;
    border-radius: 0px 0px 15px 15px;
        
}
.mark{
	display:block;
	background-color:#285185;/*#2851A3; /*:#87ceeb;  /*  Color del Fondo */
	/*border-style:solid; /*  Estilo del borde, si no se agrega no se ve el borde */
	border-color:#000080; /*  Color del Borde */
					/*Sup Izq,  Sup Der,  Inf Der, Inf Izq */
	border-radius:18px; /*0px 25px 25px 0px;*/
	/*background: linear-gradient(to top, #4169e1 0%,#6495ed 100%);*/
	z-index:-99;
	color:#ffffff;	
	height:33px;
	padding-top:2px;
}

body{
	background-color: #fff8dc;
	margin:0px;
	padding-right:0px!Important;
}

#CE{
	position:fixed;
	top:1px;
	left:974px;
	background-color:#666666;
	min-height:15px;
	width:100px;
	border-radius:15px 0px 0px 15px;
	padding:10px;
}

#Plantilla{
	position:fixed;
	top:15px;
	background-color:#ffffff;
	border-radius:0px 15px 15px 0px;
	color:#000000;
	padding: 7px 15px 7px 15px;
	border-bottom:#000000;
	border:thick;
	border-style:solid;
}

.Plant{
	display:none;
}

#Plant:Hover .Plant{
	width:200px;
	min-height:40px;
	/*padding:15px;*/
	display:block;
	
}

.Fback{
	position:fixed;
	width:140px;
	background-color:#fff8dc;  /*  Color del Fondo */
	border-style:groove; /*  Estilo del borde, si no se agrega no se ve el borde */
	border-color:#000080; /*  Color del Borde */
	/*Sup Izq,  Sup Der,  Inf Der, Inf Izq */
	text-align:left;
	border-radius:25px 0px 0px 25px;   /* Esquinas redondeadas */
	font-size:18px;
	padding:15px 10px 10px 10px;
	top:0px;
	right:0px;
}

.Fback:Hover{
    width :220px;
}

.Fback a{
    padding-top: 0px;
    display: block;
}
/*
	WELCOME
----------------------------------------------------------- */


.IdeviceG{
    margin-top: -25px;
    margin-left: -25px;
    padding-right: 10px;
    top: 0;
 }
.IdeviceS{
    margin-top: -45px;
    margin-left: -45px;
    padding-right: 10px;
    top: 0;
 }
 .ILogo{
    margin-top: -65px;
    margin-left: -76px;
    padding-right: 10px;
    top: 0;
    z-index:1;
 }
 
 .mistablas{
    width:70%;   
 }
 
 
 /*Columnas*/
.por5 {
    width: 5%
}

.por10 {
    width: 10%
}

.principalstar {
    width: 40%
}

.evaluastar {
    width: 20%
}

.principal {
    width: 70%
}

.evalua {
    width: 20%
}

.NFlotante {
    /*position: fixed;*/
    width: 1050px; /*100%;*/
    /*85%*/
    z-index: 99;
    margin:4px auto;
}

.bigfoto {
    width: 100px;
    height: 140px;
    left: 8%;
}

.Microfoto {
    position:relative;
    width: 20px;
    height: 20px;
}

.Microfoto15 {
    position:relative;
    width: 15px;
    height: 15px;
}
.foto {
    width: 50px;
    height: 50px;
}

.foto70 {
    width: 70px;
    height: 70px;
}

.foto100 {
    width: 100px;
    height: 100px;
}
.fotoM {
    width: 150px;
    height: 150px;
}

.lafoto {
    object-fit: cover;
    border-radius: 13px;
    object-position: top;
}

.flotante {
    position: fixed;
    left: 11%;
    width: 150px;
    bottom: 17px;
    font-size: 28px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 25px 25px 0px 0px;
}

.flotante2 {
    position: fixed;
    left: 0px;
    width: 150px;
    top: 80px;
    font-size: 28px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 25px 25px 0px 0px;
}

.spcfuente {
    font-size: 14px;
}
 @media (max-width: 600px) { /*(max-width:1280px) {*/
    #maxres {
	    width:100%;
    }
    
    #navegacion{
	    width:95%;
	    /*background-color:#FF0000;*/
	    margin:4px auto;
	    display: block;
	    height: 196px;
    }
    #Topper{
        height:180px;
	    width: 103%;
        
    }
    .ILogo{
        margin-top: 0px;
        position: absolute;
	    margin-left: -39px;

    }
    .mark{
        height:32px; /*170px;*/
        padding-left:35px; /*127px;*/
    }
    
    .mistablas{
        width:100%;   
    }
    
    .por5{  
        width:10%;
        font-size: 47px;
    }
   .por10{  
        width:20%;
        font-size: 47px;
    }
    /*
    EVALUACIÓN CON ESTRELLAS
    */
    .principalstar{
        width:40%;
        font-size: 47px;
        
    }
    .evaluastar{
        width:28%;
        font-size: 47px;
    }
    
    /* EVALUACION CON CHECK
    */
    .principal{
        width:55%;
        font-size: 36px;
        min-height:117px;
        
    }
    .evalua{
            width: 10%;
 
    }
      
    .bigfoto{
        width:200px;
        height:280px;
  
     }
     .flotante2{
        position: fixed;
        left: 1%;
        width: 200px;
        top:80px;
        font-size: 28px;
        text-align: center;
        background-color: #ffffff;
        border-radius: 25px 25px 0px 0px;
     }
    .flotante {
        position: fixed;
        left: 1%;
        width: 200px;
        bottom: 17px;
        font-size: 28px;
        text-align: center;
        background-color: #ffffff;
        border-radius: 25px 25px 0px 0px;
     }

        
     .spcfuente{
         font-size:27px;   
         background-color:#ffffff;
         border-radius:15px;      
     }
}

.displayFoto{
    display: inline-block;
    height: 108px; /*101px;*/
    width:77px; /*60px;*/
    vertical-align: top;
    text-align: center;
}


  
  img[title]:hover::after {
    content: attr(title);
    position: absolute;
    top: -100%;
    left: 0;
  }

/*
	Formulario generico
----------------------------------------------------------- */



.blink {
  animation: blink-animation 1s steps(5, start) infinite;
  -webkit-animation: blink-animation 1s steps(5, start) infinite;
}
@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}


     