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

:root {
    --font-color: #000;
    --verde-agua: 107, 204, 214;
    --blue:15, 105, 180;
    --dark-blue: 23, 50, 119;
    --red-gob:232,56, 95;
    --grey:228, 228, 228;
}

body {
    background-color: #f9f9f9;
    font-family: 'Roboto', sans-serif;
}


.box-1 {
    width: fit-content;
    cursor: pointer;
}

.box-1.color-3 {
   background-color: #0f69b4;
   color: #112D55;
}

.box-1.color-3 a  {
    color:  #fff;
 }

 .box-1.color-4 a  {
    color: #183a68;
 }


li div.box-1  a {
line-height: normal; 
}

.box-1 a {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    text-align: center;  
}

.box-1 a:hover {
    opacity: 0.5; 
}

.box-1 a.blue {
    color: var(--bg-gerencia);
    font-size: 1.1rem;
    font-weight: 400;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}


h1 { 
    color:#373737; 
    text-align:center;
    font-size: 2.4rem;
    text-transform: uppercase;
    font-weight:100;
    margin: 0 0 70px 0;
    background: url(../img/title-line.jpg) center bottom no-repeat;
    padding: 0 0 10px 0;
}

h1 span { 
    font-weight: 700;
}

#wrapper {
  margin:40px auto;
  max-width: 1440px;
}

@media  (max-width: 1023px) {
    #container {
      display: none;
    }
  }

#container {
    float: left;
    padding: 1em;
    width: 100%;
}

ol.organizational-chart,
ol.organizational-chart ol,
ol.organizational-chart li,
ol.organizational-chart li > div {
    position: relative;
}

ol.organizational-chart,
ol.organizational-chart ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

ol.organizational-chart {
    text-align: center;
}

ol.organizational-chart ol {
    padding-top: 1em;
}

ol.organizational-chart ol:before,
ol.organizational-chart ol:after,
ol.organizational-chart li:before,
ol.organizational-chart li:after,
ol.organizational-chart > li > div:before,
ol.organizational-chart > li > div:after {
    background-color: #b7a6aa;
    content: '';
    position: absolute;
}

ol.organizational-chart ol > li {
    padding: 1em 0 0 1em;
}

ol.organizational-chart > li ol:before {
    height: 1em;
    left: 50%;
    top: 0;
    width: 3px;
}

ol.organizational-chart > li ol:after {
    height: 3px;
    left: 3px;
    top: 1em;
    width: 50%;
}

ol.organizational-chart > li ol > li:not(:last-of-type):before {
    height: 3px;
    left: 0;
    top: 2em;
    width: 1em;
}

ol.organizational-chart > li ol > li:not(:last-of-type):after {
    height: 100%;
    left: 0;
    top: 0;
    width: 3px;
}

ol.organizational-chart > li ol > li:last-of-type:before {
    height: 3px;
    left: 0;
    top: 2em;
    width: 1em;
}

ol.organizational-chart > li ol > li:last-of-type:after {
    height: 2em;
    left: 0;
    top: 0;
    width: 3px;
}

ol.organizational-chart li > div {
    background-color: #fff;
    border-radius: 10px;
    min-height: 2em;
    padding:20px 14px;
}

/*** PRIMARY ***/
ol.organizational-chart > li > div {
    background-color: var(--bg-gerencia);
    margin-right: 1em;
}

ol.organizational-chart > li > div:before {
    bottom: 2em;
    height: 3px;
    right: -1em;
    width: 1em;
}

ol.organizational-chart > li > div:first-of-type:after {
    bottom: 0;
    height: 2em;
    right: -1em;
    width: 3px;
}

ol.organizational-chart > li > div + div {
    margin-top: 1em;
}

ol.organizational-chart > li > div + div:after {
    height: calc(100% + 1em);
    right: -1em;
    top: -1em;
    width: 3px;
}

/*** SECONDARY ***/
ol.organizational-chart > li > ol:before {
    left: inherit;
    right: 0;
}

ol.organizational-chart > li > ol:after {
    left: 0;
    width: 100%;
}

ol.organizational-chart > li > ol > li > div {
    background-color: var(--bg-gerencia2);
    line-height: 80%;
}

 


/*** TERTIARY ***/
ol.organizational-chart > li > ol > li > ol > li > div {
    background-color: #6bccd6;
    line-height: 80%;

}

/*** QUATERNARY ***/
ol.organizational-chart > li > ol > li > ol > li > ol > li > div {
    background-color: #99E3EA;
    line-height: 80%;
}

/*** QUINARY ***/
ol.organizational-chart > li > ol > li > ol > li > ol > li > ol > li > div {
    background-color: #fddc32;
    line-height: 80%;
}

/*** MEDIA QUERIES ***/
@media only screen and ( min-width: 64em ) {

    ol.organizational-chart {
        margin-left: -1em;
        margin-right: -1em;
    }

    /* PRIMARY */
    ol.organizational-chart > li > div {
        display: inline-block;
        float: none;
        margin: 0 1em 1em 1em;
        vertical-align: bottom;
    }

    ol.organizational-chart > li > div:only-of-type {
        margin-bottom: 0;
        /* width: calc((100% / 1) - 2em - 4px); */
    }

    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(2),
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(2) ~ div {
        width: calc((100% / 2) - 2em - 4px);
    }

    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(3),
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(3) ~ div {
        width: calc((100% / 3) - 2em - 4px);
    }

    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(4),
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(4) ~ div {
        width: calc((100% / 4) - 2em - 4px);
    }

    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(5),
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(5) ~ div {
        width: calc((100% / 5) - 2em - 4px);
    }

    ol.organizational-chart > li > div:before,
    ol.organizational-chart > li > div:after {
        bottom: -1em!important;
        top: inherit!important;
    }

    ol.organizational-chart > li > div:before {
        height: 1em!important;
        left: 50%!important;
        width: 3px!important;
    }

    ol.organizational-chart > li > div:only-of-type:after {
        display: none;
    }

    ol.organizational-chart > li > div:first-of-type:not(:only-of-type):after,
    ol.organizational-chart > li > div:last-of-type:not(:only-of-type):after {
        bottom: -1em;
        height: 3px;
        width: calc(50% + 1em + 3px);
    }

    ol.organizational-chart > li > div:first-of-type:not(:only-of-type):after {
        left: calc(50% + 3px);
    }

    ol.organizational-chart > li > div:last-of-type:not(:only-of-type):after {
        left: calc(-1em - 3px);
    }

    ol.organizational-chart > li > div + div:not(:last-of-type):after {
        height: 3px;
        left: -2em;
        width: calc(100% + 4em);
    }

    /* SECONDARY */
    ol.organizational-chart > li > ol {
        display: flex;
        flex-wrap: nowrap;
    }

    ol.organizational-chart > li > ol:before,
    ol.organizational-chart > li > ol > li:before {
        height: 1em!important;
        left: 50%!important;
        top: 0!important;
        width: 3px!important;
    }

   /* ol.organizational-chart > li > ol:before,
    ol.organizational-chart > li > ol.test > li:before {
         background-color: greenyellow!important; 
        height:150px!important;
        /* height: 1em!important;
        left: 50%!important;
        top: 0!important;
        width: 3px!important; 
    }*/



   /*  ol.organizational-chart > li > ol:before, ol.organizational-chart > li > ol.test > li:before{
        background-color: greenyellow!important;
        height: 100px!important; */
        /* height: 1em!important;
        left: 50%!important;
        top: 0!important;
        width: 3px!important; 
    }*/


    ol.organizational-chart > li > ol:before, ol.organizational-chart > li > ol.test > li:before{
        /* background-color: greenyellow!important; */
        height: 172px!important;
        /* height: 1em!important;
        left: 50%!important;
        top: 0!important;
        width: 3px!important; */
    }

    ol.organizational-chart > li > ol:after {
        display: none;
    }

    ol.organizational-chart > li > ol > li {
        flex-grow: 1;
        padding-left: 1em;
        padding-right: 1em;
        padding-top: 1em;
    }

    ol.organizational-chart > li > ol > li:only-of-type {
        padding-top: 0;
    }

    ol.organizational-chart > li > ol > li:only-of-type:before,
    ol.organizational-chart > li > ol > li:only-of-type:after {
        display: none;
    }

    ol.organizational-chart > li > ol > li:first-of-type:not(:only-of-type):after,
    ol.organizational-chart > li > ol > li:last-of-type:not(:only-of-type):after {
        height: 3px;
        top: 0;
        width: 50%;
    }

    ol.organizational-chart > li > ol > li:first-of-type:not(:only-of-type):after {
        left: 50%;
    }

    ol.organizational-chart > li > ol > li:last-of-type:not(:only-of-type):after {
        left: 0;
    }

    ol.organizational-chart > li > ol > li + li:not(:last-of-type):after {
        height: 3px;
        left: 0;
        top: 0;
        width: 100%;
    }

}

:root {
    --bg-gerencia: #0b4582;
    --bg-gerencia2: #a5b9df;
    --color-font:#fff;
    }

/*ESTILOS MODAL*/

h1.modal-title {
    font-size: 1.7rem!important;
    font-weight: 500!important;
    color: #373737!important;
    margin: 10px 10px 0px 10px!important;
    background: none!important;
    text-transform: uppercase!important;
    padding: 0;
    text-align: center!important;
}

div.main-col h2{
    font-size: 1.5rem!important;
    font-weight: 500!important;
    color: #0F69C4;
    margin:0 0 24px 0;
    background: none!important;
    text-transform: uppercase!important;
    padding: 0;
}

div.main-col h3{
    font-size: 1.5rem!important;
    font-weight: 500!important;
    color: #373737;
    margin:0 0 16px 0;
    background: url(../img/title-line.jpg) bottom center no-repeat;
    padding: 0 0 10px 0;
    text-transform: uppercase!important;
    text-align: center;
}



div.main-col h4{
    font-size: 1.1rem!important;
    font-weight: 500!important;
    color: #373737;
    margin:0 0 12px 0;
    background: none!important;
    text-transform: uppercase!important;
    padding: 0;
    text-align: center;
}


.main-col {

    margin:20px 40px;
}


.column1 {
    width: 30%;
}
@media only screen and (max-width: 1028px) {
    .column1{
        width: 100%;
    }
  }

.column2 {
    width: 70%;
}
@media only screen and (max-width: 1028px) {
    .column2{
        width: 100%;
    }
  }

.img-orga {
    margin: 20px 0;
    border-radius: 100px;
    border: 1px solid #dfdfdf;
}

.img-red {
   background-image: url(../img/red-square.png);
   background-position:0px 8px;
   background-repeat: no-repeat;
   padding: 0 0 0 16px;
}


a.descargar {
    width: fit-content;
    padding: 10px 30px 10px 44px;
    background-image: url(../img/descargar.png);
    background-position: 14px 10px;
    background-repeat: no-repeat;
    color: #0F69C4;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #0F69C4;
    border-radius: 40px;
    background-size: 20px 18px;
}

a.descargar:hover {
    width: fit-content;
    padding: 10px 30px 10px 44px;
    background-color: #ebf2f9;
    background-image: url(../img/descargar.png);
    background-position: 14px 10px;
    background-repeat: no-repeat;
    background-size: 20px 18px;

    color: #0F69C4;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #0F69C4;
    border-radius: 40px;
}
.column-download-main {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

@media only screen and (max-width: 1199px) {
    .column-download-main {
        flex-direction: column;
    }
  }

.column-download-1 {
    width: 80%;
}
@media only screen and (max-width: 1199px) {
    .column-download-1 {
        width: 100%;
    }
  }

.column-download-2 {
    width: 20%;
}
@media only screen and (max-width: 1199px) {
    .column-download-2 {
        width: 100%;
    }
  }


.margintop {
    margin-top: 30px!important;
}

.modal-content {
    padding: 0 0 40px 0!important;
}

#funcionId p {
    line-height: 1.5;
    margin-bottom: 28px;
}


.padding-directorio {
    padding: 20px 47px!important;
}



ul.list-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.list-mobile li {
  border-bottom: 1px solid #ffffff;
  padding: 14px 20px;
}

ul.list-mobile li:last-child {
    border-bottom: none;
  }

ul.list-mobile li a {
 color: #373737;
 text-decoration: none;
  }

  ul.list-mobile li.style-1 {
    background-color:  rgba(var(--verde-agua), 1);
  }

  ul.list-mobile li.style-2 {
    background-color:  rgba(var(--verde-agua), 0.7);
  }

  ul.list-mobile li.style-2 {
    background-color:  rgba(var(--verde-agua), 0.7);
  }
  ul.list-mobile li.style-3 {
    background-color:  rgba(var(--grey), 1);
  }
  ul.list-mobile li.style-4 {
    background-color:  rgba(var(--blue), 0.5);
  }
  ul.list-mobile li.style-5{
    background-color:  rgba(var(--blue), 0.3);
  }
  button.accordion-button.btn-dark-blue {
    background-color:  rgba(var(--dark-blue), 1);
    color: white;
  }

  button.accordion-button.btn-blue {
    background-color:  rgba(var(--blue), 1);
    color: white;
  }

  .accordion-button:not(.collapsed)::after {
    background-image: url('../img/arrow-1.svg'); /* Reemplaza 'flecha-roja.png' con la ruta de tu imagen personalizada */
 
  }

  .accordion-button::after {
    background-image: url('../img/arrow-1.svg'); /* Reemplaza 'flecha-roja.png' con la ruta de tu imagen personalizada */

}

  a.style-direc{

    color: white;

    text-decoration: none;
    font-size: 1rem;
  }

div.accordion-item.style-direc-bg {
    background-color:rgba(var(--red-gob), 1);
    margin: 0;
    padding: 10px 21px;
  }
  



  @media only screen and (min-width: 1028px) {
    .container-mobile{
       display: none;
    }
  }



  @media only screen and (max-width: 1028px) {
    .main-col{

        margin:20px 10px;
    }
  }


