/*
		Copyright (c) 2017 Zey Vermögensverwaltung GmbH

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/
/* @CHARSET "UTF-8";*/

body
{
	background-color: #eee;
}

a, a:hover {
	text-decoration: none;
}

header.navbar {
	margin: 0;
	z-index: 8500;
}

#TOAST_MANAGER_PLANE {
	position: fixed;
	z-index: 500;
	right: 5px;
	margin-top: 5px;
	width: 350px;
}

.login-wrapper {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #1b5278;
}
.login-wrapper:before {
	display: block;
	content: '';
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	background: url("../images/skyline.png") top left;
	background-size: cover;
	opacity: 0.3;
}
.login_box {
	position: absolute;
	background: rgba(255, 255, 255, 0.9);
	padding: 20px;
	max-width: 600px;
	border: 1px solid #ccc;
	width: 100%;
	left: 50%;
	top: calc(50%);
	z-index: 10;
	transform: translate(-50%, -50%);
}
.login_box h1 {
	font-size: 28px;
	border-bottom: 1px solid #1d5078;
	color: #1d5078;
	padding-bottom: 0.5em;
	margin-bottom: 1em;
	font-weight: bold;
}

.gsd-modal-firstlogin
{
	width: 					50%;
}

.nav_right_space
{
	padding-right:	40px;
}

.GSD_color_one			
{
	color:			#6296BC;
}

.GSD_color_two			
{
	color:			#ff0000;
}

.Reiterchen
{
	color:		#0080c0;
}

.Reiterchen:hover
{
	color:		#ff0000;
}

/* Account-Status */
.status_okay
{
	color: #3c763d;
}

.status_becareful
{
	color: #ff0000;
}

/* toasts */
div.toast
{
	background-color: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
}

div.toast.box hr
{
	margin: 5px 25px;
}

div.toast.bg-success
{
	background-color: #dff0d8;
	border: 1px solid #3c763d;
	color: #3c763d;
}

div.toast.bg-warning
{
	background-color: #fcf8e3;
	border: 1px solid #8a6d3b;
	color: #8a6d3b;
}

div.toast.bg-info
{
	background-color: #d9edf7;
	border: 1px solid #31708f;
	color: #31708f;
}

div.toast.bg-danger
{
	background-color: #f2dede;
	border: 1px solid #a94442;
	color: #a94442;
}

div.toast.bg-primary
{
	background-color: #337ab7;
	border: 1px solid #114692;
	color: #fff;
}

div.toast > div.toast-body
{
	position: relative;
  padding: 12px;
}

div.toast > div.toast-header
{
  width: 100%;
  padding: 12px 12px 3px 12px;
	position: relative;
	border: 0;
  border-bottom: 1px solid #999999;
  font-weight: bold;
}

div.toast.bg-success > div.toast-header
{
	border-bottom-color: #3c763d;
}

div.toast.bg-warning > div.toast-header
{
	border-bottom-color: #8a6d3b;
}

div.toast.bg-info > div.toast-header
{
	border-bottom-color: #31708f;
}

div.toast.bg-danger > div.toast-header
{
	border-bottom-color: #a94442;
}

div.toast.bg-primary > div.toast-header
{
	border-bottom-color: #114692;
}

/* new toast */
toast-plane
{
	position: 					fixed;
	top: 								60px;
	left: 							218px;
	width: 							calc(100% - 238px);
	height: 						calc(100% - 70px);
	z-index:						-1;

	background-color:		transparent;

	display:						flex;
	flex-flow:					column wrap;
	justify-content:		flex-start;
	align-content:			flex-start;

	direction:					rtl;
}

toast-plane-head
{
	font-size: 					1.4em;
}

toast-plane-body
{
	font-size: 					1.0em;
}

toast-plane > *
{
	direction: 					ltr;
	width: 							400px;
		
	z-index: 						9999;
	text-align: 				center;
		
	color: 						#333;
	background-color:	#fff;
		
	margin: 						10px;
	padding:						12px;
	box-shadow: 				0 3px 9px rgba(0, 0, 0, 0.5);
}

body > div.main-content-screen
{
	margin: 62px 5px 0 65px;
}

.modal
{
	z-index: 9999;
	padding-top: 50px;
}

.modal-content
{
	border: 1px solid #ddd;
	box-shadow: 0px 0px 100px RGBA( 0, 0, 0, 0.8 );
	background-color: white;
	margin: 5px;
	padding: 10px;
	border-radius: 0;
}

.modal-backdrop
{
	z-index: 9998;
	padding-top: 0px;
}

ul.nav.nav-stacked > li > a,
ul.nav.nav-stacked > li > div
{
	border: 0;
	border-left: 3px solid transparent;
	text-overflow: ellipsis;
	overflow: hidden;
}

ul.nav.nav-stacked > li > a:hover,
ul.nav.nav-stacked > li > div:hover
{
	border-left-color: rgb(255, 176, 176);
}

ul.nav.nav-stacked > li.active > a,
ul.nav.nav-stacked > li.active > div
{
	border-left-color: red;
}

ul.nav.nav-stacked > li.disabled > div:hover
{
	border-left-color: #888;
}

.fas.reload, .fas.close {
	font-size: 14px;
	margin-left: 5px !important;
}
.nav-tabs li.active .close
{
	opacity: 1;
	color: #ffffff;
}

.side-menu
{
	display: none;
	position: fixed;
	z-index: 10000;
	top: 57px;
	left: 4px;
}

.side-menu li i {
	vertical-align: middle;
}
.side-menu li .title {
	display: inline-block;
	width: 0;
	white-space: nowrap;
	overflow: hidden;
	transition: 0.5s all ease-in-out 500ms;
	vertical-align: middle;
}
.side-menu:hover li .title {
	width: 220px;
}

.side-menu .fa,
.side-menu .fas,
.side-menu .glyphicon
{
	position: relative;
	top: 1px;
	font-size: 1.15em;
	width: 1.6em;
}

.side-menu .glyphicon
{
	top: 3px;
}

.side-menu > p.box-title:first-child
{
	left: 0px;
	top: 0px;
}

.side-menu > ul > li > p.navbar-text
{
	width: 100%;
	float: none;
	margin: 0;
	padding: 0 15px;
	padding-bottom: 5px;
	text-align: center;
}

.side-menu > ul > li > a
{
	border: 0;
	border-left: 3px solid transparent;
	background-color: transparent;
	padding: 10px 5px;
}

.side-menu > ul > li.disabled > a
{
	border-left-color: #888;
	color: #aaa;
}

.side-menu > ul > li:not(.open) > a:hover
{
	border-left-color: rgb(255, 176, 176);
}

.side-menu > ul > li.open > a,
.side-menu > ul > li.open > a:focus
{
	border-left-color: red;
}

.side-menu > ul > li > hr
{
	margin: 5px 0px;
	padding: 0;
	margin-left: -3px;
}

.side-menu > ul > li.dropdown > ul.dropdown-menu
{
	border: 1px solid #ddd;
	border-left: 0;
	box-shadow: 2px 0px 2px RGBA( 0, 0, 0, 0.15 );
	background-color: white;
	margin: 0;
	padding: 0;
	border-radius: 0;
	min-width: 200px;

	position: absolute;
	top: -1px;
	left: 198px;
}

.side-menu > ul > li.dropdown > ul.dropdown-menu > li
{
	padding: 0;
}

.side-menu > ul > li.dropdown > ul.dropdown-menu > li + li
{
	margin-top: 2px;
}

.side-menu > ul > li.dropdown > ul.dropdown-menu > li.divider
{
	margin: 5px 0px;
}

.side-menu > ul > li.dropdown > ul.dropdown-menu > li > a
{
	border: 0;
	border-right: 3px solid transparent;
	color: #23527c;
	padding: 10px 15px;
	background-color: transparent;

}

.side-menu > ul > li.dropdown > ul.dropdown-menu > li > a:hover
{
	border-right-color: rgb(255, 176, 176);
}

.side-menu > ul > li.dropdown > ul.dropdown-menu > li.disabled > a
{
	color: #aaa;
}

.side-menu > ul > li.dropdown > ul.dropdown-menu > li.disabled > a:hover
{
	border-right-color: #888;
}

.side-menu > ul > li.dropdown > ul.dropdown-menu > li > a:active
{
	border-right-color: red;
}

.side-menu > ul > li > ul.dropdown-menu > li > p.navbar-text
{
	width: 100%;
	float: none;
	margin: 0;
	padding: 6px;
	text-align: center;
	color: #333;
}

/* .navbar-form > * {
	margin-right: 2em; 
} */
.navbar-form .fa-times {
	cursor: pointer;
}

.form-required
{
	display:			block;
	text-align:		center;
	font-weight:	bold;
	text-shadow:	1px 1px 1px rgba(0, 0, 0, 0.175);
}

div[class|=center-grid] > label[class$=inline]
{
	margin-left: 0;
}

.center-flex
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	/* text-align: center; */
}

.flex-container
{
	display: -webkit-flex;
	-webkit-flex-flow: column wrap;
	display: flex;
	flex-flow: column wrap;
	align-items: stretch;
}

.flex-row
{
	display: -webkit-flex;
	-webkit-flex-flow: row wrap;
	display: flex;
	flex-flow: row wrap;
	flex: 1;
	align-items: flex-start;
}

.flex-spacing-around-1 > *
{
	margin: 0.5em;
}

.flex-row::after
{
	clear: both;
	content: '';
}

form p.form-control-static
{
	border-bottom:	none;
	padding-top: 0;
	padding-left: 0;
	cursor:					default;
}

.tile.wrapper {
	display: -ms-grid;
	-ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
.tile.box {
	margin: 0 5px 5px 0;
}

.list.box {
	margin: 0 0 5px 0;
}
.tile.wrapper .object {
	cursor: pointer;
}
.preview-image {
	position: relative;
	height: 0;
	padding-top: 66.67%;
}
.tile.wrapper .preview-image img {
	max-height: 100%;
	width: auto;
	height: auto;
	left: 50%;
	top: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
}
.preview-image .bar {
	position: absolute;
	padding: 5px;
	background: rgba(255, 255, 255, 0.8);
	font-size: 1.2em;
	color: #333;
}

.preview-image .bar-top {
	z-index: 1;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	font-weight: bold;
}

.object .object-details {
	padding: 0;
}

.object .flex-5 {
	flex-basis: 5%;
}

.object .flex-8 {
	flex-basis: 8%;
}
.object .flex-10 {
	flex-basis: 10%;
}

.object .flex-15 {
	flex-basis: 15%;
}

.smallrow-wrapper .object,
.dashboard-width .object {
	display: flex;
	margin: 10px 5px;
	cursor: pointer;
}

.smallrow-wrapper .object:hover {
	background-color: #f0f0f0;
	border: 1px solid #ccc;
	box-shadow: 0px 0px 4px RGBA(0, 0, 0, 0.4);
}

.smallrow-wrapper .object > * {
	padding: 10px 5px;
}
.smallrow-wrapper .preview-image {
	padding: 0 2% 0 0;
}


.object-details .features-grid {
	border-top: 1px solid #dddddd;
	border-left: 1px solid #dddddd;
	margin: 0 5px;
}

.object-details .grid-row {
	display: -ms-grid;
	-ms-grid-columns: 1fr 1fr 1fr;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-column-gap: 0;
}
.object-details .grid-row > * {
	padding: 10px;
	border-right: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
}

.object-details .tagcloud {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
}

.object-details .tagcloud .tag {
	padding: 2px 10px;
}

.tagcloud .tag.housetype {
	color: #fff;
	background: #c9c924;
}
.tagcloud .tag.objectid {
	color: #fff;
	background: rgba(105, 151, 171, 0.51);
}
.tagcloud .tag.interest {
	color: #fff;
	background: #b78d2a;
	min-width: 50px;
}

.tagcloud .tag.interest i {
	font-size: 12px;
	color: #fff;
}

.object-details .description {
	margin: 10px 5px;
}
.object-details .description .title {
	font-weight: bold;
}
.object-details .description .subtitle {
	font-size: 12px;
}

.tile.wrapper i {
	font-size: 1.3em;
	margin-right: 6px;
	color: #9a9a9a;
}

.ui-widget-content.dashboard-width {
	border: none;
	box-shadow: 0 0 5px #666;
}
.dashboard-width {
	width: 1200px !important;
	z-index: 400;
}

.dashboard-width .ui-menu-item .object {
	box-shadow: none;
	border: none;
	border-bottom: 1px solid #dddddd;
	padding-bottom: 10px;
}
.dashboard-width .ui-menu-item .ui-state-active {
	background: #23527c;
	padding: 10px;
}

.dashboard-width .ui-menu-item .address {
	padding-left: 10px;
}

.dashboard {
	max-width: 1400px;
	margin: 0 auto;
}
.dashboard .link {
	display: flex;
	cursor: pointer;
	line-height: 2.2em;
	padding: 0 5px;
	border-bottom: 1px solid #e0e0e0;
	margin-right: 5px;
	color: #333;
}
.dashboard .link:last-child {
	border-bottom: none;
}
.dashboard .link:hover {
	background: rgb(57, 128, 181);
	color: white;
}
.dashboard .welcome {
	padding: 10px 20px 30px;
}
.dashboard-navbox,
.dashboard-activity,
.dashboard-search {
	display: -ms-grid;
	-ms-grid-columns: 1fr 1fr;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 10px;
	grid-row-gap: 10px;
}
.dashboard-search {
	margin: 30px 0 10px;
}
.dashboard-gmap {
	margin-top: 30px;
}

/* .chartjs-render-monitor {
	height: 100% !important;
} */
.dashboard .box {
	color: #333;
	padding: 20px;
}
.dashboard h2 {
	font-size: 24px;
	margin-top: 0;
	color: rgb(57, 128, 181);
}
.dashboard-navbox .box{
	text-align: center;
}
.dashboard-navbox .box .count {
	display: block;
	font-weight: bold;
	font-size: 5em;
}
.dashboard .scrollbox {
	overflow-y: auto;
	max-height: 150px;
}

.dashboard .inline-date {
	flex: 0 0 85px;
}
.dashboard .inline-street {
	flex: 0 1 30%;
}
.dashboard .inline-city {
	flex: 0 1 30%;
}
.dashboard .inline-name {
	flex: 0 1 30%;
}
.dashboard .inline-price {
	flex: 0 0 100px;
	text-align: right;
}

.leaflet-popup-content-wrapper {
	border-radius: 0;
}

.leaflet-popup-content {
	margin: 0;
}

.leaflet-popup-content .box {
	box-shadow: none;
	border: none;
	margin: 0;
	padding: 10px;
}
.leaflet-popup-content .description,
.leaflet-popup-content .features-grid {
	margin: 10px 0 0;
}
.leaflet-container a.leaflet-popup-close-button {
	right: -15px;
	background: white;
	top: -15px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	color: #333;
	text-align: center;
	padding: 0;
	line-height: 24px;
	display: block;
	font-size: 1.5em;
	box-shadow: 0px 0px 5px #333;
}

card-list
{
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
}

card-list > card
{
	position: relative;
	display: inline-block;
	width: calc( 100% - 12px );
}

card-list.flex-1 > card
{
	width: calc( 100% - 12px );
}

card-list.flex-2 > card
{
	width: calc( 50% - 12px );
}

card-list.flex-3 > card
{
	width: calc( 33.33333% - 12px );
}

card
{
	background-color: transparent;
	margin:						6px;
	padding: 					7px;
	box-shadow: 			2px 2px 4px #ddd;
}

card-list.hover > card:hover
{
	background-color: #f5f5f5;
}

form > .form-switch
{
	position: relative;
	padding:	15px 20px;
	border-radius: 50%;
}

form > .form-switch.form-switch-sticky
{
	position: sticky;
	z-index: 1001;
	margin-top: 20px;
}

.noDisplay
{
	display: none;
}

table.table-borderless > tbody > tr,
table.table-borderless > tbody > tr > th,
table.table-borderless > tbody > tr > td
{
	border: 0px none !important;
}

.panel-body > table:last-child
{
	margin: 0;
}

.not-selectable {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

/* Typeahead and bootstrap combination fix */
.typeahead.dropdown-menu {
	min-width: 700px;
}