﻿body{
    width: 100%;
    height: 100vh;
    line-height: 1;
    overflow: hidden;
}

header{
    height: 4vh;
}

.none{
    display: none !important;
}

.header-modulos{
    height: 7vh;
    background: #353b3e;
    display: grid;
    grid-template-columns: 8fr 1fr;
}

.modulos{    
    display: flex;
    justify-content: flex-start;
    padding: .5vh;
    z-index: 2;
}

.modulos span{
    width: 6vh;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    margin-right: 1rem;
    font-size: 3rem;
    transition: .3s;
    transition-timing-function: linear;
    cursor: pointer;    
}

.modulos p{
    margin: 0;
    font-size: 0px;
    transition: .2s;
    transition-timing-function: linear;
    white-space: nowrap;
    overflow: hidden;
}

.modulos span:hover > i {
    margin-right: 0.2em;
  }

.modProject{
    background-color: #298cc8;
}

.modProject:active{
    background-color: #559fcd;
}

.modProject:hover{
    padding-left: 1vh;
    width: 5em;
}

.modBitacora{
    background-color: #29c878;
}

.modBitacora:active{
    background-color: #55c38c;
}

.modBitacora:hover{
    padding-left: 1vh;
    width: 5em;
}

.modBancos{
    background-color: #c82929;
}

.modBancos:active{
    background-color: #b94b4b;
}

.modBancos:hover{
    padding-left: 1vh;
    width: 5em;
}


.modCotizaciones{
    background-color: #b052dc;
}

.modCotizaciones:active{
    background-color: #be7bdd;
}

.modCotizaciones:hover{
    padding-left: 1vh;
    width: 6em;
}

.modOrdenesCompra{
    background-color: #dc9e52;
}

.modOrdenesCompra:active{
    background-color: #dab586;
}

.modOrdenesCompra:hover{
    padding-left: 1vh;
    width: 8em;
}


/* 
.modulos span:hover{
    padding-left: 1vh;
    cursor: pointer;    
    width: 15vh;
} 
*/

.modulos span:hover p{
    font-size: 20px;
}

.compra{
    background-color: #a1a1a1;
}

.compra button{
    width: 100%;
    height: 100%;
    border-style: none;
}

.left15rem{
    left: calc(15rem + 25px) !important
}

/*MENUS*/

.divMenu{
    height: 3.5vh;
    position: relative;
    background-color: #a0a0a0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 5px; */
}

.menus{
    transition: 0.2s;
    width: 8.5em;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #ffb600;
    /* margin-left: 1rem; */
    /* border-radius: 5px; */
    color: white;
    font-weight: bold;
}

.menusClients{
    cursor: pointer;
    background-color: #c88229;
}

.menusClients:hover{
    cursor: pointer;
    background-color: #bb7b27;
}

.menusSuppliers{
    cursor: pointer;
    background-color: #94846b;
}

.menusSuppliers:hover{
    cursor: pointer;
    background-color: #8a7b64;
}

.menusProduct{
    cursor: pointer;
    background-color: #627682;
}

.menusProduct:hover{
    cursor: pointer;
    background-color: #576872;
}


/*CONTENEDOR*/

.contenedor{
    width: 100%;
    height: 97vh;
    display: flex;
}

/*SUB-CONTENEDOR*/
.sub-contenedor{
    display: flex;
    height: calc(86vh - 3.5vh);
}

/*HEADER*/
header{
    width: 100%;
    background-color: #ffb600;    
    display: grid;
    grid-template-columns:  .8fr 5fr .5fr;    
}

/*PANEL LATERAL*/

.panel-lateral-abierto{
    width: 20rem;
    transition: .5s;
}

.panel-lateral-cerrado{
    width: 5rem;
    transition: .5s;
}


.panel-lateral-cerrado p{
    display: none;
}

.panel-lateral{
    height: auto;
    background-color: #f0f0f0;
    z-index: 50;
}

.panel-lateral section{
    padding: 0;
}

.panel-lateral section p{
    margin: 0;
}

.menu-lateral{
    width: 100%;
    font-size: 2rem;
    padding: 1rem;
    margin: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-lateral:hover{
    background-color: #dddddd;
    cursor: pointer;
}

.panel-lateral header{
    width: 100%;
    background-color: #fff;        
    display: flex;
    align-items: center;
    height: 2em;
    font-size: 20px;
}

.menu{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    
}

.botonMenu{
    width: 100%;
    height: inherit;
    color: #fff;
	background-color: #ff9b00;
	transition: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.botonMenu:hover {
	color: #fff;
	background-color: #ffb600;
	cursor: pointer;
}

.logo{
    margin-left: 1rem;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    color: #353b3e;
    /*background-image: url('/img/logoSimoHorizontal.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;*/
}

.logo span{
    font-weight: bold;
    margin-right: 10px;
}

.logo img{
    width: 100%;
    
}

.logoGPA{
    background-image: url('/img/logoGPA.png');
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    filter: grayscale(1);
    opacity: 40%;
}

.empresas{
    display: flex;
    flex-direction: column;
}

.empresas a{
    width: 100%;
    height: 3.5rem;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    background-color: #f0f0f0;
    transition: .5s;
    color: #a1a1a1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empresas a:hover{
    background-color: #ff9b00;
    color: #fff;
}

.configuracion {
    display: flex;
    flex-direction: column;
}

.configuracion a, .configuracion label{
    width: 100%;
    height: 3.5rem;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    background-color: #f0f0f0;
    transition: .5s;
    color: #a1a1a1;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.configuracion a:hover, .configuracion label:hover{
    background-color: #ff9b00;
    color: #fff;
}









/*PANEL GENERAL*/
.panel-general{
    width: 100%;
}

.shadow{
    box-shadow: 0 .5rem 2rem #a1a1a1;
}


.modulos{
    width: 100%;
}

.usuario{    
    border-style: none;
    border-left: 5px solid #ff9b00;    
    width: 100%;
    height: 100%;
    background-color: #ffb600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
    transition: .5s;
}

.usuario:hover{
    background-color: #ff9b00;    
}

.usuario h4{
    padding: 0;
    margin: 0;
}

.panel-perfil {
	display: block;
	position: absolute;
	background-color: #f1f1f1;
	box-shadow: 0px 5px 6px 0px rgba(0,0,0,0.1);
	z-index: 1;

	top: 4vh;
	width: 10em;
	
	right: 0;
	text-align: left;
	
	visibility: visible !important;

	
	max-height: 0px !important;
	transition-delay: 0ms;
	transition-property: max-height;
	transition-duration: 1s;
	pointer-events: none;
}

.panel-perfil span {
	/*width: 100%;*/
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	transition: 0.5s;
	cursor: pointer;

	visibility: visible !important;
 	opacity: 0 !important;
	
	pointer-events: none;
	
	background-image: linear-gradient(to left,
                                      transparent,
                                      transparent 50%,
                                      #ffb600 50%,
                                      #ffb600);
    background-position: 95% 0;
    background-size: 200% 100%;
    transition: all .25s ease-in;
}

.panel-perfil span i{
	width: 15%;
}

.panel-perfil span:hover{
	background-position: 0 0 !important;
    color: #fff !important;
    -webkit-transition: all .35s ease;
    -o-transition: all .35s ease;
    transition: all .35s ease;
}

.panel-perfil-activo{
	opacity: 1 !important;
	max-height: 100vh !important;
	pointer-events: auto;
	
}

.panel-perfil-activo span{
	opacity: 1 !important;
	max-height: 100vh !important;
	pointer-events: auto;
	
}



/*MAIN SECTION*/
section{
    height: calc(100% - 2em);
    padding: 2rem;
}



/*FOOTER*/
footer{
    height: 3vh;
    box-shadow: 0 .5rem 2rem #a1a1a1;
    background-color: #ffb600; 
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 10fr 1fr;
    z-index: 10;
    position: relative;
}

footer div {
    height: inherit;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/********/

/* CSS */
/*
.button-48 {
  appearance: none;
  background-color: #FFFFFF;
  border-width: 0;
  box-sizing: border-box;
  color: #000000;
  cursor: pointer;
  display: inline-block;
  font-family: Clarkson,Helvetica,sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1em;
  margin: 0;
  opacity: 1;
  outline: 0;
  padding: 1.5em 2.2em;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-rendering: geometricprecision;
  text-transform: uppercase;
  transition: opacity 300ms cubic-bezier(.694, 0, 0.335, 1),background-color 100ms cubic-bezier(.694, 0, 0.335, 1),color 100ms cubic-bezier(.694, 0, 0.335, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  white-space: nowrap;
}

.button-48:before {
  animation: opacityFallbackOut .5s step-end forwards;
  backface-visibility: hidden;
  background-color: #EBEBEB;
  clip-path: polygon(-1% 0, 0 0, -25% 100%, -1% 100%);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: translateZ(0);
  transition: clip-path .5s cubic-bezier(.165, 0.84, 0.44, 1), -webkit-clip-path .5s cubic-bezier(.165, 0.84, 0.44, 1);
  width: 100%;
}

.button-48:hover:before {
  animation: opacityFallbackIn 0s step-start forwards;
  clip-path: polygon(0 0, 101% 0, 101% 101%, 0 101%);
}

.button-48:after {
  background-color: #FFFFFF;
}

.button-48 span {
  z-index: 1;
  position: relative;
}
*/

/*PRUEBAS DIV FLOTANTE*/

.ContenedorForm {
    position: absolute;
    left: calc(50% - (40% /2));
    top: calc(50% - (50% /2));
    z-index: 99;
    background-color: #fff;
    border: .2em solid #d3d3d3;
    resize: both;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 12px 4px rgba(0,0,0,0.18);
    -moz-box-shadow: 0px 0px 12px 4px rgba(0,0,0,0.18);
    box-shadow: 0px 0px 12px 4px rgba(0,0,0,0.18);
}



.formUsuarios {
    max-height: 91%;
    max-width: 95%;
    min-height: 50%;
    min-width: 34%;
    width: 35%;
    height: 65%;
}

/* .formClientes {
    max-height: 91%;
    max-width: 95%;
    min-height: 50%;
    min-width: 34%;
    width: 35%;
    height: 65%;
} */

.ContenedorForm:focus {
    z-index: 100;
}

.ContenedorFormActive {
    z-index: 100;
}

.ContenedorInfoForm{
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9;
    position: relative;
    padding: 3px;
    display: flex;
    flex-direction: column;
    font-size: 20px;
}

.ContenedorInfoFormControles{
    height: 2em;
    display: flex;
    color: white;
    /* padding-left: 5px;
    padding-right: 5px; */
    display: flex;
    justify-content: center;
}

.ContenedorInfoFormControles div > span{
    align-items: center;
    display: flex;
    justify-content: center;
    transition: 0.20s;
}

.ContenedorInfoFormControles div > span:hover{
    cursor: pointer;
    transition: all 0.2s;
    transform: scale(1.1);
}

.tabCloseIcon:hover{
    color: #cb4e4e;
}



.ContenedorInfoFormMain{
    display: grid;
    width: 100%;
    max-height: 100em;
    max-height: 999vh !important;
    transition-delay: 0ms;
    transition-property: max-height;
    transition-duration: 0.25s;
    height: auto;
    overflow: auto;
    height: 100%;
}



.ContenedorInfoFormMain label {
    word-wrap: break-word;
    font-size: 0.8em;
}

.ContenedorInfoFormMain > label {
    margin: 0.5em 0;
}

.ContenedorInfoFormMain select {
    grid-column-start: 2;
    grid-column-end: 3;
    resize: none;
    font-size: 0.8em;
}

.ContenedorInfoFormMain input {
    font-size: 0.8em;
}

.ContenedorInfoFormMain textarea {
    grid-column-start: 1;
    grid-column-end: 3;
    resize: none;
    font-size: 0.8em;
}

.ContenedorInfoFormMain span {
    display: inline-block;
    text-align: center;
    background-color: #298cc8;
    color: white;
    padding: 14px 20px;
    margin-top: 8px;
    border: none;
    cursor: pointer;
    width: auto;
    transition: 0.35s;
    border-radius: 5px;
    font-weight: bold;
    margin-left: 3px;
    margin-right: 3px;
    font-size: 0.8em;
}

.ContenedorInfoFormMain span:hover {
    background-color: #0363ac;
}

.btnFlotante{
	margin: 35px 25px;
	position: absolute !important;
	border-radius: 20%;
	color: white;
	text-align: center;
	z-index: 50;
	cursor: pointer;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	left: 5rem;
	right: 0;
}

.hideBtnFlotante *{
	display: none;
}

.divBtnFlotantesFrm > span{
    left: calc(100% - 5rem - 70px) !important;
}

.mainFormulario{
	display: grid;
	grid-template-columns: calc(50% - 2.5em) 5em calc(50% - 2.5em);
	gap: 5px;
}

.mainFormulario select:not([multiple]),
.mainFormulario input[type="text"],
.mainFormulario input[type="password"],
.mainFormulario input[type="date"]{
	grid-column-start: 2;
	grid-column-end: 4;
	width: 100%;
	max-width: 17.5em;
}

.mainFormulario select:not([multiple]) > option{
	font-size: 0.8em;
}

.mainFormulario select[multiple]{
	width: 100%;
	max-width: 12em;
}

.mainFormulario label{
	width: 80%;
	justify-self: end;
	max-width: 12em;
	display: flex;
	align-items: center;
}

.divFullRow{
    grid-column-end: 4;
    grid-column-start: 1;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.divFullRow form{
    align-items: center;
    display: flex;
    flex-direction: column;
}

.divFullRow img{
    width: 13em;
    height: 10em;
    margin: 5px;
}

.divFullRow label{
    text-align: center;
    display: block; 
}

.infoOpcion{
	display: grid;
	grid-template-columns: 3em calc(100% - 3em);
	width: 100%;
	padding: 2px;
}

.infoOpcion label{
	width: 100%;
	display: flex;
    align-items: center;
}

.infoOpcion i{
	display: flex;
    align-items: center;
    transition: 0.4s;
}



/*NIVELES DE SEGURIDAD CONFIGURACIÓN GENERAL*/

.tab-content {
    display: none;
  }
  
  .tab:target .tab-content, .tab:last-of-type .tab-content {
    display: block;
  }
  
  .tab:target ~ .tab:last-of-type .tab-content {
    display: none;
  }




  :root {
    /* --tabs-border-color: #ABCDEF;
    --tabs-border-size: 3px;
    --tabs-text-color: white;
    --tabs-dark-color: #012345;
    --tabs-lite-color: #345678; */

    --tabs-border-color: #b9b9b9;
    --tabs-border-size: 3px;
    --tabs-text-color: rgb(0, 0, 0);
    --tabs-dark-color: #b9b9b9;
    --tabs-lite-color: #fdfdfd;

    --tabs-width: 120px;
    --tabs-height: 40px;
  }
  
  /* aspecto básico */
  body {
    font-family: sans-serif;
    line-height: 1.2;
  }
  h2, p {
    margin: 0;
  } 
  a {
    color: inherit;
    text-decoration: none;
  } 
  .tabs * {
    box-sizing: border-box;
  }





  .tab-container {
    position: relative;
    padding-top: var(--tabs-height); /* en esta zona colocaremos las pestañas */
  } 
  #tab1>a { --tabs-position: 0; }
  #tab2>a { --tabs-position: 1; }
  #tab3>a { --tabs-position: 2; }
  #tab4>a { --tabs-position: 3; }
  #tab5>a { --tabs-position: 4; }
  #tab6>a { --tabs-position: 5; }
  #tab7>a { --tabs-position: 6; }
  #tab8>a { --tabs-position: 7; }
  #tab9>a { --tabs-position: 8; }
  .tab>a {
    text-align: center;
    position: absolute;
    width: calc(var(--tabs-width));
    height: calc(var(--tabs-height) + var(--tabs-border-size)); 
    top: 0;
    left: calc(var(--tabs-width) * var(--tabs-position)); /* posición de cada pestaña */
  }


  .tabs { 
    padding: 10px;
    color: var(--tabs-text-color);
  }
  .tab-content {
    background-color: var(--tabs-lite-color); 
    padding: 20px;
    border: var(--tabs-border-size) solid var(--tabs-border-color);
    border-radius: 0 0 10px 10px;
    position: relative;
    z-index: 100;
  }
  .tab>a {
    background-color: var(--tabs-dark-color); 
    padding: 10px;
    border: var(--tabs-border-size) solid var(--tabs-border-color);
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
  }
  .tab:target>a, .tab:last-of-type>a {
    background-color: var(--tabs-lite-color); 
    z-index: 200;
  }
  .tab:target ~ .tab:last-of-type>a {
    background-color: var(--tabs-dark-color); 
    z-index: 0; 
  }


.tab-content table{
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

table td, th{
    border: 0px solid #0363ac;
}

table tr:nth-child(odd){
    background-color: #e9e9e9;
}

table tr:nth-child(even){
    background-color: #f5f5f5;
}

table td:first-child{
    text-align: left !important;
    font-weight: bold;
}

table td:nth-child(n){
    width: 10px;
}

table td{
    text-align: center;
    padding: 3px 15px;
}