/* Media queries!
-------------------------------------------------------------------------------*/

@media screen and (max-width: 1180px) {
	h2 {
		max-width:none;
	}
	h2:after {
		margin-right: auto;
		margin-left: auto;
	}
	.slides-pagination {
		bottom:160px;
	}
	.about, .contact {
		padding:50px 0;
	}
}

@media screen and (max-width: 890px) {
	.about p {
		-moz-column-count: 1;
		-moz-column-gap: 0px;
		-webkit-column-count: 1;
		-webkit-column-gap: 0px;
	}
	footer {
		padding:25px 0;
	}
}
@media screen and (max-width: 760px) {
	header {
		font-size:16px;
	}
}
@media screen and (max-width: 620px) {
	h2 {
		font-size:20px;
		line-height:36px;
	}
	.name-container, .email-container {
		width:100%;
	}
	.logo img {
		width:70px;
		height:70px;
		float:right;
	}
	nav ul li {
		line-height:66px;
	}
	.slides-pagination {
		bottom:120px;
	}
	blockquote {
		padding:5px 10px 5px 14px;
		letter-spacing:4px;
		font-size:13px;
	}
	.about, .contact {
		padding:30px 0;
	}
}
@media screen and (max-width: 570px) {
	header {
		font-size:14px;
	}
	header nav ul li:nth-child(even) {
		display:none;
	}
}
@media screen and (max-width: 520px) {
	.container {
		padding:0 20px;
	}
	.contact-info li {
		margin-bottom:40px;
		font-size:26px;
	}
	#success span p, #error span p {
		padding-right:10px;
		font-size:11px;
		line-height:16px;
	}	
}
@media screen and (max-width: 480px) {
	.container {
		padding:0 15px;
	}
	header .span_8_of_12 {
		font-size:21px;
	}
	nav ul li {
		margin-right:10px;
	}
}
@media screen and (max-width: 380px) {
	blockquote {
		padding:2px 10px 2px 12px;
		letter-spacing:2px;
		font-size:12px;
	}
	header nav ul li:last-child {
		display:none;
	}

}
@media screen and (max-width: 1330px) {
	.contactform label {
		font-size:14px;
	}
}
@media screen and (max-width: 1100px) {
	.contactform .section .span_3_of_12:first-child, .contactform .section .span_3_of_12:nth-child(2), .contactform .section .span_3_of_12:nth-child(3) {
		width:20%;
		margin-left:0;
	}
	.contactform .section .span_3_of_12:nth-child(4) {
		width:40%;
		margin-left:0;
	}
}
@media screen and (max-width: 940px) {
	.contactform .section .span_3_of_12:nth-child(3) {
		width:30%;
	}
	.contactform .section .span_3_of_12:nth-child(4) {
		width:30%;
	}
	.writeus {
		font-size:22px;
		line-height:38px;
	}
	.contactform input[type="submit"] {
		width:180px;
	}
	.contactform input[type="email"] {
		width:400px;
	}
	.emailcontainer {
		width:580px;
	}
}
@media screen and (max-width: 850px) {
	.contactform .section .span_3_of_12:nth-child(3) {
		width:26%;
	}
	.contactform .section .span_3_of_12:nth-child(4) {
		width:34%;
	}	
}
@media screen and (max-width: 800px) {
	.contactform .section .span_3_of_12 {
		width:50% !important;
		margin:0 !important;
	}
}
@media screen and (max-width: 660px) {
	.contactform {
		padding:0 20px;
	}
	.contactform input[type="submit"] {
		width:130px;
		font-size:14px;
		height:52px;
	}
	.contactform input[type="email"] {
		width:290px;
		font-size:18px;
		height:52px;
	}
	.emailcontainer {
		width:420px;
	}
	.writeus {
		font-size:16px;
		line-height:28px;
		margin-bottom:30px !important;
	}
}
@media screen and (max-width: 530px) {
	.contactform h1 {
		font-size:18px;
		margin-bottom:20px;
	}
}


@media screen and (max-width: 490px) {
	.emailcontainer {
		width:100%;
	}
	.contactform .section .span_3_of_12 {
		width:100% !important;
		margin:0 !important;
	}
	.contactform input[type="email"], .contactform input[type="submit"] {
		float:auto;
		border:1px solid #0c1f14;
		width:100%;
	}
	.contactform input[type="submit"] {
		margin-top:20px;
	}
	.contactform h1 {
		font-size: 16px;
		margin-bottom: 16px;
	}
	.emailcontainer {
		margin: 25px auto;
	}	
}

