body {
	font-family: Verdana, Geneva, sans-serif;
	font-size:1.0em;
	margin:0;
	padding:0;
	background: #002A5C;
}
a {
	text-decoration:none;
}

/* WIDTH SETTING */
.nav-hold,
.container,
.chixa-logo,
.footer-hold {
	width:95%;
	max-width:1000px;
	margin:0 auto;
	z-index: 10;
}

/* NAVIGATION */
.nav-bar {
	width:100%;
	background: #002A5C;
	border-bottom:5px solid #C88A11;
}
.nav-hold {
	overflow:hidden;
	font-size: 16px;
}
.nav-logo {
	float:left;
	display:block;
	padding:20px 00px;
	color:#f9f9f9;
	font-weight:600;
	border: 0px;
}

.nav-list {
	list-style-type:none;
	margin:0;
	padding:0;
	float:right;
}
.nav-list li {
	float:left;
}
.nav-list li a {
	display: block;
	padding:20px 10px;
	color:#f9f9f9;
	border: 0px;
}
.nav-list li a:hover {
	color: #C88A11;
}

.nav-menu {
	display: none;
}


/* LOGO */
.chixa-bar {
	background: #E5EAED;
	background-image:url('images/ChixaGrass.jpg');
	background-repeat:no-repeat;
	height:40px;
	overflow:hidden;
	border-bottom:5px solid #78642F;
}
.chixa-logo {
	display:block;
	height:40px;
}
.chixa-logo p {
	margin: 0px;
	padding: 0px;
	color:#000;
	font-weight:600;
	font-size:18px;
}
.chixa-logo table {
	border-collapse:collapse;
}
.chixa-logo td {
	vertical-align:middle;
	padding:0px;
	height:40px;
}

.all-left {
	background: #002A5C;
}
.all-right {
	background: #002A5C;
}

/* CONTAINER */
.container {
	padding:0px 10px 10px 10px;
	margin-top: 0px;
	background: #f9f9f9;
	display: table;
}
.container h1 {
	font-size:2em;
	margin-bottom:20px;
	font-weight:600;
}
.container p {
	line-height:1.5em;
}



/* CONTENT */
#content {
	clear: left;
	padding: 20px 20px 0px 0px;
	margin: 0px 0px 0px 0px;
	display: table-cell;
}

#content h1 {
	font-size: 1.75em; color:#4B83D2; font: 'Trebuchet MS',helvetica,arial,verdana;
	border-bottom: 2px solid #C88A11;
	margin-bottom: 1ex;
}

/* ASIDE */
#aside {
	width: 290px;
	padding: 20px 0px 0px 0px;
	margin: 0 10px 0 0;
	display: table-cell;
	vertical-align: top;
	font-size: 14px;
}

#aside p {
	font-size: 14px;
}

.aside-box { width:290px; margin:0px auto; background:#E5EAED url(images/leftside.gif) repeat-y left top; }
.top { width:100%; height:20px; background:url(images/top.gif) no-repeat left top; }
.top span { display:block; position:relative; height:20px; background:url(images/top-right.gif) no-repeat right top; z-index: 4; }
.aside-box-content, .aside-box-contentc { position:relative; background:url(images/rightside.gif) repeat-y right top; padding:0px 10px 0px 10px; margin:-11px 0 -10px 0; z-index: 2; }
.aside-box-contentc { text-align: center; }
.bottom { height:20px; background:url(images/bottom.gif) no-repeat left bottom; }
.bottom span { display:block; position:relative; height:20px; background:url(images/bottom-right.gif) no-repeat right top; z-index: 4; }
.aside-box-content, .aside-box-contentc p, h1, h2 { padding:5px 0 0 0; margin:0; }
.aside-box-contentc h2 { 
	font-size:18px;
	font-weight:600;
}


.aside-box { width:290px; margin:0px auto; }
.aside-box-top-heading { width:290px; height:15px; background:url(images/toph.gif) no-repeat left top; }
.aside-box-top-heading span { display:block; position:relative; height:15px; background:url(images/top-right.gif) no-repeat right top; z-index: 4; }
.aside-box-outer-heading { width:290px; margin:0px auto; background:#002A5C url(images/leftsideh.gif) repeat-y left top; }
.aside-box-heading { position:relative; background:url(images/rightsideh.gif) repeat-y right top; padding:0px 10px 15px 10px; margin: 0px 0px 0px 0px; z-index: 2; text-align: center; color: #f9f9f9; font-weight: 600; }


.right { float: right; margin: 6px; padding-left: 6px; }
.left { float: left; margin: 6px; padding-right: 6px; }


table.news { width: 100%; margin-bottom: 30px; border-collapse:collapse; }
.newsdate { float: left; color: #333; font-style: italic; }
.newsmore { float: right; }

table.tbbox { background: transparent; width: 280px; margin: 0px 5px 0px 5px; font-size: 11px; }
table.tbbox td { border-bottom: 1px solid #FFF; }

a { color:#002A5C; text-decoration:none; }
.container a:hover { border-bottom: 1px dashed #002A5C; }

table.news h2 {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

table.matrix { border-collapse:collapse; font-size: 14px; background: #E5EAED;}
table.matrix td { padding: 5px 15px 0px 5px; }
table.matrix td.sep1 { background: #E5EAED; }
table.matrix td.sep2 { background: #BED2EF; }
table.matrix tr.odd { background: #f9f9f9; }
table.matrix th { border-bottom: 1px solid black; background: #002A5C; color: #fff; text-align: left; }
table.matrix th.odd { border-bottom: 0px; text-align: center; padding-bottom: 0px; }
table.matrix caption { font-size: 18px; font-weight: bold; border-bottom: 1px solid black; text-align: left; background: #f9f9f9; }

div.matchdetails { font-size: 0.9em; }

/* FOOTER */

html, body, .outercontainer { height: 100%; }
body > .outercontainer { height: auto; min-height: 100%; }
.outercontainer { padding-bottom: 50px; }

.footer-bar {
	clear: both;
	position: relative;
	z-index: 10;
	height: 40px;
	margin-top: -50px;
	overflow: hidden;
}

.footer-bar {
	background: #002A5C;
	border-bottom:5px solid #78642F;
	border-top:5px solid #C88A11;
}

.footer-hold {
	display:block;
	height:40px;
}
.footer-hold p {
	margin: 0px;
	padding: 0px;
	color:#000;
	font-weight:600;
	font-size:18px;
}

.bg-left {
  position: fixed;
  width: 50%;
  height: 300%;
  top:0;
  left:0;
  z-index: -2;
}

.bg-right {
  position: fixed;
  width: 50%;
  height: 300%;
  top:0;
  right:-500px;
  z-index: -2;
}

.bg-stripe {
  background: #f9f9f9;
  position: fixed;
  height: 100%;
  top:0;
  z-index: -1;
  padding: 0px 10px 10px 10px;
  width:95%;
  max-width:1000px;
  margin:0 auto;
  margin-left: -10px;
}


/* FEED */

.feed {
	margin-left: 3px;
	padding: 0 0 0 19px;
	background: url("images/feed-icon-14x14.png") no-repeat 0 50%;
}

/* LIGHTBOX */

#overlay {
	position: fixed; 
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.5;
	filter: alpha(opacity=50);
	z-index: 5;
}

#modal {
	position:absolute;
	background:url("images/tint20.png") 0 0 repeat;
	background:rgba(0,0,0,0.2);
	border-radius:14px;
	padding:8px;
	z-index: 6;
}

#modalcontent {
    border-radius:8px;
    background:#fff;
    padding:20px;
	text-align: center;
	z-index: 6;
}

#close {
    position:absolute;
    background:url("images/close.png") 0 0 no-repeat;
    width:24px;
    height:27px;
    display:block;
    text-indent:-9999px;
    top:-7px;
    right:-7px;
	z-index: 6;
}

.imgmodal a:hover { border-bottom: 0px; display: none; }



/* BILDER */

div.wrapper{
	margin: 20px 0px 0px 5px;
	float: right;
}

div.middle30{
	width:30%;
}
div.middle50{
	width:50%;
}
div.middle65{
	width:65%;
}
div.middle80{
	width:80%;
}

div.left50{
	width: 50%;
}
div.left40{
	width: 40%;
}
div.left35{
	width: 35%;
}
div.left30{
	width: 30%;
}
div.left25{
	width: 25%;
}


div.right50{
	width: 50%;
}
div.right40{
	width: 40%;
}
div.right35{
	width: 35%;
}
div.right30{
	width: 30%;
}
div.right25{
	width: 25%;
}


div.right50, div.right40, div.right35, div.right30, div.right25 {
	margin: 0px 0px 0px 5px;
	padding-bottom: 5px;
	min-width: 50px;
	float: right;
	font-style: italic;
	color: #595458;
	line-height: 1.0em;
}

div.left50, div.left40, div.left35, div.left30, div.left25 {
	margin: 0px 5px 0px 0px;
	padding-bottom: 5px;
	min-width: 50px;
	float: left;
	font-style: italic;
	color: #595458;
	line-height: 1.0em;
}

div.middle30, div.middle50, div.middle65, div.middle80 {
	margin:0 auto;
	display: block;
	font-style: italic;
	color: #595458;
	line-height: 1.0em;
}

div.right50 img, div.right40 img, div.right35 img, div.right30 img, div.right25 img,
div.left50 img, div.left40 img, div.left35 img, div.left30 img, div.left25 img, 
div.middle30 img, div.middle50 img, div.middle65 img, div.middle80 img {
	width: 100%;
	height: auto;
	border: 0px;
}


img.fullimage {
	border: 0px; 
	width:63.5%; 
	min-width:250px; 
	height:auto;
}

p.clear {
	clear: both;
	padding-top: 15px;
}

/* GALLERY */


.galleryItem, .galleryItem2 {
    color: #797478;
    font: 10px/1.5 Verdana, Helvetica, sans-serif;
    /*float: left;*/
	display: -moz-inline-stack;
	display: inline-block;
    margin:  2% 2% 10px 2%;
	*display: inline;
}

.galleryItem3 {
    color: #595458;
    font: 1.0em Verdana, Helvetica, sans-serif;
    /*float: left;*/
	display: -moz-inline-stack;
	display: inline-block;
    margin:  2% 2% 10px 2%;
	*display: inline;
}


.galleryItem {
	width: 27%;
}
.galleryItem2 {
	width: 15%;
}
.galleryItem3 {
	width: 27%;
}

.galleryItem h3, .galleryItem2 h3, .galleryItem3 h3 {
    text-transform: uppercase;
}
 
.galleryItem img, .galleryItem2 img, .galleryItem3 img {
    max-width: 100%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}





ul.ChixaGallery {
	list-style: none;
	font-size: 0px;
	margin-left: -2.5%; /* should match li left margin */
}
ul.ChixaGallery li {
	display: inline-block;
	padding: 10px;
	margin: 0 0 2.5% 2.5%;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 16px;
	font-size: 1rem;
	vertical-align: top;
	box-shadow: 0 0 5px #ddd;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	width: 30.83%; /* this value + 2.5 should = 33% */
}
ul.ChixaGallery li img {
	max-width: 100%;
	height: auto;
	margin: 0 0 10px;
}
ul.ChixaGallery li h3 {
	margin: 0 0 5px;
}
ul.ChixaGallery li p {
	font-size: .9em;
	line-height: 1.5em;
	color: #000;
}

.matchdetails-top {
	background: #002A5C; color: #fff;
}
.matchdetails-team {
	background: #002A5C; color: #fff; width: 250px;
}
.matchdetails-sep {
	border-bottom: 1px dashed black;
}
.matchdetails-sub {
	/*background: #E5EAED;*/
}
.matchdetails-score {
	background: #E5EAED;
	padding: 0px;
}


.stathead {
	width: 100%;
	background: #002A5C;
	color: #FFF;
	padding: 2px 10px 6px 10px;
}





















.tabs {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin: 1em 0 2em;
	font-weight: 300;
}

/* Nav */
.tabs nav {
	text-align: center;
}

.tabs nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: inline-block;
}

.tabs nav ul li {
	border: 1px solid #78642F;
	border-bottom: none;
	margin: 0 0.25em;
	display: block;
	float: left;
	position: relative;
}

.tabs nav li.tab-current {
	border: 1px solid #000;
	border-bottom: none;
	z-index: 100;
}

.tabs nav li.tab-current:before,
.tabs nav li.tab-current:after {
	content: '';
	position: absolute;
	height: 1px;
	right: 100%;
	bottom: 0;
	width: 1000px;
	background: #000;
}

.tabs nav li.tab-current:after {
	right: auto;
	left: 100%;
	width: 4000px;
}

.tabs nav a {
	color: #becbd2;
	display: block;
	font-size: 1.45em;
	line-height: 2.5;
	padding: 0 1.25em;
	white-space: nowrap;
	filter: grayscale(50%);
}

.tabs nav a:hover {
	color: #768e9d;
	text-decoration: none;
	border-bottom: 0px;
	filter: grayscale(30%);
}

.tabs nav li.tab-current a {
	color: #4B83D2;
	filter: grayscale(0%);
}

/* Logo */
.tabs nav a:before {
	display: inline-block;
	vertical-align: middle;
	margin: -0.25em 0.4em 0 0;
}

.logo-sfk:before {
    background-image: url('images/logo/SFK70.png');
    background-size: 42px 50px;
    width: 42px; 
    height: 50px;
    content:"";
}

.logo-ts:before {
    background-image: url('images/logo/Toppserien70.png');
    background-size: 41px 50px;
    width: 41px; 
    height: 50px;
    content:"";
}

.logo-clubs:before {
    background-image: url('images/logo/Clubs70.png');
    background-size: 42px 50px;
    width: 42px; 
    height: 50px;
    content:"";
}

/* Content */
.content section {
	font-size: 1.25em;
	padding: 1em 0em;
	display: none;
	max-width: 1230px;
	margin: 0 auto;
}

.content section:before,
.content section:after {
	content: '';
	display: table;
}

.content section:after {
	clear: both;
}

/* Fallback example */
.no-js .content section {
	display: block;
	padding-bottom: 2em;
	border-bottom: 1px solid #47a3da;
}

.content section.content-current {
	display: block;
}


/* Example media queries */

@media screen and (max-width: 52.375em) {
	.tabs nav a span {
		display: none;
	}

	.tabs nav a:before {
		margin-right: 0;
	}

}

@media screen and (max-width: 32em) {
	.tabs nav ul,
	.tabs nav ul li a {
		width: 100%;
		padding: 0;
	}

	.tabs nav ul li {
		width: 20%;
		width: calc(20% + 1px);
		margin: 0 0 0 -1px;
	}

	.tabs nav ul li:last-child {
		border-right: none;
	}

}


