a {
	color: #000;
}

img {
	border: none;
}

#frame {
	border: 3px double #000;
	border-top: none;
	border-bottom: 1px solid #000;
	text-align: center;
}

#kyokushin {
	color: #000;
	text-decoration: none;
	text-align: center;
	display: block;
	clear: both;
	border-top: 1px solid #000;
}

a.bb:hover, #multipage-menu .active {
	color: #f00;
	text-shadow: 0px 0px 10px #000;
}

#main {
	border-top: 1px solid #000;
	padding: 10px;
	min-height: 300px;
	text-align: left;
	line-height: 1.2em; /* Buggfix för IE */
}

#multipage-menu {
	border-bottom: 1px solid #000;
	margin-bottom: 2em;
}

#multipage-menu a {
	margin-left: 1ex;
	margin-right: 1ex;
	text-decoration: none;
}

legend {
	color: #000;
}

html>body .table {
	display: table;
}
.table { /* Buggfix för IE */
	display: block;
	clear: both;
}

html>body .row {
	display: table-row;
}
.row { /* Buggfix för IE */
	display: block;
	clear: both;
	overflow: hidden;
}

html>body .cell {
	display: table-cell;
	float: none;
	vertical-align: top;
}

.cell { /* Buggfix för IE */
	display: block;
	float: left;
}

input.cell {
	display: inline;
}

.bordered-rows {
	border: 3px double #000;
}

.bordered-rows .cell {
	margin: 1em;
}

fieldset.bb {
	display: inline;
}

.bb.list {
	display: block;
	padding-left: 10px;
}
.bb.list:before {
	font-weight: bold;
	content: "· ";
}

.bb.float {
	margin: 1ex;
}

fieldset.bb {
}

fieldset.bb legend {
}

img.bb {
	max-width: 550px;
}

.inputbox {
	clear: both;
}

.inputbox textarea {
	width: 75ex;
	-webkit-border-radius: 5px;
	height: 25em;
}

.news {
	text-align: left;
	display: table;
	margin: 1px;
	margin-top: 1em;
	padding: 0.5em;
}

.news legend {
	font-weight: bold;
}



.news .user:before {
	content: "/";
}

.user {
	display: block;
}

.gallery {
	text-decoration: none;
	display: inline;
}

.gallery .title, .gallery .date {
	display: inline;
}

.gallery .title {
	font-size: 18px;
	text-decoration: underline;
}

.gallery .date {
	font-style: italic;
}

.gallery .date:before {
	content: " (";
} .gallery .date:after {
	content: ")";
}

.gallery .description {
	max-height: 15ex;
	overflow: auto;
	display: block;
}

.picture {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	margin: 2px;
	text-align: center;
	width: 130px;
	height: 200px;
	border: 1px solid #000;
	float: left;
}

.picture input[type="text"] {
	width: 15ex;
	text-align: center;
}

.picture img {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.tags {
	border: 1px solid #000;
	overflow: hidden;
}

.tags .syntax:before {
	content: "Syntax: ";
}

.tags .tag {
	font-style: italic;
}

.tags .tag:before {
	content: "Exempel: ";
}

.tags .example:before {
	clear: both;
	content: "Resultat: ";
}

.trainer {
	display: block;
	clear: right;
}

.pass:hover {
	background: #ed5;
}

@media screen {
	body {
		background: url('pic/kyokushin_black.jpg') top right no-repeat #000;
		margin: 0;
		padding: 0;
		font-size: 13px;
	}
	
	.colored {
		background-color: #d9d9d9;
	}
	
	#frame {
		background-image: url("pic/MBK_logo.gif");
		background-position: top center;
		background-repeat: no-repeat;
		padding-top: 100px;
		width: 600px;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 2em;
	}
	a.menu {
		background: #bbb;
		padding: 3px;
		padding-bottom: 0px;
		-webkit-border-top-left-radius: 5px;
		-webkit-border-top-right-radius: 5px;
		-moz-border-radius-topleft: 5px;
		-moz-border-radius-topright: 5px;
		border-top-right-radius: 5px;
		border-top-left-radius: 5px;
		margin: 0px;
		white-space: nowrap;
		text-decoration: none;
		color: #000;
		border: 1px solid #000;
		border-bottom-color: #ccc;
	}
	
	a.passive {
		border-bottom-color: #000;
	}
	
	a.passive:hover {
		color: #f00;
	}
	
	.menu.active {
		font-weight: bold;
		padding-top: 5px;
		cursor: default;
	}
}

@media print {
	.bb.noprint {
		display: none;
	}
	a.menu.active {
		background: none;
	}
	#multipage-menu a.active, a.menu.active {
		color: #000;
		text-shadow: none;
		font-size: 16px;
	}
	#multipage-menu {
		text-align: center;
	}
	#frame {
		background: none;
		border: none;
		padding-top: 0;
		width: auto;
	}
	#frame:before {
		display: block;
		font-size: 20px;
		clear: both;
		content: "Mjölby budoklubb";
	}
	#main {
		border: none;
	}
	#main a[href^="http"]:after {
		font-style: italic;
		content: " (länk till " attr(href) ")";
	}
	a.passive, #kyokushin, .tools {
		display: none;
	}
	.multipage-menu {
		border: none;
	}
	a.active {
		font-size: 18px;
		font-weight: bold;
		text-decoration: none;
		color: #000;
	}
}
