@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 {

    body {
        min-width: 800px;
        overflow-x: scroll;
    }
    nav#nav {
        min-width: 800px;
    }

	.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;
	}

    #nav {
        height: 53.78px;
    }

    .dropdown-horizontal li.viewLevel0 span.item-title {
        padding:1.7em 0.4em 1.1em 0.4em;
        font-family: "THM-Medium";
        text-transform:uppercase;
        font-size:14px;
    }
    
   .dropdown-horizontal li.viewLevel1 > a span.item-title {
       font-size: 0.75rem;
	} 
	.dropdown-linear li.viewLevel2 span.item-title {
		       font-size: 0.75rem;
	}
    .dropdown-horizontal li.viewLevel0 p {
        margin-bottom: 0;
        display: inline-block;
        padding:1.6em 0.4em 1.1em 0.4em;
    }
    
    .featured .module-box, .article .module-box {
        padding:  20px;
        font-size: 90% !important;
        word-wrap: break-word;
    }

    div#scrollToTop {
	    display: none !important;
    }

    .featured figure h2, .article figure h2 {
	    font-size: 130% !important;
    }

    .featured figure, .article figure {
        height:330px;
    }

    #nav_logo_div {
        padding:0.9em 0.6em 0.3em 0.6em;
    }

    #nav_logo_div a img {
        height: 1.9em;
    }

    h3.module-heading {
        font-size: 14px;
    }

    div.module-box {
        font-size: 12px;
    }


    .eb-container h1, .eb-container h2, .eb-container h3 {
        width: 85% !important;
    }
    
    /* THM-Infobox */
    .thminfobox {
	padding-bottom:10px;
}	
.thminfobox ul {
	margin-bottom: 0;	
}	
.thminfobox ul li {
	float:none;	
	min-width: 100%;
	max-width:100%;
	min-height:40px;
	text-align:left;
}	
.thminfobox ul li img {
	display:block !important;
	float:left;
	margin-right:20px;
}
.thminfobox ul li span {
	display:block;
	min-height:40px;
	padding-top:5px;
}

  
    
}
