*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}
/*redes sociales*/

.icon-facebook{
    background: #3b5998;
    color: #ffffff; 
}
.icon-twitter-bird{
    background: #55acee;
    color: #ffffff;
}
.icon-flash{
    background: #0084ff;
    color: #ffffff;
}
.icon-whatsapp{
    background: #4dc247;
    color: #ffffff;
}
.icon-instagram{
    background: #833ab4;
    color: #ffffff; 
}
.icon-facebook:hover{
    background: #ffffff;
    color:#3b5998; 
}
.icon-twitter-bird:hover{
    background: #ffffff;
    color: #55acee;
}
.icon-whatsapp:hover{
    background: #ffffff;
    color:#4dc247;
}
.icon-flash:hover{
    background: #ffffff;
    color: #0084ff;
}
.icon-instagram:hover{
    background: #ffffff;
    color: #833ab4; 
}
/*end redes sociales*/
body{
    background: #fff;
}
.wrapper .header{
    z-index: 1;
    background: #C8102E;
    position: fixed;
    width: calc(100% - 0%);
    height: 70px;
    display: flex;
    top: 0;
}

.wrapper .header .header-menu{
    width: calc(100% - 0%);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.wrapper .header .header-menu .title{
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 900;
}

.wrapper .header .header-menu .title span{
   /** color: #4ccee8;*/
    color: #fff;
}

.wrapper .header .header-menu .sidebar-btn{
    color: #fff;
    position: absolute;
    margin-left: 240px;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
    transition-property: color;
}

.wrapper .header .header-menu .sidebar-btn:hover{
    color: #000;
}

.wrapper .header .header-menu ul{
    display: flex;
}

.wrapper .header .header-menu ul li a{
    /*background: #3b5998;
    color: #fff;*/
    display: block;
    margin: 0 10px;
    font-size: 18px;
    width: 34px;
    height: 34px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    transition-property: background, color;
}

.wrapper .header .header-menu ul li a:hover{
    background: #fff;
    color: #3b5998;
}

.wrapper .sidebar{
    z-index: 1;
    background: #382f2d;
    position: fixed;
    top: 70px;
    width: 250px;
    height: calc(100% - 9%);
    transition: 0.3s;
    transition-property: width;
    overflow-y: auto;
}

.wrapper .sidebar .sidebar-menu{
    overflow: hidden;
}

.wrapper .sidebar .sidebar-menu .profile img{
    margin: 20px 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.wrapper .sidebar .sidebar-menu .profile p{
    color: #bbb;
    font-weight: 700;
    /*margin-bottom: 10px;*/
}

.wrapper .sidebar .sidebar-menu .item{
    width: 250px;
    overflow: hidden;
}

.wrapper .sidebar .sidebar-menu .item .menu-btn{
    display: block;
    color: #fff;
    position: relative;
    padding: 10px 5px;
    transition: 0.3s;
    transition-property: color;
}

.wrapper .sidebar .sidebar-menu .item .menu-btn:hover{
    color: #C8102E;
}

.wrapper .sidebar .sidebar-menu .item .menu-btn i{
    margin: 10px;
}

.wrapper .sidebar .sidebar-menu .item .menu-btn .drop-down{
    float: right;
    font-size: 12px;
}

.wrapper .sidebar .sidebar-menu .item .sub-menu{
    background: #C8102E;
    overflow: hidden;
    max-height: 0;
    transition: 0.3s;
    transition-property: background, max-height;
}

.wrapper .sidebar .sidebar-menu .item .sub-menu a{
    display: block;
    position: relative;
    color: #fff;
    white-space: nowrap;
    font-size: 15px;
    padding: 10px;
    border-bottom: 1px solid #f36b74;
    transition: 0.3s;
    transition-property: background;
}

.wrapper .sidebar .sidebar-menu .item .sub-menu a:hover{
    background: #EF3340;
}

.wrapper .sidebar .sidebar-menu .item .sub-menu i{
    padding-right: 20px;
    font-size: 10px;
}

.wrapper .sidebar .sidebar-menu .item:target .sub-menu{
    max-height: 500px;
}

.wrapper .main-container{
    width: (100% - 250px);
    margin-top: 70px;
    margin-left: 250px;
    padding: 15px;
    background-image: url(../img/fondo_macsa.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100vh;
    transition: 0.3s;
}

.wrapper.collapse .sidebar{
    width: 70px;
}

.wrapper.collapse .sidebar .profile img,
.wrapper.collapse .sidebar .profile p,
.wrapper.collapse .sidebar a span{
    display: none;
}

.wrapper.collapse .sidebar .sidebar-menu .item .menu-btn{
    font-size: 23px;
    margin-left: 10px;
}

.wrapper.collapse .sidebar .sidebar-menu .item .sub-menu i{
    font-size: 18px;
    margin-left: 15px;
    padding-left: 3px;
}

.wrapper.collapse .main-container {
    width: (100% - 70px);
    margin-left: 70px;
    /*height: calc(100% - 9%);*/
}
.wrapper.collapse .content-carrousel{
    width: 90%;
}
.wrapper.collapse .content-all{
    width: 15%;
}

/*inicia slider*/

/*.content-all{
    width: 15.5%;
    margin: auto;
    perspective: 450px;
    position: relative;
    margin-top: 150px;
}

.content-carrousel{
    width: 100%;
    position: absolute; 
    animation: rotar 40s infinite linear;
    transform-style: preserve-3d;
}

.content-carrousel:hover{
    animation-play-state: paused;
    cursor: pointer;
}

.content-carrousel figure{
    width: 100%;
    height: 100%;*/
    /*overflow: hidden;*/
   /* position: absolute;
    box-shadow: 0px 0px 25px 5px black;
    transition: all 300ms;
}

.content-carrousel figure:hover{
    box-shadow: 0px 0px 0px 0px black;
    transition: all 300ms;
}

.content-carrousel figure:nth-child(1){transform: rotateY(0deg) translateZ(300px);}
.content-carrousel figure:nth-child(2){transform: rotateY(36deg) translateZ(300px);}
.content-carrousel figure:nth-child(3){transform: rotateY(72deg) translateZ(300px);}
.content-carrousel figure:nth-child(4){transform: rotateY(108deg) translateZ(300px);}
.content-carrousel figure:nth-child(5){transform: rotateY(144deg) translateZ(300px);}
.content-carrousel figure:nth-child(6){transform: rotateY(180deg) translateZ(300px);}
.content-carrousel figure:nth-child(7){transform: rotateY(216deg) translateZ(300px);}
.content-carrousel figure:nth-child(8){transform: rotateY(252deg) translateZ(300px);}
.content-carrousel figure:nth-child(9){transform: rotateY(288deg) translateZ(300px);}
.content-carrousel figure:nth-child(10){transform: rotateY(324deg) translateZ(300px);}

.content-carrousel img{
    width: 100%;
    transition: all 300ms;
}

.content-carrousel img:hover{
    transform: scale(1.1);
    transition: all 300ms;
}

@keyframes rotar{
    from{
        transform: rotateY(0deg);
    }to{
        transform: rotateY(360deg);
    }
}*/

.slide-prin{
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-all input{
   visibility: hidden;
}

.container-all{
    position: relative;
    max-width: 1000px;
    max-height: 600px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
}
.slide{
    display: flex;
    transform: translate3d(0, 0, 0);
    transition: all 600ms;
    animation-name: autoplay;
    animation-duration:10s;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}

.item-slide{
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    flex-grow: 0;
    max-width: 100%;
}

.slide h2{
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 50px;
    color: #fff;
    opacity: .8;
    top: 70%;
}
.pagination{
    position: absolute;
    bottom: 20px;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.pagination-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid white;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
    text-align: center;
    transition: all 300ms;
}

.pagination-item:hover{
    transform: scale(2);
}

.pagination-item img{
    display: inline-block;
    max-width: none;
    height: 100%;
    transform: scale(1);
    opacity: 0;
    transition: all 300ms;
}

.pagination-item:hover img{
    opacity: 1;
    transform: scale(1);
}

input[id="1"]:checked ~ .slide{
    animation: none;
    transform: translate3d(0, 0, 0);
}

input[id="1"]:checked ~ .pagination .pagination-item[for="1"]{
    background: #fff;
}

input[id="2"]:checked ~ .slide{
    animation: none;
    transform: translate3d(calc(-100% * 1), 0, 0);
}

input[id="2"]:checked ~ .pagination .pagination-item[for="2"]{
    background: #fff;
}

input[id="3"]:checked ~ .slide{
    animation: none;
    transform: translate3d(calc(-100% * 2), 0, 0);
}

input[id="3"]:checked ~ .pagination .pagination-item[for="3"]{
    background: #fff;
}

input[id="4"]:checked ~ .slide{
    animation: none;
    transform: translate3d(calc(-100% * 3), 0, 0);
}

input[id="4"]:checked ~ .pagination .pagination-item[for="4"]{
    background: #fff;
}

input[id="5"]:checked ~ .slide{
    animation: none;
    transform: translate3d(calc(-100% * 4), 0, 0);
}

input[id="5"]:checked ~ .pagination .pagination-item[for="5"]{
    background: #fff;
}

input[id="6"]:checked ~ .slide{
    animation: none;
    transform: translate3d(calc(-100% * 5), 0, 0);
}

input[id="6"]:checked ~ .pagination .pagination-item[for="6"]{
    background: #fff;
}

input[id="7"]:checked ~ .slide{
    animation: none;
    transform: translate3d(calc(-100% * 6), 0, 0);
}

input[id="7"]:checked ~ .pagination .pagination-item[for="7"]{
    background: #fff;
}

@keyframes autoplay{
    14.29%{
        transform: translate3d(calc(-100% * 0), 0, 0);
    }
    28.56%{
        transform: translate3d(calc(-100% * 1), 0, 0);
    }
    42.84%{
        transform: translate3d(calc(-100% * 2), 0, 0);
    }
    57.12%{
        transform: translate3d(calc(-100% * 3), 0, 0);
    }
    71.40%{
        transform: translate3d(calc(-100% * 4), 0, 0);
    }
    85.68%{
        transform: translate3d(calc(-100% * 5), 0, 0);
    }
    100%{
        transform: translate3d(calc(-100% * 6), 0, 0);
    }
   
}

/*final slider*/

.wrapper .main-container .card .texto-inicio{
    background: #fff;
    margin-top: 10px;
    display: block;
    text-align: center;
    margin-right: 40px;
    margin-left: 40px;
    padding: 0px;
    opacity: 0.95;
 }   

 .wrapper .main-container .card .texto-inicio img{
    display: block;
    margin: auto;
    width: 20%;
    height: 20%;
    padding: 10px;
 }  
.wrapper .main-container .card .texto-inicio span{
    font-weight: bold;
 }  
 
 .wrapper .main-container .card .texto-inicio p{
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 20px;
    text-align: justify;
 }

 .wrapper .main-container .card .texto-inicio li{
    margin-left: 50px;
    margin-top: 10px;
    margin-bottom: 8px;
    line-height: 20px;
    text-align: justify;
    list-style-image: url(../img/vimac.png);
 }  

.wrapper .main-container .card .texto-entrada .procem{
    background: #fff;
    display: flex;
    margin-left: 40px;
    padding: 0px;
    /*opacity: .9;*/
}   

.wrapper .main-container .card .texto-entrada .procem h3{
    margin-top: 10px;
    margin-left: 30px;
    font-size: 20px;
 }   

 .wrapper .main-container .card .texto-entrada .procem h2{
    margin-top: 10px;
    margin-left: 30px;
    font-size: 20px;
 }   
 
.wrapper .main-container .card .texto-entrada .procem P{
    text-align: justify;
    line-height: 25px;
    margin-top: 20px;
    margin-left: 30px;
    max-width: 90%;
}

.wrapper .main-container .card .texto-entrada .procem img{
    width: 90%;
    height: 90%;
    margin-top: 10px;
}

.wrapper .main-container .card .texto-entrada .cemdos{
    background: #fff;
    display: block;
    margin-left: 40px;
    padding: 0;
    /*opacity: .9;*/
 } 

 .wrapper .main-container .card .texto-entrada .cemdos h3{
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgb(8, 34, 150);
    color: #fff;
    font-weight: lighter;
    font-size: 15px;
    margin-right: 30px;
    margin-left: 30px;
  } 

  .wrapper .main-container .card .texto-entrada .cemdos p{
    text-align: justify;
    font-size: 15px;
    margin-right: 30px; 
    margin-left: 30px;
    margin-top: 10px;
    line-height: 20px;
} 

.wrapper .main-container .card .texto-entrada .cemdos img{
    width: 95%;
    height: 70%;
    margin-top: 10px;
    margin-left: 30px;
    margin-right: 30px;
}

[data-content]{
    display: none;
}

.active[data-content]{
    display: block;
}

/*contacto start*/

.wrapper .main-container .card .contex{
    display: flex;
    justify-content: center;
    font-size: 20px;
}
.wrapper .main-container .card .contac{
    width: 100%;
    /*min-width: 350px;*/
    background: #fff;
    position: relative;
    display: flex;
    /*justify-content: space-between;*/
    opacity: 0.9;
    margin: auto;
    padding: 0;
    align-content: space-between;
}
 
.wrapper .main-container .card .contac .sec-personal{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    /*min-width: 350px;*/
}
/*.contenedor-contacto{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}*/

.wrapper .main-container .card .contac .testimonial .seccion-contacredes a{
    display: block;
    margin: 0 10px;
    font-size: 18px;
    width: 34px;
    height: 34px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    transition-property: background, color;
}
.testimonial {
    width: 40px;
    margin-top: 30px;
    display: flex;
    justify-content: flex-start;
    margin-left: 40px;
    padding-bottom: 1rem;
    font-size: 1.8rem;
}
.testimonial p  {
    text-align: left;
    font-weight: bold;
    font-size: 15px;
}

.seccion-contacredes {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.wrapper .main-container .card .contac .seccion-contacto {
    width: 50%;
    margin-left: 10px;
    margin-right: 20px;
    margin-top: 10px;
}

.boton{
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 12px;
    padding: 5px 15px;
    margin-top: 15px;
    display: inline-block;
    text-align: center;
    border: none;
}

.boton:hover {
    cursor: pointer;
}
.wrapper .main-container .card .contac .seccion-contacto .boton-verde{
    background-color: #71b100;
}

.wrapper .main-container .card .contac .seccion-contacto .derecha {
    padding-bottom: 2rem;
    text-align: right;
 }
 legend{
    font-size: 1.5rem;
    color: #4f4f4f;
}
label {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-top: 10px;
}
input:not([type="submit"]), textarea, select {
    padding: 5px;
    display: block;
    width: 100%;
    background-color: #e1e1e1;
    margin-bottom: 1rem;
    border: none;
    border-radius: 1rem; 
    font-size: 13px;
}
input[type="radio"] {
    width: auto;
    margin: 0;
}
select {
    -webkit-appearance: none;
}
textarea {
    height: 9rem;
    font-size: 13px;
}


/*Inicia Sucursales*/
.wrapper .main-container .card .texto-sucursal{
    background: #fff;
    display: flex;
    /*justify-content: space-between;*/
    opacity: 0.9;
    margin: 0;
    padding: 0;
}

.wrapper .main-container .card .texto-sucursal .sucur{
    width: 50%;
    height: 100%;
    text-align: center;
}

.wrapper .main-container .card .texto-sucursal .sucur p{
    font-size: 20px;
    line-height: 30px;
}
.wrapper .main-container .card .texto-sucursal .sucur img{
    width: 70%;
    height: 70%;
    margin-top: 10px;
    margin-bottom: 20px;
}


.wrapper .main-container .card .texto-sucursal .map{
    width: 50%;
    height: 100%;
    text-align: center;
    margin: 30px;
}
.wrapper .main-container .card .texto-sucursal .map iframe{
    width: 100%;
    margin-top: 40px;
    
}

@media (max-width: 950px){
    .wrapper .main-container {
        width: (100% - 250px);
        margin-left: 250px;
        height: 100vh;
        /*background-size: 100%;
        background-repeat: no-repeat;
        background-position: center center;
        /*height: calc(100% - 9%);*/
    }
    .wrapper .main-container .card .contac{
        display: block;
        /*width: calc(100% - 10px);*/
    }
    .wrapper .main-container .card .contac .sec-personal{
        width: 95%;
    }
    .wrapper .main-container .card .contac .seccion-contacto{
        width: 95%;
    }
    .wrapper .main-container .card .texto-entrada .procem{
        display: block;
        margin: auto;
        text-align: center;
        padding-bottom: 10px;
    }
    .wrapper .main-container .card .texto-entrada .procem img{
        width: 30%;
        padding-bottom: 10px;
    }
    .wrapper .main-container .card .texto-entrada .cemdos{
        display: block;
        margin: auto;
        text-align: center;
    }
    .wrapper .main-container .card .texto-entrada .cemdos img{
        width: 90%;
        padding-bottom: 10px;
        margin: auto;
    }
    .wrapper .main-container .card .texto-sucursal{
        display: block;
    }
    .wrapper .main-container .card .texto-sucursal .sucur{
        width: 100%;
    }
    .wrapper .main-container .card .texto-sucursal .map{
        width: 100%;
        margin: auto;
    }
    .wrapper .main-container .card .texto-sucursal .map iframe{
        width: 95%;
        margin: 10px;
    }
    .slide h2{
        font-size: 30px; 
        top: 72%;
    }
}

@media (max-width: 700px){
    .wrapper .sidebar{
        width: 70px;
    }
    .wrapper .sidebar .profile img{
        display: none;
    }
    .wrapper .sidebar .profile p{
        display: none;
    }
    .wrapper .sidebar a span{
        display: none;
    }
    .wrapper .sidebar .sidebar-menu .item .menu-btn{
        font-size: 23px;
        margin-left: 10px;
    }
    .wrapper .sidebar .sidebar-menu .item .sub-menu i{
        font-size: 18px;
        margin-left: 15px;
        padding-left: 3px;
    }    
    .wrapper .main-container {
        width: (100% - 70px);
        margin-left: 70px;
        margin-bottom: 10px;
        background-repeat: no-repeat;
        background-position: center center;
        height: 100vh;
        /*height: calc(100% - 9%);*/
    }
    .wrapper .content-carrousel{
        width: 90%;
    }
    .wrapper .content-all{
        width: 15%;
    }
    .wrapper .main-container .card .contac{
        display: flex;
        flex-direction: column;
    }
    .procem img{
        display: none;
    }
    .slide h2{
        font-size: 20px; 
        top: 70%;
    }
}