/*
Theme Name: Sport & Corporate Group Winter
Theme URI: http://www.tiber.no
Author: Tiber AS, Sigmund

(c) 2008 Tiber AS
http://www.tiber.no

*/

body {
	background-image: url("images/bg.jpg");
	background-repeat: repeat-x;
	background-color: #015f51;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
}


a:link, a:visited {
	text-decoration: none;
}
a:hover, a:active {
	text-decoration: underline;
}

a img {
	border: none;
}

h2, h3 {
	text-transform: uppercase;
	color: #204A71;
}

h2 a:link, h3 a:link,
h2 a:active, h3 a:active,
h2 a:visited, h3 a:visited
{
	color: #204A71;
}


#container {
	margin-left: auto;
	margin-right: auto;
	width: 1000px;
	overflow: visible;
	min-height: 75%;
}


#language-bar {
	width: 100%;
	margin-right: 3em;
	font-size: .8em;
	font-variant: small-caps;
}

#language-bar ul {
	float: right;
	margin-right: 1em;
	list-style: none;
	display: block;
	color: #fff;
}
#language-bar li {
	list-style: none;
	display: inline;
	padding: .1em;
	margin-left: 10px;
}
.qtrans_language_chooser a:link,
.qtrans_language_chooser a:active,
.qtrans_language_chooser a:hover,
.qtrans_language_chooser a:visited
{ color: #BCBCBC; }

.qtrans_language_chooser li.active {
	font-weight: bold;
}

#menu-bar {
/*	position: absolute; */
	overflow: visible;
	top: 1.5em;
	width: 99%;
	float: left;
	background-color: #133e68;	
	color: #fff;
	font-variant: small-caps;
	font-size: 150%;	
	padding: 0em;
	height: 43px;
}

#menu-bar ul {
	padding: 0em;
	margin: 0em;
	text-align: center;
}

#menu-bar li {
	list-style: none;
	float: left;
	margin: 0em;
	padding: 0em;
	margin-left: 25px; /* 29 px is perfect for english menu */
	height: 43px;
	text-align: center;
}

#menu-bar li.selected, #menu-bar li img:hover {
	/* for some reason this fcks up konqueror 
	background-color: #567e9f;
	*/
}

#menu-bar li img {
	padding: 0px;
}

#menu-bar li.expand {
	position: relative;
	cursor: pointer;
	z-index: 30;
}


#menu-bar li.expand ul.sub {
	background-color: #133e68;	
	position: absolute;
	padding: 0em;
	margin: 0em;
	margin-top: -2px;
	padding-top: 2px;
	top: 43px;
	left: 0px;
	width: 100px;
	/* display: none; */
}
#menu-bar li.expand ul.sub li {
	background-color: #133e68;	
	padding: 0em;
	margin: 0em;
	display: block;
	position: relative;
	z-index: 20;
	width: 100%;
	text-align: left;
}

#menu-bar li.expand > ul.sub > li > img {
	/* without a high z-index here, opera displays the <li>, but not the image. */
	z-index: 25;
}

#menu-bar li > img {
	z-index: 30;
}

#menu-bar li.expand:hover ul {
	display: block;
}
#menu-bar li.expand ul.sub li:hover {
	background-color: #567e9f;
}


#menu-bar .expand .sub li a:link,
#menu-bar .expand .sub li a:active,
#menu-bar .expand .sub li a:visited,
#menu-bar .expand .sub li a:hover { 	color: #fff; }

#menu-bar a:link,
#menu-bar a:active,
#menu-bar a:visited,
#menu-bar a:hover { color: #fff;}


#main {
	width: 99%;
	float: left;
	overflow: auto;
	background-color: #fff;
	padding-bottom: 10px;
	margin-top: 15px;
}

div#main.logo div#inner {
	width: 100%;
/*	background: url(images/logo-btm.jpg) bottom center no-repeat;	*/
	background-color: #fff;
	margin-bottom: -1px;
	padding-bottom: 1px;
	float: left;
	overflow: hidden;
}

div#logo {
	background-image: none;
	background-color: #fff;
	float: left;
	width: 98%;
	border-top: 2px solid #133e68;
	margin-top: 10px;
	padding-top: 2px;
	margin-left: 10px;
	margin-right: 10px;
}

div#logo img {
	margin-top: 5px;
}

div#inner {
	float: left;
	overflow: hidden;
	width: 100%;
}

.grid-row {
	display: block;
	width: 99%;
}

.grid-cell {
	float: left;
	width: 316px;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 0px;
	height: 100%;
}

.grid-cell .post-image {
	text-align: center;
	margin-bottom: 10px;
}
.grid-cell .post-blurb {
	display: inline-block;
	background-color: #D4E5EF;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 0px;
	padding-bottom: 5px;
	width: 306px; /* 316 - 2x5 padding */
	height: 191px; /* 196-5px bottom padding */
	overflow: hidden;
}

.post-blurb h3 {
    margin-bottom: 0px;
}

#slideshow-container {
	position: relative;
	margin: 0px;
	margin-top: 10px;
	margin-left: 10px;
	padding: 0px;
	overflow: visible;
}

#slideshow {
	position: relative;
	top: 0px;
	left: 0px;
}

div.logo-image {
	float: left;
	margin-right: 2em;
	text-align: center;
}
span.member-of {
	font-size: 70%;
}

#footer {
	margin-top: 10px;
	margin-bottom: 30px;
	font-size: 75%;
	width: 99%;
	float: left;
	color: #fff;
    position: relative;
}

#tiber {
    position: absolute;
}
#legal {
    position: absolute;
    right: 0px;
}

#footer a:link, #footer a:hover, #footer a:focus, #footer a:active, #footer a:visited
{
	color: #fff;
}



.form-div {
	margin-top: 3em;
}

.form-div form  {
    font-size: .7em;
}


.form-div input,
.form-div textarea {
	border: 1px solid #133e68;
}


.news-col {
	width: 485px; /* 1000px - 30 i marginer / 2 */
	margin: 10px;
	padding: 0px;
	float: left;
	min-height: 580px;	
}


.news-col#right {
	margin: 0px;
	padding-left: 0px;
	padding-right: 0px;
	margin-bottom: -2000px;
	padding-bottom: 2000px;
}

.news-col#left {
	background-color: #d3e4ef;
	margin-bottom: -2000px;
	padding-bottom: 2000px;
	padding-top: 10px;
}


.news-col#right img.newsimg {
	width: 475px;
	margin: 0px;
	padding: 0px;
	padding-top: 10px;
	overflow-x: hidden;
}

.news-col#right img.eventimg {
	margin-top: 10px;
	width: 475px;
	overflow-x: hidden;
}

.post {
	background-color: #d3e4ef;
}
div.news-col div.post {
    margin-top: 0px;
    margin-bottom: 5px;
	padding: 10px;
    padding-bottom: 5px;
}

div.news-col div.post h4,
div.news-col div.post h2 {
	margin: 0px;
	padding: 0px;
}

div.displayed-post {
	background-color: #d3e4ef;
	padding: 10px;
	padding-top: 20px;
	margin-top: 10px;
	width: 455px;/*485 - 30 padding */

	margin-bottom: -2000px;
	padding-bottom: 2000px;
}

div.displayed-post h2,
div.displayed-post h4 {
	padding: 0px;
	margin: 0px;
}


div.contact#left {
	padding-top: 0px;
	padding-left: 10px;
	width: 475px;
}

div.contact div.post {
    padding-top: 0px;
    margin-top: 0px;
}

div.front#left, div.front#right {
	width: 475px; /* mindre plass her */
	min-height: 0px;
	padding-top: 10px;
	background-color: #d3e4ef;
	margin-top: 10px;
}

div.front#right {
	padding-left: 10px;
}
div.destination#left {
	background-color: #d3e4ef;
}
div.cat-news#left div.post {
	margin-bottom: 20px; /* extra space between posts on the news listing */
}


/* some standard WP styles */

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered,
img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */


