*{
    margin:0;
    padding:0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
}

h1{
    font-size: 30px;
    font-weight: 100;
    color: #0D679A;
}

h2{
    font-size: 25px;
    font-weight: 100;
    color: #0D679A;
}
.Contenedor{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/*---------------------------------------------------------------------------------------*/

.menu{
    margin: auto;
    padding: 25px 9%;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    border-bottom: solid #707070 1px;
}

.menu img{width: 35%; min-width: 350px;}

ul {
    min-width: 550px;
    width: 90%;
    list-style-type: none;
    background-color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }


  li a{
    display: inline-block;
    color: #0D679A;
    text-align: center;
    text-decoration: none;
  }
  
  li a:hover, .dropdown:hover .dropbtn {
    /*background-color: #0D679A;*/
  }
  
  li .dropdown {
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,.9);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
      background-color: #0D679A;
      color: #f1f1f1;
      /*background-color: #f1f1f1;*/
}
  
  .dropdown:hover .dropdown-content {
    display: block;}




/********************************************
/*---------------------------------------------------------------------------------------*/

.Contenedor2{
    display: flex;
    flex-direction: column;
    flex-wrap:nowrap;
}

header{
    border: solid 1px #707070;
    margin: 0px auto;
    padding: 10px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:space-between;
    text-align: center;
}
header a{
    display: block;
    border: 1px solid #707070;
    margin-top: 10px;
    padding: 8px;
    text-decoration: none;
    color:#0D679A;
}

header a:hover{
    background: #1B62B4;
    color: #fff;
}

section{
    display: flex;
    flex-direction: row;
    padding-top: 25px;
}

.descripcion{
    width:65%;
    }

.descripcion img{
    margin-left:5%;
    width:90%;
}

.descripcion p{
    margin: 25px auto;
    width:90%;
    border: solid 1px #707070;
    text-align: justify;
    padding: 50px;
}

.descripcion-cuadro{
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.descripcion-cuadro.uno{
    width: 100%;
    border: solid 1px #707070;
    align-items: center;
}

.descripcion-cuadro.uno img{
    width: 70%;
}


.descripcion-cuadro.dos{
    border: solid 1px lightgrey;
}
/****************************************************/
table{
    width: 90%;
    margin: auto;
    border-collapse: collapse;
}
table th, table td{
    border: solid 1px #ddd;
    padding: 10px 55px;
}
table tr:nth-child(even){background-color: #f2f2f2;}

table th{
    padding: 10px 55px;
    text-align: left;
    background-color: #0D679A;
}
table th h2{
    color:white;
}
/****************************************************/
.imagenes{
    width: 35%;
    display:flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.galeria{
    width: 100%;
    margin: auto;
    margin-bottom: 30px;
    display:flex;
    flex-direction: column;
    align-items: center;
    border: solid 1px #707070;
    
}
.galeria img{width: 100%;}

.imagenes h3{
    max-width: 350px;
    padding: 20px 0;
    display: inline-block;
    text-align: center;
    color:#707070;
    
}
/*---------------------------------------------------------------------------------------*/
.automatizate{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.sigueme{ 
    border: solid 1px #707070;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
    padding: 60px 20px;
}
.sigueme-a{
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.sigueme img{
    width: 95%;
    margin: auto;
}
.video{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
}
.youtube{
    width:100%; 
    height:100%;
}
/*---------------------------------------------------------------------------------------*/


footer{
    width:100%;
    color: #707070;
    padding: 0px 150px;
    display:flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content:space-around;
    border-top: solid 1px #707070;
    margin: 100px
}

.footer-titulo{
    width:100%;
    padding: 25px 0;
    margin: auto;
}
.footer-datos{
    font-style:normal;
    min-height: 200px;
    width:33%;
    text-decoration: none;
    display:flex;
    flex-direction:column;
    flex-wrap: wrap;
}

.redes-sociales{
    font-style:normal;
    width:33%;
    display:flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content:center;
    align-items: center;
}

.redes-sociales{
    justify-content:center;
    align-items: center;
}

footer img{
    padding: 10px;
}

/*---------------------------------------------------------------------------------------*/

@media screen and (min-width: 1200px){
    .Contenedor2{
        width:70%;
    }
    .menu{
        flex-direction: row;
    }
    ul {
        width:60%;
    }
}

@media screen and (min-width: 941px){
    aside{
        width:230px;
    }
}

@media screen and (max-width: 940px){

    h1{
        font-size:30px;
    }

    h2{
        font-size:25px;
    }

    body{
        font-size: 15px;
    }

    header a{
        margin-top: 20px;
    }
    ul{
        min-width: 0px;
        justify-content: space-between;
        flex-flow: wrap;
        align-items: center;
        align-content: stretch;
    }
    li{
        border: solid 1px #707070;
        padding: 0px 10px;
        margin: 10px 5px;
    }
    aside{
        width:100%;
        align-items: center;
    }
    aside img{
        width:auto;
    }
    aside nav a{
        text-align: center;
    }
    .Contenedor,header{
        flex-direction: column;
        min-width: none;
    }
    header{
        flex-direction: column;
    }
    footer{
        padding: 10px 20px;
    }
    .Contenedor2{
        width: 100%;
    }

}

@media screen and (max-width: 780px){
    .menu{
        padding: 10px 9%;
        margin-bottom: 10px;
    }
    header a{
        margin-top: 20px;
    }
    aside{
        width:100%;
        align-items: center;
    }
    aside img{
        width:auto;
    }
    aside nav a{
        text-align: center;
    }
    .Contenedor,header{
        flex-direction: column;
        min-width: none;
    }
    header{
        flex-direction: column;
    }
    footer{
        padding: 10px 20px;
        flex-direction: column;
        align-items: center;
    }
    .Contenedor2{
        width: 100%;
    }
    section{
        flex-direction: column;
    }
    .descripcion,.imagenes,.footer-datos,.redes-sociales{
        width: 100%;
        min-height: 100px;
        padding: 15px 0;
    }
    .galeria img{max-width: 100%;}
    .galeria{
        /* width: 100%; */
    }
}
