*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

.container{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#time{
    position: relative;
    top: -1px;
    margin-left: 5px;
    font-weight: bold;
}

#hour{
    width: 20%;
    padding: 10px 0px 10px 20px;
    background-color: #eee;
    border-radius: 20px 0px 0px 20px;
    font-weight: bold;
    color: #20315f;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#load h3{
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 140px;
    height: 16px;
    margin: auto;
} 

#empty{
    display: none;
}

#empty h3{
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 225px;
    height: 16px;
    margin: auto;
} 

#menu{
    border: transparent;
    width: 25px;
    height: 15px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    position: relative;
    right: 5px;
    cursor: pointer;
    transition: .2s;
}

#menu:hover{
    height: 20px;
}

#menu:after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #000;
    position: absolute;
    top: 45%;
    left: 0;
}

#nav-menu{
    width: 200px;
    background-color: #20315f;
    border-left: 3px solid #d32d18;
    position: fixed;
    left: 100%;
    top: 0;
    bottom: 0;
    z-index: 10;
    padding-top: 50px;
    transition: .3s ease-in;
}
#nav-menu.active{
    left: calc(100% - 200px);
}

#nav-menu a{
    width: 100%;
    display: block;
    padding: 10px 10px;
    color: #fff;
    border: transparent;
    border-bottom: 1px solid #ececec;
    transition: .3s;
}

#nav-menu a:hover {
    background-color: #fff;
    color: #555;
}

#close-menu{
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    color: #20315f;
    width: 25px;
    height: 25px;
    background-color: #fff;
    text-align: center;
    border-radius: 25px;
    transition: .2s ease-in;
}

#close-menu:hover{
    transform: rotate(180deg);
}

#modal{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0007;
    opacity: 0;
    z-index: -1;
    transition: .2s;
}

#modal.active{
    z-index: 11;
    opacity: 1;
}

#formulario-login{
    width: 90%;
    max-width: 350px;
    background-color: #fff;
    height: 350px;
    position: fixed;
    top: 0;
    bottom: 100%;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 20px;
    padding: 20px;
    z-index: -1;
    transition: .4s ease-in-out;
    opacity: 0;
}


#formulario-login:before{
    content: 'x';
    position: absolute;
    top: -25px;
    right: -30px;
    pointer-events: none;
    color: #d32d18;
    border-radius: 20px;
    background-color: #fff;
    width: 30px;
    height: 28px;
    text-align: center;
    padding-top: 2px;
}

#formulario-login.active{
    bottom: 0;
    z-index: 20000000;
    opacity: 1;
}

#formulario-login h3{
    margin-bottom: 20px;
    color: #20315f;
}

#formulario-login input{
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 6px 5px;
    margin-bottom: 15px;
}

.button-login{
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #20315f;
    color: #fff;
    border: none;
    padding: 11px!important;
    margin-top: 15px!important;
    transition: .5s;
}

.button-login.logando{
    width: 40px!important;
    border-radius: 40px;
}

.button-login.flip{
    animation: flip 1.2s .5s linear infinite
}

.button-login.sucess{
    background-color: #4CC972;
}

.button-login.fail{
    background-color: #E34240;
}

.error-login{
    color: #f00;
    font-size: 12px;
    display: block;
    text-align: center;
    visibility: hidden;
}

.error-login.active{
    visibility: visible;
}

#close-modal{
    position: absolute;
    right: 30px;
    top: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 20px;
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
    color: inherit;
}

header{
    height: 40px;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
table{
    width: 100%;
    flex: 1;
    overflow: auto;
    background-color: #ececec;
}
thead tr{
    border-radius: 0;
    margin: 0;
    background-color: #20315f;
    color: #fff;
    margin-top: 5px;
    border-bottom: 4px solid #d32d18;
}
tr {
    position: relative;
    padding: 10px;
    display: flex;
    flex-direction: row;
    background-color: #fff;
    border-radius: 10px;
    margin: 6px;
    align-items: center;
}
td {
    flex: 1;
    text-align: center;
}
footer{
    height: 25px;
    background-color: #1050FA;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 20px;
}
img{
    height: 100%;
}

.note{
    width: 30px;
    height: 30px;
    position: absolute;
    right: 5%;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: transparent;
    background-size: 60%;
    border-radius: 20px;
    background-repeat: no-repeat;
    background-position: 60% center;
    cursor: pointer;
}
.itemLinha.active{
    margin-bottom: 40px;

}
.itemLinha.active:after{
    content: attr(data-description);
    position: absolute;
    top: 100%;
    background-color: #20315f;
    display: block;
    border-radius: 0px 0px 10px 10px;
    padding: 5px 10px;
    width: 97%;
    right: 0;
    left: 0;
    margin: auto;
    color: #ff0;
    text-align: center;
    font-size: 14px;
}

.itemLinha.active .note{
    background-color: #ff0;
}

.itemLinha.active .note:before{
    content: '';
    width: 7px;
    height: 7px;
    background-color: red;
    border-radius: 5px;
    position: absolute;
    top: -2px;
    right: 4px;
}

#commit-form{
    width: 90%;
    max-width: 450px;
    background-color: #fff;
    height: 400px;
    position: fixed;
    top: 0;
    bottom: 100%;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 20px;
    padding: 20px;
    z-index: -1;
    transition: .4s ease-in-out;
    opacity: 0;
}
#commit-form.active{
    bottom: 0;
    z-index: 15;
    opacity: 1;
}

#commit-form:before{
    content: 'x';
    position: absolute;
    top: -25px;
    right: -30px;
    pointer-events: none;
    color: #d32d18;
    border-radius: 20px;
    background-color: #fff;
    width: 30px;
    height: 28px;
    text-align: center;
    padding-top: 2px;
}

#nota{
    min-width: 100%;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    min-height: 80%;
    max-height: 80%;
    margin-top: 25px;
}

#commit-form button {
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    color: #fff;
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
}

.alert{
    color: #dea800;
}

.blink_me {
    animation: blinker 1.2s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

@-webkit-keyframes flip { 
    from 
    { 
        -webkit-transform: rotateY(0deg); 
    } 
    to { 
        -webkit-transform: rotateY(-360deg); 
    } 
} /* all other browsers */ 
@keyframes flip { 
    from { 
        -moz-transform: rotateY(0deg); 
        -ms-transform: rotateY(0deg); 
        transform: rotateY(0deg); 
    } 
    to 
    { 
        -moz-transform: rotateY(-360deg); 
        -ms-transform: rotateY(-360deg); 
        transform: rotateY(-360deg); 
    
    } 
}

/* Media Query */
@media only screen and (max-width: 600px) {
    #hour img {
        display: none;
    }

    #time{
        margin-left: -8px;
    }
}

/* Media Query */
@media only screen and (max-width: 450px) {
    *{
        font-size: 12px;
    }
    header{
        height: 20px;
    }
    #hour {
        width: 70px;
    }

    #time{
        margin-left: -16px;
        font-size: 13px;
    }

    #menu{
        width: 20px;
        height: 11px;
        right: 8px;
    }

    #menu:hover{
        height: 15px;
    }
    #empty h3{
        width: 140px;
    }
    #close-menu{
        width: 20px;
        height: 20px;
    }
    #formulario-login:before{
        top: -40px;
        right: 0;
        width: 24px;
        height: 22px;
    }
}