/* lg */ 
@media (min-width: 1200px) {

#pido_r{
	min-height: 800px !important;
}



.logo img{
	max-height: 190px; 
}

.suche{
	margin-top: 30px;
	display: block; 
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}
.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}




}

/* md */
@media (min-width: 992px) and (max-width: 1199px) {
.logo img{
	max-height: 190px; 
}
#home-carousel  .item {
	height: 500px;
}
.carousel-caption h1 {
	font-size:26px;
	margin-bottom:0;
	line-height:27px;
	letter-spacing:2px;
	font-weight:100;
}
.carousel-caption h2 {
	font-size:51px;
	font-weight:600;
	margin-top:0px;
	text-transform:lowercase;
	letter-spacing:2px;
	margin-bottom:20px;
}
#our-team, #pricing, #our-works, #services, #contact{
	padding-top: 110px;
	padding-bottom: 100px;
}
.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}
.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}
.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}

p.auswertung img {
  margin-right: 3px;
}
p.auswertung-kunden {
	margin: 4px 0 0;
}
p.auswertung img:first-child {
  margin-right: 3px;
}
p.auswertung strong {
    font-size: 1.2em;
    display: block;
}
p.auswertung-kunden strong, p.auswertung-gesamtangabevonabgestimmtenkunden strong {
    text-align: left;
    width: 100%;
}
p.auswertung-empfehlung small {
    text-align: left;
    width: auto;
}
p.auswertung-empfehlung strong {
	margin: 0 0 -6px;
	display: block;
}
p.auswertung-kunden strong, p.auswertung-gesamtangabevonabgestimmtenkunden strong {
	margin: -4px 0 0;
}

}

/* sm */
@media (min-width: 768px) and (max-width: 991px) {

	.logo img{
	max-height: 120px; 
}
.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
	.st-navbar ul li a{
		margin-left: 13px;
		margin-right: 13px;
	}

	#home-carousel  .item {
		height: 500px;
	}

	.carousel-caption h1 {
		font-size:26px;
		margin-bottom:0;
		line-height:27px;
		letter-spacing:2px;
		font-weight:100;
	}

	.carousel-caption h2 {
		font-size:51px;
		font-weight:600;
		margin-top:0px;
		text-transform:lowercase;
		letter-spacing:2px;
		margin-bottom:20px;
	}

	#about-us .about-us {
		padding-left: 0;
		padding-right: 0;
		padding-top: 9%;
	}

	.scroll-up{
		display: none !important;
	}

	#our-team, #pricing, #our-works, #services, #contact{
		padding-top: 100px;
		padding-bottom: 100px;
	}

	#fun-facts .col-md-3:nth-child(2) .fun-fact{
		border-right: 0px;
	}

	#testimonial{
		padding-top: 60px;
		padding-bottom: 60px;
	}

	#about-us .about-us .btn-send {
		margin-top: 12px;
	}
	#slider {
	    margin-top: 60px;
		height: auto;
	}
	.st-navbar ul {
		margin-top: 24px;
	}	
	.navbar form input[type=text] {
		-webkit-appearance: none;	
	}	
}

/* xs */
@media (max-width: 767px) {
.nav>li>a.dropdown-toggle {
	display: inline;
}

.nav>li>a {
    	display: inline;
	}


.dropdown a.dropdown-toggle:before {
     font-family: 'FontAwesome';
    content: '\f107';
    width:20px;
    font-weight: 300;
    padding: 3px 2px 2px 2px;
	margin-top: 0;
	margin-bottom: 0;

}
.dropdown a.dropdown-toggle,
.active.dropdown a.dropdown-toggle {
    font-weight: 300;
    padding: 3px 2px 2px 2px;

}

.dropdown.open a.dropdown-toggle:before {
    content: '\f106';
    width:20px;
      font-weight: 300;
	margin-top: 0;
	margin-bottom: 0;	  
 
}
 .dropdown.open a.dropdown-toggle {
      font-weight: 300;
 
}

	.logo img{
	max-height: 70px; 
	}
	.backbtn {
	    margin-bottom: 1em;
	    margin-top: 0;		
	}
	.margin-top-50 {
		margin-top: 30px;
	}
	.mobile-margin {
		margin-bottom: 1em;
	}
	.logo{
/*		margin:5px 15px 5px 15px;*/
	}
	.st-navbar .navbar-toggle {
		border-radius: 0;
		margin-right: 0;
	}	
	#slider {
	    margin-top: 0;
		height: auto;
	}
	.navbar-nav{
		/*background-color: #f5f5f5;*/
		margin-left: 0;
		margin-right: 0;
	}
	.st-navbar .navbar-header {
		margin-top: 1em;
	}	
	header .container.margin-bottom-30 {
	    margin-bottom: 0;
	}
	header .margin-bottom-20 {
		margin-bottom: 1em;
	}
	header form.margin-top-30 {
		margin-top: 1em;
		float: left;
	    width: 65%;	
	/*	padding-left: 15px !important;*/
	}
	.navbar .col-md-2 .maze {
		float: right;
		width: 30%;
		margin-top: 1em;
		text-align: center;
	}
	
	.st-navbar ul li {
    	width: 100%;
	    padding-right: 0;
	}

	.st-navbar .navbar-collapse ul{
		margin-top: 18px;
	}
	ul.bottom {
		margin-bottom: 30px;
	}
	.navbar form input[type=text] {
		-webkit-appearance: none;	
	}		
	ul.bottom li a {
		width: 100%;
		text-align: left;
		max-width: none;
	}
	ul.bottom li:last-child a {
		border-bottom: 1px solid #E41D37;
	}	

	#home-carousel  .item {
		height: 300px;
	}

	.carousel-caption h1 {
		font-size:16px;
		margin-bottom:0;
		line-height:27px;
		letter-spacing:2px;
		font-weight:100;
	}

	.carousel-caption h2 {
		font-size:31px;
		font-weight:600;
		margin-top:0px;
		text-transform:lowercase;
		letter-spacing:2px;
		margin-bottom:20px;
	}

	.scroll-up{
		display: none !important;
	}

	.footer-social-icons {
		text-align: center;
		margin-bottom: 15px;
	}

	.copyright{
		text-align: center;
	}

	#contact{
		padding-top: 100px;
		padding-bottom: 100px;
	}

	.contact-info{
		margin-bottom: 50px;
	}

	#fun-facts .fun-fact{
		border-right: 0px;
		margin-bottom: 30px;
	}

	#about-us .our-office{
		padding-left: 0;
		padding-right: 0;
	}

	#testimonial{
		padding-top: 60px;
		padding-bottom: 60px;
	}

	#about-us .about-us {
		padding-left: 5%;
		padding-right: 5%;
		padding-top: 10%;
		padding-bottom: 10%;
	}

	#our-team, #pricing, #our-works, #services{
		padding-top: 100px;
		padding-bottom: 100px;
	}

	.st-service {
		margin-top: 50px;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > li > a {
    	color: #E41D37;
	}
	.navbar-nav .open .dropdown-menu .dropdown-header, .navbar-nav .open .dropdown-menu > li > a {
		padding: 5px 0;
	}	
	.st-navbar ul ul li a {
		margin-left: 0;
		margin-top: 0;
	}	
	.st-navbar ul li,  {
		width: 100%;
		padding-right: 0;
	}	
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus, .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
		color: #E41D37;
	}	


	.portfolio-wrapper .portfolio-overlay {
    left: 5%;
    right: 5%;
    bottom: 5%;
    top: 49%;
    width: 90%;
    height: 90%;
    padding: 3px;
    text-align: center;
}



	.portfolio-wrapper .portfolio-overlay {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.85);
    color: #e41d37;
    left: 1%;
    bottom: 5%;
    width: 98%;
    height: 50%;
    padding: 1px;
    opacity: 0.8;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }

  .portfolio-wrapper .portfolio-overlay h5 {
  	margin:1px; 
  	padding: 1px;
  	font-size: 0.9em;
  	font-weight: 300; 

  }
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a, 
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus, 
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover {
		color: #E41D37;
		background-color: #FFF;
	}
}

/* XS Portrait */
@media (max-width: 479px) {
	#pre-status,
	.preload-placeholder {
		background-size: 25px 25px;
	}
	.nav>li>a {
    	display: inline;
	}
	#pido_r img.align_right,
	#pido_r img.align_left {
		max-width: 100%;
		margin-left: 0;
		float: none;
	}	
	#pido_r figure.align_right,
	#pido_r figure.align_left {
		max-width: 100%;
	}
	
	#pido_r figure.align_right,
	#pido_r figure.align_left {
		padding: 0 0 15px 0;
	}	
}

/* EDIT MK */
@media (min-width:992px) {



	.affix {
	position: fixed;
	top: 0;
	width: 165px;
	}	
	.logo-padding {
		padding-left: 99px;
	}	

	.ref-padding {
		padding-left: 90px;
	}	


	.menu-padding{
		padding-left: 58px;
	}

	.foot-padding{
		padding-left: 60px;
	}

	
}
@media (min-width:1200px) {
	.mfp-arrow-right, .mfp-arrow-right:active {
		left: 50%;
		margin-left: 2px;
	}
	.mfp-arrow-right:before {
		line-height: 30px;	
	}
	.mfp-arrow-left, .mfp-arrow-left:active {
		left: 50%;
		margin-left: -22px;		
	}
	.mfp-arrow-left:before {
		line-height: 30px;
	}
	.mfp-close {
		opacity: 1;
	}
	.mfp-arrow, .mfp-arrow:active {
		margin-top: 358px;
		top: 49%;
		width: 20px;
		height: 30px;	
	}
	.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
		margin-top: 0;
		margin-left: 0;
	}	
	.mfp-image-holder .mfp-content {
		max-width: 1056px; 
	}
	.mfp-bottom-bar {
		margin-top: 15px;
	}
	img.mfp-img {
		max-height: 784px !important;
		height: auto;
		max-width: none;
	}	
}
@media (max-width: 991px) and (min-width: 768px) {


	.st-navbar ul li a  {
		margin-left: 0;
		margin-right: 0;
	}
	.dropdown-menu	{
		min-width: 0;
	}
}