
 .galeryImage {
     margin-bottom: 5px;
 }

 article, section
 {
   display: block;
 }

 .marktplatz_form_add_wrapper {
 	font-family: Geogrotesque Light;
 	font-size: 16px;
 	line-height: 16px;
 }

 .marktplatz_form_update_wrapper {
 	font-family: Geogrotesque Light;
 	font-size: 16px;
 	line-height: 16px;
 }

 .image_wrapper {
 	padding: 0;
 	margin: 0;
 	width: 100%;
/* 	max-height: 140px;*/
    max-height: 320px;
 }

 .image_container {
 	padding: 0;
 	margin: 0;
 	width: 100%;
/* 	max-height: 140px;*/
    max-height: 320px;
    overflow-y: auto;
 }
 .image_container_material {
  overflow: unset !important;
 }
 .mplace-list
 {
 	overflow-y: scroll;
 	max-height: 500px;
 }

 .mplace-list li
 {
   clear: both;
 }

 .mplace-item-image, .mplace-item-main, .mplace-item-details
 {
   width: auto;
   box-sizing: border-box;
   padding-left: 12px;
   margin-bottom: 12px;
   float: left;
 }

 .mplace-item
 {
   padding-top: 12px;
   padding-right: 12px;
   padding-bottom: 12px;
   position: relative;
 }

 .mplace-item-main
 {
   width: 65%;
   margin-left: 15px;
 }

 .mplace-item-details
 {
   width: 10%;
   text-align: right;
   margin-left: 15px;
 }

 .mplace-item-image
 {
   width: 140px;
   padding-top: 0px;
   padding-right: 0px;
   padding-bottom: 0px;
   padding-left: 0px;
 }

 .mplace-list
 {
   list-style-type: none;
   margin-top: 0px;
   margin-right: 0px;
   margin-bottom: 0px;
   margin-left: 0px;
   padding-top: 0px;
   padding-right: 0px;
   padding-bottom: 0px;
   padding-left: 0px;
 }

 .mplace-image-list
 {
   list-style-type: none;
   margin-top: 0px;
   margin-right: 0px;
   margin-bottom: 0px;
   margin-left: 0px;
   padding-top: 0px;
   padding-right: 0px;
   padding-bottom: 0px;
   padding-left: 0px;
 }

 .mplace-image-list li
 {
   float: left;
 }

 .mplace-image-list li a
 {
   z-index: 100;
 }

 .mplace-image-list li a div.mplace-imagebox
 {
   z-index: 111;
 }

 .mplace-image-list-item
 {
   cursor: pointer;
 }

 .mplace-imagebox > img
 {
   max-width: 100%;
   max-height: 100%;
   vertical-align: middle;
 }

 .mplace-item-main, .mplace-item-details
 {
   text-align: left !important;
 }

 .mplace-imagebox
 {
   background-color: #ffffff;
   border-top-width: 1px;
   border-right-width: 1px;
   border-bottom-width: 1px;
   border-left-width: 1px;
   border-top-style: solid;
   border-right-style: solid;
   border-bottom-style: solid;
   border-left-style: solid;
   border-top-color: #e5e5e5;
   border-right-color: #e5e5e5;
   border-bottom-color: #e5e5e5;
   border-left-color: #e5e5e5;
   border-image-source: none;
   border-image-slice: 100% 100% 100% 100%;
   border-image-width: 1 1 1 1;
   border-image-outset: 0 0 0 0;
   border-image-repeat: stretch stretch;
   text-align: center;
   position: relative;
   box-sizing: border-box;
   max-height: 140px;
   width: 140px;
   line-height: 91px;
   padding-top: 2px;
   padding-right: 2px;
   padding-bottom: 2px;
   padding-left: 2px;
   z-index: 90;
   /*pointer-events: none;*/
 }

 .marktplatz_show_details
 {
 /*  margin-top: 1em;*/
   margin-top: 0px;
   margin-right: 0px;
   margin-bottom: 1em;
   margin-left: 0px;
   color: #535353;
   font-size: 16px;
 }

 .mplace-item-main p, li
 {
   line-height: 1.6;
 }

 .text-module-begin
 {
   margin-top: 0px;
 }

 h1:first-child, h2:first-child, h3:first-child, h4:first-child
 {
   margin-top: 0px;
 }

 .marktplatz_show_details
 {
   color: #05ac92;
   cursor: pointer;
 }

.image_delete {
  background-image: url("../images/delete.gif");
  width: 18px;
  height: 24px;
  right: 8px;
  top: 8px;
  cursor: pointer;
  position: relative;
  z-index: 999;
  background-repeat: no-repeat;
  float: right;
  margin-bottom: 5px;
} 

/*
 .image_delete {
    background-image: url("../images/delete.gif");
    width: 24px;
    height: 24px;
    right: 0;
    top: 8px;
    cursor: pointer;
    position: absolute;
    z-index: 999;
    background-repeat: no-repeat;
 }
*/
 .marktplatz_loading_image {
   position: absolute;
   display: none;
 /*  display: block;*/
   left: 0;
   top: 0;
 	width: 99%;
 	height: 99%;
 /*	width: 0%;
 	height: 0%;*/
   cursor: wait;
 	z-index: 1000;
   background: #ffffff url('../images/loading.gif') no-repeat center center;
   -khtml-opacity: .50;
   -moz-opacity: .50;
   -ms-filter: "alpha(opacity=50)";
   filter: alpha(opacity=50);
   filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.5);
   opacity: .50;
   content: " ";
 /*    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
     filter: alpha(opacity=75);
     opacity: 0.75;*/
 }

 .marktplatz_add
 {
 	background-color: #a0c30f;
 	min-width: 100px;
 	height: 21px;
 	line-height: 20px;
 	color: white;
 	border-radius: 5px;
 	border-style: solid;
 	border-color: #a0c30f;
 	text-decoration: none !important;
 /*	float: right;*/
 	text-align: center;
 /*	margin: 2px;
 	padding: 0px 3px 0px 3px;*/
 	padding-top: 1px;
 	padding-bottom: 1px;
 }

 .marktplatz_add:hover
 {
 	opacity: 0.75;
 	cursor: pointer;
 }
 .bttn_upload_image
 {
 	float: right;
 	font-family: Geogrotesque Light;
 	font-size: 20px;
 	line-height: 20px;
 	margin-top: 6px;
 }

 div.upload {
     background-color:#fff;
     border: 1px solid #ddd;
     border-radius:5px;
     display:inline-block;
     height: 30px;
     padding:3px 40px 3px 3px;
     position:relative;
     width: auto;
 }

 div.upload:hover {
     opacity:0.95;
 }

 div.upload input[type="file"] {
     display: input-block;
     width: 100%;
     height: 30px;
     opacity: 0;
     cursor:pointer;
     position:absolute;
     left:0;
 }

 .uploadButton
 {
 	height: 26px;
 	padding-top: 1px;
 	padding-bottom: 1px;
 	padding-left: 2px;
 	padding-right: 2px;
 	margin-right: 5px;
 	margin-top: 2px;
 	cursor: pointer;
 	font-family: Geogrotesque Light;
 	font-size: 20px;
 	line-height: 20px;
 }

 .fileName {
     font-family: Geogrotesque Light;
     font-size:14px;
 }

 .upload + .uploadButton {
     height:28px;
 }

 .marktpaltz_icon_delete {
 	width: 20px;
 	height: 20px;
 	padding-top: 2px;
 	cursor: pointer;
   background: url('../images/marktplatz-loeschen.svg') no-repeat center center;
 	background-size: 16px 16px;
 	position: relative;
 	display: block;
 	left: 0;
 }

 .marktpaltz_icon_edit {
 	width: 20px;
 	height: 20px;
 	padding-top: 2px;
 	cursor: pointer;
   background: url('../images/marktplatz-bearbeiten.svg') no-repeat center center;
 	background-size: 16px 16px;
 	float: left;
 }

 .marktplatz_delete {
 	cursor: pointer;
 	position: relative;
 	display: block;
 	left: 0;
 /*	top: 45;*/
 	clear: both;
 }

 .marktplatz_delete_main_table {
 	width: 560px;
 	font-family: Geogrotesque Light;
 	font-size: 16px;
 	line-height: 22px;
 }

 .marktplatz_delete_table {
 	width: 100%;
 	font-family:
 	Geogrotesque Light;
 	font-size: 16px;
 	line-height: 22px;
 }


 .marktplatz_delete_table tr {
 	font-family: Geogrotesque Light;
 	font-size: 16px;
 	line-height: 22px;
 }

 .marktplatz_delete_table tr td {
 	font-family: Geogrotesque Light;
 	font-size: 16px;
 	line-height: 22px;
 	text-align: left;
 	vertical-align: top;
 }

 .marktplatz_delete_table tr td input {
 	font-family: Geogrotesque Light;
 	font-size: 16px;
 	line-height: 22px;
 }

 .marktplatz_delete_table tr td textarea {
 	font-family: Geogrotesque Light;
 	font-size: 16px;
 	line-height: 22px;
 }

 /* ---------- Topic Galerie ---------- */

 #topic_galery_wrapper {
  width: 100%;
  min-height: 300px;
 }
 #topic_galery_view {
  width: calc(100% - 50px);
  min-height: 300px;
 }
 #topic_galery_view.small {
  width: 50% !important;
  min-height: 300px;
 }
 #topic_galery_add {
  width: 50px;
  border-left: 1px solid #c2c2c2;
  min-height: 300px;
 }
 #topic_galery_add.big {
  width: 50% !important;
  min-height: 300px;
 }
 .topic-galery-toggler {
  margin-left: 10px;
  margin-top: 10px;
  font-size: 20px;
  color: #535353;
  cursor: pointer;
 }
 #topic_file_dropzone {
  cursor: move;
  background-image: url("../images/drag-and-drop_en.png");
  background-repeat:no-repeat;
  background-position: center center;
  min-height: 100px;
 }
.topic-image-delete {
    color: red;
    margin: 0;
    padding: 0;
    top: 10px;
    right: 30px;
    font-size: 20px;
    position: relative;
    cursor: pointer;
    cursor: pointer;
}

/* ---------- Fair Image Upload ---------- */

 #fair_file_dropzone {
  cursor: move;
  background-image: url("../images/drag-and-drop_en.png");
  background-repeat:no-repeat;
  background-position: center center;
  min-height: 100px;
 }
