/*#region fonts*/
/* great-vibes-regular - latin */
@font-face {
    font-family: 'Great Vibes';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/great-vibes-v14-latin-regular.eot'); /* IE9 Compat Modes */
    src:
    url('fonts/great-vibes-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/great-vibes-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/great-vibes-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('fonts/great-vibes-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/great-vibes-v14-latin-regular.svg#GreatVibes') format('svg'); /* Legacy iOS */
}
    /* special-elite-regular - latin */
@font-face {
    font-family: 'SpecialElite';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/special-elite-v18-latin-regular.eot'); /* IE9 Compat Modes */
    src:
    url('fonts/special-elite-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/special-elite-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/special-elite-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('fonts/special-elite-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/special-elite-v18-latin-regular.svg#SpecialElite') format('svg'); /* Legacy iOS */
}


/*#endregion*/
/*#region variables*/
:root {
    --col-green: #1f5207;
    --col-green-dark: #174006;
    --col-green-light: #308309;
    --col-red-light: #f11f1f;
    --col-red: #8b0000;
    --col-darkred: #530101;
    --col-yellow: rgba(241, 241, 4, 0.99);
    --col-red-transparent: #8b0000aa;
    --col-green-transparent: #1f5207aa;
    --col-white: #cfcfcf;
    --col-gray: #cfcfcf;
    --col-dark-gray: #0f0c0c;
    --col-dark-green: #262f26;

    --char-box-height:80px;
    --char-box-width:240px;


}
/*#endregion*/
/*#region general*/

.pagetitle {
    max-width: 1200px;
    width: 80%;
    margin: 0 auto 50px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    overflow: hidden;

    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #ffffff33;
    border: solid 1px #000000;
    box-shadow: 0 0 8px 0 #000000, 0 0 8px 0 #000000 inset;

}
.pagetitle:before {
    content:"";
    display: block;
    padding-top:45%;
}

.discordbanner {
    display: block;
    height: 102px;
    width: 200px;
    background-image: url(img/joindiscord.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    right: 10px;
    bottom: 10px;
    transition:all 0.5s;
}
.discordbanner:hover {
    transform:scale(110%);
    opacity:0.7;
}

@media screen and (max-width: 400px) {
    .pagetitle {
        width: 100%;
        border-radius: 0 0 10px 10px;
        box-sizing:border-box;
    }

}
body {
    background-color: #262f26;
    color: #fcfcfc;
    margin: 0;
    min-width: 320px;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    position: relative;
    max-width: 100%;
    min-height: 100%;
    width: 100%;
    font-family: 'SpecialElite', cursive;
    font-size: 16px;
    line-height: 20px;
}

h1 {
    margin:0 0 20px 0;
    font-size: 22px;
    line-height: 25px;
}

h2 {
    margin:0 0 20px 0;
    font-size: 24px;
    line-height: 30px;
}

main {
    margin: 50px 0 0 0;
}

@media screen and (max-width: 400px) {
    main {
        margin: 0 0 0 0;
    }
}
header {
    margin: 0 0 25px 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
}

p {
    margin: 0 0 20px 0;
}

a {
    color: var(--col-gray);
}

.button, button, input[type="submit"],.editbutton {
    box-shadow: inset 0 1px 0 0 #a6827e;
    background: linear-gradient(to bottom, #7d5d3b 5%, #634b30 100%);
    background-color: #7d5d3b;
    border-radius: 3px;
    border: 1px solid #54381e;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0 1px 0 #4d3534;
    display: inline-block;
    margin: 0;
    position:relative;
}
.infobutton {
    display:none;
    border-radius: 3px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0 1px 0 #4d3534;
    margin: 0;
    position:relative;
}

.infobutton.active{
    display: inline-block;
}
.infobutton .tooltip,
.button .tooltip {
    position: absolute;
    height:0;
    width:0;
    opacity: 0;
    overflow:hidden;
    transition:all 0.5s;
    z-index: 999;
    right: 0;
    left: auto;

}
.infobutton .tooltip,
.button .tooltip h2 {
    font-size:20px;
    line-height: 24px;
    margin:2px 0 5px 0;
}
.infobutton:hover .tooltip,
.button:hover .tooltip {
    height:auto;
    width:auto;
    overflow: auto;
    opacity:1;
    background-color: var(--col-dark-green);
    border:solid 1px var(--col-gray);
    box-shadow:  2px 2px 2px 2px var(--col-dark-gray);
    padding: 10px 20px;
    border-radius: 2px;min-width: 400px;
    display: none;
}

input[type=file] {
    display: none;
}

label.fileinput {
    background-color: #7d5d3b;
    border-radius: 3px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 13px;
    padding: 6px 24px;
    text-decoration: none;
    display: inline-block;
    box-shadow: inset 0 1px 0 0 var(--col-dark-green);
    background: linear-gradient(to bottom, var(--col-green) 5%, var(--col-green-dark) 100%);
    background-color: var(--col-green);
    border: 1px solid var(--col-green-dark);
    color: #ffffff;
    text-shadow: 0 1px 0 var(--col-green);
}

.notification {
    background: var(--col-green);
    position: fixed;
    left: 10px;
    top: 10px;
    display: block;
    width: 400px;
    z-index: 10000;
    border: solid 2px #cccccc;
    border-radius: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    box-shadow: 0 0 8px 0 #000000, 0 0 1px 0 #000000 inset;
    padding: 20px;
}

.formerror {
    font-size:12px;
    line-height:14px;
    color:var(--col-red-light);
    display: block;
}
span.sf_filename {
    display: none;
}

.editbutton {
    background-image: url(img/edit.svg);
    height: 15px;
    width: 15px;
    font-size: 1px;
    line-height: 1px;
    padding:0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    margin: 0;
}
.button:hover, button:hover, input[type="submit"]:hover {
    background: linear-gradient(to bottom, #634b30 5%, #7d5d3b 100%);
    background-color: #634b30;
}

.button:active, button:active, input[type="submit"]:active {
    position: relative;
    top: 1px;
}

.button.active, button.active, input[type="submit"].active {
    box-shadow: inset 0 1px 0 0 var(--col-dark-green);
    background: linear-gradient(to bottom, var(--col-green) 5%, var(--col-green-dark) 100%);
    background-color: var(--col-green);
    border: 1px solid var(--col-green-dark);
    color: #ffffff;
    text-shadow: 0 1px 0 var(--col-green);
}

input[type=text], input[type=password], select, textarea {
    background-color: #e0ffe0;
    appearance: none;
    border: solid 1px var(--col-green);
    padding: 5px 10px 5px 10px;
    margin: 3px 0 3px;
    border-radius: 5px;
    width: 50%;
    box-sizing: border-box;
}
@media screen and (max-width: 400px) {
    input[type=text], input[type=password], select, textarea {

        width: 100%;

    }
}
select {
    appearance: none;
    background-position: right 5px center;
    background-repeat: no-repeat;
    background-size: 10px;
    padding: 5px 20px 5px 10px;
}
/*#endregion*/
/*#region navigation*/
nav {
    max-width: 1200px;
    width: 80%;
    margin: 0 auto 0 auto;
    box-sizing: border-box;
    height: auto;
}

nav a {

    height: 30px;

    line-height: 15px;

    border: solid 1px #cccccc;

    border-radius: 0 0 5px 5px;

    padding: 7px;

    background-color: var(--col-red);

    text-decoration: none;

    z-index: 800;

    box-sizing: border-box;

    box-shadow: 2px 2px 5px 2px #000000;

    display: inline-block;

    border-top: none;
}
nav a:hover {
    opacity: 0.8;
}

@media screen and (max-width: 400px) {
    nav {
        position: fixed;
        left: 0;
        top:0;
        height:100vh;
        width: 100%;
        background-color:var(--col-dark-green);
        transition: all 0.5s;
        transform: translateY(-100%);
    }

    nav a {
        display: block;
        height: 30px;
        box-shadow: none;
        border: none;
        background-color: transparent;
    }

    nav.open {
        transform:none;
    }

}
/*#endregion*/
/*#region serverlist*/
section.servers {
    max-width: 1200px;
    width: 80%;
    margin: 0 auto 25px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
section.servers h2{
    display: block;
    width: 100%;
    text-align: center;
}
@media screen and (max-width: 400px) {
    section.servers {

        width: 100%;

        padding: 20px;

        box-sizing: border-box;

    }
}
/*#endregion*/

/*#region Box-Article*/
section.box {
    max-width: 1200px;
    width: 80%;
    margin: 0 auto 50px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
a.box,
article.box {
    width: 30%;
    border: solid 2px #cccccc;
    border-radius: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    margin: 1% 1% 1% 1%;
    box-shadow: 0 0 8px 0 #000000, 0 0 8px 0 #000000 inset;
}
a.box h2,
article.box h2 {
    margin: 10px 0 10px 0;
}
a.box span,
article.box a {
    color: var(--col-dark-gray);
}
a.box:hover,
article.box:hover {
    opacity: 0.7;
}
a.box:before,
article.box:before {
    content: "";
    display: block;
    padding-top: 100%;
}
a.box .content,
article.box .content {
    height: 30%;
    width: 100%;
    overflow: hidden;
    left: 0;
    bottom: 0;
    background-color: #ffffff88;
    position: absolute;
    box-sizing: border-box;
    padding: 0 10px 10px 10px;
    cursor: pointer;
}

@media screen and (max-width: 400px) {
    a.box,
    article.box {
        width: 100%;
        box-sizing: border-box;
        margin: 10px 0 10px 0;
    }
}
/*#endregion*/

/*#region Standard-Article*/
article.standard {
    max-width: 1200px;
    width: 80%;
    margin: 0 auto 25px auto;
    padding: 20px;
    box-sizing: border-box;
}

article.standard .content {

}

article.standard .twocolumn  {
    column-count: 2;
    column-gap: 20px;
}

article.standard.withbox {
    display: flex;
    justify-content: space-between;
}
article.standard.withbox .content {
    width: 51%;
}
article.standard.withbox .infobox{
    width:45%;
}


/*ugly but i'm lazy*/
article.standard .userportrait {
    width:100px;
    border: solid 2px #cccccc;
    border-radius: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    padding: 25px 25px 25px 25px;
    box-shadow: 0 0 8px 0 #000000, 0 0 8px 0 #000000 inset;
    box-sizing: border-box;
    background-color: var(--col-green);


}

article.standard .userportrait:before {
    content:"";
    display:block;
    padding-top:120%;
}

@media screen and (max-width: 400px) {
    article.standard {
        margin:20px 0 20px 0;
        box-sizing: border-box;
        width:100%;
    }

    article.standard.withbox{
        flex-wrap:wrap;
    }
    article.standard.withbox .content{
        width: 100%;
    }

    article.standard.withbox .infobox {
        width: 100%;
    }

    div.infobox .entry, article.infobox .entry {
        flex-wrap:wrap;
    }
    div.infobox .entry, article.infobox .entry .label{
        width:100%;
    }
    div.infobox .entry, article.infobox .entry .content{
        width:100%;
    }
}

/*#endregion*/
/*#region Intro-Article*/
article.intro {
    max-width: 1200px;
    width: 80%;
    margin: 0 auto 25px auto;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #ffffff33;
    border: solid 1px #000000;
    box-shadow: 0 0 8px 0 #000000, 0 0 8px 0 #000000 inset;
}

article.intro:after {
    display: block;
    content:"";
    clear: both;
}
article.intro.banner {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 200px;
}

article.intro.planned {
    background-color: var(--col-green);
}

article.intro.finished {
    background-color: var(--col-red);
}


article.intro .title {
    text-shadow: 2px 2px 2px #000000;
}

article.intro .title a {
    text-decoration: none;

}
/*#endregion*/
/*#region Infobox*/
section.infobox {
    max-width: 1200px;
    width: 80%;
    margin: 0 auto 25px auto;
    display: flex;
    padding: 0 20px 0 20px;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
}

div.infobox ,
article.infobox {
    width: 49%;
    border-radius: 10px;
    background-color: #ffffff33;
    border: solid 1px #000000;
    box-shadow: 0 0 8px 0 #000000, 0 0 8px 0 #000000 inset;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

div.infobox {
    width:100%;

}

div.infobox .title ,
article.infobox .title {
    display: block;
    width: 100%;
}

div.infobox .entry ,
article.infobox .entry {
    width: 100%;
    display: flex;
    margin: 0 0 5px 0;
}

div.infobox .entry .label ,
article.infobox .entry .label {
    width: 38%;
    font-weight: 700;
}

div.infobox .entry .content ,
article.infobox .entry .content {
    width: 60%;
    column-count: 1;

}

div.infobox .entry .content .subtitle ,
article.infobox .entry .content .subtitle {
    font-weight: bold;

}

div.infobox .entry .content .small ,
article.infobox .entry .content .small {
    font-weight: 200;
    font-size: 12px;
    line-height: 14px;
}


div.infobox ul.prequsites {

    padding: 0 0 0 13px;

    margin: 0;
}

div.infobox ul.prequsites li{
    position: relative;
}


div.infobox ul.prequsites .tooltip{
    display: none;
    position: absolute;
    left: 30px;
    top: 0;
    border: none;
    background-color: var(--col-green);
    color:var(--col-white);
    padding: 10px;
    border-radius: 5px;
    box-shadow: -1px -1px 1px 0 #465046,1px 1px 1px 0 #465046, 5px 5px 5px 1px #000000;
    z-index: 999;
    min-width: 400px;
}

div.infobox ul.prequsites li:hover .tooltip{
    display: block;
}


@media screen and (max-width: 400px) {


    div.infobox .entry, article.infobox .entry {
        flex-wrap:wrap;
        margin: 0 0 20px 0;
    }
    div.infobox .entry .label, article.infobox .entry .label{
        width:100%;
    }
    div.infobox .entry .content, article.infobox .entry .content{
        width:100%;
    }
}

/*#endregion*/
/*#region Eventlist*/
table.eventlist {
    width: 100%;
    border-radius: 20px;
    margin: 0 0 20px 0;
}

table.eventlist td {
    background-color: var(--col-green-transparent);
    border: solid 1px #cccccc;
    font-size: 14px;
    line-height: 20px;
    box-sizing: border-box;
    padding: 5px;
}


table.eventlist tr.missing td ,
table.eventlist tr.missing td a {
    background-color: var(--col-yellow);
    color:var(--col-dark-gray);
}

table.eventlist tr.abgesagt td,
table.eventlist tr.abgesagt td a {
    background-color: var(--col-darkred);
    text-decoration: line-through;
    color:var(--col-white);
}

table.eventlist td {

}

table.eventlist td a {
    text-decoration: none;
}

table.eventlist .button {
    padding: 6px 10px;
    display: inline-block;
}

table.eventlist td:first-child {
    padding: 5px 5px 5px 15px;
}

table.eventlist tr:first-child td {
    background-color: var(--col-red-transparent);

}

table.eventlist tr:first-child td:first-child {
    border-radius: 15px 0 0 0;

}

table.eventlist tr:first-child td:last-child {
    border-radius: 0 15px 0 0;
}

table.eventlist tr:last-child td:first-child {
    border-radius: 0 0 0 15px;
}

table.eventlist tr:last-child td:last-child {
    border-radius: 0 0 15px 0;
}


@media screen and (max-width: 400px) {
    table.eventlist tr:first-child{
        display:none;
    }
    table.eventlist tr {
        display:flex;
        flex-wrap:wrap;
        border:solid 1px var(--col-white);
        border-radius:0!important;
    }
    table.eventlist td {
        display:block;
        width:100%;
        border:none;
        margin:0;
        padding:5px 10px!important;
        border-radius:0!important;

    }
    table.eventlist td:nth-child(1) {
        width:35%;
        font-size:16px;
        font-weight:600;
        background-color:var(--col-darkred);
        border-bottom:solid 1px var(--col-white);
    }
    table.eventlist td:nth-child(2) {
        width:65%;
        font-size:16px;
        font-weight:600;
        background-color:var(--col-darkred);
        border-bottom:solid 1px var(--col-white);
    }
    table.eventlist td:nth-child(1):before {

    }
    table.eventlist td:nth-child(2):before {

    }
    table.eventlist td:nth-child(3):before {
        content:"Zusagen";
    }

    table.eventlist td:nth-child(4):before {
        content:"Absagen";
    }
    table.eventlist td:nth-child(5):before {
        content:"VerspÃƒÆ’Ã‚Â¤tet";
    }
    table.eventlist td:nth-child(6):before {
        content:"Unsicher";
    }
    table.eventlist td:nth-child(6):before {
        content:"Keine Antwort";
    }
    table.eventlist td:nth-child(7) {
        padding-bottom:0px;
        min-width: 0;
        width:40px;
    }

}
/*#endregion*/


div.linklist {
    max-width: 1200px;
    width: 80%;
    margin: 0 auto 25px auto;
}

@media screen and (max-width: 400px) {
    div.linklist {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto 25px auto;
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        padding: 20px;
    }

    div.linklist .button{
        width:50%;
        box-sizing: border-box;
    }

}



/*#region charlist*/

.charlist {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-wrap:wrap;
    margin:0 0 0 -5px;

}

.charlist .charbox{
    display: flex;
    height:var(--char-box-height);
    width:var(--char-box-width);
    border:solid 1px var(--col-gray);
    border-radius:6px;
    overflow:hidden;
    background-color: var(--col-green);
    margin:5px;
}

.charlist .charbox .portrait{
    height:var(--char-box-height);
    width: var(--char-box-height);
    background-color: var(--col-darkred);
    background-size: cover;
}

.charlist .charbox .infos{
    height:60px;
    width: 140px;
    padding:6px;
}

.charlist .charbox .infos .name{
    font-size:13px;
    line-height:17px;
    font-weight:700;
}
.charlist .charbox .infos .function,
.charlist .charbox .infos .name{
    font-size:13px;
    line-height:17px;
}
@media screen and (max-width: 400px) {
    .charlist .charbox{
        width: 100%;
    }
}

/*#endregion*/
/*#region playergroups*/
.playergroups {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.playergroup h3{
    margin: 0;
    padding: 0;
}
.playergroup {
    width: 32%;
    border: solid 2px #cccccc;
    border-radius: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    padding: 25px 25px 25px 25px;
    box-shadow: 0 0 8px 0 #000000, 0 0 8px 0 #000000 inset;
    box-sizing: border-box;
    background-color: var(--col-green);
}

.buttonbox {
    padding: 25px 0 25px 0;
}

@media screen and (max-width: 400px) {
    .playergroup {
        flex-wrap:wrap;


    }
    .playergroup {

        width:100%;

    }
}
/*#endregion*/


/*#region burger */
.burger {
    display:none;
}
@media screen and (max-width: 400px) {
    .burger {
        display:flex;
        align-content: space-around;
        height: 30px;
        width: 30px;
        position: absolute;
        z-index: 999;
        right:10px;
        top: 10px;
        flex-wrap: wrap;
    }

    .burger .slice {
        width: 100%;
        height: 3px;
        background-color: var(--col-white);

    }
}
/*#endregion*/

/*#region playerinfo*/
.playerlist {
    display: flex;
    /* align-items: flex-start; */
    flex-wrap: wrap;
    justify-content: center;
}
.playerbox  {
    display: block;
    border: solid 1px var(--col-gray);
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--col-green);
    margin: 5px;
    width: calc(25% - 12px);
    box-sizing: border-box;
    position: relative;
}
.playerbox:before {
    content:"";
    display:block;
    padding-top: 110%;
}

.playerinfo {
    display: flex;
    position: absolute;
    left:0;
    top:0;
    height: 100%;
    width: 100%;
    flex-wrap: wrap;

}
.playerinfo .portrait {
    height: 80%;
    width:100%;
    background-color: var(--col-darkred);
    background-size: cover;
    background-position: center center;
    background-repeat:no-repeat;
}
.playerinfo .stats {
    height: 20%;
    width:100%;
    padding:6px;
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
}

@media screen and (max-width: 400px) {
    .playerbox{
        width: 100%;
    }
}
/*#endregion*/


/*region user profile*/
.rating {
    font-size:30px;
    line-height: 30px;
}
.rating.good {
    color: #9ad717;
}

.rating.bad {
    color: #f82727;
}

/*#endregion*/
