@import url('https://fonts.googleapis.com/css?family=Nunito:300,400');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}


header{
    width: 100%;
    height: 140px;
    border-bottom: 1px solid #33A2FF;
    position: fixed;
    z-index: 100;
    background: white;
}


.logo_main{
    display:flex;
    justify-content: space-between;
    width: 100%;
    color: white;/*color de las cabezeras de contacto en responsive*/
    
    height: 70px;
    
    padding: 10px;
    background: #33A2FF;
}

.contactos{
    display: flex;
}


.container-header{
    width: 100%;
    max-width: 1220px;
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: auto;


}

.container-logo-title{
    display: flex;
    margin-top: 0px;
    margin-left: 0px;
}

.container-logo-title img{
    width: 200px;
    height: 70px;
}

.container-logo-title h1{
    font-weight: 300;
    margin-top: 0px;
    margin-left: 10px;
}


.container-menu{
    
}


table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border: 3px solid black;
  text-align:center;
}
thead{
    background-color: #95D8E4;
}
tbody {
  background-color: #95D8E4;
}

tbl_venta{
	max-width: 900px;
	margin: auto;
	font-weight: bold;
}
tbl_venta tfoot td{
	font-weight: bold;
}

.menu{
    position: absolute;
    right: 10px;
    margin-top: 0px;
}

.menu ul{
    display: flex;
}

.menu > ul li{
    list-style: none;
    font-size: 12px;
    font-weight: bold;
    color: #33A2FF;
    padding: 20px 10px;
    border: 1px solid transparent;
    border-top: 4px solid transparent;
    cursor: pointer;
    transition: border 300ms;
    position: relative;
}

.menu > ul > li:hover{
    border: 1px solid #eeeeee;
    border-top: 4px solid #55A79A;
}

.menu ul li label,
.menu ul li span{
    color: #33A2FF;
}

.menu ul li span{
    font-size: 14px;
    position: relative;
    top: 4px;
}

.menu ul li label{
    font-size: 22px;
    position: relative;
    top: -6px;
}

.menu ul li .icon2{
    position: relative;
    top: -2px;
}



/*para el slider*/
#banner img{
    width: 100%;
     margin-top: 40px;
    /*height: 400px;/*aumentamos linea*/

}
#banner {
    margin-top: 0px;/*empieza debajo del header*/


}



.container-slide{
    position: relative;
    max-width:100%;/*original 1000px*/
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    background: #F0F8FF;/*aumentamos fondo de color*/

}

.slide{
    display: flex;
    transform: translate3d(0, 0, 0);
    transition: all 600ms;
    animation-name: autoplay;
    animation-duration: 6.5s;
    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;
    width: 100%;
    /*height: 400px;/*aumentamos linea*/
}

.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: #333;
    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;
}


@keyframes autoplay{
    33%{
        transform: translate3d(calc(-100% * 0), 0, 0);
    }
    
    66%{
        transform: translate3d(calc(-100% * 1), 0, 0);
    }
    
    100%{
        transform: translate3d(calc(-100% * 2), 0, 0);
    }
}



.slider{
    width: 95%;
    margin: auto;
    overflow: hidden;
}

.slider ul{
    display: flex;
    padding: 0;
    width: 400%;

    animation: cambio 20s infinite;
}

.slider li{
    width: 100%;
    list-style:none;
}

.slider img{
    width: 100%;
}
@keyframes cambio{
    0%{margin-left: 0;}
    20%{margin-left: 0;}

    25%{margin-left: -100%;}
    45%{margin-left: -100%;}

    50%{margin-left: -200%;}
    70%{margin-left: -200%;}

    75%{margin-left: -300%;}
    100%{margin-left: -300%;}
}
/*PARA EL BLOG*/
#blog h3, h4{
    text-align: center;
    
}
#blog .contenedor{
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /*elementos que no caben se bajen uno del otro*/
}

#blog article{
    margin: 15px;

}

#blog img{
    width: 100px;
    height: 70px;
    
    max-width: 280px;
}




/*Submenu*/

.menu ul li ul {
    width: 300px;
    position: absolute;
    top: 60px;
    left: 0;
    flex-direction: column;
    border: 1px solid #eeeeee;
    background: white;
    border-bottom: 1px solid #55A79A;
    padding: 10px;
}

.menu ul li ul li{
    padding: 10px 20px;
    border-bottom: 1px solid #eeeeee;
    font-weight: 100;
    font-size: 14px;
    position: relative;
}

.menu ul li ul li:hover{
    background: #FAFAFA;
}

.menu ul li ul li ul{
    position: absolute;
    left: 287px;
    top: 0;
}

.icon-menu{
    display: none;
}

main{
    width: 100%;
    max-width: 1220px;
    margin: auto;
    position: relative;
    top: 100px;
}

article{
    padding: 20px;
}

article h1{
    font-size: 40px;
    font-weight: 100;
}

article p{
    font-size: 18px;
    margin-top: 20px;
}

.container-bg{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.bg1{
    width: 100%;
    max-width: 300px;
    height: 180px;
    background-image: url(../image/bg1.jpg);
    background-position: center center;
    background-size: cover;
    margin: 10px;
}

.bg2{
    width: 100%;
    max-width: 300px;
    height: 180px;
    background-image: url(../image/bg2.jpg);
    background-position: center center;
    background-size: cover;
    margin: 10px;
}

.bg3{
    width: 100%;
    max-width: 300px;
    height: 180px;
    background-image: url(../image/bg3.jpg);
    background-position: center center;
    background-size: cover;
    margin: 10px;
}

.bg4{
    width: 100%;
    max-width: 300px;
    height: 180px;
    background-image: url(../image/bg4.jpg);
    background-position: center center;
    background-size: cover;
    margin: 10px;
}

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

    #banner img{
    width: 100%;
     margin-top: 0px;
    /*height: 400px;/*aumentamos linea*/

}


    .logo_main{
    display:none;
}

.container-logo-title img{
    display:none;
}

.contactos{
    display: none;
}

    
    header{
        height: 60px;
    }
    
  
  /*aqui el codigo*/
  
  
    
    article{
        text-align: center;

    }

        /*FOOTER*/
    .contenedor-footer{
        flex-direction: column;
        border: none;
    }

    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }
    .content-foo h4{
        border: none; 
    }
    .content-foo p{
        color: #ccc;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;

    }
    .titulo-final{
        font-size: 20px;
    }
}

























