/* Media queries */

@media(min-width: 990px) and (max-width: 1199px) {
	.wrapper {
		width: 970px;
	}

	.button:link, .button:visited {
		font-size: 36px;
	}

	.main-content {
		width: 1010px;
	}

	.site-footer {
		width: 1010px;
	}

	.thumbs-listing img {
		width: 145px;
	}
}

@media(min-width: 768px) and (max-width: 989px) {
	.wrapper {
		width: 750px;
	}

	.button:link,
	.button:visited {
		font-size: 28px;
	}

	.main-content {
		width: 790px;
	}

	.thumbs-listing img {
		width: 236px;
	}

	.thumbs-listing a:nth-child(3n) img {
		margin-right: 0;
	}

	.thumbs-listing a:nth-last-child(-n+6) img {
		margin-bottom: 20px;
	}

	.thumbs-listing a:nth-last-child(-n+3) img {
		margin-bottom: 0;
	}

	.site-footer {
		width: 790px;
	}

	.site-footer .footer a {
		display: block;
	}

	.site-footer .footer span {
		display: block;
		margin-top: 10px;
	}

}

@media(min-width: 480px) and (max-width: 767px) {
	.wrapper {
		width: 460px;
	}

	.button:link, .button:visited {
		font-size: 30px;
	}

	.header-section .logo-wrapper {
		width: 100%;
	}

	.header-section .slogan-wrapper {
		width: 100%; max-width: none;
		margin-top: 25px;
		font-size: 34px; text-align: center;
	}

	.main-content {
		width: 500px;
	}

	.thumbs-listing img {
		width: 108px;
	}

	.thumbs-listing img {
		width: 140px;
	}

	.thumbs-listing a:nth-child(3n) img {
		margin-right: 0;
	}

	.thumbs-listing a:nth-last-child(-n+6) img {
		margin-bottom: 20px;
	}

	.thumbs-listing a:nth-last-child(-n+3) img {
		margin-bottom: 0;
	}

	.site-footer {
		width: 500px;
	}

	.site-footer .footer a,
	.site-footer .footer span {
		display: inline-block;
		margin: 3px 0;
	}
}

@media(max-width: 479px) {
	.wrapper {
		width: 300px;
	}

	.button:link, .button:visited {
		padding: 15px;
		font-size: 30px;
	}

	.header-section .logo-wrapper {
		width: 100%;
	}

	.header-section .slogan-wrapper {
		width: 100%; max-width: none;
		margin-top: 25px;
		font-size: 34px; text-align: center;
	}

	.main-content {
		width: 340px;
	}

	.thumbs-listing img {
		width: 140px;
	}

	.thumbs-listing a:nth-child(2n) img {
		margin-right: 0;
	}

	.thumbs-listing a:nth-last-child(-n+6) img {
		margin-bottom: 20px;
	}

	.thumbs-listing a:nth-last-child(-n+2) img {
		margin-bottom: 0;
	}

	.site-footer {
		width: 340px;
	}

	.site-footer .footer a,
	.site-footer .footer span {
		display: inline-block;
		margin: 3px 0;
	}
}
