/*
## layout.css - Contains style for page layout
*/

/* Normalizes margin and padding */
* { 
  margin: 0;
  padding: 0;
}

/* Normalizes article content elements */
.article-content p,
.article-content dl.fileObject,
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content .image-box,
.article-content ol,
.article-content ul,
.article-content .flashContent,
.article-content .mediaPlayer,
.article-content .user-table,
.article-content .bordered-user-table,
.article-content .outlined-user-table,
.article-content .outlined-horizontal-user-table,
.article-content .horizontal-user-table,
.article-content .outlined-vertical-user-table,
.article-content .vertical-user-table,
.article-content .user-box,
.article-content form {
  margin-bottom: 10px;
}

img, fieldset {
  border: 0;
}

a {
  text-decoration: none;
  color: #AC0E1B;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: 20px;
}

/** 75% sets medium size to 12px in standard browsers **/
body {
  font: 75% 'Trebuchet MS', Verdana, Arial, Helvetica, Sans-serif;
  background-color: #ffffff;
  padding-top:20px;
}

h1, h2, h3, h4, h5 {
  font-size: 100%;
  font-weight: normal;
  padding:0 0 5px;
  color:#231F20;
}

h1 { 
  font-size: 22px; 
}
h2 { 
  font-size: 22px; 
}
h3 { 
  font-size: 150%; 
}
h4 { 
  font-size: 116%; 
}

img {
  display: block;
}

input {
  font-size: 100%;
}

/********************
## Framework style ##
********************/
#wrapper {
  margin: 0 auto;
  width: 1000px;
  background: #fff;
}

#header {
  height: 160px;
  margin-bottom:6px;
}

.headerCol {
  border:1px solid #6c6c6c;
  padding:6px;
  float:left;
  width:150px;
  height:146px;
  margin-right:6px;
}

.headerCol.last {
  margin-right:0px;
}

#header #col1 {
  background:url(../GFX/grafikk-roed.jpg) no-repeat;
  width:150px;
  height:146px;
}

#header #col2 {
  background:url(../GFX/grafikk-orange.jpg) no-repeat;
  width:150px;
  height:146px;
}

#header #col3 {
  background:url(../GFX/grafikk-groenn.jpg) no-repeat;
  width:150px;
  height:146px;
}

#header #logo {
  background:url(../GFX/black_bg_small.gif) no-repeat 5px 6px;
  width:476px;
}

#header #logo img {
  width:364px;
  height:167;
  margin:0 auto;
}

#header #logo.pandh img{
  padding-top:20px;

}

#searchForm {
  width: 138px;
  margin-bottom:20px;
}

#searchForm .query {
  width: 86px;
  border:1px solid #6c6c6c;
  padding:5px;
  float:left;
  color:#8C8C8C;
}

#searchForm .button {
  width: 28px;
  height:27px;
  border:1px solid #6c6c6c;
  margin-left:12px;
  color:#8C8C8C;
  background-color:#ffffff;
}

#breadcrumbs {
  float: left;
  color: #a1a1a1;
}

#breadcrumbs a {
  color: #a1a1a1;
}

#breadcrumbs a.active {
  color: #444;
}

#main {
  float:left;
}

#leftColumn {
  float: left;
  width:164px;
}

.section {
  width: 150px;
  border:1px solid #6c6c6c;
  padding:6px;
  margin-bottom:5px;
}

#mainColumn .section {
  width:646px;
}

#leftColumn .section {
  position:relative;
}

#mainColumn #content.section {
  padding:10px;
  width:638px;
}

#innerLeftColumn {
  background-color:#231f20;
  padding:10px;
  height:290px;
}

#innerLeftColumn .article {
  position:absolute;
  bottom:10px;
}

#innerLeftColumn p {
  color:#ffffff;
  font-size:11px;
}

#mainColumn {
  float: left;
  width: 660px;
  margin-left:6px;
}

#rightColumn {
  float: left;
  width: 164px;
  margin-left:6px;
}

#content .section {
  width:313px;
  overflow:hidden;
  float:left;
}

#content .section.right {
  float:right;
  height:322px;
}

#frontpageInfo {
  padding:6px;
  background-color:#dcdcdc;
  color:#231F20;
  height:138px;
}

#frontpageInfo h1 {
  font-size:22px;
}

#frontpageInfo h3 {
  font-size:18px;
}

.section.slideshow {
  width: 646px;
}

.section.first {
  height: 150px;
}

#rightColumn .section.rightMenu {
  width: 138px;
  min-height:298px;
  padding:12px;
  overflow:hidden;
}

/* TODO: add styles for customer footer */

#footer {
  clear:both;
  margin:20px 0;
}

/******************
## COMMON STYLES ##
******************/
h4.boxTitle {
  color: #fff;
  background: #a1a1a1;
  padding: 5px 20px;
  margin-bottom: 0;
}

div.box {
  border-bottom: 1px solid #f0f0f0;
}

div.box .content {
  padding: 15px 10px;
}

/*************************
## SUMMARY|ARTICLE LIST ##
*************************/

#content .summary,
#content .article {
  margin:0 0 20px;
}

#content .summary h1,
#content .summary h2 {
  font-size: 22px;
}

#content .section.right .summary h1,
#content .section.right .summary h2 {
  font-size: 16px;
}

#content .summary h1 a,
#content .summary h2 a,
#content .article h1 a,
#content .article h2 a,
#content .article h3 a {
  color:#231F20;
  text-decoration:none;
}

#content .summary h1 a:hover,
#content .summary h2 a:hover,
#content .article h3 a:hover {
  color:#AC0E1B;
  text-decoration:none;
}

#content .summary .text {
  font-size: 12px;
}

#content .summary img {
  float:right;
  margin-left:10px;
}

#content .section.right .summary .text {
  font-size: 11px;
}

.readmore {
  text-decoration:underline;
  padding:5px 0;
  display:block;
}

.section.right .readmore {
  font-size:11px;
}

.article-content a {
  text-decoration:underline;
}

/* TODO: get latest css from standardmaler.no, and add style to own stylesheet */
/*************************
## OBJECT COMMENTS VIEW ##
*************************/
#comments {
   padding: 20px 0;
   border-bottom: 1px solid #F0F0F0;
}

#comments dt {
  background: url(../GFX/quote.gif) top left no-repeat;
  padding-left: 25px;
}

#comments dd {
  padding-left: 25px;
  margin-top: 4px;
  margin-bottom: 14px;
}

form#commentForm {
  width: 100%;
  margin: 0;
  padding: 20px 0;
}

form#commentForm fieldset {
  padding: 0;
}

#commentForm input.block {
  width: 40%;
}

/*****************
## IDIUM FOOTER ##
*****************/

.idium {

}

.idium a:hover,
.idium a:active {
  text-decoration: none;
}

.idium,
.idium a {
  font-family: 'Century Gothic', Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 10px;
  color: #898989;
  text-transform: uppercase;
  text-decoration: none;
}

.idium img {
  float: left;
  margin-top: -3px;
}

.idium span {
  color:#898989;
font-family:'Century Gothic',Verdana,Arial,helvetica,sans-serif;
font-size:13px;
font-weight:bold;
margin:-8px 0 0;
padding:0 0 0 6px;
word-spacing:3px;
}

/*************
## WEBSHOP ##
*************/

.productgroup {
  overflow:hidden;
  margin-bottom:20px;
}

.productgroups h1,
.products h1,
.product h1 {
  font-size:28px;
  padding-bottom:10px;
}

.productgroup h2 a {
  color:#231F20;
}

.productgroup h2 a:hover {
  color:#AC0E1B;
  text-decoration:none;
}

.productgroup img {
  float:right;
  border:1px solid #8C8C8C;
  margin-left:10px;
}

.productgroup a.readmore:hover {
  text-decoration:none;
}

.product .productSlideshow {
  float:left;
  width:300px;
  margin:0 10px 20px 0;
}

.product .article-content {
  clear:left;
}

.product .productAttributes p.attributeTitle {
  color:#AC0E1B;
  font-weight:bold;
}

.product .text {
  font-weight:bold;
  padding-bottom:5px;
}

.product .productAttributes p {
  padding:3px 0;
}

.product .productSlideshow ul {
  list-style-type:none;
  padding-left:0px;
}

.product .productSlideshow li {
  float:left;
  border:1px solid #8C8C8C;
  margin-right:3px;
}

/*************
## SEARCHRESULT ##
*************/

.search_result {
  clear:left;
  margin-bottom:20px;
}

.totalHits,
.paginator {
  margin-bottom:10px;
}

.paginator {
  overflow:hidden;
}

.paginator .next,
.paginator .prev,
.paginator .pages,
.paginator .resultText {
  float:left;
}

.paginator a {
  text-decoration:underline;
}

.paginator a:hover {
  text-decoration:none;
}

.paginator .next,
.paginator .prev {
  padding:0 3px;
}

/*************
## CLEARFIX ##
*************/
.clearfix:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}

.clearfix {
  display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {
  height: 1px;
}
.clearfix {
  display: block;
 }
/* End hide from IE-mac */

tr td {
  vertical-align:top;
}

#userForm {
  width:319px;
  float:left;
  margin-right:20px;
}

.myAccount .folderImage {
  height:200px;
  overflow:hidden;
  position:relative;
}

.accountText {
  position: absolute;
  color:#ffffff;
  left:20px;
  top:20px;
  font-size:x-large;
}

#partnerweb {
  margin-top:30px;
}

#partnerweb .partnerTitle {
  font-weight:bold;
  margin-bottom:10px;
  border-bottom:1px solid #222222;
  padding-bottom:5px;
  color:#222222;
}

#partnerweb ul {
  padding:10px 0;
}

#loginForm input[type=text],
#loginForm input[type=password] {
  width:120px;
  display:block;
  border:1px solid #cccccc;
  margin-bottom:3px;
}

#loginForm .submit {
  border:none;
  background:none;
  color:#AC0E1B;
}

/*
    ColorBox Core Style
    The following rules are the styles that are consistant between themes.
    Avoid changing this area to maintain compatability with future versions of ColorBox.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative; overflow:hidden;}
#cboxLoadedContent{overflow:auto;}
#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}

/* 
    Example user style
    The following rules are ordered and tabbed in a way that represents the
    order/nesting of the generated HTML, so that the structure easier to understand.
*/
#cboxOverlay{background:url(../GFX/overlay.png) 0 0 repeat;}
#colorbox{}
    #cboxTopLeft{width:21px; height:21px; background:url(../GFX/controls.png) -100px 0 no-repeat;}
    #cboxTopRight{width:21px; height:21px; background:url(../GFX/controls.png) -129px 0 no-repeat;}
    #cboxBottomLeft{width:21px; height:21px; background:url(../GFX/controls.png) -100px -29px no-repeat;}
    #cboxBottomRight{width:21px; height:21px; background:url(../GFX/controls.png) -129px -29px no-repeat;}
    #cboxMiddleLeft{width:21px; background:url(../GFX/controls.png) left top repeat-y;}
    #cboxMiddleRight{width:21px; background:url(../GFX/controls.png) right top repeat-y;}
    #cboxTopCenter{height:21px; background:url(../GFX/border.png) 0 0 repeat-x;}
    #cboxBottomCenter{height:21px; background:url(../GFX/border.png) 0 -29px repeat-x;}
    #cboxContent{background:#fff;}
        #cboxLoadedContent{margin-bottom:28px;}
        #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
        #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
        #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
        #cboxPrevious{position:absolute; bottom:0; left:0px; background:url(../GFX/controls.png) -75px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
        #cboxPrevious.hover{background-position:-75px -25px;}
        #cboxNext{position:absolute; bottom:0; left:27px; background:url(../GFX/controls.png) -50px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
        #cboxNext.hover{background-position:-50px -25px;}
        #cboxLoadingOverlay{background:url(../GFX/loading_background.png) center center no-repeat;}
        #cboxLoadingGraphic{background:url(../GFX/loading.gif) center center no-repeat;}
        #cboxClose{position:absolute; bottom:0; right:0; background:url(../GFX/controls.png) -25px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
        #cboxClose.hover{background-position:-25px -25px;}

/*
    The following fixes png-transparency for IE6.  
    It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
    
    Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.
    Colorbox preloads navigation hover classes to account for this.
    
    !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
    while regular CSS background images are relative to the CSS document.
*/
.cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopLeft.png, sizingMethod='scale');}
.cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopCenter.png, sizingMethod='scale');}
.cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopRight.png, sizingMethod='scale');}
.cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomLeft.png, sizingMethod='scale');}
.cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomCenter.png, sizingMethod='scale');}
.cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomRight.png, sizingMethod='scale');}
.cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderMiddleLeft.png, sizingMethod='scale');}
.cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderMiddleRight.png, sizingMethod='scale');}

/* EOF COLORBOX */
