* {
    box-sizing: border-box;
}

/* content */

#content {
    color: #333;
}

#content h1 {
    font-size: 24px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

#content h2 {
    font-size: 16pt;
    margin-bottom: 6px;
    color: #009;
}

#content a {
    color: #06c;
}

#content a:hover {
    color: #f60;
}

#content table {
    border-top: 1px solid #ccc;
    margin-bottom: 30px;
}

#content table th,
#content table td {
    font-size: 16px;
    padding: 4px 6px;
    border-bottom: 1px solid #ccc;
}

#content table th {
}

#content table td {
}

#content table td.center {
    text-align: center;
}

#content table td.right {
    text-align: right;
}

#content table tr:nth-child(even) th,
#content table tr:nth-child(even) td {
    background-color: #f0f0f0;
}

#content table td a {
}

#content table td ul,
#content table td ol {
    list-style: none;
}

#content table td ul.vertical li,
#content table td ol.vertical li {
    display: inline-block;
    vertical-align: top;
}

#content table td p.note {
    padding: 0;
    font-size: 14px;
    color: #999;
    font-style: italic;
}

/* form */

#content form {
    margin-bottom: 20px;
}

#content input[type=file],
#content input[type=text],
#content input[type=number],
#content input[type=password],
#content input[type=submit],
#content button,
#content select,
#content textarea {
    padding: 4px 8px;
    border: 1px solid #666;
    border-radius: 6px;
    line-height: 20px;
    background-color: #f8f8f8;
    -moz-appearance: none;
    -webkit-appearance: none;
}

#content input[type=submit]:disabled {
    background-color: #ccc;
    color: #999;
}

#content select {
}

#content input[type=radio].blind {
    display: none;
}

/* radio, checkbox */

#content input[type=file],
#content input[type=radio],
#content input[type=checkbox] {
    display: none;
}

#content .file {
    padding: 4px 8px;
    border: 1px solid #666;
    border-radius: 6px;
    line-height: 20px;
    background-color: #f0f0f0;
}

#content .radio,
#content .checkbox {
    display: inline-block;
    vertical-align: top;
    position: relative;
    padding-left: 34px;
    color: #2c3e50;
    vertical-align: middle;
}

#content .radio:after,
#content .checkbox:after {
    position: absolute;
    top: 50%;
    left: 6px;
    display: block;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    content: '';
    background-color: #BDC3C7;
    z-index: 1;
}

#content .radio:after {
    border-radius: 50%;
}

#content .checkbox:after {
    border-radius: 6px;
}

#content .radio:before,
#content .checkbox:before {
    position: absolute;
    top: 50%;
    display: block;
    content: '';
    opacity: 0;
    z-index: 2;
    cursor: pointer;
}

#content .radio:before {
    top: 50%;
    left: 12px;
    margin-top: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #53b300;
}

#content input[type=radio]:checked + .radio:before {
    opacity: 1;
}

#content .checkbox:before {
    left: 13px;
    margin-top: -9px;
    width: 5px;
    height: 9px;
    width: 10px;
    height: 16px;
    border-right: 4px solid #fff;
    border-bottom: 4px solid #fff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#content input[type=checkbox]:checked + .checkbox:before {
    opacity: 1;
}

#content input[type=checkbox]:checked + .checkbox:after {
    background-color: #00f;
}

/* image selector */

#content .image-selector {
    display: block;
    width: 96px;
    height: 96px;
    cursor: pointer;
}

#content .image-selector[for=noimage] {
    font-size: 16px;
    text-align: center;
    line-height: 90px;
    background-color: #fff;
}

#content input[type=radio] + .image-selector {
    padding: 3px;
    opacity: 0.5;
}

#content input[type=radio]:checked + .image-selector {
    padding: 0;
    border: 3px solid #f00;
    opacity: 1;
}

/* p */

#content p {
    padding-bottom: 10px;
    font-size: 18px;
    line-height: 21px;
}

#content p.warning {
    border: 1px solid #f00;
    padding: 10px;
    margin-bottom: 20px;
    color: #f00;
    border-radius: 5px;
}

/* login form */

#login-form {
}

#login-form ul {
}

#login-form ul li {
    text-align: center;
    padding: 8px 0;
}

#login-form ul li .mail,
#login-form ul li .password,
#login-form ul li .submit {
    font-size: 20px;
    line-height: 44px;
    border: 1px solid #999;
    border-radius: 6px;
    color: #666;
}


#login-form ul li .mail,
#login-form ul li .password {
    text-align: left;
    padding: 0 8px;
    width: 720px;
}

#login-form ul li .submit {
    width: 360px;
    background-color: #33f;
    color: #fff;
    font-weight: normal;
}
