/* Portrait phones and smaller */

@media(max-width:767px) {
    .box-img-text .text, .box-big-img-text .text {
        min-height:auto;   
    }
    .box-img-text .image-wrap {
        max-height: 200px;
    }
    h1, .h1 {
        font-size: 30px;
    }
    h2,
    .h2 {} h3,
    .h3 {
        font-size: 17px;
    }
    .section {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .box-feature {
        height: 50px;
        line-height: 50px;
    }
    .box-img-text {
        margin-bottom: 15px;
    }
    .navigation {
        min-height: 110px;
    }
    #navigation {
        margin-top: 75px;
        margin-left: -15px;
        margin-right: -15px;
    }
    .news-list-item .teaser {
        padding-left: 0px;
    }
    .logo {
        position: absolute;
    }
    .logo a {
        display: inline-block;
        float: right;
    }
    .navbar-toggle {
        position: absolute;
        top: 10px;
        left: 5px;
    }
    .navigation .navbar-nav>li {
        padding: 12px 0 12px 0;
    }
    .navigation .navbar-nav>li a {
        border: none;
        padding: 0 15px 0 15px;
    }
    .navigation .navbar-nav>li:last-child>a {
        padding: 0 15px 0 15px;
    }
    .navigation .navbar-nav>li {
        border-bottom: 1px solid #DFDFDF;
    }
    .navigation .navbar-nav>li:last-child {
        border-bottom: none;
    }
    .yamm .yamm-content {
        padding: 0 30px 15px 30px !important;
    }
    .yamm .yamm-content ul li {
        margin-bottom: 4px;
    }
    .yamm .yamm-content ul li:first-child {
        margin-bottom: 0px;
    }
    .yamm .yamm-content a {
        padding: 0 0 0 0 !important;
    }
    .dropdown-menu ul {
        padding-left: 0px;
    }
    .seven-cols .col-md-2,
    .seven-cols .col-sm-2,
    .seven-cols .col-lg-2 {
        width: 100%;
        *width: 100%;
    }
    footer {
        padding-top: 15px;
    }
    footer h4 {
        font-size: 14px;
        margin: 0px 0px 10px 0px;
        line-height: 100%;
        height: auto;
        margin-top: 15px;
    }
    .slider {
        max-height: 370px !important;
    }
    .sidebar_box .table-responsive,
    .box-img-text .table-responsive,
    .box-big-img-text .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: none;
    }
    .totop {
        display:none;   
    }
    #breadcrumb {
        display:none;   
    }
    .navbar-toggle .icon-bar+.icon-bar {
        margin-top: -1px;
    }
    .image-beside-left .image-wrap, .image-beside-right .image-wrap, .image-intext-left .image-wrap, .image-intext-right .image-wrap {
        margin:0;
        padding:0;
        max-width:100%;   
    }
}
@media(min-width:768px) {
    .navbar-toggle {
        display: none;
    }
    .navbar-nav > li {
        float: left;
    }
    .navbar-collapse.collapse {
        padding: 0;
    }
    #frontpage-intro-image-center .image-wrapper {
        overflow: hidden;
        max-height: 500px;
        height: 500px;
    }
    .box-img-text {
        margin-bottom: 30px;
    }
    .box-img-text .text,
    .box-big-img-text .text {
        min-height: 120px;
    }
    #kompetenzen h3 {
        font-size:15px;   
    }
}
@media(min-width:992px) {
    #big-feature .background-image img {
        position: relative;
        top: 50%;
        margin: auto;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 100%;
        height: auto;
    }
    #frontpage-intro-image-center img {
        position: relative;
    }
}
@media(max-width:992px) {
    #big-feature {
        max-height: 400px;
    }
    footer ul {
        margin-bottom: 15px;
    }
    #sidebar {
        margin-top:30px;   
    }
}
@media(min-width:768px) and (max-width:992px) {
    .logo img {
        width: 100%;
        height: auto;   
    }
    .navigation .navbar-nav>li {
        padding: 26px 0 0px 0;
    }
    .totop {
        display:none;   
    }
    .seven-cols .col-sm-4 {
        width: 33.33333333%;
    }
}
@media(max-width:1500px) {
    #big-feature {
        padding-top: 0;
        max-height: 450px;
    }
    #big-feature .background-image {
        display: none !important;
    }
}

@media print {
	a[href]:after {
	    content: "";
	}
	.news-single-backlink,
	.online_bewerben,
	footer,
	.navbar-collapse.collapse {
		display:none !important;
	}
	
	div.page-header {
		padding-left:0;
		margin-bottom: 15px;
	}
}