@charset "utf-8";
body, table, ul {padding: 0px; margin: 0px;}
body { font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px; color: #000;}
img, table, td { border:none; }
a {color: #000;}
h1, h2, h3, h4, h5, h6 {margin: 0; padding: 0; color: #000;}
table, tr, td, th, ul, li, ol {margin: 0; padding: 0; border-collapse: collapse;}

body {
    background: url('../img/bg_body.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    font-family: "Roboto", sans-serif;
}

input {
    -webkit-appearance: none;
}

.top_line {
    display: flex;
    flex-wrap: wrap;
}

.top_line_menu {
    flex-grow: 1;
    padding: 30px 0 0 30px;
    width: 30%;
    box-sizing: border-box;
}

.top_line_menu img {
    width: 32px;
    opacity: 0.5;
    margin-right: 20px;
}

.top_line_menu img:hover {
    opacity: 1;
}

.top_line_logo {
    width: 40%;
    flex-grow: 1;
    text-align: center;
    padding-top: 10px;
}

.top_line_logo img {
    max-width: 170px;
    width: 100%;
}

.top_line_logout {
    width: 30%;
    flex-grow: 1;
    padding: 30px 30px 0 0;
    text-align: right;
    box-sizing: border-box;
}

.top_line_logout img {
    width: 32px;
    opacity: 0.5;
}

.top_line_logout img:hover {
    opacity: 1;
}

h2 {
    color: #fff;
    font-size: 20px;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
}

.login_box {
    width: 300px;
    margin: auto;
    margin-top: 200px;
}

.login_box form {
    width: 100%;
    float: left;
}

.login_box input[type=password], .login_box input[type=text] {
    padding: 15px;
    border: 0;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    width: 100%;
    float: left;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.login_box input[type=submit] {
    padding: 15px;
    border: 0;
    background: #2d2465;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    width: 100%;
    float: left;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.login_box_error {
    width: 100%;
    float: left;
}

.wrap {
    max-width: 500px;
    width: 100%;
    margin: 30px auto;
}

.wrap_inner {
    width: 100%;
    float: left;
    padding-bottom: 50px;
}

.box {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    opacity: 0.9;
    margin-bottom: 30px;
    float: left;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.box_header {
    width: 100%;
    float: left;
    padding: 20px;
    box-sizing: border-box;
    background: #2d2465;
    color: #fff;
    font-size: 18px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    text-decoration: none;
}

.box_date {
    float: right;
    font-weight: bold;
    color: #fff;
    font-size: 18px;
}

.box_content {
    width: 100%;
    float: left;
    padding: 20px;
    box-sizing: border-box;
}

.box_content_item {
    width: 100%;
    float: left;
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
}

.box_content_item_header {
    margin-bottom: 0;
}

.box_content_item_header .box_content_item_name {
    border: 0;
    font-weight: bold;
    padding: 2px;
    text-transform: uppercase;
    font-size: 10px;
}

.box_content_item_over {
}

.box_content_item_number {
    flex-grow: 1;
    width: 22px;
    height: 28px;
    display:  block;
    text-align: center;
    padding-top: 7px;
    box-sizing: border-box;
    background: #2d2465;
    font-weight: bold;
    color: #fff;

    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.box_content_item_over .box_content_item_number {
    background: #652426;
}

.box_content_item_name {
    flex-grow: 100;
    padding: 6px 10px 0 10px;
    width: auto;
    height: 28px;
    box-sizing: border-box;
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 1px solid #2d2465;
    text-decoration: none;
}

.box_content_item_name a {
    text-decoration: none;
}

.box_content_item_over .box_content_item_name {
    border-color: #652426;
}

.box_content_item_name_column {
    float: right;
    width: 40px;
    text-align: right;
}

.box_content_item_me {
    font-weight: bold;
}

.sign_up_button a {
    float: right;
    display: block;
    background: #4ea514;
    border: 1px solid #4ea514;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 25px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.sign_up_button a:hover {
    background: #438716;
    border-color: #2b580c;
}


.sign_off_button a {
    float: right;
    display: block;
    background: #a54014;
    border: 1px solid #a54014;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.sign_off_button a:hover {
    background: #873916;
    border-color: #762f10;
}

.new_button a {
    display: block;
    float: left;
    text-decoration: none;
    color: #2d2465;
    font-size: 16px;
    font-weight: bold;
    background: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 10px 15px;
}

.new_button a:hover {
    background: #2d2465;
    color: #fff;
}

.box_content .new_button a {
    font-size: 14px;
    color: #333;
    border: 1px solid #333;
    padding: 5px 10px;
    margin-top: 20px;
    float: right;
}

.box_content .new_button a:hover {
    color: #fff;
}

.box_content input[type=password], .box_content input[type=text], .box_content input[type=date], .box_content input[type=time] {
    padding: 15px;
    border: 0;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    width: 100%;
    float: left;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #444;
    margin-top: 5px;
}

.wrap form input[type=submit] {
    padding: 5px 10px;
    border: 0;
    background: #2d2465;
    color: #fff;
    box-sizing: border-box;
    margin-bottom: 20px;
    float: right;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.edit_error {
    width: 100%;
    float: left;
    background: #a54014;
    box-sizing: border-box;
    color: #fff;
    margin-bottom: 30px;
    padding: 30px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-weight: bold;
}

.footer {
    color: #fff;
    position: absolute;
    left: 10px;
    bottom: 10px;
    opacity: 0.3;
}

.history_button a {
    text-decoration: none;
    background: #2d2465;
    color: #fff;
    padding: 4px 8px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
}

#history {
    width: 100%;
    float: left;
    padding-top: 50px;
}

pre {
    background: #444;
    color: #fff;
    box-sizing: border-box;
    padding: 20px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

@media only screen
and (max-width : 520px) {
    .wrap {
        width: auto;
        margin-right: 10px;
        margin-left: 10px;
    }

    .top_line_menu img {
        width: 24px;
    }

    .top_line_logout img {
        width: 24px;
    }
}