*{                          /*ESTILOS GLOBALES*/
margin: 0px;
padding: 0px;
list-style: none;
}
.clearfix {                 /*CON ESTO LIMPIO EL FLOAT EN CLEARFIX*/
    float: none;
    clear: both;
}
body{
    font-family: Arial, Helvetica, sans-serif;
}
#global{
    width: 65%;
    margin: 0px auto;
    margin-top: 30px;
    background:white;
    padding: 25px;
    box-shadow: 0px 0px 2px gray;
}
#logo{
    display: block;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 40px;        
    letter-spacing: 4px;            /*ESPACIADO DE LETRAS*/    
    text-align: center;
    width: 385px;
    height: 80px;
    float: left;
    margin-bottom: 20px;
    line-height: 80px;          /*ALTURA DE LINEA DE TEXTO*/
}
nav {                           /*ESTILO DE NAV*/
    background: #333;
    width: 100%;
    margin-bottom: 20px;
}
nav ul {                        /*ESTILO DE UL*/
    line-height: 46px;
    list-style: none;           /*PARA QUITARLE LOS PUNTITOS A LOS LI*/
}
nav ul li {                     /*ESTILO DE LI*/
    height: 46px;
    display: inline-block;      /*PARA QUE ESTEN UNO AL LADO DEL OTRO*/
    transition: all 300ms;      /*PARA DARLE UN TIEMPO A LOS EFECTOS DE LOS LI*/
}
nav a {                         /*ESTILO DE LOS A*/
    display: block;
    color: white;
    text-decoration: none;
    padding-left: 30px;
    padding-right: 30px;
}
#posts {
    width: 60%;
    float: left;
    padding: 5px;
}
.post h2 {
    font-size: 30px;
    color: #333;
}
.post .date{
    color: gray;
    display: block;
    margin-top: 5px;
}
.post p{
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 20px;
    text-align: justify;
}
.buttonmore {
    padding: 15px;
    text-decoration: none;
    margin-top: 10px;
    display: block;                     /*BLOCK PARA QUE OCUPE EL ANCHO DEL P Y SALTE DE LINEA LUEGO*/
    width: 70px;                        /*PARA QUE NO SEA DEL ANCHO DEL P, LE PONGO UN ANCHO ESPECÍFICO*/
    float: auto;    
    font-size: 14px;                    /*ACHICO LA LETRA PARA QUE ENTRE EN EL ANCHO QUE PUSE ANTES*/
    text-align: center;
    margin-bottom: 30px;                /*MARGEN PARA SEPARAR UN ARTÍCULO DE OTRO*/
}
#newpost{
    padding: 5px;
    display: block;
}
#sidebar {
    width: 31%;                         /*ESTO LO PUSO APROX*/
    float: right;
}
#sidebar h4 {
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 10px;
    color: #333;
    background: url("../material/lines.png") repeat-x;
}
.marcosidebar {
    background: white;
    padding: 5px;
}
#sidebar img {
    width: 150px;
    height: 150px;
    border-radius: 100px;
    margin-left: 26%;
}
#sidebar p {
    font-size: 15px;
    text-align: justify;
}
form input[type="text"], 
form input[type="password"],
form input[type="email"]{
    padding: 5px;
    border-radius: 2px;
    border: 1px solid #ccc;
    width: 80%;
    margin-bottom: 10px;
    margin-top: 5px;
    display: block;
}
input[type="submit"]{
    background: #eee;
    padding: 10px;
    color: #333;
    border: 1px solid lightgray;
    cursor: pointer;
}
footer {
    background: rgba(51, 51, 51, 0.7);
    color: mintcream;
    width: 65%;
    margin: 0px auto;
    margin-top: 50px;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    padding-left: 25px;
    padding-right: 25px;
}
.bx-wrapper, .bx-viewport{
    max-height: 300px;
}
#swipetheme {
    position: fixed;
    top: 40%;
    background: rgba(51, 51, 51, 0.7);
    width: 50px;
    height: 100px;
    cursor: pointer;
}
#toGreen, #toRed, #toOrange {
    width: 25px;
    height: 25px;
    border: 1px solid white;
    display: block;
    margin: 0 auto;
    margin-top: 5px;
    margin-bottom: 5px;
}
#toGreen img, #toRed img, #toOrange img {
    width: 25px;
    height: 25px;
}
.scrollup {
    float: right;
    text-decoration: none;
    color: white;
    font-weight: bold;
}
.logout{
    display: block;
    margin-top: 10px;
    background: #eee;
    padding: 10px;
    color: #333;
    border: 1px solid lightgray;
    cursor: pointer;
    width: fit-content;
    float: right;
}
#box {
    width: 60%;
    float: left;
    margin-top: 40px;
}
#box p {
    text-align: justify;
}
#box h2 {
    font-size: 30px;
    color: #333;
}
#acordeon {
    margin-top: 20px;
}
#clock {
    width: 60%;
    float: left;
    margin: 0 auto;
    margin-top: 40px;
    font-size: 30px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    text-align: center;
    border: 5px dotted; 
    padding: 20px;
}
#form {
    margin-top: 15px;
    width: 62%;
}

#form label {
    display: block;
    width: 100%;
}
#form #date {
    margin-bottom: 10px;
}
.your-field.error {
    border-color:red;
}
.your-field.mismatch {
    border-color: orange;
}
.your-field.valid {
    border-color:green;
}
    
