/* ====================================================== */
/* =================== Grundsätzliches ================== */
/* ====================================================== */
/* Für IE Schriftgröße auf 100 % festlegen, sonst Zoom-Probleme */
html
{
  font-size: 62.5%;
}

/* Für alle anderen Browser die Schrifgröße auf 1em setzen (entspricht 16 px) */
/* Allgemeine Angaben für die Seite */
body
{
  font-size: 12px;
  font-size: 1.2rem;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  text-align: center;
  color: #ffffff;
  background: #D5E2F3 url("bg_test_unscharf.jpg") fixed no-repeat center top;
  padding: 0;
  margin: 0;
  word-wrap: break-word;
}

.ekhnlila
{
  color: #4f2778}

.ekhngelb
{
  color: #ffb600}

@font-face
{
  font-family: 'icons';
  src: url('fonts/icons.eot?42509891');
  src: url('fonts/icons.eot?42509891#iefix') format('embedded-opentype'),
       url('fonts/icons.woff?42509891') format('woff'),
       url('fonts/icons.ttf?42509891') format('truetype'),
       url('fonts/icons.svg?42509891#icons') format('svg');
  font-weight: normal;
  font-style: normal;
}

.icon-cancel:before { content: '\e803'; } /* &#x0e803; */
.icon-home:before { content: '\e801'; } /* &#x0e801; */
.icon-pencil:before { content: '\e802'; } /* &#x0e802; */
.icon-right:before { content: '\e800'; } /* &#x0e800; */

.icon
{
  font-family: 'icons';
}

/* ====================================================== */
/* ============= Optische Struktur der Seite ============ */
/* ====================================================== */
/* Umschließt den gesamten Inhalt */
#wrap
{
  width: 95%;
  max-width: 1049px;
  height: 100%;
  background: #ffffff;
  margin: 0px auto;
  padding: 0em;
  text-align: left;
}


/* ------------------------------------------------------ */
/* ------------------Seitenbereiche --------------------- */
/* ------------------------------------------------------ */
#seitenkopf
{
  width: 90%;
  width: calc(100% - 40px);
  margin: 60px 0px 0px 0px;
  padding: 20px;
  padding-bottom: 80px;
  height: 190px;
  color: #4f2778;
  height: 150px;
  background: #ffffff;
}

  #seitenkopf div
  {
    padding-top: 90px;
    font-size: 40px;
    font-size: 4.0rem;
    font-weight: bold;
  }

  #seitenkopf img
  {
    vertical-align: bottom;
    margin-left: 15px;
    float: right;
  }
  
#menuleiste
{
  width: 100%;
  height: 50px;
}
  
#navigation
{
  position: relative;
  width: 100%;
  width: calc(100% - 1px);
  margin: 0;
  padding: 0;
  border-left: 1px solid #ffffff;
  background: #ffffff;
}

ul#navigation
{
  margin: 0px;
  position: relative;
  float: left;
}
	 
ul#navigation li
{
  display: inline;
  font-size: 14px;
  font-size: 1.4rem;
  margin:0;
  padding:0;
  float:left;
  position:relative;
  margin-right: 1px;
}

ul#navigation li:last-of-type
{
  margin-right: 0px;
}
	 
ul#navigation li a
{
  padding: 10px;
  color: #ffffff;
  text-decoration:none;
  display: inline-block;
  width: 180px;
  background: #4f2778;
  opacity: 1;
  text-align: center;
  text-transform: uppercase;
   
  -webkit-transition: background 0.3s linear;  
  -moz-transition: background 0.3s linear; 
  -o-transition: background 0.3s linear;   
  transition: background 0.3s linear;  
}

ul#navigation li ul li a
{
  text-align: left;
  text-transform: none;
  border-bottom: 1px solid #ffffff;
  width: 170px;
}

ul#navigation li ul li:last-child > a
{
  border-bottom: 0;
}

ul#navigation li a:hover
{
  background: #ffb600;
  color: #000000;
}
	 
ul#navigation > li:hover > a
{
  background: #ffb600;
  opacity: 1;
  color: #000000;
}

ul#navigation li ul li a
{
  background: #4f2778;
  opacity: 1;
  color: #ffffff;
}

ul#navigation li ul li a:hover
{
  background: #ffb600;
  color: #000000;
}


/* Drop-Down */
ul#navigation li:hover > ul
{
  visibility: visible;
  opacity: 1;
}

ul#navigation ul, ul#navigation ul li ul
{
  list-style: none;
  margin: 0;
  padding: 0;
  
  visibility: hidden;
  opacity: 0;
  position: absolute;
  z-index: 99999;
  width: 180px;
    
  -webkit-transition: opacity 0.3s linear, visibility 0.3s linear;
  -moz-transition: opacity 0.3s linear, visibility 0.3s linear;
  -o-transition: opacity 0.3s linear, visibility 0.3s linear;
  transition: opacity 0.3s linear, visibility 0.3s linear;    
}

ul#navigation li.breit ul, ul#navigation li.breit ul li ul
{
  width: 200px;
}
 
ul#navigation ul
{
  top: 38px;
  left: 0px;
}
 
ul#navigation ul li ul
{
  top: 0px;
  left: 200px;
}

ul#navigation li.breit ul li ul
{
  top: 0px;
  left: 210px;
}
 
ul#navigation ul li
{
  clear: both;
  width: 100%;
  border: 0;
}
 
ul#navigation ul li a
{
  background: none;
  padding: 7px 15px;
  color: #616161;
  text-decoration: none;
  display: inline-block;
  border: 0;
  float: left;
  clear: both;
  width: 120px;
}
 
ul#navigation ul li ul li a
{
  width: 350px;
}

ul#navigation li.breit ul li a
{
  width: 180px;
}

/* Homebutton */
ul#navigation li.home, ul#navigation li.home a, ul#navigation li.home ul, ul#navigation li.home ul li ul, ul#navigation li.home ul li a
{
  width: 42px;
  height: 33px;
  min-width: 0px;
  margin: 0px 1px 0px 0px;
  padding: 0;
  text-align: center;
  opacity: 1;
}

ul#navigation li.home a
{
  background: #4f2778;
  color: #ffffff;
  font-size: 20px;
  font-size: 2.0rem;
  padding: 0px;
  padding-top: 5px;
}

ul#navigation li.home a:hover
{
  background: #ffb600;
}
  
#menu
{
  width: 90%;
  width: calc(100% - 60px);
  background: #C3ADDB;
  padding: 10px;
  margin: 0px 20px;
  overflow: hidden;
  font-weight: bold;
  line-height: 20px;
}

#menu h1
{
  font-size: 14px;
  font-size: 1.4rem;
  margin: 0px;
  margin-bottom: 10px;
}

#menu .intern
{
  float: left;
  width: 25%;
}

#menu a
{
  text-decoration: none;
}

#inhalt
{
  margin: 0;
  color: #000000;
  padding: 44px;
  padding-top: 0px;
  background: #ffffff;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 25px;
}

#inhalt div.news
{
  padding-top: 40px;
  margin-bottom: 40px;
  text-align: center;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: bold;
  color: #4f2778;
}

#inhalt > p
{
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 25px;
  margin-bottom: 24px;
  margin-top: 0px;
}

#inhalt > p:last-of-type
{
  margin-bottom: 10px;
}

#inhalt > h1
{
  font-size: 24px;
  font-size: 2.4rem;
  color: #4f2778;
  margin-top: 0px;
  margin-bottom: 30px;
  border: 0px solid black;
  line-height: 35px;
}

#inhalt > h1.liste
{
  margin-top: 40px;
  margin-bottom: -20px;
  padding-bottom: 0px;
}

#inhalt > h2.liste, #inhalt > h3.liste
{
  margin-top: 10px;
  margin-bottom: 0px;
  padding: 0;
}

#inhalt h2, h3, h4
{
  color: #4f2778;
}

#inhalt h4
{
  padding-bottom: 2px;
  margin-bottom: 0px;
}

#inhalt a
{
  color: #4f2778;
  text-decoration: underline;
}

#inhalt a:hover
{
  color: #6C4693;
  text-decoration: none;
}

#seitenfuss
{
  background: #3D1766;
  color: #ffffff;
  padding: 20px;
  font-size: 10px;
  font-size: 1.0rem;
}

#seitenfuss h1
{
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 10px;
}

 #seitenfuss h1 > a
{
  color: #ffffff;
  text-decoration: none;
}

#seitenfuss .copy
{
  font-size: 9px;
  font-size: 0.9rem;
}

#seitenfuss .intern
{
  float: right;
}

#seitenfuss .intern a, #seitenfuss .intern a:hover, #seitenfuss .intern a:active, #seitenfuss .intern a:visited, #seitenfuss a
{
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  font-size: 1.2rem;
}

/* ------------- Tabellen --------------- */
table.gottesdienste
{
  background: #ffffff;
  margin: 0px auto 0px 0px;
  width: 100%;
  min-width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  line-height: normal;
  table-layout: fixed;
}

table.gottesdienste col:nth-of-type(1)
{
  width: 40px;
}

table.gottesdienste col:nth-of-type(2)
{
  width: 90px;
}

table.gottesdienste col:nth-of-type(3)
{
  width: auto;
}

table.gottesdienste col:nth-of-type(4)
{
  width: 25px;
}

table.gottesdienste caption
{
  padding: 14px 0px 4px 0px;
  font-size: 18px;
  font-size: 1.8rem;
}

table.gottesdienste caption .liturgisch
{
  text-transform: uppercase;
}

table.gottesdienste th, table.gottesdienste caption
{
  background: #F0E8F9;
  color: #4f2778;
}

.color0
{
  background: #F0E8F9;
}

.color1
{
  background: #FFF5E0;
}

table.gottesdienste .obenohne
{
  padding-top: 0px;
}

table.gottesdienste .schmal
{
  padding-top: 2px;
}

table.gottesdienste td.liste
{
  padding: 2px;
  border: 0px solid black;
}

table.gottesdienste caption.liste
{
  padding-bottom: 10px;
}

td.datum
{
  width: 15%;
}

.grau
{
  color: #aaaaaa;
}

td.art
{
  width: 2%;
}

td.uhrzeit
{
  width: 10%;
}

td.hinweise
{
  width: 30%;
}

td.veranstaltungsort
{
  width: 20%;
}

td.toggle
{
  width: 2%;
  text-align: right;
}

td.veranstalter
{
  width: 40%;
}

table.gottesdienste .left
{
  text-align: left;
}

table.gottesdienste .right
{
  text-align: right;
}

td.center
{
  text-align: center;
}

div.alignright
{
	margin: 0px 0px 12px 10px;
  padding: 0px;
  border: 0px solid #000000;
  float: right;
}

.nodisplay
{
  display: none;
}

div.warnung
{
  border: 1px solid #B70E0E;
  background: #FCC4C4;
  color: #B70E0E;
  padding: 10px;
}

/* -------------- Formular ----------------- */
table#gd_pruefen
{
  border-collapse: collapse;
}

table#gd_pruefen th
{
  padding: 0px 4px;
}

table#gd_pruefen td
{
  padding: 4px;
}

fieldset
{
  border: 2px solid #4f2778;
  margin: 0px;
  margin-bottom: 10px;
  padding: 5px;
}

legend
{
  font-style: italic;
  color: #4f2778;
  font-weight: bold;
}

label
{
  display: block;
  float: left;
  width: 100%;
  vertical-align: top;
  font-style: italic;
}

label.kurz
{
  width: 120px;
}

form input.darunter
{
  display: inline;
  width: 515px;
  margin: 1px auto;
}

form input, form select, form textarea
{
  margin-bottom: 5px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  width: 100%;
  border: 0;
  background: #D6C7E8;
}

textarea
{
  height: 120px;
}

textarea.kurz
{
  height: 60px;
}

textarea.lang
{
  height: 300px;
}

input[type="checkbox"], input[type="radio"]
{
  display: inline;
  width: auto;
  float: none;
  background: transparent;
}

input[type="submit"].center 
{
  float: none;
  background: #F0E8F9;
  margin: 5px auto;
  padding: 5px;
  width: 100%
}

input[type="submit"] 
{
  display: block;
  float: none;
  width: 525px;
  background: #ffffff;
  margin: 5px 10px;
}

/* Größenanpassungen */
@media screen and (max-width: 500px)
{
  body
  {
    background: #D5E2F3;
  }
  
  #wrap
  {
    width: 90%;
    width: calc(100% - 20px);
    margin: 0px auto;
    border: 0px solid red;
    padding: 0;
  }

  #seitenkopf
  {
    width: 90%;
    width: calc(100% - 30px);
    margin: 10px;
    height: auto;
    padding: 0;
    font-size: 16px;
    font-size: 1.6rem;
  }
  
  #seitenkopf img
  {
    display: none;
  }
  
  #seitenkopf div
  {
    margin: 0;
    padding: 0;
    padding-top: 10px;
    font-size: 16px;
    font-size: 1.6rem;
  }
  
  #seitenkopf div .ekhnlila
  {
    font-size: 20px;
    font-size: 2.0rem;
    display: block;
  }
  
  ul#navigation
  {
    width: 100%;
    border: 0;
    margin-bottom: 10px;
  }
  
  ul#navigation li
  {
    display: block;
    font-size: 12px;
    font-size: 1.2rem;
    float: none;
    position: static;
    width: 100%;
    border: 0;
  }
  
  ul#navigation li a
  {
    padding: 6px;
    width: 95%;
    width: calc(100% - 12px);
    margin: 0;
    border: 0;
  }
  
  ul#navigation ul, ul#navigation ul li ul, ul#navigation li.breit ul, ul#navigation li.breit ul li ul
  {
    display: block;
    visibility: visible;
    opacity: 1;
    width: 100%;
    position: static;
    top: auto;
    left: auto;
    box-shadow: none;
    border: 0;
  }
  
  ul#navigation ul, ul#navigation ul li ul, ul#navigation li.breit ul li ul
  {
    top: auto;
    left: auto;
  }
  
  ul#navigation li ul li a, ul#navigation li ul li:first-child > a, ul#navigation li ul li:last-child > a
  {
    border: 0;
    width: 100%;
    width: calc(100% - 30px);
  }
  
  ul#navigation ul li ul li:last-of-type, ul#navigation ul li ul li:first-of-type
  {
    width: 100%;
    width: calc(100% - 20px);
  }
  
  ul#navigation ul li a, ul#navigation li.breit ul li a
  {
    display: block;
    width: 95%;
    width: calc(100% - 30px);
    border: 0;
  }  
  
  ul#navigation ul li ul li a, ul#navigation li.breit ul li ul li a
  {
    padding-left: 35px;
    width: 95%;
    width: calc(100% - 50px);
  }

  /* Homebutton */
  ul#navigation li.home, ul#navigation li.home a, ul#navigation li.home ul, ul#navigation li.home ul li ul, ul#navigation li.home ul li a
  {
    width: 100%;
    height: 33px;
    min-width: 0px;
    margin: 0;
    padding: auto;
    border: 0px solid red;
    text-align: center;
    opacity: 1;
  }
  
  #menu
  {
    display: none;
  }
  
  #inhalt div.news
  {
    font-size: 13px;
    font-size: 1.3rem;
    padding: 0;
    margin: 0;
    font-weight: normal;
    line-height: 15px;
  }
  
  #inhalt
  {
    padding: 0px 5px;
    margin: 0;
    width: 95%;
    width: calc(100% - 10px);
    font-size: 12px;
    font-size: 1.2rem;
  }
  
  #inhalt > p
  {
    font-size: 12px;
    font-size: 1.2rem;
    margin: 0;
  }
  
  #inhalt > h1
  {
    font-size: 15px;
    font-size: 1.5rem;
    margin: 10px 0px;
    line-height: 18px;
  }
  
  table.gottesdienste
  {
    width: 100%;
    margin: 0px auto;
    font-size: 10px;
    font-size: 1.0rem;
    word-wrap: break-word;
    table-layout: fixed;
  }

  table.gottesdienste col:nth-of-type(1)
  {
    width: 20px;
  }

  table.gottesdienste col:nth-of-type(2)
  {
    width: 50px;
  }

  table.gottesdienste col:nth-of-type(3)
  {
    width: auto;
  }

  table.gottesdienste col:nth-of-type(4)
  {
    width: 25px;
  }
  
  table.gottesdienste caption
  {
    font-size: 14px;
    font-size: 1.4rem;
  }
  
  table.gottesdienste td.ausblenden img
  {
    max-width: 15px;
  }
  
  
  #seitenfuss
  {
    width: 95%;
    width: calc(100% - 40px);
  }
  
  .schmal, #navigation li.schmal, #navigation .schmal
  {
    display: none;
  }
}

@media screen and (min-width: 501px) and (max-width: 760px)
{
  body
  {
    background: #D5E2F3;
  }
  
  #wrap
  {
    width: 90%;
    width: calc(100% - 20px);
    margin: 0px auto;
    border: 0px solid red;
    padding: 0;
  }

  #seitenkopf
  {
    width: 90%;
    width: calc(100% - 30px);
    margin: 10px;
    height: auto;
    padding: 0;
    font-size: 16px;
    font-size: 1.6rem;
  }
  
  #seitenkopf img
  {
    max-height: 70px;
    width: auto;
  }  
  
  #seitenkopf div
  {
    margin: 0;
    padding: 0;
    padding-top: 10px;
    font-size: 20px;
    font-size: 2.0rem;
  }
  
  #seitenkopf div .ekhnlila
  {
    font-size: 26px;
    font-size: 2.6rem;
    display: block;
  }
  
  ul#navigation li a
  {
    width: auto;
    border-bottom: 1px solid white;
  }
  
  ul#navigation
  {
    margin-bottom: 20px;
  }
  
  #menu
  {
    margin-bottom: 10px;
  }
  
  #inhalt div.news
  {
    font-size: 13px;
    font-size: 1.3rem;
    padding: 0;
    margin: 0;
    font-weight: normal;
    line-height: 15px;
  }
  
  #inhalt
  {
    padding: 0px 5px;
    margin: 0;
    width: 95%;
    width: calc(100% - 10px);
    font-size: 12px;
    font-size: 1.2rem;
  }
  
  #inhalt > p
  {
    font-size: 12px;
    font-size: 1.2rem;
    margin: 0;
  }
  
  #inhalt > h1
  {
    font-size: 18px;
    font-size: 1.8rem;
    margin: 10px 0px;
    line-height: 22px;
  }
  
  table.gottesdienste
  {
    width: 100%;
    margin: 0px auto;
    font-size: 12px;
    font-size: 1.2rem;
    word-wrap: break-word;
    table-layout: fixed;
  }

  table.gottesdienste col:nth-of-type(1)
  {
    width: 20px;
  }

  table.gottesdienste col:nth-of-type(2)
  {
    width: 50px;
  }

  table.gottesdienste col:nth-of-type(3)
  {
    width: auto;
  }

  table.gottesdienste col:nth-of-type(4)
  {
    width: 25px;
  }
  
  table.gottesdienste caption
  {
    font-size: 14px;
    font-size: 1.4rem;
  }
  
  table.gottesdienste td.ausblenden img
  {
    max-width: 15px;
  }  
  
  #seitenfuss
  {
    width: 95%;
    width: calc(100% - 40px);
  }
}

@media screen and (min-width: 761px) and (max-width: 950px)
{
  #seitenkopf img
  {
    max-height: 80px;
    width: auto;
  } 

  #seitenkopf
  {
    width: 90%;
    width: calc(100% - 50px);
    margin: 10px;
    margin-bottom: 0px;
    height: auto;
    padding: 10;
  }
  
  #seitenkopf div
  {
    margin: 0;
    padding: 0;
    padding-top: 10px;
    font-size: 24px;
    font-size: 2.4rem;
  }
  
  #seitenkopf div .ekhnlila
  {
    font-size: 30px;
    font-size: 3.0rem;
    display: block;
  }
  
  ul#navigation li a
  {
    width: auto;
    border-bottom: 1px solid white;
  }
  
  ul#navigation
  {
    margin-bottom: 20px;
  }
  
  #menu
  {
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 951px) and (max-width: 1150px)
{
  
  #wrap
  {
    width: 90%;
    width: calc(100% - 20px);
    margin: 0px auto;
    border: 0px solid red;
    padding: 0;
  }
  
  ul#navigation li a
  {
    width: auto;
    border-bottom: 1px solid white;
  }
  
  ul#navigation
  {
    margin-bottom: 20px;
  }
}