@media screen and (max-width: 1124px) {
	.box_four p.box_four_text {
		 min-height: 180px;
	}
}

toggle-box {
		 display: none;
	}
	
@media screen and (max-width: 960px) {

html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6 {
    -webkit-text-size-adjust:none;
}
	nav#navstart {
		 display: none;
	}
	
    #nav#full {
        display:none
    }
 
    nav#mobile {
        background-color:#626879;
        box-shadow: 0 0 3px 2px rgba(0,0,0,0.3);
        display:block;
    }
 
    /*
    Top black bar that holds the toggle button
    */
 
    nav#mobile #toggle-bar {
        line-height:70px;
        height:70px;
        background-color:#535763;
    }
 
    /*
    Toggle button #1 ("Menu")
    */
 
    nav#mobile strong span {
        margin-left:30px;
        border:1px solid #444;
        padding:10px;
        cursor: pointer;
    }
 
    /*
    Toggle button #2 ("Navicon")
    */
 
    nav#mobile .navicon {
        float: right;
        height: 6px;
        width: 34px;
        margin: 20px;
        border-top: 18px double #FFF;
        border-bottom: 6px solid #FFF;
        font-size:0;
        cursor: pointer;
    }
 
    /*
    The dropdown menu
    */
    
        nav#mobile .navigation {
        padding:0 20px;
    }
 
    nav#mobile ul li {
        clear:both;
        list-style: none;
		border-bottom-color: #494D54;
		border-bottom-style: solid;
		border-bottom-width: 1px;
		border-top-color: #787F94;
		border-top-style: solid;
		border-top-width: 1px;
		color: #F1F2F2;
		padding-bottom: 3px;
		padding-left: 0;
		padding-right: 0;
		padding-top: 0px;
    }
    
    nav#mobile a.active {
		color: orange;
		font-weight: bold;
    }
	
    nav#mobile .navigation li:last-child {
    border-bottom-color: -moz-use-text-color;
    border-bottom-style: none;
    border-bottom-width: medium;
	}
	
	nav#mobile .navigation li:first-child {
		border-top-color: -moz-use-text-color;
		border-top-style: none;
		border-top-width: medium;
	}
 
    nav#mobile ul li a {
		font-size: 13px;
		text-decoration: none;
		line-height: 30px;
		color: #F1F2F2;
		display:block;
    }
 
    nav#mobile ul ul {
        font-size:small;
    }
 
    nav#mobile ul ul li {
        margin-left:10px;
    }
 
    nav#mobile ul ul a {
        background-color:#626879;
        padding-left:8px;
    }
    
    #navigation_lang_changer {
        position: absolute;
        top: 15px;
        left: 20px;
        border: 1px solid #6B748C;
        background-color: #626879;
        border-radius: 4px;
    }
    
    .navtop ul {
        position: absolute;
        top: 15px;
        left: 140px;
        border: 1px solid #6B748C;
        background-color: #626879;
        border-radius: 4px;
    }
    
    .searchtop form {
        display: none;
    }
    
    .msearch  {
        padding: 20px;
        
    }
    
    .msearch #search_term {
        width: 95%;
        height: 30px;
        font-size: 140%;
        color: #999;
    }
    
    #header #navigation_header {
		display: inline;
		margin: 0px;
		width: 0px;
	}

    #menu {
		display: none;
	}
	
	.flexslider .slider-headline {
		position: relative;
		text-align: left;
		top: 0;
		left: 0;
		padding: 0 10px;
	}
	
	.flexslider h2 {
		font-size: 110%;
		padding:0px;
		background-color: transparent;
		color: #666666;
		margin-top: 10px;
		display:block;
	}
	
	.flexslider h3 {
		font-size: 90%;
		padding:0px;
		background-color: transparent;
		color: #666666;
		display:block;
	}
	
	#slider_wrap {
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		background-color: #FFFFFF;
	}
	
	#menu+#content {
		width: 100%;
		margin: 0 0 25px 0;
	}
	
	#content_right {
		float: left;
		width: 100%;
		max-width: 100%;
		margin: 0 0 25px 0;
	}
	
	
	.leistung div img {
		margin: 0px 5px 0px 0;
	}
 
	.column_quarter .col .teaser_img {
		margin: 0 auto;
 }
 
	.column_quarter .col h3 {
		padding-right: 0px;
	text-align: center;
  }
  
	.box_four p.box_four_text {
		 min-height: 240px;
	}
 
}






/*  #Mobile (Portrait)
================================================== */

/* Note: Design for a width of 320px */

    @media only screen and (max-width: 767px) {
#page {
	width: 100%;
}

#header {
    text-align: center;
}


#menu+#content {
    width: 100%;
    margin-left: 0px;
}

.startpage #content_text_block div, .startpage #content_text_block div + div +div + div {
    float: none;
    padding: 20px 0;
    width: 100%;
    border-bottom: 1px dotted #CCCCCC;
}

.column_quarter .col, .column_quarter .col+.col, .content_text_standard .col, .content_text_standard .col+.col {
    float: none;
    padding: 10px 0;
    position: relative;
    width: 100%;
    border-bottom: 1px dotted #CCCCCC;
}

.footer_col  {
    width: 100%;
    float: none;
    margin: 20px auto;
}

.footer_col p {
    padding: 20px;
}

#googleMap {
    width: 300px;
}

.pifa-form label, #contactForm label {
    float: none;
}

.pifa-form div.checkbox-wrapper label {
    width: 95%;
}

.pifa-form select, , #contactForm  select {
    width: 95%;
}

.pifa-form input[type="text"], textarea, #contactForm input[type="text"], #contactForm textarea {
    width: 95%;
}

.pifa-form .pifa-error input[type="text"], .pifa-form .pifa-error textarea {
    width: 95%;
}

.startpage .column_quarter .col, .startpage .content_text_standard .col {
    width: 100%;
}

	.leistung div {
	width: 100%;
}

	.box_four p.box_four_text {
		 min-height: 50px;
	}
	
	.catimage {
    float: none;
    text-align: center;
    width: 100%;
	}
	
	#contactForm #contactFormSubmitLeft, #contactForm #contactFormSubmitRight {
		margin: 5px 0;
	}
	
	#contactForm #contactFormSubmitLeft input, #contactForm #contactFormSubmitRight input {
		width: 98%;
		margin:0 auto;
	}

}

/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {
#page {
	width: 100%;
}

#header {
    text-align: center;
}


#menu+#content {
    width: 100%;
    margin-left: 0px;
}


.startpage #content_text_block div, .startpage #content_text_block div + div +div + div {
    float: none;
    margin-right: 0;
    width: 100%;
}

.footer_col  {
    width: 100%;
    float: none;
    margin: 20px auto;
}
.footer_col p {
    padding: 20px;
}

.column_quarter .col, .column_quarter .col+ col, .content_text_standard .col, .content_text_standard .col+.col {
    float: none;
    padding: 10px 0;
    position: relative;
    width: 100%;
    border-bottom: 1px dotted #CCCCCC;
}

#googleMap {
    width: 300px;
}

.pifa-form label {
    float: none;
}

.pifa-form div.checkbox-wrapper label {
    width: 95%;
}

.pifa-form select {
    width: 95%;
}

.pifa-form input[type="text"],
textarea {
    width: 95%;
}

.pifa-form .pifa-error input[type="text"],
.pifa-form .pifa-error textarea {
    width: 95%;
}

.startpage .column_quarter .col, .startpage .content_text_standard .col {
    width: 100%;
}

	.leistung div {
	width: 100%;
}

	.box_four p.box_four_text {
		 min-height: 50px;
	}
	
	.catimage {
    float: none;
    text-align: center;
    width: 100%;
	}

}
