body {
	font-size: 13px;
	line-height: 1.3;
}

@media (min-width:1281px){
	body {
		font-size: 14px;
		line-height: 1.4;
	}
}

a:link {
	text-decoration: none;
}

.awesome {
	font-family: FontAwesome;
}

.imagecontainerfirst img {
}

.imagecontainer {
	overflow:hidden;
	text-align: justify;
	position:relative;

}

.imagecontainer .thumb {
	display:inline-block;
}

.imagecontainer .thumb img {
	width:auto;
	margin:0 auto;
}

.imagecontainer .entf {
	position:absolute;z-index:16;
	color:white;
	font-size:0.7em;
	font-weight:bold;
	margin-left:4px;
}

h3 {
	font-size: 20px;
}

.w3-navbar li a {
	padding:0px 16px;
	position:relative;
}

.w3-navbar li a svg {
	width:16px;
	height:16px;
	position:absolute;
	left:-4px;
}

.atitle {
	margin-bottom:0;
}

.bb_navi_search svg {
	position:absolute !important;
	z-index:10;
	color:black;
	margin-top:1px;
	margin-left:3px;
	left:inherit !important;
}

.bb_navi_search input {
	padding-left:20px;
	height:23px;
}

.quickvorschau {
	clear:both;
}
.quickvorschau img {
	float:left;
	margin:10px;
	margin-top:0px;
	margin-left:0px;
	width:10vw;
	min-width:75px;
	max-width:150px;
}



.bb_startseite_comment {
	margin-left:10vw;
	margin-bottom:15px;
	display:table-cell;
}

.startseite_forum_zeile_fotograf {
}

#bahnbilder_main_navi li a {
	display:block;
}



.meinegalerien_editieren {
width:600px;
}

.meinegalerien_editieren_right {
float:right;
}



.selectable .ui-selecting { background: #FECA40; }
.selectable .ui-selected { background: #F39814; color: white; }
.selectable {
	list-style-type: none;
	margin: 0; padding: 0;
	width: 190px;
	cursor:pointer;
}
.selectable li { margin: 2px; padding: 0.2em;  }

.dn, .cd1, .cd2, .ulc { display:none; }

.kw0 {
	position:absolute;left:-15px;
	width:190px;
	height:300px;
	overflow-y:auto;
	overflow-x:visible;
	padding: 0 20px 0 0;
}
.kw1 {
	position:absolute;left:215px;
	height:300px;
	width:190px;
	overflow-y:auto;
	overflow-x:visible;
	padding: 0 20px 0 0;
}
.kw2 {
	position:absolute;left:445px;
	height:300px;
	width:190px;
	overflow-y:auto;
	overflow-x:visible;
	padding: 0 20px 0 0;
}

.kategoriewahl {position:absolute;}
.kategoriewahl_platzmacher {
	height:300px;
	background-image:url('http://www.bahnbilder.de/img/settings.gif');
	background-repeat:no-repeat;
	background-position:center;
}

.li-weit {
	width:500px;
}

#kategoriesuche_result, #kategorieletzte_div, #kategorie_persoenlich_div {
	height:300px;
	overflow-y:auto;
	overflow-x:visible;

}

.ui-widget {
	font-family: inherit;
	font-size: inherit;
}

.ui-tabs, .ui-tabs-tab .ui-corner-all {
	border-radius:0 !important;
	border-bottom-right-radius:0;
	border-top-right-radius:0;
	border-top-left-radius:0;
	border-bottom-left-radius:0;
}

.ui-widget-content, .ui-widget-header, .ui-widget.ui-widget-content {
	border:0;
	background: inherit;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
	background-color:#f0e68c;
}

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited, a.ui-button, a.ui-button:link, a.ui-button:visited, .ui-button, .ui-tabs-anchor, .ui-widget-header a, .ui-widget-content a  {
	color: black;
}


#zuletztbetrachtet .thumblink_active img, .thumblinkarray_profil .thumblink_active img {
	border:0;
}

.galeriefilter {
	margin:0;
	padding:0;
	margin-top:10px;
	margin-bottom:10px;
}
.galeriefilter>li {
	display:inline;
	padding-right:6px;

}

.galeriefilter>li>div, .galeriefilter>li>div form {
	display:inline;

}

.galeriefilter>li>div form {
	max-width:300px;
}

.galeriefilter>li .w3-button {
	margin-top:3px;
	margin-bottom:3px;
}

.ui-menu {
	top: auto !important;
	left:auto !important;
	background-color:white !important;
}

.ui-menu .ui-menu {
	margin-left:40px;
	position:relative;
}

.w3-navbar {
	overflow:visible !important;
}

img#hauptbild {

	margin-bottom:60px;
}

img#hauptbild, .bildcontainer .beschreibung, .bb_right_beschreibung  {
	max-width:100%;
	z-index:50;
	position:relative;
}

.bb_right, #freischaltdiv img, .pinboard img {
	max-width:100%;
}

.bildundbeschreibung {
	display:table;
	width:1px;
	margin:auto;
}
.beschreibung h1, .beschreibung p  {
	display: inline;
	font-weight:200;
	font-family: Verdana, sans-serif;
}

.stickycontainer {
	position:sticky;
	top:-8px;
}

.z10 {
	z-index:10 !important;
}

.nonstickycontainer {
	position:relative;
	z-index:15;
}

.hide {
  opacity: 0;
  transition: opacity 1s linear;
  -webkit-transition: opacity 1s linear;
  -moz-transition: opacity 1s linear;
  -o-transition: opacity 1s linear;
}
.show {
  opacity: 1;
  transition: opacity 1s linear;
  -webkit-transition: opacity 1s linear;
  -moz-transition: opacity 1s linear;
  -o-transition: opacity 1s linear;
}


.bildinfo {
	min-width:300px;
}

.cc-btn {
    display: block;
    padding: .4em .8em;
    font-size: .9em;
    font-weight: 700;
    border-width: 2px;
    border-style: solid;
    text-align: center;
    white-space: nowrap;
}

/* Filter-Dropdown: kategoriewahl_eigene (bb-kat-visible Toggle) */
.kategoriewahl_eigene { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.kategoriewahl_eigene.bb-kat-visible,
.kategoriewahl_eigene.bb-kat-closing {
    background-color: var(--bb-bg-color, #fff);
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    padding: 8px;
    position: relative;
    width: fit-content;
    min-width: 33vw;
    max-width: 100%;
}
.kategoriewahl_eigene.bb-kat-visible { max-height: 2000px; }

/* X-Schliessen-Button oben rechts */
.bb-kat-close-item { list-style: none; text-align: right; padding: 0; margin: 0; }
.bb-kat-close {
    background: none;
    border: none;
    padding: 0 2px;
    margin: 0;
    cursor: pointer;
    font-size: 1.1em;
    line-height: 1;
    color: inherit;
}
.bb-kat-close:hover { opacity: .6; }

/* Listen-Styling im Filter-Dropdown */
.kategoriewahl_eigene,
.kategoriewahl_eigene ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.kategoriewahl_eigene li { padding: 1px 0; }
.kategoriewahl_eigene > li > ul { padding-left: 12px; }
.kategoriewahl_eigene > li > ul > li > ul { padding-left: 12px; }
.kategoriewahl_eigene button[type="submit"] { margin: 1px 0; }

/* Toggle-Button und Filter-Eintraege: wie Links */
.kategoriewahl_eigene_info button,
.kategoriewahl_eigene button[type="submit"] {
    background: none !important;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: var(--bb-link-color, #057D05) !important;
    font-weight: bold;
    font-size: inherit;
    font-family: inherit;
    text-decoration: none !important;
    display: inline;
}
.kategoriewahl_eigene_info button:hover,
.kategoriewahl_eigene button[type="submit"]:hover {
    opacity: 0.75;
}

/* ================================================
   Sprachschalter im Hamburger-Menü (nur Mobile/Tablet)
   ================================================ */

/* Auf Desktop (?993px) verstecken ? dort gibt es keinen Hamburger */
@media (min-width: 993px) {
    #bb-lang-hamburger {
        display: none;
    }
}

/* Auf Mobile/Tablet sichtbar und gut bedienbar */
@media (max-width: 992px) {
    #bb-lang-hamburger {
        padding: 12px 10px;
        background-color: #f5f5f5;
        border-bottom: 2px solid #ddd;
        margin-bottom: 6px;
    }

    #bb-lang-hamburger .topmenu_language {
        display: block;
    }

    /* Select-Box: volle Breite, gut antippbar */
    #bb-lang-hamburger .bb-lang-select {
        width: 100%;
        font-size: 20px;
        padding: 10px 8px;
        height: 48px;
        border: 1px solid #ccc;
        border-radius: 6px;
        background-color: #fff;
        cursor: pointer;
        appearance: auto;
    }
}
