/* main.css */

body, html {
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    overflow-y: auto;
    background-color: #F2F2F2;
}

.content {
    max-width: 560px;
    margin: 30px auto 30px auto;
    padding:15px 15px 30px 15px;
    background-color: #FFFFFF;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.25em;
    margin-top: 20px;
}

p {
    line-height: 1.25;
}

label {
    display: block;
}

label span {
    display: inline-block;
    text-align: left;
}

#member_name label span {
    margin-right: 20px;
    margin-bottom: 5px;
}

#name  {
}

.election-table {
    padding-left: 30px;
    border-collapse:separate;
    border-spacing:.5em;
}

.election-table input{
}

.total-row {
    visibility: hidden;
}

.total-ok {
    color: green;
    font-weight: bold;
}

button[type=submit] {
    padding:15px 15px;
    color: #000;
    background-color: #eee;
    font-size: 16px;
    /*border:0 none;*/
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

button[type=submit]:focus {
    box-shadow: rgb(0 0 0) 0 -2px 5px 1px;
}

button[type=submit]:disabled {
    background-color: #eee;
    color: #666;
    cursor: not-allowed;
}

.error-box {
    color:#ff0000;
    /*border-radius:10px;*/
    background-color: #ffecec;
    border:1px solid #f5aca6;
    padding:10px 10px 10px 10px;
    /*margin:10px;*/
}

.error-description {
    color:#ff0000;
}

noscript > div{
    color: #000000;
    background-color: #FFEBEE;
    line-height: 1.25em;
    border: 1px solid #FF0000;
    padding: 10px;
}

.error-message{
    display: none;
    color: #000000;
    background-color: #FFEBEE;
    line-height: 1.25em;
    border: 1px solid #FF0000;
    padding: 10px;
    margin-bottom: 15px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
}

@media screen and (max-width: 560px) {
    .content {
        margin: auto;
    }
}