/*
Theme Name: Glasskjellaren theme
Theme URI: 
Description: Wordpress tema for glasskjellaren.no
Version: 1.0
Author: Sindre Kleppa
Author URI: http://ensign.no
Tags: clean, basic
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


h1, h2, h3, h4, h5, h6 { font-weight:bold } /* This helps to identify headings at the initial build stage, so I thought it'd be useful to have it */
.alert { background:red; color:white } /* 'alert' has a basic style, since it's useful to have it standing out for testing purposes.



/* LAYOUT */
/* ----------------------------------------- */

/* These rather presentational classes are generated by WordPress, so it's useful to have some styles for them. Edit as you see fit. More info: http://codex.wordpress.org/CSS */
.aligncenter { display:block; margin:0 auto }
.alignleft { float:left }
.alignright { float:right }
.wp-caption { border:1px solid #666; text-align:center; background:#ccc; padding:10px; margin:10px }


div, ul, li { position:relative } /*This will save you having to declare each div / ul / li's position as 'relative' and allows you to absolutely position elements inside them */
br.clear { clear:both; display:block; height:1px; margin:-1px 0 0 0 } /* Use this br class to clear your floated columns */
li#theme-switcher { background:#fff; border:10px solid red; padding:20px; position:fixed; top:0; right:0 } /* Use this if you have the Theme Switcher Reloaded plugin (http://themebot.com/webmaster-tools/1-wordpress-theme-switcher-reloaded) installed and want to make it nice and obvious */

html { 
	background: #F0F5F8 url('http://www.glasskjellaren.no/wp-content/themes/Glasskjellaren_theme/images/bg.jpg') no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

body {font: 14px Georgia, serif; color:#50646c; /*background: #F0F5F8 url('http://localhost:8888/glasskjellaren/wp-content/themes/Basic_theme/images/bg.jpg') no-repeat;*/ line-height: 1.4em; }

p {margin-bottom: 10px;}

h1, h2, h3 { padding:0px; color:#8195a1; font-weight:normal;}
h1{ font-size:3.2em; margin-bottom:0.5em;}
h2{ font-size:2.6em; margin-bottom:0.6em; line-height:1em; }
h3{ font-size:1.8em; color:#8195a1; margin:0 0 15px 0; line-height:1em;}
h4{ font-size:1.2em; font-weight:bold; }
h5{ font-size:1.8em; }

a:link {color: #5e6f76; text-decoration: underline;}
a:visited {color: #5e6f76; text-decoration: underline;}
a:active {color: #3c3c3c; text-decoration: underline;}
a:hover {color: #3c3c3c; text-decoration: underline;}

#wrapper {width: 960px; margin: 20px auto; padding-top: 20px; }

#header { margin-bottom: 20px; }

#site-title {float: left; width: 200px; padding-top: 5px;}

/*#menu {width: 700px; margin-top: 50px; float: right; text-align: right;}
#menu ul li {display: inline-block; margin-right: 10px;}*/

#menu a:link {color: #5e6f76; text-decoration: none;}
#menu a:visited {color: #5e6f76; text-decoration: none;}
#menu a:active {color: #3c3c3c; text-decoration: underline;}
#menu a:hover {color: #3c3c3c; text-decoration: underline;}

#menu {
	display: block;
	float: right;
	margin-top: 30px;
}
#menu .menu-header,
div.menu {
	font-size: 15px;
	margin-left: 12px;
}
#menu .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}
#menu .menu-header li,
div.menu li {
	float: left;
	position: relative;
}
#menu a {
	color: #aaa;
	display: block;
	line-height: 38px;
	padding: 0 10px;
	text-decoration: none;
}
#menu ul ul {

	display: none;
	position: absolute;
	top: 38px;
	left: 0;
	float: left;
	width: 180px;
	z-index: 99999;
	opacity: 0.9;
}
#menu ul ul li {
	min-width: 180px;
}
#menu ul ul ul {
	left: 100%;
	top: 0;
}
#menu ul ul a {
	background: #b1cdd4;
	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
}
#menu li:hover > a,
#menu ul ul :hover > a {
	color: #000;
}
#menu ul li:hover > ul {
	display: block;
}
#menu ul li.current_page_item > a,
#menu ul li.current-menu-ancestor > a,
#menu ul li.current-menu-item > a,
#menu ul li.current-menu-parent > a {
	color: #6ea0ac;
}
* html #menu ul li.current_page_item a,
* html #menu ul li.current-menu-ancestor a,
* html #menu ul li.current-menu-item a,
* html #menu ul li.current-menu-parent a,
* html #menu ul li a:hover {
	color: #fff;
}



#content { width: 960px;}

#footer { text-align: center; font-size: 13px; }
#footer p {margin-bottom: 0px;}
#contact-left {text-align: right; width: 290px; float: left; margin-right: 20px;}
#contact-right {width: 290px; float: left; text-align: left;}

#language-nav {float: left; width: 180px; padding-top: 20px; }
#contact-info {float: left; width: 600px; padding-top: 20px; }
#links {float: left;  width: 110px; padding-left: 70px; }
#links a {float: left; }

a#ryfylke {display:block; width:50px; height:52px; text-indent:-999em; text-decoration: none; background:url('http://www.glasskjellaren.no/wp-content/themes/Glasskjellaren_theme/images/ryfylke.png') top left no-repeat;}
a#ryfylke:hover {background-position:-50px top;}

a#facebook {display:block; width:40px; height:52px; text-indent:-999em; text-decoration: none; background:url('http://www.glasskjellaren.no/wp-content/themes/Glasskjellaren_theme/images/facebook.png') top left no-repeat;}
a#facebook:hover {background-position:-40px top;}


.sidebar {background: #ccc;}

.post {background: #ccc; margin-bottom: 10px;}

.clear {clear: both;}



/*Front page*/

.fp_teaser {width: 310px; height: 500px; border: 1px solid #ccc; float: left; margin-right: 11px;}

.last {margin-right: 0;}

/*SINGLE*/
.single-content {background: #ccc;}

/*PAGES*/

.page-content { background: #fff;  }
.main-content {width: 900px; height: 420px; float: left; padding: 40px 30px; z-index: 999; position: absolute; }
.opening-content {width: 380px; height: 420px; float: left; padding: 40px 30px; z-index: 999; position: absolute;  }
.small-content {width: 500px; height: 420px; float: left; padding: 40px 30px; z-index: 999; position: absolute;  }

/*.main-image {width: 550px; height: 500px; float: right;}*/

.main-image {width: 960px; height: 500px; z-index: 1; position: relative; float: right;}
.main-image img {position: absolute; z-index: 1;}
.about-slider {width: 520px; height: 450px; padding-left: 30px; padding-top: 50px; float: right;}


.about-content {width: 350px; height: 440px; float: left; padding: 40px 20px 20px 30px;}

/*COMMENTS*/

.comments {background: #bbb;}