﻿ul {
    list-style: none
}

.mainselection {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center
}

    .mainselection a {
        margin: 20px 40px 0 40px;
    }

.grimoire {
    flex-direction: column;
    display: flex;
    align-items: center
}

.charakter_selektion {
    display: flex;
    flex-direction: column;
}

.charaktere {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.charakter {
    max-width: 350px;
    margin: 5px;
}

    .charakter table {
        border: none;
    }

        .charakter table th {
            text-align: left;
        }

.field {
    width: 120px;
    text-align:left;
}

label > span {
    display: inline-block;
    vertical-align: middle;

}

label > textarea {
    width: 175px;
    display: inline-block
}

    label > input[type="number"] {
        width: 157px;
        display: inline-block
    }

input[type="radio"] {
    margin-right: 10px;
}

body, textarea, input, select {
    background: 0;
    border-radius: 0;
    font: 16px sans-serif;
    margin: 0
}

.addon, .btn-sm, .nav, textarea, input, select {
    outline: 0;
    font-size: 14px
}

.smooth {
    transition: all .2s
}

.btn, .nav a {
    text-decoration: none
}

.container {
    margin: 0 20px;
    width: auto
}

@media(min-width:1310px) {
    .container {
        margin: auto;
        width: 1270px
    }
}

.btn, h2 {
    font-size: 2em
}

h1 {
    font-size: 3em
}

.btn {
    background: #999;
    border-radius: 6px;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin: 2px 0;
    padding: 12px 30px 14px
}

    .btn:hover {
        background: #888
    }

    .btn:active, .btn:focus {
        background: #777
    }

.btn-a {
    background: #0ae
}

    .btn-a:hover {
        background: #09d
    }

    .btn-a:active, .btn-a:focus {
        background: #08b
    }

.btn-b {
    background: #3c5
}

    .btn-b:hover {
        background: #2b4
    }

    .btn-b:active, .btn-b:focus {
        background: #2a4
    }

.btn-c {
    background: #d33
}

    .btn-c:hover {
        background: #c22
    }

    .btn-c:active, .btn-c:focus {
        background: #b22
    }

.btn-sm {
    border-radius: 4px;
    padding: 10px 14px 11px
}

label > * {
    display: inline
}

form > * {
    display: block;
    margin-bottom: 10px
}

textarea, input, select {
    border: 1px solid #ccc;
    padding: 8px
}

    textarea:focus, input:focus, select:focus {
        border-color: #5ab
    }

    textarea, input[type=text] {
        -webkit-appearance: none;
        width: 13em;
        outline: 0
    }

.addon {
    box-shadow: 0 0 0 1px #ccc;
    padding: 8px 12px
}

.nav, .nav .current, .nav a:hover {
    background: #000;
    color: #fff
}

.nav {
    height: 24px;
    padding: 11px 0 15px
}

    .nav a {
        color: #aaa;
        padding-right: 1em;
        position: relative;
        top: -1px
    }

    .nav .pagename {
        font-size: 22px;
        top: 1px
    }

.btn.btn-close {
    background: #000;
    float: right;
    font-size: 25px;
    margin: -54px 7px;
    display: none
}

@media(max-width:500px) {
    .btn.btn-close {
        display: block
    }

    .nav {
        overflow: hidden
    }

    .pagename {
        margin-top: -11px
    }

    .nav:active, .nav:focus {
        height: auto
    }

    .nav div:before {
        background: #000;
        border-bottom: 10px double;
        border-top: 3px solid;
        content: '';
        float: right;
        height: 4px;
        position: relative;
        right: 3px;
        top: 14px;
        width: 20px
    }

    .nav a {
        display: block;
        padding: .5em 0;
        width: 50%
    }
}

.formList > *{
    display: block;
    margin-bottom: 10px;
}