/*css für Tango am Bodensee*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	font-size: 11px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	line-height: 17px;
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	color: #665554;
	
}
/* HTML5 display-role reset for older browsers */ 
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.3;
	text-align:center;
	font:inherit;
}
ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*=========================================================================================================*/

body {
	background:#FFFFFF;
		
}
a {
	outline: none;
	transition: color .15s ease;
}
a:link {
	color: #993333;
	text-decoration: none;
	font-weight: bold;
	
}
a:visited {
	color: maroon;
	text-decoration: none;
	font-weight: bold;
	
}
/* Links: colour change only on hover - no underline, no reflow (replaces the
   old letter-spacing "spread" effect). */
a:hover, a:active {
	color: #781436;
	text-decoration: none;
	font-weight: bold;
}
/* Keyboard-only focus ring; a finger tap no longer sticks in the hover state
   (and this restores the accessible focus indicator that "outline:none" removed). */
a:focus-visible {
	outline: 2px solid #781436;
	outline-offset: 2px;
	border-radius: 2px;
}

#sidebar1 a, #sidebar2 a {
	text-decoration: none;
	font-weight: bold;
}

#all {
	width: 960px;
	margin: 0 auto;
	text-align:left;
	overflow: hidden;
	font-size:1.35em;
}
#header {
	background-image: url(../images/header.jpg);
	background-repeat: no-repeat;
	height:270px;
	padding:0 0px;
}
#logo {
	float:left;
	margin-top:38px;
	margin-left:182px;
}
#breadcrumb {
	clear:both;
	position:relative;
	overflow:hidden;
	height:37px;
	padding:0px 90px 0px;
	background-image: url(../images/breadcrumb.jpg);
}
#sidebar1 {
	float: left;
	width: 190px;
	padding: 20px 0 20px 0;
	background: #CCCCFF;
	margin-left:0px;
}
#container {
	overflow:hidden;
	height:auto;
	background:#FFFFFF;
	background-image: url(../images/content.jpg);
}
#content {
	float: left;
	min-height: 450px;
	height: auto !important;
	height: 450px;
	padding:20px 0px 20px 0px;
	width:580px;
	background-color: #E7EAF1; /*hellblau*/
	background-image: url(../images/content.jpg);
	background-repeat: repeat-y;
	
}
#incontent ul {
	padding-left:15px;
	list-style-type:disc;
}
#sidebar2 {
	float: left;
	width: 190px;
	padding: 20px 0 20px 0px;
	margin-left: 2px;
	background: #CCCCFF;
	background-image: url(../images/sidebar2.jpg);
	margin-left:0px;
}
#content ul, #content ol {
	padding: 0 15px 15px 40px;
}
#insidebar1, #incontent, #insidebar2 {
	overflow:hidden;
	padding: 10px;
}
#incontent {
	margin-left: 150px;
	margin-right: 50px;
}

.cols-1 {
    display: block;
    float: none !important;
    margin: 0 !important;
}
.cols-2 .column-1 {
    float: left;
    width: 46%;
}
.cols-2 .column-2 {
    float: right;
    margin: 0;
    width: 46%;
}
#footer {
	padding: 10px 10px 10px 325px;
	position: relative;
    clear: both;
	background-image: url(../images/content.jpg);
}
#content.col_960 {
	width:960px;
}
#content.col_770 {
	width:770px;
	
}
#content.col_580 {
	width:580px;
}

div.breadcrumbs {
	float:left;
}
div.search {
	float:right;
}
h1, h2, h3, h4, h5, h6 {
font-weight:normal;
}
h1 {
font-size:2em;
line-height:1;
margin-bottom:0.5em;
}
h2 {
font-family: Trebuchet MS, Helvetica, sans-serif;
	letter-spacing: 0.05em;
	color: #781436;
	font-size: 16px;
	font-weight: bold;
	font-variant: small-caps;
	padding-bottom: 0px;
}	
h3 {
font-size:1.5em;
line-height:1;
margin-bottom:1em;
}
h4 {
font-size:1.2em;
line-height:1.25;
margin-bottom:1.25em;
}
h5 {
font-size:1em;
font-weight:bold;
margin-bottom:1.5em;
}
h6 {
font-size:1em;
font-weight:bold;
}
/*=========================================================================================================*/


h1 {
}

h3 {
}
h4 {
}
h5 {
}
h6 {
}
p {
	margin: 0.8em 0;
}
#footer p {
	margin:0;
}
p+p {
}
pre {
}
address {
}
small {
}
ul, ol {
}
ol {
}
li ul, li ol, ul ul, ol ol {
}
form, legend, label {
}
legend {
}
table {
}
caption {
}
hr {
}
cite, dfn, em, i {
	font-style: italic;
}
code, kbd, samp, pre, tt, var {
}
pre {
	white-space: pre;
}
del {
	text-decoration: line-through;
}
mark {
}
ins {
}
big {
}
abbr, acronym {
}
abbr[title], acronym[title], dfn[title] {
	cursor: help;
}
sup, sub {
	line-height: 0;
}
sup {
}
sub {
}
blockquote {
}
input, select, button {
	cursor: pointer;
}
/*=========================================================================================================*/



/*.item-separator { 
}
.items-more { 
}*/
ul.menu li.current {
	color: navy;
	font-weight: bold;
	text-transform: none;
	letter-spacing: 2px;
}
ul.menu li.current a {
	color: #781436;
	font-weight: bold;
}
ul.menu li.current a:hover {
	color: navy;
	font-weight: bold;
	text-transform: none;
	letter-spacing: 2px;
}
ul.menu  a:hover {
	color: navy;
	font-weight: bold;
	text-transform: none;
	letter-spacing: 2px;
}
#container ul.actions {
    list-style: none;
    float: right;
}
.actions li {
    float: left;
    margin-left: 5px;
}
.print-icon {
}
.email-icon {
}
.finder{
}
#finder-search {
}
form .finder label {
}
dl.search-results dd.result-url {
}
.finder .inputbox {
}
#header form .finder {
}
.img-fulltext-left {
}
.img-intro-left {
}
.img-fulltext-right {
}
.img-intro-right {
}
.items-leading {
    margin-bottom: 10px;
    overflow: hidden;
    padding: 0 5px 10px;
}
.row-separator {
    border: 0 none;
    clear: both;
    display: block;
    height: 1px;
    margin: 0;
}
.item-separator {
    display: none;
    margin: 0;
}
.shownocolumns {
    width: 98% !important;

}
.cols-1 {
    display: block;
    float: none !important;
    margin: 0 !important;
}
.cols-2 .column-1 {
    float: left;
    width: 46%;
}
.cols-2 .column-2 {
    float: right;
    margin: 0;
    width: 46%;
}
.cols-3 .column-1 {
    float: left;
    margin-right: 4%;
    padding: 0 5px;
    width: 29%;
}
.cols-3 .column-2 {
    float: left;
    margin-left: 0;
    padding: 0 5px;
    width: 29%;
}
.cols-3 .column-3 {
    float: right;
    padding: 0 5px;
    width: 29%;
}
.items-row {
    margin-bottom: 10px !important;
    overflow: hidden;
}
.column-1, .column-2, .column-3 {
    padding: 10px 5px;
}
.column-2 {
    margin-left: 40%;
    width: 55%;
}
.column-3 {
    width: 30%;}

/* ---------------------------------------------------------------------------
   Equal-height columns (replaces the legacy Dynamic Drive equalcolumns.js).
   The #columns wrapper lays sidebar1 / content / sidebar2 out as a flex row;
   align-items:stretch makes all three columns share the tallest height.
--------------------------------------------------------------------------- */
#columns {
	display: flex;
	align-items: stretch;
}

/* ---------------------------------------------------------------------------
   Responsive layout for phones / small tablets.
   The design above is a fixed 960px desktop layout. Below 768px we make the
   container fluid and stack the three columns (sidebar1 / content / sidebar2)
   vertically so the calendar and its events fit the screen. Requires the
   viewport meta tag set in index.php / component.php to take effect.
--------------------------------------------------------------------------- */
@media (max-width: 768px) {
	#all {
		width: auto;
		max-width: 100%;
		overflow-x: hidden;
	}

	/* Header artwork scales with the viewport. The image is 960x350 but its
	   bottom ~80px are decorative cream strips that the desktop layout crops off
	   (via height:270px). Use the same 960/270 ratio + top anchor so those
	   strips stay cropped on mobile too, instead of appearing as stray bars. */
	#header {
		height: auto;
		aspect-ratio: 960 / 270;
		background-size: cover;
		background-position: center top;
		padding: 0;
	}
	/* The full-width header background (header.jpg) already contains the logo
	   artwork and the "Tango am Bodensee" wordmark, so the separate logo.png
	   overlay just shows the image a second time in the corner - hide it. */
	#logo {
		display: none;
	}

	/* Breadcrumb + search bar: let it grow and wrap instead of a fixed 37px row */
	#breadcrumb {
		height: auto;
		padding: 6px 12px;
		background-size: cover;
	}
	div.breadcrumbs,
	div.search {
		float: none;
	}

	/* Stack the columns vertically */
	#columns {
		flex-direction: column;
	}
	#sidebar1,
	#sidebar2,
	#content,
	#content.col_580,
	#content.col_770,
	#content.col_960 {
		float: none;
		width: auto;
		margin-left: 0;
		margin-right: 0;
	}
	/* On desktop the menu lives in the right sidebar (#sidebar2). On mobile we
	   want the navigation on top, so the sidebars stack above the content.
	   (Desktop is unaffected - these orders only apply below 768px.) */
	#sidebar2 { order: 1; }
	#sidebar1 { order: 2; }
	#content  { order: 3; }

	/* Drop the large desktop insets that pushed content off-screen */
	#incontent {
		margin-left: 0;
		margin-right: 0;
		/* wide content (e.g. the JEvents month grid) scrolls instead of clipping */
		overflow-x: auto;
	}
	#insidebar1,
	#incontent,
	#insidebar2 {
		padding: 12px;
	}

	/* Keep media and inline content within the viewport */
	#incontent img {
		max-width: 100%;
		height: auto;
	}

	/* The cream column colour is baked into a fixed 960px image (content.jpg)
	   with white margins at the left (~0-150px) and right (~760-960px). On a
	   fluid, narrow mobile column that image only ever shows "white strip +
	   cream", so the background is offset and the text sits off the cream.
	   Replace it with a real background-colour that fills the whole column. */
	#content,
	#container,
	#footer {
		background-image: none;
		background-color: #F7F5DC;
	}

	#footer {
		padding: 10px 12px;
		text-align: center;
	}

	/* The "Nächste Milongas" list takes up too much screen space on phones, so
	   hide it there. The module carries this class via its Module Class Suffix
	   (set to " mobile-hide" in the module settings). */
	.mobile-hide {
		display: none;
	}
}
