/*******************************
  Mobile (max-width: 973px)
********************************/

@media only screen and (max-width: 973px) {

/* VERSTECKEN DESKTOP / LEERE ELEMENTEN */

#logo,
.celRTEempty,
#celements2_menu_bar {
  display: none;
}

/* HEADER */

#header {
  background-image: none;
  background-color: black;
  height: auto;
  min-width: 340px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0px;
  padding-right: 0px;
  box-sizing: border-box;
}

#header #headerImage {
  height: auto;
}

#header #headerImage > div.middleCol {
  min-width: 40px;
}

#header #headerImage #leftCol img {
  width: 80px;
  height: auto;
  margin-top: -10px;
  margin-left: -5px;
}

#header #logoMobile {
  display: block;
  line-height: 50px;
}

#header #headerImage #middleCol img {
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 50px;
  vertical-align: middle;
}

/* LOGO */

#logoMobile {
  display: block;
  text-align: center;
}

#cell\:IGJBHeader\.LeftLogo {
  padding-left: 10px;
}

#cell\:IGJBHeader\.MainLogo img {
  max-height: 65px;
}

#header #headerMobile {
  display: block;
}

#header i.fa {
  cursor: pointer;
  color: #fdc300;
  min-width: 20px;
}

#header #closeNavigation i.fa {
  color: black;
}

/* FOTOS MEMBERS - GALLERY */

#fotosMemberMobile {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
}

#fotosMemberMobile ul {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
}

/*#fotosMemberMobile img {
  width: 150px;
}*/

div.presentationList > ul {
  display: flex;
  flex-wrap: nowrap;
}

div.presentationList > ul > li {
  flex: 1;
  overflow: visible;
  float: none;
}

#fotosMemberMobile .cel_slideShow_thumbContainer .cel_slideShow_centerContainer {
  width: 162px;
  height: 125px; 
  left: 0px;
  position: absolute;
}

#sitecontainer #fotosMemberMobile div.presentationList > ul > li {
  padding-top: 0px;
}

/* INFO MEMBERS */

#header #infoMemberMobile {
  display: block;
  width: 100%;
  height: auto;
  max-height: 55px;
  position: relative;
  color: white;
  overflow-y: hidden;
  -webkit-transition: max-height 1s ease-out;
  transition: max-height 1s ease-out;
}

#header #infoMemberMobile p {
  padding-left: 10px;
  padding-right: 10px;
}

#header #infoMemberMobile a {
  color: white;
}

#header #infoMemberMobile ul {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  list-style: none;
  padding-left: 60px;
}

#header #infoMemberMobile ul li img {
  position: absolute;
  left: 20px;
  top: 10px;
}

#header #infoMemberMobile ul > li:first-child {
  font-weight: bold;
}

#googleMapsContainer {
  display: none;
}

/* PLUS INFO MEMBER */

#header #plusInfoMember {
  display: block;
  position: relative;
}

#header #plusInfoMember .plusIcon {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1;
}

#header #plusInfoMember .plusIcon.celOnEventInit {
  display: block;
  cursor: pointer;
}

#header #plusInfoMember .plusIcon i {
  color: white;
}

#header #infoMemberMobile.openInfoMember {
  max-height: 600px;
  -webkit-transition: max-height 2s ease-out;
  transition: max-height 2s ease-out;
}

/* SUCHEN */  

#header form.eventSearch {
  display: block;
  position: relative;
  padding: 0;
}

#header form.eventSearch input {
  padding-left: 40px;
  width: 100%;
  border: 0;
  height: 27px;
  margin-bottom: 2px;
  color: black;
  background-color: white;
  box-sizing: border-box;
}

#header form.eventSearch input:first-of-type {
  margin-right: 0px;
}

#header form.eventSearch .icon {
  display: block;
  position: absolute;
  left: 12px;
  z-index: 2;
  width: 15px;
  padding: 0;
  border: none;
  background-color: transparent;
  text-align: left;
  cursor: pointer;
}

#header form.eventSearch .searchIcon {
  display: block;
  top: 6px;
}

#header form.eventSearch .calendarIcon {
  display: block;
  top: 34px;
}

.srgLogoContainer .srgLogo {
  height: 40px;
  top: -10px;
  position: relative;
  left: -10px;
}

.igjbLogoContainer .igjbLogo {
  width: 170px;
  position: relative;
  top: -10px;
}

#header .rightCol .rightColContainer {
  display: none;
}

#header ul a {
  text-decoration: none;
  color: black;
}

#header ul a.active {
  color: white;
}

/* LANGUAGE MENU */

#header .languageSelectMobile {
  padding-left: 38px;
}

#header .languageSelectMobile ul {
  display: flex;
}

#header .languageSelectMobile ul li {
  list-style: none;
  padding-left: 10px;
  font-size: 23px;
}

#header .languageSelectMobile ul li:first-child {
  border-right: 1px solid black;
  padding-right: 12px;
}

/* NAVIGATION */

#header #navigationMobile {
  display: block;
  background-color: #fdc300;
}

#header #navigationMobile .navigation {
  text-align: center;
}

#header #navigationMobile .navigation ul ul a {
  color: white;
}

#header #navigationMobile .navigation ul ul a.active {
  color: black;
}

#header #navigationMobile .navigation ul {
  padding: 0px;
}

#header #navigationMobile .navigation > ul {
  border-top: 1px solid #111;
}

#header #navigationMobile .navigation ul li {
  z-index: 1;
}

#header #navigationMobile .navigation > ul > li {
  padding: 5px 0 5px 0;
  border-bottom: 1px solid #111;
  width: 100%;
}

#header #menuIcon {
  display: block;
  top: 28px;
  position: absolute;
  right: 20px;
}

#header #menuIcon i {
  position: relative;
  float: right;
}

#navigationMobile {
  height: 100%;
  position: fixed;
  z-index: 99;
  top: 0;
  background: #ffffff;
  box-shadow: 6px 0 14px -4px rgba(31, 73, 125, 0.8);
  overflow: hidden;
  width: 0px;
  left: -250px;
  -webkit-transition: 1s;
  transition: 1s;  
}

#navigationMobile.openNavigation {
  width: 250px;
  left: 0px;
  -webkit-transition: 1s;
  transition: 1s;  
}

#navigationMobile.openNavigation.overflowVisible {
  overflow: visible;
}

#header #closeNavigation {
  display: block;
  top: 28px;
  position: absolute;
  right: 20px;
  cursor: pointer;
}

#navigationMobile #innerNavigation {
  padding-top: 50px;
  min-height: 100%; 
}

#navigationMobile #closeNavigation .menuClose {
  position: absolute;
  right: 0px;
  padding-right: 20px;
  top: 12px;
}

#navigationMobile #closeNavigation .menuClose i {
  cursor: pointer;
}

#navigationMobile #closeNavigation .menuClose.viewDesktop i.fa {
  font-size: 24px;
}

/* WIR DANKEN */

#wirDanken {
  text-align: center;
}

#wirDanken p {
  padding-left: 0px;
}

#wirDanken img {
  width: 100px:
}

}

/*******************************
  Mobile (max-width: 320px)
********************************/

@media only screen and (max-width: 320px) {

#header {
  min-width: 300px;
}

#header #headerImage #middleCol img {
  max-width: 145px;
}

#content .eventImageContainer {
  display: none;
}

#container #contentWrapper {
  min-width: 300px;
}

}
