/* Navigation oben */
@media screen and (max-width:1000px){
/*
.puzzle_topnav-logo{
  position:absolute;
  top:0;
  left: 0;
  width:100%;
  text-align:center;
  padding:0px;
  float:none;
}

.puzzle_topnav-logo img{
  height:50px;
  width:115px;
  padding:5px;
}

*/
#container {
    grid-template-rows: 45px repeat(6, auto);
}

nav{
  width:100%;
}

#puzzle_topnav-cssmenu{
  width:100%;
  height:var(--main-l);
}

#puzzle_topnav-cssmenu ul{
	width: 100%;
    display: none;
    background-color: var(--color1);
	z-index: 1000;
}

#puzzle_topnav-cssmenu ul li{
	width:100%;
	margin: 0px var(--space-xxs)
}

#puzzle_topnav-cssmenu ul li:hover{
}

#puzzle_topnav-cssmenu ul ul li,#puzzle_topnav-cssmenu li:hover > ul > li{
    height:auto;
}

#puzzle_topnav-cssmenu ul li a,#puzzle_topnav-cssmenu ul ul li a{
    width:100%;
    border-bottom:0;
	margin-bottom: -4px;
	padding: var(--space-xxs);
	color: var(--colorbase2);
}

#puzzle_topnav-cssmenu > ul > li{
    float:none;
}

#puzzle_topnav-cssmenu > ul > li a:hover{
    float:none;
    background-color:var(--colorbase1)!important;
	color:var(--colorbase2)!important;
}

#puzzle_topnav-cssmenu ul ul li{
	margin-bottom: var(--space-xxxs);
	line-height: var(--text-xxxl);
}

#puzzle_topnav-cssmenu ul ul li:hover{
}

#puzzle_topnav-cssmenu ul ul ul li a{
	color: var(--highlight1);
    background: var(--farbe1);
    padding-left: var(--space-m);
}

#puzzle_topnav-cssmenu ul ul li:hover > a,#puzzle_topnav-cssmenu ul ul li.active > a{
}

#puzzle_topnav-cssmenu ul ul,#puzzle_topnav-cssmenu ul ul ul{
    position:relative;
    left:0;
    width:100%;
    margin:0;
    text-align:left;
}

#puzzle_topnav-cssmenu > ul > li.has-sub > a:after,#puzzle_topnav-cssmenu > ul > li.has-sub > a:before,#puzzle_topnav-cssmenu ul ul > li.has-sub > a:after,#puzzle_topnav-cssmenu ul ul > li.has-sub > a:before{
    display:none;
}

#puzzle_topnav-cssmenu #puzzle_topnav-head-mobile{
	display: block;
    padding: var(--space-big);
}

.puzzle_topnav-button{
	width: var(--main-xxl);
    height: var(--main-l);
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 12399994;
}

.puzzle_topnav-button:before{
	-webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
    position: absolute;
    top: var(--space-xxxl);
    right: var(--space-biggest);
    display: block;
    height: var(--space-xxxs);
    width: var(--space-bigger);
    background: var(--colorbase1);
    content: '';
}

.puzzle_topnav-button:after{
	position: absolute;
    top: var(--space-biggest);
    right: var(--space-biggest);
    display: block;
    height: var(--space-xxs);
    width: var(--space-bigger);
    border-top: 2px solid var(--colorbase1);
    border-bottom: 2px solid var(--colorbase1);
    content: '';
}

.puzzle_topnav-button.menu-opened:before{
	top: var(--space-biggest);
    width: var(--space-biggest);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background: var(--colorbase1);
}

.puzzle_topnav-button.menu-opened:after{
	-webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
    top: var(--space-biggest);
    border: 0;
    height: var(--space-xxxs);
    width: var(--space-biggest);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    background: var(--colorbase1);
}

#puzzle_topnav-cssmenu .submenu-button{
	position:absolute;
    z-index: 99;
    right: 0;
    top: 0;
    display: block;
    height: var(--main-xxs);
    width: var(--main-l);
    cursor: pointer;
}

#puzzle_topnav-cssmenu .submenu-button.submenu-opened{
}

#puzzle_topnav-cssmenu ul ul .submenu-button{
	height: 28px;
    width: var(--main-l);
}

#puzzle_topnav-cssmenu .submenu-button.submenu-opened:after{
}

#puzzle_topnav-cssmenu .submenu-button:before{
	position: absolute;
    top: var(--space-s);
    right: var(--space-xxxl);
    display: block;
    width: var(--space-xxxs);
    height: var(--space-m);
    background: var(--colorbase1);
    content: '';
}

#puzzle_topnav-cssmenu ul ul .submenu-button:before{
    top: var(--space-m);
    right: var(--space-biggest);
}

#puzzle_topnav-cssmenu .submenu-button.submenu-opened:before{
    display:none;
}

#puzzle_topnav-cssmenu .submenu-button:after{
    position: absolute;
    top: var(--space-l);
    right: var(--space-xl);
    width: var(--space-m);
    height: var(--space-xxxs);
    display: block;
    background: var(--colorbase1);
    content: '';
}

#puzzle_topnav-cssmenu ul ul .submenu-button:after{
    top: var(--space-xl);
    right: var(--space-big);
}

#puzzle_topnav-cssmenu ul ul ul li.active a{
  border-left:none;
}

#puzzle_topnav-cssmenu > ul > li.has-sub > ul > li.active > a,#puzzle_topnav-cssmenu > ul ul > li.has-sub > ul > li.active > a{
  border-top:none;
}


}

/* Navigation Seite */
@media screen and (max-width:1000px){
#togglemenu, #togglemenu2 {
    margin-top: -45px;
}

.scenetracker_index h1 {
    padding: var(--space-xxxs) var(--space-s);
    font-size: var(--text-l);
}

#admins h1 {
    font-size: var(--space-big);
    line-height: var(--main-s);
}

#news h1, #event h1, #calendar h1, #weather h1 {
    margin-left: var(--space-biggest);
    font-size: var(--space-big);
    line-height: var(--main-s);
}


}

/* Headertabelle */
@media screen and (max-width:1000px){
#puzzle_headertabelle {
	display: grid; 
    grid-template-rows: auto 1fr;
   grid-template-columns: 1fr;
   gap: 0px;
   height: 100%;
}

#admins {
	grid-row-start: 1;
	grid-column-start: 1;
	grid-row-end: 2;
	grid-column-end: 2;
}

#admins .teambox {
	width: 97.5%;
	height: auto;
}

#admins .teambox .admin {
    width: 50%;
    position: relative;
}

#admins .teambox .name {
	font-size: var(--text-m);
	line-height: var(--space-m);
}
	
#admins .teambox .online {
	padding-top: var(--space-m);
	line-height: var(--space-m);
}

#admins .teambox, #infonews .textbox, #infoevents .textbox {
    height: var(--ava-h);
    overflow-x: hidden;
}

/* Kategorie Forumbit */
@media screen and (max-width:1000px){
.puzzleforumbiticon i {
	font-size: var(--main-xl);
}

.puzzleforumbittitel {
    width: 98%;
    top: var(--space-xxxs);
}

.puzzleforumbittitel h1 {
    font-size: var(--main-s);
}

.puzzleforumbittitel h2 {
    padding: var(--space-xxxs);
    font-size: var(--text-s);
}

.expcolimage {
    margin-top: -95px;
}


}

/* Forumbitanpassung */
@media screen and (max-width:1000px){
.puzzleforumbitkategorie_container1, .puzzleforumbitkategorie_container2, .puzzleforumbitkategorie_container3 {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    gap: var(--space-xs);
}

.puzzleforumbitkategorie_infobox1 {
    grid-template-rows: 1fr auto;
    grid-template-columns: 1fr;
	gap: var(--space-xxs);
	margin-top: -6px;
	margin-bottom: var(--space-xs);
}

.puzzleforumbitkategorie_infobox1 .forentext {
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 2;
}

.puzzleforumbitkategorie_infobox1 .forenbuttons {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-row-end: 3;
    grid-column-end: 2;
}

.puzzleforumbitkategorie_infobox2{
    grid-template-rows: 1fr auto auto;
    grid-template-columns: 1fr;
    gap: var(--space-xxs);
	margin-top: -6px;
	margin-bottom: var(--space-xs);
}

.puzzleforumbitkategorie_infobox2 .forentext {
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 2;
}

.puzzleforumbitkategorie_infobox2 .forenbuttons {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-row-end: 3;
    grid-column-end: 2;
}

.forengesuche {
    grid-row-start: 3;
    grid-column-start: 1;
    grid-row-end: 4;
    grid-column-end: 2;
    margin-top: -6px;
}

#forumbox #puzzleforumbit_subforum1 {
 
	width: auto;
    margin-top: 0px;
    margin-left: 0px;
	margin-bottom: var(--space-xxxs);
}

#puzzleforumbit_subforum1 a {
    font-size: var(--text-xxxl);
}

#forumbox .info {
    margin-bottom: -6px;
}

#forumbox .themen, #forumbox .beitraege {
	font-size: var(--text-s);
    line-height: var(--text-xxxl);
    height: var(--space-xxxl);
}

#forumbox .bild {
	margin-right: var(--space-m);
}

#puzzleforumbit_subforum1 .text {
}
	
.puzzleforumbitkategorie_infobox1 .forentextbox, .puzzleforumbitkategorie_infobox2 .forentextbox {
    width: 100%;
    text-align: left;
    font-size: var(--text-xs);
    font-family: var(--subtext-font);
    line-height: var(--space-xxl);
}

#puzzleforumbit_subforum1 .lastpost {
}

.puzzleforumbitkategorie_infobox1 .forenbuttons div, .puzzleforumbitkategorie_infobox2 .forenbuttons div {
    height: var(--main-xs);
}

.puzzleforumbitkategorie_infobox1 .forenbuttons div i, .puzzleforumbitkategorie_infobox2 .forenbuttons div i {
    font-size: var(--text-l);
    line-height: var(--space-xxl);
}


}

/* Indexstatistik */
@media screen and (max-width:1000px){
.puzzlestat {
	display: grid;
    grid-template-rows: 280px 36px 270px 65px;
    grid-template-columns: repeat(3, auto);
    margin-top: 0px;
    margin-bottom: var(--space-xxxs);
}

.puzzlestat .online .titel, .puzzlestat .posts .titel3, .puzzlestat .partner .titel, .puzzlestat .zitat .titel, .puzzlestat .onlinestat .titel2 {
    font-size: var(--text-xxxl);
}

.puzzlestat .online {
   grid-row-start: 1;
   grid-column-start: 1;
   grid-row-end: 2;
   grid-column-end: 2;
	margin-top: 0px;
}

.puzzlestat .online .onlinemember {
    height: var(--sonder7);
}

.puzzlestat .posts {
   grid-row-start: 1;
   grid-column-start: 2;
   grid-row-end: 2;
   grid-column-end: 3; 
	margin-top: 0px;
}

.puzzlestat .posts .themen {
    height: var(--banner-h);
	font-size: var(--text-s);
}

.puzzlestat .newbie {
   grid-row-start: 2;
   grid-column-start: 1;
   grid-row-end: 3;
   grid-column-end: 2;
}

.puzzlestat .buttons2 {
   grid-row-start: 2;
   grid-column-start: 2;
   grid-row-end: 3;
   grid-column-end: 3;
}

.puzzlestat .buttons2 span {
    width: 87%;
}

.puzzlestat .zitat {
   grid-row-start: 3;
   grid-column-start: 1;
   grid-row-end: 4;
   grid-column-end: 2;  
   margin-top: -2px;
}
.puzzlestat .zitat .inplayquotes_index_bit{
    line-height: var(--space-xl);
    max-height: 140px;
    overflow-x: hidden;
    font-size: var(--text-s);
}
.puzzlestat .zitat .zitatbox img {
	display:none;
}

.puzzlestat .onlinestat {
   grid-row-start: 3;
   grid-column-start: 2;
   grid-row-end: 4;
   grid-column-end: 3;  
	margin-top: -2px;
}
	
.puzzlestat .onlinestat .onlinebox {
    line-height: var(--space-xl);
    max-height: 140px;
    overflow-x: hidden;
	font-size: var(--text-s);
}

.puzzlestat .buttons {
   grid-row-start: 4;
   grid-column-start: 1;
   grid-row-end: 5;
   grid-column-end: 3;
}

.puzzlestat .buttons {
	margin-top: -2px;
    grid-template-columns: repeat(7, auto);
}

.puzzlestat .tooltip {
    margin-top: var(--space-xxs);
    margin-bottom: var(--space-m);
    height: var(--main-s);
    width: var(--main-xxl);
    position: relative;
    right: var(--space-s);
    padding: var(--space-m);
    border: var(--space-xxxs) ridge var(--color3);
    transition: var(--fast);
    text-align: center;
    line-height: var(--main-s);
    color: var(--colorbase1);
}

.puzzlestat .tooltip:last-child {
    margin-bottom: 0px;
    margin-right: -40px;
}

.puzzlestat .partner {
    grid-row-start: 1;
    grid-column-start: 3;
    grid-row-end: 5;
    grid-column-end: 4;
    margin-bottom: var(--space-xxs);
}

.puzzlestat .partner .titel {
	margin:0px;
    margin-left: var(--space-m);
}

.puzzlestat .partner .partnerbox {
    margin-right: 0px;
	height: 535px;
}

.puzzlestat .partner .partnerbox img {
    margin-right:0px;
    margin-left: var(--space-xs);
	width: 70px !important;
}


}

/* Footer */
@media screen and (max-width:1000px){
#footer {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: auto auto;
    justify-content: space-between;
    justify-items: center;
    align-items: stretch;
    align-content: stretch;
}

#footer .language {
	grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 2;
}

#footer .theme {
	grid-row-start: 1;
    grid-column-start: 2;
    grid-row-end: 2;
    grid-column-end: 3;
	margin-left:8%;
}

.copyright {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-row-end: 3;
    grid-column-end: 3;
    width: 80%;
    margin-left: 3%;
    justify-self: center;
}


}

/* Showthread */
@media screen and (max-width:1000px){
.puzzleshowthreadtitel h1 {
        font-size: var(--main-s);
}

.extrafelder .other-fields {
    display: grid;
    grid-template-columns: 1fr;
}


}

/* Forumdisplay */
@media screen and (max-width:1000px){
#puzzleforumbit_subforum1 {
	width: auto;
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: var(--space-xs);
}

#forumbox .info2 {
}

#forumbox .ansichten, #forumbox .beitraege2 {
	font-size: var(--text-s);
	line-height: var(--space-s);
}

#forumbox .bild2 {
}

#puzzleforumbit_subforum1 .text2 {
}

#puzzleforumdisplay_subforum1 .beitraege2 div {
    margin-top: -6px;
}


}

/* Profil */
@media screen and (max-width:1000px){
.relakatbox {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xxs);
}


}

/* andere Seiten */
@media screen and (max-width:1000px){
.lists_content-bit {
    grid-template-columns: 1fr;
}
body {
    font-size: var(--text-s);
}

}

