body {
  margin: 0;
  padding: 0;
  font: 12px Arial, Tahoma, Verdana, sans-serif;
  color: #ccc;
  overflow-y: scroll;
  background: #000;
  cursor: default;
}

body:fullscreen { overflow-y: auto; }
body:-moz-full-screen { overflow-y: auto; }
body:-webkit-full-screen { position: fixed; left: 0; top: 0; width: 100%; height: 100%; overflow-y: auto; }

.logSQL {
  background: #000;
  color: #fff;
  padding: 2px;
  text-align: left;
  white-space: nowrap;
}

.backtrace, .lastSQL.params, .lastSQL.results {
  font: italic 10px/12px Arial, sans-serif;
}

.lastSQL {
  font: 12px/14px Arial, sans-serif;
}

.lastSQL.params, .lastSQL.results {
  margin-left: 4px;
}


/* seal navigation */
#nav_browser {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 42px;
  background: url('/img/nav/bg_browser.png');
  color: #fff;
  line-height: 42px;
}

#nav_browser > a {
  background: url('/img/nav/sprite_browser2.png');
  float: left;
  height: 42px;
  width: 54px;
}

#nav_browser > a.back           { width: 48px; background-position: 0 0; }
#nav_browser > a.back:hover     { background-position: 0 -42px; }
#nav_browser > a.forward        { width: 36px; background-position: -48px 0; }
#nav_browser > a.forward:hover  { background-position: -48px -42px; }
#nav_browser > a.reload         { width: 36px; background-position: -84px 0; }
#nav_browser > a.reload:hover   { background-position: -84px -42px; }

#nav_browser > a.facebook       { margin-left: 10px; width: 46px; background-position: -120px 0; }
#nav_browser > a.facebook:hover { background-position: -120px -42px; }

#nav_browser > a.vspacer        { width: 8px; background-position: -160px 0; }

#nav_browser > a.payment        { background-position: -222px 0; }
#nav_browser > a.payment:hover  { background-position: -222px -42px; }
#nav_browser > a.forum          { background-position: -330px 0; }
#nav_browser > a.forum:hover    { background-position: -330px -42px; }
#nav_browser > a.settings       { background-position: -168px 0; }
#nav_browser > a.settings:hover { background-position: -168px -42px; }
#nav_browser > a.rules          { background-position: -438px 0; }
#nav_browser > a.rules:hover    { background-position: -438px -42px; }
#nav_browser > a.help           { background-position: -546px 0; }
#nav_browser > a.help:hover     { background-position: -546px -42px; }
#nav_browser > a.rankings       { background-position: -385px 0; }
#nav_browser > a.rankings:hover { background-position: -385px -42px; }

#nav_browser > a.fullscreen       { background-position: -600px 0; }
#nav_browser > a.fullscreen:hover { background-position: -600px -42px; }
#nav_browser > a.fullscreen.active { background-position: -654px 0; }
#nav_browser > a.fullscreen.active:hover { background-position: -654px -42px; }
#nav_browser > a.fullscreen.notSupported { opacity: 0.5; cursor: help; }


table.points {
  float: left;
  margin: 2px 7px;
  border-collapse: separate;
  border-spacing: 8px 0;
  text-align: left;
  color: #0cf;
  font: bold 10px/19px Arial, sans-serif;
}

#top_points {
  text-align: right;
  color: #ccc;
}

#top_rank {
  text-align: right;
  font-size: 14px;
  color: #fff;
}

#showLoading {
  float: left;
  margin-left: 35px;
  font-weight: bold;
}

#showConfirmationHint {
  float: left;
  margin-left: 35px;
}

#showConfirmationHint > a { font-weight: bold; color: red; }

#nav_browser > div.logout { float: right; margin-right: 25px; }
#nav_browser > div.logout > a { font-weight: bold; color: #fff; }

#nav_browser > a.logout { position: absolute; right: 0; background-position: -708px 0; }
#nav_browser > a.logout:hover { background-position: -708px -42px; }

/* navigation */
#top {
  position: fixed;
  left: 0;
  top: 42px;
  width: 100%;
  min-width: 1000px;
}


#profileRazziaContainer {
  position: absolute;
  top: 1px;
  left: 10px;
}

div.profileContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 234px;
  height: 102px;
  background: url('/img/site/avatar-bg.png');
}

#top_thumb {
  position: absolute;
  left: 10px;
  top: 13px;
  display: block;
  width: 50px;
  height: 50px;
  border: 1px solid #ddd;
}

#top_profile {
  position: absolute;
  left: 69px;
  top: 16px;
  width: 155px;
  height: 16px;
  color: #fff;
  font: bold 14px/16px Arial, sans-serif;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#nextListContainer {
  position: absolute;
}

#districtsListContainer {
  position: absolute;
}

#razziaContainer {
  position: absolute;
}


#toggleNextList {
  position: absolute;
  left: 99px;
  top: 47px;
  width: 155px;
  height: 24px;
  font: bold 11px/24px Arial, sans-serif;
  overflow: hidden;
}

a.noclick {
  cursor: default;
}

#toggleNextList > a {
  color: #fff;
}

em.nextActive {
  display: inline-block;
  width: 29px;
  height: 24px;
  background: url('/img/site/aktiver-auftrag.png');
  vertical-align: middle;
}

em.pulldown {
  display: inline-block;
  width: 22px;
  height: 15px;
  background: url('/img/site/pulldown.png');
  vertical-align: middle;
}

a:hover > em.pulldown {
  background-position: 0 -15px;
}

#nextList {
  position: absolute;
  left: 6px;
  top: 71px;
  border: 1px #363535 solid;
  border-radius: 8px;
  display: none;
  width: 300px;
  padding: 5px;
  background: #4D4C4C;
  box-shadow: 0 2px 10px #000;
  z-index: 1;
}

#nextList h3.subtitle {
  margin: 5px -5px;
  border-radius: 8px 8px 0 0;
  border-top: 1px #363535 solid;
  text-align: center;
}

#nextList h3.subtitle:first-child {
  margin-top: -5px;
  border-top: 0;
}


#toggleDistrictList {
  position: absolute;
  left: 36px;
  top: 82px;
  width: 191px;
  height: 16px;
  font: bold 13px/16px Arial, sans-serif;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#toggleDistrictList > a {
  color: #fff;
}

a.noclick {
  cursor: default;
}

span.townShort {
  color: #ccc;
}

#districtList {
  position: absolute;
  left: 32px;
  top: 98px;
  width: 198px;
  display: none;
  border-style: solid;
  border-width: 1px 2px 2px 1px;
  border-color: #000;
  border-radius: 0 0 10px 10px;
  white-space: nowrap;
  background: #363535;
  padding: 1px 0 2px;
  box-shadow: 0 2px 10px #000;
  max-height: 300px;
  overflow-y: auto;
}

#districtList > p {
  padding: 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#districtList > p.active {
  background: #000;
}

#districtList > p:hover {
  background: #000;
  outline: dotted 1px #FFB514;
}

#districtList > p.active:hover {
  outline: 0;
}

#districtList > p > a {
  color: #fff;
}


a.razzia {
  position: absolute;
  left: 255px;
  top: 6px;
  display: block;
  width: 81px;
  height: 89px;
  color: #000;
  background: url('/img/site/cop.png');
}

a.razzia:hover {
  background-position: -81px 0;
  color: #666;
}

a.razzia.active {
  background-position: -162px 0;
}

em.coplevel {
  position: absolute;
  top: 65px;
  left: -14px;
  display: block;
  width: 110px;
  height: 28px;
  background: url('/img/site/coplevel.png');
}

em.coplevelArrow {
  position: absolute;
  top: 60px;
  left: -12px;
  display: block;
  width: 26px;
  height: 19px;
  background: url('/img/site/arrow.png');
}

em.coplevel.active {
  position: absolute;
  top: 71px;
  left: 6px;
  display: block;
  width: 66px;
  height: 16px;
  background: #fff;
  text-align: center;
  font: bold 12px/16px Arial, sans-serif;
  border: 1px solid #333;
  border-radius: 16px;
  box-shadow: 3px 2px 3px #333;
}


#navContainer {
  position: absolute;
  right: 10px;
  top: 2px;
  width: 650px;
}

div.waresContainer {
  position: absolute;
  left: 0;
  top: 0;
  width: 650px;
  height: 52px;
  background: url('/img/site/waren-bg.png');
}

.percentageBg {
  position: absolute;
  top: 18px;
  left: 47px;
  width: 94px;
  height: 10px;
  border-radius: 4.5px;
  overflow: hidden;
  background-color: #7c7c7c;
}

.percentageBg.drugs {
  left: 190px;
}

#percentage_money, #percentage_drugs {
  position: absolute;
  left: 0;
  top: 0;
  background: none 0 0 / 94px 16px #c00;
  background-image: linear-gradient(90deg, #5c0, #cc0, #c00);
  background-image: -webkit-linear-gradient(0deg, #5c0, #cc0, #c00);
  background-image: -ms-linear-gradient(0deg, #5c0, #cc0, #c00);
  width: 100%;
  height: 100%;
}

.percentage.shadow {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 4.5px;
  box-shadow: 0 1px 2px #000 inset;
}

#wares_money, #wares_drugs, #wares_visitors, #top_actions, #wares_coin {
  position: absolute;
  top: 15px;
  left: 56px;
  width: 75px;
  height: 18px;
  color: #fff;
  text-align: center;
  font: bold 12px/18px Arial, sans-serif;
}

#wares_money, #wares_drugs {
  text-shadow: 0 1px 3px #000000, 0 0 2px #000000;
}

#wares_drugs {
  left: 198px;
}

#wares_visitors {
  left: 345px;
}

#top_actions {
  left: 479px;
  width: 50px;
}

#wares_coin {
  left: 580px;
  width: 55px;
}

a.plusLink {
  display: inline-block;
  position: absolute;
  top: 6px;
  right: 2px;
  width: 109px;
  height: 32px;
}


#production_money, #production_drugs {
  position: absolute;
  top: 38px;
  left: 46px;
  width: 79px;
  height: 12px;
  text-align: center;
  color: #ddd;
  font: bold 10px/12px Arial, sans-serif;
}

#production_drugs {
  left: 190px;
}

#navHead { position: absolute; left: 5px; top: 60px }
#navHead a { background-image: url('/img/nav/NavSprite.png'); width: 52px; height: 52px; float: left; }
#navHead a.aDistrict { background-position: 0 0; }
#navHead a.aDistrict:hover { background-position: 0 -52px; }
#navHead a.aMap { background-position: -52px 0; }
#navHead a.aMap:hover { background-position: -52px -52px; }
#navHead a.aMain { background-position: -104px 0; }
#navHead a.aMain:hover { background-position: -104px -52px; }
#navHead a.aFamily { background-position: -156px 0; }
#navHead a.aFamily:hover { background-position: -156px -52px; }
#navHead a.aGroup { background-position: -260px 0; }
#navHead a.aGroup:hover { background-position: -260px -52px; }
#navHead a.aStart { background-position: -208px 0; }
#navHead a.aStart:hover { background-position: -208px -52px; }
#navHead a.aExtras { background-position: -312px 0; }
#navHead a.aExtras:hover { background-position: -312px -52px; }

#top_townName {
  position: absolute;
  right: 5px;
  top: 58px;
  width: 245px;
  height: 52px;
}

#top_townName.town_0 { background: url('/img/towns/town-0.png'); }
#top_townName.town_1 { background: url('/img/towns/town-1.png'); }
#top_townName.town_2 { background: url('/img/towns/town-2.png'); }
#top_townName.town_3 { background: url('/img/towns/town-3.png'); }
#top_townName.town_4 { background: url('/img/towns/town-4.png'); }
#top_townName.town_5 { background: url('/img/towns/town-5.png'); }

#premiumOverview {
  position: absolute;
  top: 100px;
  right: 10px;
  background: url('/img/site/prem-uebersicht.png');
  width: 53px;
  height: 49px;
}

#charityOverview {
  position: absolute;
  top: 90px;
  right: 110px;
  background: url('/img/site/charity-icon.png');
  width: 105px;
  height: 100px;
}

#charityOverview:hover {
  background-position: 0 100px;
}

#msgUnread {
  position: absolute;
  top: 55px;
  left: 193px;
  display: none;
  width: 16px;
  height: 16px;
  background: #fff;
  color: #000;
  font: bold 13px/16px Arial, sans-serif;
  border: 1px solid #000;
  border-radius: 8px;
  text-align: center;
  opacity: 0.75;
  filter: alpha(opacity=75);
}

#attackAlert {
  position: absolute;
  top: 55px;
  left: 141px;
  display: none;
  width: 16px;
  height: 16px;
  background: #800;
  border: 1px solid #cd0;
  border-radius: 8px 8px 8px 8px;
  color: #cd0;
  font-size: 13px;
  font-weight: bold;
  opacity: 0.75;
  text-align: center;
}

#freeSpots {
  cursor: default;
  position: absolute;
  top: 55px;
  left: 37px;
  width: 16px;
  height: 16px;
  border: 1px solid #ccc;
  border-radius: 8px 8px 8px 8px;
  color: #ccc;
  font-size: 13px;
  font-weight: bold;
  opacity: 0.75;
  text-align: center;
  background: none repeat scroll 0 0 #060;
}
#freeSpots.warning { background: none repeat scroll 0 0 #cd0; border-color: #600; color: #600; }
#freeSpots.error { background: none repeat scroll 0 0 #600; border-color: #cd0; color: #cd0; }


#districtViewport {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
  #districtViewport {
    position: absolute !important;
    overflow: scroll !important;
  }
}

#districtView {
  position: absolute;
  display: block;
  width: 2280px;
  height: 1500px;
  background: url("/img/district/bg_day.jpg") 50% 50% #000 no-repeat;
  cursor: move;
  border-top: solid 42px #000;
}


#mainContent {
  position: relative;
  left: 0;
  top: 170px;
  width: 1000px; /* leaves 24 pixel for the usually 15-17 pixel wide scrollbar */
  margin: 0 auto;
}

#pageContainer {
  position: relative;
  margin-bottom: 15px;
}

#menuContainer {
  float: left;
  width: 210px;
  text-align: center;
  margin-right: 15px;
}

#subpageContainer {
  float: left;
  position: relative;
  min-width: 727px;
}

#sectionContainer {
  position: relative;
}

#shadow {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.60;
  filter: alpha(opacity=60);
  background: #000;
}


#awardContainer {
  position: fixed;
  font-size: 11px;
  left: 50%;
  top: 150px;
  width: 360px;
  margin-left: -180px;
}

#feedbackContainer {
  position: fixed;
  top: 80px;
  width: 400px;
  left: 50%;
  margin-left: -200px;
}

#feedbackErrContainer, #feedbackMsgContainer {
  display: none;
  border: 1px solid #555;
  box-shadow: 2px 2px 15px #000;
  background: url('/img/box/bg_content.png');
}

#takeOverReportContainer {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 400px;
  margin: -200px 0 0 -200px;
}

#promoRightContainer {
  position: absolute;
  top: 10px;
  left: 990px;
  width: 160px;
  height: 600px;
}

#adminMenuContainer {
  position: fixed;
  top: 220px;
  right: 10px;
  width: 300px;
}

#promoBottomContainer {
  margin: 0 auto;
  margin-top: 3px;
  width: 728px;
  height: 90px;
}


div.infoBox {
  position: absolute;
  color: #ccc;
  width: 117px;
  display: none;
  border: 2px solid #ddd;
  border-radius: 5px;
  box-shadow: 2px 2px 20px #333;
}

div.infoBox a.enter {
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  bottom: 0px;
  right: 1px;
  background: url('/img/form/send_enter.png') no-repeat -6px 0;
  overflow: hidden;
  border-radius: 16px;
  border: 2px none transparent;
}
div.infoBox a.enter:hover { border: 2px solid #fff; }

h3.infoBoxName {
  border: 1px solid #fff;
  border-width: 1px 1px 0;
  background: url('/img/box/bg_subtitle.jpg');
  font: bold 16px/22px "Times New Roman", serif;
  padding-bottom: 3px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
div.infoBox.enter h3.infoBoxName { background: #245d24; }

h5.infoBoxLevel {
  border: 1px solid #fff;
  border-width: 0 1px;
  background: #333;
  font: bold 10px/13px Arial, sans-serif;
  text-align: center;
}

img.infoBoxPicture {
  width: 115px;
  height: 115px;
  border: 1px solid #fff;
  display: block;
}


div.build {
  position: absolute;
  text-align: center;
}

em.buildIcon {
  display: inline-block;
  background: url("/img/district/build_icons.png") -80px 0;
  width: 40px;
  height: 60px;
}

em.buildIcon.active {
  background-position: -160px 0;
}

p.buildTime {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #ddd;
  border-radius: 5px;
  color: #ddd;
  font: italic 12px/20px Arial, sans-serif;
  padding: 0 5px;
  white-space: nowrap;
  min-width: 50px;
}

p.buildTime.active {
  border: 2px solid #fff;
  color: #fff;
  font: bold 12px/20px Arial, sans-serif;
}

table, tr, td, th { border: none; margin: 0; padding: 0; border-collapse: collapse; }
img { border: none; margin: 0; vertical-align: middle; }
h1, h2, h3, h4, h5, h6, p, form { margin: 0; padding: 0; }
form { display: inline; }
hr { border: none; height: 1px; background-color: #000; margin: 0; }

h1 { font-size: 16px; }
h2 { font-size: 15px; }
h3 { font-size: 14px; }
h4 { font-size: 13px; }
h5 { font-size: 12px; }
h6 { font-size: 11px; }

.bold { font-weight: bold; }
.italic { font-style: italic; }

.large { font-size: 14px; }
.norm { font-size: 12px; }
.small { font-size: 11px; }
.mini { font-size: 10px; }
.micro { font-size: 8px; }

.black { color: #000; }
.blue { color: #0341cf; }
.lightBlue { color: #6F6FF4; }
.green { color: #080; }
.greenDark { color: #050; }
.red { color: #800; }
.white { color: #fff; }
.yellow { color: #ffed5d; }
.grey { color: #555; }
.orange { color: #ffb514; }
.badRed { color: #f00; }
.poison { color: #0f0; }

.bgBlack { background-color: #000; }
.bgBlue { background-color: #252561; }
.bgGreen { background-color: #080; }
.bgGreenDark { background-color: #050; }
.bgRed { background-color: #800; }
.bgWhite { background-color: #fff; }
.bgYellow { background-color: #ffdc4c; }
.bgGrey { background-color: #555; }
.bgGreyDark { background-color: #333; }
.bgOrange { background-color: #ffb514; }

.borderBlack { border: 1px solid #000; }
.borderBlue { border: 1px solid #252561; }
.borderGreen { border: 1px solid #080; }
.borderRed { border: 1px solid #800; }
.borderWhite { border: 1px solid #fff; }
.borderYellow { border: 1px solid #ffdc4c; }
.borderYellow { border: 1px solid #555; }
.borderOrange { border: 1px solid #ffb514; }
.borderGrey { border: 1px solid #555; }

.borderTop { border-top: 1px solid #000; }
.borderBottom { border-bottom: 1px solid #000; }
.borderLeft { border-left: 1px solid #000; }
.borderRight { border-right: 1px solid #000; }

.borderTopGrey { border-top: 1px solid #555; }
.borderBottomGrey { border-bottom: 1px solid #555; }
.borderLeftGrey { border-left: 1px solid #555; }
.borderRightGrey { border-right: 1px solid #555; }

a { color: #bbb; text-decoration: none; outline: 0; }
a:active { color: #bbb; }
a:hover { color: #fff; }

.aYellow a { color: #ffdc4c; }
.aYellow a:active { color: #FFC337; }
.aYellow a:hover { color: #FFC337; }

.aWhite a { color: #fff; }
.aWhite a:active { color: #ccc; }
.aWhite a:hover { color: #ccc;}

.aBlack a { color: #000; }
.aBlack a:active { color: #ccc; }
.aBlack a:hover { color: #bd9e4c;}

.aGreen a { color: #080; }
.aGreen a:active { color: #fff; }
.aGreen a:hover { color: #fff;}

.aRed a { color: #800; }
.aRed a:active { color: #fff; }
.aRed a:hover { color: #fff;}

.aBlue a { color: #252561; }
.aBlue a:active { color: #6fa9ac; }
.aBlue a:hover { color: #bd9e4c;}

.aGold a { color: #bd9e4c; }
.aGold a:active { color: #bd9e4c; }
.aGold a:hover { color: #ccc;}

.aOrange a { color: #ffb514; }
.aOrange a:active { color: #bd9e4c; }
.aOrange a:hover { color: #ccc; }

.aOrangeUnderlined a {
  color: #ffb514;
  text-decoration: underline;
}
.aOrangeUnderlined a:active { color: #bd9e4c; }
.aOrangeUnderlined a:hover { color: #ccc;}

.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }

.bottom { vertical-align: bottom; }
.middle { vertical-align: middle; }
.top { vertical-align: top; }

.floatLeft { float: left; }
.floatRight { float: right; }

.abs { position: absolute; }
.rel { position: relative; }

.hidden { display: none; }

.clear {
  clear: both;
  line-height: 0;
}

.spacer {
  margin-top: 3px;
  line-height: 1px;
}

ul { margin: 0; padding: 0; list-style-type: none; }
li { margin: 0; padding: 0; }
ul.floatLeft li { float: left; }

.cursorPointer { cursor: pointer; }

.tdPadding td { padding: 2px; }
.tdBigPadding td { padding: 5px; }
.tdNoPadding td { padding: 0px; }

.t25 { opacity:.25; -moz-opacity: 0.25; filter: alpha(opacity=25); }
.t45 { opacity:.45; -moz-opacity: 0.45; filter: alpha(opacity=45); }
.t50 { opacity:.50; -moz-opacity: 0.50; filter: alpha(opacity=50); }
.t75 { opacity:.75; -moz-opacity: 0.75; filter: alpha(opacity=75); }


/* Formulare */
input.formButtonRed, input.formButtonBlue, input.formButtonGreen, input.formButtonOrange {
  width: 100%;
  height: 24px;
  font-size: 12px;
  border-radius: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  text-align: center;
  border: 0;
  margin: 3px 0;
  color: #e0ddd7;
  cursor: pointer;
  background-color: #629618;
  -webkit-appearance: none;
}

input[type=text], select {
  background: url('/img/form/input.jpg') #bbb;
  border: solid 1px #ccc;
  color: #000;
}

@media (-webkit-min-device-pixel-ratio: 0) {
  select {
    background: #999;
  }
}

input[type=text]:disabled, input[type=tel]:disabled {
  color: #aaa;
  opacity: 0.8;
}

input[type=checkbox], input[type=radio] {
  background: transparent;
  border: 0;
}

option {
  color: #000;
  background: #999;
}

textarea {
  background: #bbb;
  border: solid 1px #ccc;
  color: #000;
  resize: none;
}

input.formButtonRed, input.formButtonBlue, input.formButtonGreen, input.formButtonOrange {
  color: #fff;
  font-size: 12px;
  height: 24px;
  cursor: pointer;
}
input.formButtonRed { background-color: #b00d1b; }
input.formButtonBlue {  background-color: #4a91bb }
input.formButtonGreen { background-color: #629618;; }
input.formButtonOrange { background: url('/img/form/send_orange.png'); }

input.disabled {
  opacity: 0.25;
  cursor: default;
}

input.bigButton {
  font-size: 16px;
  height: 30px;
  padding-bottom: 4px;
}

/* Eine gleichfÃ¶rmige liste von Formularelementen */
ul.formRight                      {   }
ul.formRight li                   { height: 20px; line-height: 20px; margin: 2px 0; }
ul.formRight li span              { float: left; text-align: right; width: 40%; color: #fff; font-weight: bold; }
ul.formRight li input, li select  { float: right; width: 57%;  }

/* Links like FormSends */
/*
.aButtonRed a, .aButtonBlue a, .aButtonGreen a, .aButtonOrange a {
  margin: 0 auto;
  display: block;
  width: 99%;
  height: 24px;
  border: solid 1px #ccc;
  text-align: center;
  color: #fff;
  font-size: 12px;
  line-height: 24px;
  cursor: pointer;
}*/

.icons-plus {
  background: url("/img/icons/btn-icon.png") no-repeat 0 0/320px 40px;
  position: relative;
  padding: 40px;
  width: 40px;
  height: 40px;
  margin: 0 0;
}
.icons-plus.arrowUP {
  background-position: 0 0;
}
.icons-plus.arrowDOWN {
  background-position: -40px 0;
}
.icons-plus.cancel {
  background-position: -80px 0;
}
.icons-plus.finish {
  background-position: -120px 0;
}
.icons-plus.push {
  background-position: -160px 0;
}
.icons-plus.visit {
  background-position: -200px 0;
}
.icons-plus.cart {
  background-position: -240px 0;
}
.icons-plus.push2 {
  background-position: -280px 0;
}

.aButtonRed a, .aButtonBlue a, .aButtonGreen a, .aButtonOrange a {
  width: 100%;
  height: 24px;
  border-radius: 0;
  padding: 0 10px;
  display: block;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  text-align: center;
  border: 0;
  margin: 3px 0;
  color: #e0ddd7;
  line-height: 24px;
  cursor: pointer;
  background-color: #629618;
  -webkit-appearance: none;
}

.aButtonRed a { background-color: #b00d1b; }
.aButtonBlue a {  background-color: #4a91bb; }
.aButtonGreen a { background-color: #629618; }
.aButtonOrange a { background-color: #E07800; }

.aButtonRed a:hover { color: #000; }
.aButtonOrange a:hover { color: #000; }

.buttonRed {
  width: 100%;
  font: 13px/21px Arial, sans-serif;
  height: 23px;
  border-radius: 0;
  display: block;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  text-align: center;
  border: 0;
  margin: 3px 0;
  color: #e0ddd7;
  cursor: pointer;
  background-color: #b00d1b;
  -webkit-appearance: none;
}
.buttonRed.small  {
  font: 12px/16px Arial, sans-serif;
  height: 18px;
  margin: 2px 0;
}

.aBigButton a {
  width: 100%;
  font: 16px/26px Arial, sans-serif;
  height: 30px;
  border-radius: 0;
  display: block;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  text-align: center;
  border: 0;
  margin: 0 auto;
  color: #e0ddd7;
  cursor: pointer;
  background-color: #b00d1b;
  -webkit-appearance: none;
}

.aBigButton a:hover {
  color: #ccc;
}

/* Noch mehr Links, diesmal kleiner und als Liste */
ul.buttons li a {
  background-color: #629618;
  color: #fff;
  margin: 0 auto;
  margin-bottom: 1px;
  cursor: pointer;
  display: block;
  text-align: center;
  font-size: 10px;
  height: 14px;
  line-height: 14px;
}
ul.buttons li a.delete { background-color: #b00d1b; }

ul.buttons li a:hover {
  color: #ffb514;
}

ul.buttons li.green a { background-color: #629618; }
ul.buttons li.red a { background-color: #b00d1b; }
ul.buttons li.blue a { background-color: #4a91bb; }
ul.buttons li.yellow a { background-color: #E07800; }

ul.buttons li.yellow a:hover { color: #000; }


/* Die lieben Boxen */
.box {
  position: relative;
  text-align: left;
}

.box.closable {
  box-shadow: 2px 2px 15px #000;
}

.box .title {
  height: 33px;
  text-indent: 10px;
  color: #bbb;
  font: bold 20px/33px "Arial", sans-serif;
  text-shadow: 0 2px 2px #000;
  border-image: url("/img/box/bg_header.png") 9 8 6 8 fill / 8px / 1 1 1 1 round round;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box.draggable > .title {
  cursor: move;
}

.box .subtitle, h3.subtitle {
  height: 25px;
  text-indent: 5px;
  font: 16px/25px "Arial", sans-serif;
  background: url('/img/box/bg_subtitle.png');
  border: 1px solid #333;
  white-space: nowrap;
}

.box .content {
  background: #242424;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #000;
  border-top: 0;
}

.box .close {
  position: absolute;
  right: 6px;
  top: 6px;
  display: block;
  width: 20px;
  height: 20px;
  background: url('/img/site/close.png');
}

.box .close:hover {
  background-position: 0 -21px;
}


.boxNav {
  width: 210px;
  text-align: left;
}

.boxNav .title {
  height: 35px;
  text-indent: 19px;
  color: #bbb;
  font: bold 20px/35px "Arial", sans-serif;
  text-shadow: 0 2px 2px #000;
  background: url('/img/box/bg_nav_title.png');
  white-space: nowrap;
}

.boxNav .content {
  background: #363636;
  border: 1px solid #000;
  border-width: 0 1px 0;
}

.boxNav .bottom {
  background: #363636;
  border: 1px solid #000;
  border-width: 0 1px 1px;
  border-radius: 0 0 8px 8px;
  height: 8px;
  margin-bottom: 5px;
}

.menu a {
  display: block;
  background: url('/img/form/send_nav.png');
  height: 25px;
  color: #eee;
  text-indent: 16px;
  font: bold 12px/25px Arial, sans-serif;
}

.menu a:hover {
  background-position: 0 -25px;
}

div.subBox {
  padding: 5px;
  background-color: #333;
  border: 1px solid #555;
}

table.subBox td { background-color: #333; }
table.subBox td.noBg    { background: none; }
table.subBox tr.noBg td { background: none; }
tr.highlight td       { background-color: #800; }
table.tdBorderLeft td { border-left: 1px solid #555; }

/* Pager-Formatierung */
a.pagerLinks { color: #999; font-weight: bold; }
a.pagerLinks.curr, a.pagerLinks:hover { color: #fff; border-bottom: 1px dotted #fff; }
a.pagerLinks.prev { margin-right: 8px; }
a.pagerLinks.gap { color: #333; margin: 0 5px; }
a.pagerLinks.next { margin-left: 8px; }

/* Stadt-Karte */
tr.trOdd { background-color: #333; border: 1px solid #555; }
tr.trEven { }

#overDiv {
  position: absolute;
  left: 0;
  top: 0;
  margin: 15px 0 0 5px;
  border: solid 1px #000;
  border-radius: 4px;
  padding: 2px 3px;
  box-shadow: 2px 2px 4px #333;
  display: none;
  text-align: left;
  white-space: nowrap;
  float: left;
  overflow: hidden;
  background: #fff;
  color: #000;
  font: 12px "Lucida Grande", Tahoma, sans-serif;
}

/* closing link */
a.close {
  display: inline-block;
  vertical-align: middle;
  background: url('/img/site/close.png');
  height: 20px;
  width: 20px;
}
a.close:hover { background-position: 0 -21px; }


/* photohunt */
#photohuntEvents {
  position: fixed;
  top: 135px;
  left: 0;
  width: 0;
  display: block;
}
.photohuntEventNotifier {
  position: relative;
  display: none;
  width: 300px;
  height: 109px;
  background: url('/img/photohunt/bg_eventNotifier.jpg') no-repeat scroll 0 0 transparent;
  border: 2px solid #A19FA0;
  border-radius: 0 5px 5px 0;
  overflow: hidden;
  margin: 15px 0;
}
.photohuntEventNotifier .districtLink {
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  background: url("/img/form/send_green.png") repeat scroll 0 0 transparent;
  width: 138px;
  height: 24px;
  line-height: 24px;
  text-align: center;
}
.photohuntEventNotifier .districtLink .districtName { font-weight: bold; width: 50px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.photohuntEventNotifier .overviewLink {
  display: block;
  height: 103px;
  left: -137px;
  position: absolute;
  top: -3px;
  width: 133px;
}
.photohuntEventNotifier .overviewLink:hover { background: none repeat scroll 0 0 rgba(0, 0, 0, 0.2); }
.photohuntEventNotifier .overviewLink > span {
  background: url("/img/form/send_blue.png") repeat scroll 0 0 transparent;
  bottom: 0px;
  display: inline-block;
  height: 24px;
  left: 0;
  line-height: 24px;
  position: absolute;
  text-align: center;
  vertical-align: middle;
  width: 100%;
}
.photohuntContent {
  position: relative;
  top: 6px;
  left: 140px;
  width: 137px;
  height: 100px;
}
.photohuntContent > p { height: 84px; }
#photohuntEvents .toggleHandle {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 109px;
  background: url('/img/photohunt/i_slideOut.png') no-repeat 0 0 #a19fa0;
  background-size: 20px 109px;
  cursor: pointer;
}

.photohuntCam {
  position: absolute;
  bottom: 10px;
  left: 10px;
  height: 107px;
  width: 86px;
  display: block;
  background: url("/img/photohunt/btn_cam.png") repeat scroll 0 -5px transparent;
}
.photohuntCam:hover {
  background-position: 0 -112px;
}

#photohuntClickResult {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 750px;
  height: 350px;
  margin: -175px 0 0 -375px;
  background-color: rgba(0, 0, 0, 0.7);
}
#photohuntClickResult .content { padding: 10px; }
#photohuntClickResult .resultText { position: relative; width: 390px; height: 320px; margin-right: 10px; padding: 5px; }
#photohuntClickResult .resultText table { height: 100%; }
#photohuntClickResult .resultText table h2 { font-size: 18px; line-height: 22px; margin-bottom: 10px; }
#photohuntClickResult .resultText table p { font-size: 14px; line-height: 18px; }
#photohuntClickResult .resultText table .formButtonRed { bottom: 0; left: 0; position: absolute; width: 100%; }
#photohuntClickResult .resultText table .complete {
  background: url("/img/photohunt/banner.jpg") repeat scroll -14px -16px #00CCCC;
  height: 70px;
  margin: 15px auto;
  width: 310px;
}
#photohuntClickResult .resultText table .complete p {
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  text-shadow: 1px 1px 1px #889900;
  color: #333333;
  font-size: 22px;
  font-weight: bold;
  line-height: 70px;
}
#photohuntPermits {
  position: absolute;
  display: block;
  width: 59px;
  height: 62px;
  top: 112px;
  right: 127px;
  background: url("/img/photohunt/i_permit.png") no-repeat scroll 0 0;
  transition: right 1.25s;
}
#photohuntPermits.hidden { display: block; right: -80px; transition: right 0.35s; }
#photohuntPermits span {
  position: absolute;
  top: 22px;
  left: 28px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 20px;
  color: #ccc;
  font-size: 16px;
  font-weight: bold;
  display: block;
  text-align: center;
  background: rgba(51, 51, 51, 0.7);
}

/* Teaser */
a.teaser {
  display: inline-block;
  width: 203px;
  height: 90px;
  border-radius: 10px;
  margin-bottom: 4px;
}

a.teaser:hover { box-shadow: 0 0 15px gold; }
a.teaser.facebook { background: url('/img/site/teaser_facebook_tn.png'); }
a.teaser.invite { background: url('/img/site/teaser_invite_tn.png'); }
a.teaser.shop { background: url('/img/site/teaser_shop_tn.png'); }

/* notepad */
#notesLink {
  position: absolute;
  top: 100px;
  right: 65px;
  width: 56px;
  height: 47px;
  background: url("/img/site/i_notes.png");
}

#notes {
  border-radius: 5px;
  box-shadow: 5px 5px 20px #222;
  position: absolute;
  top: 175px;
  right: 5px;
  display: none;
  width: 0;
  height: 0;
  background-image: url("/img/box/bg_paper.jpg");
  margin: 0;
  padding: 20px;
  z-index: 1;
}
#notes > h1 { color: #333; margin: 0 0 10px 5px; }

#notes .nav { visibility: collapse; height: 24px; text-align: justify; }
#notes .nav:after { content: ""; display: inline-block; width: 100%; }
#notes .nav a.activeTab, #notes .nav a.hovering {
  color: #fdd231;
}
#notes .nav a {
  color: #ccc;
  background: #333;
  margin: 0 5px;
  text-align: center;
  display: inline-block;
  line-height: 26px;
  height: 24px;
  font-size: 14px;
  font-weight: bold;
  width: 84px;
  border-radius: 5px 5px 0 0;
}

#notes .notes_tab { display: none; visibility: collapse; }
#notes .notes_tab textarea {
  width: 400px;
  height: 355px;
  background: none transparent;
  resize: none;
}
#notes .notes_tab textarea, #notes .notes_tab textarea:focus {
  border: 1px solid #333 !important;
  outline: none;
  border-radius: 5px;
}

#friendListContainer {
  position: fixed;
  width: 626px;
  height: 145px;
  bottom: 10px;
  left: 100%;
  transition: margin-left 1s cubic-bezier(0.445, 0.05, 0.55, 0.95) 0s;
  -webkit-transition: margin-left 1s cubic-bezier(0.445, 0.05, 0.55, 0.95) 0s;
  -o-transition: margin-left 1s cubic-bezier(0.445, 0.05, 0.55, 0.95) 0s;
}

#friendListContainer.open {
  margin-left: -626px;
}

#friendListContainer.close {
  margin-left: -34px;
}

#friendListContainer div.left {
  background: url('/img/friendlist/left.png') no-repeat;
  width: 57px;
  height: 145px;
  float: left;
  position: relative;
}

#friendListContainer div.listContainer {
  background: url('/img/friendlist/center.png') repeat-x;
  height: 145px;
  width: 425px;
  float: left;
  overflow: hidden;
  position: relative;
}

#friendListContainer div.alwaysEmptySlot {
  background: url('/img/friendlist/center.png') repeat-x;
  height: 145px;
  width: 85px;
  float: left;
  position: relative;
}

#friendListContainer div.right {
  background: url('/img/friendlist/right.png') no-repeat;
  width: 59px;
  height: 145px;
  float: left;
}

#friendListContainer div.list {
  position: absolute;
  height: 145px;
  font-size: 0;
  white-space: nowrap;
}

#friendListContainer div.slot {
  width: 79px;
  padding: 6px 3px;
  height: 133px;
  display: inline-block;
  vertical-align: top;
}

#friendListContainer a.pending {
  display: inline-block;
  position: absolute;
  min-width: 11px;
  height: 15px;
  text-align: center;
  line-height: 16px;
  border-radius: 10px 10px 10px 10px;
  border: 1px solid #111;
  background-color: #c00;
  color: #fff;
  top: 5px;
  right: 24px;
  padding: 0px 2px;
}

#friendListContainer div.left a.toggle {
  display: inline-block;
  position: absolute;
  width: 35px;
  height: 88px;
}

#friendListContainer span.online {
  display: inline-block;
  position: absolute;
  top: 55px;
  width: 34px;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  color: #fff;
}

#friendListContainer a.arrow {
  top: 28px;
  width: 15px;
  height: 35px;
  display: inline-block;
  position: absolute;
}

#friendListContainer a.arrow.left {
  background: url('/img/friendlist/arrow_left.png') no-repeat;
  left: 37px;
}

#friendListContainer a.arrow.right {
  background: url('/img/friendlist/arrow_right.png') no-repeat;
  right: 36px;
}

#friendListContainer a.arrow.disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

#friendListContainer div.classMenu {
  width: 20px;
  height: 84px;
  float: right;
  margin: 5px 6px 0px 0px;
}

#friendListContainer div.classMenu a {
  background: url('/img/friendlist/actions_menu.png?1') 0 0 no-repeat;
  display: block;
  width: 20px;
  height: 20px;
  margin-top: 11px;
}

#friendListContainer div.classMenu a.all {
  background-position: 0 0;
}
#friendListContainer div.classMenu a.all:hover,
#friendListContainer div.classMenu a.all.active {
  background-position: -20px 0;
}

#friendListContainer div.classMenu a.friend {
  background-position: 0 -20px;
}
#friendListContainer div.classMenu a.friend:hover,
#friendListContainer div.classMenu a.friend.active {
  background-position: -20px -20px;
}

#friendListContainer div.classMenu a.facebook {
  background-position: 0 -40px;
}
#friendListContainer div.classMenu a.facebook:hover,
#friendListContainer div.classMenu a.facebook.active {
  background-position: -20px -40px;
}

#friendListContainer div.classMenu a.family {
  background-position: 0 -60px;
}
#friendListContainer div.classMenu a.family:hover,
#friendListContainer div.classMenu a.family.active {
  background-position: -20px -60px;
}

#friendListContainer div.image {
  position: relative;
  width: 75px;
  height: 75px;
  cursor: pointer;
  margin: 0px 2px;
}

#friendListContainer div.image.disabled {
  opacity: 0.4;
}

#friendListContainer div.empty {
  background-image: url('/img/friendlist/placeholder.png');
  cursor: pointer;
}

#friendListContainer div.actions {
  text-align: center;
  font-size: 0;
  margin-top: 5px;
}

#friendListContainer div.actions a {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 1px;
}

#friendListContainer div.actions a.message {
  background: url('/img/friendlist/actions_friend.png?1') 0 0 no-repeat;
  background-position: 0 0;
}

#friendListContainer div.actions a.ranking {
  background: url('/img/friendlist/actions_friend.png?1') 0 0 no-repeat;
  background-position: -20px 0;
}

#friendListContainer div.actions a.delete {
  background: url('/img/friendlist/actions_friend.png?1') 0 0 no-repeat;
  background-position: -40px 0;
}

#friendListContainer div.actions a.confirm {
  background: url('/img/friendlist/actions_friend.png?1') 0 0 no-repeat;
  background-position: -60px 0;
}

#friendListContainer div.actions a.request {
  background: url('/img/friendlist/actions_friend.png?1') 0 0 no-repeat;
  background-position: -80px 0;
}

#friendListContainer div.actions a.facebook {
  background: url('/img/friendlist/actions_invite.png') 0 0 no-repeat;
  background-position: 0 0;
  width: 36px;
}

#friendListContainer div.actions a.mail {
  background: url('/img/friendlist/actions_invite.png') 0 0 no-repeat;
  background-position: -36px 0;
  width: 36px;
}

#friendListContainer div.listContainer div.image em.online-symbol {
  background: url('/img/friendlist/symbol_online.png') 0 0 no-repeat;
  width: 14px;
  height: 14px;
  position: absolute;
  top: 0;
  right: 0;
}

#friendListContainer div.listContainer div.image em.facebook-symbol {
  background: url('/img/friendlist/actions_menu.png?1') 0 -40px no-repeat;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 2px;
  left: 2px;
}

#friendListContainer div.listContainer div.image em.family-symbol {
  background: url('/img/friendlist/actions_menu.png?1') 0 -60px no-repeat;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 2px;
  left: 2px;
}

#friendListContainer div.listContainer p.name {
  height: 35px;
  margin: 2px;
  text-align: center;
  line-height: 15px;
  font-size: 12px;
  white-space: normal;
}

.i16.ok {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  background: url("/img/icons/i_ok.png");
  background-size: 16px 16px;
}

.i16.notok {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  background: url("/img/icons/i_no.png");
  background-size: 16px 16px;
}

#altContent { width: 400px; height: 200px; background: #222; color: #ccc; }
#resizable { padding: 1px; background: none; border: 0; width: 400px; height: 200px; }
.ui-resizable-helper { border: 2px dotted #ccc; }
.ui-widget-content { border: 1px solid #ccc; }

/* NEWS - new.inc.tpl / adminNews.inc.tpl */
.boxNews { width: 725px; text-align: left; border: 1px solid #000; }
.boxNews .title { background: url('/img/box/bg_news_title.jpg?0'); height: 208px; }
.boxNews .content { background: url('/img/box/bg_news_content.jpg?0');}
.boxNews .news { color: #000; padding: 0 50px; }
.boxNews .news h1 { font: bold 20px "Times New Roman", serif; margin: 8px 0; }
.boxNews .news a { color: #c00; }
.boxNews .news a:hover { color: #000; }
.boxNews .newsspacer { background: url('/img/box/spacer_news.png'); width: 98%; height: 27px; margin: 0 auto; }
.boxNews .bottom { background: url('/img/box/bg_news_bottom.jpg'); height: 100px; }
.boxNews .delete { color: #F00; }
.boxNews .edit { color: #F90; }

html[lang=en] .boxNews .title { background: url('/img/box/en/bg_news_title.jpg?1'); }
html[lang=en] .boxNews .content { background: url('/img/box/en/bg_news_content.jpg?1'); }
html[lang=en] .boxNews .bottom { background: url('/img/box/en/bg_news_bottom.jpg?1'); }

html[lang=fr] .boxNews .title { background: url('/img/box/en/bg_news_title.jpg?1'); }
html[lang=fr] .boxNews .content { background: url('/img/box/en/bg_news_content.jpg?1'); }
html[lang=fr] .boxNews .bottom { background: url('/img/box/en/bg_news_bottom.jpg?1'); }

html[lang=es] .boxNews .title { background: url('/img/box/en/bg_news_title.jpg?1'); }
html[lang=es] .boxNews .content { background: url('/img/box/en/bg_news_content.jpg?1'); }
html[lang=es] .boxNews .bottom { background: url('/img/box/en/bg_news_bottom.jpg?1'); }

html[lang=pt] .boxNews .title { background: url('/img/box/en/bg_news_title.jpg?1'); }
html[lang=pt] .boxNews .content { background: url('/img/box/en/bg_news_content.jpg?1'); }
html[lang=pt] .boxNews .bottom { background: url('/img/box/en/bg_news_bottom.jpg?1'); }
