/* fisk.css */


body {background: #CCF url(../images/fisk_bak.gif) repeat; text-align: center; padding: 0; margin: 0;}

#container {width: 752px; text-align: left; margin: 5px auto; position: relative;}

#top_bar {text-align: right; position: absolute; top: 0; left: 0; height: 20px; width: 750px; border-left: 1px solid #066; border-right: 1px solid #066; border-top: 1px solid #066; border-bottom: 1px solid #FFF; background-color: #066;}

#company_header {position: absolute; top: 22px; left: 0px; height: 110px; width: 750px; border: 1px solid #066; background: #FFF url(../images/fisk_header.jpg); z-index: 3;}

#footer { background-color: #066; clear: both; border-top: 1px solid #066; height: 20px;}

#content {position: absolute; top: 205px; left: 0; width: 750px; border: 1px solid #066; background: #FFF url(../images/nav_bar.gif) no-repeat top left; overflow: hidden;}


/* MAIN texti inn í content, eða ss það sem er til vinstri*/
/*#main {float: left; width: 440px; padding: 20px 0px 20px 20px;}*/
#main {float: left; width: 480px; padding: 20px 0px 20px 20px; margin: 0;}

/*#sidebar {width: 238px; margin-left: 485px; padding: 20px 20px 20px 0px; text-align: right; background-color: green;}*/
#sidebar {width: 210px; margin-left: 500px; padding: 20px 0 0 20px; text-align: right; background-color: transparent;}


/* Er notað þar sem öll síðan er í notkun, t.d. í samband.php */
#heilsida {background-color: #FFF; float: left; width: 610px; padding: 0px 0px 20px 60px; margin: -10px 0px 0px 0px;}


/* SIDEBAR */
#sidebar table {border: 1px solid #066;}

.frs {margin-bottom: 20px; padding: 0;}
#frettir img.ff {margin-bottom: 20px; border: 0;} /* Er notað á fleiri fréttir flipann neðst á forsíðu */
#frettir hr {width: 50%; height: 1px; background: #666; border: none; margin-left: 0;}
#skst {margin-bottom: 128px;}
#skr{margin-bottom: 57px;}
#framl {margin-bottom: 300px;}


#sb_table1 {margin: 0px 20px 0px 0;}
#sb_table2 {margin: 0px 20px 10px 0;}
#sb_table3 {margin: 80px 20px 10px 0;}
#sb_table4 {margin: 225px 20px 0px 0;}

#sidebar ul {list-style-type: none; text-align: left; padding: 0; margin: 220px 20px 0px 20px;}
/* SIDEBAR endar */

#smallmargin {margin: 10px;}
#right_floater {float: right; margin: 5px 0px 15px 10px; border: 1px solid #066;}

#forsidukassi img {float: left; margin-left: -20px; margin-top: -15px; margin-right: 20px; padding: 0; border-right: 1px solid #066; height: 180px; }
#forsidukassi {position: relative; width: 438px; height: 145px; border: 1px solid #066; margin-bottom: 20px; padding: 20px; padding-top: 15px; background: #eee; overflow: hidden;}
	
/*#frettir img {margin: 15px 0px 15px 10px; border: 1px solid #066;}
*/#frettir h1 {font-family: Times New Roman, serif; line-height: 32px; color: #555; font-size: 22px; padding: 0px; margin: 0px; margin-bottom: 20px;}
#frettir h2 {font-family: Times New Roman, serif; line-height: 28px; color: #555; font-size: 18px; padding: 0px; margin-bottom: 20px;}
#frettir h3 {font-family: Times New Roman, serif; line-height: 20px; color: #555; font-size: 16px; padding: 0px; margin: 0px; font-weight: bold}
#frettir small {font-family: Times New Roman, serif; line-height: 14px; color: #555; font-size: 12px; padding: 0px; margin: 0px;}
#frettir p {text-align: justify; line-height: 20px; font-size: 12px; margin: 0px 0px 10px 0px; padding: 0px;}


/* Skilgreinir hvernir SKIPA og STARFSTÖÐVASÍÐAN er sett upp */
#skip img {margin: 0px; padding: 0px; border: 1px solid #066;}
#skip p {text-align: justify;}

/* Þetta stjórnar hvernir html kennslu síðan stjórnar pre elementinu */
pre {border: 1px solid #999}

/* Lists and Tables */
table {font-family: Georgia, serif; line-height: 20px; color: #666; font-size: 12px;}
ol, ul, li {font-family: Georgia, serif; line-height: 20px; font-size: 12px;}
#top_bar ul, #nav_bar ul, #footer ul {display: inline; list-style-type: none; padding: 5px; margin-left: 13px;}
#top_bar li, #nav_bar li, #footer li {display: inline; list-style-type: none; padding: 0px; margin: 0px;}


/* The Fonts */
.biggreen {font-family: Georgia, serif; line-height: 30px; color: #066; font-size: 15px;} 
.smallwhite {font-family: Georgia, serif; line-height: 20px; color: #FFF; font-size: 12px;}
.smallgreen {font-family: Georgia, serif; line-height: 20px; color: #066; font-size: 12px;}
.importred {font-family: Georgia, serif; line-height: 30px; color: #F33; font-size: 15px;} 

.biggreen a {color: #066 ; text-decoration: none; line-height: 30px; font-size: 15px;}
.biggreen a:hover {color: #0CC ; text-decoration: none; line-height: 30px; font-size: 15px;}

.smallwhite a {color: #FFF; text-decoration: none; line-height: 20px; font-size: 12px;}
.smallwhite a:hover {color: #CCC; text-decoration: none; line-height: 20px; font-size: 12px;}

.smallgreen a {color: #066; text-decoration: none; line-height: 20px; font-size: 12px;}
.smallgreen a:hover {color: #0CC; text-decoration: none; line-height: 20px; font-size: 12px;}

p {font-family: Verdana, sans-serif; line-height: 20px; color: #666; font-size: 12px;}
h1 {font-family: Times New Roman, serif; line-height: 32px; color: #444; font-size: 20px; padding: 0px; margin-top: 14px;}
h2 {font-family: Times New Roman, serif; line-height: 28px; color: #444; font-size: 18px; padding: 0px; margin: 0px;}
h3 {font-family: Times New Roman, serif; line-height: 24px; color: #444; font-size: 16px; padding: 0px; margin: 0px; font-weight: normal;}
a {color: #444; text-decoration: none;}
a:hover {color: #066; text-decoration: none;}
legend {font-family: Times New Roman, serif; line-height: 24px; color: #066; font-size: 16px; padding: 0px; margin: 0px;}

/* End of the Fonts */

/* Þetta lagar þær síður sem ekki byrja á mynd efst, t.d. kvóta síðan */
#nopic h1 {font-family: Times New Roman, serif; line-height: 32px; color: #066; font-size: 20px; padding: 0px; margin: 0px;}


/* --------------------- Restin er menu-inn -------------------- */

#nav {padding: 0; margin: 0; width: 752px; position: relative; top: 138px; left: 0;}

#nav a {font:14px/14px Garamond, Georgia, "Times New Roman", serif; margin: 0; padding: 0; text-decoration: none;}

#nav li {margin: 0; float: left; display: block; padding-right: 2px;}/*float the main list items*/

#nav li ul {display: none;}/*put the subnavs below and hide them all*/

#nav li.off ul, #nav li.on ul {clear:both; position: absolute; top: 33px; left: 0; height: 26px; width: 732px; background: #fff; padding: 10px 0 0 20px; margin: 0; background: url(bar.gif) 0 0 no-repeat;}

#nav li a{color: #066; display: block; height: 34px; width: 98px; padding: 0;}/*for all links in the list*/

#nav li.on a{ color: #066;}/*change border color for active topic area*/

#nav li.on ul { display: block; }/*display active subnav list*/

/*ie doesn't inherit the float*/
#nav li.on ul a, #nav li.off ul a {float: left; border: none; color: #fff; width: auto; margin-right: 10px; padding: 0;}

/*  display the other topics when their parent is hovered */

#nav li.off:hover ul, #nav li.over ul { display: block; z-index: 6000;}/* IE hack using the .over */

#nav li.off a:hover,#nav li.on a:hover,#nav li:hover a,#nav li.over a {color: #999;}/* font color on hover */

/*----------------- Image replacement using spans to offset the text --------------------*/

#nav li span {position: absolute; left: -9384px;}

#li_fisk a, #li_fyrirtaekid a, #li_landvinnslur a, #li_skip a, #li_framleidsla a, #li_myndir a {display: block; position: relative; height: 26px; background: url(tabs.gif) no-repeat;}

/*first, put the initial states in place*/

#li_fisk a {background-position: 0 0;}

#li_fyrirtaekid a {background-position: -99px 0;}

#li_landvinnslur a {background-position: -198px 0;}

#li_skip a {background-position: -297px 0;}

#li_framleidsla a {background-position: -396px 0;}

#li_myndir a {background-position: -495px 0;}

/*active area*/

#li_fisk.on a {background-position: 0 -48px;}
#li_fyrirtaekid.on a {background-position: -99px -48px;}
#li_landvinnslur.on a {background-position: -198px -48px;}
#li_skip.on a {background-position: -297px -48px;}
#li_framleidsla.on a {background-position: -396px -48px;}
#li_myndir.on a {background-position: -495px -48px;}

/*hover states*/

#li_fisk a:hover, #li_fisk:hover a, #li_fisk.over a {background-position: 0 -94px;}
#li_fyrirtaekid a:hover, #li_fyrirtaekid:hover a, #li_fyrirtaekid.over a {background-position: -99px -94px;}
#li_landvinnslur a:hover, #li_landvinnslur:hover a, #li_landvinnslur.over a {background-position: -198px -94px;}
#li_skip a:hover, #li_skip:hover a, #li_skip.over a {background-position: -297px -94px;}
#li_framleidsla a:hover, #li_framleidsla:hover a, #li_framleidsla.over a {background-position: -396px -94px;}
#li_myndir a:hover, #li_myndir:hover a, #li_myndir.over a {background-position: -495px -94px;}

/*subnav formatting*/

#nav li.off ul a, #nav li.on ul a {height: 16px; display: block; background: #fff; color: #066; font-family: arial, verdana, sans-serif;}	
#nav li.on ul a {background: #fff;}

/* To hide the other subnav text when empty li are selected */
#nav #li_myndir ul a{display: none;}

/* The rightmost tab */
#tab_samband span {position: absolute; left: -9384px;}
#tab_samband {display: block; height: 33px; width: 98px; position: absolute; top: 133px; right: 0; background: url(umslag.gif) 0 0 no-repeat; margin: 0; padding: 0;}
#tab_samband:hover {background-position: 0 -37px;}
