﻿body {
  margin: 0;
  padding: 0;
  width: auto;
  font-family: 'Roboto', sans-serif;
}


.main-nav {
  float: left;
  width: 30%;
}

  .main-nav ul li {
    float: left;
  }

  .main-nav a {
    display: block;
    color: #fff;
    font-size: 14px;
    width: 100%;
    height: 100%;
    list-style: none;
    text-decoration: none;
  }

  .main-nav li:hover {
    background: #003896;
  }

  .main-nav li a:hover {
    color: white;
  }

  .main-nav ul ul {
    left: -999em;
    top: 0;
    position: absolute;
    background: #9d9b9c;
    border-top: 0;
    margin: 26px 0 0 0;
    padding: 0;
    line-height: 1em;
  }

  .main-nav li:hover ul {
    left: auto;
    width: 180px;
  }

  .main-nav ul li:hover ul ul {
    left: -999em;
    margin: 0;
  }

  .main-nav ul ul li:hover ul {
    left: 15em;
    margin-top: -1px;
  }

  .main-nav ul ul li {
    display: block;
    float: none;
    padding: 0;
    margin: 0;
    background: #9d9b9c;
    border: none;
  }

  .main-nav ul ul a {
    display: block;
    padding: 5px;
  }

.menu li {
  background: #a5a49f url(images/menu_bg.png) 0 0 repeat-x;
  border: 1px solid #eee;
}

.menu ul {
  position: absolute;
  top: 30px;
  left: 0;
  padding: 0;
}

  .menu ul a, .menu ul li {
    float: none;
  }

/* Turn off dropdown nav for this layout */
#main-nav ul li ul {
  display: none;
}



/****************PACO*************/

td {
  vertical-align: middle;
  color: black;
  /* width: 300px;*/
}

.alternating-row {
  background-color: #cf4c4c; /* Color de fondo para las filas alternas */
}

.normal-row {
  background-color: #fff; /* Color de fondo para las filas alternas */
}

.estilo-cabecera-grid {
  font-weight: bold;
  font-size: 20px;
  width: min-content;
}

.estilo-documento-grid {
  text-align: center;
}


#ctl00_ContentCuerpo_ASPxGridView1_DXMainTable tr {
  font-size: 24px;
  margin: 0 auto;
}

  #ctl00_ContentCuerpo_ASPxGridView1_DXMainTable tr td {
    font-size: 20px;
    margin: 0 auto;
  }

.dxgvDataRow td.dxgv {
  padding: 0.8rem;
}

#ctl00_ContentCuerpo_ASPxGridView1_DXMainTable {
  width: 80%;
}

  #ctl00_ContentCuerpo_ASPxGridView1_DXMainTable tr:hover {
    background-color: dimgray;
  }


.menu-item-56 {
  width: 150px;
  height: 50px;
  padding: 2px;
  vertical-align: middle;
  text-align: center;
}


#main-content {
  display: flex;
  justify-content: space-evenly;
  align-content: center;
  flex-direction: column;
  margin-right: 10px;
}

#menu-menu-principal {
  display: flex;
  align-items: center;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  list-style: none;
}



/*BARRA NAVEGACION*/
#menu > ul > .lilogout {
  padding-left: 20px;
  padding-right: 20px;
  color: white;
  text-decoration: none;
  text-align: right;
  display: inline;
  float: right;
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
  align-items: center;
  line-height: 46px;
  flex-direction: column;
  text-align: center;
  vertical-align: middle;
  padding-top: 50px
}



  #menu > ul > .lilogout a {
    border: solid black 1px;
    border-radius: 50px;
    background-color: white;
    padding-left: 7px;
    padding-right: 7px;
    color: white;
    text-decoration: none;
    text-align: right;
    display: inline;
    float: right;
    margin-right: 15px;
  }

    #menu > ul > .lilogout a:hover {
      background-color: rgb(145, 41, 41);
    }


.imgLogout {
  border: solid black 1px;
  border-radius: 50px;
  background-color: white;
  padding: 6px;
  color: white;
  text-decoration: none;
  text-align: right;
  display: inline;
  float: right;
  margin-right: 15px;
}

  .imgLogout:hover {
    background-color: rgb(145, 41, 41);
  }


.cambiarCerrar {
  color: white;
  text-decoration: none;
  text-align: right;
  float: right;
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
  justify-content: space-evenly;
  align-items: center;
}

.CambiarPassEnlace {
  margin-left: 20px;
}



.imglogo {
  height: 140px;
  vertical-align: middle;
}

.tituloweb {
  padding-left: 10%;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
  color: blue;
}

.menu-item-56 a:hover {
  text-decoration: none;
}

input, select {
  margin: 4px;
  vertical-align: middle
}


#ctl00_HeadLoginStatus {
  margin-left: 15px;
}

/*MENU LATERAL*/
.sidebar {
  float: left;
  width: auto;
  background-color: #333;
  color: white;
  transition: width 0.3s;
}

/* .sidebar.collapsed {
    width: 60px;
  }*/

.hamburger {
  margin-top: 5px;
  background-color: #333;
  color: white;
  border: none;
  font-size: 30px;
  cursor: pointer;
  padding: 15px;
  /* width: 100%;*/
}

.menulateral {
  list-style-type: none;
  padding: 0;
}


  .menulateral li .novedades {
    background-color: #cf4c4c;
  }

  .menulateral li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 15px;
  }

    .menulateral li a .novedades {
      color: white;
      text-decoration: none;
      display: block;
      padding: 15px;
    }

.hidden {
  display: none;
}

.active {
  background-color: #cf4c4c; /* Color de fondo para el enlace activo */
  color: white; /* Color del texto para el enlace activo */
}

.menulateral li:hover {
  background-color: #575757;
}

.menulateral li:active {
  background-color: #cf4c4c;
}


.centroContenido {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}
/*CONTENIDO*/
.contenido {
  margin: auto;
  width: 100%;
  /*padding-right: 10px*/
}

.table {
  margin: 10px;
  width: auto;
}

  .table td, .table th {
    padding: 0.8rem; /*!important*/
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
    font-size: 23px;
    font-weight: bold;
  }


.EstiloAsesor {
  font-weight: bold;
  font-size: 14px;
}

.DatosConsultores {
  margin: 10px 10px 10px 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  flex-wrap: wrap;
  background-color: white;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.15);
}


.emisor {
  float: left
}

.receptor {
  float: left
}

.clear {
  float: none;
  clear: both;
}

.DatosConsultores .list {
  list-style-type: none;
  padding: 0px;
}

  .DatosConsultores .list li {
    list-style: none;
    font-size: 24px;
    font-weight: bold;
    display: flex; /* Alinea el icono y el texto en línea */
    align-items: center; /* Alinea verticalmente los elementos */
    margin-bottom: 10px; /* Espacio entre los elementos de la lista */
  }

    .DatosConsultores .list li img.icon {
      margin-right: 10px; /* Espacio entre el icono y el texto */
      width: 20px; /* Ajusta el tamaño del icono */
      height: 20px; /* Ajusta el tamaño del icono */
    }


.DatosAsesor {
  margin: 10px 0px 10px 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  flex-wrap: wrap;
  background-color: white;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.15);
}

  .DatosAsesor .list {
    list-style-type: none;
    padding: 0px;
  }

    .DatosAsesor .list li {
      list-style: none;
      font-size: 24px;
      font-weight: bold;
      display: flex; /* Alinea el icono y el texto en línea */
      align-items: center; /* Alinea verticalmente los elementos */
      margin-bottom: 10px; /* Espacio entre los elementos de la lista */
      hyphens: auto; /* Añade guiones automáticamente cuando se parten las palabras largas */
      word-break: break-word; /* Permite que las palabras largas se partan y se ajusten al contenedor */
      overflow-wrap: break-word; /* Otra propiedad para asegurarse de que las palabras se partan */
      white-space: normal; /* Permite que el texto se ajuste a múltiples líneas */
    }

      .DatosAsesor .list li img.icon {
        margin-right: 10px; /* Espacio entre el icono y el texto */
        width: 20px; /* Ajusta el tamaño del icono */
        height: 20px; /* Ajusta el tamaño del icono */
      }



.tituloEmpresaReceptora {
  font-size: 18px;
  margin: 0px
}

#DivDescarga {
  margin-left: 10px;
  padding: 10px;
}

/*FILTROS*/

#Filtros {
  margin: 10px;
  padding: 10px;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.15);
  background-color: white;
}


#ctl00_ContentCuerpo_btnEjecutarFiltro {
  color: white;
  background-color: #333333;
}

  #ctl00_ContentCuerpo_btnEjecutarFiltro:hover {
    color: white;
    background-color: #902929;
  }

#ctl00_ContentCuerpo_btnLimpiarFiltro {
  color: white;
  background-color: #333333;
}

  #ctl00_ContentCuerpo_btnLimpiarFiltro:hover {
    color: white;
    background-color: #902929;
  }


#Panel2 {
  height: auto !important;
  max-height: none !important;
  overflow: visible;
}

table {
  border-spacing: 1px;
}


.bordeCircular {
  border-radius: 50%;
}


.dxgvTitlePanel {
  font-size: large;
}

/*FOOTER*/
#footer.solid-bg {
  background: #878787 none repeat center top;
}


#footer a {
  text-decoration-line: none;
  color: white;
}

  #footer a:hover {
    text-decoration-line: underline;
    color: blue;
  }

.mobile-false .footer-overlap .footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 99;
  opacity: 0;
}

.footer {
  padding: 0;
}

.footer {
  /*-ms-grid-column: 1;
    -ms-grid-row: 6;*/
  grid-area: footer;
}


#footer .wf-container-footer {
  padding-top: 30px;
  padding-bottom: 25px;
}

#bottom-bar.full-width-line .wf-container-bottom,
#bottom-bar.solid-bg .wf-container-bottom,
.empty-footer.solid-bg #bottom-bar.full-width-line,
.empty-footer.solid-bg .wf-container-bottom,
.footer.full-width-line .wf-container-footer,
.footer.solid-bg .wf-container-footer {
  border-top: none;
}

.wf-container-footer,
.footer.full-width-line {
  border-top: 1px solid #232323;
}

.wf-container-footer {
  padding-top: 50px;
}


.footer .widget,
.footer .tp_recent_tweets li {
  font: var(--the7-widget-content-font);
  text-transform: var(--the7-widget-content-text-transform);
  letter-spacing: var(--the7-widget-content-letter-spacing);
  text-decoration: var(--the7-widget-content-text-decoration);
}

.footer .widget {
  color: white;
  padding: 0 22px;
}

.footer .widget {
  box-sizing: border-box;
}

.footer .widget {
  margin-bottom: 30px;
}

.footer .widget,
.wf-cell,
.wf-usr-cell {
  display: inline-block;
  vertical-align: top;
  padding: 0 22px;
}

.wf-cell,
.wf-usr-cell {
  padding: 0 15%;
}


.wf-1-5 {
  width: 20%;
}

.camposFiltros {
  width: 70%;
}

.ocultarCampo {
  display: none;
}


#menu ul {
  list-style-type: none;
  text-decoration: none;
  margin: 0px auto;
  padding: 0px;
  /* height: auto;*/
}



.datosAsesor {
  font-weight: bold;
}


/*MEDIAS QUERY*/
@media (max-width: 1500px) and (min-width: 1200px) {
  /*Disminuyo el tamaño de letra y el padding del grid para que se ajuste a la pantalla*/
  .table td, .table th {
    padding: 0.75rem;
  }

  #ctl00_ContentCuerpo_ASPxGridView1_DXMainTable tr td {
    font-size: 16px;
  }
}




@media (max-width: 1200px) and (min-width: 1066px) {

  /*Disminuyo el tamaño de letra y el padding del grid para que se ajuste a la pantalla*/
  .table td, .table th {
    padding: 0.60rem;
  }

  #ctl00_ContentCuerpo_ASPxGridView1_DXMainTable tr td {
    font-size: 14px;
  }
}


@media (max-width: 1244px) and (min-width: 1066px) {

  /*.contenido {
    padding-left: 6.5%;
  }*/

  .imglogo {
    height: 120px;
  }

  #menu > ul > li {
    font-size: 24px;
  }
}


@media (max-width: 1066px) {

  /*.contenido {
    padding-left: 5%;
  }*/

  .imglogo {
    height: 123px;
  }

  #menu > ul > li {
    font-size: 22px;
  }

  .tituloweb {
    padding-left: 0px;
    font-weight: bold;
  }
}




@media (max-width: 1066px) and (min-width: 860px) {

  /*Cambiar la barra de cabecera quitando el correo y el telefono*/


  ul#listadoMenu li:nth-child(3) {
    display: none;
  }


  ul#listadoMenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

    ul#listadoMenu li.hamburgerCab {
      display: inline-block;
    }


      /*hamburguesa*/

      /* Estilo para el menú desplegable */
      ul#listadoMenu li.hamburgerCab .dropdown-menu {
        display: none;
        position: absolute;
        background-color: #333;
        border-radius: 5px;
        list-style-type: none;
        z-index: 1000; /* Asegura que el menú se superponga a otros elementos */
        transform: translate(-75%,-28%); /* Mueve el menú a la izquierda para que no se corte y hacia arriba para quedar cerca del boton hamburguesa */
      }

  #menu ul {
    list-style-type: none;
    text-decoration: none;
    margin: 0px auto;
    /* height: auto;*/
  }


  ul#listadoMenu li.hamburgerCab .dropdown-menu li {
    display: block;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

    ul#listadoMenu li.hamburgerCab .dropdown-menu li a {
      border: solid black 1px;
      border-radius: 50px;
      background-color: white;
      padding: 7px;
      color: white;
      text-decoration: none;
      text-align: right;
      display: inline;
      float: right;
      margin-right: 15px;
    }

  ul#listadoMenu li.hamburgerCab:hover .dropdown-menu {
    display: block;
  }

  /* Estilo para el ícono de hamburguesa */
  ul#listadoMenu li.hamburgerCab {
    display: block;
    width: 50px;
    height: 50px;
    background-image: url(Images/LoginUsuario.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-width: 30px;
    background-color: white;
    border: 1px solid black;
    border-radius: 30px;
  }

  input {
    margin: 1px;
    vertical-align: middle;
    font-size: small;
  }

  #menu > ul > li {
    line-height: inherit;
  }

  .UsuarioConectado {
    margin: 10px;
    color: white;
  }

  .CambiarPassEnlace {
    margin-left: 0px;
  }

  #ctl00_LoginStatus1 {
    margin-top: 10px;
  }



  /*Disminuyo el tamaño de letra y el padding del grid para que se ajuste a la pantalla*/
  .table td, .table th {
    padding: 0.30rem;
  }

  #ctl00_ContentCuerpo_ASPxGridView1_DXMainTable tr td {
    font-size: 12px;
  }
}






@media (max-width: 860px) and (min-width: 780px) {


  ul#listadoMenu li:nth-child(3) {
    display: none;
  }


  ul#listadoMenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

    ul#listadoMenu li.hamburgerCab {
      display: inline-block;
    }


      /*hamburguesa*/

      /* Estilo para el menú desplegable */
      ul#listadoMenu li.hamburgerCab .dropdown-menu {
        display: none;
        position: absolute;
        background-color: #333;
        border-radius: 5px;
        list-style-type: none;
        z-index: 1000; /* Asegura que el menú se superponga a otros elementos */
        transform: translate(-75%,-28%); /* Mueve el menú a la izquierda para que no se corte y hacia arriba para quedar cerca del boton hamburguesa */
      }

  #menu ul {
    list-style-type: none;
    text-decoration: none;
    margin: 0px auto;
  }


  ul#listadoMenu li.hamburgerCab .dropdown-menu li {
    display: block;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

    ul#listadoMenu li.hamburgerCab .dropdown-menu li a {
      border: solid black 1px;
      border-radius: 50px;
      background-color: white;
      padding: 7px;
      color: white;
      text-decoration: none;
      text-align: right;
      display: inline;
      float: right;
      margin-right: 15px;
    }

  ul#listadoMenu li.hamburgerCab:hover .dropdown-menu {
    display: block;
  }

  /* Estilo para el ícono de hamburguesa */
  ul#listadoMenu li.hamburgerCab {
    display: block;
    width: 50px;
    height: 50px;
    background-image: url(Images/LoginUsuario.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-width: 30px;
    background-color: white;
    border: 1px solid black;
    border-radius: 30px;
  }

  input {
    margin: 1px;
    vertical-align: middle;
    font-size: small;
  }

  #menu > ul > li {
    line-height: inherit;
  }

  .UsuarioConectado {
    margin: 10px;
    color: white;
  }

  .CambiarPassEnlace {
    margin-left: 0px;
  }

  #ctl00_LoginStatus1 {
    margin-top: 10px;
  }



  /*Barra lateral*/

  .menulateral li a {
    padding: 10px;
    /*font-size: x-small;*/
  }


  /*Disminuyo el tamaño de letra y el padding del grid para que se ajuste a la pantalla*/
  .table td, .table th {
    padding: 0.30rem;
  }

  #ctl00_ContentCuerpo_ASPxGridView1_DXMainTable tr td {
    font-size: 10px;
  }
}

@media (max-width: 780px) {


  /*Cambiar la barra de cabecera quitando el correo y el telefono*/

  ul#listadoMenu li:nth-child(3) {
    display: none;
  }


  ul#listadoMenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

    ul#listadoMenu li.hamburgerCab {
      display: inline-block;
    }


      /*hamburguesa*/

      /* Estilo para el menú desplegable */
      ul#listadoMenu li.hamburgerCab .dropdown-menu {
        display: none;
        position: absolute;
        background-color: #333;
        border-radius: 5px;
        list-style-type: none;
        z-index: 1000; /* Asegura que el menú se superponga a otros elementos */
        transform: translate(-75%,-28%); /* Mueve el menú a la izquierda para que no se corte y hacia arriba para quedar cerca del boton hamburguesa */
      }

  #menu ul {
    list-style-type: none;
    text-decoration: none;
    margin: 0px auto;
    /* height: auto;*/
  }


  ul#listadoMenu li.hamburgerCab .dropdown-menu li {
    display: block;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

    ul#listadoMenu li.hamburgerCab .dropdown-menu li a {
      border: solid black 1px;
      border-radius: 50px;
      background-color: white;
      padding: 7px;
      color: white;
      text-decoration: none;
      text-align: right;
      display: inline;
      float: right;
      margin-right: 15px;
    }

  ul#listadoMenu li.hamburgerCab:hover .dropdown-menu {
    display: block;
  }

  /* Estilo para el ícono de hamburguesa */
  ul#listadoMenu li.hamburgerCab {
    display: block;
    width: 50px;
    height: 50px;
    background-image: url(Images/LoginUsuario.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-width: 30px;
    background-color: white;
    border: 1px solid black;
    border-radius: 30px;
  }

  input {
    margin: 1px;
    vertical-align: middle;
    font-size: small;
  }

  #menu > ul > li {
    line-height: inherit;
  }

  .UsuarioConectado {
    margin: 10px;
    color: white;
  }

  .CambiarPassEnlace {
    margin-left: 0px;
  }

  #ctl00_LoginStatus1 {
    margin-top: 10px;
  }


  /*Barra lateral*/
  .menulateral li a {
    padding: 10px;
    /*font-size: x-small;*/
  }

  /*Disminuyo el tamaño de letra y el padding del grid para que se ajuste a la pantalla*/
  .table td, .table th {
    padding: 0.20rem;
  }

  #ctl00_ContentCuerpo_ASPxGridView1_DXMainTable tr td {
    font-size: 9px;
  }

  .wf-1-5 {
    width: 40%;
  }
}




@media (max-width: 675px) {
  #menu {
    height: 230px;
  }

  /*.DatosConsultores {
    width: 95%;
  }*/

  /*.contenido {
    width: 90%;
  }*/

  ul#listadoMenu {
    display: grid;
    grid-template-columns: 15fr 1fr; /* Dos columnas, la primera con mas ancho que la segunda */
    gap: 10px; /* Espacio entre columnas */
    list-style: none;
    padding: 0;
    margin: 0;
  }


    ul#listadoMenu li:first-child {
      grid-column: span 2; /* El primer elemento ocupa ambas columnas */
      margin-bottom: 10px; /* Espacio entre el primer y segundo elementos */
      margin-top: 2px; /* Espacio entre el primer y segundo elementos */
    }

    ul#listadoMenu li:nth-child(2),
    ul#listadoMenu li:nth-child(4) {
      margin: 4px; /* Asegúrate de que no haya margen adicional */
    }
}



@media (max-width: 520px) {
  /* .DatosConsultores {
    width: 95%;
  }*/

  /* .contenido {
    width: 85%;
  }*/
}




@media (max-width: 700px) {
  .fecha-ultima-descarga, .fecha-ultima-descarga .dxgv {
    display: table-cell !important;
    visibility: visible !important;
  }
}

@media (min-width: 701px) {
  .fecha-ultima-descarga, .fecha-ultima-descarga .dxgv {
    display: none !important;
    visibility: hidden !important;
  }
}
