/* @override 
	http://www.primas.fi/dev/assets/css/style.css
	http://www.primas.fi/assets/css/style.css
*/

/* -----------------------------------------------------------

	Project:		Prima Shipping
	Version:		1.0
	Created:		09/02/2010
	Modified:
	
		[Table of contents]
		1. Reset
		2. Typography
			2.1	Headings
			2.2	Text elements
			2.3	Lists
			2.4	Tables
			2.5	Forms
		3. Structure
			3.1	Header
			3.2	Navigation
			3.3	Content
			3.4	Footer
		4. Clear floats
	

/* -----------------------------------------------------------

	Reset
	
----------------------------------------------------------- */

img, div, input, ul, li, a, #navi ul { behavior: url("./iepngfix.htc") }

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table 			{ border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th 	{ vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a img { border: none; }


/* -----------------------------------------------------------

	Typography
	
----------------------------------------------------------- */

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
body { 
	font-size: 75%;
	color: #252525;
	line-height: 1.5;
	font-family: Arial, sans-serif;
}
/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #002457; font-family: "Times New Roman", sans-serif; }

h1 { font-size: 2.5em; line-height: 1; margin-bottom: 0.5em; font-weight:bold;}
h2 { font-size: 1.5em; margin-bottom: 0.75em; font-weight: bold;}
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; height: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; }
p img       { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { color: #002457; text-decoration: underline;}
a           { color: #002457; text-decoration: none;}

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre,code    { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; } 


/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { float: left;
display: inline; margin: 0 1.5em 0em 1.5em; }
ul li{
	float: left;
	display: inline;
	width: 100%;
}
ul          { list-style-type: none; }
ol          { list-style-type: none; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; background: #C3D9FF; }
th,td       { padding: 4px 10px 4px 5px; }
tr.even td  { background: #E5ECF9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Forms
-------------------------------------------------------------- */

label { font-weight: bold;float: left;display: inline;}

fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }
#contact-form{
	float: left;
	display: inline;
	width: 300px;
}
#contact-form p{
	float: left;
	display: inline;
	width: 100%;
	margin-bottom: 0.5em;
}
input{
	float: left;
	display: inline;
	border: none;
	text-indent: 5px;
	padding-top: 5px;
	outline: 0 !important;
	width:290px;
	height: 30px;
	background: transparent url(../img/input-bg.gif) no-repeat -1px 0;
}
input#file{
	float: left;
	display: inline;
	border: 1px solid #ccc;
	padding-top: 0px;
	margin-left: -5px;
	_margin-left: 0px;
	*margin-left: 0px;
	outline: 0 !important;
	height: 18px;
	background:#f6f6f6;
	width: 250px;
}
input#submit{
	width: 80px;
	height: 35px;
	cursor: pointer;
	margin-top: 5px;
	background: transparent url(../img/send-btn.gif) no-repeat 0 0;
}
input.checkbox{
	float: left;
	display: inline;
	width:15px;
	margin-right: 10px;
	height: 13px;
}
.field{
	float: left;
	display: inline;
	width: 100%;
	padding-bottom: 10px;
}

textarea            { font-family:arial, sans-serif; font-size: 1em;width: 275px; height: 115px; xmargin:0.5em 0.5em 0.5em 0; }
textarea, textarea:focus            { border:none; background:transparent url(../img/textarea-bg.gif) no-repeat -1px 0; padding:5px; }

select              { border:1px solid #ccc; background:#f6f6f6; width:200px; }
select:focus        { border:1px solid #999; background:#fff; }


/* -----------------------------------------------------------

	Structure
	
----------------------------------------------------------- */

body {
	background: #f2f2f2 url(../img/body-bg.gif) repeat-x  top center;
	text-align: center; /*ie hack for centered layout. if not centered, remove this line and the next hack in wrapper*/
}

#wrapper {
	margin: auto;
	background: none;
	width: 970px; /*fill in the width of the page*/
	text-align: left; /*for previous ie hack*/
}
#page{
	width: 100%;
	margin: auto;
	overflow: hidden;
	background: transparent url(../img/bg.png) no-repeat center 10px;
}

/* Header
-------------------------------------------------------------- */

#header{
	float: left;
	display: inline;
	width: 960px;
	position: relative;
	padding: 30px 0 0 11px;
}
#header-logo a{
	float: left;
	display: inline;
	width: 150px;
	height: 62px;
	background: transparent url(../img/PrimaShippingGroup.png) no-repeat 0 0;
	_background: transparent url(../img/PrimaShippingGroup.gif) no-repeat 0 0;
}
#header-top-links{
	position: absolute;
	top: 20px;
	right:10px;
}
#header-top-links a{
	float: left;
	display: inline;
	color: #6c6c6c;
	padding-right: 20px;
}
#header-top-links a:hover{
	text-decoration: none !important;
}
#header-top-links a#sitemap{
	padding-left: 20px;
	background: transparent url(../img/sitemap-icon.gif) no-repeat 0px 0;
}
#header-top-links a#print{
	padding-left: 20px;
	background: transparent url(../img/print-icon.gif) no-repeat -0px 0px;

}
/* Navigation
-------------------------------------------------------------- */

#navi{
	float: left;
	display: inline;
	width: 770px;
	margin:5px 0 0 23px;
	z-index: 2;
	font-size: 1.25em;
}
#navi2{
	float: left;
	display: inline;
	width: 750px;
	margin:5px 0 0 46px;
	z-index: 2;
}
#navi ul{
	float: left;
	display: inline;
	width: 770px;
	background: transparent url(../img/navi-bg.png) no-repeat right center;
	_background: transparent url(../img/navi-bg.gif) no-repeat center right;
	border: none;
}
#navi2 ul{
	float: left;
	display: inline;
	width: 735px;
	background: transparent url(../img/navi-bg-uusi.png) no-repeat right center;
	_background: transparent url(../img/navi-bg-uusi.gif) no-repeat center right;
	border: none;
}
#navi ul li{
	float: left;
	display: inline;
	width: auto;
}
#navi2 ul li{
	float: left;
	display: inline;
	width: auto;
	margin: 0 10px 0 8px;
}
#navi ul li a{
	float: left;
	display: inline;
	width: auto;
}
#navi2 ul li a{
	float: left;
	display: inline;
	width: auto;
	font-size: 15px;
}
#navi ul li a:hover, #navi ul li a:focus, #navi ul li a:active, #navi2 ul li a:hover{
	text-decoration: none !important;
}
.lavaLampBottomStyle {
            position: relative;
            height: 29px;
            width: 421px;
            background-color: white;
            padding: 15px 0 15px 10px;
            margin: 10px 0;
            border: 1px solid gray;
        }
.lavaLampBottomStyle2     {
	 		position: relative;
            height: 29px;
            width: 421px;
            background-color: white;
            padding: 15px 0 15px 15px;
            margin: 10px 0;
            border: 1px solid gray;
}  
        .lavaLampBottomStyleSub {
            position: relative;
            width: 421px;
            background-color: white;
            padding: 15px;
          	padding-top: 0;
            overflow: hidden;
            border: 1px solid gray;
        }
                .lavaLampBottomStyle li {
                    float: left;
                    display: inline;
                    width: auto;
                    text-align: center !important;
                    margin: 0 4px 0 3px;
                    list-style: none;
                }
                .lavaLampBottomStyle2 li{
	 				float: left;
                    display: inline;
                    width: auto;
                    text-align: center !important;
                    margin: 0 2px 0 3px;
                    list-style: none;
				}
                .lavaLampBottomStyleSub li, .lavaLampBottomStyleSub2 li{
	 				float: left;
                    display: inline;
                    width: auto;
                    text-align: center !important;
                    margin: 0 5px 0 5px;
                    list-style: none;
				}
                    .lavaLampBottomStyle li.back, .lavaLampBottomStyle2 li.back{
                        background: transparent url(../img/lava.gif) repeat-x bottom center;
                        height: 33px;
                        z-index: 8;
                        position: absolute;
                    }
                     .lavaLampBottomStyleSub li.back, .lavaLampBottomStyleSub2 li.back {
                        border-bottom: 3px solid #08387c;
                        height: 25px;
                        margin: 0 10px 0 -7px;
                        z-index: 8;
                        position: absolute;
                    }
                 
                    .lavaLampBottomStyle li a{
                        text-decoration: none;
                        color: #002457;
                        outline: none;
                        font-family: times, "times new roman", serif !Important;
                        text-align: center !important;
                        top: 2px;
                        z-index: 10;
                        display: block;
                        float: left;
                        height: 30px;
                        position: relative;
                        overflow: hidden;
                        margin:0 0 0 5px;
                    }  
                    .lavaLampBottomStyle2 li a{
	    				text-decoration: none;
                        color: #002457;
                        outline: none;
                        font-family: times, "times new roman", serif !Important;
                        text-align: center !important;
                        top: 2px;
                        z-index: 10;
                        display: block;
                        float: left;
                        height: 30px;
                        position: relative;
                        overflow: hidden;
                        margin:0 0 0 15px;
					}
                    .lavaLampBottomStyleSub li a, .lavaLampBottomStyleSub2 li a {
						text-decoration: none;
                        color: #002457;
                        outline: none;
                        font-family: times, "times new roman", serif !Important;
                        text-align: center !important;
                        font-size: 1.25em;
                        z-index: 10;
                        display: block;
                        float: left;
                        height: 28px;
                        top: -5px;
                        position: relative;
                        overflow: hidden;
                        margin:0 10px 0 0px;
}
.lavaLampBottomStyle li a:hover, .lavaLampBottomStyle li a:active, .lavaLampBottomStyle li a:visited, a.selected, .lavaLampBottomStyleSub li a:hover, .lavaLampBottomStyleSub li a:active, .lavaLampBottomStyleSub a:visited {
 border: none;
 }                     
#sddm
{	
	z-index: 30;
	}
	

#sddm div#m1
{	position: absolute;
	top: 48px;
	left: 135px;
	visibility: hidden;
	z-index: 100;
	margin: 0;
	padding: 7px 0 0 0;
	width: 185px;
	height: 175px;
	background: transparent url(../img/dropdown-bg.png) no-repeat 0 0;}

#sddm div p{
		clear: both !Important;
		display: block !Important;
		float: left;
		font-size: 15px;
		width: 170px !Important;
		margin: 5px 0 2px 0;
		vertical-align: ;
		text-align: center !Important;
}

	#sddm div p a
	{	float:none !Important;
		font-size: 15px;
		width: auto !important;
		text-align: center !Important;}

	#sddm div a:hover
	{border-bottom: 2px solid #08387c}


#subnavi{
	float: left;
	display: inline;
	width: 580px;
	background: none;
	border-bottom: 1px solid #d1d1d1;
}
#person{
	margin-top: 10px !Important;
}

#subnavi ul, #subnavi-shipping ul{
	float: left;
	display: inline;
	width: 580px;
	height: 33px;
	margin: 0;
}
#subnavi ul li, #subnavi-shipping ul li{
	float: left;
	display: inline;
	width: auto;
	height: 30px;
}
ul li.title{
	float: left;
	display: inline;
	width: auto;
	padding: 0 10px 0 0;
	font-weight: bold;
	font-size: 15px;
	font-family: "times new roman";
	color: #808080;
}
#subnavi ul li a, #subnavi-shipping ul li a{
   	color: #002457;
   	outline: none;
   	font-family: times, "times new roman", serif !Important;
    text-align: center !important;
    font-size: 1.25em;
    z-index: 10;
    display: block;
    float: left;
    height: 31px;
    position: relative;
    overflow: hidden;
    margin:0 10px 0 0px;
}
#subnavi ul li img, #subnavi-shipping ul li img{
	margin: 5px 10px 0 0px;
}
#subnavi ul li a:hover, #subnavi ul li a.active, #subnavi-shipping ul li a:hover, #subnavi-shipping ul li a.active{
	border-bottom: 3px solid #08387c;
}
#subnavi-shipping ul{
	float: right;
	display: inline;
	width: 590px;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #d1d1d1;
}

/* Content
-------------------------------------------------------------- */

#content-frontpage{
	float: left;
	display: inline;
	width:950px;
	background: #e0e0e0;
	border: 1px solid #c6c6c6;
	padding: 0px 10px 10px 10px;
}
#content-frontpage a, #content a{
	text-decoration: none !Important;
}
#content{
	float: left;
	display: inline;
	width: 882px;
	min-height: 500px;
	height: auto !important;
	height: 500px;
	background: #fff;
	margin: 0 0 0 10px;
	z-index: 10;
	border: 1px solid #c6c6c6;
	padding: 30px;
}
.contact-person{
	float: left;
	display: inline;
	width: 170px;
	height: 270px;
	margin: 0 35px 0 0;
}
.contact-person p span.italic{
	font-style: italic;
}
.contact-person p strong{
	font-weight: bold;
	color: #002457;
}
.category p{
	margin-bottom: 0.5em;
}
#flash-container{
	float: left;
	display: inline;
	width: 530px;
	height: 358px;
	padding-top: 10px;
}
#flash{
	float: left;
	display: inline;
	width: 530px;
	height: 358px;
}
.frontpage-left-column{
	float: left;
	display: inline;
	width: 420px;
	margin: 0 0px 0 0px;
}
.frontpage-left-column-box{
	float: left;
	display: inline;
	width: 180px;
	margin: 10px 0 0 10px;
	padding: 2px 0 0px 20px;
	background: transparent url(../img/frontpage-box.gif) no-repeat 0 0;
	height: 172px;
}
.frontpage-left-column-box h2 a{
	display: block;
	outline: 0 !Important;
}
.frontpage-left-column-box p{
	padding-top: 5px;
}
#frontpage-content-lower{
	float: left;
	display: inline;
	width: 100%;
	padding: 20px 10px 10px 10px;
}
.frontpage-content-lower-wide-box{
	float: left;
	display: inline;
	padding: 35px;
	width: 460px;
	height: 140px;
	background: #fff;
	margin-right: 10px;
	border: 1px solid #c6c6c6;
}
.frontpage-content-lower-wide-box p, .frontpage-content-lower-wide-box a{
	font-size: 1.3em;
	display: inline;
	width: 100%;
	margin-bottom: 0;
}
.frontpage-content-lower-box{
	float: left;
	display: inline;
	background: #fff;
	width: 157px;
	height: 170px;
	border: 1px solid #c6c6c6;
	padding: 20px;
	margin-right: 10px;
}
.frontpage-content-lower-box p{
	float: left;
	display: inline;
	width: 160px;
}
.frontpage-content-lower-wide-box a:hover, .frontpage-content-lower-box a:hover{
	text-decoration: none !important;
}
.frontpage-content-lower-box h2, .subpage-content-left-bottom-box h2{
	background: transparent url(../img/read-more-icon.gif) no-repeat center right;
}
.news-text{
	float: left;
	display: inline;
	width: 500px;
	margin-bottom: 20px;
	border-bottom: 1px solid #ccc;
}
.news-text p{
	float: left;
	display: inline;
	width: 100%;
	margin-bottom: 1.5em;
}
#download{
	float: left;
	display: inline;
	width: 100%;
	padding:0;
	border: none;
}
#environment{
	background: #fff url(../img/environment-bg.jpg) no-repeat right bottom;
}
#recruitment{
	background: #fff url(../img/recruitment-bg.jpg) no-repeat right bottom;
}
#subpage-content-left{
	float: left;
	display: inline;
	width: 260px;
}
.category{
	float: left;
	display: inline;
	width: 100%;
	clear: both;
	padding-bottom: 0px;
}
#subpage-content-left-img{
	float: left;
	display: inline;
	width: 260px;
	padding: 0 0 10px 0;
}
.subpage-content-left-bottom-box{
	float: left;
	display: inline;
	width: 207px;
	padding: 10px 30px 20px 20px;
	border: 1px solid #c6c6c6;
}
.subpage-content-left-bottom-box p{
	width: 170px;
}
.subpage-content-left-shipping{
	float: left;
	display: inline;
	margin-top: 33px;
	border-top:1px solid #c6c6c6;
}
#subpage-content-right{
	float: left;
	display: inline;
	width: 580px;
	padding: 0px 0px 40px 40px;
}
#subpage-content-right h2{
	float: left;
	display: inline;
	width: 100%;
	font-size: 1.2em;
	color: #222;
}
#subpage-content-right-shipping{
	float: left;
	display: inline;
	width: 590px;
	padding: 30px 0px 40px 30px;
}
#subpage-content-right-shipping h1{
	padding-left: 10px;
}
#subpage-content-right-shipping-right{
	float: left;
	display: inline;
	width: 260px;
	padding: 0px 0px 40px 30px;
	_padding: 0px 0px 40px 20px;
}
#subpage-content-right-shipping-right a.file{
	float: left;
	display: inline;
	width: 260px;
	height: 51px;
	margin: 25px 0 0 0;
	background: transparent url(../img/file-bg.png) no-repeat 0 0;
}
#subpage-content-right h1{
	float: left;
	display: inline;
	width: 100%;
	padding: 1em 0 0.4em 0;
}
.top h1{
	padding-top: 0 !important;
	margin-top: 0 !Important;
}
.subpage-content-ingress{
	float: left;
	display: inline;
	width: 100%;
	font-size: 1.4em;
	padding: 0 0 1em 0;
}
.subpage-shipping-image-link{
	float: left;
	display: inline;
	width: 260px;
	height: 80px;
	cursor: pointer;
	border-bottom:1px solid #c6c6c6;
}
.subpage-shipping-image-link a{
	float: left;
	display: inline;
	outline: 0 !Important;
	line-height:5.6em;
	font-size: 1.25em;
	font-family: "Times New Roman", serif;
	background: #000;
}
.subpage-shipping-image-link a span{
	float: left;
	display: inline;
	width: 120px;
	height: 80px;
	cursor: pointer;
	padding-left: 20px;
	background: #fff url(../img/read-more-icon.gif) no-repeat right center !important;
}
.subpage-shipping-image-link a img.ship-image{
	float: left;
	display: inline;
	width: 115px;
	height: 80px;
} 
.subpage-shipping-image-link a img{
	opacity: 0.3;
	filter: alpha(opacity = 30);
}
.subpage-shipping-image-link a:hover img, .subpage-shipping-image-link a.active img{
	width: 115px;
	height: 80px;
	opacity: 0.9;
	filter: alpha(opacity = 90);
}
.shipping-details ul{
	float: left;
	display: inline;
	width: 300px;
	margin: 0;
	padding: 0;
}
.shipping-details ul li{
	float: left;
	display: inline;
	width: 300px;
	text-indent: 10px;
	padding-top: 6px;
	height: 24px;
}
.shipping-details ul li span{
	float: left;
	display: inline;
	width: 70px;
	font-weight: bold;
}
.shipping-details ul li.grey{
	background: #ededed;
}

/* Classes
------------------------------------------------------------*/
a.read-more{
	text-decoration: none;
	padding-right: 10px;
	background: transparent url(../img/read-more-icon.gif) no-repeat right center;
}
a.readmore{
	float: left;
	display: inline;
	width: 100%;
	*padding-bottom: 20px;
}
.no-margin{
	margin: 0 !important;
}
.no-padding{
	padding: 0 !important;
}
.border-top{
	border-top: 1px solid #c6c6c6;
}
.red{
	color: red;
	font-weight: bold;
}
#clear{
	clear: both !Important;
}
/* Footer
-------------------------------------------------------------- */
#footer{
	float: left;
	display: inline;
	width: 948px;
	font-size: 0.8em;
	margin-top: 10px;
	margin-bottom: 20px;
	margin-left: 5px;
	background: transparent url(../img/footer-border-shorter.gif) no-repeat right center;
	_background: transparent url(../img/footer-border-ie.gif) no-repeat right center;
	*background: transparent url(../img/footer-border-ie.gif) no-repeat right center;
}
#footer-firstpage{
	float: left;
	display: inline;
	width: 955px;
	font-size: 0.8em;
	margin-top: 10px;
	margin-bottom: 20px;
	margin-left: 5px;
	background: transparent url(../img/footer-border.gif) no-repeat right center;
	_background: transparent url(../img/footer-border-ie.gif) no-repeat right center;
	*background: transparent url(../img/footer-border-ie.gif) no-repeat right center;
}
#footer ul, #footer-firstpage ul{
	float: left;
	display: inline;
	width: 100%;
	margin: 0 0 0 5px;	
}
#footer ul li, #footer-firstpage ul li{
	float: left;
	display: inline;
	width: auto;
	letter-spacing: 0em;
	margin: 0;
	padding:0 4px 0 0;
}
#footer ul li span,  #footer-firstpage ul li span{
	padding-left: 4px;
}

/* -----------------------------------------------------------

	Clear floats
	
----------------------------------------------------------- */
.wrapper 		{ display: inline-block; }
.wrapper:after 	{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
* html .wrapper { height: 1%; }
.wrapper 		{ display: block; }
