@import url('https://fonts.googleapis.com/css?family=Open+Sans&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Raleway:400,900&subset=latin-ext');
@media ( max-width: 500px)
{
    .login form input 
    {
        width: calc( 100vw - 20px);
    }
}

body {
    background-color: rgb( 235, 235, 235);
}
#message
{
    position: fixed;
    top: 4em;
    left: 50%;
    transform: translate( -50%, 0);
    padding: .5em 1em;
    min-width: 15%;
    max-width: 25%;
    text-align: center;
    z-index: 1;
    background-color: white;
    border-radius: 1em;
    animation-name: message;
    animation-duration: 10s;
    visibility: hidden;
    font-family: 'Raleway', sans-serif;
}
@keyframes message {
    from {background-color: inherit; visibility: visible;}
    5% { background-color: rgb(255, 160, 160);}
    10% {background-color: inherit}
    to {visibility: visible;}
}
* {
    margin: 0;
    padding: 0;
    color: black;
    text-decoration: none;
    box-sizing: border-box;
}
main > form
{
    width: 100%;
    padding: 0.4em;
}
main > form > textarea
{
    width: 100%;
    min-height: 10em;
}
main > form tr
{
    margin: 0.4em;
}
.done
{
    background-color: rgb(202, 219, 192) !important;
}
.active
{
    background-color: rgb( 220, 200, 200) !important;
}
.login form, .register form, .login > a {
    position: fixed;
    top: 35%;
    left: 50%;
    width: auto;
    height: auto;
    transform: translate( -50%, 50%);
}
.login > a
{
    display: block;
    width: 216px;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: .9em;
    border-radius: 1em;
    margin-bottom: 5px;  
    border: 1px solid rgb( 205, 205, 205);
    background-color: rgb( 235, 235, 235);
    cursor: pointer;
    line-height: 2.5em;
    height: 2.5em;
    transition: background-color .2s, border .2s;  
}
.login form input, .register form input
{
    position: relative;
    display: block;
    min-width: 15em;
    height: 2em;
    text-align: center;
    border: none;
    font-family: 'Raleway', sans-serif;
    font-size: .9em;
    cursor: default;
    border-radius: 1em;
    margin-bottom: 5px;
    background:white;
    -webkit-appearance: none;
}
.login form input[type="submit"] ,.register form input[type="submit"] 
{
    border: 1px solid rgb( 205, 205, 205);
    background-color: rgb( 235, 235, 235);
    cursor: pointer;
    line-height: 2.5em;
    height: 2.5em;
    transition: background-color .2s, border .2s;
}
.login form input[type="submit"]:hover ,.register form input[type="submit"]:hover 
{
    border: 1px solid rgb( 225, 225, 225);
    background: rgb( 245, 245, 245);
}

main
{
    position: absolute;
    top: 2em;
    left: 20%;
    width: 60%;
    height: auto;
    background-color: white;     
}
main > aside 
{
    position: relative;
    float: left;
    width: 20%;
    min-height: calc( 100vh - 4em); 
}
main > aside > a 
{
    display: block;
    width: 100%;
    height: 2em;
    background-color: rgb( 250, 250, 250);
    cursor: pointer;
    text-align: center;
    line-height: 2em;
    text-decoration: none;
    color: black; 
    font-family: 'Raleway', sans-serif;
}
main > aside > a:hover 
{
    background-color: rgb( 230, 240, 240);    
}
a.important
{
    padding: 10px 0;
    font-size: 1.1em;
    height: 2.5em;
    line-height: calc( 2.5em - 20px );
}
main > figure
{
    position: relative;
    float: left;
    width: 80%;
    height: auto;
}
main > figure > section 
{
    position: relative;
    width: 100%;
    height: auto;
    margin: 10px 0 0 0;
}
main > figure > section > article
{
    position: relative;
    width: 100%;
    height: auto;
}
main > figure > section h2, main h1
{ 
    font-family: 'Raleway', sans-serif;
    padding: 0 0 0 15px;
    line-height: 1.5em;
    font-weight: normal;
}
main > figure > section h2
{
    font-family: 'Raleway', sans-serif;
    border-bottom: 1px solid black;    
}

.listview menu 
{
    position: relative;
    width: 100%;
    height: 2.5em;
    background-color: rgb( 245, 245, 245);
}
.listview > main menu > a
{
    position: relative;
    display: inline-block;
    float: right;
    margin: 0 2px;
    padding: 10px;
    border-bottom: 1px solid black;
    box-sizing: border-box;
    text-decoration: none;
    color: black;
    height: 100%;
    line-height: calc( 2.5em - 10px);
    font-size: .9em;
    font-family: 'Raleway', sans-serif;
}
.listview > main menu > a:hover
{
    background-color: rgb( 250, 250, 250);
}
.listview > main > section > .title
{
    position: relative;
    height: 1.5em;
}