/* resets */
iframe {
	box-sizing: border-box;
	border: 0;
}
figure {
	margin: 0;
}
body {
	background: #020C10 url(../images/pattern.gif) 0 0 repeat-x fixed;
}
#body {
	background: #760000;
	box-shadow: 0 15px 15px #000;
}
#header {
	background: #fff;
	background-size: cover;
	box-shadow: 0 0 15px #000;
}
#header p {
	margin: 0;
}
#header .header-module {
	background: #fff;
}
@media print {
	* {
		text-shadow: none !important;
		color: #000 !important;
		background: #fff !important;
		box-shadow: none !important;
	}
	a,
	a:visited {
		text-decoration: underline;
	}
	a[href]:after {
		content: " (" attr(href) ")";
	}
	abbr[title]:after {
		content: " (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}
	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	thead {
		display: table-header-group;
	}
	tr,
	img {
		page-break-inside: avoid;
	}
	img {
		max-width: 100% !important;
	}
	@page {
		margin: 0.5cm;
	}
	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}
	h2,
	h3 {
		page-break-after: avoid;
	}
}
@media (min-width: 980px){
	#header .span3 {
		width: 240px;
	}
	#header .span9 {
		margin-left: 0;
	}
}
@media (min-width: 980px) and (max-width: 1199px){
	#header .span9 img {
		height: 160px;
	}
}
@media (min-width: 1200px){
	#header .span3 {
		width: 300px;
	}
}
@media (max-width: 979px){
	#header .span3 {
		display: none;
	}
	#header .span9 {
		width: 724px;
	}
}
@media (max-width: 767px){
	#header .span9 {
		width:100%;
	}
}

#nav {
	background: #930000;
	border-bottom: 1px solid #b20404;
}
#main > div {
	margin-top: 20px;
	margin-bottom: 20px;
}
#content > .inner {
	padding: 20px;
	background: #fff;
}
@media (max-width: 767px){
	#content {
		float: none;
	}
}
#left > .inner {
	padding-left: 20px;
}
#left .header {
	margin-left: -20px;
	background: #111;
	padding-left: 20px;
}
#left .input-prepend {
	display: block;
}
#left .add-on {
	width: 20%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 30px;
}
#left ul.nav li a {
	border-bottom: 1px solid #540000;
	padding: 3px 5px;
}
#left ul.nav li.active a,
#left ul.nav li a:focus,
#left ul.nav li a:active,
#left ul.nav li a:hover {
	background: #540000;
	color: #fff;
}
#left ul.nav li:last-child a {
	border: 0;
}
#modlgn-username,
#modlgn-passwd {
	width: 80%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 30px;
}

#footer {
	background: #930000;
	border-top: 1px solid #B20404;
	box-shadow: 0 5px 15px #000;
	padding: 20px 0;
}
#footer .header,
#footer .content {
	padding: 0 20px;
}
#footer .impress {
	margin-top: 17px;
}
#footer ul.menu {
	margin-top: 34px;
}
#footer ul.menu li a {
	background: none !important;
}
#footer ul.menu li a:hover {
	color: #fff;
	text-decoration: underline;
}

/* navigation */
#nav > ul {
	list-style: none;
	margin: 0;
	padding: 8px 0 5px;
	text-align: center;
}
#nav > ul > li {
	display: inline-block;
	text-align: center;
	position: relative;
}
#nav > ul > li > a {
	color: #fff;
	display: block;
	padding: 0 25px;
	line-height: 25px;
	font-size: 14px;
	border-bottom: 6px solid #111;
	text-decoration: none;
}
#nav > ul > li:hover > a,
#nav > ul > li.active > a {
	/*border-color: #550000;*/
	border-color: #333;
}
.nav > li > a:focus {
	background: none;
}
#nav > ul > li > a:hover {
	background: transparent;
	text-decoration: none;
}
#nav ul ul {
	display: none;
	position: absolute;
	background: #111;
	text-align: left;
	padding: 5px 0;
	min-width: 100%;
	overflow: hidden;
	box-shadow: 0 3px 5px #000;
	z-index: 9999;
}
#nav ul li:hover ul,
#nav ul li.hover ul {
	display: block;
}
#nav ul li ul li {
	display: block;
}
#nav ul ul a {
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 2px 25px;
	font-size: 13px;
	white-space: nowrap;
	border-top: 1px dotted #000;
}
#nav ul ul li:first-child a {
	border-top: 0;
}
#nav ul ul .active a {
	background: #333;
}
#nav ul ul a:hover {
	text-decoration: none;
	background: #550000;
}
.tinynav {
	display: none;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
}

@media (min-width: 980px) and (max-width: 1199px) {
	#nav > ul > li > a {
		padding: 0 13px;
	}
}
@media (min-width: 768px) and (max-width: 979px) {
    .tinynav {
    	display: block;
   	}
    #nav > ul {
    	display: none;
    }
    #nav {
    	padding: 10px;
    }
}
@media (max-width: 767px) {
    .tinynav {
    	display: block;
    }
    #nav > ul {
    	display: none;
    }
    #nav {
    	padding: 10px;
    }
}

/* typo */
body, table {
	font-family: "Roboto", "Helvetica Neue",​ Helvetica, ​Arial, sans-serif;
	color: #fff;
}
a {
	color: #fff;
}
a:hover {
	color: #111;
	text-decoration: none;
}
h1, h2, h3, h4, h5 {
	font-family: "Oswald", "Helvetica Neue",​ Helvetica, ​Arial, sans-serif;
	font-weight: 400;
}
h1 {
	font-size: 24px;
	line-height: 34px;
	border-bottom: 1px solid #930000;
	margin: 0 0 18px;
	color: #930000;
}
h2 {
	font-size: 20px;
	line-height: 26px;
	margin: 0 0 16px;
}
h3 {
	font-size: 24px;
	line-height: 34px;
}
.page-header {
	border: 0;
	margin: 0;
	padding: 0;
}
.textbutton {
	font-size: inherit;
	font-family: inherit;
	padding: 0;
	margin: 0;
	border: 0;
	color: inherit;
	background: none;
}
.textbutton:hover {
	color: #111;
}

#content,
#content table,
#content a.chzn-single {
	color: #111;
}
#content a {
	color: #930000;
}

#footer {
	font-size: 12px;
}

/* icons */
.ico-16 {
	padding-left: 20px;
	background-position: 0 50%;
	background-repeat: no-repeat;
}
.ico-12 {
	padding-left: 16px;
	background-position: 0 50%;
	background-repeat: no-repeat;
}
.ico-download {
	background-image: url(../images/icons/16-dark/download.png);
}
.ico-right {
	background-image: url(../images/icons/12-white/arrow-right3.png);
}
.jev_back {
	padding-left: 20px;
	background-position: 0 50%;
	background-repeat: no-repeat;
	background-image: url(../images/icons/16-dark/arrow-left3.png);
	margin: 12px 0;
}

/* modules */
#content .module.box {
	border-top: 20px solid #760000;
	margin: 20px -20px;
	padding: 0 20px;
}
#left .module {
	margin-bottom: 25px;
}
#left h3.header {
	margin-bottom: 15px;
}
@media (max-width: 767px){
	#left .content {
		padding-right: 20px;
	}
}

/* mod_login */
#login-form .btn {
	width: 80%;
}
#login-form ul.unstyled {
	font-size: 12px;
	margin-top: 15px;
}

/* com_wrapper */
.frameholder {
	width: 100%;
	height: 0;
	padding-bottom: 70%;
	position: relative;
}
.frameinfo {
	display: none;
}
@media (max-width: 979px) {
	.frameholder {
		padding-bottom: 120%;
	}
}
iframe#blockrandom {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* com_jdownloads */
.jd_footer {
	display: none;
}

/*com_content */
.blog-featured .items-leading > div {
	border-bottom: 1px solid #ccc;
	padding: 0 0 10px;
	margin: 10px 0;
}
.blog-featured .items-leading > div:last-child {
	border: 0;
}

/* com_kunena */
#Kunena span.krss {
	margin-top: 10px;
}
#main .klogin-vert div.klogin-avatar {
    padding: 0;
    text-align: left !important;
}
#main .klogin-avatar a {
	padding-right: 10px;
	display: block;
}
#main .klogin ul {
	font-size: 12px;
	margin: 5px 0 0;
	padding: 0;
	list-style: none;
}
#main .klogin ul li {
	padding-left: 16px;
	background: url(../images/icons/12-white/arrow-right3.png) 0 50% no-repeat;
}
#main .klogin ul li.logout {
	margin-top: 5px;
	background: url(../images/icons/12-white/switch.png) 0 50% no-repeat;
}

/* com_jevents */
#content .previousmonth a {
	display: block;
	color: #fff;
	text-decoration: none;
}
#content .previousmonth a:hover {
	color: #fff;
}
.previousmonth span {
	padding-left: 16px;
	background: url(../images/icons/12-white/arrow-left3.png) 0 50% no-repeat;
}
#content .nextmonth a {
	display: block;
	color: #fff;
	text-decoration: none;
}
#content .nextmonth a:hover {
	color: #fff;
}
.nextmonth span {
	padding-right: 16px;
	background: url(../images/icons/12-white/arrow-right3.png) 100% 50% no-repeat;
}
.addevent {
	padding-left: 20px;
	background: url(../images/icons/16-dark/plus.png) 0 50% no-repeat;
}
.jeventslight #toolbar {
	background: #aaa;
	margin: 0 0 20px;
	padding: 5px 10px;
}
.jeventslight #toolbar-save i,
.jeventslight #toolbar-save span {
	background: url(../images/icons/12-white/disk.png) 50% 70% no-repeat;
}
.jeventslight #toolbar-apply i,
.jeventslight #toolbar-apply span {
	background: url(../images/icons/12-white/checkmark.png) 50% 70% no-repeat;
}
.jeventslight #toolbar-cancel i,
.jeventslight #toolbar-cancel span {
	background: url(../images/icons/12-white/close.png) 50% 70% no-repeat;
}
.jeventslight .toggle-editor i,
.jeventslight .toggle-editor span {
	background: url(../images/icons/12-white/eye.png) 50% 70% no-repeat;
	margin-top: 3px;
}
.event-cal-date {
	display: none;
}
@media (max-width: 767px) {

	.event-cal-date {
		display: block;
		text-align: left;
		color: #333;
		border-bottom: 1px solid #333;
		padding-bottom: 3px;
		margin-top: 10px;
		clear: both;
		background: none;
	}
	#jevents_body .eventfull {
		margin: 0 0 10px;
		background: none !important;
		border: none;
		color: #111;
		font-size: 14px;
		clear: both;
	}
	#jevents_body .eventfull .eventstyle {
		border: 0 !important;
		padding: 0 !important;
	}
	#jevents_body .eventfull a {
		color: #930000;
		font-size: 14px;
	}
	div#jevents input,
	div#jevents textarea {
		width: 206px;
	}
	#jevents_body table.maintable {
		display: block;
		width: 100%;
		border: 0;
		background: none;
	}
	#jevents_body table.maintable tbody,
	#jevents_body table.maintable table {
		display: block;
		width: 100%;
		background: none;
	}
	#jevents_body table.maintable tr {
		display: block;
		width: 100%;
		height: auto !important;
		background: none;
		clear: both;
	}
	#jevents_body table.maintable td {
		display: block;
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
		border: 0;
		clear: both;
	}
	#jevents_body table.maintable td.tablev1,
	#jevents_body table.maintable td.tablev1,
	#jevents_body table.maintable td.todayclr,
	#jevents_body table.maintable td.todayclr,
	#jevents_body table.maintable td.weekdayemptyclr,
	#jevents_body table.maintable td.weekdayclr,
	#jevents_body table.maintable td.sundayemptyclr,
	#jevents_body table.maintable tr.caldaydigits,
	#jevents_body table.maintable td.weekdaytopclr,
	#jevents_body table.maintable td.tablec {
		display: none;
	}
	#jevents_body table.maintable td.hasEvent {
		display: block;
		background: none;
	}
	#jevents_body table.maintable td.previousmonth,
	#jevents_body table.maintable td.nextmonth,
	#jevents_body table.maintable td.currentmonth {
		float: left;
		width: 33.33%;
		clear: none;
		height: auto;
	}
}

@media (max-width: 479px) {
	#jevents .control-group > label {
		float: none;
	}
}

/* com_joomgallery */
#cboxTitleLong {
	display: none;
}
a.jg_catelem_photo,
.jg_photo_container {
	float: none !important;
	background: #aaa;
	padding: 5px;
	display: block;
}
a.jg_catelem_photo {
	margin-bottom: 20px;
}
a.jg_catelem_photo:hover,
.jg_photo_container:hover {
	background: #760000;
}
img.jg_photo {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: 0 !important;
	padding: 0 !important;
	display: block;
	margin: 0 auto !important;
}
.jg_catdescr {
	text-align: left;
	padding: 0;
	margin: 12px 0 24px;
}
.gallery .jg-header {
	text-align: left;
}
.jg_gal_txt {
	font-size: 12px;
	padding: 5px 5px 0;
}
.jg_gal_txt .hits {
	text-align: right;
}
/* misc */
.jmodedit {
	display: none !important;
}

/* bootstrap */
legend {
	font-size: 16px;
}
.btn {
	color: #fff;
	text-shadow: none;
	background: #111;
	box-shadow: none;
	border: 0;
}
.btn:hover, .btn:focus, .btn:active,
.btn.active, .btn.disabled, .btn[disabled],
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
    background: #790000;
    color: #fff;
}
#left .btn-primary:hover,
#left .btn-primary:focus,
#left .btn-primary:active,
#left .btn-primary.active,
#left .btn-primary.disabled,
#left .btn-primary[disabled] {
    background: #000;
    color: #fff;
}
.well,
input[type="text"],
input[type="password"],
textarea,
.btn,
.input-prepend .add-on:first-child,
.nav-tabs.nav-stacked > li:first-child > a,
.nav-tabs.nav-stacked > li:last-child > a,
.btn-group > .btn:first-child,
.btn-group > .btn:last-child,
.radio.btn-group > label:first-of-type {
	border-radius: 0;
}
#content a.btn {
	color: #fff;
}
.btn-toolbar {
	background: #aaa;
	margin: 20px 0;
	padding: 5px 10px;
}

.acymailing_module input {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	height: 30px;
	margin-bottom: 10px;
}
.acymailing_module .btn {
	width: 80%;
}

#content .content-top {
	margin-top: -20px;
}
#content .content-top .module.box {
	border-top: 0;
	border-bottom: 20px solid #760000;
	padding-bottom: 20px;
}

body .klatest-cat,
body .klatest-subject,
body .klatest-subject a {
	font-size: 14px;
}

.wickedleague .dropdown-menu > li > a:hover,
.wickedleague .dropdown-menu > li > a:focus,
.wickedleague .dropdown-submenu:hover > a,
.wickedleague .dropdown-submenu:focus > a {
    color: #FFF !important;
    text-decoration: none;
	background-color: #930000;
	background-image: linear-gradient(#930000 20%, #931000 90%);
    background-repeat: repeat-x;
}

.wickedleague .btn {
	background: transparent;
}
.wickedleague  .btn {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 0px;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #F5F5F5;
    background-image: linear-gradient(to bottom, #FFF, #E6E6E6);
    background-repeat: repeat-x;
    border-width: 1px;
    border-style: solid;
    border-color: #BBB #BBB #A2A2A2;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    border-radius: 4px;
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2) inset, 0px 1px 2px rgba(0, 0, 0, 0.05);
}
.wickedleague .btn:hover, .wickedleague .btn:focus, .wickedleague .btn:active,
.wickedleague .btn.active, .wickedleague .btn.disabled, .wickedleague .btn[disabled],
.wickedleague .btn-primary:hover, .wickedleague .btn-primary:focus, .wickedleague .btn-primary:active,
.wickedleague .btn-primary.active, .wickedleague .btn-primary.disabled, .wickedleague .btn-primary[disabled] {
	background-color: #930000;
	background-image: linear-gradient(#930000 20%, #931000 90%);
    color: #fff;
}

.wickedleague .label-info, .wickedleague .badge-info {
    background-color: #930000;
}
.wickedleague .hasPopover {
	color: #333;
}
.wickedleague a {
    color: #930000;
}
.wickedleague li > a:hover,
.wickedleague a:hover,
.wickedleague a:focus
{
    color: #930000;
}

#wickedleague .chzn-container .chzn-results li.highlighted {
	background-color: #930000;
	background-image: linear-gradient(#930000 20%, #931000 90%);
}

#content ul.tags a.label {
  padding: 4px;
  border: 1px solid #930000;
  border-radius: 4px;
  background-color: #fff;
}

.btn {
    color: #fff;
    text-shadow: none;
    background: #ccc;
    box-shadow: none;
    border: 0;
}