@charset "UTF-8";

/**
 * JYAML - Template Framework includes YAML for Joomla!
 *
 * All rights reserved. The JYAML project is a template to manage and
 * configure Joomla!-Templates with the YAML XHTML/CSS Framework
 * - http://www.yaml.de
 *
 * -----------------------------------------------------------------------------
 *
 * @version     Id: $Id$
 *
 * @package     JYAML
 * @subpackage  Stylesheet
 *
 * @author      Reinhard Hiebl <reinhard@hieblmedia.com>
 * @copyright   Copyright (C) 2006 - 2014, HieblMedia (Reinhard Hiebl)
 * @license     http://www.jyaml.de/en/license Creative Commons Attribution 3.0
 * @link        http://www.jyaml.de
 */

/* Generic linearize of grids on small screens */

/* reset fallback values in modern browsers */
@media screen and (min-width: 0px) {
	.ym-wrapper, body.html-fullheight footer {
		min-width: 0px;
		width: auto;
	}

	/* Make a large image flexible in width */
	img {
		max-width: 100%;
		height: auto;
	}
}

/* Tablet BREIT, normal screens, tablet(landscape)  */
@media screen and (max-width: 1680px) {
	/* only remove gutters for more place */
	body {
		padding: 0;
		margin: 0;
	}
	header {
		padding-top: 0;
		margin-top: 0;
	}
	
	table  {
		font-size: small;
		}
		
		.header2   {
	border: 1px solid #A60000;
	background: transparent;
	margin: 0% 0% 1% 1%;
	padding: 1% 0% 1% 0%;
	width: 98%;
	height: auto;
	max-height: 245px; /*230*/
	display: inline-block;
	overflow-y: hidden;
	overflow-x: hidden;
	clear: both;
	}
	
	/*Passbild width: 19%; */
	#header3   {
	background: transparent;
	height: auto;
	margin: 1% 0% 0% 2%;
	padding: 0% 0% 0% 1.5%;
	width: 19.5%;
	display: inline-block;
	float: left;
	}
	/*Slider*/
	#header4   {
	background: transparent;
	height: auto;
	margin: 0 0 0% 0%;
	padding: 0%;
	width: 55%;  /*57%*/
	display: inline-block;
	float: left;
	}
	/*Speaker*/
	#header5   {
	background: transparent;
	height: auto;
	margin: 1% 0% 0% 2%;
	padding: 0% 0% 0% 1.5%;
	width: 18%;
	display: inline-block;
	float: left;
	}
	
	.module-box,
	.moduletable,
	.moduletable_menu {
	margin-bottom: 1.5em;
	padding-left: 0.8em;
	padding-right:0.9em;
	}
}

/* Tablet HOCH, normal screens, tablet(landscape)  */
@media screen and (max-width: 980px) {
	/* only remove gutters for more place */
	body {
		padding: 0;
		margin: 0;
	}
	header {
		padding-top: 0;
		margin-top: 0;
	}
	
	table  {
		font-size: x-small;
		}
		
		.header2   {
	border: 1px solid #A60000;
	background: transparent;
	margin: 1% 0% 1% 1%;
	padding: 1% 0% 1% 0%;
	width: 98%;
	height: auto;
	max-height: 170px; /*230*/
	display: inline-block;
	overflow-y: hidden;
	overflow-x: hidden;
	clear: both;
	}
	
	/*Passbild */
	#header3   {
	background: transparent;
	height: auto;
	margin: 0% 0% 0% 1%;
	padding: 0%;
	width: 18%;
	display: inline-block;
	float: left;
	}
	/*Slider*/
	#header4   {
	background: transparent;
	height: auto;
	margin: 0 0 0% 1%;
	padding: 0%;
	width: 60.5%;  /*57%*/
	display: inline-block;
	float: left;
	}
	/*Speaker*/
	#header5   {
	background: transparent;
	height: auto;
	margin: 0% 1% 0% 0%;
	padding: 0%;
	width: 18%;
	display: inline-block;
	float: right;
	}
	
	.dropdown ul, .dropdown ol, .dropdown dl {
		font-size: x-small;	
	}
	
	.dropdown-horizontal li span.item-title {
		padding:1.0em 2em 1.0em 2em;
	}
	
	.dropdown-vertical li span.item-title {
		padding-top: 0.9em;
		padding-bottom: 0.8em;
	}
	
	.module-box,
	.moduletable,
	.moduletable_menu {
	margin-bottom: 1.5em;
	padding-left: 0.6em;
	padding-right: 0.1em;
	}
		
	
}

/* Handy BREIT  small screens and tablet(portrait) */
@media screen and (max-width: 740px), screen and (max-width: 768px) {

	/* Linearize only inner main columns (not col-x), e.g. category blog with multiple columns */
	#main .ym-equalize > * > .ym-gbox,
	#main .ym-equalize > * > .ym-gbox-left,
	#main .ym-equalize > * > .ym-gbox-right {
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
	}
	#main .ym-grid,
	#main .ym-grid > [class*="ym-g"],
	#main .ym-grid > [class*="ym-col"] {
		display: block !important;
		float: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
	}
	#main .ym-grid > [class*="ym-g"] > [class*="ym-gbox"],
	#main .ym-grid > [class*="ym-col"] > [class*="ym-cbox"] {
		padding-left: 0;
		padding-right: 0;

		/* optional for containing floats */
		overflow: hidden;
	}
	
	table  {
		font-size: x-small;
		}
		
		.header2   {
	border: 1px solid #A60000;
	background: transparent;
	margin: 1% 0% 1% 1%;
	padding: 1% 0% 1% 0%;
	width: 98%;
	height: auto;
	max-height: 135px; /*230*/
	display: inline-block;
	overflow-y: hidden;
	overflow-x: hidden;
	clear: both;
	}
	
	/*Passbild */
	#header3   {
	background: transparent;
	height: auto;
	margin: 0% 0% 0% 1%;
	padding: 0%;
	width: 18%;
	display: inline-block;
	float: left;
	}
	/*Slider*/
	#header4   {
	background: transparent;
	height: auto;
	margin: 0 0 0% 1%;
	padding: 0%;
	width: 60.5%;  /*57%*/
	display: inline-block;
	float: left;
	}
	/*Speaker*/
	#header5   {
	background: transparent;
	height: auto;
	margin: 0% 1% 0% 0%;
	padding: 0%;
	width: 18%;
	display: inline-block;
	float: right;
	}
	
	.dropdown ul, .dropdown ol, .dropdown dl {
		font-size: xx-small;	
	}
	
	.dropdown-horizontal li span.item-title {
		padding:1.0em 1.5em 1.0em 1.5em;
	}
}

/* Handy HOCH mobile phones, small tablets and very small screens */
@media screen and (max-width: 480px) {
	/* disable absolute positioning for topnav to prevent overlaying */
	#topnav {
		position: relative;
		top: auto;
		right: auto;
		margin-bottom: 1em;
	}

	/* Linearize all columns */
	.ym-column,
	.ym-column .ym-col1,
	.ym-column .ym-col3,
	.ym-column .ym-col2 {
		display: block !important;
		float: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
	}

	/* disable equal heights for grids */
	.ym-equalize > * > .ym-gbox,
	.ym-equalize > * > .ym-gbox-right,
	.ym-equalize > * > .ym-gbox-left {
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
	}

	/* Linearize all grids */
	.ym-grid,
	.ym-grid > [class*="ym-col"],
	.ym-grid > [class*="ym-g"]
	 {
		display: block !important;
		float: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
	}
	.ym-grid > [class*="ym-g"] > [class*="ym-gbox"],
	.ym-grid > [class*="ym-col"] > [class*="ym-cbox"] {
		padding-left: 0;
		padding-right: 0;

		/* optional for containing floats */
		overflow: hidden;
	}

	/* Linearize the horizontal navigation */
	body .ym-hlist ul,
	body .ym-hlist ul li {
		display:block;
		float: none;
		width: auto;
		text-align: left;
	}
	body .ym-hlist ul {
		padding: 0.5em;
	}
	body .ym-hlist ul li {
		margin-bottom: 2px;
	}
	body .ym-hlist ul li span.subtitle-empty {
		display: none !important;
	}
	
	table  {
		font-size: x-small;
		}
		
		.header2   {
	border: 1px solid #A60000;
	background: transparent;
	margin: 1% 0% 1% 1%;
	padding: 1% 0% 1% 0%;
	width: 98%;
	height: auto;
	max-height: 80px; /*230*/
	display: inline-block;
	overflow-y: hidden;
	overflow-x: hidden;
	clear: both;
	}
	
	/*Passbild */
	#header3   {
	background: transparent;
	height: auto;
	margin: 0% 0% 0% 1%;
	padding: 0%;
	width: 18%;
	display: inline-block;
	float: left;
	}
	/*Slider*/
	#header4   {
	background: transparent;
	height: auto;
	margin: 0 0 0% 1%;
	padding: 0%;
	width: 60.5%;  /*57%*/
	display: inline-block;
	float: left;
	}
	/*Speaker*/
	#header5   {
	background: transparent;
	height: auto;
	margin: 0% 1% 0% 0%;
	padding: 0%;
	width: 18%;
	display: inline-block;
	float: right;
	}
	
	.dropdown ul, .dropdown ol, .dropdown dl {
		font-size: xx-small;	
	}
	
	.dropdown-horizontal li span.item-title {
		padding:1.5em 2em 1.5em 2em;
	}
	/* Layout: 3col_132 (normal/default view) */
	body.layout-3col_132 .ym-column-main > .ym-col1 { /* left  */ /* YAML core column order */ }
	body.layout-3col_132 .ym-column-main > .ym-col1 .ym-cbox {  }
	body.layout-3col_132 .ym-column-main > .ym-col3 { /* main  */ /* YAML core column order */ }
	body.layout-3col_132 .ym-column-main > .ym-col2 { /* right */ /* YAML core column order */ }
	body.layout-3col_132 .ym-column-main > .ym-col2 .ym-cbox {  }
}

/* small mobile phones */
@media screen and (max-width: 240px) {

	/* reduce font size for very small displays */
	body {
		font-size: smaller;
	}
	
	table  {
		font-size: x-small;
		}
		
		.header2   {
	border: 1px solid #A60000;
	background: transparent;
	margin: 1% 0% 1% 1%;
	padding: 1% 0% 1% 0%;
	width: 98%;
	height: auto;
	max-height: 80px; /*230*/
	display: inline-block;
	overflow-y: hidden;
	overflow-x: hidden;
	clear: both;
	}
	
	/*Passbild */
	#header3   {
	background: transparent;
	height: auto;
	margin: 0% 0% 0% 1%;
	padding: 0%;
	width: 18%;
	display: inline-block;
	float: left;
	}
	/*Slider*/
	#header4   {
	background: transparent;
	height: auto;
	margin: 0 0 0% 1%;
	padding: 0%;
	width: 60.5%;  /*57%*/
	display: inline-block;
	float: left;
	}
	/*Speaker*/
	#header5   {
	background: transparent;
	height: auto;
	margin: 0% 1% 0% 0%;
	padding: 0%;
	width: 18%;
	display: inline-block;
	float: right;
	}
	
	.dropdown ul, .dropdown ol, .dropdown dl {
		font-size: xx-small;	
	}
	
	.dropdown-horizontal li span.item-title {
		padding:1.5em 2em 1.5em 2em;
	}
}

