/*
author: Fredy Luján
license: apache 2.0
company: lujanSoft
update: actualizaciones fecha y lo que se actualizo

1. menu principal
2. top--nav
*/
@import "reset.css";
@import "colors.css";
@import url('https://fonts.googleapis.com/css?family=Oswald:400,700|Roboto');

html {
    /* background: rgb(191, 191, 191); */
    background: #263238;
}

.button-icons{
    display: none;
}

section.container{
    display: flex;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    /* background: #efefef; */
}

.main--nav {
    max-width: 250px;
    min-width: 250px;
    min-height: 100vh;
}

.main--nav nav ul{
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 -5px 0 rgba(0,0,0,0.2); /*Efecto de escalas o bordes profundos*/
}

.main--nav nav ul li{
    padding: 10px;
    transition: 0.8s border-bottom;
}

.main--nav nav ul li:hover{
    background-color: #eee;
    color: #230F2B;
    border-left: 14px solid #C7AC18;
    transition: .07s;
}

/* SESION profile */
center.container-logo-menu{
    font-family: "oswald";
    font-weight: 700;
    padding: 8px;
    border-bottom: 1px solid var(--color1);
}
.overlay-content a{
    border-bottom: 1px solid grey;
}
span.logo-menu {
    background: var(--color1);
    border-radius: 1.8em;
    -moz-border-radius: 1.8em;
    -webkit-border-radius: 1.8em;
    color: white;
    display: inline-block;
    font-weight: bold;
    line-height: 2.6em;
    text-align: center;
    width: 2.6em;
    font-size: 30px;
    -webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    7px 7px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         7px 7px 5px 0px rgba(50, 50, 50, 0.75);
}
/* FIN */

.wrap--content{
    width: 100%;
    /* background: rgb(191, 191, 191); */

    /* fdy 29 ago 2024 */
    background-color: #263238;
}

.wrap--content .menu--top{
    display: flex;
    /* justify-content: flex-end; */
    padding: 10px 25px 6px;
    color: white;
    /* fdy */
    /* 7-jun-2020 */
    margin-top: 27px;
}

.wrap--content .menu--top ul{
  width: 100px;
  display: flex;
  justify-content: space-around;  
}

.wrap--content .menu--top2 {
  display: flex;
  justify-content: flex-end;
  padding: 0px 0px;
}

/* Se usaba en las acciones de las tablas. Se quito Div y creo que ya sobra */
.wrap--content .menu--top2 ul{
  width: 270px;
  display: inline-flex;
  justify-content: space-around;
}

.wrap--content article{
  /* background: white; */
  
  /* Fdy 29 ago 2024 */
  /* background-color: #37474f; */
  /* background-color: var(--background-color-2); */
  background-color: #37474f;
  color: lightgrey;

  width: 90%;
  padding: 20px;
  box-sizing: border-box;
  margin: 40px auto;
  border-radius: 10px;
}

.bienvenida--art {
  width: 100%;
  padding: 20px;
  margin: 10px auto;
  border-radius: 10px;
  text-align: justify;
}

/*SECION MODULES*/
.modules header h1{
  text-transform: uppercase; /*Mayusculas SOSTENIDAS*/
  font-size: 40px;
  color: #230F2B;
  color: lightcyan;
  margin-bottom: 10px;
  font-family: "Oswald";
  border-bottom: 2px solid var(--color2)
}

.modules header p{
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color3);
  line-height: 20px;
  font-size: 15px;
  color: #333;
  margin-bottom: 13px;
}

.modules header div.wrap--btns{
  display: flex;
  justify-content: flex-end;
}

.modules header div.wrap--btns ul{
  display: flex;
  justify-content: space-between;
  min-width: 490px;
  min-width: auto;
  margin-bottom: 40px;
}

.modules header div.wrap--btns ul a{
  padding: 10px;
  border-radius: 0 0 8px 8px;
}

/*Fdy: Modifica la tabla css*/
.dataTables_wrapper .dataTables_paginate .paginate_button{
    border-radius: 8px;
}

.modules.internal-page header{
  display: flex;
  /* border-bottom: 1px solid #ddd; */
  /* margin-bottom: 40px; */
}

/*Fusiona las dos clases mas lo que le ponga acá adentro*/
.modules.internal-page header h1{
  font-size: 30px;
}

.modules.internal-page header .breadcrums ul{
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*El counter-increment:   pa que no se corra y quede todo alineado*/
  padding: 8px 0;
  color: #9e9d9d;
}

.wrap--content .item label{
  padding: 15px 0 0 0;
}

header .breadcrums ul li{
  margin-right: 5px;
}

/*Seleiciona palabra, letra, primera ultima o la que señale*/
header .breadcrums ul li:last-child,
header .breadcrums ul li a:hover{
  color: #005F6B;
}

header .breadcrums2 ul li:last-child,
header .breadcrums2 ul li a:hover{
  color: var(--color3);
}

header .breadcrums3 ul li a:hover{
  color: var(--color3);
}

header .breadcrums ul li .menu--basico{
  color: white;
}

header .breadcrums2 ul li .menu--basico{
  color: white;
  background: var(--color1);
}

/*after= Depues. Se puede crear bordes pa crear flechas o cambiar diseños a los div*/
header .breadcrums ul li a:after{
  content: " / ";
}

td ul li{
  display: inline;
  margin-right: 8px
}

.modules.internal-page header .breadcrums{
  margin: 14px 15px 14px 0;
}

.modules.internal-page .wrap--detail .wrap--content{
  background: none;
}
.modules.internal-page .wrap--detail .wrap--content .item label{
  margin-bottom: 0px
}

.internal-page .wrap--frm .form-group{
    display: block;
    margin-bottom: 20px;
}

.internal-page .wrap--frm .form-group, label{
  display: block;
  font-size: 16px;
  /* color: #575962; */
  color: lightgrey;

  margin-bottom: 8px;
}

.internal-page .wrap--frm .form-group input[type="text"],
.internal-page .wrap--frm .form-group input[type="email"],
.internal-page .wrap--frm .form-group input[type="number"],
.internal-page .wrap--frm .form-group input[type="datetime"],
.internal-page .wrap--frm .form-group input[type="date"],
.internal-page .wrap--frm .form-group textarea,
.internal-page .wrap--frm .form-group select {
    border:1px solid grey;
    width: 100%;
    padding: 10px;
    /* font-size: 16px; */
    font-size: 1.3em;
    line-height: 1.25;
    border-radius: 5px;
    box-sizing: border-box;
    outline: none;
    transition: 1s;
    margin-bottom: 12px;
}

.internal-page .wrap--frm .form-group .checkbox{
  border:1px solid grey;
  width: 100%;
  padding: 8px;
  font-size: 16px;
  line-height: 1.25;
  border-radius: 10px;
  box-sizing: border-box;
  outline: none;
  transition: 1s;
}
.internal-page .wrap--frm .form-group input[type="checkbox"]{
  width: 20px;
  height: 15px;
  line-height: 1.25;
}


.internal-page .wrap--frm .form-group input[type="text"]:focus,
.internal-page .wrap--frm .form-group input[type="email"]:focus,
.internal-page .wrap--frm .form-group input[type="number"]:focus,
.internal-page .wrap--frm .form-group input[type="datetime"]:focus,
.internal-page .wrap--frm .form-group textarea:focus,
.internal-page .wrap--frm .form-group select:focus{
    border-color: #F21D41;
}

/* fdy 15 sep 2024 */
.wrap--frm form {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
}

/* .wrap--frm form .form-group { */
.form-group {
    /* width: 49%; */
    flex-basis: 49%;
}

/* .wrap--frm form .btn { */
.btn {
    /* display: inline-block; */
    /* font-weight: 400; */
    /* text-align: center; */
    /*NO haga saldo de linea. Que agrande el boton*/
    /* white-space: nowrap; */
    /* vertical-align: middle; */
    /*Borde del boton por navegador*/
    /* user-select: none; */
    /* -ms-user .select:none;
    -webkit-user.select:none;
    -moz-user.select:none; */
    border: 1px solid transparent;
    padding: 10px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 5px;
    /*Empieza rápido y termina lento*/
    /* transition: all 1.15s ease-in-out; */
    /* outline: none; */
    cursor: pointer;
    /* margin-top: 12px; */

    /* fdy */
    width: 100%;
}

.require:after{
  color: var(--color4);
  font-size: italic;
  content: "*";
}

.optional:after{
  content: " (opcional)";
  color: #999;
  font-size: italic;
}

th, tr { text-align: left;}
th:first-child{ width: 20px;}
th:last-child{ width: 100px;}

#msn {
  font-size: 100%;
  border-radius: 1px ;
  padding: 14px;
  background-color: hsla(165, 56%, 63%, 0.729);
  border: 1px solid green;
  color: green;
}

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-y: hidden;
  transition: 0.5s;
  /* transition: all .15s ease-in-out; */
  /* transition: all .15s ease-in-out; */
}
.overlay-content {
  position: relative;
  top: 5%;
  width: 100%;
  text-align: center;
  /* color: white */
}
.overlay a {
  padding: 22px;
  text-decoration: none;
  font-size: 26px;
  color: #818181;
  display: block;
  transition: 0.3s;
  line-height: 0.7cm;
  font-size: 20px;
}
.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}
.container-overlay {
  margin-bottom: 50px;
}
.closebtn a {
  font-size: 40px;
  /* height: 246px; */
}
.closebtn {
  text-align: right;
  bottom: 0;
  width: 100%;
  z-index: 2;
}
.submenu-titulo {
  font-size: 22px;
}
.submenu a{
  font-size:20px;
}
.parsley-required{
  color: var(--color3);
}
.helpDescription{
  padding: 10px;
  background: var(--color3);
  color: white;
  margin: 25px;
  border-radius: 5px;
}
.wrap--content{ 
    margin-top: -27px; 
}


/* Menu Dropdown */
.ul-menu-top {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.li-menu-top {
    float: left;
}
.li-menu-top a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding:2px 4px;
    text-decoration: none;
    border-radius:5px 5px 0 0;
}
.li-menu-top a:hover, .dropdown:hover .dropbtn {
    background-color: lightgrey;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
/* papa            hijo */
.dropdown:hover .dropdown-content {
    display: block;
}
.dataTable.no-footer thead{
  background-color: var(--color1);
  color: white;
}
.sorting{
  width: 50px ! important;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, menu, nav, output, ruby, section, summary, time, mark, audio, video{
  vertical-align: middle;
}

/* Ajuste general para vista movil de los index de los modulos
Autor: Fredy
Date: 23 sep 2023 - 16:53
*/
tr td ul {
  text-align: left;
}

tr td ul li {
  display: block;
  color: grey;
  padding: 3px;
}

tr td ul li:hover { 
  color: black;
}

.dataTables_wrapper .dataTables_filter input {
  background: lightgrey;
}
/* Fin new code Fdy */

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
  color: lightgrey;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
  color: lightgrey !important;
}


/*Aplica modificacion en toda la display de mi app*/
/* screen and (max-width:899px){  /*tablets */
@media screen and (max-width:1366px){
  header.main--nav{
    display: none;
  }
  .open--nav{
    display: block !important;
    position: absolute;
    z-index: 5; /*Profundidad Estara por encima de posicion absoluta 5 veces. Z INDEX SON NIVELES NO PIXELES*/
  }
}
/* FIN 1366px */


@media screen and (max-width:820px){
  .hideTd{
    display: none;
  }
}
/*PROPIOS DE FREDY*/
input, button, select{
  margin-bottom: 15px;
}
/* 4-Feb-2018 for: Fdy*/
button{
  cursor: pointer;
  transition: 0.2s
}
.fdyDate:hover{
  cursor: pointer;
}
.menu-hor1 {
  text-align: right;
  margin-top: -1px;
}
.menu-hor1 li {
  display: inline;
  padding: 0 10px;
}
.menu--top .titulo--app{
    position: absolute;
    left: 37%;
}

header .breadcrums ul li:last-child, header .breadcrums ul li {
  color: lightgrey;
}


/* Celular horizontal Galaxy S5 */
@media screen and (max-width:640px) {
  .wrap--content {
    margin-bottom: 52px;
  }
  .hideTd {
    display: none;
  }
  .wrap--content .menu--top ul{
    width: 18px;
    margin-right: 15px;
  }
  .menu--top .titulo--app{
    left: 35%;
  }
  .menu-label{
    display: none;
  }
  .form-w3ls {
    width: 100%;
  }
  .login-register{
    background: none;
  }
  .ul-menu-top{
    display: none;
  }
  .menu--inferior{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    /* height: 50px; */
    z-index: 1;
    background: var(--color1);
    padding: 10px;
  }
  .button-icons {
    display: flex;
    justify-content: space-around;
  }
  .button-icons > span i{
    font-size: 25px;
  }
  .parsley-required{
    color: var(--color3);
    margin: -10px 0 8px 0 !important;
  }
  .modules header div.wrap--btns ul {
    display: block;
  }
  .modules header div.wrap--btns{
    display: block;
  }
  .modules header div.wrap--btns ul a{
    border-radius: 0 0 0 0;
    margin: 1px;
  }
  table.dataTable tbody th, table.dataTable tbody td {
    padding: 2px 1px 2px 2px
  }
  ol, ul {
    display: flex;
    justify-content: space-around;
  }
  .dataTable.no-footer .even:hover{
    color: var(--color3);
  }
  table.dataTable.no-footer{
    border-top: 1px solid var(--color2);
    border-bottom: 1px solid var(--color2);
  }
  .dataTables_length label{
    display: none;
  }
  span .paginate_button {
    display: none !important;
  }
  .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    background: var(--color2);
  }
  .dataTables_wrapper .dataTables_paginate .ellipsis {
    display: none;
  }
}

/* Celulares max-width*/
@media screen and (max-width:480px){
  .wrap--content .menu--top2{
    width: 50px;
  }
  section.container{
    font-size: 14px;
  }
  .wrap--btns ul li a{
    display: -webkit-flex; /* Safari */
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    width: 100%;
    display: block;
    margin-right: 20px;
    text-align: center;
  }
  .menu--top .titulo--app{
    left: 30%;
    /* display: none; */
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: 18px;
  }
  .modules.internal-page{
    padding: 15px;
    margin-top: -20px;
    margin-bottom: -20px;
  }
  .modules.internal-page header{
    margin-bottom: 15px;
  }
  .modules.internal-page header .breadcrums{
    display: none;
  }
  .menu-hor1{
    padding-left: 8px;
  }
  #hamburguesa {
    display: inline;
  }
  .wrap--content article{
    /* background: white; */
    width: 100%;
    margin: 0;
    border-radius: 0;
  }
  .modules header h1 {
    font-size: 30px;
  }
}

/*  (max-height: 450px) { */
@media screen and (max-height: 667px) {
  .overlay {
    overflow-y: auto;
  }
}
/* FIN CSS MENU */
