
/* 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: #1b1b1b url('../images/bgd-new.jpg');
}

.body-wrapper {
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNWU1ZTUiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(255,255,255,0.25) 0px, rgba(229,229,229,0) 350px);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0px,rgba(255,255,255,0.25)), color-stop(350px,rgba(229,229,229,0)));
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0.25) 0px,rgba(229,229,229,0) 350px);
	background: -o-linear-gradient(top,  rgba(255,255,255,0.25) 0px,rgba(229,229,229,0) 350px);
	background: -ms-linear-gradient(top,  rgba(255,255,255,0.25) 0px,rgba(229,229,229,0) 350px);
	background: linear-gradient(to bottom,  rgba(255,255,255,0.25) 0px,rgba(229,229,229,0) 350px);
}

body, td, p  {
	color: #fff;
	font-family: "Roboto", 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: #ffd906;
	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 {
	color: #ffd906;
	font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 22px; line-height: 26px; font-weight: 700; text-align: center; text-transform: uppercase;
}

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

.cf:after {
	clear: both;
}

.clear {
	clear: both;
}

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


/* header */

.topbar-wrapper {
	border-top: 6px solid #761313;
}

.header-wrapper {
	position: relative;
	margin-bottom: 50px;
	background: #0e0e0e;
}

.header {
	width: 100%; height: auto; display: block;
	border-bottom: 6px solid #ffd906;
}

.logo {
	position: absolute;
	left: 50%; bottom: -20px; margin-left: -144px;
}


/* headings */

.heading {
	padding-bottom: 10px; margin: 40px 0 20px 0;
	background: url('../images/underline-heading.png') center bottom no-repeat;
}

.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: #434343;
}

.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;
	background: #c00000; border-radius: 4px; color: #fff;
	font-size: 32px; line-height: 36px; font-weight: bold; text-align: center; text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.button:hover,
.button:active {
	background: #ffd906; color: #303030; text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}


/* footer */

.footer {
	padding: 30px 0;
	background: rgba(0, 0, 0, 0.5);
	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;
	}
}

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

	.logo {
		bottom: -45px; 		
	}

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

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

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

	.header-wrapper {
		margin: 20px 0 -20px 0;
		background: none;
	}

	.header {
		display: none;
	}

	.logo {
		display: block; position: relative;
		left: 0; bottom: 0; margin: 0 auto;
	}

	.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; line-height: 24px;
	}

	.header-wrapper {
		margin: 20px 0 -30px 0;
		background: none;
	}

	.header {
		display: none;
	}

	.logo {
		display: block; position: relative;
		left: 0; bottom: 0; margin: 0 auto;
	}

	.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;
	}
}


