/* 
Etiqueta universal --> *
Etiqueta normal --> nada
Etiqueta ID --> #
Etiqueta Clase --> .
*/

*{
    padding: 0px;
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: lightgray;
}

#container {
    width: 80%;
    border: 1px solid black;
    margin: 0px auto;
    box-shadow: 0px 0px 10px gray
}

#header {
    height: 145px;
    background: #f0f0f0;
    border: 1px solid blue;

}

#logo {
    padding: 20px;
    margin-left: 20px;
    float: left; 
}
#logo img {
    float:left;
    height:100px;
}

#menu {
    clear: both;
    background: #222;
    height:55px;
    border-bottom:4px solid #01B1EA;
}

#menu ul{
    list-style: none;
    text-decoration: none;
    margin: 0px auto; 
    /* el elemento auto me sirve para alinear al centro */
    margin-left: 25px;

}

#menu ul li {
    line-height: 55px;
    float: left;
    border-right: 1px solid #363636;
}

#menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding-left:12px;
    padding-right:12px;
}

#content {
    margin: 0px auto;
    overflow: hidden;
    background: rgb(248, 95, 95);
}

#lateral {
    width: 20%;
    min-height: 410px;
    float: left;
    margin-top:20px;
    margin-left: 20px;
} 

#lateral .block_aside{
    display:block;
    width: 90%;
    margin: 5px;
    border: 1px dashed white;

}

#lateral h3{
    display:block;
    color: #222;
    width: 100%;
    text-align:center;
    padding-top: 2px;
    padding-bottom:15px ;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
    background-color: #E1E1E1;
    border-radius: 2px solid #01B1EA;
    border-bottom: 2px solid #01B1EA;
}

#lateral ul{
    margin-top:20px;
    margin-bottom:20px;
}

#lateral ul li{
    list-style: none;
    margin-left:20px;
    margin-top:5px;
    margin-bottom:5px;
}

input [type="text"],
input [type="password"],
input [type="email"]{
    display:block;
    width: 95%;
    margin-top:2px;
    margin-bottom:2px;
    border:1px solid #c9c9c9;
    box-shadow: 0px 0px 2px #C9C9C9 inset;
    background: white;
    padding: 2px;
    color: gray;
    transition: all 300ms;

}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    border: 1px solid #1579b5;
    color: black;
}

input[type="button"],
input[type="sumbit" ],
button, .button{
    display:block;
    border-radius: 2px;
    padding:5px;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    background: #2979CD;
    border: 1px solid #11688e;
    cursor: pointer;
}

label, input[type="button"] input[type="submit"], button{
    display:block;
    margin-top: 10px;
}

#central {
    width: 70%;
    min-height: 410px;
    float:right;
    border-left: 1px solid #CCC;
    box-shadow: -5px 1px 5px #DDD;
    padding: 25px;
}       

/* TAREA HAY QUE FLEXBOX & GRID*/

#central h1 {
    font-size:25px;
    font-weight: normal;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding:20px;
    padding-top:0px;
}

.product {
    width: 30%;
    float:left;
    margin-left:10px;
    margin-right:10px;
    margin-bottom:30px;
    text-align:center;
}

.product a{
    color: black;
    text-decoration: none;
}

.product a:hover{
    color: #555;
}

.product img{
    height:170px;
    width: 170px;
    margin-bottom:10px;
}

.product h2{
    font-size:18px;
    margin-bottom:10px;
}

.product p{
    font-weight: bold;
    color: white;
    margin-bottom:10px;
}

#footer{
    clear:both;
    text-align: center;
    padding-top:10px;
    padding-bottom:1px;
    color: white;
    background: #000;
    border-top:5px solid #01B1EA;


}