﻿html {
  scroll-behavior: smooth;
}

body
{
margin: auto; color: #9d9d9d;
font-family: "Segoe UI", Helvetica, Verdana, sans-serif !important;
font-size: 16px !important;
background: #fff !important;
line-height: 1.5em !important;
overflow-x: hidden;
}

a, a:link, a:hover, a:visited, a:active {color: #023E84; cursor: pointer; } /*blau*/


*, *:before, *:after {
    -webkit-box-sizing: border-box; /* Safari/Chrome, andere WebKit-Browser */
    -moz-box-sizing: border-box; /* Firefox, andere Gecko-Browser */
    box-sizing: border-box; /* Opera/IE 8+ */
}

/* ----------------------------------------------------------------------------- *
 *                                Hauptselectoren                                               *
 * ----------------------------------------------------------------------------- */


h1
{
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 2em;
    color: #023E84 !important; /*Blau*/
    margin-bottom: 30px; 

}


h2
{	
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 2em;
    color: #023E84 !important; /*Blau*/
    margin-bottom: 30px; 
}

h4
{	
    font-weight: 500 !important;
    text-transform: uppercase;
    font-size: 1.2em;
    color: #023E84 !important; /*Blau*/
    margin-top: 30px; 
}



h6
{	
    font-weight: bold;
    color: #023E84 !important; /*Blau*/
}


section {position: relative; overflow: hidden;}
summary { cursor: pointer; }

/*Text-Animation*/
details[open] summary ~ * {
  animation: sweep .5s ease-in-out;
}

@keyframes sweep {
  0%    {opacity: 0; margin-top: -10px}
  100%  {opacity: 1; margin-left: 0px}
}



#myContent {}


.color1 {background-color: #023E84;} /*blue*/
.color1text {color: #023E84;}
.white {background-color: white; color: #666 !important;}
.whitetext {color: white !important;}
.color2 {background-color: #EAEBEE;}
.color2text {color: #666;}
.text { color: #666; } /*Hier kommt immer die Hauptfarbe rein*/
.bottom { margin-bottom: 20px; }

.whitelink {color: white !important;  font-size: 14px;}
.whitelink a, .whitelink a:link, .whitelink a:hover, .whitelink a:visited, .whitelink a:active {color: #fff !important; cursor: pointer; font-size: 14px;} /*weiß*/


#navbar{position: fixed; width: 100%; z-index: 999; top: 0; background-color: white;}

.header {position: static; width: 100%; height: 100px;}

.header-mobile {display: none;}


.navi {height: 50px; background: #023E84; color: #fff;}
.navi-mobile {display:none;}
.navi-menu {padding: 12px; padding-left: 102px; text-transform: uppercase;}

.hashnav,
.hashnav a,
.hashnav a:hover,
.hashnav a:link,
.hashnav a:active, 
.hashnav a:visited {color: white !important; margin-right: 30px; text-decoration: none !important;}

.logo {width: 35%; padding: 2px;}

.main-menu {float:right; padding: 10px; margin-top: 26px; font-weight: 500 !important; color: #666;}
.main-sub-menu {text-transform: uppercase; color: #666 !important; font-size: 18px; font-weight: 500  !important;}
.main-sub-menu_Active  {text-transform: uppercase; color: #023E84 !important; font-size: 18px; font-weight: 500 !important; text-decoration: none !important;}
.main-menu a:hover {color: #666;  text-decoration: none;}


.main-sub-menuB a, .main-sub-menuB a:link, .main-sub-menuB a:hover, .main-sub-menuB a:active .main-sub-menuB a:visited {text-transform: uppercase; color: #fff  !important; font-size: 14px; font-weight: 500 !important; text-decoration: none !important;}
.main-sub-menuB {text-transform: uppercase; color: #fff  !important; font-size: 14px; font-weight: 500  !important;  text-decoration: none  !important;}
.main-sub-menuB_Active  {text-transform: uppercase; color: #fff  !important; font-size: 14px; font-weight: 500 !important;  text-decoration: none  !important;}


 .social-dis {margin-right: 20px;}


.hashcontent
 {
    height: 100vh;
    color: white;
    /*margin-top: 150px;*/
}

.hashteaser
{
    margin-top: 150px;
}


.hasharticel
{

padding: 50px;
line-height: 1.75em;
padding-left: 10%;
padding-right: 10%;
min-height: 100vh;
}

.hasharticel-color1
{
height: 100vh;
padding: 50px;
line-height: 1.75em;
padding-left: 10%;
padding-right: 10%;
background: #EAEBEE;
}

.hasharticel-long
{
padding: 50px;
line-height: 1.75em;
padding-left: 10%;
padding-right: 10%;
}


.hasharticel-termin
{
padding: 50px;
line-height: 1.75em;
padding-left: 10%;
padding-right: 10%;
overflow: hidden;
}


.hasharticel-map
{

text-align: center;
}

.hasharticel-buchung
{
padding: 50px;
line-height: 1.75em;
padding-left: 5%;
padding-right: 5%;
height: 100vh;
}


.page-wrapper {
	position: static;
    margin: auto 0;
    margin-top: 150px;

}


.content {margin-bottom: 50px;}
.content-messeinfo {margin-top: 120px;}


.st-content {position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.block { color: white;}
.block-pic {    height: 100vh; width: 100vh;}
.pic {width: 50%; padding: 50px; text-align: center !important; margin-top: 80px; box-shadow: 2px 8px 15px #ccc; }
.pic2 {width: 80%; padding: 50px; text-align: center !important; margin-top: 80px;}
.pic-fix-left {position:fixed; height: 100vh; left:0;}
.pic-fix-right {position:fixed; height: 100vh; right:0;}


.block-pic-termine { height: 100vh; position: sticky; z-index: 1;}
.block-pic-vortrag { height: 100vh; position: sticky; z-index: 2;}
.block-pic-aktion { height: 100vh; position: sticky; z-index: 3;}



.block-pic-karriere { height: 100%; }




#footerbar {position: fixed; width: 100%; z-index: 999; bottom: 0; background-color: #023E84; border-top: 0px solid white;}
.footer {padding: 10px; float: right; height: 50px; background: #023E84; color: #fff;}
.footer .a, .footer a:link, .footer a:hover, .footer a:visited, .footer a:active {color: #fff; cursor: pointer; } /*white*/

.footer-nav{margin-left: 30px; text-transform: uppercase; display: inline; font-size: 14px;}
.footer-social{margin-right: 10px; text-transform: uppercase; display: inline; font-size: 14px;}
.footer-nav-social{display: none;}


.teaser-pic
{
      display: table;
      width: 100%;
      height: 100%;
      background-color: #000;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
      text-align: left !important;
      visibility: inherit;

 }

.teaser-pic-container
{
z-index: 1;
}


.teaser-container
{
position: absolute;
left: 4em; 
right: 4em; 
top: 48em;
z-index: 2;

}


.teaser-headline
{
border: 2px solid white;
border-radius: 10px;
background: #023E84; /*color1*/
padding: 30px;
color: white;
text-transform: uppercase;
font-size: 3em;
font-weight: normal;
display: table-cell;
}

.teaser-content
{
margin-left: 20px;
margin-top: 0px;
border: 2px solid white;
border-radius: 10px;
background: #9D9D9D; /*Grün*/
padding: 30px;
color: white;
text-transform: uppercase;
font-size: 3em;
font-weight: normal;
display: table;
margin-top: -15px;
}

.teaser-date
{
border: 2px solid white;
border-radius: 10px;
background: #023E84; /*color1*/
padding: 35px;
color: white;
text-transform: uppercase;
font-size: 3em;
font-weight: normal;
display: table-cell;
float: right;
margin-top: -95px;
}



    .newsbox{
      padding: 50px;
      margin-top: 70px;
width: 300px;
}


.partnerbox
{margin-top: 30px;}

.partnerbox2
{margin-top: 0px;
margin-bottom: 30px;}


.block-plan{width: 70%; overflow: hidden; height: 100vh;}

/*Text center center setzen*/

  .align-items-center {
  -ms-flex-align: center!important;
  align-items: center!important;
}
.d-flex {
  display: -ms-flexbox!important;
  display: flex!important;
}



/*Popup Termine*/

.task-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000 !important;
    display: block;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    overflow: auto;
    background: rgba(52,70,86,.5);
  }
  

.task-modal body {overflow: hidden !important;}


    
       .task
      {
      
    width: 60%;
    margin-left: 20%;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: -1px 9px 1px -7px rgba(0,0,0,0.1);
    background: white;
    padding: 10px 30px;
    margin-right: 20%;
    margin-top: 5%;
        opacity: 1;

      }


.distance{padding-bottom: 10px;}
.distance2{padding-bottom: 30px;}


  
.hovereffect {

margin-bottom: 10px;
float:left;
overflow:hidden;
position:relative;
text-align:center;
cursor:pointer;
}

.hovereffect .overlay {
 height: 100%;
  width: 100%;
position:absolute;
overflow:hidden;
top: 0px;
left:0px;
opacity:0;
background-color:rgba(2,62,132,0.5);
-webkit-transition:all .4s ease-in-out;
transition:all .4s ease-in-out;
cursor:pointer;
}

.hovereffect img {
display:block;
position:relative;
-webkit-transition:all .4s linear;
transition:all .4s linear;
width:100%;
height:100%;
cursor:pointer;
}



.hovereffect a.info {
text-decoration:none;
display:inline-block;
text-transform:uppercase;
color:#fff;
border:1px solid #fff;
background-color:transparent;
opacity:0;
filter:alpha(opacity=0);
-webkit-transition:all .2s ease-in-out;
transition:all .2s ease-in-out;
margin:50px 0 0;
padding:7px 14px;
cursor:pointer;
}

.hovereffect a.info:hover {
box-shadow:0 0 5px #fff;
cursor:pointer;
}

.hovereffect:hover img {
-ms-transform:scale(1.2);
-webkit-transform:scale(1.2);
transform:scale(1.2);
cursor:pointer;
}

.hovereffect:hover .overlay {
opacity:1;
filter:alpha(opacity=100);
cursor:pointer;
}

.hovereffect:hover h2,.hovereffect:hover a.info {
opacity:1;
filter:alpha(opacity=100);
-ms-transform:translatey(0);
-webkit-transform:translatey(0);
transform:translatey(0);
cursor:pointer;
}

.hovereffect:hover a.info {
-webkit-transition-delay:.2s;
transition-delay:.2s;
cursor:pointer;
}

.overlay_text
{
color: white !important;
bottom: -10px;
position: absolute;
text-align: center;
background: #023E84;
padding: 10px;
width: 100%;
cursor:pointer;
}
  
.hovereffect-partner {
float:left;
overflow:hidden;
position:relative;
text-align:center;
cursor:pointer;
}

.hovereffect-partner .overlay {
 height: 100%;
  width: 100%;
position:absolute;
overflow:hidden;
top: 0px;
left:0px;
opacity:0;
background-color:rgba(2,62,132,0.5);
-webkit-transition:all .4s ease-in-out;
transition:all .4s ease-in-out;
cursor:pointer;
}

.hovereffect-partner img {
display:block;
position:relative;
-webkit-transition:all .4s linear;
transition:all .4s linear;
width:100%;
height:100%;
cursor:pointer;
}



.hovereffect-partner a.info {
text-decoration:none;
display:inline-block;
text-transform:uppercase;
color:#fff;
border:1px solid #fff;
background-color:transparent;
opacity:0;
filter:alpha(opacity=0);
-webkit-transition:all .2s ease-in-out;
transition:all .2s ease-in-out;

padding:7px 14px;
cursor:pointer;
}

.hovereffect-partner a.info:hover {
box-shadow:0 0 5px #fff;
cursor:pointer;
}



.hovereffect-partner:hover .overlay {
opacity:1;
filter:alpha(opacity=100);
cursor:pointer;
}

.hovereffect-partner:hover h2,.hovereffect:hover a.info {
opacity:1;
filter:alpha(opacity=100);
-ms-transform:translatey(0);
-webkit-transform:translatey(0);
transform:translatey(0);
cursor:pointer;
}

.hovereffect-partner:hover a.info {
-webkit-transition-delay:.2s;
transition-delay:.2s;
cursor:pointer;
}


.col-partner-md-6 {padding-left: 0px; padding-right: 0px; width:50%;}

.konzept{line-height: 1.25em;}

.back-to-top {
 position: fixed;
 bottom:100px;
 right:20px;
 width: 40px;
 height: 40px;
z-index:10000;
}

.menu-scroll ul:first-of-type {
    position: absolute;
    overflow-y: auto;
    top: 0;
    bottom: 0;
}

.menu-scroll {position: relative;}

.navbar-collapse.collapse.in {height: 300px !important;}

.dis-top {margin-top: 150px;}


.hashcontent-partner {height: 100vh; }
.hashcontent-kalender {height: 100vh; }

/* ----------------------------------------------------------------------------- *
 *                                Buttons                                            *
 * ----------------------------------------------------------------------------- */
.btn-ms {background-color: #023E84 !important; color: white !important; transition: all 0.25s linear 0s; border-radius: 4px; padding: 7px 11px !important; text-decoration: none !important; margin: 0.5em 0.5em 0.5em 0; cursor: pointer; }
.btn-ms a, .btn-ms a:link, .btn-ml a:visited, .btn-ml a:active {background-color: #023E84 !important;  padding: 4px; color: white !important; text-decoration: none !important; cursor: pointer;  }
.btn-ms a:hover, .btn-ms a:focus {background-color: #023E84; padding: 5px; color: white !important; text-decoration: none !important;  cursor: pointer; }
.btn-ms:hover {background-color: #666; padding: 7px 11px; color: white !important; text-decoration: none; text-decoration: none !important; cursor: pointer; }


.btn2-ms {background-color: #666; color: white !important; transition: all 0.25s linear 0s; border-radius: 4px; padding: 7px 11px; text-decoration: none !important; margin: 0.5em 0.5em 0.5em 0; cursor: pointer; }
.btn2-ms a, .btn2-ms a:link, .btn2-ms a:visited, .btn2-ml a:active {background-color: #666;  padding: 4px; color: white !important; text-decoration: none !important; cursor: pointer; }
.btn2-ms a:hover, .btn2-ms a:focus {background-color: #666; padding: 5px; color: white !important; text-decoration: none !important;  cursor: pointer; }
.btn2-ms:hover {background-color: #023E84; padding: 7px 11px; color: white !important; text-decoration: none; text-decoration: none !important; cursor: pointer; }

.btn-ms-termin {background-color: #023E84; color: white !important; transition: all 0.25s linear 0s; border-radius: 4px; padding: 7px 11px; text-decoration: none !important; border: 0px; margin: 0.5em 0.5em 0.5em 0; cursor: pointer; }
.btn-ms-termin a, .btn-ms-termin a:link, .btn-ml-termin a:visited, .btn-ml-termin a:active {background-color: #023E84;  padding: 4px; color: white !important; text-decoration: none !important;  border: 0px; cursor: pointer; }
.btn-ms-termin a:hover, .btn-ms-termin a:focus {background-color: #023E84; padding: 5px; color: white !important; text-decoration: none !important;   border: 0px; cursor: pointer; }
.btn-ms-termin:hover {background-color: #666; padding: 7px 11px; color: white !important; text-decoration: none; text-decoration: none !important;  border: 0px; cursor: pointer; }


.rbLinkButton {border-width: 0px !important;}


/* ----------------------------------------------------------------------------- *
 *                                1980px                                  *
 * ----------------------------------------------------------------------------- */



@media only screen and (max-width: 1980px) {
    
.teaser-container
{
position: absolute;
left: 4em; 
right: 4em; 
top: 34em;
z-index: 2;
}

.header {position: static; width: 100%; height: 80px;}

.content-messeinfo {margin-top: 80px !important;}
.page-wrapper {margin-top: 130px;}


.hashteaser {margin-top: 130px;}
.hashcontent {height:100vh;  /*margin-top: 130px;*/}

}






/* ----------------------------------------------------------------------------- *
 *                                iPad Pro                                  *
 * ----------------------------------------------------------------------------- */

@media only screen and (max-width: 1366px) {

.teaser-container {top: 23em;}
.logo {width: 50%; padding: 2px;}
.teaser-date
{
float: right;
margin-top: 0px;
}


}





/* ----------------------------------------------------------------------------- *
 *                                1024px                                  *
 * ----------------------------------------------------------------------------- */




@media only screen and (max-width: 1024px) {

h2{	font-size: 1.5em; }


.teaser-pic
{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0px !important;
 }

.content-messeinfo {margin-top: 50px;}

.logo {width: 65%; padding: 5px; }


.navi-menu {padding: 12px; padding-left: 51px; text-transform: uppercase;}

.main-menu {margin-top: 32px; padding:0px;}




.navi {}
.navi-mobile {display:none;}


.teaser-container
{
position: absolute;
left: 4em; 
right: 4em; 
top: 16em;
z-index: 2;
}

.teaser-headline
{
border: 2px solid white;
border-radius: 10px;
background: #023E84;
padding: 20px;
color: white;
text-transform: uppercase;
font-size: 2em;
font-weight: normal;
display: table-cell;
}

.teaser-content
{
margin-left: 20px;
margin-top: 0px;
padding: 20px;
color: white;
font-size: 2em;
font-weight: normal;
display: table;
margin-top: -7px;
}

.teaser-date
{

padding: 25px;
color: white;
font-size: 2em;
font-weight: normal;
display: table-cell;
float: right;
margin-top: 0px;

}


.block-pic {height:100%;}
.hashcontent {height:100vh;     /*margin-top: 130px;*/}
.hasharticel {padding-left: 50px; padding-top: 25px; padding-right: 50px}
.pic {width: 70%; padding: 30px; text-align: center !important; margin-top: 40px; box-shadow: 2px 8px 15px #ccc; }
}



/* ----------------------------------------------------------------------------- *
 *                                812px                                  *
 * ----------------------------------------------------------------------------- */




@media only screen and (max-width: 812px) {

.header {text-align: center; margin: 0px;  height: 100px;}
.logo {width: 100%; margin: 0px;}



.main-menu {display:none;}
.navi {display:none;}
.navi-mobile {background: transparent; display: block; height: 50px;}

.nav > li {padding: 5px; text-transform: uppercase;}

.teaser-pic
{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0px !important;
 }


.teaser-container
{
position: absolute;
left: 1em; 
right: 1em; 
z-index: 2;
top: 13em;
}

.teaser-content {margin-top: -2px; text-align:center;  margin-left: 0px; font-size: 1em; padding: 15px; line-height: 1em;}

.teaser-date {margin-top: -2px !important; padding: 15px; float: left; display: inline-block; font-size: 1em;}

.teaser-headline { display: table-cell; font-size: 1em; padding: 15px; }

.dis-top {margin-top: 30px;}

}


@media screen and (max-width: 736px)
{
   
       .task
      {
      
    width: 90%;
    margin-left: 5%;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: -1px 9px 1px -7px rgba(0,0,0,0.1);
    background: white;
    padding: 10px 30px;
    margin-right: 5%;
    margin-top: 5%;
        opacity: 1;

      }

}






/* ----------------------------------------------------------------------------- *
 *                                768px                                                *
 * ----------------------------------------------------------------------------- */


@media only screen and (max-width: 768px) {

.header {text-align: center; margin: 0px;  height: 100px;}
.logo {width: 100%; margin: 0px;}


.hasharticel-color1
{
height: 100%;
background: #EAEBEE;
}

.main-menu {}

.navi {display:none;}
.navi-mobile {background: #000; display: block; height: 50px;}



.teaser-pic
{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0px !important;
 }


.hashcontent {height:100vh;     /*margin-top: 98px;*/}
.hashcontent-partner {height: 100%;   padding: 20px;}
.hashcontent-kalender {height: 100%;   padding: 20px;}

.teaser-container
{
position: absolute;
left: 4em; 
right: 4em; 
bottom: 12em;
z-index: 2;
top: 22em;
}

.teaser-headline
{
padding: 15px;
font-size: 1.5em;

}

.teaser-content
{
margin-left: 20px;
margin-top: 0px;
padding: 15px;
font-size: 1.5em;
font-weight: normal;
margin-top: -7px;
}

.teaser-date
{
padding: 15px;
font-size: 1.5em;
font-weight: normal;
float: right;
margin-top: 0px;

}


.page-wrapper{margin-top: 100px;}
.footer {float:none;}
.footer-nav{margin-left: 10px; text-transform: uppercase; display: inline; font-size: 10px;}
.footer-nav-social {font-size: 10px;display: inline; margin-left: 10px;}
.footer-social{display: none;}

}

/* ----------------------------------------------------------------------------- *
 *                                736px                                  *
 * ----------------------------------------------------------------------------- */




@media only screen and (max-width: 736px) {


.header {text-align: center; margin: 0px; height: 110px;}
.logo {width: 50%; margin: auto;}

.main-menu {display: none;}

.navi {display:none;}
.navi-mobile {background: #000; display: block; height: 50px;}

.teaser-container { top: 15em; left: 3em;}
.teaser-content {margin-top: -2px; text-align:center;  margin-left: 0px; font-size: 1em; padding: 10px; line-height: 1em;}
.teaser-date {margin-top: -2px !important; padding: 10px; float: left; display: inline-block; font-size: 1em;}
.teaser-headline { display: table-cell; font-size: 1em; padding: 10px; }


.page-wrapper{margin-top: 100px;}
.footer {float:none;}

.footer-nav-social {font-size: 10px;display: inline;}
.footer-social{display: none;}


}



/* ----------------------------------------------------------------------------- *
 *                                677px                                  *
 * ----------------------------------------------------------------------------- */




@media only screen and (max-width: 677px) {


.header {text-align: center; margin: 0px; height: 110px;}
.logo {width: 50%; margin: 0px;}

.main-menu {display: none;}

.navi {display:none;}
.navi-mobile {background: #000; display: block; height: 50px;}


.teaser-container { top: 11em; left: 3em;}
.teaser-content {margin-top: -2px; text-align:center;  margin-left: 0px; font-size: 1em; padding: 10px; line-height: 1em;}
.teaser-date {margin-top: -2px !important; padding: 10px; float: left; display: inline-block; font-size: 1em;}
.teaser-headline { display: table-cell; font-size: 1em; padding: 10px; }




.page-wrapper{margin-top: 100px;}
.footer {float:none;}

.footer-nav-social {font-size: 10px;display: inline; margin-left: 10px;}
.footer-social{display: none;}


}

/* ----------------------------------------------------------------------------- *
 *                                480px                                  *
 * ----------------------------------------------------------------------------- */




@media only screen and (max-width: 480px) {





td:first-of-type {
    color: inherit;
    background: none;
}
td:first-of-type {
    background: #fff;
}
td {
    width: 100%;
    float: left;
    display: block;
    box-sizing: border-box;
    padding: 3px 10px;
}
.table-responsive {border: 0px solid #ddd !important;}

.teaser-pic
{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0px !important;
 }

.header {text-align: center; margin: 0px;  height: 100px;}
.logo {width: 100%; margin: 0px;}

.main-menu {display: none;}

.navi {display:none;}
.navi-mobile { display: block; height: 50px;}



.teaser-container
{
position: absolute;
left: 1em; 
right: 1em; 
z-index: 2;
top: 32em;
}

.teaser-content {margin-top: -2px; text-align:center;  margin-left: 0px; font-size: 2em; padding: 15px; line-height: 1em;}
.teaser-date {margin-top: -2px !important; padding: 15px; float: right; display: inline-block; font-size: 1.5em;}
.teaser-headline { display: table-cell; font-size: 1.5em; padding: 15px; }



.page-wrapper{margin-top: 100px;}
/*.block-pic {height: 0px; width: 0px;}*/
.footer {float:none;}


.footer-social{display: none;}

.hashcontent {
    height: 100%;
    color: white;
    padding: 15px;
}

.hasharticel {

    font-size: 16px;
}
.footer-nav { font-size: 9px !important;}


}



/* ----------------------------------------------------------------------------- *
 *                                iPhoneX                                  *
 * ----------------------------------------------------------------------------- */ 


@media only screen 
    and (device-width : 375px) 
    and (device-height : 812px) 
    and (-webkit-device-pixel-ratio : 3) { 


.header {text-align: center; margin: 0px;  height: 100px;}
.logo {width: 100%;  margin: 0px;}

.main-menu {display: none;}

.navi {display:none;}
.navi-mobile {background: #000; display: block; height: 50px;}



.teaser-container {top: 24em;}

.page-wrapper{margin-top: 100px;}
.footer {float:none;}

.footer-nav-social {font-size: 10px;display: inline; margin-left: 10px;}
.footer-social{display: none;}

}





/* ----------------------------------------------------------------------------- *
 *                                375px                                  *
 * ----------------------------------------------------------------------------- */


@media only screen and (max-width: 375px) {

.teaser-pic
{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0px !important;
 }



.header {text-align: center; margin: 0px;  height: 100px;}
.logo {width: 100%; margin: 0px;}

.main-menu {display: none;}

.navi {display:none;}
.navi-mobile {background: #000; display: block; height: 50px;}


.teaser-container
{
position: absolute;
left: 1em; 
right: 1em; 
z-index: 2;
top: 28em;
}

.teaser-content {margin-top: -2px; text-align:center;  margin-left: 0px; font-size: 1.5em; padding: 15px;}
.teaser-date {margin-top: -2px !important; padding: 15px; float: right; display: inline-block; font-size: 1.5em;}
.teaser-headline { display: table-cell; font-size: 1.5em; padding: 15px; }



.page-wrapper{margin-top: 100px;}
.footer {float:none;}

.footer-nav-social {display: inline; margin-left: 10px;}
.footer-social{display: none;}

}


/* ----------------------------------------------------------------------------- *
 *                                360px                                  *
 * ----------------------------------------------------------------------------- */
@media only screen and (max-width: 360px) {

.header {text-align: center; margin: 0px;  height: 100px;}
.logo {width: 100%; margin: 0px;}

.main-menu {display: none;}

.navi {display:none;}
.navi-mobile {background: #000; display: block; height: 50px;}


.teaser-pic
{
    width: 110%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

 }





.teaser-container { position: absolute; left: 1em;  right: 1em; z-index: 2; top: 27em;}

.teaser-content {margin-top: -2px; text-align:center;  margin-left: 0px; font-size: 1.5em; padding: 15px;}
.teaser-headline { display: table-cell; font-size: 1.5em; padding: 15px;}
.teaser-date {margin-top: -2px !important; padding: 15px; float: right; display: inline-block; font-size: 1.5em;}


.page-wrapper{margin-top: 100px;}
.footer {float:none;}

.footer-nav-social {font-size: 10px;display: inline; margin-left: 10px;}
.footer-social{display: none;}





}

/* ----------------------------------------------------------------------------- *
 *                                320px                                  *
 * ----------------------------------------------------------------------------- */



@media only screen and (max-width: 320px) {

.header {text-align: center; margin: 0px;  height: 100px;}
.logo {width: 100%; margin:0px; }

.main-menu {display: none;}

#navbar{position: fixed; width: 320px; z-index: 999; top: 0; background-color: white;}
.navi {display:none;}
.navi-mobile {background: #000; display: block; height: 50px; width: 320px;}

.teaser-container
{
position: absolute;
left: 1em; 
right: 1em; 
z-index: 2;
top: 20em;
}

.teaser-content {margin-top: -2px; text-align:center; margin-left: 0px; font-size: 1.5em; padding: 15px;}
.teaser-date {margin-top: -2px !important; padding: 15px; float: right; display: inline-block; font-size: 1.5em;}
.teaser-headline { display: table-cell; font-size: 1.5em; padding: 15px; }

.page-wrapper{margin-top: 100px;}
.footer {float:none;}

.footer-nav-social {display: inline; margin-left: 10px;}
.footer-social{display: none;}


}




/*NAVI BOOTSTRAP SHORT*/


.dropdown-menu > li > a {
	padding: 5px;
    margin-left: 30px;
    font-size: 16px;
}
    
    .navbar-default .navbar-nav > li > a {    color: #fff !important; text-transform: uppercase !important; margin-left: 30px; padding:1px;}
    
    .navbar-nav { margin: 20px;}
    
    
    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover
{
    color: #fff;
    background-color: #023E84;
}
    
.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover
{
    color: #fff;
    background-color: transparent;
}
    
    .menu-scroll{
      height: 300px;
      position: relative;
    }
    
    .menu-scroll ul:first-of-type{
      position: absolute;
      overflow-y: auto;
      top: 0;
      bottom: 0;
    }
  
    .menu-scroll ul:first-of-type ul{
      position: relative;
    }
    
    @media (max-width: 1023px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 #023e84;
    }
    
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}


.navbar { margin-bottom: 0px !important; }
.navbar-toggle {float: left; margin-left: 10px; }
.navbar-default { background:#023E84 ; color: white;}

.navbar-default .navbar-toggle {
    border-color: #023E84 !important;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff !important;
}

.navbar-default .navbar-collapse .navbar-default .navbar-form
{background-color: #023E84 !important;}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover
{
    background-color: #023E84 !important;
}

.dropdown {
    color: #FFF !important;
    padding: 20px 0 5px 20px;
}

.dropdown-toggle {text-decoration: none !important; color: #fff !important;}


 .caret {
      background: transparent;
      margin-top: -3px;
      margin-left: 10px;
      height: 10px;
      position: relative;
      width: 2px;
      border-top: 0px dashed;
      border-right: 0px solid transparent;
      border-left: 0px solid transparent;
    }

    .caret:after {
      background: transparent;
      content: "";
      height: 2px;
      left: -4px;
      position: absolute;
      top: 4px;
      width: 10px;
    }

 .navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
    color: #fff;
    background-color: #023E84 !important;
 margin-left: 30px;
}

.dropdown-menu {
color: #FFF !important;
background-color: #023e84;
padding: 20px 0 5px 20px;
left: 20px !important;
border: 0px solid #ccc !important;
border: 0px solid rgba(0,0,0,.15) !important;
border-radius: 0px !important;
border-top-left-radius: 0px !important;
border-top-right-radius: 0px !important;
-webkit-box-shadow: 0 0px 0px rgba(0,0,0,.175) !important;
box-shadow: 0 0px 0px rgba(0,0,0,.175) !important;
text-decoration: none !important;
color: #fff !important
background: transparent !important;
}

.dropdown-menu a {text-decoration: none !important; color: #fff !important; padding: 20px 0 5px 20px;}

.dropdown-submenu {text-decoration: none !important; color: #fff !important; padding: 0px 0 5px 0px;}
.dropdown-submenu a { color: #fff;  text-decoration: none; }

.dropdown-submenu2 {text-decoration: none !important; color: #fff !important; padding: 5px 0 5px 20px; }
.dropdown-submenu2 a { color: #fff;  text-decoration: none; }

.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover {
    color: #fff !important;
    background-color: #023E84 !important;
    margin-left: 30px;
    font-size: 16px;
   
}
li.active .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover {
    color: #ffff;
    background-color: #023E84 !important;
}



/*Table Bootstrap*/

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {

    border-top: 0px solid #ddd !important;


}


/*Individualmessestand*/

 .standpic {
            	margin-bottom: 10px;
                float: left;
                overflow: hidden;
                position: relative;
                text-align: center;
      			}
          
           .standpic img {
                display: block;
                position: relative;
                -webkit-transition: all .4s linear;
                transition: all .4s linear;
                width: 100%;
                height: 100%;
				z-index: 1;
          		}
          
          
          .standpic-lupe {
            height: 20px;
            margin-top: -50px;
            float: right;
            margin-right: 20px;
            cursor: pointer;
     	   }

          .btn-lupe
          {
          background-image: url(/upload/CMS/Mattfeldt_Saenger/templateimages/icon-lupe.svg);
          height: 19px;
		  width: 18px;
          cursor: pointer;
          touch-action: manipulation;
          background-color: white;
		  border: none;
          z-index: 30;
          position: absolute;
          }