*{
  margin:0;
  padding:0;
  text-decoration:none
}
html{
    height: 100%;
    width: 100%;
    
}
body {
    font-family: 'lato', sans-serif;
    background: url('/images/Metal_A1_Diffuse.jpg') repeat;
    background-attachment: fixed;
}
nav {
    background: #484849;
    position: relative;
    margin: 0 auto;
    height: 48px;
}
a {
    color: #fff;
}

#flexmenu{
  display: flex;
  flex-flow: row wrap;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}
#flexmenu .home {
    color: #fff;
    height: 38px;
    margin: 5px;
    line-height: 40px;
    font-size: 35px;
    z-index: 124;
}

.logo {
    z-index: 123;
    font: 16px 'yellowtail';
    color: #FFF;
    flex-grow: 1;
    flex-shrink: 1;
    padding-top:3px;
}
.logo a {
    color: rgb(255, 255, 255);
}

#main-menu{
  align-self: flex-end;
  background: #444;
  z-index: 123;
}
/* keep the drop-downs from being hidden by content wrappers etc */
.sub-menu {
  z-index: 1234;
}

/* General Menu Styling */
#flexmenu li,
#flexmenu li a{
    border: 0;
    list-style: none;
    line-height: 1;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    transition: all ease-in-out .3s;
}

#flexmenu ul li a {
    padding: 17px;
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;
    color: #ddd;
    font-weight: 700;
}

#flexmenu ul li.has-sub > a {
    padding-right: 30px;
}
/* Drop icon */
#flexmenu ul li.has-sub > a:after {
    position: absolute;
    top: 22px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: rgb(161, 147, 151);
    content: '';
}
#flexmenu ul ul li.has-sub > a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #FFF;
    content: '';
}
#flexmenu > ul > li.has-sub > a:before {
    position: absolute;
    top: 19px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #ddd;
    transition: all .25s ease;
}
#flexmenu > ul > li.has-sub:hover > a:before {
    top: 23px;
    height: 0;
}
#flexmenu ul ul li.has-sub > a:before {
    position: absolute;
    top: 13px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #FFF;
    content: '';
    transition: all .3s ease;
}
#flexmenu ul ul > li.has-sub:hover > a:before {
    top: 17px;
    height: 0;
}
#flexmenu ul ul li.has-sub:hover,
#flexmenu ul li.has-sub ul li.has-sub ul li:hover {
    background: rgb(125, 124, 126);
}
/* Submenu default states, removed by hover gives the animation */
#flexmenu ul ul {
    position: absolute;
    left: -9999px;
}
#flexmenu li:hover > ul {
    left: auto;
}
#flexmenu ul ul li {
    height: 0;
    background: rgb(128, 128, 128);
    transition: all .25s ease
}
#flexmenu li:hover > ul > li {
    height: 35px;
}
/* tertiary menu */
#flexmenu ul ul ul {
    margin-left: 100%;
    top: 0;
}
#flexmenu ul ul li a {
    padding: 11px 15px;
    width: 170px;
    font-size: 12px;
    text-decoration: none;
    color: #FFF;
    font-weight: 400;
}


/* Content */
#main{
  color: #000;
  height: 100vh;
  width: 100vw;
  position: relative;
  top: 50px;
  /*background-size: cover;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;*/
}
.content {
  width: 80vw;
  padding: 10px;
  /*top: 90px;
  position: relative;*/
}

.note {
  width: 80vw;
  max-width: 320px;
  max-height: 200px;
  text-align: center;
  /*background: #F14F80;*/
  font-size: 1vw;
  padding: 10px;
  background-clip: padding-box;
}
.note h2 {
  font-weight: 300;
  font-size: 1.5em;
  margin: 10px 0 0;
}
.note p{
  margin: 5px;
}


@media screen and (max-width: 768px) {
  /* Center the logo and remove the bar */
    .logo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 42px;
        text-align: center;
    }
    
  
  /* Hamburger */
    .button {
        background: #484849;
        width: 60px;
        height: 48px;
        position: absolute;
        right: 0;
        top: 0;
        cursor: pointer;
        z-index: 10000;
    }
    .button:after {
        position: absolute;
        top: 22px;
        right: 20px;
        display: block;
        height: 4px;
        width: 20px;
        border-top: 2px solid #dddddd;
        border-bottom: 2px solid #dddddd;
        content: '';
        box-sizing: initial;
    }
    .button:before {
        transition: all .3s ease;
        position: absolute;
        top: 16px;
        right: 20px;
        display: block;
        height: 2px;
        width: 20px;
        background: #ddd;
        content: '';
    }
  /* Turn it into an X when open */
    .button.menu-opened{
      background: rgb(51, 51, 51);
    }
    .button.menu-opened:after {
        transition: all .3s ease;    
        top: 23px;
        border: 0;
        height: 2px;
        width: 19px;
        background: #fff;
        transform: rotate(45deg);
    }
    .button.menu-opened:before {
        top: 23px;
        background: #fff;
        width: 19px;
        transform: rotate(-45deg);
    }
  /* reset horizontal styles */
    #flexmenu ul {
        display: none;
    }
    #flexmenu ul li,
    #flexmenu ul li a,
    #flexmenu ul ul li a{
        width: 100%;
    }

    #flexmenu ul ul li,
    #flexmenu li:hover > ul > li {
        height: auto;  
    }
    #flexmenu ul ul li a {
        padding-left: 25px;
    }
    #flexmenu ul ul ul li a {
        padding-left: 35px;
    }

    #flexmenu ul ul,
    #flexmenu ul ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left;
    }
    #flexmenu ul ul ul li.active a {
        border-left: none;
    }
    #flexmenu > ul > li.has-sub > ul > li.focus > a,
    #flexmenu > ul ul > li.has-sub > ul > li.focus > a {
        background: #262626;
        transition: all .3s ease;
    }
  /* remove cross when menu item is toggled */
    #flexmenu > ul > li.has-sub > a:after,
    #flexmenu > ul > li.has-sub > a:before,
    #flexmenu ul ul > li.has-sub > a:after,
    #flexmenu ul ul > li.has-sub > a:before {
        display: none;
    }

  /* submenu toggles */
    #flexmenu .submenu-button {
        position: absolute;
        z-index: 99;
        right: 0;
        top: 0;
        display: block;
        border-left: 1px solid #444;
        height: 46px;
        width: 46px;
        cursor: pointer;
    }
    #flexmenu ul ul .submenu-button {
        height: 34px;
        width: 34px;
    }
    #flexmenu .submenu-button:after {
        position: absolute;
        top: 22px;
        right: 19px;
        width: 8px;
        height: 2px;
        display: block;
        background: #ddd;
        content: '';
    }
    #flexmenu ul ul .submenu-button:after {
        top: 15px;
        right: 13px;
    }
    #flexmenu .submenu-button.submenu-opened:after {
        background: #fff;
    }
    #flexmenu .submenu-button:before {
        position: absolute;
        top: 19px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        background: #ddd;
        content: ''
    }
    #flexmenu ul ul .submenu-button:before {
        top: 12px;
        right: 16px;
    }
    #flexmenu .submenu-button.submenu-opened:before {
        display: none;
    }   
  
  .note{
    font-size: 3vw;
  }

  .content {
    width: 100vw;
    padding: 10px;
    position: relative;
  }
}
#main .content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}
#main .content div.spielerListe, #main .content div.line, #main .content div.overview {
    background: rgb(141, 141, 141);
    color: #fff;
    width: 95%;
    margin: 10px;
    flex: 1 1 0;
}
#main .content div h3 {
    background-color: #444;
    margin: 0px;
    padding: 5px;
}
#main .content div label.header {
    background-color: #444;
    width: 100%;
    padding: 5px;
    font-size: 1.2rem;
    margin: 0px;
}
#main .content div input[type=text] {
    width: 98%;
    margin: 3px;
}
#main .content form button {
    float: right;
}
#main .content div * {
    margin: 5px;
}
#main .content h1 {
    width: 95%;
    background-color: #444;
    color:#fff;
    border: 1px solid #262626;
    text-align: center;
}
.form-group {
    margin: 0px;
}
.errors {
    width: 95%;
    background-color: #f00;
    color: #fff;
    text-align: center;
}
.errors li {
    list-style: none;
}