/* Layout sections */
	body {
		background:  #FEFDD7;  /* #CBCB65; */
		color: #336666;
		}
		
	div#header {
		color: #fff;
		}

		
/* Links */		
	a,
	a:link,
	a:visited {
		color: #FEFDD7;
	}

     a:active {
          color: #FEFDD7;
     }

      a:hover, a:hover:visited {
		color: #FEFDD7;
	}


/* Headings */	
	h1, h2, h3, h4, h5, h6 {
		color: #336666;
	}/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* clearing */
	.stretch,
	.clear {
		clear:both; 
		height:1px; 
		margin:0; 
		padding:0; 
		font-size: 15px;
		line-height: 1px;
	}
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}

/* end clearing */


/* replace */
	.replace {
		display:block;
		
		background-repeat: no-repeat;
		background-position: left top;
		background-color:transparent;
	}
	/* tidy these up */
	.replace * {
		text-indent: -10000px;
		display:block;
		
		background-repeat: no-repeat;
		background-position: left top;
		background-color:transparent;
	}
	.replace a {
		text-indent:0;
	}
	.replace a span {
		text-indent:-10000px;
	}
/* end replace */


/* accessibility */
     span.accesskey {
     	text-decoration:none;
     }
     .accessibility {
     	position: absolute;
     	top: -999em;
     	left: -999em;
     }
dfn {
  position: absolute;
  left: -1000px;
  top: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
  display: inline;
}
/* end accessibility *//* The wrapper determines the width of the menu elements */

#menuwrapper { 
	width: 100%;
}


/* Unless you know what you do, do not touch this */ 

#primary-nav, #primary-nav ul { 
	list-style: none; 
	margin: 0px; 
	padding: 0px; 
	width: 100%; 
        margin-left: -1px;
}

#primary-nav ul { 
	position: absolute; 
	top: 0; 
	left: 100%; 
	display: none;
}

#primary-nav li.menuli { 
        margin-bottom: -1px; 
	position: relative; 
	border: 1px solid #666633; 
}


/* Styling the basic apperance of the menu elements */

#primary-nav a { 
	/* border: 1px solid #666633; */
	display: block; 
	margin: 0px; 
	padding: 5px 10px; 
	text-decoration: none; 
}
#primary-nav li.menuli, #primary-nav li.menuparent { 
	background-color: #336666; 
}


/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
	background-color: #666633; 
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */

#primary-nav li.menuparent, #primary-nav li.menuparent:hover, #primary-nav li.menuparenth { 
	background-image: url(modules/MenuManager/images/arrow.gif); 
	background-position: center right; 
	background-repeat: no-repeat; 
}


/* Styling the apperance of menu items on hover */

#primary-nav li.menuli:hover, #primary-nav li.menuh, #primary-nav li.menuparenth, #primary-nav li.menuactiveh { 
	background-color: #666633;  /* #E7AB0B; */
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

#primary-nav ul, #primary-nav li.menuli:hover ul, #primary-nav li.menuli:hover ul ul, 
#primary-nav li.menuparenth ul, #primary-nav li.menuparenth ul ul { 
	display: none; 
	}
#primary-nav li.menuli:hover ul, #primary-nav ul li.menuli:hover ul, #primary-nav ul ul li.menuli:hover ul, 
#primary-nav li.menuparenth ul, #primary-nav ul li.menuparenth ul, #primary-nav ul ul li.menuparenth ul { 
	display: block; 
	}


/* IE Hack, will cause the css to not validate */
/*
#primary-nav li.menulih, #primary-nav li.menuparenth, #primary-nav li.clearmenucell { _float: left; _height: 1%; }
#primary-nav li a { _height: 1%; } 
*/

#primary-nav li.clearmenucell, li.clearmenucell:hover {
  background-color: transparent;
  border: 0px; 
}

.otherlanguageodd{
            background:  url(uploads/images/askelrusk1.gif) no-repeat 0 0; 
            height: 50px;
            width: 75px; 
            text-align: center;
            vertical-align: bottom;
}

.otherlanguageeven{
            background:  url(uploads/images/askelrusk2.gif) no-repeat 0 0; 
            height: 50px;
            width: 75px; 
            text-align: center;
            vertical-align: bottom;
            /* padding-right: 20px; */
}

.currentlanguageodd{
            background:  url(uploads/images/askelsin1.gif) no-repeat 0 0; 
            height: 50px;
            width: 75px;
            text-align: center;
            vertical-align: bottom;
}

.currentlanguageeven{
            background:  url(uploads/images/askelsin2.gif) no-repeat 0 0; 
            height: 50px;
            width: 75px;
            text-align: center;
            vertical-align: bottom;
            /* padding-right: 20px; */
}

/* A CSS Framework by Mike Stenhouse of Content with Style */

/* TYPOGRAPHY */
	body {
		text-align: center;
		font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
		font-size: 75.01%;
                line-height: 1em;
	}
	div {
		font-size: 1em;
	}
	img {
		border: 0;
	}
	
/* LINKS */
	a,
	a:link 
	a:active, a:visited {
		text-decoration: underline;
	}

        div#footer a, 	
        div#footer a:link 
	div#footer a:active, div#footer a:visited {
               color: #fff;
        }

	a:hover {
	text-decoration: none;
	}
/* END LINKS */
	
/* HEADINGS */
	h1 {
		font-size: 2em;
		line-height: 1em;
		margin: 0;
		padding: 0;
	}
	h2 {
		font-size: 1.5em;
                line-height: 1.5em;
		margin: 0 0 0.5em 0;
		padding: 0;
	}
	h3 {
		font-size: 1.3em;
		line-height: 1.3em;
		margin: 0 0 0.5em 0;
		padding:0;
	}
	h4 {
		font-size: 1.2em;
		line-height: 1.3em;
		margin: 0 0 0.25em 0;
		padding: 0;
	}
	h5 {
		font-size: 1.1em;
		line-height: 1.3em;
		margin: 0 0 0.25em 0;
		padding: 0;
	}
	h6 {
		font-size: 1em;
		line-height: 1.3em;
		margin: 0 0 0.25em 0;
		padding: 0;
	}
/* END HEADINGS */

/* TEXT */
	p {
		font-size: 1em;
		margin: 0 0 1.5em 0;
		padding: 0;
		line-height:1.4em;
	}
	blockquote {
		border-left: 10px solid #ddd;
		margin-left: 10px;
               
}
	pre {
		font-family: monospace;
		font-size: 1.0em;
	}
	strong, b {
		font-weight: bold;
	}
	em, i {
		font-style:italic;
	}
    code {
        font-family: "Courier New", Courier, monospace;
        font-size: 1em;
        white-space: pre;
    }
/* END TEXT */
	
/* LISTS */
	#main ul {
        line-height:1.4em;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	#main ul li {
		margin: 0 0 0.25em 30px;
		padding: 0;
	}
	ol {
		font-size: 1.0em;
		line-height: 1.4em;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	ol li {
		font-size: 1.0em;
		margin: 0 0 0.25em 30px;
		padding: 0;
	}
	dl {
		margin: 0 0 1.5em 0;
		padding: 0;
		line-height: 1.4em;
	}
	dl dt {
		font-weight: bold;
		margin: 0.25em 0 0.25em 0;
		padding: 0;
	}
	dl dd {
		margin: 0 0 0 30px;
		padding: 0;
	}
/* END LISTS */
	
	
/* TABLE */
	table {
        font-size: 1em;
		margin: 0 0 1.5em 0;
        padding: 0;
	}
	table caption {
		font-weight: bold;
		margin: 0 0 0 0;
		padding: 0 0 1.5em 0;
	}
	th {
		font-weight: bold;
		text-align: left;
	}
	td {
		font-size: 1em;
	}
/* END TABLE */	
	
	hr {
		display: none;
	}

	div.hr {
		height: 1px;
		margin: 1em 10px;
		border-bottom: 1px dotted black;
	}

	
/* END TYPOGRAPHY */	/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* FORM ELEMENTS */
	form {
		margin:0;
		padding:0;
	}
	form div,
	form p {
		font-size: 1em;
		margin: 0 0 1em 0;
		padding: 0;
	}
	label {
		font-weight: bold;
	}
	fieldset {
		border: 1px solid #eee;
		padding: 5px 10px;
		margin: 0 0 1.5em 0;
	}
	fieldset legend {
		color: #666;
		font-size: 1.1em;
		font-weight: bold;
		margin: 0 0 0 0px;
		padding: 0;
		background-color: white;
	}
	* html fieldset legend {
		margin: 0 0 10px -10px;
	}
	fieldset ul {
		list-style: none;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	fieldset ul li {
		list-style: none;
		margin: 0 0 0.5em 0;
		padding: 0;
	}
     
	
	input, select, textarea {
		font-size:1em; 
		font-family: arial, helvetica, verdana, sans-serif;
        
        margin: 0;
		padding: 2px;
	}
	
	input, select {
		vertical-align:middle;
	}
	textarea {
		width: 200px;
		height: 8em;
	}
	
	input.check {
		border: none;
		width: auto;
		height: auto;
		margin: 0;
	}
	input.radio {
		border: none;
		width: auto;
		height: auto;
		margin: 0;
	}
	input.file {
		height: auto;
		width: 250px;
	}
	input.readonly {
		background-color: transparent;
		border: none;
	}
	input.button {
		width: 10em;
		border:1px solid black;
		background-color: #ddd;
	}
	input.image {
		border: none;
		width: auto;
		height: auto; 
	}
	
    form div.submit {
		margin: 1em 0;
	}
    form div.submit input {
		height: 2em;
        width: 15em;
	}
/* END FORM ELEMENTS */
		/* NAV BAR ON THE LEFT AND ONE COLUMN OF CONTENT 
    div#content {
        position: relative;
        width: 100%;
        margin: 1.5em auto 2em auto;
        padding: 0;
        text-align: left;
    } */ 
    div#main {
        float: right;
        width: 100%;
        margin-right: 2%;
        display: inline;
    } 
    div#menu_vert {
        position: absolute; 
        /* bottom: auto;
        right: auto; 
        height: auto; */
        width: 200px;
        top: 280px;
        left: 40px;
    } 
/*
    div#content2 {
        display: none;
    } 
    div#menu_horiz {
        display: none;
    }
  END CONTENT *//* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* SITE SPECIFIC LAYOUT */
    body {
        margin: 0;
        padding: 0;
        text-align: left;
       height: 774px;
    }

     html {
         height: 774px;
    }
/*
    div#pagewrapper {
        margin: 0 auto;
        max-width: 80em;
        min-width: 60em;
        padding: 0;
        text-align: left;
    } */
    #container {
	position: absolute; 
        top: 0px; 
        left: 0px;
	margin: 200; 
        height: 100%;
    }
    
    /* HEADER */
         div#header {
            /* background:  url(uploads/images/polku.gif)  no-repeat; */
            height: 800px;
            position: fixed;
            width: 270px;
            margin: 0;
            padding: 0;
        }
  
    /* END HEADER */
    
    
    /* CONTENT */
        div#content {
                  position: absolute;
                  left: 270px; 
                  top: 0px; 
                  margin: 0px;
                  padding: 0px;
        }
        
        /* MAIN */
            div#mainTitle { 
                  position: absolute; 
                  /* left: 270px; */
                  margin-left: 270px;
                  top: 0px; 
                  background:  #CBCB65; 
                  width: 832px;
                 height: 230px;
            }

            div#main { /* position: relative; */
                  position: absolute; 
                  left: 270px; 
                  top: 0px; 
                  margin-top: 230px;
                  background:  #CBCB65; 
                  width: 832px;
                  height: 1100px; 
            }


        /* END MAIN */
        
        /* SUB */
            div#sub {
                
            }
        /* END SUB */
        
    /* END CONTENT */
    

/* END LAYOUT */

