/* 
	-----------------------------------------------------
	Stylesheet Harstad kommune 
	-----------------------------------------------------
*/

/* Simple Reset and Utils */
body, h1, h2, h3, h4, h5, h6, p { margin: 0px; padding: 0px; }
a img { border: none; }
.clearfix { clear: both; font-size: 1px; height: 0px; }

/* Defaults */
body { background-color: #f4f4f4; color: #333; font-family: Verdana, sans-serif; font-size: 12px; line-height: 1.5em; }

/* Headlines */
h1, h2, h3, h4, h5, h6 { margin-top: 4px; }
h1 { font-size: 2em; font-weight: normal; padding-bottom: 10px; line-height: 1.2em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1.0em; }
h6 { font-size: 1.0em; }

p { margin: 4px 0px 16px 0px; }

.body img {	margin: 3px 0px 5px; }
.body img[align="left"] { margin-left: 0; margin-right: 10px; }
.body img[align="right"] { margin-right: 0; margin-left: 10px; }

div.forum { clear: both; }

/* General links */
a:link,
a:visited { color: #336699; text-decoration:none; }
a:hover { color:#333; text-decoration:underline; }

/* Standard navigation links */
.menu a:link,
.menu a:visited {text-decoration: none;}
.menu a:hover,
.menu a.menuselected:link,
.menu a.menuselected:visited,
.menu a.menuselected:hover { text-decoration: underline; }

.frontpage #path { display:none; }

/* Sitemap */
.tree { font-weight: normal; }
a.tree:link { text-decoration: none; color: #000000; }
a.tree:visited { text-decoration: none; color: #000000; }
a.tree:hover { text-decoration: underline; color: #000000; }
.sitetree { font-weight: normal; }
a.sitetree:link { text-decoration: none; color: #000000; }
a.sitetree:visited { text-decoration: none; color: #000000; }
a.sitetree:hover { text-decoration: underline; color: #000000; }

/* SECTION: Standard CP classes*/
div.date, span.date { color: #999999; font-size: 0.9em; }
.author { color: #333333; font-size: 0.9em; }

/* Standard tools */
div.tools { margin: 20px 0px 0; border-top:1px solid #eee; border-bottom:1px solid #eee; padding:10px; background:#fafafa; }
div.tool { margin: 10px 0px 0; }
#skiplink { position: absolute; left: -1000px; width: 900px; }

div.pagebar { padding: 10px 0px; clear: both; }
.pagebar.prev { margin-right: 10px; }
span.arrow { padding: 0px 3px; }

/* SECTION: listing/view styles */
div.pagedescription { margin: 0 0 16px; }
h1.headline { font-size: 1.3em; margin: 0px; padding: 0px; }
h1.headlineview { margin: 0px; padding: 0px; }
.subheadline, 
h2.subheadline { font-size: 1.0em; font-weight: normal; margin: 5px 0px 0px 0px; padding: 0px; line-height: 1.0; }

div.ingress,
div.ingressview { margin: 6px 0px; padding: 0px; }
p.byline, .byline { margin: 0px; padding: 0px; }

/* SECTION: Articlemedia */
div.articlemedia { width: 250px; float: right; margin-left: 10px; }
div.articleimage { margin-bottom: 10px; }
div.articleimagedesc, 
i.paragraphpictext { font-style: italic; padding: 1px 2px; }

/* SECTION: viewarea block/spacing elements */
.block, .articleblock { margin-bottom: 15px; }
.articleblock .imgwrap { float: left; width: 32.5%; }
.articleblock .imgwrap img { max-width: 100%; height: auto; }
.articleblock .textwrap { float: right; width: 65%; }

.articleblock.news .textwrap .imgwrap { float:left; width:50px; }
.articleblock.news { padding:5px 0 0; margin-bottom:5px; }
.articleblock.news.article0 { background:none; padding-top:10px; }
.articleblock.news.article2 { margin-bottom:0; }

.articleblock.mainlisting { border-top:1px solid #eee; padding:10px 0 0; }
.articleblock.mainlisting.article0 { border-top:none; padding-top:0; }

/* Full text width if no listing image */
div.articleblock.nopic .textwrap { float: none; width: auto; }

/* 2-spalter */
div.twocol .articleblock { width: 49%; }
div.twocol .articleblock.pair0 { clear: both; float: left; }
div.twocol .articleblock.pair1 { clear: right; float: right; margin-right: 0; }

/* 3-spalter */
div.threecol .articleblock { width: 220px; float: left; margin: 0 10px; }
div.threecol .articleblock.treble0 { clear: both; margin-left:0; }
div.threecol .articleblock.treble2 { clear: right; float: right; margin-right:0; }
.frontpage .threecol .imgwrap { float:none; clear:both; width:100%; margin-bottom:10px; }

.listingarea hr, div.hr /* Replacement for hr (easier to style in older browsers) */{
	background-color: transparent;
	border-width: 0 0 1px;
	border-style: solid;
	border-color: #000000;
	font-size: 1px;
	clear: both;
	height: 10px;
	margin-bottom: 10px;
}
div.body { clear: both; margin: 0px 0px 22px 0px; }
div.articleparagraph { margin-bottom: 16px; }

/* SECTION ARTPICS */
td.artpic { padding: 5px; vertical-align: top; text-align: left; }
/* SECTION: page containers */ 
#page {	width: 980px; margin: 0 auto; padding: 0; text-align: left; background-color: #fff; border: 1px solid #ccc; }
#top { margin: 0px; padding: 0px; position:relative; }
#navbar { float: left; margin-left: 20px; width: 220px; margin-top:20px; }
#main { float: left; min-height: 500px; width: 460px; margin:20px; }
#mainsidebar { float: right; width: 220px; margin-right:20px; margin-top:20px; }

/* #main when no sidebar */
.widemain #main { float: right; width: 700px; }
.widemain #navbar { margin-right: 0; }
.widemain #mainsidebar { display: none; }

.frontpage #navbar { display:none; }
.frontpage #main { width:700px; }

/* #main when no sidebar or navbar */
.widefull #main { float: none; width: auto; }
.widefull #navbar, 
.widefull #mainsidebar { display: none; }

#footer {
	clear: both;
	padding:10px 20px;
	border-top:1px solid #eee;
	background-color: #f7f7f7;
	overflow:hidden;
	line-height: 175%;
}

/* Box */
.box { padding: 0px; margin: 0px 0px 15px 0px; position: relative; }
.box .cell { padding: 10px 0; }
.box ul { padding: 0px; margin: 0px 0px 0px 0px; list-style-type: none; }
.box ul li { margin: 0px 0px; padding: 0px; }
.box ul ul { padding-left: 10px; }
.box p { padding: 0px; margin: 0px 0px 5px 0px; }
.box h3.caption { padding: 0px; margin: 0px; }

.box.yellow { background: #f9f5e6; }
.box.yellow h3.caption { padding:10px 10px 0; }
.box.yellow .cell { padding:10px; }

.box.blue { background:#dcf0f8; padding-bottom:5px; }
.box.blue h3.caption { padding:10px; }
.box.blue .cell { padding:10px; }

.box.lightBlue { background:#f2fafc; }
.box.lightBlue h3.caption { padding:10px; }
.box.lightBlue .cell { padding:10px; }

.box.grey { background:#ededed; }
.box.grey h3.caption { padding:10px; }
.box.grey .cell { padding:10px; }

/* SECTION: page elements */
#logo { margin-top:25px; margin-left:25px;float: left; }
#weather { float: right; margin-right: 20px; padding-top: 7px; }

a.scaletext { color: #336699; }
a.scaletext, a.scaletext:hover { cursor: pointer; }
#scalenormal { font-size: 12px; }
#scalelarge { font-size: 15px; }
#scalelargest { font-size: 18px; }

/* Path */
#path { margin: 0; text-align:left; border-bottom:1px solid #eee; padding:10px 20px; } 
#path span.arrow { padding: 0px 3px; }

/* Menu */
ul.menu, ul.submenu { padding: 0px; margin: 0px; list-style-type: none; }
ul.submenu, ul.menu ul { padding-left: 10px; }
ul.menu li, ul.submenu li { margin: 0px; padding: 0px; }
ul.menu li.spacingabove { margin-top: 10px; }
ul.menu li.spacingbelow { margin-bottom: 10px; }

ul.topmenu { list-style-type: none; display: inline; overflow:hidden; }
ul.topmenu li { display: inline; margin:0; }
ul.topmenu li a { margin-left: 20px; line-height: 25px; padding-left: 15px; background: transparent url(http://img8.custompublish.com/getfile.php/2251687.1878.sddpqfvyyd/icon_topnav_arrow.png) no-repeat center left; }

ul#mainmenu { list-style:none; margin:0; padding:0; overflow:hidden; background-color: #eee; border-bottom:3px solid #00a2d9; }
ul#mainmenu li { float:left; display:inline; margin:0; padding:0; }
ul#mainmenu li a{display:inline-block; padding:13px 20px 10px; }
ul#mainmenu li a:hover { background:#e1e1e1; padding:11px 20px; }
ul#mainmenu li.itemselected a { text-decoration:none;  background:#00a2d9; color:#fff; padding:12px 20px; }

ul#childmenu { list-style:none; margin:0; padding:0 10px; }
ul#childmenu li { margin:0; border-bottom: 1px dotted #ccc; padding:5px 0 6px; }
ul#childmenu li a.menuitemselected,
ul#childmenu li.itemselected a { font-weight:bold; color:#333; }
ul#childmenu li.lastitem{ background:none; padding-bottom:6px; }
ul#childmenu ul { margin:4px 0 0; }
ul#childmenu ul li { background:none; padding:2px 0 2px 10px; }
ul#childmenu li.itemselected ul li a { font-weight: normal; color:#336699; }
ul#childmenu li.itemselected ul li.itemselectedcurrent a { font-weight:bold; color:#333; }
					
ul#infomenu { list-style:none; margin:0; padding:0 10px; }
ul#infomenu li { margin:0; border-bottom: 1px dotted #ccc; padding:5px 0 6px; }
ul#infomenu li a.menuitemselected,
ul#infomenu li.itemselected a { font-weight:bold; color:#333; }
ul#infomenu li.lastitem { background:none; padding-bottom:10px;	}
					
/* Footer menu */					
ul#footermenu { list-style: none; margin-bottom: 10px; }
ul#footermenu li { display: inline; margin-right: 15px; }
		
#blurbArticle { overflow:hidden; margin-bottom:20px; }
#blurbArticle .textBlurb h1 { font-size:24px; font-weight:300; margin-top:0; }
.blurbs { margin:0 10px 20px; padding:45px 10px 10px; float:left; display:inline; background:#dcf0f8; width:200px; }
.blurbs.first { margin-left:0; background:url(http://img8.custompublish.com/getfile.php/1494612.1878.xwdrxbbtwc/bg_blurbsSprite.png) 0 0 no-repeat #dcf0f8; }
.blurbs.second { background:url(http://img8.custompublish.com/getfile.php/1494612.1878.xwdrxbbtwc/bg_blurbsSprite.png) -240px 0 no-repeat #dcf0f8; }
.blurbs.third { margin-right:0; background:url(http://img8.custompublish.com/getfile.php/1494612.1878.xwdrxbbtwc/bg_blurbsSprite.png) -480px 0 no-repeat #dcf0f8; }
.blurbs ul { list-style:none; margin:10px 0; padding:0; width:200px; }
.blurbs ul li { margin:0; padding:5px 0 6px; border-bottom: 1px dotted #ccc; }
.blurbs ul li a.menuitemselected,
.blurbs ul li.itemselected a { font-weight:bold; color:#333; }
.blurbs li.lastitem { background:none; padding-bottom:7px; }

.textBlurb {
	min-height: 120px;
}

.textBlurb .imgwrap img {
	height: auto;
	margin-right: 30px;
}


.listBlurb {
	border: 1px solid #eee;
	margin-top: 20px;
	padding: 0;
}


.listBlurb ul {
	list-style: none;
	line-height: 1.2em;
	margin: 0;
	padding: 0;
}

.listBlurb ul li a{
	display: block;
	padding: 4px 15px;
}
.listBlurb ul li:nth-child(odd) a {
	background: #eee;
}



#tools { list-style-type: none; }
#tools li { background-position: center left; background-repeat: no-repeat; }

#searchform { display: inline-block; margin-left: 20px; }
#searchform2 { margin-bottom: 20px; }

div#contactlist input { display: inline; float: none; }
div#contactlist input.searchsubmit { color: black; text-indent:0px; border: 1px solid #cccccc; }

.icalendardayhead { background-color: #CECECE; }
.monthlycalendartable { width: 100%; }
.calendardate { color:#333333; font-size: 0.9em; }
.errmsg { font-weight: bold; color: #AA0000; }
input.newslettersubemail { width: 98%; }

/* Weathertable */
table.weathertablefivedays { }
table.weathertablefivedays td {	padding: 5px; }
table.weathertablefivedays td.weatherlocname { width: 100px; font-weight: bold; }
.weatherdaylabel, td.weatherfivedays { width: 75px; }

/* Kalenderliste */
h2.dayheader { border-bottom: 1px solid #CCCCCC; font-size: 1.1em; font-weight: bold; margin-top: 10px; }
div.calendarentry { font-size: 0.9em; }
span.caltime { margin-right: 15px; }
div.vevent { border: 1px solid #666666; background-color: #EEEEEE; padding: 5px; }
.eventwhen{
	background:url(http://img8.custompublish.com/getfile.php/1495277.1878.yrvbyrdpau/bg_eventWhen.gif) top left no-repeat; 
	display:inline-block; 
	height:20px; 
	line-height:20px; 
	font-size:10px; 
	width:42px; 
	text-align:center;
	float:left;
	margin-right:5px;
}
.eventwhat { display:inline-block; float:left; width:170px; padding:2px 0; }
.kalenderbox ul { margin:10px 0; }
.kalenderbox ul li{ overflow:hidden; width:100%; padding:5px 0 6px;}
.kalenderbox .links, .articlelist .links {text-align:right; font-style:italic;}
.viewcard { padding: 10px; border: 1px solid gray; margin: 10px; background-color: #f2f2f2; }

.slide { position:relative; }
.slide .mask { position:absolute; bottom:0; left:0; }

/* Harstad kommune */
.clear { clear: both; }
hr { border-collapse: collapse; border-top: 1px solid #ddd; }
div.hk-driftsmelding { padding-left: 22px; background: url(http://img8.custompublish.com/getfile.php/1572605.1878.fevpfeqtvf/alert.png) no-repeat; }
div.hk-sistenytt{ padding-left: 22px; background: url(http://img8.custompublish.com/getfile.php/1572619.1878.acydvffxcr/article.png) no-repeat; }

.DataTables_sort_wrapper { cursor: pointer; }
.DataTables_sort_wrapper { padding-left: 20px; position: relative; text-align: left; }
.DataTables_sort_wrapper .DataTables_sort_icon { position: absolute; left: 0; top: 1px; }

/* DIVERSE */
.telephone, .telefon, .phone, .tlf { white-space: nowrap; }
.hk-nb { border: 1px solid #ccc; background-color: #efefef; padding: 10px; }
.hk-safe-community { float:right; clear: right; padding: 13px 10px 10px 0px; }
.hk-safe-community2 { float:right; padding-left:15px; margin-left:15px; border-left:1px dashed #ccc; }

/* ARTIKLER */
.ingressview { font-weight: bold; }
.attachmentimage { padding-right: 5px; }
.viewarea a { text-decoration: underline; }

/* DATATABELLER */
.hk-datatable { border-collapse: collapse; border: 1px solid #ccc; width: 100%; }
.hk-datatable caption { font-style: italic; padding-bottom: 3px; padding-top: 10px; }
.hk-datatable th, .hk-datatable td { padding: 5px; border: 1px solid #ccc; }
.hk-datatable th { background-color: #F2FAFC; }

/* PRISLISTE */
.hk-datatable .sectiontitle { font-size: 1.4em; background-color: #f2fafC; padding-top: 10px; padding-bottom: 10px; }
.hk-datatable .itemtitle { font-size: 1.2em; padding-top: 15px; font-weight: bold; }
.hk-datatable .subitemtitle { padding-top: 10px; font-weight: bold; }
.hk-datatable .mva { text-align: center; white-space: nowrap; }
.hk-datatable .unit { white-space: nowrap; }
.hk-datatable .pris { text-align: right; white-space: nowrap; }
.hk-datatable .sectionremark { font-style: italic; }
.hk-datatable .sectionlast td { padding-bottom: 25px; }
.hk-datatable .center { text-align: center; }
.hk-datatable .nowrap { white-space: nowrap; }
.hk-datatable-remark { font-style: italic; }

/* LISTER */
.siteform-list-item { padding-bottom: 15px; }
.losboks .eksterlenkeinfo { padding-left: 22px; padding-bottom: 10px; background: url(http://img8.custompublish.com/getfile.php/1572619.1878.acydvffxcr/article.png) no-repeat; }
.rightlinkbox .item { padding-left: 22px; padding-bottom: 10px; background: url(http://img8.custompublish.com/getfile.php/1572619.1878.acydvffxcr/article.png) no-repeat; }
.skjemalosboks .loslink { padding-left: 22px; padding-bottom: 10px; background: url(http://img8.custompublish.com/getfile.php/1615827.1878.wfwppbwbuw/page_white_edit.png) no-repeat; }
.enheterlosboks .loslink { padding-left: 22px; padding-bottom: 10px; background: url(http://img8.custompublish.com/getfile.php/1572619.1878.acydvffxcr/article.png) no-repeat; }
.hk-sistenytt { padding-bottom: 10px; }
.hk-sistenytt .headline { padding-bottom: 0px; margin-bottom: 0px; }

/* SKJEMA */
.cpselementcontainer { padding-bottom: 10px; }
.cpstextheading, div.cpsimpleform label { font-weight: normal; }

/* BILDER */
.inlinephoto { font-style: italic; padding-bottom: 15px; }
.photocaption, .bildetekst { font-style: italic; }
.inlinephotoright, .hk-inlinephotoright { padding-left: 15px; float: right; }
.article-imagelist img { margin-left: 10px; padding: 5px; border: 1px solid #ccc; background-color: #efefef; }

.hk-formtable-alphabet { margin: 20px 0px 20px 0px; color: #ccc; text-align: center; }
.hk-formtable-alphabet a { text-decoration: none; }
.hk-formtable { border-collapse: collapse; width: 100%; margin: 0px auto; }
.hk-formtable th, .hk-formtable td { padding: 3px; }
.hk-formtable-title { text-align: left; }
.hk-formtable-icon { width: 40px; text-align: center; }
.hk-formtable-icon, .hk-formtable-title { border: 1px solid #ccc; border-collapse: collapse; }
.hk-formtable-letter { width: 20px; text-align: center; font-weight: bold; }
.hk-formtable caption { font-style: italic; color: #aaa; padding-bottom: 10px; }

h2.tbHeading { padding-top: 20px; }
a.att { color: #999; }
.tb li { padding-bottom: 5px; }
.centeredtext { text-align:center; }

/* HK 2013 - New social topbar */
.hk2013-topbar { color: #fff; background-color: #0090d1; padding-top: 7px; padding-bottom: 7px; font-weight: bold; }
.hk2013-topbar-inner { width: 980px; margin: 0px auto; text-align: right; }
.hk2013-topbar a { color: #fff; text-decoration: none; }
.hk2013-topbar a:hover { text-decoration: underline; }
.hk2013-topbar-nav-item	{ margin-left: 20px; padding-left: 30px; line-height: 25px; display: inline-block; }
.hk2013-topbar .item-rss { background: transparent url(http://img8.custompublish.com/getfile.php/2251421.1878.tvpcdseffr/icon_social_rss.png) no-repeat center left; }
.hk2013-topbar .item-twitter { background: transparent url(http://img8.custompublish.com/getfile.php/2251422.1878.sqspavfref/icon_social_twitter.png) no-repeat center left; }
.hk2013-topbar .item-youtube { background: transparent url(http://img8.custompublish.com/getfile.php/2251423.1878.vrftaapudu/icon_social_youtube.png) no-repeat center left; }
.hk2013-topbar .item-flickr { background: transparent url(http://img8.custompublish.com/getfile.php/2251420.1878.dsusvbyfdd/icon_social_flickr.png) no-repeat center left; }
.hk2013-topbar .item-contrast { background: transparent url(http://img8.custompublish.com/getfile.php/2251602.1878.qxdyvaafcd/icon_setcontrast.png) no-repeat center left; margin-right: 20px; }

/* HK 2013 - New top nav bar */
.hk2013-topnav { background-color: #fff; margin-bottom: 20px; padding-top: 7px; padding-bottom: 7px; border-bottom: 1px solid #ccc; }
.hk2013-topnav-inner { width: 980px; margin: 0px auto; text-align: right; }
.hk2013-topnav a { color: #333; text-decoration: none; }
.hk2013-topnav a:hover { color: #000; text-decoration: underline; }
.hk2013-topnav .topnav-link { margin-left: 20px; line-height: 25px; padding-left: 15px;	background: transparent url(http://img8.custompublish.com/getfile.php/2251687.1878.sddpqfvyyd/icon_topnav_arrow.png) no-repeat center left; }
		
/* HK 2013 - New Logo Header */
.hk2013-logoheader { width: 980px; margin: 30px auto 30px auto; }
.hk2013-logo-hk { float: left; }
.hk2013-logo-sc { float: right; margin-top: 5px; }

/* HK 2013 - New search */
.hk2013-searchsubmit {}
.hk2013-searchinput { padding: 5px; border: 0px; background-color: #eee; } 

/* HK 2013 - Poweredby */
.poweredby { margin: 10px auto 100px auto; width: 980px; text-align: right; color: #aaa; }
.poweredby a { text-decoration: none; color: #aaa; }

@media print {
	* { background-color: #FFFFFF !important; background-image: none !important; border-color: #666666 !important; color: #000000 !important; }
	body { font-size: 11pt; font-family: Georgia, "DejaVu Serif", "Times New Roman", Serif !important; }
	#top, #topnav, #navbar, #subnavbar, #mainsidebar, #footer, #searchform, .corner, #taleweb, #PAFTOOLBAR, .cpeditlinks { display: none !important; }
	#page, #main { width: auto !important; }
	.side { padding: 0; }
	.box, .articleblock { page-break-inside: avoid; }
	th { background-color: #CCCCCC !important; color: #000000 !important; }
	tr:nth-child(2n+1) { background-color: #DEDEDE !important; }
	tr:nth-child(2n+1) { background-color: transparent !important; }
	#main .articleblock a:after, 
	#main .body a:after { content:" (" attr(href) ") "; font-size:0.8em; font-weight:normal; font-style: italic; text-decoration: none !important; color: #897699; }
}