/* $Id: layout-fixed.css,v 1.17 2009/11/05 12:09:53 johnalbin Exp $ */

/**
 * @file
 * Layout Styling (DIV Positioning)
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout is based on the Zen Columns layout method.
 *   http://drupal.org/node/201428
 *
 * Only CSS that affects the layout (positioning) of major elements should be
 * listed here.  Such as:
 *   display, position, float, clear, width, height, min-width, min-height
 *   margin, border, padding, overflow
 */


/*
 * Body
 */
body {
}

#page-wrapper, #navigation, #header .section, #footer .section, #toppblock-nyfront,
.region-page-closure .block,
#block-views-blogg-block_3.nyfront {
  /*
   * If you want to make the page a fixed width and centered in the viewport,
   * this is the standards-compliant way to do that. See also the ie6.css file
   * for the necessary IE5/IE6quirks hack to center a div.
   */
  margin-left: auto;
  margin-right: auto;
  width: 960px;
}

#page {
}

#page.nyfront {
  padding-top: 10px;
}

/*
 * Header
 */
#header {
padding-top: 0.75em;
min-width: 960px;
}

#header .section {
  height: 104px;
}

#search-box {
}

.region-header {
  /* clear: both; Clear the logo */
}

/*
 * Main (container for everything else)
 */
#main-wrapper {
  position: relative;
}

#main {
}

/*
 * Content
 */
#content,
.no-sidebars #content {
  float: left; /* LTR */
  width: 960px;
  margin-left: 0; /* LTR */
  margin-right: -960px; /* LTR */ /* Negative value of #content's width + left margin. */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #content .section. */
}

.sidebar-first #content {
  width: 760px;
  margin-left: 190px; /* LTR */ /* The width of .region-sidebar-first. */
  margin-right: 10px; /* LTR */ /* Negative value of #content's width + left margin. */
}

.sidebar-second #content {
  width: 660px;
  margin-left: 10px; /* LTR */
  margin-right: -670px; /* LTR */ /* Negative value of #content's width + left margin. */
}

body.page-lostandfound .region-sidebar-first {
  display: none;
}

.sidebar-second #page.nyfront #content {
  width: 590px;
  margin-right: -600px; /* LTR */ /* Negative value of #content's width + left margin. */
}


.two-sidebars #content {
  width: 480px;
  margin-left: 190px; /* LTR */ /* The width of .region-sidebar-first */
  margin-right: -760px; /* LTR */ /* Negative value of #content's width + left margin. */
}

#content .section {
  margin: 0;
  padding: 0;
}

#page.nyfront #content-area {
  min-height: 1105px;
}

.node-type-page #main #content h1.title {
  position: relative;
  top: -11px;
}

/*
 * Navigation
 */
#navigation {
  position: relative;
  top: -45px;
  padding: 0; 	 /* DO NOT CHANGE. Add padding or margin to #navigation .section. */
  height: 26px; /* The navigation can have any arbritrary height. We picked one
                    that is the line-height plus 1em: 1.3 + 1 = 2.3
                    Set this to the same value as the margin-top below. */
}

#page.nyfront #navigation {
  top: -380px;
}

.with-navigation #content,
.with-navigation .region-sidebar-first,
.with-navigation .region-sidebar-second {
  /* margin-top: 1.25em;  Set this to the same value as the navigation height above. NEJ - för vi har flyttat upp den. se ovan. */
}

#navigation .section {
  float:right;
  padding-right: 10px;
}

#navigation ul /* Primary and secondary links */ {
  margin: 0;
  padding: 0;
 /*  text-align: left;  LTR */
}

#navigation li /* A simple method to get navigation links to appear in one line. */ {
  float: left; /* LTR */
  /* padding: 0 10px 0 0;  LTR */
}

.region-highlight {
  min-height: 1em;
  margin-bottom: 40px;
  position: relative;
  clear: both;
  overflow: hidden;
  height: 100%;
}

#page.nyfront .region-highlight {
  display: none;
}

body.page-aktuellt .region-highlight {
  margin-bottom: 23px;
}

.region-highlight .block-menu_block {
  height: 40px;
  position: absolute;
  top: 0px;
  right: 0px;
}

.region-highlight #block-block-21 {
  border-bottom: 1px solid #4d4d4d;
  height: 38px;
}

.region-highlight .block {
  margin-bottom: 0px;
}



.region-highlight .block-menu_block ul.menu {
  float: right;
  margin: 0.5em 0 0 0;
}  

.region-highlight .block-menu_block ul.menu li {
  display: inline;
  margin: 0 0.5em 0 0.5em;
}

.region-highlight .block-menu_block ul.menu li.last {
  margin-right: 1em;
}

.region-highlight .block-menu_block ul.menu li a {
  color: #333;
  font-size: 1em;
}

.region-highlight p {
margin: 0;
}


/*
 * First sidebar
 */
.region-sidebar-first {
  float: left; /* LTR */
  width: 150px; /*200px;*/
  margin-left: 10px; /* LTR */
  margin-right: -200px; /* LTR */ /* Negative value of .region-sidebar-first's width + left margin. */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-sidebar-first .section. */
}

.region-sidebar-first .section {
  margin: 0 20px 0 0; /* LTR */
  padding: 0;
}

/*
 * Second sidebar
 */
.region-sidebar-second {
  float: left; /* LTR */
  width: 230px; /*260px;*/
  margin-left: 720px; /*700px; LTR */ /* Width of content + sidebar-first. */
  margin-right: -960px; /* LTR */ /* Negative value of .region-sidebar-second's width + left margin. */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-sidebar-second .section. */
}

#page.nyfront .region-sidebar-second {
  margin-left: 650px; /*700px; LTR */ /* Width of content + sidebar-first. */
}

.region-sidebar-second .section {
  margin: 0 0 0 0px; /* LTR */
  padding: 0;
}

#page.nyfront .region-sidebar-second .section {
  padding-top: 20px;
}

/*
 * Content Bottom
 */
#page.nyfront .region-content-bottom {
  width: 960px;
  height: 445px;
  position: relative;
  left: -20px;
  padding: 20px 0 0 20px;
  clear: both;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}


/*
 * Footer
 */
#footer, .region-page-closure {
  min-width: 960px;
  overflow: visible;
}

#footer .section {
  height: 102px;
  padding-top: 15px;
  margin-top: 70px;
}

/*
 * Closure
 */
.region-page-closure /* See also the #page-wrapper declaration above that this div shares. */ {
}

/*
 * Prevent overflowing content
 */
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer,
.region-page-closure {
  overflow: visible;
  word-wrap: break-word; /* A very nice CSS3 property */
}

#navigation {
  overflow: hidden; /* May need to be removed if using a dynamic drop-down menu */
}

/*
 * If a div.clearfix doesn't have any content after it and its bottom edge
 * touches the bottom of the viewport, Firefox and Safari will mistakenly
 * place several pixels worth of space between the bottom of the div and the
 * bottom of the viewport. Uncomment this CSS property to fix this.
 * Note: with some over-large content, this property might cause scrollbars
 * to appear on the #page-wrapper div.
 */
/*
#page-wrapper {
  overflow-y: hidden;
}
*/

/*Upprop
.page-upprop.two-sidebars #content,
.page-upprop.one-sidebar #content {
width: 540px;
margin-left: 410px;
margin-right: -760px;
}
.page-upprop.two-sidebars .region-sidebar-first,
.page-upprop.one-sidebar .region-sidebar-first {
margin-left: -190px;
width: 370px;
}
.page-upprop .region-sidebar-first .section {
margin: 0;
}
.page-upprop .region-sidebar-second {
display: none;
}
.page-upprop #sharefunctionsleft {
margin: 40px 0 0 10px;
}*/
