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

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

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

.cf:after {
	clear: both;
}

.clear {
	clear: both;
}

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


/* header */

.topbar-wrapper {
	position: relative;
	background: rgba(0, 0, 0, 0.3); border-top: 5px solid #4960cb;
}

.logo {
	display: block; position: absolute;
	left: 0; top: 0; z-index: 500;
}

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


/* headings */

.contents-wrapper {
	padding: 10px; margin-bottom: 10px;
	background: rgba(0, 0, 0, 0.3); border: 1px solid #1a617f; border-radius: 4px;
}

.heading {
	width: 100%;
	padding: 10px;
	background: #d7b351; border: 2px solid #fff; border-radius: 4px; color: #004c7c;
	text-align: center;
}

.separator {
	width: 100%; height: 8px;
	margin: 1px 0;
	background: #1a617f; border-radius: 2px;
}

.separator-inside {
	width: 20px; height: 10px; float: left;
	margin-top: -1px; margin-left: 48%;
	background: #d7b351; border: 1px solid #1f1f1f; border-radius: 2px;
}

.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 video large */

.contents {
	margin-top: 10px;
}

.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: #f03509; 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: #d01509; color: #fff; text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}


/* footer */

.footer {
	padding: 30px 0;
	background: rgba(0, 0, 0, 0.3); border-bottom: 5px solid #4960cb;
	font-size: 13px; line-height: 1.6em; text-align: center;
}


/* responsive */

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

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

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

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

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

	.topbar-wrapper {
		margin-bottom: 10px;
	}

	.logo {
		display: block; position: relative;
		margin: 0 auto 10px auto;
	}

	.header {
		display: none;
	}

	.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: 22px;
	}

	.topbar-wrapper {
		margin-bottom: 10px;
	}

	.logo {
		display: block; position: relative;
		margin: 0 auto 10px auto;
	}

	.header {
		display: none;
	}

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


