@import url(http://www.ekmd.de/css/main.css);

body {
  text-align:center;
}

div#main {
  margin: 0 auto;
  padding: 0;
  background: #f2f1ed url(../images/bgmain.gif) repeat-y 50% 50%;
}

div#wrapper {
  margin: 0 auto;
  max-width: 63em;
  min-width: 770px;
  font-size: 0.750em;
  background-color: #fff;
  position: relative;
  text-align: left;
}

/* the bodge for IE6 browsers */
* html div#wrapper {width: 63.4em;}


/******** topNavigation ********/

div#topNavigation {
  background-color: transparent;
  position: relative;
  padding-top: 0;
  z-index: 5;
}

div#topNavigation fieldset {
  padding-top: 0.6em;
}

ul#topSubNavigation {
  padding: 0.833em 0.833em;
}

ul#topSubNavigation fieldset {
  padding-top: 0.833em;
}

/******** Suchfeld ********/

form#sitesearchForm {
  width: 19em;
}

input.searchfield {
  width: 14em;
}


/******** logo ********/

div#topLogo {
  background: #fff url(../images/header1.jpg) no-repeat right bottom;
  height: 17em;
  position: relative;
  z-index: 2;
  top: -2.5em;
}

div#ekmLogo {
  position: relative;
  z-index: 1;
  top: 2.8em;
  left: 2.8em;
  width: 38.318em;
}

div#ekmLogo span {
  display: none;
}

div#ekmLogo h1 {
  margin: 0;
  border: 0;
}

div#ekmLogo a {
  display: block;
  background: transparent url(../images/ekmLogoEisenach1.gif) no-repeat;
  height: 7.5em;
  border: 0;
}

div#ekmLogo a:active {
  top: 0;
}


/******** mainNavigation ********/

div#mainNavigation {
  margin-top: -4.43em;
  background: transparent;
}


div#mainNavigation ul li {
  margin-right: 0.13em;
  border-right: solid 0.083em #88afd5;
  border-left: solid 0.083em #88afd5;
}

#home {
  width: 12%;
}

#gemeindeleben {
  width: 15%;
}

#kalender {
  width: 11%;
}

#kirchenkreis {
  width: 14%;
}

#kirchenmusik {
  width: 14%;
}

#kontakt-service {
  width: 18.5%;
}


div#mainNavigation ul li.last a:hover,
div#mainNavigation ul li.last a:active,
div#mainNavigation ul li.last a:focus {
  margin-right: 0;
}

/******** subNavigation ********/

div#subNavigationDiv {
  line-height: 1.999em;
  border: 0;
  position: relative;
  overflow: visible;
  z-index: 3;
  width: 100%;
  float: left !important;
  float: none;
  background: #efeeef url(http://www.ekmd.de/images/bgNavigation.gif) repeat-x 0 100%;
}

ul#subNavigation {
  padding-left: 0;
  list-style-type: none;
  margin-left: 0.5em;
  background: transparent;
}

ul#subNavigation a {
  display: block;
  padding: 0 0.7em;
  font-family: 'Tahoma';
  color: #333;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 0;
}

/******** subNavigation level2 ********/

ul#subNavigation li ul {
  width: 15.825em;
}

ul#subNavigation ul li ul  {
  margin: -2em 0 0 13em;
  display:none;
  background-color: #ebeced;
  font-size: 105%;
}


ul#subNavigation li ul li a,
ul#subNavigation ul li ul a {
  border-bottom: 0.083em solid #fff;
  width: auto;
}

ul#subNavigation li ul li a.last {
  border-bottom: 0;
}

ul#subNavigation li:hover,
ul#subNavigation li.last:hover,
ul#subNavigation li.current:hover,
ul#subNavigation ul li:hover ul,
ul#subNavigation li.sfhover,
ul#subNavigation ul li.sfhover ul  {
  display: block;
}


/******** mainContent ********/

div#pathkk {
  margin-top: 0;
  background-color: #f5f5f5;
  border-bottom: solid #f5f5f5 0.499em;
  padding-left: .55em;
  color: #5f5f5f;
}

div#pathkk a,
div#pathkk .raquo {
  border: 0;
  color: #999;
}

div#pathkk a:hover {
  color: #05519c;
}

#container1 {
  right: 35%;
}

#col1 {
  width: 60% !important;
  left: 35%;
  padding: 1.666em;
}

#col2 {
  width: 31% !important;
  left: 36% !important;
  padding: 0.666em;
}


/******** Images / Media ********/

div#content img {
  width: auto;
  max-width: 34.986em;
}

div#content img.map {
  border: 0;
  padding: 0;
  max-width: 100%;
  margin: 0;
  background-color: transparent;
}

div#content .fullimagemap {
  float: right;
}

div#content .slist_left img,
div#content .slist_right img,
div#content img .portrait {
  width: 12.495em;
  float:  none;
}

div#content img.none {
  background-color: #fff;
  border: 0;
}

div#content img.icon {
  background-color: #fff;
  border: 0;
  width: auto;
  margin: 0;
  padding: 0;
}

div#content .media {
  margin: 0 0 0.416em 0;
  float: none;
  border: none;
  background-color: #fff;
}

div#content img.portrait {
  float: left;
  width: auto;
}

div#content img.right {
  float: right;
  width: auto;
}

div#content dl.fullimage, div#content dl.smallimagecol1, div#content dl.smallimagecol1-right {
  width:auto;
}

div#content dl.smallimagecol1, div#content dl.smallimagecol1-right {
  width: 12.495em;
}

a.external{
  background: transparent url(../images/linkout.gif) no-repeat right center;
}

/******** Formular area ********/

fieldset.app {
  background-color:#f5f5f5;
  border: 0.083em solid #bbb;
  margin:0.833em 0;
  padding: 0.3em;
  width: auto;
}

fieldset.app legend {
  font-weight: bold;
  padding: 0 0.833em;
  margin: 0 0.833em;
}

fieldset.app label {
  margin: 0 0.833em 0 0;
  display: block;
  cursor: pointer;
}

label.app,
input.app,
.input-s,
.input-m,
.input-l,
select.app,
textarea.appsmall { /* Alle Labels UND Formularelemente auswählen */
  display: block;
  float: left;
  width: 8em; /* Breite.*/
}

form br { /* Alle Zeilenumbrüche in Formularen auswählen */
  clear: left; /* das floating der labels und inputs aufheben */
}

.force {
  padding-right: 0.5em;
}

label.app {
  display: block;
  text-align: right; 
  padding-right: 1em; 
}

.input,
textarea,
select,
.input-l,
.input-m,
.input-s {
  border: 0.0833em #bebcb7 solid;
  background: #fff url(../images/form-bg.jpg) repeat-x 0 0;
  height: auto;
font-size: 110%;
}

.input-s  {
  width: 3em;
  margin-right: 0.4165em;
}

.input-m  {
  width: 16em;
  margin-right: 0.4165em;
}

.input-l {
  width: 20em;
}

textarea.app-l {
  width: 22.5em;
  height: 9em;
  font-size: 120%;
}


.frage, .adresse {
  float: left;
  margin-top: 0.833em;
}

.adresse {
  padding: 0 1.25em;
}

.error {
  color: #c90b1c;
}

.errormessage, .success {
  padding: 20px;
  color: #fff;
  background-color: #c90b1c;
}

.success {
  background-color: #87bc20;
}

.required {
  background: #FAEBE7;
  border: 0.083em dashed #ee2630;
}

div#content form.searchform input.submit {
  margin-left: 0;
  width: 15em
}

/******** Calendar Table ********/

table.calendar {
  table-layout: fixed;
  width: 100%;
}

table.calendar input {
  width: 100%;
  font-size: 100%;
  font-weight: bold;
  cursor: pointer;
  padding-left: 0;
  border-left: 0.04em solid #fff;
  border-top: 0.04em solid #fff;
  color: #05519E;
  font-family: 'Verdana';
}

table.calendar caption {
  margin: 0.833em 0;
}

table.calendar caption input {
  margin: 0 0.833em;
  width: 5.6em;
  border: solid 0.0833em #bbb;
}

table.calendar tr.weekdays {
  background: #00519E url(http://www.ekmd.de/images/bgMainNavigation.gif) repeat-x scroll left top;
  color: #fff;
}

table.calendar th {
  text-align: center;
  padding: 0.2em 0;
}

table.calendar td {
  width: 14.2%;
  text-align: center;
  border: solid 0.0833em #bbb;
  color: #bbb;
}

table.calendar td.holiday {
  color: #d80404;
}

table.calendar td.holiday input {
  color: #d80404;
}

table.calendar td.empty {
  border: 0;
}

table.calendar td.active input {
  background-color: #87bc20;
  color: #fff;
}

table.events {
  margin-top: 0.833em;
}

table.events a {
  cursor: pointer;
}

table.events a:visited {
  color:#739C05;
}

table.events td.tdleft,
table.events td.tdright {
  background-color: #fff;
}

div#content a.prev,
div#content a.next {
  background-color: #fff;
}



/******** Google Maps ********/

#gmap {
  widht: 415px;
  height: 350px;
  border: solid 0.083em #a3abb1;
  padding: 0.162em;
}

div#content div#gmap img {
  background-color: transparent;
  max-width: none;
}