@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 - 2015, 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;
	}
}

/* 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;
	}
}

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


.box-info { margin: 1px 1px 50px 0; padding: 0; float:none; max-width: 300px; }


h4 { font-size: 180%; font-weight: bold; line-height: 1.3; margin: 0 0 1em; float:none ; max-width: 80%; padding-right: 60px; }	

	/* 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;
	}
}

/* mobile phones, small tablets and very small screens */
@media screen and (max-width: 480px) {
	/* disable absolute positioning for topnav to prevent overlaying */
	
	.site-logo  { max-width: 370px; }

	.nivo-caption { background-color: ; bottom: -10px; height: auto; position: absolute; right: -10px; width: auto; z-index: 8; }
	.nivo-heading {  }
	
	.moduletable_cool  { width: 10px !important; visibility: hidden; clear: none; max-width: 10px !important; max-height: 0; }
	
	
	
	.content_cool_theme2 { width: 10px !important; }
	
		 .moduletable_coolres  { visibility: visible; max-height: 1000px; }
	
	
	
	.balken_blau { }
	
	
	
.nivo-caption .nivo-heading,
.nivo-caption .nivo-heading a{ font-size: 12px !important; font-family: "Open Sans"; margin:0 !important; font-weight:normal !important; font-size-adjust: 0.4; text-decoration:none !important; padding-right:5px !important; padding-bottom:0 !important; padding-top:5px !important; display:block !important; text-align:left !important; padding-left: 5px; border: solid 0 white; }
.nivo-caption .nivo-description{ letter-spacing:0.4px !important; margin:0 !important; z-index:10 !important; display:block !important; text-align:left !important; visibility: hidden; max-height: 0; padding: 5px 5px 15px 15px !important; }	
	
	
	
	
	
h2 { font-size: 150%; }	
	
	
h4 {  max-width: 100%; padding-right: 1px;}
.moduletable_doppel { max-width: 250px; padding: 0 10px 40px 20px; }


body.html-fullpage .ym-wrapper {
    background: transparent none repeat scroll 0 0;
    padding-left: 10px;
    padding-right: 10px;
}
	
	
	
	#topnav {
		position: relative;
		top: auto;
		right: auto;
		margin-bottom: 1em;
	}

	/* Linearize all columns */
	.ym-column,
	.ym-column .ym-col1,
	.ym-column .ym-col2,
	.ym-column .ym-col3 {
		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-left,
	.ym-equalize > * > .ym-gbox-right {
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
	}

	/* Linearize all grids */
	.ym-grid,
	.ym-grid > [class*="ym-g"],
	.ym-grid > [class*="ym-col"] {
		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;
	}
}

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

	/* reduce font size for very small displays */
	body {
		font-size: smaller;
	}
}

