/* Start of CMSMS style sheet 'Standardlayout' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

div {
   font-size: 1em;
}

img {
   border: 0;
}

a,
a:link, 
a:active {
   text-decoration: none;
   background-color:transparent;
   color: #39c; 
}

a:visited {
   text-decoration: none;
   background-color:transparent;
   color: #28d;
}

a:hover {
   text-decoration: none;
   background-color:transparent;
   color: #000;
}

#homemain a:hover, #main a:hover, #mainonly a:hover {
   border-bottom:1px dotted #ccc;
}

/*****************
basic layout 
*****************/
body {
   background-color: #fff;
   color: #333;
   margin: 2em;
}

div#pagewrapper {
   margin: 0 auto;     /* this centers wrapper */
   color: #666;
   width: 900px;
   background: #dddddd url(uploads/images/layout/content-background.gif) repeat-y 0 100px;
 }


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 90px; /* adjust according your image size */
   background: #fff;
   margin:0;
}

 div#header h1 {
  background: #fff url(uploads/images/layout/morgan-logotyp.gif) no-repeat 17px 20px; 
}

div#header h1 a {
/* you can set your own image here */
   display: block; 
   padding: 0;
   margin: 0;
   height: 68px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   width: 180px;
}

div#search {
   margin:0,padding:0
   display:inline;
   text-align: left;
   margin:4px 0 0 1em;
}

div#search input {
   border:1px solid #ddd;
   width:100px;
   margin-left:1em;
   padding:1px;
}

div#search input:focus {border:1px solid #666;}

div#search input#buttonSearch {
   border:1px solid #ccc;
   width:2.8em;
   margin-left:0em;
   text-transform:uppercase;
   letter-spacing:1px;
   color:#fff;
   background:#ddd;
   padding:0;
}

div#toplinks {
   background-color:#fff;
   display:box;
   margin-top:-18px;
   text-align:right;
   color:#ccc;
}

#toplinks p, #toplinks a, #toplinks a:link, #toplinks a:visited {color:#ccc; font-weight:bold;}
#toplinks a:hover {color:#666;}

#toplinks form#m4moduleform_1 {color:#000}

div#content {
   text-align: left;
   margin: 0 auto 0 0; /* some air abobe and under menu and content */
   padding: 0;
   background: #dddddd;

   }
div#main, #homemain {
   padding: 10px 10px 10px 10px;
   color: #666;
   margin:0 200px 0 200px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   background: #fff;
   border-top: 10px solid #dddddd;
}

#homemain {
   background: #fff url(uploads/images/layout/news-block-br-blue.gif) no-repeat bottom right;
   padding: 30px;
}

div#mainstandard {
padding: 10px 30px 10px 10px;
margin:0 -20px 0 200px;
}

div#mainonly {
   padding: 10px;
   color: #666;
   margin:0 10px 0 200px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   background: #fff url(uploads/images/layout/news-block-br-blue.gif) no-repeat bottom right;
   border-top: 10px solid #dddddd;
   
}

div#pageimg {
  margin: 0 0 0 0;
  width:666px;
  position:relative;
  top:0; left:0;
  overflow:hidden;
}

div#extra-info {
   float: right;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 200px;    /* sidebar width, if you change this please also change #main margins */
   padding: 10px 10px 0 10px;
   margin:5px 0 0 0;
   min-height: 300px;
   background: #eee url(uploads/images/layout/news-block-br-white.gif) no-repeat bottom right;
}

div#extra-info p {
   font-weight:normal;
   color:#999;
   line-height:1.5em;
   font-size:1.2em;
}

div#extra-info p a{color:#666;}

div#maincontent {
   margin-right:230px;
}

div#maingallery {
  margin: 0 400px 0 200px;
}


div#rightsidebar{
   float: right;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 180px;    /* sidebar width, if you change this please also change #main margins */
   padding: 10px 10px 0 10px;
   margin:0;
   background-color: #dddddd;
}

div#rightsidebargallery{
   float: right;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 260px;    /* sidebar width, if you change this please also change #main margins */
   padding: 8px 10px 0 0;
   background: #fff url(uploads/images/core/news-block-br-blue.gif) no-repeat bottom right;
   border-right: 10px solid #dddddd;
   margin: 10px 0 0 0;
}

div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 179px;    /* sidebar width, if you change this please also change #main margins */
   margin: 0;
   padding: 10px 10px 0 10px;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   padding-top: 15px;
   color: #666;
   height:20px;
  background: #fff url(uploads/images/layout/bottom-border-left.gif) no-repeat top left; 
  }

div#footer p {
   color: #999;
   text-transform: uppercase;
   font-size: 0.8em;
   padding: .2em .2em 0em 1.5em;      /* some air for footer */
   text-align: left; 
   background-color:#fff;
}

div#footercorner {
    position: relative;
    float: right;
    width: 20px;
    height: 10px;
    right: 0;
    top: -14px;
    background: transparent url(uploads/images/layout/grey-br-corner.gif) no-repeat right top; 
}

div#footer p a {
   padding-left: 5px;
   color: #999;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

/********************
CONTENT STYLING
*********************/
div#content {
}

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}

div#content h2, div#main h2 {
   color: #666; 
   font-size: 1.4em; 
   text-align: left; 
   text-transform: uppercase;
   font-weight: normal;
/* set borders around header */
   line-height: 1.1em;
/* and some air under the border */
   margin: 1em 0 0.5em 0;
}
div#content h3 {
   color: #999; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 1em 0 0.5em 0;
}
div#content h4 {
   color: #333; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 1em 0 0.5em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p, td {
   font-size: 1em;
   margin: 0 0 .5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
   color: #666;
}
blockquote {
   font-size:0.9em;
   margin-left: 2em;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
   font-weight: bold;
}
em, i {
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#mainonly ul,
div#homemain ul,
div#mainonly ol,
div#homemain ol,
div#mainonly dl
div#homemain dl {
   list-style-type: none;
   font-size: 1.1em;
   line-height: 155%;
   margin: 0 0 1.5em 1.3em;
   padding-left:0.5em;
}

div#mainonly ul.tick {
   list-style-image: url(uploads/images/layout/tick.gif);
   margin-left:1.2em;
}
div#mainonly ul.tick li{padding-top:0.5em;}


div#content ol {list-style:decimal;}
div#content ul {list-style:square;}

div#mainonly ul li,
div#mainonly ol li {
   margin: 0 0 0.25em 0.5em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

/* TABELLER */
table tr td{
   border-bottom:1px dotted #eee;
   padding:0.2em 1em 0.2em 0.2em;
}

table tr th{
   background:#eee;
   border-bottom:2px solid #ccc;
   padding:0.2em 1em 0.2em 0.2em;
}

.ingresss {
    color: #666;
    font-weight: bold;
}

.address {
    text-transform: uppercase;
    font-size: .9em;
    margin-top: -10px;
}

.creds {
     color: #666;
     font-size: .7em
}

#content h1.h1pink {
   font-size: 2.7em;
   color: #5689B4;
   text-transform: uppercase;
   line-height: 120%;
   margin-bottom: 20px;
}

#content h1 span.ppink {
   font-size: 40%;
   color: #5689B4;
   text-transform: none;
}

#homemain p, #mainonly p {
   font-size: 1.1em;
   line-height: 155%;
}

#content h1.h1blue {
   font-size: 2.2em;
   color: #66CCFF;
   text-transform: uppercase;
   line-height: 120%;
}

#content td, th {
  padding: 5px 15px 5px 0;
}

span.subtext {
  font-weight: normal;
}

img.left {float:left; padding-right:1.5em;}
img.right {float:right; padding-left:1.5em;}

/* MEDLEMSKATALOGEN */
#medlemskatalogen-post{
	width:280px; float:left; padding:0 15px 15px 15px;
	margin:10px;
	border:1px solid #ccc;
        background: transparent no-repeat 5% 45%;
	height:80px;
	overflow:hidden;
}

#medlemskatalogen-post:hover{
	border:1px solid #666;
}

#medlemskatalogen-post img{
	float:right; 
	margin-left:1em;
}

#medlemskatalogen-post #medlemskatalogen-text {
	font-size:0.8em;
	display:box;
	height:5em;
	overflow:hidden;
        padding-left:120px;
}
div#medlemskatalogen-post h3{
        padding-left:120px;
        font-size:1em;
}
div#medlemskatalogen-post a.medlem-box {
   position:absolute;
   height:93px;
   width:280px;
   display:block;
   background-color:transparent;
   z-index:1;
}

div#login {display:none}
#print-tell {
   border-top: 2px solid #ccc;
   padding: 4px 0 20px 0;
   font-size:10px;
   text-transform:uppercase;
   text-align:right;
   margin-top:2em;
}

#print-tell img{
   vertical-align:-40%;
}

.error_message {color:#F00;}
/* End of 'Standardlayout' */

