



/*Her kommer hoved skriptet for niigata hjemmeside*/

	




body {
	color: #666666;
	background-color: #ffffff;	
	margin: 0;
	background-image: url(imageslayout/leftpanel.gif);
	background-position: top left;	
	background-repeat: repeat-y;
	font-family: Times, "Times New Roman", serif;
	font-size: 1.0em;
	line-height: 1.2em;
	text-align: left;/*IE centering hack*/	
	position: relative;
	width: 770px;
	font-weight: normal;
	}


html 	{
	
	
	background-image: url(imageslayout/rigthpanel.gif);
	background-position: right top;
	background-repeat: repeat-y;
	}


#wrapper {
	width: 772px; /* width + border for IE 5.x */
	width: 770px; /* real width */
	position: relative;	
	margin: 0 auto;/*proper centering*/
	margin-left: 15%;
	background: #008080;/*bildet herunder sørger for forlengelse av naigation*/ 
	background-image: url(imageslayout/navfloat147.gif); 	background-repeat: repeat-y;	
	text-align: left;/*return to normalcy*/ 
	
	}



a:link, a:visited {
	color: #0000ff;
	background-color: transparent;
	text-decoration: underline;
	
	}
/*Husk å skifte farge på linkene*/




 


a:hover, a:active {
	color: #00ff00;
	background-color: transparent;
	text-decoration:underline;
	}



.link2 a:link, a:visited, a:hover, a:active
	{
	
	border: 0;
	background-color:transparent;
	text-decoration:none; 

	}

h1 	{
	font-size: 2.2em;
	font-family: Garamond, Times, "Times New Roman", 	serif;
	color: #7c0144; /*Dette er riktig overskrift farge*/
	line-height:1.1em;
	font-weight: bold;
	letter-spacing: 3px;
	text-align: center;
	color: #7c0144;/*Dette er riktig overskrift farge*/
	
	}

h2 	{
	font-size: 1.7em;
	font-family:Garamond, Times, "Times New Roman", serif;
	line-height:1.1em;
	font-weight: bold;
	text-align: center;
	color: #008080;
	}

h3 	{
	font-size: 1.5em ;
	font-family: Times, "Times New Roman", serif;
	font-weight: bold;	
	text-align: center;
	color: #008080;
	}

h4 	{
	font-size: 1em;
	font-family: Times, "Times New Roman", serif;	
	font-weight: bold;
	text-align: center;
	color: #008080;
	}

h5 	{
	font-size: 1em;	
	font-family: Times, "Times New Roman", serif;	
	font-weight: bold;
	text-align: center;
	Color: #7c0144;
	}

p	{
	font-size: .9em;	
	font-family: Times, "Times New Roman", serif;	
	font-weight: normal;
	text-align: left;
	text-align: justify;
	line-height: 1.7em;
	}

.footer {

	font-size: .6em;
	text-align: center;
	font-weight: bold;
	}

.litentekst
	{
	font-size: .9em;
	text-align: center;
	font-weight: normal;
	font-style: italic;
	}

.ul{ 	color:#34955B;
	text-align: center;
	}


#banner-image 
	{height: 165px;
	background-color:#008080;
	background-image:url(imageslayout/niigatabanner.jpg);
	border: 1px #008080 solid;
	
	}
.clock{
	height:6px;
	float:right;
	margin-right:3px;
	margin-top:1px;
	
	
	
	}

#bord-image
	{height: 69px;
	background-color:#ffffff;
	background-image:url(imageslayout/bord770.png);
	border-right: 1px #008080 solid;
	border-left: 1px #008080 solid;
	}

.left-homebox {
	height:35px;
	width:62px;
	background-repeat: no-repeat;
	float:left;
	margin-left:10px;
	margin-top:32px;
	background-color:transparent;
	z-index:2;
	
	}

.left-mailbox{
	height:35px;
	width:45px;
	background-repeat: no-repeat;
	float:left;
	margin-left:7px;
	margin-top:32px;
	background-color:transparent;
	z-index:2;
	}



.right-norflaggbox{
	height:35px;
	width:45px;
	background-repeat: no-repeat;
	float:right;
	margin-right:10px;
	margin-top:34px;
	background-color:transparent;
	color:#ff0000;
	z-index:2;
	}

.right-engflaggbox{
	height:35px;
	width:45px;
	background-repeat: no-repeat;
	float:right;
	margin-right:5px;
	margin-top:34px;
	background-color:transparent;
	z-index:2;
	}

#content {
	position:relative;
	width:770px;
	}

#navbar {
	position:absolute;
	top: 0px;
	left: 0px;
	width:144px;
	border-left: 1px #008080 solid;
	border-right: 1px #008080 solid;
	border-bottom:1px #008080 solid;
	
	}

#nav, #nav ul { /* all lists dette er hele listen hoved og submeny*/
		padding: 0;
		margin: 0;
		list-style: none;
		float : left;
		width : 127px;
		
	}

#nav li { /* all list items , gir høyde og possisjon for hele listen*/
		position : relative;
		float : left;
		line-height : 1.35em;
		margin-bottom : -1px;
		width: 127px;
	}

#nav li ul { /* second-level lists, denne gjemmer submeny og posisjonerer sub til venstre */
		position : absolute;
		left: -999em;
		margin-left : 143px;
		margin-top : -1.35em;
	}

#nav li a {/* Dette er mainmenu og gir utseende på bokser og fonter*/
		width: 127px;
		width : 125px;
		display : block;
		color : black;
		font-weight : bold;
		text-decoration : none;
		background-color : #808000;
		border : 1px solid #7c0144;
		padding : 0 0.5em;
	}

#nav li a:hover {/* denne forandrer ved hover over*/
		color : white;
		background-color : #34955B;
	}


#nav li:hover ul ul   {
		left: -999em;
		}

#nav li.sfhover ul ul {
		left: -999em;
		}

#nav li:hover ul{    /* Tar frem submenyliste */
		left:auto;
		}

#nav li li:hover ul{
		left: auto;
		}

#nav li.sfhover ul {
		left: auto;
		}

#nav li li.sfhover ul {
		left: auto;
		}







IMG.displayed {
    display: block;
    margin-left: auto;
    margin-right: auto }


.leftimg
	{
	float:left;
	margin-right: 20px;
	margin-bottom: 6px;
	}

.rightimg
	{
	float:right;
	margin-left: 20px;
	margin-bottom: 6px;
	}


#main-text 
	{
	
	background-color:#ffffff;
	border-left: 1px #008080 solid;
	border-right: 1px #008080 solid;
	border-bottom: 1px #008080 solid;
	margin-left: 144px;
	padding-top: 0.1em;
	padding-right: 2em;
	padding-bottom: 2em;
	padding-left: 2em;
	}



#footer{
	width: 772px; /* width + border for IE 5.x */
	width: 770px; /* real width */
	clear:both;
	font-weight:bold;
	margin-left:15%;
	height: 25px;
	color:#34955B;
	text-align:center;
	}

/*her tester vi tabeller*/

	table  {
				margin: 0 0 1em;
				border-collapse: collapse;
				border-right: 1px solid #555;
				border-bottom: 1px solid #555;
				border-left: 1px solid #555;
				font-family: verdana, arial, sans-serif;
				font-size: 11px;
				
			}

			td, th {
				padding: 6px 6px;
				border-left: 1px solid #d9d9d9;
				border-top: 1px solid #d9d9d9;
				border-right: 1px solid #d9d9d9;
				text-align: center;
			}

			tr.alt td, tr.alt th {
				background: #f1f5fa;
			}

			tbody td, tfoot td {
				 text-align: center; 
				
				}

			thead th, tfoot th, tfoot td {
				border-color: #555;
				border-bottom: 1px solid #555;
				background: url(/design/standard/images/thbg.gif) top left repeat-x #bbb;
				font-weight: bold;
			}

			th { border-left-color: #555; }

			caption {
				text-align:center;
				padding: 0 0 0.5em;
				font-size: 1.2em;
				font-family: arial, sans-serif;
			}





/*her slutter vi å teste  tabeller*/


	/*her kommer klarings hack*/


.clearing {
    display: inline-block;
    }
.clearing:after {
   content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }

/* hides from IE/Mac \*/
* html .clearing { 
    height: 1%;
    }

.clearing {
    display: block;
    }
/* end hide from IE-Mac */
/*** end clearing hack ***/

.def {
    border-bottom: 1px dotted #666;
    cursor: help;
    }

/*]]>*/
	
































