/*** Kundenspezifische Anpassungen ***/


footer {
  background-color: #FFD5A5
}

/*---------------
    #Login
  ---------------*/

input.button {
display              : inline-block;
background-color     : #f5f5f5;
background-image     : -webkit-linear-gradient(top, #f5f5f5, #f1f1f1);
background-image     : -moz-linear-gradient(top, #f5f5f5, #f1f1f1);
background-image     : -ms-linear-gradient(top, #f5f5f5, #f1f1f1);
background-image     : -o-linear-gradient(top, #f5f5f5, #f1f1f1);
background-image     : -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#f1f1f1));
background-image     : linear-gradient(top, #f5f5f5, #f1f1f1);
color                : #444;
border               : 1px solid #dcdcdc;
-webkit-border-radius: 2px;
-moz-border-radius   : 2px;
border-radius        : 2px;
cursor               : default;
font-size            : 12px;
font-weight          : bold;
text-align           : center;
height               : 37px;
line-height          : 27px;
min-width            : 100px;
padding              : 5px 18px;
text-decoration      : none;
}

input.button:hover {
  background-color: #F8F8F8;
  background-image: -webkit-linear-gradient(top, #f8f8f8, #f1f1f1);
  background-image: -moz-linear-gradient(top, #f8f8f8, #f1f1f1);
  background-image: -ms-linear-gradient(top, #f8f8f8, #f1f1f1);
  background-image: -o-linear-gradient(top, #f8f8f8, #f1f1f1);
  background-image: -webkit-gradient(linear, left top, left bottom, from(top), color-stop(#f8f8f8), to(#f1f1f1));
  background-image: linear-gradient(top, #f8f8f8, #f1f1f1);
  border: 1px solid #C6C6C6;
  color: #333;
  -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
}

input.button:hover[value="Login"] {
  color: #62bb46;
}

input.button:hover[value="Abbrechen"] {
  color: #E3000F;
}

#loginForm {
  margin-bottom: 4em;
}

form#loginForm fieldset {
  margin-top: 10px;
  margin-bottom: 20px;
}

form#loginForm fieldset {
  padding: 1.35em 0em 1.75em;
}

form#loginForm fieldset legend {
  font-weight: bold;
  color: #015986;
  font-size: 1.4rem;
}

form#loginForm .ym-fbox-button {
  margin-top: 20px;
  margin-left: 2px;
  margin-bottom: 8px;
}

form#loginForm .ym-fbox-text {
  margin-bottom: 10px;
}

form#loginForm fieldset .ym-fbox-text input {
  padding-bottom: 5px;
  padding-left: 6px;
  padding-top: 5px;
}

form#loginForm fieldset .ym-fbox-text input#j_username:focus {
  background-color: #B5DAA1;
  border: 1px solid #acacac;
}

form#loginForm fieldset .ym-fbox-text input#j_password:focus {
  background-color: #B5DAA1;
  border: 1px solid #acacac;
}

form#loginForm fieldset .ym-fbox-text input#j_username:hover {
  border: 1px solid #015986;
}

form#loginForm fieldset .ym-fbox-text input#j_password:hover {
  border: 1px solid #015986;
}

body.login {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: #EAE4D4 !important;
}

html, body.login {
  height: 100%;
}

.login-wrapper {
  min-width: 480px;
  max-width: 600px;
  background: #fff;
  padding-top: 30px;
  padding-left: 35px;
  padding-right: 15px;
  padding-bottom: 10px;
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
  border-radius: 0px;
  border: 0px solid #a0a0a0;
}

.login #loginForm {
  margin-bottom: 0px;
}

.login form#loginForm fieldset .ym-fbox-text {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.login form#loginForm fieldset .ym-fbox-text label {
  -webkit-flex-basis: 37%;
  -ms-flex-preferred-size: 37%;
  flex-basis: 37%;
  margin-top: 8px;
}

.login form#loginForm fieldset .ym-fbox-text input {
  -webkit-flex-basis: 60%;
  -ms-flex-preferred-size: 60%;
  flex-basis: 60%;
  background: #F0F0F0;
}

.login #loginForm .ym-fbox-button {
  font-size: 12px;
  width: 100%;
  text-align: right;
  padding-right: 15px;
}

.login #loginForm fieldset .ym-fbox-button {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.login form#loginForm fieldset .ym-fbox-button input[type="submit"] {
  -webkit-flex-basis: 37%;
  -ms-flex-preferred-size: 37%;
  flex-basis: 37%;
}

.login form#loginForm fieldset .ym-fbox-button input {
  -webkit-flex-basis: 60%;
  -ms-flex-preferred-size: 60%;
  flex-basis: 60%;
  background: #F0F0F0;
}

.login form#loginForm fieldset .ym-fbox-text input {
  padding-bottom: 10px;
  padding-left: 15px;
  padding-top: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.login form#loginForm fieldset>legend {
  color: #62BB46;
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 300;
  font-family: 'Merriweather', serif;
}

.login #loginForm input {
  padding-left: 5px;
  float: left;
  width: 49%;
  font-size: 12px;
  padding: 5px;
  margin-bottom: 10px;
}

.login #loginForm input:first-child {
  margin-right: 8px;
}

.login #loginForm fieldset {
  border: 0px;
  padding-top: 20px;
  margin-left: 0px;
  margin-bottom: 20px;
}

/* Icons vor Labels */

.login #loginForm fieldset .ym-fbox-text>label[for=j_username]:before {
  content: "\f007 ";
  font-size: 16px;
  font-family: FontAwesome;
  margin-right: 14px;
  color: #787878;
}

.login #loginForm fieldset .ym-fbox-text>label[for=j_password]:before {
  content: "\f084 ";
  font-size: 16px;
  font-family: FontAwesome;
  margin-right: 10px;
  color: #787878;
}

/* Rüber nehmen in die custom.css */

/* External Folder */

table.downloadlist th {
  line-height: 1rem;
}

table.downloadlist th img {
  float: right;
}

th.ui-state-active {
  border: 0px;
  border-bottom: 1px solid #ccc;
}

/* -------------- Responsive Menu ----------------------- */
/*
@media screen and ( min-width: 760px) {
  #mm-my-menu {
    display: none !important;
  }
  #hamburger {
    display: none !important;
  }
}

@media screen and (max-width: 759px) {
  #my-menu {
    display: none;
  }
}
 */



/* Responsive Menu */
#responsive-my-menu {
  display: none;
}

#hamburger{display: none!important;}


@media only screen and (max-width: 800px) {
  #responsive-my-menu {
    display: block;
  }
  #hamburger{display: block !important;}

  #my-menu{
    display: none;
  }
}

@media only screen and (min-width: 801px) {
  #hamburger{display: none;}
}

/* Hamburger */
#hamburger {
  background: #C2DBA1;
  box-sizing: border-box;
  display   : block;
  height    : 44px;
  position  : fixed;
  top       : 20px;
  right     : 20px;
  width     : 48px;
  z-index   : 1000;
  left      : auto;
}

#hamburger span,
#hamburger:after,
#hamburger:before {
  background   : #ffffff;
  content      : '';
  color        : #fff;
  display      : block;
  width        : 31px;
  position     : absolute;
  left         : 9px;
  border       : 1px solid #fff;
  margin-bottom: 2px;
}

#hamburger:before {
  top: 10px;
}

#hamburger span {
  top: 20px;
}

#hamburger:after {
  top: 30px;
}
/* Hamburger animation */
#hamburger span,
#hamburger:after,
#hamburger:before {
  -webkit-transition         : none 0.5s ease 0.5s;
  transition                 : none 0.5s ease 0.5s;
  -webkit-transition-property: transform, top, bottom, left, opacity;
  transition-property        : transform, top, bottom, left, opacity;
}

html.mm-opening #hamburger:after,
html.mm-opening #hamburger:before {
  top: 20px;
}

html.mm-opening #hamburger span {
  left   : -50px;
  opacity: 0;
}

html.mm-opening #hamburger:before {
  transform: rotate(45deg);
}

html.mm-opening #hamburger:after {
  transform: rotate(-45deg);
}
/* Logo oben */

#mm-0 {height: 100%;
background: #fff; }

#mm-my-menu .mm-navbar-top-1 {
  background: rgba(0, 0, 0, 0) url(http://cms.niedereschach.de/site/Niedereschach_2017/resourceCached/9.2.4/img/logo.png) no-repeat scroll 25px 0 / 180px auto;
  height: 100px;
  top: 20px;
  margin-left: 1px;
  /* text-align: center; */
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  left:0px;
}

.mm-hasnavbar-top-1 .mm-panel {
  top: 120px;
}

.mm-navbar.mm-hasbtns {
  padding: 0 40px;
  margin-top: 5px;
}

.mm-menu.mm-theme-white .mm-navbar {

}

.mm-menu.mm-theme-white .mm-listview>li .mm-next:after {
  border-color: rgba(0, 0, 0, .3);
}

.mm-vertical .mm-listview .mm-panel, .mm-listview .mm-vertical .mm-panel {padding:0;}
.mm-panel {
  background: #fff;
  z-index: 5000;
}

.mm-menu {
  background: #fff;
    color: rgba(0, 0, 0, 0.7);
}

#mm-1 > ul > li.ebene1 a:active{border-bottom:1px solid #ccc;}

.mm-listview > li {
  font-family: 'Merriweather', serif;
  font-size: 120%;
}

.mm-listview > li > div > ul > li {
  font-family: 'Roboto', sans-serif;
  font-size: 120%;
  font-weight: 300;
}

.mm-menu > .mm-panel > .mm-listview {
    margin-left: -40px;
    margin-right: -20px;
}

.mm-listview > li > a, .mm-listview > li > span {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: inherit;
    line-height: 28px;
    display: block;
    padding: 10px 10px 10px 45px;
    margin: 0;
}

/* Hover Ebene 1 */
#mm-1 > ul > li.ebene1 a:hover {background:#C2DBA1;}

/* Hover Ebene 2 */
#mm-1 > ul > li.ebene2 a:hover {background:#C2DBA1;}


.mm-navbars-bottom .quicksearch { display: flex; width: 80%; margin: 0 auto;}
.mm-navbars-bottom .quicksearch #qs_query { padding: 10px;   font-size: 1.2em;}
.mm-navbars-bottom .quicksearch .quicksearchimg {margin-left: 10px;}

.re-logo { margin: 0 auto;}




/*---------------
    #Back to Top
  ---------------*/

.cd-top { display: inline-block; height: 40px; width: 40px; position: fixed; bottom: 40px; right: 10px; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* image replacement properties */
  overflow: hidden; text-indent: 100%; white-space: nowrap; background: rgba(194, 219, 161, 0.8) url(../img/cd-top-arrow.svg) no-repeat center 50%; visibility: hidden; opacity: 0; -webkit-transition: opacity .3s 0s, visibility 0s .3s; -moz-transition: opacity .3s 0s, visibility 0s .3s; -o-transition: opacity .3s 0s, visibility 0s .3s; transition: opacity .3s 0s, visibility 0s .3s; }

.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover { -webkit-transition: opacity .3s 0s, visibility 0s 0s; -moz-transition: opacity .3s 0s, visibility 0s 0s; -o-transition: opacity .3s 0s, visibility 0s 0s; transition: opacity .3s 0s, visibility 0s 0s; }

.cd-top.cd-is-visible { /* the button becomes visible */ visibility: visible; opacity: 1; }

.cd-top.cd-fade-out { /* if the user keeps scrolling down, the button is out of focus and becomes less visible */ opacity: .5; }

.no-touch .cd-top:hover { background-color: #e86256; opacity: 1; }

@media only screen and (min-width: 768px) { .cd-top { right: 20px; bottom: 20px; } }

@media only screen and (min-width: 1024px) { .cd-top { height: 60px; width: 60px; right: 30px; bottom: 30px; } }


/*---------------
    #Icons im Header
  ---------------*/

.toplinks li i{display: block;color:#fff;
}

.toplinks span.icon{background: #C2DBA1;width: 42px;
height: 42px;display: block; text-align: center; }

.toplinks span.icon a{display:inline-block;width: 100%;
height: 100%;padding-top: 15px;}
.toplinks span.icon a:hover{background:#E5EFD6;}
.toplinks span.icon a:hover i{color:#0066B3;}


.toplinks .fa-lg {
    font-size: 1.2em;

}


/* Druck, PDF und Reccomend Icons */
/* TODO Icons einfügen - Font Awesome */
span.printpdf a{}


  /*---------------
      #ToolTipps
      - Sind noch nicht drinnen
    ---------------*/

.tooltip {
    display: block !important;
    position: absolute;
    padding: 6px 10px;
    background-color: #333;
    color: #fff;
    white-space: nowrap;
    font-size: 11pt;
    font-weight: 400;
    font-style: normal;
    font-family: "Helvetica Neue", "Helvetica";
    line-height: 1.2em;
    z-index: 9;
}

.tooltip .tt-arrow {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}
.tooltip.tt-t .tt-arrow {
    bottom: -10px;
    left: 50%;
    margin-left: -10px;
    border-width: 10px 10px 0 10px;
    border-color: #333333 transparent transparent transparent;
}
.tooltip.tt-r .tt-arrow {
    left: -10px;
    top: 50%;
    margin-top: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #333333 transparent transparent;
}
.tooltip.tt-b .tt-arrow {
    top: -10px;
    left: 50%;
    margin-left: -10px;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #333333 transparent;
}
.tooltip.tt-l .tt-arrow {
    right: -10px;
    top: 50%;
    margin-top: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #333333;
}


/*---------------
    #Portalseiten

- Über die Gemeinde: 14493006
- Politik & Verwaltung: 14493020
- Familie, Leben & Wohnen: 14493028
- Freizeit & Tourismus: 14493035
- Wirtschaftz & Bauen: 14493042
---------------*/

#node14493006 #content p,
#node14493020 #content p,
#node14493028 #content p,
#node14493035 #content p,
#node14493042 #content p {
  font-size: 0.9rem;
}

#node14493006 #content h2,
#node14493020 #content h2,
#node14493028 #content h2,
#node14493035 #content h2,
#node14493042 #content h2 {
  font-size: 1.4rem;
  margin-top:6px;
}

@media only screen and (max-width: 768px) {
/* TO-Do: Noch aufräumen */
#node14493006.body_ebene1 #main #content, #node14493020.body_ebene1 #main #content, #node14493028.body_ebene1 #main #content, #node14493035.body_ebene1 #main #content, #node14493042.body_ebene1 #main #content {padding-left: 10px;padding-right: 10px;}

.body_ebene1 #main #content{margin-top:0px;}

.printpage{display: none;}

.body_ebene1 .composedcontent-niedereschach-zeile.Kopfzeile {
  height: inherit;
}

.body_ebene1 .composedcontent-niedereschach-zeile.Kopfzeile .ym-g33 .subcr .composedcontent-niedereschach-spalte {
  flex-direction: initial;

}

.body_ebene1 .composedcontent-niedereschach-zeile.Kopfzeile {
  flex-wrap: wrap;
}

.body_ebene1 .composedcontent-niedereschach-zeile.Kopfzeile #id14540843 {
  /*display: none;*/
  order     : 2;
  width     : 100%;
  flex-basis: 100%;
}

#id14539520 {
  display: none;
}

#id14539534 {
  display: none;
}

#id14539492 {
  width     : 70%;
  flex-basis: 70%;
}

.body_ebene1 .composedcontent-niedereschach-zeile.Kopfzeile .ym-g33 + .ym-g33 + .ym-g33 {
  width     : 28%;
  flex-basis: 28%;
}

.body_ebene1 .inhalt.zeile1 .ym-g33 {
  flex-basis: 49%;
}

.body_ebene1 .inhalt.zeile2 .ym-g33 {
  flex-basis: 49%;
}
}

@media only screen and (max-width: 500px) {
  /* TO-Do: Noch aufräumen */
.pageheader .headline h1:before{content:"";padding:0px;margin:0px;}
.pageheader .headline h1{padding:25px 10px 25px 10px;}

.body_ebene1 .composedcontent-niedereschach-zeile.Kopfzeile  .ym-g33 + .ym-g33  .boxborder { padding: 20px 10px;}
.body_ebene1 .inhalt.zeile1 .ym-gr .boxborder {
    padding: 20px 15px 10px 15px;
  }
  .body_ebene1 .inhalt.zeile2 .ym-gl .boxborder {
      padding: 20px 10px 10px 10px;
    }

  .body_ebene1 .composedcontent-niedereschach-zeile.Kopfzeile  .ym-g33 .subcr .composedcontent-niedereschach-spalte > div{border:0px;}
  .pageheader{margin-top:0px;}
  #id14539503 {
    width     : 100%;
    flex-basis: 100%;
  }

  #id14539492 {
    width     : 100%;
    flex-basis: 100%;
  }

#id14539496{
  padding-left: 10px;
  padding-bottom: 9px;
}

  .body_ebene1 .inhalt.zeile1 .ym-g33,
  .body_ebene1 .inhalt.zeile2 .ym-g33 {
    flex-basis: 100%;
  }

  .body_ebene1 .inhalt.zeile2 .ym-gl .boxborder {
    border-top: 1px solid #ccc;
  }

  .body_ebene1 .composedcontent-niedereschach-zeile.Kopfzeile .ym-g33 + .ym-g33 + .ym-g33 {
    width     : 100%;
    flex-basis: 100%;
  }

  #main {
    padding-bottom: 0;
  }

  #id14540843 {
    /*display: none;*/
    order     : 2;
    width     : 100%;
    flex-basis: 100%;
  }

  .body_ebene1 .image-inner img {
    width : 100%;
    height: auto;
  }


  /* Service Spalte Bilder ab 500px 100% anzeigen */
  #service figure .image-inner img{width: 100%;}
}


@media only screen and (max-width:400px) {
    /* Service Spalte ohne Rand*/
    #service {margin:0px;}
    #service 	.composedcontent-niedereschach-infoslot {border:0px;margin-bottom:0px;}

}

/* Mehr Link */
.mehrLink .internerLink {
display: inline !important;
}

.mehrLink:after {
  content    : "\f105";
  font-size  : 16px;
  font-family: FontAwesome;
  margin-left: 8px;
  color      : #666565;
}
/*
.mehrLink:hover:after {
  color      : #8EBA62;
}
*/




    
/* Als erstes verstecken wir die Standard Form-Elemente 
#kategorieid input[type="checkbox"],
#kategorieid input[type="radio"] {  
  display: none;
}
*/
/* 
Dem Label gebe ich ein Display Block, 
damit dieser ueber die komplette Breite klickbar ist.


#kategorieid li  { display: inline-block;  margin-right: 20px; list-style-type: none;}

#kategorieid li > label { display: inline-block;  
        position: relative;
    padding-left: 25px;
    margin-bottom: 25px;
    height: 200px;
  width: 200px; }
 */  

/* Der span ist unsere neue Checkbox und den stylen wir wie folgt 
#kategorieid li > label span.box {
    background: #fff;
    width: 200px;
    height: 200px;
    display: inline-block;
    border: 1px solid #eaeaea;
    position: absolute;
    top: 0px;
    left: 0;
    transition: all .2s linear;
}

#kategorieid li > label label { position: relative; top: 40%; font-weight: bold;}
*/
/* Hover-Effekt 
#kategorieid li > label:hover span.box {
    border: 3px solid #bbb;
}
*/
/* 
Mit dem "+" Selektor kÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¶nnen wir das direkt nachfolgende Element
ansprechen, indem Fall unsere Label mit darin enthalten span.
*/
/* 
#kategorieid li > label input[type="checkbox"]:checked + span.box,
#kategorieid li > label input[type="radio"]:checked + span.box {
    border: 3px solid #6E8750;
    background:#8BC34A;
}

*/


