@charset "utf-8";
/* CSS Document */

 /* RESET STYLES & HELPER CLASSES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
    :root {
     /* --nivel-1: #8dccad;
      --nivel-2: #f5cc7f;
      --nivel-3: #7b9fe0;
      --nivel-4: #f27c8d;*/
      --black: #BAAEA6;
    }

    * {
      padding: 0;
      margin: 0;
      box-sizing: border-box;
    }

    ol {
      list-style: none;
		padding-left:0px;}


    .rectangulo {
      position: relative;
      padding: 20px;
      box-shadow: 0 5px 10px rgba(68, 82, 110, 0.25);
		border-radius: 20px;
		border: 5px solid #f2cbbb;
		/*background: #1E4384;
		background: -moz-linear-gradient(#fff, #EEE);
	background: -webkit-linear-gradient(#fff, #eee);
	background: -o-linear-gradient(#fff, #999);
  -webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;  */
    }


    /* nivel-1 STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
    .nivel-1 {
      width: 50%;
      margin: 0 auto 40px;
      background: var(--nivel-1);
    }

    .nivel-1::before {
      content: "";
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      width: 2px;
      height: 20px; /*raya de enmedio de rectangulo de auditor superior*/
      background: var(--black);
    }


    /* nivel-2 STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
    .nivel-2-wrapper {
      position: relative;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }

/* linea horizontal que se encuentra de bajo de audtroria superior*/   
.nivel-2-wrapper::before {
      content: "";
      position: absolute;
      top: -20px;
      left: 25%;
      width: 50%;
      height: 2px;
      background: var(--black);
    }


    .nivel-2-wrapper li {
      position: relative;
    }

/* linea vertical SUPERIOR  de los rectangulos*/ 
    .nivel-2-wrapper>li::before {
      content: "";
      position: absolute;
      bottom: 100%;
      left: 50%;
      transform: translateX(-50%);
      width: 2px;
      height: 20px;
      background: var(--black);
     
    }

    .nivel-2 {
      width: 70%;
      margin: 0 auto 40px;
      background: var(--nivel-2);
    }

    .nivel-2::before {
      content: "";
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      width: 2px;
      height: 40px;
      background: var(--black);
    }

/* linea horizontal de los rectangulos*/ 
    .nivel-2::after {
      display: none;
      content: "";
      position: absolute;
      top: 50%;
      left: 0%;
      transform: translate(-100%, -50%);
      width: 20px;
      height: 2px;
      background: var(--black);
    }


 /* ULTIMO nivel-X STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
    .nivel-x {
      width: 70%;
      margin: 0 auto 40px;
		
      /*background: var(--nivel-2);*/
    }

   
/* rayita de los ultimos 2 bloques US y UAJ*/
    .nivel-x::after {
      display: none;
      content: "";
      position: absolute;
      top: 50%;
      left: 0%;
      transform: translate(-100%, -50%);
      width: 20px;
      height: 2px;
      background: var(--black);
    }




    .nivel-subx::after {
      display:block;
      content: "";
      position: absolute;
      top: 50%;
      left: 0%;
      transform: translate(-100%, -50%);
      width: 20px;
      height: 2px;
      background: var(--black);
    }





    /* nivel-3 STYLES
––––––––––––––––––––––––––––contenido del submenu las direcciones y departamentos–––––––––––––––––––––– */
    .nivel-3-wrapper {
      position: relative;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-column-gap: 20px;
      width: 90%;
      margin: 0 auto;
    }

    .nivel-3-wrapper::before {
      content: "";
      position: absolute;
      top: -20px;
      left: calc(25% - 5px);
      width: calc(50% + 10px);
      height: 2px;
      background: var(--black);
    }

    .nivel-3-wrapper>li::before {
      content: "";
      position: absolute;
      top: 0;
      left: 50%;
      transform: translate(-50%, -100%);
      width: 2px;
      height: 20px;
      background: var(--black);
    }

    .nivel-3 {
      margin-bottom: 20px;
      background: var(--nivel-3);
    }


    /* nivel-4 STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
    .nivel-4-wrapper {
      position: relative;
      width: 80%;
      margin-left: auto;
    }

    .nivel-4-wrapper::before {
      content: "";
      position: absolute;
      top: -20px;
      left: -20px;
      width: 2px;
      height: 93%;/*calc(100% + 20px);*/
      background: var(--black);
    }

    .nivel-4-wrapper li+li {
      margin-top: 20px;
    }

    .nivel-4 {
     /* font-weight: normal;*/
      background: var(--nivel-4);
    }

    .nivel-4::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 0%;
      transform: translate(-100%, -50%);
      width: 20px;
      height: 2px;
      background: var(--black);
    }


    /* MQ STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
    @media screen and (max-width: 992px) {
      .rectangulo {
        padding: 20px 10px;
		  
      }

      .nivel-1,
      .nivel-2,
      .nivel-x {
        width: 100%;
      }

      .nivel-1 {
        margin-bottom: 20px;
      }

      .nivel-1::before,
      .nivel-2-wrapper>li::before,
      .nivel-x-wrapper>li::before {
        display: none;
      }

      .nivel-2-wrapper,
      .nivel-2-wrapper::after,
      .nivel-2::after,
      .nivel-x-wrapper,
      .nivel-x-wrapper::after,
      .nivel-x::after  {
        display: block;
      }

      .nivel-2-wrapper,
      .nivel-x-wrapper {
        width: 90%;
        margin-left: 10%;
      }

		
	
		
 /* linea larga vertical en responsivo, abarca todo la estructura*/		
      .nivel-2-wrapper::before {
        left: -20px;
        width: 2px;
        height: 99.2%/*calc(100% + 40px)*/;
      }
		
		.nivel-subx-wrapper::before{
	height: 2%/*calc(100% + 40px)*/;}
		
		
 /* linea vertical en responsivo, (se quita 0)*/
    .nivel-2::before {
      content: "";
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 0px;
      background:none;
    }

	
		
    .nivel-x::before {
      content: "";
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 0px;
      background:none;
    }

      .nivel-2-wrapper>li:not(:first-child),
      .nivel-x-wrapper>li:not(:first-child) {
        margin-top: 50px;
      }
		
		ol{padding-left:0px;}
		

    }
    }


 /* INICIO ESTILOS DE DESCRIPCION EMERGENTE */
[tooltip] {
  position: relative; /* opinion 1 */
	cursor: pointer;
}

/* Applies to all tooltips */
[tooltip]::before,
[tooltip]::after {
  text-transform: none; /* opinion 2 */
  font-size: .7em; /* opinion 3 */
  line-height: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events:none;
	
  position: absolute;
  display: none;
  opacity: 0;
}
[tooltip]::before {
  content: '';
  border: 5px solid transparent; /* opinion 4 */
  z-index: 1001; /* absurdity 1 */
}
[tooltip]::after {
  content: attr(tooltip); /* magic! */
  
  /* most of the rest of this is opinion */
  font-family: Poppins, sans-serif;
  text-align: center;
  
  /* 
    Deje que el contenido establezca el tamaño de la información sobre herramientas.
    pero esto también evitará que sean desagradables
    */
  min-width: 3em;
  max-width: 50em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1ch 1.5ch;
  border-radius: .3ch;
  box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
  background: #333;
  color: #fff;
  z-index: 1000; /* absurdity 2 */
}

/* Make the tooltips respond to hover */
[tooltip]:hover::before,
[tooltip]:hover::after {
  display: block;
}

/* don't show empty tooltips */
[tooltip='']::before,
[tooltip='']::after {
  display: none !important;
}

/* FLOW: UP */
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
  bottom: 100%;
  border-bottom-width: 0;
  border-top-color: #333;
}
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
  bottom: calc(100% + 5px);
}
[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
  left: 50%;
  transform: translate(-50%, -.5em);
}

/* FLOW: DOWN */
[tooltip][flow^="down"]::before {
  top: 95%;
  border-top-width: 0;
  border-bottom-color: #333;
}
[tooltip][flow^="down"]::after {
  top: calc(95% + 5px);
}
[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
  left: 50%;
  transform: translate(-50%, .5em);
}


/*----------

@media screen and (max-width: 400px) {

[tooltip][flow^="down"]::before {
  top: 95%;
  border-top-width: 0;
  border-bottom-color: #333;
}
[tooltip][flow^="down"]::after {
  top: calc(95% + 5px);
}
[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
  left: 50%;
  transform: translate(-50%, .5em);
}
}
/*-----------*/


/* FLOW: LEFT */
[tooltip][flow^="left"]::before {
  top: 50%;
  border-right-width: 0;
  border-left-color: #333;
  left: calc(0em - 5px);
  transform: translate(-.5em, -50%);
}
[tooltip][flow^="left"]::after {
  top: 50%;
  right: calc(100% + 5px);
  transform: translate(-.5em, -50%);
}

/* FLOW: RIGHT */
[tooltip][flow^="right"]::before {
  top: 50%;
  border-left-width: 0;
  border-right-color: #333;
  right: calc(0em - 5px);
  transform: translate(.5em, -50%);
}
[tooltip][flow^="right"]::after {
  top: 50%;
  left: calc(100% + 5px);
  transform: translate(.5em, -50%);
}

/* KEYFRAMES */
@-webkit-keyframes tooltips-vert {
  to {
    opacity: .9;
    transform: translate(-50%, 0);
  }
}
@keyframes tooltips-vert {
  to {
    opacity: .9;
    transform: translate(-50%, 0);
  }
}

@-webkit-keyframes tooltips-horz {
  to {
    opacity: .9;
    transform: translate(0, -50%);
  }
}

@keyframes tooltips-horz {
  to {
    opacity: .9;
    transform: translate(0, -50%);
  }
}

/* FX All The Things */ 
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
  -webkit-animation: tooltips-vert 300ms ease-out forwards;
          animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
  -webkit-animation: tooltips-horz 300ms ease-out forwards;
          animation: tooltips-horz 300ms ease-out forwards;
}










/* UNRELATED to tooltips 
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  background: #ededed;
}
main {
  flex: 1 1 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
aside {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #49b293;
  color: #fff;
  padding: 1em;
}
main div {
  text-align: center;
  color: #353539;
}
main span {
  padding: .5em 1em;
  margin: .5em;
  display: inline-block;
  background: #dedede;
}

aside a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  padding: .4em 1em;
}