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

	#searchString {
		width: 260px;
	}

	
	.flex-caption {
		margin-left: -10px;		
	}	

	.block-head h2, .start-row-1 {
			margin-top:0px;
		}		
	
	div.overlay-text p {
			font-size: 100%;
	}		
	
	div.overlay-text {
		left: 42px;
		top: 62px;
	}		
	
}


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

	body {
		/* Margin bottom by footer height
		margin-bottom:970px !important; */
		margin-bottom: 0px !important;
	}
	
	.footer {
		/*height: 950px;*/
		overflow-y: auto;
		
	}
	
	.first-footer {
		border: none;
	}
	

	form#suche {
		position: relative;		
		display: block;
	}	
	

	
	.redInfoBox {
		background: none;
	}
	
	
	.flex-control-nav {
		left: 1%;
		bottom: 1%;
	}
	
	.flex-caption {
		font-size: 90%;
	}
	
	.flex-caption {
		/* visibility: hidden; */
		position: absolute;
		left: 5% !important;
		top: 5% !important;
		width: 85% !important;
		font-size: 85%;
	}
	
	.flex-caption h2 {
    font-size: 150%;
	}	
	.flex-caption h4 {
		display: block;
	}	
	

	
	.flexslider-product .flex-control-paging li a {
		width: 56px;
		height: 56px;
	}
	
	div.groupBox {
		width: 49%;
	}	
	

	.gray-function-box div {
		clear: left;
	}
	
 .navbar-brand  {
    position: inherit;
    right: 0px;
    top: 0px;    
	}	
	
 .navbar-brand > img {
    /*height: 250%;
		width: 250%;*/
	 width: auto;
	 max-width: inherit;
	 height: 50px;
	}
	
	
	.navbar-default .navbar-nav > li > a {	
		padding-left:8px;
		padding-right: 8px;
	}

	.block-head h2, .start-row-1 {
			margin-top:10px;
		}	
	
	div.overlay-text {
			left: 82px;
			position: absolute;
			top: 102px;
	}	
	
	div.overlay-text p {
		font-size: 120%;
	}
	
	
}

/* small screen */
@media screen and (max-width:768px) {
	
	.block-head {
		margin-top: 0px;
	}
	
	.navbar-default {
		margin-bottom: 0px;
	}

	#main-slider, #linkAllFairs, #worldMap {
		display: none;
	}
	
	body > .firstContainer {    
    /*padding-top: 110px;*/
	}
	
	#map {
		background-size: 100%;
	}
	
	h1 {
		/*margin-top: 1.6em;*/
	}
	
	div.group-Bar {		
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;	
	}	
	h2.groupHead, div.groupText {
    margin-left: 0;
	}
	div.groupText {
		margin-top: 20px;
	}
	
	.block-head h2.closeHead{
		margin-bottom: -10px;
	}
	
	.flex-caption {
		/* visibility: hidden; */
		position: absolute;
		left: 5% !important;
		top: 5% !important;
		width: 85% !important;
		font-size: 80%;
	}		
	
	.flex-caption h2 {
    font-size: 100%;
	}
	.flex-caption h4 {
		display: none;
	}
	
	.flex-control-nav {
		visibility: hidden;
	}
	.flex-direction-nav a {
		height: 20px;
		width: 20px;
	}
	.flex-direction-nav .flex-prev {
			background-position: -7px -44px;
			left: 10px;
	}	
	.flex-direction-nav .flex-next {
			background-position: -8px -80px;
			right: 10px;
			text-align: right;
	}	
	
	form#suche {
		position: absolute;
		right: 0px;
		display: none;
	}
	#searchTrigger {
		display: inherit;
	}
	

	div.groupBox {
		width: 100%;
	}	
	
	.navbar-toggle {
		float: left;
		margin-left: 16px;
		margin-top: 24px;
	}
	#navbar {
		background: #e3e3e3;
		margin-top: 0px;
	}
	.navbar-collapse.in {
    overflow-y: inherit;
	}
	
	#toPageTop > .container .linkToTop {
		margin-left: 4px;
	}	
 .navbar-brand  {
    position: absolute;
    right: 15px;
    top: 36px;    
	}	
	
	div.overlay-text p {
			font-size: 90%;
	}		
	
	div.overlay-text {
		left: 67px;
		top: 87px;
	}		


}

/* very small screen */
@media screen and (max-width:450px) {
	
	div.overlay-text {
		left: 37px;
		top: 57px;
	}			
	
}