body, html{
    margin:0 ;
    padding:0;
    width: 100%;
    height:100%; 
    font-family: sans-serif;
    font-size: 15px;    
}
.contenedor{
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;    
}
h1, h2, h3, h4, h5{
    width:100%;   
}

h1{
    text-align: center;        
}
table, td,th,tr{
    border-collapse: collapse;
    border: solid 1px ;
}
a {
    text-decoration: none;
    color:blue;

}
header{
    width: 100%;
    height: 60px;
    display: flex;
    justify-content:space-around ;
    align-items: center;
    background: rgb(255, 255, 255);
    & .imgheader{
        display: flex;
        width: 20%;
        & img {
            width: 50px; 
        }
    }
    & a{
        padding: 5px ;
        margin: 5px;
    }

}
main{
    width:100%;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    
    & .banerpricipal{
        width: 100%;
        display: flex;
        justify-content: center;
        align-content: center;
        height: 300px;
        background: rgb(242, 242, 242);
       & .diferencias {
            display: flex;
            width: 30%;
            height: 100%;
            flex-wrap: wrap;
            align-content: center;
            & samp {
                width: 100%; 
                display: flex;
                justify-content: center;
            }
            & .grande{
                font-size: 30px;
            }
            & .mediano{
                font-size: 25px;
            }
            & .peque {
                font-size: 20px;
            }  
       }
       & .divimagbaner {
            display: flex;
            width: 30%;
            & img{
                width: 100%;
                object-fit: contain;
            }
        }
    }
}
    & .informacion{
        display: flex;
        width: 100%;
        justify-content: center;
       & a{
            width: 30%;
            display: flex;
            justify-content: center;
            align-content: center;
            align-items: center;
            flex-wrap: wrap;
            border-radius: 10px;
            margin: 10px;
            padding: 10px;
       }
        & .info{
            width: 100%;
            display: flex;
            justify-content: center;
            align-content: center;
            align-items: center;
            flex-wrap: wrap;
            border-radius: 10px;
            margin: 10px;
            padding: 10px;
            
            & div{
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-wrap: wrap;

                & samp{
                    width: 100%;
                    text-align: center;
                }
                & img{
                    width: 100%;
                    /* object-fit: contain; */
                }
            } 
            & p{
            
                display: none;
                margin: 10px;
                padding: 10px;
            }
              
            &.info:hover{
                background: rgb(112, 225, 233 ,0.5);
                color: rgb(253, 253, 253);
            }

        }
    }
    & .servicios{
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        
        & .visservicios {
            display: flex;
            width: 30%; 
            flex-wrap: wrap;

            & .servint {
                display: flex;
                width: 100%;
                height: 70px;
                border-radius: 10px;
                background: rgb(242, 242, 242);
                padding: 10px;
                margin: 10px;
                align-content: center;
                align-items: center;
                position: relative;
             

                & picture{
                    width: 30%;
                    border-right: solid 1px rgb(255, 255, 255);
                    height: 100%;
                    display: flex;
                    align-content: center;
                    align-items: center;
                    justify-content: center;
                    & img {
                        height:100%;

                    }
                }
                & samp{
                    width: 70%;
                }
                & p {
                    display: none;
                    width: 100%;
                    margin: 10px;
                    padding: 10px;
                }
            }
        }
        & .servint:hover{
            background: rgba(177, 225, 233);
            color: rgb(253, 253, 253);
        }
        & .aliados {
            display: flex;
            flex-wrap: wrap;
            width: 30%;

            & .imgserv{
                width: 40%;
                position: relative;
                display: flex;
                padding: 10px;
               

                & img {
                    width:100%;
                }
                & .infaliados{
                    display: none;
                    flex-wrap: wrap;
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    background: rgb(255, 255, 255, 0.5);
                    align-items: center;
                    align-content: center;


                    & span{
                        font-size: 10px;
                        width: 100%;
                    }
                }
            }
            & .imgserv:hover{
               
                & .infaliados{
                    display: flex;
                    
                }
        }
    }
}
footer{
    width: 100%;
    display: flex;

        & .subfooter{
            display: flex;
            flex-wrap: wrap;
            width: 100%;
            justify-content: center;
            align-items: center;
            align-content: center;

            & .redessociales{
                display: flex;
                flex-wrap: wrap;
                width: 100%;
                justify-content:space-around;
                align-items: center;

                & .fechaactulizacion{
                    width: 50%;
                    display: flex;
                    align-items: center;
                }
                & .inocosredes{
                    width: 50%;
                    display: flex;
                    flex-wrap: wrap;
                    justify-content:flex-end;

                    & a{
                        font-size: 30px;
                        color:#70e1e9;
                        padding:10px;
                    } 
                }
               
            }
            & .infositio{
                display: flex;
                width: 100%;
                flex-wrap: wrap;
                justify-content: space-around;

                & div{
                    width: 33%;
                    text-align: center;
                    display: flex;
                    flex-wrap: wrap;
                }
                & a{
                    width: 100%;
                }
                & h2{
                    width: 100%; 
                }
            }
        }      
}
/* informes */
.vistaconsulta {
    display: flex;
    width: 90%;
    text-align: justify;
    min-height: 500px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    & form{
        align-content: center;
    }
    & .contenedorbusqueda{
        width: 100%;
        display: flex;
        height:100%;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        
    }
    & .vistagrafico{
        display: flex;
        width: 100%;
        height: 100px;
        background: white;
        border: solid 1px white ;
        border-radius: 4px;
        flex-wrap: wrap;
        margin: 10px;
        padding: 5px;
        justify-content: flex-start;
    
         & .progress-bar {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
                            
        };
        & .grafico{
            width: 100%;
            display: flex;
            justify-content: center;
            align-content: center;
        }
    }
    .resumengrafico{
        display: flex;
        flex-wrap: wrap;
        & article{
            background: white;
            padding: 5px;
            margin: 5px;
            display: flex;
            flex-wrap: wrap;
    
            & samp{
                width: 100%;
            }
        }
    }  
    .vistainforme{
        display: flex;
        width: 100%;
        flex-wrap:wrap ;
        justify-content: space-around;
        & div{
            display: flex;
            width: 100%;
            flex-wrap:wrap ;
            justify-content: space-around;
        }
        & .nombrecate{
            width: 100%;
        }
        & .vistagrafico {
            display: flex;
            width:300px;
            height: auto;
            background: white;
            border: solid 1px white ;
            border-radius: 4px;
            flex-wrap: wrap;
            margin: 10px;
            padding: 5px;
            justify-content:start;
            align-content: flex-start;
        }
        & .progress-bar {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
                            
        };
        & .grafico{
            width: 10%;
            display: flex;
            justify-content: center;
            align-content: center;
        }
        & .resumengrafico{
            display: flex;
          
            & article{
                background: white;
                padding: 5px;
                margin: 5px;
    
                & samp{
                    width: 100%;
                }
            } 
        } 
    } 
}
/* informacion y servicios  */
.infoservicios{
    display: flex;
    width: 100%;
    height:600px ;
    justify-content: center;
    align-items: center;

    & .vistaservi{
        display: flex;
        width: 40%;
        justify-content: space-between;

        
        & div{
            width: 50%;
            text-align: justify;
            display: flex;
            flex-wrap: wrap;
            & img{
                width: 60%;
            }
            & samp{
                width: 100%;
                font-size: 15px;
            }
        }
        & p{
            width: 50%;
            text-align: justify;
        }
    }
}
form{
    width: 90%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;

    & div{
        width: 90%;
        display: flex;
        flex-wrap: wrap;
    }
    & label{
        width: 100%;  
    }
    & input[type=text],
    & input[type=tel],
    & input[type=password],
    & input[type=number],
    & input[type=email],
    & select,
    & input[type=submit]{
        width: 100%;
        height: 30px;
        border-radius: 4px;
    }
    & input[type=submit]{
        background: rgb(168, 163, 157);
        border: solid 1px rgb(168, 163, 157);
    }
    & textarea {
        width: 100%;
        height: 200px;
        border-radius: 10px;
    }

}
 table{
  
        table-layout: auto;
        border-collapse: collapse;
        margin: 100px;
         
        & tr{   
            border-collapse: collapse;
        
        }
        & tr:nth-child(even) {
            background-color: rgb(173, 255, 237);
        }
        & th{   
            border-collapse: collapse;
            padding: 10px;
            height: 30px;
        }
        & td{   
            border-collapse: collapse;
            padding: 10px;
            height: 30px;

        

            }
            

    
 
 }
@media screen and (max-width:770px) {
    header{
        & .menuenlaces{
            display: flex;
            font-size: 30px;
            width: 40%;
        }
       
    }
    main{
        & .banerpricipal{
           & .diferencias {
                width: 30%;
                & samp {
                    width: 90%; 
                    font-size: 15px;
                }
                & .grande{
                    font-size: 20px;
                }
                & .mediano{
                    font-size: 15px;
                }
                & .peque {
                    font-size: 10px;
                }  
                
           }
           & .divimagbaner {
                width: 70%;
                
            }
        }
        & .informacion{
            flex-wrap: wrap;
           & a{
                width: 90%;
           }
        }
        & .servicios{
           
            & .visservicios{
                width: 100%;
            }

            & .aliados{
                width: 100%;
            }
        }
    }
    footer{
            & .subfooter{
                & .redessociales{ 
                    & .fechaactulizacion{
                        width: 100%;
                        display: flex;
                        align-items: center;
                    }
                    & .inocosredes{
                        width: 100%;
                        justify-content:center;
                    } 
                }
                & .infositio{
                    & div{
                        width: 100%;
                    }
                }
             }
        }    
        .infoservicios{
            & .vistaservi{
                display: flex;
                width: 90%;
                justify-content: space-between;
                flex-wrap: wrap;
                & div{
                    width: 90%;
                }
                & p{
                    width: 90%;
                }
            }

        }
}
  