
/* 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: #ddd url("../images/bgd.png");
}

body, td, p  {
	color: #404040;
	font-family: "Open Sans", Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 19px; line-height: 1.4em; font-weight: normal;
 }

b, strong {
	font-weight: bold;
}

i, em {
	font-style: italic;
}

a, a:visited {
	color: #f31b3a;
	text-decoration: none;
	transition: color 0.35s, background 0.35s, border 0.35s;
}

a:hover, a:active {
	color: #404040;
	text-decoration: none;
	transition: color 0.35s, background 0.35s, border 0.35s;
}

p {
	margin: 0;
	text-align: justify;
}

hr {
	height: 1px; display: block; clear: both;
	padding: 0; margin: 15px 0;
	background: #333; border: none;
}

.clear {
	clear: both;
}

.cf:before,
.cf:after {
	content: " ";
	display: table;
}

.cf:after {
	clear: both;
}

.wrapper {
	width: 1120px;
	margin: 0 auto;
}

.button:link, .button:visited {
	display: block;
	padding: 25px 30px;
	background: #da0f2c; border-bottom: 8px solid #b52439; border-radius: 4px; color: #fff;
	font-size: 38px; line-height: 1.1em; font-weight: 900; text-align: center; letter-spacing: -1px; text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.button:hover, .button:active {
	background: #ec2642;
}

.button .accent {
	color: #f0f070;
	text-decoration: underline;
}


/* Header section */

.header-section {
	padding: 40px 0 100px 0;
	background: url("../images/header-section-bgd.jpg") center center no-repeat; background-size: cover;
	text-align: center;
}

.header-section .logo-wrapper {
	width: 200px; display: block; float: left;
}

.header-section .logo-wrapper .logo {
	max-width: 100%; height: auto; display: block;
	margin: 0 auto;
}

.header-section .slogan-wrapper {
	max-width: calc(100% - 230px); display: block; float: right;
	margin-top: 5px;
	font-size: 40px; line-height: 1.05em; font-weight: 800; letter-spacing: -1px; text-align: right; text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.header-section .slogan-wrapper .slogan span {
	display: block;
}

.header-section .slogan-wrapper .slogan span:nth-child(1) {
	color: #fff;
}

.header-section .slogan-wrapper .slogan span:nth-child(2) {
	color: #f31b3a;
}

.header-section .slogan-wrapper a:hover span,
.header-section .slogan-wrapper a:active span {
	text-decoration: underline;
}


/* Main content */

.main-content {
	width: 1160px; max-width: 100%; overflow: hidden;
	padding: 0 20px; margin: -60px auto 0 auto;
	background: #fff; border-radius: 4px;
}


/* Promo top section */

.promo-top-section {
	margin-top: 20px;
}

.promo-top .slogan {
	text-align: center;
}

.promo-top-section .slogan a:link,
.promo-top-section .slogan a:visited {
	color: #404040;
}

.promo-top-section .slogan a:hover,
.promo-top-section .slogan a:active {
	color: #f31b3a;
}

.promo-top-section .slogan a .accent {
	color: #f31b3a;
	font-weight: 900; text-decoration: underline;
}


/* Promo middle section */

.promo-middle-section {
	margin: 20px 0;
}


/* Promo bottom section */

.promo-bottom-section {
	margin-top: 20px; margin-bottom: 20px;
}

.promo-bottom {
	text-align: center;
}


/* Footer */

.site-footer {
	width: 1160px; max-width: 100%; overflow: hidden;
	margin: 20px auto;
	background: #b4b4b4; border-radius: 4px; color: #404040;
}

.site-footer .footer {
	padding: 30px;
	font-size: 14px; line-height: 1.2em; text-align: center;
}

.site-footer .footer a,
.site-footer .footer span {
	margin: 0 5px;
	color: #404040;
}


/* Thumbs */

.content-thumbs {
	margin: 20px 0;
}

.thumbs-listing img {
	width: 170px; height: auto; display: block; float: left;
	margin-right: 20px; margin-bottom: 20px;
}

.thumbs-listing a:nth-child(6n) img {
	margin-right: 0;
}

.thumbs-listing a:nth-last-child(-n+6) img {
	margin-bottom: 0;
}

/* Fancybox3 */

.fancybox-caption-wrap {
	bottom: -15px;
}

.fancybox-caption-wrap .fancybox-caption {
	font-size: 18px;
	font-weight: bold;
	padding: 35px 0 30px 0;
	text-align: center;
}
