/* ESTILOS GENERALES */
*{
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', Helvetica, Arial;
}

body{
    background: url(../images/patron.png);
}

a{
    color: #01B1EA;
}

a:visited{
    color: #01B1EA;
}

a:hover{
    color: #555;
}


.alert-green{
    background-color: green;
}
.alert-red{
    background-color: red;
}

table{
    width: 90%;
    text-align: center;
    border-bottom: 1px solid #ccc;
}
td{
    border-top: 1px solid #ccc;
    padding: 2px;
}

/* CONTAINER */
.container{
    width: 90%;
    margin: 0 auto;
    margin-top: 15px;
    box-shadow: 0px 0px 100px gray;
    background: black;
}

/* HEADER */
.header{
    height: 145px;
}

.logo{
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img{
    height: 100px;
}

.logo a{
    font-size: 40px;
    letter-spacing: 4px;
    
    text-transform: uppercase;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    margin-top: 15px;
    margin-left: 25px;
    text-shadow: 0px 2px 1px #222222;
    transition: all 300ms;
}

.logo a:hover{
    text-shadow: 0px 2px 1px #222, 
    0px 0px 4px #01b1ea;
}

.layout_emojis{
    width:5rem;
    height: 5rem;
    overflow: hidden;

    border: 1px solid #333;
    border-radius: 5px;

    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.emojis__emoji{
    font-size: 4rem;
    filter: grayscale(1);
    transition: all 300ms ease-in-out;
}
.emojis__emoji:hover{
    transform: scale(1.1);
    filter: grayscale(0);
}

/* MENU */
#menu{
    display: flex;
    align-items: center;
    justify-content: center;

    background: #222;
    color: white;
    border-bottom: 4px solid #01B1ea;
    overflow: hidden;
    
}

#menu ul{
    list-style: none;
    text-decoration: none;
    margin: 0px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
}

#menu ul li{
    white-space: nowrap;
    border-right: 1px solid #363636;
    padding: 15px;
}


#menu a{
    display: block;
    color: white;
    text-decoration: none;
    padding-left: 12px;
    padding-right: 12px;
    transition: all 300ms ease-in-out;
}

#menu a:first-child{
    border-left: 1px solid #363636;
}
#menu a:hover{
    background: #01baea;
}

/* CONTENT */
#content{
    margin: 0px auto;
    overflow: hidden;
    background: white;
    display: flex;
}

/* BARRA LATERAL */
#lateral{
    width: 22%;
    min-height: 500px;
    float: left;
    margin-top: 20px;
    margin-left: 10px;
}

#lateral .block_aside{
    display: block;
    width: 90%;
    margin: 5px auto;
}

#lateral h3{
    display: block;
    color: #222;
    width: 100%;
    text-align: center;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
    background: #e1e1e1;
    border-bottom: 2px solid #01b1ea;
}
#lateral ul{
    margin-top: 20px;
    margin-bottom: 20px;
}
#lateral ul li{
    list-style: square;
    margin-left:20px;
    margin-top: 5px;
    margin-bottom: 5px;
}
/* FORMS */
.form-container{
    width: 50%;
}
label,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select, textarea{
    display: block;
    width: 90%;
    margin-top: 2px;
    margin-bottom: 2px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select, textarea{
    border: 1px solid #c9c9c9;
    box-shadow:0px 0px 2px #ccc inset;
    background: white;
    padding: 2px;
    color: gray;
    transition: all 300ms all;
    padding: 5px 10px;
}

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

input[type="button"],
input[type="submit"],
button, .button{
    display: block;
    border-radius: 2px;
    width: auto;
    padding: 10px 15px;
    color: white;
    background: #2979cd;
    border: 1px solid #11608e;
    cursor: pointer;
}

.button{
    background: #33ae3d;
    color: white !important;
    text-decoration: none;
}

.button-small{
    width: 150px;
    text-align: center;
    margin-bottom: 20px;
}

.button-gestion{
    margin-top: 5px;
    margin-bottom: 5px;
}

.button-red{
    background-color: red;
    border: 1px solid #cf1717;
}

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

/* CENTRAL */
#central{
    width: 70%;
    min-height: 500px;
    float: right;
    border-left: 1px solid #ccc;
    box-shadow: -5px -1px 5px #ddd;
    padding: 25px;
}

#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: 10px;
}

/* PRODUCTOS  */
.product{
    width: 30%;
    border: 1px solid #ccc;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    margin-bottom: 20px;
}
.product a{
    color: black;
    text-decoration: none;
}
.product a:hover{
    color: #555;
}
.product img{
    height: 100px;
}

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

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

#detail-product{
    width: 100%;

}

#detail-product .image{
    display: block;
    width: 45%;
    float: left;
}
#detail-product img{
    display: block;
    width: 100%;
    float: left;
}
.img_carrito{
    height: 100px;
    margin-bottom: 5px;
}
#detail-product .data{
    float: right;
    width: 50%;
}

#detail-product .description{
    margin-bottom: 20px;
}

#detail-product .price{
    margin-bottom: 10px;
    font-size: 20px;
    color: #444;
}

#detail-product .button{
    width: 200px;
    text-align: center;
}

/* FOOTER */
#footer{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    background: #222;
    clear: both; /* quita los flotados */
    border-top: 4px solid #01b1ea;
}

/* CARRITO */
.delete-carrito{
    width: 295px;
    float: left;
}
.button-delete{
    display: block;
    float: left;
    width: 100px;
    background-color: black;
}
.button-carrito{
    width: 70px;
    margin: 0px auto;
    text-align: center;
    
}
.total-carrito{
    float: right;
    width: 295px;
}
.total-carrito h3{
    display: block;
    float: left;
    margin-top: 5px;
}
.button-pedido{
    display: block;
    float: right;
    width: 100px;
}
.updown-unidades{
    width: 80px;
    margin: 0px auto;
}
.updown-unidades .button{
    display: block;
    width: 20px;
    float: left;
    padding: 2px;
    margin-left: 7px;
}

