/* Basics
-------------------------------------------------- */
body{
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	background: white;
	color: #000000;
}

.clear{
	clear: both;
}

h1,h2,h3,h4,h5,h6{
	font-family: 'Oswald', 'Open Sans', sans-serif;
	text-transform: uppercase;
	font-weight: 400;
}

a {
	text-decoration: none;
	color: #862633;
}

input[type="text"],
input[type="password"]{
	margin: 0;
	padding: 2px;
	background: #ffffff;
	border: 1px solid #bfbfbf;
}

fieldset.flat {
	border: none;
}

table {
	max-width: 100%;
}

#site-wrapper {
	background: white; /* #f9f9fa */
	width: 100%;
}

#site-topbar {
	width: 100%;
	background: white;
}

	#site-topbar div {
		margin: 0px auto;
		height: 22px;
		padding: 4px 10px 0px 10px;
		color: white;
		font-size: 12px;
		text-transform: uppercase;
		text-align: right;
	}

		#site-topbar a.topbar-a {
			color: #862633;
			font-size: 12px;
		}

		#site-topbar a.topbar-a:hover {
			color: #d0d0d0;
		}

div.topbar-line {
	background: #862633;
	height: 6px;
}

#site-inner-wrapper {
	margin: 0px auto;
}

#site-inner-wrapper a.home {
	color: black;
}

#site-header {
	padding: 18px 0px;
	border-bottom: 1px solid #e6e6e6;
}

	#site-header div.bme-logo {
		width: 218px;
		height: 50px;
		margin: 5px 0 0 0;
	}

		#site-header div.bme-logo div.logo {
			background: url('/static/img/default/bme-logo.png') no-repeat;
			width: 218px;
			height: 50px;
			display: block;
			float: left;
		}

	#site-header div.text {
		letter-spacing: 2px;
		font-weight: bold;
	}

		#site-header div.text h1 {
			margin: 0;
			font-family: 'Open Sans', sans-serif;
			font-size: 13px;
			font-weight: 600;
			text-transform: uppercase;
		}

		#site-header div.text h2 {
			margin: 5px 0px 0px 0px;
			font-family: 'Open Sans', sans-serif;
			font-size: 13px;
			text-transform: none;
		}

#site-footer {
	background: white;
	border-top: 1px solid #CCCCCC;
	margin-top: 20px;
	padding: 20px;
}

	#site-footer div.content {
		margin: 0px auto;
	}

	#site-footer p.copyright {
		color: #808080;
		font-size: 11px;
		font-weight: 400;
		letter-spacing: 2px;
		text-align: center;
		margin: 0;
	}

		#site-footer p.copyright a {
			color: #808080;
		}

		#site-footer p.copyright a:hover {
			color: #862633;
		}

div.main-menu {
	padding: 4px 0px;
	border-bottom: 1px solid #e6e6e6;
}

	div.main-menu ul {
		margin: 0 auto;
		padding: 0;
		list-style: none;
		text-align: center;
	}

		div.main-menu ul li {
			display: inline;
			padding: 0;
			font-family: 'Oswald', sans-serif;
			text-transform: uppercase;
		}

			div.main-menu ul li a {
				color: black;
				text-decoration: none;
				padding: 6px 15px;
				display: inline-block;
			}

			div.main-menu ul li a:hover {
				color: #862633;
				background: #f0f0f0;
			}

			div.main-menu ul li.active a {
				color: #862633;
			}

div#main {
	font-size: 14px;
	padding: 10px;
	min-height: 400px;
}

	div#main h1 {
		font-size: 24px;
	}

	div#main h2 {
		font-size: 20px;
	}

	div#main h3 {
		font-size: 18px;
	}

	div#main h4 {
		font-size: 16px;
	}

	div#main p {
		margin: 10px 0px 0px 0px;
	}

	div#main ul li {
		margin-top: 6px;
	}

div#sidebar {
	font-size: 13px;
	padding: 10px;
}

	div#sidebar p {
		margin: 6px 0px 0px 0px;
	}

	div#sidebar div.sidebar-box {
		border-bottom: 1px solid #E6E6E6;
		padding-bottom: 10px;
	}

		div#sidebar div.sidebar-box h2 {
			font-size: 16px;
		}


div.home-news-box {
	margin: 0px 0px 20px 0px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

div.news-container div.news-item {
	float: left;
	margin: 0px 20px 10px 0px;
	font-size: 13px;
}

	div.news-container div.news-item img {
		max-width: 100%;
	}

	div.news-item div.news-head {
		margin-bottom: 10px;
	}

	div#main div.news-item div.news-head h3.news-title {
		margin: 0;
		font-size: 16px;
	}

	div#main div.news-item p {
		margin: 0px;
	}

	div#main div.news-item div.news-head p.date {
		font-size: 11px;
		margin: 0px;
		color: #808080;
	}

	div.news-item div.news-content {
	}

		div.news-item div.news-content div.img {
			float: left;
		}

		div.news-item div.news-content div.desc {
		}

div#news-container div.news-item {
	margin: 10px 0px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e0e0e0;
}

	div#news-container div.news-item div.news-head {
		margin-bottom: 10px;
		margin-top: 10px;
	}

		div#news-container div.news-item div.news-head h2.news-title {
			margin-bottom: 6px;
		}

	div#news-container div.news-item div.news-body {
		margin-top: 12px;
	}

		div#news-container div.news-item div.news-body p {
			line-height: 1.5em;
			margin-top: 8px;
		}

p.error {
	margin: 10px 0px;
	text-align: center;
	color: red;
}

div.actions {
	margin-top: 20px;
	font-size: 13px;
}

div.postponed_messages {
	margin: 20px 0px;
}

	div.postponed_messages p.postponed_error {
		color: red;
	}

	div.postponed_messages p.postponed_warning {
		color: blue;
	}

	div.postponed_messages p.postponed_message {
		color: green;
	}

div.messagebox {
	margin: 20px 0px;
	padding: 20px;
	border: 1px solid #bfbfbf;
}

	div#main div.messagebox p {
		margin: 0;
	}

div#main div.messagebox-error {
	border: 1px solid red;
}

div#main div.messagebox-success {
	border: 1px solid green;
}

div.fb-like {
	margin: 20px 0px;
}

div.home-rss-box {
	float: left;
}

	div#main div.home-rss-box h3 {
		margin: 0;
		font-size: 16px;
	}

	div#main div.home-rss-box p.title {
		font-size: 13px;
		margin: 8px 0px 0px 0px;
	}

	div#main div.home-rss-box p.date {
		font-family: Verdana, Helvetica, Arial;
		font-size: 12px;
		margin: 0;
		color: #808080;
	}

div#sidebar-login-box a.blog-link {
	color: black;
	font-family: "Oswald",sans-serif;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

div#sidebar-box-facebook-messages {
	word-break: break-word;
	-ms-word-wrap: break-word;
}

div#sidebar-search-box .search-form input:focus {
	outline: none;
}

		input#search-form-text {
			height: 24px;
			margin: 0px 0px 10px 0px;
			padding: 2px 4px;
			background: white;
			border: 1px solid #bfbfbf;
			-webkit-border-radius: 7px;
			-moz-border-radius: 7px;
			-o-border-radius: 7px;
			border-radius: 7px;
		}

		a#search-form-button {
			width: 25px;
			height: 25px;
			float: right;
			margin-left: 8px;
			background: url('/static/img/default/searchbutton.png') no-repeat;
			color: white;
			cursor: pointer;
		}


div.youtube-video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	margin-bottom: 15px;
}

	div.youtube-video-container iframe,
	div.youtube-video-container object,
	div.youtube-video-container embed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

table.registration {
	border: 1px solid #a0a0a0;
	width: 100%;
	border-collapse: collapse;
}

	table.registration th {
		font-size: 12px;
	}

	table.registration td {
		font-size: 12px;
		border: 1px solid #a0a0a0;
		padding: 2px 4px;
	}

	table.registration tr.expired td {
		background: #fff0f0;
	}


div.phonebook h4 {
	margin: 10px 0px 10px 0px;
}






/* Calendar
-------------------------------------------------- */
.calendar{
	font-family: 'Oswald', sans-serif;
}

.calendar-head{
	text-align: center;
}

	.calendar-head .prev-month,
	.calendar-head .next-month,
	.calendar-head .actual-month{
		font-size: 14px;
		text-transform: uppercase;
	}
	
	.calendar-head .prev-month{
		float: left;
	}

	.calendar-head .next-month{
		float: right;
	}

.calendar-body {
	font-size: 13px;
}

	.calendar-body .calendar-table td {
		width: 30px;
		height: 30px;
		text-align: center;
	}

	.calendar-body .calendar-table td.default {
		background: transparent;
	}

	.calendar-body .calendar-table td.has-event {
		background: #862633;
	}

		.calendar-body .calendar-table td.default a {
			color: black;
		}

		.calendar-body .calendar-table td.default a.day-passed {
			color: #b7b7b7;
		}

	.calendar-body .calendar-table td.today {
/*		background: #862633; */
		border: 1px solid #862633;
	}

		.calendar-body .calendar-table td.today a {
/*			color: white; */
		}

		.calendar-body .calendar-table td a {
		}

		.calendar-body .calendar-table td a.has-event {
			/* color: #862633; */
			color: white;
			cursor: pointer;
		}

		.calendar-body .calendar-table td.today a.has-event {
			color: #862633;
		}

		.calendar-body .calendar-table td a.no-event {
			color: black;
		}

div.calendar_day_events {
	border: 1px solid #808080;
	background: white;
	padding: 8px;
}

div.calendar_day_events p {
	font-size: 12px;
	margin: 4px 0px;
}



div#main div.sitemap p.level_0 {
	margin-top: 20px;
}

div#main div.sitemap p.level_1 {
	margin-left: 20px;
}

div#main div.sitemap p.level_2 {
	margin-left: 40px;
}

div#main div.sitemap p.level_3 {
	margin-left: 60px;
}

div#main div.sitemap p.level_4 {
	margin-left: 80px;
}

div#main div.sitemap p.level_5 {
	margin-left: 100px;
}

div.block-container {
	position: relative;
}

div.toggle-block-container {
	position: absolute;
	top: 0px;
	right: 0px;
}

