/*
Theme Name: Template-C
Theme URI: http://www.diestelkamp-consulting.de
Author: Diestelkamp Consulting GmbH
Author URI: http://www.diestelkamp-consulting.de
Description: Agentur für kreatives Design und professionelle Optimierung von Webseiten und Onlineshops.
Version: 2.0
License: 
License URI: 
Tags: Template-C
Text Domain: Template-C
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Notebook 13", 15", 17" */
@media only screen and (max-width: 1440px) {
	body { font-size: 1.5em !important; line-height: 1.5 !important; }
	.extra { padding: 0; }
	.three .mehrbox { height: 250px; }
	.intro h3 { font-size: 3.5em; margin-top: 2em; }

}
@media only screen and (max-width: 1100px) {
	.three .mehrbox { height: 200px; }
}
/* Tablet */
@media only screen and (max-width: 1024px) {
.three .mehrbox { height: 165px; }

/* Bis 959 px, 960px - 10" Notebook */
.intro h3 { font-size: 3em; margin-top: 1em; }
.transparent-box {height: 100%;}
#headermenu { display: none; }
#navigation  { display: none; }
.navline {
	background-image: none !important;
	-webkit-box-shadow: none !important;  
	box-shadow: none !important; 
}
}
/* Tablet  - Hochformat */
@media only screen and (max-width: 767px) {
	.intro h3 { font-size: 2.2em; margin-top: 1em; }
    .introbutton {margin: 1em 0 0 0 !important;}
}
@media only screen and (max-width: 550px) {
	.header .seven { width: 40%;}
	.header .seven img { max-width: 80%; }
	.header .five { width: 60%;}
	.intro { padding: 0 !important;}
	.intro h3 {margin: 0.5em 0 0 0 !important; font-size: 1.5em !important; }
	.introbutton {margin: 1em 0 0 0 !important; font-size:0.9em !important; padding: 0.3em 0.5em;}
	.container .columns { margin-bottom: 1em; }
	.sprachen { float: left !important; }
	.bildschrift { margin-top: 2.5em !important; }
	.neu { width: 48% !important; float: left; margin-left: 2% !important;}
	.weiteres i { margin-top: 25%; }

	.testblock {width: 100% !important;}

	#searchmap {display: none !important;}
	.produkt .four { border-left: none !important; }
	.footer .columns { margin-bottom: 1em; }
}
/* Mobile */
@media only screen and (max-width: 479px) {
	.logo { float:left; margin: 1em 0 0 0;  padding: 0; }
}

@media only screen and (max-width: 349px) { 
	.introbutton {display: none !important;}
}

@media only screen and (max-width: 341px) {
	.bildschrift { 
		min-height: 48px !important;
		margin-top: 2.5em !important;
	}
}
@media (min-width: 768px) and (max-width: 1024px) {
 .module {display: none;}
.module h2 {display: none;}
.opp h2 {display: none;}    
  
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
.module {display: none;}
.module h2 {display: none;}
.opp h2 {display: none;}    
}
@media (min-width: 481px) and (max-width: 767px) {
.module {display: none;}
.module h2 {display: none;}
.opp h2 {display: none;}    
}
@media (min-width: 320px) and (max-width: 480px) {
.module {display: none;}
.module h2 {display: none;}
.opp h2 {display: none;}    
}
@media all and (max-width: 1024px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), 
only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), 
only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  .navline-mobile {
    display: block !important;
    position: relative;
    height: 46px;
  } /* Plathalter wegen absolute position*/
  .navline,
  #navigation {
    display: none !important;
  }
	.header .container { width: 96%; }
  .content {
    margin: 0;
    padding: 4em 0;
  }
  #mobile {
    display: block !important;
    width: 100%;
    position: absolute !important;
    left: 0;
    top: 0;
    z-index: 1000 !important;
    background-color: rgb(71, 136, 125);
  }
  #mobile #menu-button {
    background-color: rgb(71, 136, 125);
  }
  #mobile, #mobile ul, #mobile ul li, #mobile ul li a, #mobile #menu-button {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #mobile ul li a {
    padding: 1em;
    color: #fff;
    font-weight: 400;
    text-transform: none;
    font-size: .9em;
    letter-spacing: .06em;
    text-decoration: none;
  }
  #mobile ul ul li a {
    padding: 11px 15px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 400;
    z-index: 1000 !important;
    border: none;
  }
  #mobile ul ul li {
    display: block;
    height: 0;
  }
  #mobile {
    width: 100%
  }
  #mobile ul {
    width: 100%;
    display: none
  }
  #mobile.align-center > ul {
    text-align: left
  }
  #mobile ul li {
    width: 100%;
    border-top: 1px solid rgba(120, 120, 120, 0.2)
  }
  #mobile ul ul li, #mobile li:hover > ul > li {
    height: auto
  }
  #mobile ul li a, #mobile ul ul li a {
    width: 100%;
    border-bottom: 0
  }
  #mobile ul ul li a {
    background-color: #111111 !important
  }
  #mobile > ul > li {
    float: none
  }
  #mobile ul ul li a {
    padding-left: 25px
  }
  #mobile ul ul ul li a {
    padding-left: 35px;
    background-color: #000000 !important
  }
  #mobile ul ul li a {
    color: #fff;
    background: none
  }
  #mobile ul ul li:hover > a, #mobile ul ul li.active > a {
    color: #fff
  }
  #mobile ul ul, #mobile ul ul ul, #mobile.align-right ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left
  }
  #mobile > ul > li.menu-item-has-children > a:after, #mobile > ul > li.menu-item-has-children > a:before, #mobile ul ul > li.menu-item-has-children > a:after, #mobile ul ul > li.menu-item-has-children > a:before {
    display: none
  }
  #mobile #menu-button {
    display: block;
    padding: 17px;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700
  }
  #mobile #menu-button:after {
    position: absolute;
    top: 22px;
    right: 17px;
    display: block;
    height: 4px;
    width: 20px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: ''
  }
  #mobile #menu-button:before {
    position: absolute;
    top: 16px;
    right: 17px;
    display: block;
    height: 2px;
    width: 20px;
    background: #fff;
    content: ''
  }
  #mobile #menu-button.menu-opened:after {
    top: 23px;
    border: 0;
    height: 2px;
    width: 15px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg)
  }
  #mobile #menu-button.menu-opened:before {
    top: 23px;
    background: #fff;
    width: 15px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg)
  }
  #mobile .submenu-button {
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(120, 120, 120, 0.2);
    height: 36px;
    width: 44px;
    cursor: pointer;
    background-color: #000000
  }
  #mobile .submenu-button.submenu-opened {
    background-color: #000000
  }
  #mobile ul ul .submenu-button {
    height: 32px;
    width: 32px;
    z-index: 1100;
    background-color: #000000
  }
  #mobile ul ul .submenu-button.submenu-opened {
    background-color: #000000
  }
  #mobile .submenu-button:after {
    position: absolute;
    top: 19px;
    right: 19px;
    width: 8px;
    height: 2px;
    display: block;
    background: #fff;
    content: ''
  }
  #mobile ul ul .submenu-button:after {
    top: 15px;
    right: 13px
  }
  #mobile .submenu-button.submenu-opened:after {
    background: #fff
  }
  #mobile .submenu-button:before {
    position: absolute;
    top: 16px;
    right: 22px;
    display: block;
    width: 2px;
    height: 8px;
    background: #fff;
    content: ''
  }
  #mobile ul ul .submenu-button:before {
    top: 12px;
    right: 16px
  }
  #mobile .submenu-button.submenu-opened:before {
    display: none
  }
}