body {
    background: #fff url(../images/bg.png) 50% 0% repeat-x;
    color: #121212;
    font: 12px/1.5em arial, verdana, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* General styles */
img { border: 0; }
.left { float: left; }
.right { float: right; }
a, a:hover { color: #cb3d54; text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 10px 0; }
#content-holder ul { padding-left: 15px; }

/* Clearing */
#header,
#language-select ul,
#menu,
#footer,
#middle,
.box-content,
.two-columns,
.three-columns,
ul.gallery,
#frontpage-header .signup-buttons,
ul.gallery-images,
.navigate { height: 100%; overflow: auto; }

/* List clearing */
#language-select ul,
#menu ul,
#submenu,
#header .teams ul,
ul.news,
ul.gallery,
ul.gallery-images,
.paging ul { list-style-type: none; margin: 0; padding: 0; }

/* Headings */
#content-holder h1 {
    background: url(../images/heading-bg.png) 50% 50% no-repeat;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    height: 30px;
    margin: 0;
    padding: 45px 0 0 18px;
}

/* Table styles */
table {
    font: 14px/18px arial, verdana, sans-serif;
    margin: 0;
    padding: 0;
    border-spacing: 0;
    border-collapse: collapse
}
table thead th { background-color: #d4d4d4; text-align: left; font-weight: 700; padding: 5px 10px; }
table tbody td { border-bottom: 1px solid #e0e0e0; padding: 5px 10px; }
table.clean tbody td { border: none; }

/* Form elements */
fieldset { margin: 0; padding: 0; border: 0; }
fieldset.break { border-top: 1px solid #dfdfdf; margin: 10px 0 0 0; }
form { padding: 0; margin: 0; }
.input-text, textarea, select, button {
    font-size: 12px;
    font-family: arial, verdana, sans-serif;
}
.input-text, textarea, select {
    border: 1px solid #666;
    padding: 5px 3px;
    margin: 0;
}

button, button span {
	background: url(../images/button.png) no-repeat 0% 50%;
}
button {
	border: none;
	cursor: pointer;
	overflow: visible;
	padding: 0;
	padding-left: 3px;
}
button span {
	background-position: 100% 50%;
	color: #fff;
	display: block;
	font-weight: bold;
	line-height: 20px;
	margin: 0 -3px;
	padding: 0 12px 0 9px;
	text-transform: lowercase;
	white-space: nowrap;
}
button:active, button:active span {
	background-image: url(../images/button-hover.png);
}

.button, .button span { background: url(../images/button.png) 0% 50% no-repeat; }
.button, .button:hover {
    color: #fff;
    padding: 3px 0 2px 5px;
    line-height: 20px;
    text-decoration: none;
}
.button span {
    background-position: 100% 50%;
    font-weight: 700;
    padding: 3px 12px 2px 7px;
}
.button:hover, .button:hover span { background-image: url(../images/button-hover.png); }

form table { font-size: 12px; line-height: 14px; }
form table td { border: 0; padding: 5px; padding-top: 10px; width: 180px; vertical-align: top; text-align: right; }
form table td.field { width: 360px; text-align: left; padding-top: 5px; }
form table tr.form-buttons td { padding-left: 195px; text-align: left; }

form table .input-text { width: 340px; }
form table td.field.half .input-text { width: 170px; }
form table textarea { width: 340px; }

form tr.error .input-text,
form tr.error textarea { border-color: #b73044; background-color: #ebd8dd; }

form td.section { text-align: right; font-size: 14px; font-weight: 700; }

p.required span, span.required { color: #CB3D54; }
p.required { color: #979797; font-style: italic; }

/* Holders */
#wrapper { margin: 0 auto; text-align: left; width: 990px; position: relative; }
#wrapper .bg {
    background: url(../images/balls.png) 50% 50% no-repeat;
    position: absolute;
    top: 212px;
    left: 990px;
    height: 63px;
    width: 61px;
}
#header { margin: 0 0 15px 0; position: relative; }
.sidebar.left { width: 242px; }
#content-box { background: url(../images/content-footer.png) 50% 100% no-repeat; margin: 0 0 8px 0; }
#content-holder {
    background: #fff url(../images/content-header.png) 50% 0% no-repeat;
    margin: 0 0 3px 0;
    padding: 5px;
    padding-bottom: 2px;
    width: 730px;
}
#content { margin: 20px 15px 15px 15px; }

/* Logo */
#logo { margin: 16px 0 0 15px; float: left; }
#logo #logo-print { display: none; }
#logo a {
    background: url(../images/logo.png) 50% 50% no-repeat;
    float: left;
    height: 135px;
    outline: none;
    text-indent: -10000px;
    width: 140px;
}

/* Language select */
#language-select {
    margin: 22px 0 0 0;
    position: absolute;
    right: 0;
}
#language-select, #language-select ul { background: url(../images/language.png) 0% 50% no-repeat; }
#language-select ul {
    background-position: 100% 50%;
    height: 26px;
    margin: 0 0 0 3px;
    padding: 0 3px 0 0;
}
#language-select li { float: left; line-height: 26px; }
#language-select li a, #language-select li a:hover { color: #fff; text-decoration: none; padding: 0 7px; }
#language-select li a:hover { text-decoration: underline; }
#language-select li.active a { color: #c38b9b; }

/* Header teams list */
#header .teams { float: right; margin: 65px 0 0 0; }
#header .teams li { float: left; padding: 0 0 0 15px; }
#header .teams a { outline: none; }

/* Main menu */
#menu { background: #121212 url(../images/menu-left.png) 0% 50% no-repeat; height: 46px; margin: 0 0 8px 0;}
#menu ul { float: left; margin: 5px 0 0 7px; }
#menu form {
    background: #666 url(../images/menu-right.png) 100% 50% no-repeat;
    float: right;
    height: 36px;
    padding: 10px 10px 0 10px;
}
#menu label { display: none; }
#menu button {
    background: url(../images/search.png) 50% 50% no-repeat;
    text-indent: -10000px;
    height: 26px;
    width: 26px;
    margin: 0 0 0 7px;
    float: left;
}
#menu button span { background: transparent; display: inline; }
#menu button:hover { background-image: url(../images/search-hover.png); }
#menu .input-text {
    color: #666;
    height: 20px;
    border: 0;
    padding: 6px 7px 0 7px;
    margin: 0;
    width: 205px;
    float: left;
}

#menu li { float: left; }
#menu li a { display: block; color: #fff; text-decoration: none; float: left; }
#menu li a .inner-wrapper {
    display: block;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    float: left;
    height: 36px;
    line-height: 36px;
    margin: 0 0 0 3px;
    padding: 0 13px 0 10px;
}
#menu li a:hover span { text-decoration: underline; }
#menu li a .inner-wrapper span.shadow { display: none; }

#menu li.active a,
#menu li.active a .inner-wrapper { background: url(../images/menu.png) 0% 50% no-repeat; }
#menu li.active a .inner-wrapper { background-position: 100% 50%; position: relative; }
#menu li.active a:hover span { text-decoration: none; }

#menu li.active a .inner-wrapper span.text { position: relative; z-index: 2; }
#menu li.active a .inner-wrapper span.shadow {
    display: block;
    color: #000;
    position: absolute;
    top: 0;
    left: 11px;
    padding: 1px 0 0 0;
    z-index: 1;
}

/* Footer */
#footer {
    background: url(../images/footer.png) 50% 50% no-repeat;
    height: 50px;
    padding: 0 15px;
    margin: 0 0 30px 0;
}
#footer a { color: #cb3d54; text-decoration: none; }
#footer a:hover { color: #cb3d54; text-decoration: underline; }
#footer p { float: left; margin: 0; line-height: 50px; }
#footer p.developer { color: #9e9e9e; float: right; font-size: 11px; }
#footer p.developer a,
#footer p.developer a:hover { color: #000; text-decoration: none; }
#footer p.developer a:hover { text-decoration: underline; }

/* Box styles */
.box { margin: 0 0 8px 0; }
.box h3 {
    background: url(../images/box-header.png) 50% 50% no-repeat;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    height: 22px;
    margin: 0;
    padding: 20px 0 0 20px;
}
.box-content {
    background: url(../images/box-footer.png) 50% 100% no-repeat;
    padding: 10px 15px 10px 15px;
}

/* Columns */
.two-columns .box { width: 491px; }
.two-columns .box h3 { background-image: url(../images/twocol-box-header.png); }
.two-columns .box-content { background-image: url(../images/twocol-box-footer.png); min-height: 235px; }

.three-columns .box { width: 325px; }
.three-columns .box.middle { float: left; margin-left: 8px; }
.three-columns .box h3 { background-image: url(../images/threecol-box-header.png); }
.three-columns .box-content { background-image: url(../images/threecol-box-footer.png);  min-height: 240px; }

/* Submenu */
#submenu { background-color: #fff; padding: 0 5px; }
#submenu li { border-bottom: 1px solid #e0e0e0; }
#submenu li.last { border-bottom: 0; }
#submenu li a {
    color: #000;
    display: block;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 0;
    text-decoration: none;
}
#submenu li a:hover { text-decoration: underline; }
#submenu li.active a { color: #881636; }

/* Gallery */
ul.gallery-images { margin: 20px 0 0 0; padding: 0 !important; }
ul.gallery-images li { float: left; padding: 0 15px 20px 0; }
ul.gallery-images li.row-last { padding-right: 0; }
ul.gallery-images li img { display: block; width: 128px; height: 88px; }

.navigate .link-back { float: left; margin: 0; }
.navigate .paging { float: right; margin: 0; }

.gallery-list { margin: 0 0 15px 0; display: table; width: 100%; }
.gallery-list .gallery-details, .gallery-list .gallery-thumb { display: table-cell; vertical-align: middle; }

.gallery-list .gallery-thumb img { display: block; height: 86px; width: 130px; }
.gallery-list .gallery-thumb { width: 130px; }
.gallery-list .gallery-details { padding-left: 15px; }
.gallery-list .gallery-details a,
.gallery-list .gallery-details a:hover {
    color: #121212;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.gallery-list .gallery-details a:hover { text-decoration: underline; }

.three-columns .gallery-list { padding: 10px 0 10px 0; margin: 0; }
.three-columns .gallery-list .gallery-details { padding-left: 10px; }

/* Paging */
.paging {
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
}
.paging ul, .paging li { float: left; }
.paging ul { padding: 0 !important;  }
.paging a,
.paging a:hover {
    color: #121212;
    font-size: 14px;
    font-weight: 700;
    padding: 0 3px;
    text-decoration: none;
    text-transform: lowercase;
    float: left;
}
.paging a:hover { text-decoration: underline; }
.paging li.active a, .paging li.active a:hover { color: #871636; }
.paging a.prev { padding-right: 10px; }
.paging a.next { padding-left: 10px; }

/* Frontpage modules */
table.event_schedule { width: 100%; }
table.event_schedule td { padding: 8px 0; }
table.event_schedule td.title { font-weight: 700; }
table.event_schedule td.location { color: #989898; }
table.event_schedule .date { font-weight: 700; }

ul.news li {
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    padding: 8px 0;
}
ul.news li a {
    color: #000;
    font-weight: 700;
    line-height: 18px;
    text-decoration: none;
}
ul.news li a:hover { text-decoration: underline; }
ul.news li .date { color: #989898; }

.sidebar ul.news li { font-size: 12px }

.link-to { padding: 10px 0 0 0; }
.link-to a { padding: 0 10px 0 0; }

ul.gallery { margin: 5px 0; }
ul.gallery li { float: left; margin: 0 10px 10px 0; }
ul.gallery img { display: block; }

.gear { margin: 10px 0 0 0; text-align: center; }
.gear .title {
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    margin: 5px 0 5px 0;
}
.gear .price { font-size: 14px; margin: 0 0 5px 0; }
.gear .link { margin: 0 0 8px 0; }

#frontpage-header {
    background: url(../images/frontpage-header-b.png) 50% 100% no-repeat;
    color: #fff;
    padding-bottom: 5px;
    margin: 0 0 8px 0;
}
#frontpage-header h1 { font-size: 20px; margin: 10px 0; }
#frontpage-header .content {
    line-height: 20px;
    width: 300px;
}
#frontpage-header .inner-container { background: #fff url(../images/frontpage-header.png) 50% 0% no-repeat; padding: 5px; padding-bottom: 0;}
#frontpage-header .content-wrapper {
    background-color: #3d040a;
    background-position: 100% 50%;
    background-repeat: no-repeat;
    padding: 12px;
}
#frontpage-header .signup-buttons a {
    background: url(../images/button-signup.png) 50% 50% no-repeat;
    color: #fff;
    display: block;
    font-weight: 700;
    font-size: 14px;
    float: left;
    line-height: 32px;
    margin: 0 10px 0 0;
    padding: 0 0 0 10px;
    position: relative;
    text-decoration: none;
    width: 132px;
}
#frontpage-header .signup-buttons a:hover { background-image: url(../images/button-signup-hover.png); }
#frontpage-header .signup-buttons .text { position: relative; z-index: 2; }
#frontpage-header .signup-buttons .shadow {
    color: #121212;
    position: absolute;
    top: 1px;
    left: 11px;
    line-height: 31px;
    z-index: 1;
}

/* Search page */
#search button {
    background: url(../images/search.png) 50% 50% no-repeat;
    text-indent: -10000px;
    height: 26px;
    width: 26px;
    margin: 0 0 0 5px;
}
#search button span { background: transparent; display: inline; }
#search button:hover { background-image: url(../images/search-hover.png); }
#search .input-text { width: 300px; }

/* News list */
.news-item .title { font-weight: 700; font-size: 14px; }
.news-item .title a,
.news-item .title a:hover { color: #000; text-decoration: none; }
.news-item .title a:hover { text-decoration: underline; }
.news-item .details { font-weight: 400; color: #666; font-size: 12px; }
.news-item .details .spacer { padding: 0 3px; }
.news-item { margin: 10px 0; padding-bottom: 10px; border-bottom: 1px solid #e0e0e0; }
.news-item.last { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.news-item p { margin: 5px 0; }
.news-item.news-read p { margin: 10px 0; }
.news-item.news-read { border-bottom: 0; padding-bottom: 0; }

/* Misc */
.team-varska a {
    background: url(../images/media/v2rska.png) 50% 50% no-repeat;
    display: block;
    height: 89px;
    text-indent: -10000px;
    width: 128px;
}
.team-selver a {
    background: url(../images/media/selver.png) 50% 50% no-repeat;
    display: block;
    height: 78px;
    text-indent: -10000px;
    width: 112px;
}
.intro-text { border-bottom: 1px solid #dfdfdf; }
.result { margin: 0 0 10px 0; }
.result .title { font-weight: 700; }
.result p { margin: 0; }
.document_comments_form .input-text { width: 220px; }
.document_comments_form textarea { width: 300px; }