*{
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.clearfix{
    float: none;
    clear: both;
}

#global{
    width: 65%;
    margin: 0px auto;
    margin-top: 30px;
    background-color: white;
    padding: 25px;
    box-shadow: 0px 0px 2px gray;
}

#logo{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 28px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: white;
    text-align: center;
    width: 385px;
    height: 80px;
    margin-bottom: 20px;
    line-height: 75px;
    float: left;
}

#menu{
    font-family: "Helvetica", "Arial";
    background-color: #333;
    width: 100%;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#menu ul{
    line-height: 46px;
}

#menu ul li{
    display: inline-block;
    height: 46px;
    transition: all 300ms;
}


#menu a{
    display: block;
    color: white;
    text-decoration: none;
    padding-left: 30px;
    padding-right: 30px;
}

.bx-wrapper,
.bx-viewport{
    width: 99%;
    height: 350px !important;
}

#posts{
    width: 60%;
    float: left;
    font-family: "Herlvetiva", "Arial";

}
.post{
    padding: 7px;
}

h2{
    font-size: 30px;
    color: #333;
    font-family: "Herlvetiva", "Arial";
}

.post .date{
    display: block;
    color: gray;
    margin-top: 5px;
}

.post p{
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 22px;
    text-align: justify;
}

.more_btn{
    display: block;
    font-size: 14px;
    text-align: center;
    width: 70px;
    padding: 15px;
    color: white;
    text-decoration: none;
    margin-top: 10px;
    margin-bottom: 20px;
}

#aside{
    font-family: "Helvetica", "Arial";
    width: 30%;
    float: right;
}

#aside h4{
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 10px;
    color: #333;
    background: url(../img/lines.png) repeat-x;
}

#aside h4 span{
    background-color: white;
    padding: 5px;
}

#aside img{
    width: 100%;
}

#aside p{
    font-size: 15px;
    text-align: justify;
}

form{
    
    width: 70%;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
select{
    display: block;
    padding: 5px;
    border-radius: 2px;
    border: 1px solid #ccc;
    width: 100%;
    margin-bottom: 15px;
    margin-top: 5px;
    box-shadow: 0px 0px 2px gray;
}

form input[type="submit"]{
    color: white;
    padding: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
}

#footer{
    font-family: "Herlvetica", "Arial";
    color: white;
    height: 50px;
    background-color: rgba(51, 51, 51 , 0.70);
    margin: 0px auto;
    width: 65%;
    padding-left: 25px;
    padding-right: 25px;
    margin-top: 30px;
    line-height: 50px;
    text-align: center;
}

#selector_theme{
    position: fixed;
    top: 40%;
    background-color: rgba(51, 51, 51, 0.5);
    width: 50px;
    height: 120px;
}

#to_green,
#to_red,
#to_blue{
    display: block;
    width: 30px;
    height: 30px;
    border: 1px solid white;
    margin: 0px auto;
    margin-top: 5px;
    margin-bottom: 7px;
    cursor: pointer;

}

#to_green{
    background-color: #235e3d;
}

#to_red{
    background-color: #CA3413;
}

#to_blue{
    background-color: #1F87C4;
}

.up{
    color: white;
    text-decoration: none;
    display: block;
    float: right;
}

#box{
    width: 60%;
    float: left;
    margin-top: 40px;
}

#acordeon{
    margin-top: 20px;
}

#reloj{
    width: 31%;
    padding: 30px;
    margin: 0px auto;
    font-size: 40px;
    font-weight: bold;
    font-family: Helvetica, Arial;
    color: #333;
    border: 5px solid #333;
    border-radius: 10px;
}

#form_contact{
    width: 50%;
    margin-top: 15px;
    font-family: Helvetica, Arial;
}

#form_contact label{
    width: 100%;
    margin-top: 5px;
}


.form-error {
    float: right;
    font-size: 13px;
    background-color: red;
    color: white;
    padding: 10px;
    width: 56%;
}

/*Calculadora*/

#container{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60%;
    height: 600px;
    margin-top: 30px;
    float: left;
}

#calculadora{
    display: grid;
    font-family: helvetica, arial;
    grid-template-columns: repeat(4, 75px);
    grid-template-rows: 160px repeat(5, 75px);
    background-color: #235e3d;
    padding: 15px;
    border-radius: 32px;
    box-shadow: 10px 5px 7px 5px #333;

}

button{
    cursor: pointer;
    margin: 5px;
    padding: 0px;
    border-radius: 32px;
    font-size: 1.5em;
    border: none;
    background-color: #235e3d;
    color: white;
    box-shadow: 5px 5px 10px -3px #00000040, -5px -5px 15px 3px #225639fa ;
}


button:focus{
    outline: none;
}

.col_2{
grid-column: span 2;
}

#pantalla{
    grid-column: 1 / -1;
    padding: 16px;
    display: flex;
    margin: 10px 10px 20px;
    flex-direction: column;
    align-items: flex-end;
    background-color: rgb(36, 35, 35);
    color: white;
    border-radius: 32px;
    text-align: right;
    justify-content: space-between;
    word-break: break-all;
    box-shadow: 0px 0px 0px 10px #00000033;
}

#valor_actual{
    font-size: 1.5em;
}
#valor_amterior{
    font-size: 2em;
}
