em {color:inherit !important;}

.tm-headerbar,
.tm-toolbar {
    background: #d0d8df;
	position:relative;
}
.tm-headerbar {
    text-align: center;
}

.tm-logo {
	display:inline-block;
}
.tm-logo > * {
    height: 150px;
    top: -25px;
    position: relative;
}

.tm-logo > * > img {
	height:100%;
	margin:auto;
}
.tm-navbar .tm-logo img {
	
}
.tm-nav.uk-hidden-small {
    margin: auto;
}
.tm-fullscreen-slideshow .uk-overlay-panel.uk-overlay-bottom.uk-overlay-fade{
    background: #1d2130;
    background: rgba(29,33,48,0.7);
}
.tm-navbar, .tm-navbar > div { height:60px; }
.uk-navbar-nav > li > a { height:60px; line-height:40px; }

.uk-navbar-nav li > a,
.uk-subnav li > a {
    color: #6b757d;
    font-size: 16px;
    font-family: 'Open Sans Condensed';
    font-weight: bold;
    position: relative;
    text-transform: uppercase;
}

.uk-overlay-panel h3.uk-h1 {
    background: #1d2130;
	padding:25px 40px;
}
.tm-footer {
    background: #1d2130;
	padding: 25px 0px;
}
.tm-footer .uk-container  .span3:first-child {
	margin-left:0;
}
.tm-footer .address-horizontal div {
	text-align:left;
}
@media (max-width: 767px) {
	.tm-footer .address-horizontal div {
		text-align:center;
		width:100% !important;
		float:none !important;
	}
}
@media (min-width: 768px) {
	.tm-footer {
		padding: 45px 0;
	}
}

.uk-navbar-content:before, .uk-navbar-brand:before, .uk-navbar-toggle:before {
    display:none;
}
a.uk-navbar-toggle.uk-visible-small {
    display: table;
}
.uk-navbar-toggle:after {
    display: table-cell;
}


/* Offcanvas */
.uk-offcanvas-bar {
    background: #1d2130;
}
.uk-nav.uk-nav-offcanvas li  a {
	text-transform:uppercase;
}
html .uk-nav.uk-nav-offcanvas > li.uk-active > a,
html .uk-offcanvas-bar .merkzettel-nav > li.uk-active > a {
    background: #343f68;
}

/* forms */
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    line-height: inherit !important;
}
select, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    height: auto !important;
}


.tight-h {}
.tight-h p { margin:2px 0; }
.tight-h .inputbox { margin:5px 0; }
.tight-h .mod-jea-search-form  label { line-height:140%; display:block !important; }
.tight-h .mod-jea-search-form  h4 { display:none; }

textarea {
	height:auto;
}
select, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {	
    height: 22px;
}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    line-height: 22px;
    color: #6b757d;
	border:2px solid #e4e6e6;
}
.ccms_form_element input, .ccms_form_element textarea, .uneditable-input {
    width: auto;
}
.cfdiv_custom label,
.cfdiv_textarea label,
.cfdiv_select label,
.cfdiv_text label {
    min-width: 25%;
	max-width:220px;
}
.small-message {
	margin:4px 0 0 25%;
}
.anschrift .span3 { margin-left:0;}

/* btn override */
.prev-next-navigation .next { float:right; }
.prev-next-navigation .previous { float:left; }
.prev-next-navigation .previous { float:left; }
.prev-next-navigation a, .prev-next-navigation span { display:inline !important; }
.prev-next-navigation a,
.exist_merkzettel,
.gbs3 .btn,
.btn {
  padding: 10px 20px;
  background-color: transparent !important;
  color: #738fa9 !important;
  background-image: none;
  border: 2px solid #738fa9 !important;
  border-radius: 0px !important;
  box-shadow:none !important;
}
.prev-next-navigation span {
  padding: 10px 20px;
  background-color: transparent;
  color: #e4e6e6;
  background-image: none;
  border:2px solid #e4e6e6;
}

.prev-next-navigation a:hover,
.gbs3 .btn:hover,
.gbs3 .btn:focus,
.gbs3 .btn:active,
.gbs3 .btn.active,
.gbs3 .btn.disabled,
.gbs3 .btn[disabled],
.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
  color: #333 !important;
  background-color: #ffffff !important;
  opacity:0.7;
  *background-color: #ffffff !important;
}
.btn:active,
.btn.active {
  background-color: #ffffff \9;
}

.btn:hover,
.btn:focus {
  color: #738fa9;
}

.gbs3 .btn-primary,
.btn-primary {
  background-color: #738fa9 !important;
  color: #ffffff !important;
  border: none !important;
}
.gbs3 .btn-primary:hover,
.gbs3 .btn-primary:focus,
.gbs3 .btn-primary:active,
.gbs3 .btn-primary.active,
.gbs3 .btn-primary.disabled,
.gbs3 .btn-primary[disabled],
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  color: #ffffff !important;
  background-color: #455c71 !important;
  *background-color: #455c71 !important;
}
.btn-primary:active,
.btn-primary.active {
  background-color: #324251 \9;
}
.btn-primary:first-child {
  *margin-left: 0;
}
.btn-primary:hover,
.btn-primary:focus {
  color: #ffffff;
}

/* content */
.nopadding {
    padding: 0 !important;
}

.double_labelled tr {}
.double_labelled tr td { padding-bottom:10px;vertical-align:top; }
.double_labelled tr td h3 { margin-top:5px; padding-top:0px; }

.linkliste tr td {
	padding:8px 5px;
	vertical-align:middle;
}

@media (min-width: 768px)
{
	.linkliste_links {
		width:30px;
	}

	.link_bildspalte {
		width:120px;
	} 
}
@media (max-width: 767px)
{
	.double_labelled tr { display:block; }
	.double_labelled tr td { padding-bottom:30px;vertical-align:top; }

	.linkliste_links {
		width:30px;
		float:left;
	}

	.link_bildspalte {
		min-width:30%;
		float:left;
		clear:left;
	}
}


@media (max-width: 450px)
{
	.double_labelled tr.empty {
		display:none;
	} 
	.double_labelled tr td { 
		display:block;
		float:none;
		clear:both;
	}
	.link_bildspalte img {
		display:none;
	}
}





/* adresse footer */
.tm-footer .address-horizontal p ,
.tm-footer .address-horizontal table {
	margin-right:25px;
	text-align:left;
}

@media (max-width: 768px) {
	
	.tm-footer .address-horizontal {
		margin:auto;
	}
	.tm-footer .address-horizontal p ,
	.tm-footer .address-horizontal table {
		text-align:center;
		margin: auto;
	}
	.tm-footer .address-horizontal table tr,
	.tm-footer .address-horizontal table td{
		display:inline-block;
		padding-right:10px;
	}
	.tm-footer .uk-panel {
		margin-bottom:20px;
	}
	.tm-navbar, .tm-navbar > div {
		height: 75px;
	}
}
@media (min-width: 768px) {
	.pull-right-on-large { float:right; }
	
	.tm-footer .address-horizontal p ,
	.tm-footer .address-horizontal table {
		text-align:left;
	}
}


/* JEA Styles */
table.jea_listing .nowrap a:visited,
table.jea_listing .nowrap a:link {
    background-color: #1d2130;
}
table.jea_listing .nowrap a {
    border-radius: 4px;
    padding: 5px 8px;
}
table.jea_listing .nowrap a:hover,
table.jea_listing .nowrap a:active,
table.jea_listing .nowrap a:focus {
    background-color: #d0d8df !important;
    color: #1d2130 !important;
}

aside .jea-counter .btn { margin-top:10px; width:100%; padding:10px 20px; }

span.town {
    display: inline-block;
    position: relative;
}
.jea-cols {
  display: flex;
}
.jea-col-left,
.jea-col-right {
	flex:1;
	margin-top:50px;
	margin-bottom:20px;
}
.jea-col-right {
    padding-left: 2%;
    margin-left: 2%;
}

@media (max-width: 767px) {
	.jea-cols{
		display: block;
	}
	.jea-col-left,
	.jea-col-right {
		width:100%;
		float:none;		
		margin-left: 0;
		padding-left: 0;
		border-left: none;
		margin-top:10px;
		margin-bottom:10px;
	} 
	
	.mobile h3:after {
		display: block;
		width: 3px;
		height: 5px;
		background: url ('../../../../../../media/com_jea/images/sort_desc.png');
	}
	.mobile h3 {
		 cursor:pointer;
		border:2px solid #e4e6e6;
		padding:10px 20px;
		margin:20px 0 0 0;
	}
	
	.mobile h3+* { 
		margin-top:5px;
		margin-left:20px;
	}
}


/* JEA detail*/
.jea-properties .buttons .exist_merkzettel,
.jea-detail-view .buttons .exist_merkzettel {
	border-color:#a6bd8b;
	color:#ccc;
}
.jea-properties .buttons .btn,
.jea-detail-view .buttons .btn, 
.jea-properties .buttons .exist_merkzettel,
.jea-detail-view .buttons .exist_merkzettel {
	display:inline-block;
    line-height: 25px;
    min-height: 28px;
	margin-right:10px;
} 

.uk-panel-title { margin-bottom:10px; }
.jea_preview_widget_img .uk-panel-caption {
	*background-color: #333333; 
	background-color: rgba(0, 0, 0, 0.7); 
	color: #FFFFFF;
}
div#jea-gallery-scroll br {
    display: none;
}
div#jea-gallery-scroll a.jea_modal {
    height: 50px;
    display: inline-block;
    overflow: hidden;
}
div#jea-gallery-scroll a.jea_modal img {
    height: 100%;
}
table.jea-data td {
    line-height: 22px;
}
table.jea-data td.tbl_label { font-weight:normal; padding-left:0px; }
table.jea-data td.tbl_value { }

dl.jea_item dt.title,
dl.jea_item dt.title h2 {
    margin-bottom: 0px;
}



/* JEA list*/
.limitbox select { width:auto !important; }
.limitbox span {
	display:inline-block;
	white-space:nowrap;
}
.sort-options a {
	display:inline-block;
	white-space:nowrap;
	padding:10px 20px;
	border:2px solid #e4e6e6;
	margin-bottom:10px !important;
}
.sort-options .separator { display:none; }
	
@media (min-width: 768px) {
	.jea-grid {
		margin-left:-25px;
		/*margin-right:-25px;*/
	}
}
@media (max-width: 767px) {
	
	.sort-options,
	.limitbox{
		text-align: left !important;
		line-height:36px !important;
	}
}
@media (max-width: 767px) {
	.sort-options{
		width:100%;
	}
}
.jea-listheader  {
	overflow:hidden;
	margin-bottom:20px;
}
.jea-listheader select {
	margin-bottom:0 !important;
} 
.jea-listheader * { 
	line-height :14px;
	font-size:14px;
    vertical-align: middle;
}
.jea_item  dd{ 
	line-height :120%; 
	margin-bottom:25px;
}
.jea_item  .image { 
	line-height :120%; 
	margin-bottom:25px;
}
dt.title span.small {
    white-space: nowrap;
}

.jea_preview_widget_img {
	max-height:100px;
	overflow:hidden;
	margin-bottom:10px;
	margin-bottom:1.5%;
}

@media (min-width: 768px) {
	.jea_preview_widget_img {
		 width:18.5%;
		 max-height:120px;
		 margin-right:1.5%;
		 display:table-cell;
		 vertical-align:middle;
	}
}
@media (min-width: 451px) and (max-width: 1200px) {
	.jea_preview_widget_img {
		 width:31.5%;
		 margin-right:1.5%;
	}
	.jea_item .image { width:100%; }
}
@media (max-width: 450px) {
	.jea_preview_widget_img {
		 width:48.5%;
		 margin-right:1.5%;
	}
	.jea_item .image { width:100%; }
}

.logos img {
	width: auto;
	margin-bottom: 10px;
}

@media (min-width: 960px) {
	.logos img {
		float: right;
		max-height: 90px;
	}
}


@media (min-width: 768px) and (max-width: 959px) {
	.logos img {
		float: right;
		margin:auto;
		max-height: 70px;
	margin-bottom: 10px;
	}
}

@media (max-width: 767px) {
	.logos img {
		margin:auto;
		max-height: 70px;
	margin-bottom: 10px;
	}
}


/* merkzettel */
.merkzettel { 
	margin:0 0 20px 0; 
	padding:0 0 20px 0; 
	border-bottom: 1px dashed #ccc;
}

.merkzettelobjekt { margin:0 0 25px 0 ; }
.merkzettelobjekt h3 { margin:5px 0; }
.merkzettelobjekt .image img { width:100%; }
.merkzettelobjekt .btn { display: block; }

.uk-offcanvas-bar .merkzettel-nav  {
    margin: -25px;
    display: block;
    float: none;
}
.uk-offcanvas-bar .merkzettel-nav li {
    float: none;
    display: block;
}
.uk-offcanvas-bar .merkzettel-nav li a {
    padding-left: 0;
    padding: 5px 25px;
    height: 50px;
	display:block;
}

.merkzettel-item {
    display: flex;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px !important;
}
.merkzettel-item .image {
    padding-right: 20px;
	max-width:25%;
}

/* Popober / Tooltip */
.gtooltip  {
    background-color: #1d2130 !important;
    border-color: #1d2130 !important;
}
.gtooltip-arrow-border-top {  border-top-color:#1d2130 !important; }
.gtooltip-arrow-top {  border-top-color:#1d2130 !important; }

.gtooltip-arrow-border-bottom {  border-bottom-color:#1d2130 !important; }
.gtooltip-arrow-bottom {  border-bottom-color:#1d2130 !important; }

.gtooltip-arrow-border-right {  border-right-color:#1d2130 !important; }
.gtooltip-arrow-right {  border-right-color:#1d2130 !important; }

.gtooltip-arrow-border-left {  border-left-color:#1d2130 !important; }
.gtooltip-arrow-left {  border-left-color:#1d2130 !important; }


/* CF7 */
.ui.form .required.field>label:after { color: #476784 !important; }
.ui.form .field>label {
    width: 25% !important;
    min-width: 180px !important;
}
div.special_hnp {
    position: absolute;
    left: -9999em;
}