/*CÓMO ACTUAMOS*/
/*LÍNEAS DE TRABAJO*/

.tabs {
	width: 100%;
    margin: auto;
}

/* Nav */
.tabs nav {
    width: 1024px;
    margin: auto;
}

.tabs nav ul {
    width: 1024px;
	padding: 0;
	display: flex;
}

.tabs nav ul li {
	display: block;
	float: left;
	position: relative;
    
    width: 337px;
    height: 100px;
    margin: 0 5px;
    background-color: rgba(219,219,219,0.2);
}


.tabs nav li.tab-current { /*hover items principales*/
	z-index: 100;
}

.tabs nav a {
	background-color: rgba(219,219,219,0.5);
    color: #1229C1;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
    line-height: 20px;
    font-weight: 800;
    position: absolute;
    width: 100%;
    height: 100px;
    border-radius: 18px 19px 19px 19px;
    -moz-border-radius: 18px 19px 19px 19px;
    -webkit-border-radius: 18px 19px 19px 19px;
    top: 0;
    padding: 20px 30px;
}

.tabs nav a span {
    font-weight: 600;
}

.tabs nav a:hover {
    background-color: #1229C1;
    color: white;
}

.tabs nav li.tab-current a {
    color: white;
    background-color: #1229C1;
}

/* Content */

.content{
    width: 90%;
    position: relative;
    margin-top: 10px;
    align-items: center;
    left: 5%;
}
.content section {
	display: none;
    width: 1024px;
    background-color: rgba(219,219,219,0.5);
    box-sizing: border-box;
    margin: auto;
}

/* Fallback example */
.no-js .content section {
	display: block;
}

.content section.content-current {
    display: block;
    padding-top: 50px;
    padding-bottom: 100px;
}

.content section h2 {
    margin-left: 50px;
}

.content section p {
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 30px;
}

.content section aside {
    background-color: #1229C1;
    color: white;
    padding: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.content section h3 {
    text-align: center;
}

.content #section-1 #codigos_gerenciales li:nth-child(2) h5 {
    background-color: #F9C400;
}

.content #section-1 #codigos_gerenciales li:nth-child(2) h6 {
    color: #F9C400;
}

.content #section-2 #codigos_gerenciales li:nth-child(2) h5 {
    background-color: #43C805;
}

.content #section-2 #codigos_gerenciales li:nth-child(3) h6 {
    color: #E95314;
}

.content #section-2 #codigos_gerenciales li:nth-child(3) h5 {
    background-color: #E95314;
}

.content #section-2 #codigos_gerenciales li:nth-child(2) h6 {
    color: #43C805;
}

.content #section-3 #codigos_gerenciales li:nth-child(1) h5 {
    background-color: #7300AA;
}

.content #section-3 #codigos_gerenciales li:nth-child(1) h6 {
    color: #7300AA;
}

.content section .codigos_de_apoyo { 
    height: 220px;
    text-align: center;      
    margin: auto;
    margin-top: 50px;
}

.content #section-1 .codigos_de_apoyo { 
    width: 920px;
}

.content #section-2 .codigos_de_apoyo { 
    width: 200px;
}
.content #section-3 .codigos_de_apoyo { 
    width: 690px;
}

.content section .codigos_de_apoyo li { 
    position: relative;
    float: left;
    width: 200px;
    height: 200px;
    margin: 10px 15px;
    background-color: rgba(219,219,219,0.7);   
    border-radius: 50%;
    color: #585858;
    font-size: 16px;
    line-height: 20px;
    padding: 50px;
    text-align: center;
    font-weight: 600;
}

.content section .codigos_de_apoyo li span {
    font-weight: 800;
    line-height: 30px;
}

@media (max-width:480px) {
    .tabs {
        width: 320px;
        flex-direction: column;

    }
    .tabs nav  {
        width: 300px;
    }
    .tabs nav a {
        font-size: 14px;
        left: 0;
        width: 300px;
    }
    .tabs ul{
        left: 0;
        flex-direction: column;
        width: 300px;
    }
    .tabs ul{
      margin-top: 10px;
        width: 300px;
    }
    .tabs nav ul li{
        margin-top: 10px;
        width: 300px;
    }
    .hexagonos-gerenciales1 .hexagono{
        margin-left: 10%;
    }
    .content #section-1 .codigos_de_apoyo {
        width: 100%;
        margin-left: 2%;
    }

    .content #section-2 .codigos_de_apoyo {
        width: 100%;
    }
    .content #section-3 .codigos_de_apoyo {
        width: 100%;
    }
    .content section{
        width: 300px;
        margin-left: 0;
    }
    .content section h2{
        width: 60%;
    }
    .content #section-1{
        height: 2500px;
    }
    .content #section-2 {
        height: 2300px;
    }
    .content #section-3{
        height: 2120px;
    }
    .content section .codigos_de_apoyo li{
        margin: 10px 13%;
    }
    .hexagonos-gerenciales1{
        width: 100%;
        height: 600px;
    }
    .hexagonos-gerenciales2{
        width: 100%;
        height: 900px;
    }
    .hexagonos-gerenciales3{
        width: 100%;
        height: 320px;
    }
    #lineastrabajo .hexagono {
        margin-left: 9%;
        width: 250px;
        height: 250px;
    }
}

@media (min-width: 481px) and (max-width:800px) {
    .tabs {
        width: 100%;
        flex-direction: column;
    }
    .hexagonos-gerenciales1 .hexagono{
        margin-left: 3%;
    }
    .tabs ul{
        flex-direction: column;
    }
    .tabs nav a {
        left: 0;
    }
    .content section{
        width: 581px;
    }
    .tabs nav ul li{
        width: 581px;
        margin-top: 10px;
        margin-left: 93.5px;
    }
    .content #section-1 .codigos_de_apoyo {
        width: 80%;
        margin-left: 60px;
    }
    .content #section-1 {
        height: 1600px;
    }
    .content #section-2 .codigos_de_apoyo {
        width: 40%;
    }
    .content #section-2{
        height: 1800px;
    }
    .content #section-3 .codigos_de_apoyo {
        width: 80%;
    }
    .content #section-3 {
        height: 1600px;
        margin-left: 60px;
    }
    .content #section-3 .codigos_de_apoyo li:nth-child(3){
        left: 120px;
    }
    .hexagonos-gerenciales1{
        width: 100%;
        height:360px;
    }
    .hexagonos-gerenciales2{
        width: 100%;
        height: 700px;
    }
    .hexagonos-gerenciales3{
        width: 100%;
        height: 380px;
    }
    #lineastrabajo .hexagonos-gerenciales2 .hexagono:nth-child(3){
        left: 140px;
    }
    #lineastrabajo .hexagonos-gerenciales3 .hexagono{
        margin-left: 28%;
    }
}