
/* CSS clear based on http://meyerweb.com/eric/tools/css/reset/ */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address,
big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,
dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed,  figure, figcaption, footer, header, hgroup,  menu, nav, output, ruby, section, summary, time,
mark, audio, video {
	padding: 0; margin: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers and specific declarations */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: ''; content: none;
}

table {
	border-spacing: 0; border-collapse: collapse;
}


/* Main definitions */

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body {
	padding: 0; margin: 0;
	position: relative;
	background: #101010;
}

body, td, p  {
	color: #fff;
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 13px; line-height: 1.6em; font-weight: 400;
 }

b, strong {
	font-weight: bold;
}

i, em {
	font-style: italic;
}

a {
	color: #f09020;
	text-decoration: none;
	transition: all .3s;
}

a:hover, a:active {
	color: #fff;
	text-decoration: none;
	transition: all .3s;
}

p {
	margin-bottom: 1em;
	text-align: justify;
}

hr {
	height: 1px; display: block; clear: both;
	padding: 0; margin: 15px 0;
	background: #333; border: none;
}

h2 {
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 20px; line-height: 22px; font-weight: 400; text-align: left;
}

.cf:before, .cf:after {
	display: table;
	content: " ";
}

.cf:after {
	clear: both;
}

.clear {
	clear: both;
}

.wrapper {
	width: 1200px; position: relative;
	margin: 0 auto;
}


/* header */

.topbar  { 
	width: 100%; height: 10px; 
	background: #333; 
	border-bottom: 1px solid #460707;
	box-shadow: inset 0px -1px 0px 0px rgba(0,0,0,1);
}

.header-bgd { 
	position: relative;
	background: url(../images/bg-header.gif);
}

.header-bgd:before{
	width: 100%; height: 100%; display: inline-block;
	position: absolute; left: 0; top: 0; right: 0; bottom: 0;
	content: '';
	background: -moz-linear-gradient(top,  rgba(23,23,23,1) 34%, rgba(23,23,23,0.69) 52%, rgba(164,35,35,0) 92%, rgba(192,37,37,0.33) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(23,23,23,1) 34%,rgba(23,23,23,0.69) 52%,rgba(164,35,35,0) 92%,rgba(192,37,37,0.33) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(23,23,23,1) 34%,rgba(23,23,23,0.69) 52%,rgba(164,35,35,0) 92%,rgba(192,37,37,0.33) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	border-bottom: 1px solid #000;
}

.logo {
	max-width: 100%; display: block; float: left;
	margin-top: 85px;
}

.header-wrapper {
	width: 850px; float: right;
}

.header {
	width: 100%; height: auto; display: block;
	margin: 15px 0 20px 0;
}


/* headings */

.heading {
	width: 100%;
	padding: 0 10px; margin: 20px 0 0 0;
	background: #901010; border-bottom: 4px solid rgba(255, 255, 255, 0.12); color: #fff;
}

.heading span {
	width: 100%; display: block;
	padding: 9px 0;

}

.intro {
	margin: 4px 0;
	font-size: 15px; line-height: 24px; text-align: justify;
}

.intro a {
	font-size: 1.12em;font-weight: bold; text-decoration: underline;
}


/* contents */

.contents {
	padding: 20px;
	background: #363636;
}

.contents-thumbs {
	margin-bottom: -0.8%;
}

.contents-thumbs img {
	width: 19.2%; display: block; float: left; position: relative;
	margin-right: 1%; margin-bottom: 1%;
	border-radius: 4px;
}

.contents-thumbs img:hover {
	border-color: #c7c7c7;
}

.contents-thumbs a:nth-child(5n) img {
	margin-right: 0;
}


/* banners */

.banner {
	margin: 20px 0;
}

.banner img {
	max-width: 100%; height: auto; display: block;
	margin: 0 auto;
}

.only-desktop {
	display: block !important;
}

.only-mobile {
	display: none !important;
}

.button {
	display: block;
	padding: 20px 10px; margin-top: 0.8%;
	background: #e7e7e7; border-radius: 4px; color: #901010;
	font-size: 32px; line-height: 36px; font-weight: bold; text-align: center; text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.button:hover,
.button:active {
	background: #901010; color: #fff; text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}


/* footer */

.footer {
	padding: 30px 0;
	background: rgba(255, 255, 255, 0.05); color: #fff;
	font-size: 12px; line-height: 1.6em; text-align: center;
}

.footer a {
	color: #fff;
}

.footer a:hover,
.footer a:active {
	color: #d0d0d0;
}


/* responsive */

@media (min-width: 990px) and (max-width: 1219px) {
	.wrapper {
		width: 970px;
	}

	.logo {
		margin-top: 60px;
	}

	.header-wrapper {
		width: 620px;
	}
}

@media (min-width: 768px) and (max-width: 989px) {
	.wrapper {
		width: 750px;
	}

	.logo {
		margin-top: 35px;
	}

	.header-wrapper {
		width: 400px;
	}

	.only-desktop {
		display: none !important;
	}

	.only-mobile {
		display: block !important;
	}
}

@media (min-width: 480px) and (max-width: 767px) {
	.wrapper {
		width: 460px;
	}

	.logo {
		float: none;
		margin: 10px auto 0 auto;
	}

	.header-wrapper {
		width: 100%;
	}

	.contents {
		padding: 10px;
	}

	.intro {
		font-size: 14px; line-height: 22px;
	}

	.contents-thumbs img {
		width: 49%;
		margin-right: 2%; margin-bottom: 2%;
	}

	.contents-thumbs a:nth-child(5n) img {
		margin-right: 2%;
	}

	.contents-thumbs a:nth-child(2n) img {
		margin-right: 0;
	}

	.only-desktop {
		display: none !important;
	}

	.only-mobile {
		display: block !important;
	}

	.button {
		font-size: 28px; line-height: 30px;
	}
}

@media (max-width: 479px) {
	.wrapper {
		width: 300px;
	}

	h2 {
		font-size: 18px;
	}

	.logo {
		float: none;
		margin: 10px auto 0 auto;
	}

	.header-wrapper {
		width: 100%;
	}

	.contents {
		padding: 10px;
	}

	.intro {
		font-size: 13px; line-height: 20px;
	}

	.contents-thumbs img {
		width: 49%;
		margin-right: 2%; margin-bottom: 2%;
	}

	.contents-thumbs a:nth-child(5n) img {
		margin-right: 2%;
	}

	.contents-thumbs a:nth-child(2n) img {
		margin-right: 0;
	}

	.only-desktop {
		display: none !important;
	}

	.only-mobile {
		display: block !important;
	}

	.button {
		font-size: 28px; line-height: 30px;
	}
}


