@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 - 2016, 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;
	}
	
	.main_bottom {display:none}
  
  div.main_top {display:none}
  div.hiddi {display:none}
  

/* 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;
	}
	
	
	.ym-col1, .ym-col2 {display:none}
	#topnav {display:none}
	#main {width:100%!important}
	.ym-col3 {margin-left:0; width:100%; margin-bottom:20px;}
	.main_bottom {display:block;}
  
.mod-languages {

    margin-top: -40px;
    margin-right: 0px!important;
    float: right;
    
}
	
}

/* 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;
	}
	
	.ym-col1, .ym-col2 {display:none!important}
  
  img.site-logo {margin-top:30px}
    div.main_top {display:block; }
  header {float:left}
  .dj-mobile-open-btn {margin-top:30px!important; margin-left:20px!important}
 
  .main_bottom .dj-mobile-open-btn {display:none}
}

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

	
	
	.ym-col1, .ym-col2 {display:none!important}
}


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

	/* reduce font size for very small displays */
	body {
		font-size: smaller;
	}
	
	.ym-col1, .ym-col2 {display:none!important}
}

