@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
 */


@media screen and (min-width: 900px){
	
	#topnav {
        padding-right: 200px;
    }
}

@media screen and (max-width: 899px){
	
	#topnav {
        padding-right: 60px;
    }
}

@media screen and (max-width: 1380px) {
    
    
    .projects, .social_feed {
		justify-content: center;
	}
    
    /*------------- FRONT PAGE -------------*/
    /*Teaser*/
    .bt-cs a.prev {
        left: 0px;
    }
    .bt-cs a.next {
        right: 0px;
    }
    .bt-cs .bt-inner {
        margin-top: 30px;
    }
    
    .moduleboxteaser #btcontentslider132 .bt_handles {
        right: 25px !important;
    }
	
	.moduleboxteaser .bt-cs .bt-inner img {
        margin-top: -30px !important;
    }
}

@media screen and (max-width: 1260px) {
    .max-width-wrapper, body.layout-1col_3 .ym-column-main > .ym-col3 .ym-cbox {
        padding-left: 20px;
        padding-right: 20px;
    }
    .max-width-wrapper:not(.max-width-wrapper-header) {
        width: inherit;
    }
	
	.moduleboxteaser .bt-cs .bt-inner img {
        margin-top: -30px !important;
    }
}

@media screen and (max-width: 1100px) {
    /*------------- FRONT PAGE -------------*/
    /*Teaser*/
	
    .moduleboxteaser .bt-cs .bt-inner img {
        margin-top: 0px !important;
    }
	
    .slides_control {
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 950px) {
    /*------------- FRONT PAGE -------------*/
    /*Teaser*/
    .moduleboxteaser .bt-cs .bt-inner img {
        float: none !important;
        display: block;
        padding-bottom: 30px;
    }
    .bt_handles {
        display: none;
    }
    .bt-cs a.prev, .bt-cs a.next {
        height: 350px;
    }
    .bt-cs a.next {
        left: 440px;
    }
}


@media screen and (max-width: 768px) {

    /*----------------------- HTML RESETS -----------------------*/
    
    h1 { font-size: 130%; }
    h2 { font-size: 120%; font-weight: bold; }
    h3 { font-size: 120%; font-weight: bold; }
    h4, h5 { font-size: 100%; }
    
    /*----------------------- GLOBAL LAYOUT -----------------------*/
    
    .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;

}
	.ym-wrapper {
        min-width: 0;
    }
    .jyaml-mobilenav {
        position: absolute;
        z-index: 1000;
        right: 0;
        background: transparent;
        width: 100%;
    }
    
    .jyaml-mobilenav .mobilenav-title {
        background: transparent;
        font-size: 28px;
        text-align: right;
        padding: 9px;
    }
    .jyaml-mobilenav .mobilenav-title .icon-list {
        background: #007bae;
        padding: 3px 6px;
    }
    .jyaml-mobilenav .mobilenav-title .icon-list::before {
        padding-left: 1.2em;
        background-size: 32px;
    }
    
    .mobilenav-menu-title, .mobilenav-active {
        display: none !important;
    }
    .jyaml-mobilenav .mobilenav-menu {
        border-bottom: none;
    }
    .jyaml-mobilenav .mobilenav-menu ul, .jyaml-mobilenav .mobilenav-menu ul li,
    .jyaml-mobilenav .mobilenav-menu ul li a, .jyaml-mobilenav .mobilenav-menu ul > li > a.separator {
        background: #00679e;
        color: #FFF;
    }
    .jyaml-mobilenav .mobilenav-menu ul li a {
        border-color: #3e9fc7;
    }
    .jyaml-mobilenav .mobilenav-menu .parent {
        border-bottom: 3px solid #3e9fc7;
    }
    .jyaml-mobilenav .mobilenav-menu .separator {
        font-weight: bold;
    }
    .jyaml-mobilenav .mobilenav-menu ul li a.current_link, .jyaml-mobilenav .mobilenav-menu ul li a:active,
    .jyaml-mobilenav .mobilenav-menu ul li a:hover {
        background: #20496f;
    }
    
    #topnav .rs-link{
		display: block;
	}
    
    
    
    header {
        padding: 0;
        margin-bottom: 45px;
    }
    header .homepageimage a {
        width: 100%
        /*width: 45px;*/
        display: block;
        overflow: hidden;
        position: absolute;
        top: 0;
        z-index: 1002;
    }
    header a > .homepageimage {
        width: 110px;
        height: 40px;
        padding: 10px 0;
        z-index: 1001;
    }
    /*.homepageimage img {
        height: 100%;
        width: auto;
    }*/
    
    
    .top_bar, #topnav .searchbar {
        display: none;
    }
    #topnav .raw-links {
		min-height: 18px;
        position: absolute;
        left: 0px;
        top: 65px;
        background: #f89b0b;
        box-shadow: 0 0 5px rgba(0,0,0,0.5);
        text-align: left;
        padding-top: 5px;
        padding-bottom: 8px;
        z-index: 100;
    }
    #topnav .raw-links .rawlink-spacer {
        display: none;
    }
    #topnav .raw-links a {
		display: none;
        color: #FFF;
        padding-right: 10px;
        font-size: 0.8em;
    }
    header .button_container {
        width: inherit !important;
        top: 10px;
        right: 55px;
        z-index: 1001;
    }
    header .donation, header .first_aid {
        width: 90px !important;
        height: 40px;
        margin-right: 10px;
        line-height: 0.7em;
        box-shadow: none;
    }
    header .button_container img {
        display: none;
    }
    header .button_container .text_container {
        display: block;
        margin: 0;
        width: 100%;
        text-align: center;
        font-size: 0.6em;
    }
    
    #nav {
        display: none;
    }
    .main_top {
        margin-top: 105px;
    }
    
    footer .max-width-wrapper {
        padding: 0;
    }
    .footer ul {
        padding: 40px 0 10px;
    }
    .footer p {
        margin-top: 40px;
    }
    .custom_footer li {
        margin: 0;
    }
    .custom_footer li:not(:first-child) {
        display: none;
    }

    
    /*----------------------- WRAPPER PADDINGS -----------------------*/
    .max-width-wrapper, #topnav .raw-links, footer, #main {
        padding-left: 3%;
        padding-right: 3%;
        width: 94%;
    }
    body.layout-1col_3 .ym-column-main > .ym-col3 .ym-cbox {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    /*----------------------- NORMAL PAGE -----------------------*/
    .content-wrapper {
        padding-top: 20px;
    }
    .max-wrapper-submenu {
        margin-bottom: 0;
    }
    .main_top ul.menu li:first-child {
        font-size: 120%;
    }
    .main_top .menu a {
        font-size: 100%;
    }

    .geogebra-link:after{
		content: "\A Achtung Mobilnutzer! Hier wird viel Datenvolumen beansprucht!";
		white-space: pre;
		font-size: 80%;
		margin-left: 10px;
	}
    
	.profile-banner{
		width: 100%;
	}
	
	.moduleboxtermine-profil{
		display: none;
	}
	
    .content_subpage ul, .items-leading > div {
        height: inherit;
    }
    .items-leading > div {
        padding-bottom: 10px;
    }
    
    .content_subpage .image-box {
        margin-right: 20px;
    }
    @media screen and (max-width: 480px) {
        .content_subpage .image-box {
            float: inherit;
        }
        .items-leading img {
            float: inherit !important;
        }
    }
    
    /*------- Pagination -------*/
    .pagination li.pagenum:not(.active-page) {
        display: none;
    }
    
    /*----------------------- START PAGE -----------------------*/
    
    .module-box {
        min-width: 100%;
    }
    
    /* Termine */
    
    .eventtable {
        padding-bottom: 40px;
    }
    
    /* Sponsor */
    
    .moduleboxsponsor p {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 50px 0px 0px;
        margin: 0;
        font-size: 100%;
    }
    .max-width-wrapper-dmvinfo {
        display: none;
    }
    .custom_project {
        width: 50%;
        margin: 0;
    }
    .custom_project img {
        width: 100px;
    }
    .custom_feed {
        margin-left: 0;
    }
    .max-width-wrapper-social {
        display: none;
    }
	
	/* whatsapp share */
	
	.shariff-button.whatsapp, .shariff-button.whatsapp a{ 
		display: block;
	}
	
	.shariff-button.whatsapp a{ 
		background-image: url('/templates/dmv-standard/images/Icons/whatsapp-share.png');
		background-size: cover;
	}
}

@media screen and (max-width: 600px) {
    .bt-cs a.next {
        left: inherit;
    }
    
    /*------------- CHRONOFORMS -------------*/
    .gbs3 .form-horizontal .control-label:not(.gcore-label-checkbox):not(.gcore-label-top),
    .gbs3 .gcore-form-row > .gcore-label-checkbox.gcore-label-left{
        min-width: 100%;
        max-width: 100%;
    }
	
	
}

@media (max-width:900px){
		.text_container{
			display:none;
		}
		
		.donation, .first_aid, .button_container{
			width: 55px !important;
		}
		
	}

@media screen and (max-width: 480px) {

    .main_top {
        margin-top: 85px;
    }
   
    
    /*------------- FRONT PAGE -------------*/
    /*Teaser*/
    
    .item-page img {
        float: inherit !important;
        display: block;
        margin-left: 0 !important;
        margin: 10px 0;
    }
    
    /*------------- CHRONOFORMS -------------*/
    .gbs3 .form-horizontal .form-group {
        float: none !important;
    }
    .ym-contain-fl .gbs3 input[type="text"], .ym-contain-fl .gbs3 textarea {
        width: 100% !important;
    }
    
}
