/* screenwidth less than 1140px */
@media only screen and (max-width: 1140px) {
	#intro {	min-height: 828px; }

	header #logo {	
		top: 66px;	
		width: 140px;
		margin-left: -50px;
	}

	#main { margin-top: 90px; }
	#main #header-wrap {
		padding: 15% 15% 0 15%;
	}
	#main h1, #main #header-prefix { 
		font: 38px/1.2em 'montserrat-bold', sans-serif; 
	}
	#main p { font: 16px/30px 'montserrat-regular', sans-serif; }
}

/* screenwidth less than 900px */
@media only screen and (max-width: 900px) {
	#intro { min-height: 792px; }
	
	#main #header-wrap {
		padding: 8% 8% 0 8%;  
	}
	#main h1, #main #header-prefix { 
		font: 35px/1.2em 'montserrat-bold', sans-serif; 
	}
	#main p { 
		font: 16px/30px 'montserrat-regular', sans-serif;
		padding: 0 10%; 
	}

	#about { padding-top: 84px}
	#about .section-header .icon-wrap { font-size: 55px; }
	#about .section-header h1,

	#location .contacts .row .columns { width: 50%; }
	#location .contacts .row .end { clear: both; }	
}

/* mobile */
@media only screen and (max-width: 767px) {
	header #logo {	
		top: 30px;	
		width: 90px;
		margin-left: -45px;			
	}

	#nav-wrap > a { right: 0; }
	#nav-wrap ul#nav { 
		background: #111;
		right: 0; 
	}

	#main { margin-top: 48px; }
	#main h1, #main #header-prefix { 
		font: 30px/1.2em 'montserrat-bold', sans-serif; 
		text-align: center;  		
	}
	#main p {	
		font: 14px/24px 'montserrat-regular', sans-serif;		
		margin-bottom: 15px;
		text-align: center;
	}
	#main h5 {
		font: 12px/24px 'montserrat-bold', sans-serif;
		text-align: center;
	}

	#about { padding-top: 72px; }
	#about .icon-wrap {
		text-align: center; 
		margin-bottom: 30px;
	}
		#about .header { text-align: center; }
		#about h1 {	font: 26px/36px 'montserrat-bold', sans-serif; }   

	#location .contacts { padding-top: 54px; }
	#location .contacts .row .columns { 
		text-align: center;
		width: 100%; 
		float: none;
	}	

  	footer { padding-bottom: 30px; }
	footer .copyright { text-align: center; }
	footer .copyright li:before { content: none; }
	footer .copyright li { 
		margin: 0; 
		display: block;
		line-height: 27px;
	}
}

/* screenwidth less than 460px */
@media only screen and (max-width: 460px) {
	#intro { min-height: 780px; }

	#main #header-wrap {
		margin-bottom: 5px;
	}
	#main h1, #main #header-prefix { 
		font: 28px/1.2em 'montserrat-bold', sans-serif; 
	}
	#main h2 {
		font: 16px/1.2em 'montserrat-bold', sans-serif; 
	}

	#about .section-header .icon-wrap { font-size: 50px; }
	#about .section-header h1,
	#about p.lead {
		font: 16px/33px 'merriweather-light', sans-serif;
		padding: 0;
	}

	#go-top { right: 15px; } 
}

/* screenwidth less than 400px */
@media only screen and (max-width: 400px) {
	#intro { min-height: 744px; }
	#main { margin-top: 52px; }
	#main h1 { font: 25px/1.2em 'montserrat-bold', sans-serif; 	}
	#main p { font: 12px/21px 'montserrat-regular', sans-serif;	}
}