html {
  height: 100%;
}

body {
  font-size: 12px;
  font-family: 'Arial','Verdana';
  line-height: 120%;
  height: 100%;
  margin: 0px;
  background-image: -webkit-linear-gradient(#0F2942 0%, #437399 100%);
  background-image: -moz-linear-gradient(#0F2942 0%, #437399 100%);
  background-image: -o-linear-gradient(#0F2942 0%, #437399 100%);
  background-image: linear-gradient(#0F2942 0%, #437399 100%);
  background-attachment: fixed;
}

body.ajax {
  font-size: 12px;
  font-family: 'Arial','Verdana';
  line-height: 120%;
  background-color: #FFF;
  margin: 0px;
  background-image: none;
}

td {
  vertical-align: top;
}

div.debug {
  width: 100%;
  float: left;
  font-size: 11px;
  margin-top: 40px;
}

div.login_cont {
  width: 245px;
  height: 205px;
  margin: -150px;
  background-color: #FEFEFE;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 7px;
  -o-border-radius: 7px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  box-shadow: 0px 0px 20px #534F50;
  -o-box-shadow: 0px 0px 20px #534F50;
  -moz-box-shadow: 0px 0px 20px #534F50;
  -webkit-box-shadow: 0px 0px 20px #534F50;
  overflow: hidden;
}

div.login_cont div.login_top {
  background-image: url('../bilder/popup_top.png');
  color: #727272;
  font-size: 16px;
  font-weight: bold;
  line-height: 45px;
  text-align: center;
}

div.login_cont div.login {
  border-top: 1px #D2D2D2 solid;
  border-bottom: 1px #D2D2D2 solid;
  height: 100px;
  color: #AFAFAF;
  padding-top: 10px;
}

div.login_cont div.login input.login {
  margin: 2px 0px 10px 0px;
}

div.login_cont div.login_bottom {
  background-color: #F0F0F0;
  height: 30px;
  padding: 10px 0px;
  text-align: center;
}

input.txt {
  margin: 0px;
  border: 1px #AFAFAF solid;
  background-color: #FFF;
  color: #2F2F2F;
  font-family: 'Arial','Verdana';
  font-weight: normal;
  font-size: 12px;
  line-height: 23px;
  height: 23px;
  padding: 0px 5px;
  border-radius: 2px;
  min-width: 150px;
}

textarea.txt {
  margin: 0px;
  border: 1px #AFAFAF solid;
  background-color: #FFF;
  color: #000;
  font-family: 'Arial','Verdana';
  font-weight: normal;
  font-size: 12px;
  line-height: 23px;
  height: 144px;
  padding: 5px 5px;
  border-radius: 2px;
  min-width: 150px;
}

input.btn {
  margin: 0px;
  border: 1px #0A5F9F solid;
  background-color: #3A98CB;
  color: #FFF;
  font-family: 'Arial','Verdana';
  font-weight: bold;
  font-size: 13px;
  line-height: 28px;
  height: 28px;
  padding: 0px 20px;
  background-image: url('../bilder/bg_btn.png');
  cursor: pointer;
}

div.adminbar {
  position: relative;
  width: 100%;
  height: 30px;
  float: left;
  background-image: -webkit-linear-gradient(#464646 0%, #333 100%);
  background-image: -moz-linear-gradient(#464646 0%, #333 100%);
  background-image: -o-linear-gradient(#464646 0%, #333 100%);
  background-image: linear-gradient(#464646 0%, #333 100%);
  color: #CCC;
}

div.adminbar div.btn {
  float: right;
  border-left: 1px #555 solid;
  border-right: 1px #333 solid;
  height: 30px;
  position: relative;
}

div.adminbar div.btn div.hover {
  background-color: #FFF;
  position: absolute;
  top: 30px;
  left: 0px;
  z-index: 90;
  width: 100%;
  display: none;
  box-shadow: 0px 0px 10px #534F50;
  -o-box-shadow: 0px 5px 10px #534F50;
  -moz-box-shadow: 0px 5px 10px #534F50;
  -webkit-box-shadow: 0px 5px 10px #534F50;
}

div.adminbar div.btn div.hover a {
  display: block;
  height: 30px;
  line-height: 30px;
  padding: 0px 20px;
  color: #3A98CB;
  text-decoration: none;
}

div.adminbar div.btn div.hover a:hover {
  background-color: #F6F6F6;
}

div.adminbar > div.btn:hover > div:last-child {
  background-color: #FFF;
  color: #000;
}

div.adminbar > div.btn:hover > div:first-child {
  display: block;
}

div.adminbar div.first {
  float: right;
  width: 1px;
  border-left: 0px none !important;
}

div.adminbar > div.btn > div:last-child {
  padding: 0px 20px;
  height: 30px;
  line-height: 30px;
  z-index: 100;
  position: relative;
}

div.adminbar div.lang a {
  background-repeat: no-repeat;
  background-position: 5px center;
  padding-left: 45px !important;
}

div.adminbar > div.btn > div.lang:last-child {
  background-repeat: no-repeat;
  background-position: 5px center;
  padding-left: 45px !important;
}

td.menu {
  background-color: #ECECEC;
  border-right: 1px #909090 solid;
}

td.content {
  background-color: #FFF;
}

div.menu {
  width: 100%;
  min-width: 180px;
  max-width: 220px;
  height: 100%;
}

div.menu_cont a {
  display: block;
  line-height: 50px;
  font-size: 14px;
  font-weight: bold;
  color: #5A5A5A;
  text-shadow: 1px 1px #D6D6D6;
  text-decoration: none;
  padding-left: 15px;
  border-top: 1px #EAE9E9 solid;
  border-bottom: 1px #909090 solid;
  background-color: #D0D0D0;
  background-image: url('../bilder/bg_menu.png');
  background-position: top left;
  background-repeat: repeat-x;
}

div.menu_cont a div {
  padding-left: 30px;
  background-position: top left;
  background-repeat: no-repeat;
}

div.menu_cont a:hover,
div.menu_cont a.activ {
  background-position: bottom left;
  text-shadow: 1px 1px #EFEFEF;
}

div.content {
  position: relative;
  float: left;
  width: 100%;
}

div.content h1 {
  line-height: 50px;
  background-color: #F0F0F0;
  margin: 0px;
  padding: 1px 0px 0px 15px;
  font-size: 18px;
  color: #494949;
}

div.content div.submenu {
  border-top: 1px #D2D2D2 solid;
  border-bottom: 1px #D2D2D2 solid;
  background-color: #FFF;
  background-image: url('../bilder/bg_submenu.png');
  background-position: bottom left;
  background-repeat: repeat-x;
  float: left;
  width: 100%;
}

div.content div.submenu a {
  display: block;
  float: left;
  padding: 7px 20px;
  border-right: 1px #D2D2D2 solid;
  color: #6F6F6F;
  font-weight: bold;
  text-decoration: none;
}

div.content div.submenu a:hover,
div.content div.submenu a.activ {
  color: #5F5F5f;
  background-image: url('../bilder/bg_submenu_a.png');
  background-position: top left;
  background-repeat: repeat-x;
  background-color: #FFF;
  color: #FFF;
}

div.content_cont {
  padding: 15px 15px 75px 15px;
  float: left;
  min-width: 96%;
}

/* Tabellen */
table.tbl tr.th {
  background-color: #525252;
  background-image: url('../bilder/bg_table_th.png');
  background-position: top left;
  background-repeat: repeat-x;
  color: #FFF;
  text-align: center;
  font-weight: bold;
  font-size: 11px;
  text-shadow: 1px 1px #000;
  border: 0px !important;
}

table.tbl tr.th td {
  line-height: 35px !important;
}

table.tbl td {
  line-height: 140%;
  border-bottom: 1px #BDBDBD solid;
  border-right: 1px #BDBDBD solid;
  padding: 10px;
}

table.tbl td.optionen {
  padding: 2px 10px 5px 10px;
}

table.tbl td:first-child {
  border-left: 1px #BDBDBD solid;
}

tr.zh td {
  line-height: 18px;
  padding: 5px;
}

tr.th td {
  padding: 0px 5px;
  border: 0px !important;
}

tr.storno {
  background-image: url('../bilder/storno.png');
  color: #AFAFAF;
}

table.details td div.optionen,
table.tbl td div.optionen {
  border: 1px #A9A9A9 solid;
  background-color: #F7F7F7;
  width: 97px;
  height: 26px;
  position: relative;
  background-image: url('../bilder/icon_optionen.png');
  margin: 3px 0px 0px 0px;
  float: left;
}

div.optionen div.opt_cont {
  position: absolute;
  right: -1px;
  top: 26px;
  border: 1px #A9A9A9 solid;
  background-color: #FFF;
  display: none;
  z-index: 10;
}

div.optionen div.opt_cont a {
  display: block;
  padding: 0px 10px 0px 40px;
  line-height: 37px;
  color: #404040;
  text-decoration: none;
  font-weight: bold;
  background-repeat: no-repeat;
  background-position: 10px 2px;
  background-repeat: no-repeat;
  white-space: nowrap;
}

div.optionen div.opt_cont a:hover {
  background-color: #E7E7E7;
}

div.optionen div.opt_cont a.opt_change {
  background-image: url('../bilder/icons/change.png');
}

div.optionen div.opt_cont a.opt_del {
  background-image: url('../bilder/icons/del.png');
}

div.optionen div.opt_cont a.opt_pdf {
  background-image: url('../bilder/icons/pdf.png');
}

div.optionen div.opt_cont a.opt_remail {
  background-image: url('../bilder/icons/remail.png');
}

div.optionen div.opt_cont a.opt_gut {
  background-image: url('../bilder/icons/gutschrift.png');
}

div.optionen div.opt_cont a.opt_comment {
  background-image: url('../bilder/icons/comment.png');
}

div.optionen div.opt_cont a.opt_termin {
  background-image: url('../bilder/icons/termin.png');
}

div.optionen div.opt_cont a.opt_show {
  background-image: url('../bilder/icons/show.png');
}

div.optionen div.opt_cont a.opt_hide {
  background-image: url('../bilder/icons/hide.png');
}

div.optionen div.opt_cont a.opt_prev {
  background-image: url('../bilder/icons/prev.png');
}

div.opt-pos {
  float: left;
  width: 40px;
  height: 23px;
  margin: 5px 15px 10px 0px;;
  position: relative;
}

div.opt-pos a {
  display: block;
  width: 15px;
  height: 15px;
  border: 1px #AFAFAF solid;
  border-radius: 8px;
  -o-border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  float: left;
  text-decoration: none;
  margin: 4px 0px;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-image: url('../bilder/icons/arrows.png');
}

div.opt-pos a.up {
  background-position: top center;
}

div.opt-pos a.down {
  float: right;
}

div.opt-pos a:hover {
  background-color: #CFCFCF;
}

div.popup_cont {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

div.popup_bg {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #000;
  filter: alpha(opacity=30);
  -moz-opacity: 0.30;
  opacity: 0.30;
  z-index: 100;
}

div.popup {
  position: relative;
  margin: 100px auto 0px auto;
  width: 500px;
  background-color: #FFF;
  z-index: 101;
  box-shadow: 0px 0px 20px #000;
}

div.popup div.popup_title {
  width: 100%;
  height: 50px;
  background-image: url('../bilder/popup_title.png');
  background-position: top left;
  background-repeat: repeat-x;
}

div.popup div.popup_title h2 {
  margin: 0px 0px 0px 10px;
  float: left;
  color: #727272;
  font-size: 16px;
  font-weight: bold;
  line-height: 50px;
}

div.popup div.popup_title a {
  float: right;
  width: 29px;
  height: 29px;
  display: block;
  background-image: url('../bilder/popup_close.png');
  background-position: center center;
  background-repeat: no-repeat;
  margin: 10px;
  text-decoration: none;
}

div.popup div.popup_title a.resize {
  background-image: url('../bilder/popup_resize.png');
}

div.popup div.popup_content {
  padding: 10px;
}

a.btn {
  display: block
  margin: 0px;
  border: 1px #0A5F9F solid;
  background-color: #3A98CB;
  color: #FFF;
  font-family: 'Arial','Verdana';
  font-weight: bold;
  font-size: 13px;
  line-height: 28px;
  height: 28px;
  padding: 5px 20px;
  background-image: url('../bilder/bg_btn.png');
  text-decoration: none;
}

a.grau {
  border: 1px #AFAFAF solid;
  background-color: #EFEFEF;
  color: #6F6F6F;
  background-image: -webkit-linear-gradient(#EFEFEF 0%, #AFAFAF 100%);
  background-image: -moz-linear-gradient(#EFEFEF 0%, #AFAFAF 100%);
  background-image: -o-linear-gradient(#EFEFEF 0%, #AFAFAF 100%);
  background-image: linear-gradient(#EFEFEF 0%, #AFAFAF 100%);
}

div.popup_content td select {
  margin: 0px;
  border: 1px #AFAFAF solid;
  background-color: #FFF;
  color: #6F6F6F;
  font-family: 'Arial','Verdana';
  font-weight: normal;
  font-size: 12px;
  line-height: 30px;
  padding: 3px 3px 3px 5px;
  border-radius: 2px;
  min-width: 150px;
}

div.popup_content td {
  color: #AFAFAF;
}

div.popup_content td.txt {
  color: #000;
  padding: 10px 0px 15px 0px;
}

div.popup_content td input,
div.popup_content td textarea {
  margin: 2px 0px 15px 0px;
  width: 450px;
}

div.popup_content td select {
  margin: 2px 0px 15px 0px;
  width: 462px;
}

div.popup_content input[type="submit"] {
  width: 462px !important;
}

span.info {
  font-size: 11px;
  color: #AFAFAF;
}

tr.sec {
  background-color: #F7F7F7;
}

a.status {
  display: block;
  padding: 3px 5px;
  text-decoration: none;
  font-weight: bold;
  color: #FFF;
  font-size: 11px;
}

/* FIlter Tabelle */
table.filter td {
  padding-left: 5px;
}

select.filter {
  width: 100px;
  padding: 5px 5px 4px 5px;
  color: #FFF;
  background-color: #505050;
  border: 0px;
  margin-top: 4px;
}

table.filter input.search {
  width: 94px;
  padding: 1px 3px;
  margin: 0px;
  border: 1px #0A5F9F solid;
  background-color: #EFEFEF;
  font-family: 'Arial','Verdana';
  font-size: 13px;
  line-height: 28px;
  height: 24px;
}

div.minwidth {
  min-width: 970px;
}

div.minwidth div.half {
  width: 47%;
  margin: 0px 2% 20px 0px;
  border: 1px #AFAFAF solid;
  float: left;
}

div.minwidth div.full {
  width: 96.3%;
  margin: 0px 2% 20px 0px;
  border: 1px #AFAFAF solid;
  float: left;
}

div.minwidth div.half h4,
div.minwidth div.full h4 {
  padding: 5px;
  background-color: #646464;
  color: #FFF;
  font-size: 14px;
  font-weight: bold;
  margin: 0px;
}

div.minwidth div.half table,
div.minwidth div.full table {
  margin: 5px;
  line-height: 18px;
}

div.minwidth div.half table td.bold,
div.minwidth div.full table td.bold {
  padding: 0px 10px 0px 0px;
  font-weight: bold;
}

table.orderdetails td.th {
  font-weight: bold;
  font-size: 11px;
  background-color: #EFEFEF;
}

table.orderdetails td {
  border-bottom: 1px #CFCFCF solid;
  line-height: 20px;
  padding: 0px 5px;
}

table.orderdetails tr:last-child td {
  border-bottom: none;
}

div.bst_details {
  width: 100%;
  overflow: hidden;
}

div.bst_details div.open {
  width: 100%;
  height: 10px;
  background-color: #8F8F8F;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  font-size: 10px;
  line-height: 10px;
  cursor: pointer;
}

div.bst_details div.tbl {
  margin: 10px 10px 40px 10px;
  padding: 2px;
  border: 1px solid #CFCFCF;
}

table.bst_edit tr td {
  color: #AFAFAF;
}

table.bst_edit tr td input[type="text"] {
  margin: 0px 10px 10px 0px;
  border: 1px #AFAFAF solid;
  background-color: #FFF;
  color: #6F6F6F;
  font-family: 'Arial','Verdana';
  font-weight: normal;
  font-size: 12px;
  line-height: 23px;
  height: 23px;
  padding: 0px 5px;
  border-radius: 2px;
  width: 150px;
}

table.bst_edit tr td select {
  margin: 0px 10px 10px 0px;
  border: 1px #AFAFAF solid;
  background-color: #FFF;
  color: #6F6F6F;
  font-family: 'Arial','Verdana';
  font-weight: normal;
  font-size: 12px;
  line-height: 19px;
  padding: 2px;
  border-radius: 2px;
  width: 158px;
}

/* BST Bearbeiten */
div.moreposi {
  width: 100%;
  height: 15px;
  line-height: 15px;
  color: #000;
  background-color: #DFDFDF;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 10px;
}

div.moreposi:hover {
  background-color: #CFCFCF;
}

div.moreoption {
  width: 99%;
  height: 15px;
  line-height: 15px;
  color: #000;
  background-color: #EFEFEF;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 10px;
}

div.moreoption:hover {
  background-color: #DFDFDF;
}

table.orderdetails tr td input {
  margin: 0px 0px 2px 0px;
  border: 1px #AFAFAF solid;
  background-color: #FFF;
  color: #6F6F6F;
  font-family: 'Arial','Verdana';
  font-weight: normal;
  font-size: 12px;
  line-height: 23px;
  height: 23px;
  padding: 0px 5px;
  border-radius: 2px;
  width: 50px;
}

table.orderdetails tr td input.left {
  text-align: left;
}

table.orderdetails tr td input.right {
  text-align: right;
}

table.orderdetails tr td input.center {
  text-align: center;
}

table.orderdetails tr td a.del {
  display: block;
  width: 17px;
  height: 25px;
  background-image: url('../bilder/icons/del.png');
  background-repeat: no-repeat;
  background-position: 0px -3px;
  text-decoration: none;
  float: right;
}

td.zahlungsverlauf div {
  float: left;
  line-height: 20px;
  clear: both;
}

td.zahlungsverlauf div a.del {
  display: block;
  width: 17px;
  height: 20px;
  background-image: url('../bilder/icons/del.png');
  background-repeat: no-repeat;
  background-position: 0px -7px;
  text-decoration: none;
  float: right;
  margin-left: 5px;
}

td.gutschriften div {
  float: left;
  width: 100%;
  border-top: 1px #EFEFEF solid;
  line-height: 20px;
}

td.gutschriften div a.del {
  display: block;
  width: 17px;
  height: 20px;
  background-image: url('../bilder/icons/del.png');
  background-repeat: no-repeat;
  background-position: 0px -7px;
  text-decoration: none;
  float: right;
  margin-left: 5px;
}

/* HERSTELLER BESTELLEN */
div.hersteller-bestellen-mail textarea {
  width: 97%;
  height: 50px;
  border: 1px #EFEFEF solid;
  padding: 1%;
  font-family: 'Arial','Verdana';
  font-size: 11px;
  line-height: 17px;
  margin-bottom: 5px;
}

div.hersteller-bestellen-mail {
  padding-bottom: 50px;
  line-height: 18px;
}

a.hersteller_uebersicht,
a.hersteller_bestellen,
a.hersteller_sammeln,
a.hersteller_ab {
  color: #0893F6;
  text-decoration: none;
  white-space: nowrap;
}

div.hersteller-bestellen-resp {
  width: 98%;
  margin: 0px auto;
  border: 1px #EFEFEF solid;
  height: 80px;
  background-image: url('../bilder/loading.gif');
  background-repeat: no-repeat;
  background-position: center center;
}

a.tbl {
  padding: 0px;
  position: relative;
  height: 24px;
}

a.tbl table {
  margin: 0px !important;
  position: absolute;
}

a.tbl table td {
  height: 24px;
  border: 0px none;
  padding: 0px;
}

a.tbl td:first-child {
  border: 0px none !importantq;
}

a.tbl div {
  position: absolute;
  height: 24px;
  line-height: 24px;
  padding-left: 5px;
}

div.mwstcont {
  float: right;
  margin: 28px 20px 0px 0px;
}

div.mwstcont select {
  margin: 0px;
  border: 1px #AFAFAF solid;
  background-color: #FFF;
  color: #6F6F6F;
  font-family: 'Arial','Verdana';
  font-weight: normal;
  font-size: 12px;
  line-height: 30px;
  padding: 3px 3px 3px 5px;
  border-radius: 2px;
  min-width: 150px;
  margin: 0px 0px 0px 10px;
}

/* MUSS ALS LETZTES KOMMEN */
input.error,
table.orderdetails tr td input.error,
table.bst_edit tr td input.error {
  border: 1px #BF0000 solid;
  color: #BF0000;
}

a.ab-pdf {
  display: block;
  padding: 0px 0px 0px 25px;
  line-height: 34px;
  color: #0893F6;
  text-decoration: none;
  font-weight: bold;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-repeat: no-repeat;
  white-space: nowrap;
  background-image: url('../bilder/icons/pdf.png');
  float: left;
}


a.ab-pdf:hover {
  color: #000;
}

/* CONTENT FORMS */
div.content_form {
  width: 100%;
  float: left;
  position: relative;
}

div.half {
  width: 45%;
  float: left;
  /* position: relative; */
  margin: 0px 5% 40px 0px;
}

div.content_form div.btn {
  width: 96%;
  float: left;
  /* position: relative; */
  text-align: center;
  padding: 10px 2%;
  background-color: #EFEFEF;
}

div.content_form textarea {
  height: 221px;
}

div.content_form input,
div.content_form textarea,
div.content_form div.cke {
  width: 100%;
  margin: 5px 0px 20px 0px;
}

div.content_form div.btn input {
  margin: 0px;
}

div.content_form div.select {
  width: 100%;
  float: left;
  margin: 2px 0px;
}

div.content_form div.select input {
  float: left;
  margin: 4px 10px 0px 0px;
  width: auto;
}

div.content_form div.select label {
  float: left;
  line-height: 20px;
}

div.content_form div.select_cont {
  margin: 5px 0px 20px 0px;
  float: left;
  clear: both;
  padding: 2px 5px;
  border: 1px #FFF solid;
}

div.content_form div.error {
  border: 1px #BF0000 solid;
}

/* COLORPICKER */
div.widget_colorpicker {
  position: relative;
  border: 1px #AFAFAF solid;
  margin: 0px 0px 20px 0px;
  float: left;
}
div.widget_colorpicker div.widget_colorpicker_cont {
  margin: 5px 18px 5px 5px;
  float: left;
  width: 67px;
}
div.widget_colorpicker div.widget_colorpicker_colors {
  margin: 0px;
  float: left;
}
div.widget_colorpicker div.widget_colorpicker_prev {
  border: 1px #AFAFAF solid;
  float: left;
  width: 65px;
  height: 45px;
}
div.widget_colorpicker div.widget_colorpicker_hex {
  margin-top: 5px;
  border: 1px #AFAFAF solid;
  float: left;
  width: 65px;
}
div.widget_colorpicker div.widget_colorpicker_hex input {
  width: 65px;
  height: 25px;
  border: 0px none;
  margin: 0px;
  text-align: center;
  color: #AFAFAF;
}
div.widget_colorpicker div.widget_colorpicker_hex input:focus {
  color: #000;
}
div.widget_colorpicker div.widget_colorpicker_color {
  margin: 5px 5px 5px 0px;
  border: 1px #AFAFAF solid;
  float: left;
  width: 20px;
  height: 20px;
  cursor: pointer;
}



/* Buldupload */
div.uploadpopup {
  display: none;
}

div.uploadpopup div.popup_tabmenu {
  width: 100%;
  line-height: 20px;
  margin: 0px 0px 10px 0px;
}

div.uploadpopup div.popup_tabmenu a:before {
  content: "|";
  padding: 0px 5px;
}

div.uploadpopup div.popup_tabmenu a:first-child:before {
  content: "";
}

div.uploadpopup div.popup_tabmenu a {
  color: #3A98CB;
  text-decoration: none;
}

div.uploadpopup div.popup_tabmenu a:hover,
div.uploadpopup div.popup_tabmenu a.activ {
  color: #000;
}

div.popup_tab_cont {
  width: 100%;
  height: 450px;
}

div.uploadpopup div.popup_tab {
  width: 100%;
  height: 100%;
  position: relative;
  border-top: 1px #AFAFAF dotted;
  display: none;
  float: left;
}

div.uploadpopup div.popup_activtab {
  display: block;
}

div.popup_media_cont {
  width: 73%;
  float: left;
  height: 350px;
  margin: 12px 2% 12px 0px;
  padding: 0px;
  overflow: auto;
}

div.popup_media_cont div.image {
  width: 100px;
  height: 100px;
  float: left;
  margin: 4px;
  position: relative;
  overflow: hidden;
  border: 1px #AFAFAF solid;
  cursor: pointer;
}

div.popup_media_cont div.file {
  width: 250px;
  height: 30px;
  float: left;
  margin: 4px;
  position: relative;
  overflow: hidden;
  border: 1px #AFAFAF solid;
  cursor: pointer;
}

div.popup_media_cont div.activ {
  box-shadow: 0px 0px 15px #0A5F9F;
  -o-box-shadow: 0px 0px 15px #0A5F9F;
  -moz-box-shadow: 0px 0px 15px #0A5F9F;
  -webkit-box-shadow: 0px 0px 15px #0A5F9F;
}

div.popup_media_cont div.image img {
  position: relative;
  max-width: 200px;
  max-height: 200px;
  min-width: 100px;
  min-height: 100px;
  top: 0px;
  left: 0px;
}

div.popup_media_cont div.file img {
  float: left;
  width:  20px;
  height: 20px;
  margin: 5px 7px 0px 5px;
}

div.popup_media_cont div.file span {
  float: left;
  line-height: 30px;
  font-size: 11px;
}

div.popup_media_select {
  width: 24%;
  border-left: 1px #AFAFAF dotted;
  float: right;
  margin: 20px 0px;
  height: 350px;
  padding: 0px;
}

div.popup_media_set {
  float: left;
  width: 98%;
  padding: 1%;
  background-color: #EFEFEF;
  text-align: right;
}

div.media_prev {
  margin: 0px 20px;
}

div.media_prev div {
  margin: 10px 0px 0px 0px;
}

/* kein Multi */
div.media_prev > div > img {
  max-width: 100%;
  max-height: 260px;
  border: 1px #AFAFAF solid;
}

div.media_prev > div > div.daten {
  color: #6F6F6F;
  line-height: 18px;
  margin: 10px 0px 0px 0px;
}

div.media_prev > div > div.daten b {
  color: #000;
}

/* Multi */
div.media_prev > div > div.multiselect {
  width: 100%;
  min-height: 40px;
  float: left;
  border: 1px #AFAFAF solid;
}

div.media_prev > div > div.multiselect > img {
  width: 30px;
  height: 30px;
  margin: 5px 0px 0px 5px;
  float: left;
}

div.media_prev > div > div.multiselect > div.daten {
  color: #6F6F6F;
  line-height: 18px;
  margin: 2px 0px 2px 7px;
  float: left;
}

div.media_prev > div > div.multiselect > div.daten b {
  color: #000;
}






div.imguploadprev {
  width: 100%;
  float: left;
  margin: 3px 0px;
  max-width: 425px;
}

div.imguploadprev a {
  color: #0A5F9F;
  text-decoration: none;
}

div.imguploadprev a img {
  max-width: 100%;
  max-height: 200px;
  border: 1px #AFAFAF solid;
  margin: 3px 0px 5px 0px;
  /* width: 100% zerrt Bild */
}

/* FILES */
div.imguploadprev a div.multiselect {
  border: 1px solid #AFAFAF;
  height: 40px;
  width: 100%;
  float: left;
  margin: 0px 0px 10px 0px;
}

div.imguploadprev a div.multiselect > img {
  float: left;
  height: 30px;
  margin: 5px 7px 0 5px;
  width: 30px;
  border: 0px none !important;
}

div.imguploadprev a div.multiselect > div.daten {
  color: #6F6F6F;
  float: left;
  line-height: 18px;
  margin: 2px 0px;
}


div.imguploadprev a div.multiselect > div.daten > b {
  color: #000000;
}

div.imguploadprev div.del {
  display: none;
}

div.imguploadprev div.del a:hover {
  color: #BF0000;
}

div.upload-cont {
  border: 1px #AFAFAF solid;
  padding: 20px;
  margin: 140px auto 0px auto;
  width: 400px;
  height: 100px;
  border-radius: 7px;
  -o-border-radius: 7px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

div.upload-cont a.btn {
  width: 358px;
  margin: 13px 0px 0px 0px;
  float: left;
  height: 20px;
  line-height: 20px;
}

div.popup_loading {
  background-color: #FFF;
  top: -451px;
  left: 0px;
  z-index: 999;
  width: 100%;
  height: 100%;
  background-image: url('../bilder/loading.gif');
  background-repeat: no-repeat;
  background-position: center center;
}

/* Media */
div.centerImg div {
  border: 1px solid #AFAFAF;
  cursor: pointer;
  float: left;
  height: 100px;
  margin: 4px;
  overflow: hidden;
  position: relative;
  width: 100px;
}

div.centerImg img {
  left: 0px;
  max-height: 200px;
  max-width: 200px;
  min-height: 100px;
  min-width: 100px;
  position: relative;
  top: 0px;
}

div.subsub {
  background-color: #FFFFFF;
  background-image: url("../bilder/bg_submenu.png");
  background-position: left bottom;
  background-repeat: repeat-x;
  border: 1px solid #D2D2D2;
  float: left;
  width: 100%;
}

div.subsub a {
  border-right: 1px solid #D2D2D2;
  color: #6F6F6F;
  display: block;
  float: left;
  font-weight: bold;
  padding: 7px 13px;
  text-decoration: none;
}

div.subsub a.activ,
div.subsub a:hover {
  background-color: #FFFFFF;
  background-image: url("../bilder/bg_submenu_a.png");
  background-position: left top;
  background-repeat: repeat-x;
  color: #FFFFFF;
}

div.subtab {
  border: 1px solid #D2D2D2;
  float: left;
  width: 96%;
  padding: 2%;
  border-top: 0px none;
  display: none;
}

div.subtab_activ {
  display: block;
}

select.txt {
  background-color: #FFFFFF;
  border: 1px solid #AFAFAF;
  border-radius: 2px 2px 2px 2px;
  color: #2F2F2F;
  font-family: 'Arial','Verdana';
  font-size: 12px;
  font-weight: normal;
  margin: 0px;
  min-width: 150px;
  width: 100%;
  padding: 2px;
}


/* Kalender */
div.kal_cont {
  width: 294px;
  border-left: 1px #AFAFAF solid;
  border-top: 1px #AFAFAF solid;
  float: left;
  margin: 0px 20px 20px 0px;
}

div.kal_cont h5 {
  background-color: #EFEFEF;
  border-right: 1px #AFAFAF solid;
  border-bottom: 1px #AFAFAF solid;
  margin: 0px;
  padding: 2px 5px 0px 5px;
  font-weight: bold;
  font-size: 12px;
  line-height: 20px;
}

div.kal_b {
  font-weight: bold;
  font-size: 11px;
}

div.kal_tag {
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-right: 1px #AFAFAF solid;
  border-bottom: 1px #AFAFAF solid;
  text-align: center;
  float: left;
}

div.kal_we {
  background-color: #EFEFEF;
  color: #0A5F9F;
}

div.kal_tag a {
  width: 100%;
  height: 100%;
  display: block;
  line-height: 20px;
  text-align: center;
  background-color: #FFF;
  color: #000;
  text-decoration: none;
}

div.kal_tag a:hover {
  background-color: #EFEFEF;
}

div.kal_we a {
  color: #0A5F9F !important;
}

div.kal_tag a.set {
  background-color: #B7EFB5;
}

div.kal_tag a.indi {
  background-color: #F1D5C5 !important;
}

a.kal-next {
  margin: 0px;
  width: 296px;
  height: 20px;
  background-color: #AFAFAF;
  display: block;
  text-align: center;
  line-height: 20px;
  color: #FFF;
  text-decoration: none;
}

a.kal-next:hover {
  background-color: #3A98CB;
}

a.kal-remove {
  margin: 0px;
  width: 296px;
  height: 20px;
  background-color: #CFCFCF;
  display: block;
  text-align: center;
  line-height: 20px;
  color: #6F6F6F;
  text-decoration: none;
  margin-bottom: 5px;
}

a.kal-remove:hover {
  background-color: #3A98CB;
  color: #FFF;
}

div.tbl_opener {
  width: 100%;
  height: 12px;
  cursor: pointer;
  text-align: center;
  font-size: 10px;
  text-transform: uppercase;
  line-height: 12px;
  background-color: #DFDFDF;
  color: #000;
}

div.tbl_opener:hover {
  background-color: #6F6F6F;
  color: #FFF;
}

div.tbl_opener_cont {
  padding: 10px;
  display: none;
}

/* Monatsansicht */
div.tbl_opener_cont div.height {
  float: left;
  position: relative;
  width: 360px;
  margin: 0px 20px 20px 0px;
}

div.month_cont {
  float: left;
  position: relative;
  border: 1px #AFAFAF solid;
  border-bottom: 0px none;
  width: 100%;
}

div.month_cont h1 {
  background-color: #FFF;
  font-family: 'Arial','Verdana';
  margin: 0px 0px 0px 10px;
  padding: 0px;
  float: left;
}

div.month_cont div.th {
  float: left;
  width: 100%;
  background-color: #EFEFEF;
  font-weight: bold;
}

div.month_cont div.tag {
  float: left;
  width: 100%;
  border-bottom: 1px #AFAFAF solid;
}

div.month_cont div.date {
  float: left;
  width: 80px;
  padding: 0px 10px;
  line-height: 20px;
}

div.month_cont div.start,
div.month_cont div.ende {
  float: left;
  text-align: center;
  width: 55px;
}

div.month_cont div.event {
  float: left;
  width: 110px;
}

div.month_cont a.del {
  float: left;
  width: 20px;
  height: 20px;
  display: block;
  background-image: url('../bilder/icons/del.png');
  background-position: center -7px;
  background-repeat: no-repeat;
  text-decoration: none;
}

div.month_cont a.del:hover {
  background-color: #EFEFEF !important;
}

div.month_cont div.tag div.row {
  width: 240px;
  float: right;
}

div.month_cont div.tag div.add {
  float: right;
  width: 20px;
}

div.month_cont div.tag div.add a {
  width: 12px;
  height: 12px;
  display: block;
  background-color: #8F8F8F;
  border-radius: 6px;
  -o-border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  color: #FFF;
  margin: 4px 4px 0px 0px;
  text-decoration: none;
  line-height: 12px;
  font-size: 12px;
  text-align: center;
  font-weight: bold;
  float: right;
}

div.month_cont div.tag div.add a:hover {
  background-color: #0A5F9F;
}

div.month_cont div.tag a.row {
  width: 220px;
  float: left;
  line-height: 20px;
  border-top: 1px #CFCFCF solid;
  color: #0A5F9F;
}

div.month_cont div.tag a.row:first-child {
  border-top: 0px none;
}

div.month_cont div.tag a.noshow {
  background-image: url("../bilder/storno.png");
  color: #AFAFAF;
}

div.month_cont div.tag a.ausfall {
  background-color: #FFFF99;
}

div.month_cont div.tag a.serie {
  background-color: #F3DFF7;
}

div.month_cont div.tag a.ausnahme {
  background-color: #A5E8ED;
}


div.month_cont div.tag a:last-child {
  border-bottom: 0px none !important;
}

div.month_cont div.tag a:hover {
  background-color: #ABEEBB;
}

tr.ausnahmen_th > td {
  padding: 12px 0px 3px 0px;
  font-weight: bold;
}

div.ausnahmen_cont div.ausnahme {
  border-top: 1px #AFAFAF solid;
}

a.ausnahme_del {
  margin: 12px 0px 0px 10px;
  display: block;
  width: 19px;
  height: 37px;
  background-image: url('../bilder/icons/del.png');
  background-position: center center;
  text-decoration: none;
}

a.ausnahmen_add {
  display: block;
  width: 100%;
  height: 22px;
  background-color: #EFEFEF;
  line-height: 22px;
  text-align: center;
  color: #0A5F9F;
  text-decoration: none;
}

a.ausnahmen_add:hover {
  background-color: #0A5F9F;
  color: #FFF;
}

div.ausnahmen_proxy {
  display: none;
}

/* TOOLTIP */
div.tooltip {
  width: 20px;
  height: 20px;
  float: left;
  position: relative;
  background-image: url('../bilder/icons/info.png');
  margin: 0px 10px 0px 0px;
}

div.tooltip:hover > div {
  display: block;
}

div.tooltip div {
  position: absolute;
  left: 0px;
  bottom: 0px;
  background-color: #FFFFDD;
  border: 2px #FFD700 solid;
  min-width: 200px;
  max-width: 400px;
  padding: 5px 10px;
  line-height: 120%;
  display: none;
}

/* Gruppenassi */
div.gruppenresults {
  width: 100%;
  min-height: 10px;
  max-height: 500px;
  overflow: auto;
  margin-bottom: 20px;
  border-bottom: 1px #AFAFAF solid;
}

div.gruppenresults table td {
  color: #000;
}

div.gruppenresults table td input[type="checkbox"] {
  width: auto;
  max-width: auto;
  min-width: auto;
  margin: 0px;
  padding: 0px;
}

table.ansicht tr td {
  padding: 0px 10px 5px 0px;
  text-align: left;
  line-height: 20px;
}

table.ansicht tr td input {
  margin: 3px 0px 0px 0px;
  padding: 0px;
  width: 10px;
  min-width: 10px;
}

div.schleife {
  margin: 10px 0px;
  font-weight: bold;
  float: left;
  width: 100%;
}

div.schleife span {
  float: left;
  margin: 0px 10px 0px 0px;
  line-height: 21px;
}

div.schleife div {
  width: 21px;
  height: 21px;
  float: left;
  background-color: #1699F6;
  text-align: center;
  line-height: 21px;
  color: #FFF;
}

div.schleife a {
  color: #1699F6;
  text-decoration: none;
  display: block;
  width: 21px;
  height: 21px;
  float: left;
  background-color: #CFCFCF;
  text-align: center;
  line-height: 21px;
}

div.schleife a:hover {
  background-color: #AFAFAF;
  color: #000;
}

div.save {
  width: 94%;
  float: left;
  margin: 0px 0px 20px 0px;
  background-color: #EFFEB9;
  border: 2px #9EB157 solid;
  padding: 8px;
}


/* Upload BTN */
div.upload_cont {
  width: 100%;
  float: left;
  margin: 0px 0px 5px 0px;
}

div.upload_cont a.headerImg {
  width: 100%;
  box-sizing: border-box;
  display: inline-block;
  text-align: center;
  line-height: 18px;
}

div.upload_cont input.fotoupload,
div.upload_cont input.headerImg {
  display: none;
}

div.upload_cont.hidden,
span.headerimginfo.hidden {
  display: none;
}

div.perc {
  width: 100%;
  float: left;
  box-sizing: border-box;
  border: 2px solid #c9c9c9;
  background-color: #FFF;
  border-radius: 3px;
  -o-border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  display: none;
}

div.perc > div {
  width: 1%;
  height: 34px;
  float: left;
  background-color: #CDE69A;
}

div.upload_cont div.input {
  width: 100%;
  float: left;
  box-sizing: border-box;
}

div.upload_cont div.input input {
  width: 100%;
  float: left;
  background-color: #EFEFEF;
  color: #EFEFEF;
  height: 30px;
  line-height: 30px;
  box-sizing: border-box;
  border: 1px #e9edf2 solid;
  background-color: #F6F6F6;
}