/* CSS Document */
@media screen and (max-width: 1600px){
    /* NAVIGATION */
    #nav_wrapper {
        max-width: 780px;
    }

    /* HOME */
    .homeslider .slider_txt {
        font-size: 200px;
    }

    /* FOOTER */
    #footer_logo {
        width: 300px;
    }
}
@media screen and (max-width: 1300px){
     /* ALLGEMEIN */
    .middlew {
        max-width: none;
        width: 90%;
    }

    /* NAVIGATION */
    #logo_txt {
        font-size: 25px;
        letter-spacing: normal;
        margin-top: 10px;
        left: calc(140px + 30px);
    }

    #header_logo {
        width: 140px;
    }

    #nav_wrapper {
        max-width: 600px;
    }

    #navtel {
        right: 20px;
    }

    /* HOME */
    .newstxt {
        padding-top: 35px;
    }
    /* TABLE */
    .subtxt table td {
        float: left;
    }
    .subtxt table tr {
        display: block;
    }
    .subtxt .table_title td:first-child, .subtxt td:nth-child(2) {
        width: 60%;
    }
    .subtxt .table_title td:last-child {
        width: 250px;
    }
    .table_title {
      clear: both;
    }

    .subtxt .table_title td {
        width: 0;
    }

    .subtxt td:first-child {
        width: 100%;
    }
    .subtxt tr:not(.table_title) td:nth-child(3) {
        max-width: 125px;
        width: 100%;
    }
    .subtxt tr:not(.table_title) td:nth-child(4) {
        max-width: 100px;
        width: 100%;
    }
    .subtxt .table_line td:not(:first-child) hr{
        display: none;
    }


}
@media screen and (max-width: 1100px){
    /* ALLGEMEIN */
    .smallw {
        max-width: 650px;
    }
    #site h2, .teasertxt h3, #site .txtwrapper2 h2, #news h2 {
        font-size: 25px !important;
        letter-spacing: normal;
    }
    /* HOME */
    .homeslider .slider_txt {
        font-size: 140px;
    }

    .homeslider .bx-wrapper .bx-pager, .homeslider .bx-wrapper .bx-controls-auto {
        bottom: 15px;
    }
    .teasertxt {
        padding: 50px;
    }
    .more {
        left: 50px;
    }
    #news .bx-wrapper .bx-controls-direction a {
        bottom: 35px;
    }

}
@media screen and (max-width: 992px){
    /* ALLGEMEIN */
    .middlew {
        width: 90%;
    }
    .teasertxt   {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    /* mobile nav */
	#btn_nav{
		display:block;
		position:fixed;
		top:25px;
		right:20px;
		cursor:pointer;
        z-index: 20;
	}
	ul.mobnav  {
		display:none;
		background:#231f20;
		color:white;
		position:fixed;
		width:100%;
		right:0px;
		top:90px;
		z-index:10;
        padding-bottom: 20px;
	}
	ul.mobnav li {
		display:block;
		min-height:48px;
		height:auto;
		width:100%;
		overflow:hidden;
	}
	ul.mobnav li a:link, ul.mobnav li a:visited, ul.mobnav li a  {
		display:block;
		text-decoration:none;
		font-size:25px;
		line-height:60px;
		margin-left:20px;
		margin-right:20px;
		border-bottom:1px solid white;
        color: white;
	}
    ul.mobnav li:last-child a{
        border-bottom: none;
    }
	ul.mobnav li a:hover, ul.mobnav a:active{
		color:white;
	}
	ul.mobnav ul {
		display:none;
	}
	ul.mobnav ul li a:link, ul.mobnav ul li a:visited  {
		color:white;
		border-bottom:1px dotted white;
		padding-left:20px;
		font-size:22px;
	}
	ul.mobnav ul li a:hover {
		color:white;
	}
    nav .nav, #subnav, #navtel, .nav li ul {
        display: none;
    }
    .c-hamburger span, .c-hamburger span::before, .c-hamburger span::after {
        background-color: white;
    }
    #header_logo {
        width: auto;
    }
    #header_logo, nav {
        height: 90px;
    }

    #logo_txt {
        margin-top: 0px;
        padding-top: 15px;
        padding-bottom: 0px;
        width: 160px;
        height: auto;
    }
    .homeslider, .subpage {
        margin-top: 90px;
    }

    /* HOME */
    .homeslider .slider_txt {
        font-size: 80px;
    }
    .teasertxt {
        padding-top: 40px;
        padding-bottom: 100px;
    }
    .teasertxt, .teaser_wrapper img {
        min-height: auto;
    }
    .more {
        left: 40px;
        bottom: 40px
    }
    .teaser_wrapper {
        display: flex;
        flex-wrap: wrap;
    }
    .teasertxt {
        order: 1;
    }
    .teaserimg {
        order: 2;
    }
    .txtwrapper2, .txtwrapper4 {
        padding: 35px 0px;
    }
    #txtimg_wrapper {
        float: left;
    }
    #txtimg_wrapper img {
        margin-top: 35px;
    }
    .txtimg {
        max-width: none;
    }
    #txt4 {
        padding: 35px 0px 0px 0px;
    }
    .txtwrapper4.margbottom {
        margin-bottom: 0px !important;
    }
    .newstxt {
        padding-bottom: 35px;
    }
     #news {
        padding-bottom: 60px;
    }
    #news .bx-controls-direction {
        position: absolute;
        display: flex;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        width: 80px;
        left: 0;
        right: 0;
    }
    #news .bx-wrapper .bx-controls-direction a {
        z-index: 0;
    }
    #news .bx-wrapper .bx-prev {
        left: auto;
        right: 45px;
    }
    #news .bx-wrapper .bx-next {
        left: auto;
        right: 0px;
    }
    #news .bx-wrapper .bx-controls-direction a {
        bottom: -47px;
    }

    /* SUBPAGE */
    .subtxt_wrapper > img {
        width: 100%;
    }
    .subtxt_wrapper:nth-child(odd) img{
        padding-bottom: 30px;
    }
    .subtxt_wrapper:nth-child(even) img{
        padding-top: 30px;
    }
    .subcontent:nth-child(2n), .subcontent:nth-child(2n+1) {
        padding-left: 0px;
        padding-right: 0px;
    }


    #send {
        margin-top: 30px;
    }

    /* TABELLEN */
    .onlyprice td:nth-child(4), .subtxt tr:not(.table_title) td:nth-child(4){
      width: 40% !important;
      max-width: none !important;
    }
    .subtxt tr:not(.onlyprice) td:nth-child(2) {
      width: 100%;
    }
    .subtxt tr:not(.table_title) td:nth-child(3), .subtxt .onlyprice td:nth-child(2) {
      text-align: left !important;
      width: 60% !important;
      max-width: none !important;
    }
    /*
    .subtxt .table_title td:last-child, .onlyprice td:nth-child(4), .subtxt tr:not(.onlyprice) td:nth-child(4) {
        width: 30% !important;
        max-width: none !important;
    }
    .onlyprice:not(.table_title) td:nth-child(2), .subtxt tr:not(.onlyprice) td:nth-child(3){
        width: 70%;
        text-align: left !important;
        max-width: none;
    }
    .subtxt tr:not(.onlyprice) td:nth-child(2){
        width: 100%;
    }
*/

    /*
    .subtxt .table_title td:first-child, .subtxt  table tr:not(.table_title) td:nth-child(2) {
        width: 70%;
    }
    .subtxt .table_title td:last-child {
        width: 30%;
    }
    .subtxt .table_title td {
        width: 0;
    }

   .subtxt  table tr:not(.table_title) td:nth-child(3){
        width: 5%;
       min-width: 25px;
    }

    .subtxt table tr:not(.table_title) td:last-child {
        width: 10%;
        min-width: 55px;
    }

    .subtxt table tr td:first-child {
        width: 100%;
    }

    .subtxt .table_line td:not(:first-child) hr{
        display: none;
    }
    */


}
@media screen and (max-width: 768px){
    /* ALLGEMEIN */
    .bx-wrapper, .margbottom {
        margin-bottom: 30px !important;
    }
    .middlew {
        width: 100%;
    }
    .smallw {
        max-width: none;
    }
    .txtwrapper1, .txtwrapper2, .txtwrapper3, .txtwrapper4, .teasertxt, .newstxt, #footer .middlew, .subp_txt1, .subtxt_wrapper, .gallery_wrapper, .subtxt   {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    .txtwrapper4 .subtxt {
        padding: 0px !important;
    }
    #site h2, .teasertxt h3, #site .txtwrapper2 h2, #news h2 {
        font-size: 22px !important;
        letter-spacing: normal;
        line-height: 32px;
    }
    .txt2, .nav, #site .txt1, .teasertxt span, .subcontent span, .subtxt {
        font-size: 18px;
        letter-spacing: normal;
        line-height: 28px;
    }
    .teasertxt h3 {
        padding-bottom: 10px;
    }
    .txtwrapper4 .subtxt {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .bx-wrapper, .margbottom {
        margin-bottom: 0px !important;
    }

    .txtwrapper1, .txtwrapper2, .txtwrapper3, .txtwrapper4, .newstxt, .subtxt_wrapper, .subtxt  {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    #txt4, .gallery_wrapper img:not(:first-child), .teasertxt {
        padding-top: 30px;
    }

    .gallery_wrapper img {
        padding-bottom: 0px;
    }
    /* HOME */
    .homeslider .slider_txt {
        font-size: 50px;
        letter-spacing: normal;
    }
    .homeslider .bx-wrapper .bx-pager, .homeslider .bx-wrapper .bx-controls-auto {
        display: none;
    }

    /* FOOTER */
    #footer .nav {
        float: left;
        margin-top: 10px;
    }
    #footer .nav li, .agb_nav li {
        margin-right: 35px;
        margin-left: 0px;
    }
    #footer {
        padding-bottom: 260px;
        padding-top: 40px;
    }
    #footer_top {
        padding-bottom: 10px;
    }
    #footer_bottom, #footerb_right, .agb_nav {
        padding-top: 35px;
    }

    /* SUBPAGE */
    .subp_txt1, .padtxt {
        padding: 30px 0px;
    }
    .gallery_wrapper {
        padding: 35px;
    }
    .gallery_wrapper img {
        padding-bottom: 35px;
    }
    table td{
        vertical-align: top;
        line-height: 20px;
        padding-bottom: 10px;
    }

    label {
        margin-bottom: 5px;
    }
    #anmeldung input, #anmeldung textarea, #anmeldung select {
        margin-bottom: 10px;
    }


}
@media screen and (max-width: 575px){
    /* ALLGEMEIN */
    .txtwrapper1, .txtwrapper2, .txtwrapper3, .txtwrapper4, .teasertxt, .newstxt, #footer .middlew, .subp_txt1, .subtxt_wrapper, .gallery_wrapper, .subtxt  {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }


    /* NAVIGATION */
    #header_logo {
        display: none;
    }
    #logo_txt {
        left: 15px;
        padding-top: 18px;
    }

    /* HOME */
    .more {
        left: 20px;
        bottom: 30px;
    }
    .teasertxt {
        padding-bottom: 75px;
    }

    /* FOOTER */
    #footer_before {
        height: 50px;
    }
    #footer .nav li, .agb_nav li {
        margin-right: 18px;
        margin-left: 0px;
    }
    #footer_logo {
        width: 250px;
    }

}
