body, html{
	background: #EDEDED;
	/* height: 100%; */
	}
	
body {
  padding: 1rem;
}

.breadcrumb{
	padding-top: 0px;
	margin-top: 0px;
	padding-bottom: 0px;
	margin-bottom: 0.3 rem;
}

div.userbar{
	background-color: brown;
	color: white;
	}
	
div.logobar{
	background-color: white;
	color: black;
	border-bottom: 1px solid #A1A1A1;
	margin-bottom: 10px;
	
	-webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.75);
	height: 74px;
	}	

img.logo{
	max-width: 238px;
	height: auto;
	margin: 5px 25px 5px 7px;
	}
	
div.colNoPadding{
	padding-left: 0px;
	padding-right: 0px;
	}
	
div.spaceAbove{
	margin-top: 60px;
	}

/* ===== SIDEBAR ===== */

/* overflow-x must be visible for right-flyout dropdowns */
#sidebar {
	overflow-x: visible;
}

#sidebar a {
	display: flex;
	align-items: center;
	background: #4A4A4A;
	color: white;
	padding: 4px 8px;
	border-bottom: 1px solid #EDEDED;
	font-size: 115%;
	text-decoration: none;
}

#sidebar a i {
	flex-shrink: 0;
	width: 22px;
	text-align: center;
}

#sidebar a div.linktext {
	flex: 1;
	padding-left: 6px;
}

#sidebar a:hover,
#sidebar a:active {
	background: #383838;
	text-decoration: none;
}

#sidebar a.sub {
	padding-left: 28px;
}

/* Menu item wrapper */
#sidebar .menu-item {
	position: relative;
}

/* Arrow indicator on items with a dropdown */
#sidebar .menu-item.has-dropdown > a:first-child::after {
	content: '›';
	font-family: sans-serif;
	font-size: 1.4em;
	line-height: 1;
	opacity: 0.55;
	margin-left: 4px;
}

/* Right-flyout dropdown panel */
#sidebar .menu-item .dropdown {
	display: none;
	position: absolute;
	left: 100%;
	top: 0;
	z-index: 1000;
	min-width: 220px;
	box-shadow: 4px 4px 12px rgba(0,0,0,0.45);
}

#sidebar .menu-item .dropdown a {
	white-space: nowrap;
	border-left: 3px solid #333;
}

/* Show dropdown on hover — CSS only, no JS */
#sidebar .menu-item:hover .dropdown {
	display: block;
}


/* ===== TOPBAR ===== */

#topbar .topbar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	padding-left: 15px;
	margin-bottom: 10px;
}

#topbar .menu-item {
	position: relative;
}

#topbar a {
	display: block;
	background: #4A4A4A;
	color: white;
	padding: 4px 12px;
	border-bottom: 1px solid #EDEDED;
	font-size: 115%;
	margin-right: 12px;
	text-decoration: none;
	white-space: nowrap;
}

#topbar a:hover,
#topbar a:active {
	background: #383838;
	text-decoration: none;
}

/* Down-arrow indicator on topbar items with a dropdown */
#topbar .menu-item.has-dropdown > a:first-child::after {
	content: ' ▾';
	font-family: sans-serif;
	font-size: 0.8em;
	opacity: 0.65;
}

/* Downward dropdown panel */
#topbar .menu-item .dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	min-width: 200px;
	box-shadow: 4px 4px 12px rgba(0,0,0,0.45);
}

#topbar .menu-item .dropdown a {
	margin-right: 0;
	border-top: 1px solid #5a5a5a;
	white-space: nowrap;
}

/* Show dropdown on hover — CSS only, no JS */
#topbar .menu-item:hover .dropdown {
	display: block;
}

	
a.sort-header-link:link, a.sort-header-link:visited{
	color: black;
	text-decoration: none;
	}
	
a.sort-header-link:hover, a.sort-header-link:active{
	color: #007bff;
	}
	
a.current_asc:after{
	font-family: 'manager';
	content: '\004f';
	margin-left: 0.3em;
	}
	
a.current_desc:after{
	font-family: 'manager';
	content: '\004e';
	margin-left: 0.3em;
	}
	
.not_sortable{
	color: rgb(75,75,75);
	}
	
	
.custom-file-label:after{
	content: 'Durchsuchen...'
	}
	
.markforDelete{
	border: 1px solid red;
	opacity: 0.5;
	
	}
	
div.sellerPhotoContainer{
	margin-bottom: 6px;
	background-color: red;
	display: inline-block;
	}

div.sellerPhotoContainer:after{
	content: "";
	clear: both;
	}
	
.grey{
	color: grey;
	}
	
.font_micro{
	font-size: 18px;
	}
	
.font_tiny{
	font-size: 24px;
	}
	
.font_thumb{
	font-size: 30px;
	}

.font_middle{
	font-size: 48px;
	}
	
.font_full{
	font-size: 64px;
	}
	
/* ===== WIZARD ===== */

/* Chip in the topbar / userbar */
#wizard-chip-wrap {
	display: inline-flex;
	align-items: center;
	background: #27ae60;
	border-radius: 20px;
	padding: 2px 4px 2px 10px;
	margin-right: 10px;
	white-space: nowrap;
	font-size: 13px;
	}

#wizard-chip-wrap a {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	}

#wizard-chip-wrap a:hover {
	color: #fff;
	text-decoration: underline;
	}

#wizard-chip-close {
	background: none;
	border: none;
	color: rgba(255,255,255,0.75);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	padding: 0 5px;
	margin-left: 4px;
	}

#wizard-chip-close:hover {
	color: #fff;
	}

/* Floating wizard panel */
#wizard-panel {
	position: fixed;
	bottom: 24px;
	right: 24px;
	left: auto;
	z-index: 1050;
	width: 380px;
	background: #fff;
	border: 2px solid #27ae60;
	border-radius: 8px;
	box-shadow: 0 8px 28px rgba(0,0,0,0.28);
	font-size: 14px;
	}

#wizard-panel-header {
	background: #27ae60;
	color: #fff;
	padding: 8px 12px;
	border-radius: 5px 5px 0 0;
	cursor: move;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
	font-size: 13px;
	user-select: none;
	-webkit-user-select: none;
	}

#wizard-panel-header .wizard-panel-title {
	flex: 1;
	}

#wizard-panel-body {
	padding: 13px 15px 12px;
	}

.wizard-info-row {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #555;
	margin-bottom: 3px;
	}

.wizard-info-row .wlabel {
	color: #888;
	margin-right: 8px;
	flex-shrink: 0;
	}

.wizard-estimate {
	background: #f8f9fa;
	border-left: 3px solid #27ae60;
	padding: 5px 9px;
	margin: 9px 0;
	font-size: 13px;
	color: #333;
	}

.wizard-price-section {
	margin: 10px 0 8px;
	}

.wizard-price-section label {
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 4px;
	display: block;
	}

.wizard-price-section .input-group input {
	font-size: 18px;
	font-weight: 700;
	text-align: right;
	}

.wizard-actions {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
	}

.wizard-actions .btn {
	font-size: 12px;
	padding: 5px 9px;
	}

.wizard-actions .btn-save {
	flex: 2;
	}

.wizard-actions .btn-skip,
.wizard-actions .btn-summary {
	flex: 1;
	}

#wizard-reject-btn {
	flex: 1;
	}

#wizard-reject-btn.active {
	background-color: #c0392b;
	border-color: #c0392b;
	color: #fff;
	}

/* Summary page */
.wizard-summary-table .price-input-cell {
	min-width: 130px;
	}

#angebotstabelle-2 .proposal-info-row th,
#angebotstabelle-2 .proposal-info-row td {
	color: #52106f;
	padding-left: 20px;
	}

.wizard-total-bar {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	padding: 12px 16px;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 18px;
	}

div.micro_container{
	width: 24px;
	height: 24px;
	position: relative;
	top: -2px;
	
	overflow: hidden;
	margin-left: 0px;
	margin-top: 0px;
	margin-bottom: -7px;
	margin-right: 3px;
	padding: 0px;
	border: 1px solid white;
	display: inline-block;
	font-size: 4px;
	line-height: 0px;
	background-color: white;
	}
	
	
div.comments_header{
	margin-bottom: 20px;
	}
	
div.comments_container{
	max-height: 850px;
	overflow: auto;
	}
	
div.comment_container{
	margin: 2px;
	/*border: 1px solid red;
	background-color: violet;*/
	}
	
div.comment_user_img_container{
	width: 48px;
	height: 48px;
	/*outline: 1px solid white;*/
	background-color: white;
	}
	
div.comment_user_img_container.offset-1{ margin-left:  24px !important; }
div.comment_user_img_container.offset-2{ margin-left:  48px !important; }
div.comment_user_img_container.offset-3{ margin-left:  72px !important; }
div.comment_user_img_container.offset-4{ margin-left:  96px !important; }
div.comment_user_img_container.offset-5{ margin-left: 120px !important; }
div.comment_user_img_container.offset-6{ margin-left: 144px !important; }
div.comment_user_img_container.offset-7{ margin-left: 168px !important; }
div.comment_user_img_container.offset-8{ margin-left: 192px !important; }

	
div.comment_content_container{
	display: block;
	/*background-color: orange;*/
	/*vertical-align: top;*/
	/*position: relative;*/
	
	margin-top: -48px;
	
	/*margin-bottom: -48px;*/
	margin-left: 60px;
	}
	
div.comment_content_container.offset-1{ margin-left:  84px; }
div.comment_content_container.offset-2{ margin-left: 108px; }
div.comment_content_container.offset-3{ margin-left: 132px; }
div.comment_content_container.offset-4{ margin-left: 156px; }
div.comment_content_container.offset-5{ margin-left: 180px; }
div.comment_content_container.offset-6{ margin-left: 204px; }
div.comment_content_container.offset-7{ margin-left: 228px; }
div.comment_content_container.offset-8{ margin-left: 252px; }

div.pin_typeahead_wrap{
	position: relative;
	}

ul.pin_typeahead_list{
	position: absolute;
	top: calc(100% + 2px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0,0,0,.12);
	list-style: none;
	margin: 0;
	padding: 3px 0;
	z-index: 200;
	max-height: 220px;
	overflow-y: auto;
	}

li.pin_ta_item{
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: .4rem;
	padding: 5px 10px;
	cursor: pointer;
	font-size: .88rem;
	}

li.pin_ta_item:hover,
li.pin_ta_item.active{
	background: #e8f0fe;
	}

span.pin_ta_id{
	font-size: .75rem;
	color: #999;
	white-space: nowrap;
	}

div.pending_pins{
	margin-top: 6px;
	font-size: 90%;
	}

span.pending_pin{
	display: inline-block;
	background-color: #d9edf7;
	border: 1px solid #bce8f1;
	color: #31708f;
	border-radius: 3px;
	padding: 3px 8px 3px 6px;
	margin: 2px 3px 2px 0;
	white-space: nowrap;
	}

span.pending_pin a.remove_pin,
span.pending_pin a.remove_pin:visited{
	color: #a94442;
	margin-right: 5px;
	text-decoration: none;
	}

span.pending_pin a.remove_pin:hover{
	color: #c0392b;
	}

span.pending_pin a.insert_pin_link,
span.pending_pin a.insert_pin_link:visited{
	color: #31708f;
	margin-right: 5px;
	text-decoration: none;
	}

span.pending_pin a.insert_pin_link:hover{
	color: #1a4a60;
	}

div.comment_container.comment_pinned div.comment_content_container{
	background-color: #fff8e8;
	border-left: 3px solid #f0ad4e;
	padding: 4px 8px 2px 8px;
	border-radius: 0 4px 4px 0;
	}

div.comment_pin_indicator{
	font-size: 85%;
	color: #8a6d3b;
	margin-bottom: 5px;
	}

div.comment_pin_indicator a:link,
div.comment_pin_indicator a:visited{
	color: #8a6d3b;
	text-decoration: underline;
	}

div.comment_pinned_at_indicator{
	font-size: 85%;
	color: #5a6678;
	margin-bottom: 5px;
	}

div.comment_pinned_at_indicator a:link,
div.comment_pinned_at_indicator a:visited{
	color: #5a6678;
	text-decoration: underline;
	}

div.comment_actions{
	/*background-color: yellow;*/
	margin-top: 6px;
	margin-bottom: 10px;
	}

div.comment_actions a:link,
div.comment_actions a:visited{
	color: #555;
	margin-right: 12px;
	}
	
div.comment_actions a:hover,
div.comment_actions a:active{	
	color: #007bff;
	}
	
span.comment_update_info{
	color: #666;
	}
	
#filters-toggle-btn{
	margin-bottom: 6px;
	}
	
#filters{
	margin-bottom: 10px;
	background-color: white;
	padding: 10px 5px;
	border-radius: 5px;
	border: thin solid #888;
	}
	
.smallHint{
	font-size: 90%;
	}
	
.warning{
	color: red;
	}
	
#buyer_info .warning,
#kaeufer_details_content .warning,
.kaeufer-details-content .warning,
#publication_info .warning{
	font-size: 115%;
	font-weight: bold;
	}
	
.guthaben{
	color: darkgreen;
	}
	
#buyer_info .guthaben,
#kaeufer_details_content .guthaben,
.kaeufer-details-content .guthaben,
#publication_info .guthaben{
	font-size: 115%;
	font-weight: bold;
	}

#buyer_comments,
#publication_comments{
	margin-top: 10px;
	}

#buyer_comments h3,
#publication_comments h3,
#returned_publication_comments h3{
	font-size: 100%;
	font-weight: bold;
	}

	
#buyer_info	div.sellerPhoto,
#kaeufer_details_content div.sellerPhoto,
.kaeufer-details-content div.sellerPhoto{
	float: left;
	margin-right: 10px;
	}

#buyer_info table,
#kaeufer_details_content table,
.kaeufer-details-content table,
#publication_info table{
	margin-bottom: 10px;
	}
	
div.infoBox{
	border: 1px solid #666;
	margin-bottom: 15px;
	padding: 4px;
	min-height: 75px;
	max-height: 375px;
	overflow: auto;
}

div.infoBox_header{
	border: 1px solid #666;
	background-color: #666;
	color: white;
	text-align: center;
	font-size: 100%;
	margin: 0px;
	padding-bottom: 2px;
}


#map_city_scale,
#map_street_scale{
	height: 320px;
	}
	
	
/* Debug */
div.debugBlock{
	margin-bottom: 10px;
	}

div.debugHeader{
	background:#ACC5C8;
	}
	
div.debugFooter{
	background:#C0D1D3;
	}
	
div.debugHeader h5{
	padding-bottom: 3px; 
	margin-bottom: 0px;
	}
	
div.debugContainer{
	background:#D6E3E5; 
	max-height: 350px; 
	overflow: auto;
	}
	
#calculator{
	position: absolute;
	left: 390px;
	top: 280px;
	
	display: none;
	background: white;
	width: 274px;
	height: 160px;
	overflow: hidden;
	border-radius: 6px;
	z-index: 150;
	
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	
	cursor: move;
	}
	
#calculator div.header{
	background: black;
	color: lightgrey;
	size: 14px;
	font-weight: 700;
	padding-bottom: 3px;
	padding-left: 7px;
	}
	
#calculator div.header div.calc_close{
	color: lightgrey;
	size: 14px;
	margin-right: 6px;
	float: right;
	cursor: pointer;
	}

#calculator div.header div.calc_close:hover{
	color: white;
	}
	
#calculator div.content{
	padding: 4px 8px;
	}
	
div.cash{
	text-align: center;
	font-size: 12;
	font-weight: 900;
	border: 2px solid black;
	background-color: green;
	color: black;
	width: 46px;
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
	cursor: pointer;
	}
	
div.cash span.amount{
	position: relative;
	top: -1px;
	}
	
#calc_results_json{
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 460px;
	height:	100px;
	background-color: green;
	border: 2px solid dark-green;
	border-radius: 8px;
	padding: 10px;
	color: white;
	opacity: 0.65;
	}
	
