body {
    background: #eee;
}

form {
    margin: 0;
}

dialog {
    padding: 20px;
    background: white;
    color: #333;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.30), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    border: none;
}

.pure-button-primary, a.pure-button-primary {
    background: #9c0d99;
}

.title {
    width: 100%;
    padding: 6px 0;
    margin-bottom: 6px;
    color: #333;
    border-bottom: 1px solid #e5e5e5;
}

.main-title {
    width: 100%;
    padding: 6px 0;
    margin-bottom: 6px;
    color: #333;
    border-bottom: 2px solid #e5e5e5;
    text-align: center;
    font-weight: bold;
}

.main {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 500px;
    height: auto;
    overflow-y: auto;
    padding: 20px;
    background: white;
    color: #333333;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.30), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

@media only screen and (min-width: 768px) {
    .main {
        max-height: 800px;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

.result-outer {
    border: 1px solid #9c0d99;
    margin: 12px 0;
}

.result-inner {
    background-color: #e8c7e7;
    padding: 3px 0;
    white-space: nowrap;
}

.result-inner span {
    padding: 0 6px;
}

.mentions {
    margin: 16px 0;
}

.box {
    display: inline-block;
    border: 1px solid black;
    width: 12px;
    height: 12px;
}

.result-majo {
    border: 1px solid black;
    width: 100%;
    height: 24px;
    margin-bottom: 16px;
    display: flex;
    position: relative;
}

.result-majo-choix {
    height: 100%;
}

.pure-table thead {
    background-color: #e8c7e7;
}

.tooltip-info {
    color: #9c0d99;
    font-weight: bold;
    cursor: default;
}

.tooltip {
    visibility: hidden;
    width: 450px;
    background-color: #9c0d99;
    color: white;
    text-align: center;
    opacity: 0.9;
    padding: 6px;
    border-radius: 6px;
    position: absolute;
    top: 110%;
    left: 50%;
    margin-left: -225px;
    z-index: 1;
    font-weight: normal;
}

.mediane {
    background-color: black;
    position: absolute;
    height: 100%;
    width: 1px;
    left: 50%;
}

*:hover>.tooltip {
    visibility: visible;
}

.footer {
    text-align: right;
    border-top: 1px solid #e5e5e5;
    padding: .3em 0;
    margin-top: .3em;
}

.error, .alert, .info {
    padding: 8px;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.30), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.error {
    background: #faa;
}

.alert {
    background: #ffa;
}

.info {
    background: #afa;
}