/* General styles and reset */
body {
	padding: 0;
	margin: 0;
	font-family: Arial, Verdana, sans-serif;
	font-size: 13px;
}

img { border: 0 }

a {
	text-decoration: none;
	color: #00a5df;
}

a:hover {
	text-decoration: underline
}


ul {
	margin: 0;
	padding: 0;
}

li {
	list-style: none;
}

h2 {
	font-size: 16px;
	font-weight: bold;
}

.content {
	width: 960px;
	margin: 0 auto;
	position: relative;
}

.placeholder { color: gray }

textarea {
	font-family: Arial, sans-serif;
	font-size: 13px
}

.arrowbutton {
	display: inline-block;
	background: url(i/arrowbutton.png);
	width: 102px;
	height: 45px;
	line-height: 40px;
	padding-left: 30px;
	color: #fff;
}

.arrowlink {
	background: 0 4px no-repeat url(i/bluearrow.png);
	padding-left: 10px;
}

/* typography */
.introduction {
	font-size: 20px
}

.pager>.selected {
	color: #000;
	font-weight: bold;
	text-decoration: underline
}

.cms-edit-button {
	font-style: italic
	border: 1px outset #d9e5f3;
	background: #d9e5f3
}
	
/* HEADER */
#header {
	background-image: url(i/top_gradient.png);
	background-repeat: repeat-x;
	padding: 1px;
	padding-top: 20px;
}

#header h1 {
	margin-top: 30px;
	margin-bottom: 10px;
}
/*
#fb-root {
	margin: 5px;
}
*/
#fb-container {
	width: 960px;
	height: 25px;
	margin: 5px;
}


#header h1 img { margin-top: -30px }

#toprightbar {
	position: absolute;
	top: -10px;
	right: 0;
	text-align: right
}

#sitesearch>input[type=text] {
	height: 16px;
	width: 110px;
	padding-right: 32px;
}

#sitesearch>input[type=submit] {
	vertical-align: top;
	height: 19px;
	width: 32px;
	margin-left: -32px;
	border: 0;
	background: url(i/searchbtn.png);
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}

/* NAVIBAR */
#navibar {
	position: relative
}

#navibar>* {
	height: 69px;
}

#navibar>.leftcap,#navibar>.rightcap {
	position: absolute;
	width: 9px;
	top: 0;
}

#navibar>.leftcap {
	background-image: url(i/navbarleftcap.png);
	left: -4px;
}

#navibar>.rightcap {
	background-image: url(i/navbarrightcap.png);
	right: -4px;
}

#navibar>.bar {
	margin: 0 9px;
	padding: 0;
	background: url(i/navbarbg.png);
	width: 950px;
	position: relative;
	left: -4px;
}

#navibar li {
	display: block;
	float: left;
	font-size: 20px;
	height: 31px;
	line-height: 31px;
	margin: 19px 20px 0 20px;
}

#navibar a {
	color: #fff;
}

#navibar .selected>a {
	color: #000
}

/* BREADCRUMB TRAIL */

#breadcrumbs {
	margin: 0.5em 0 1em 0;
	padding-left: 9px;
	font-size: 12px;
}

#breadcrumbs li {
	background-image: none;
	list-style: none;
	display: inline;
	margin-right: 0.2em
}

#breadcrumbs li:not(:last-child):after {
	margin-left: 0.2em;
	content: "»";
	color: #00a5df;
}

/* MAIN CONTENT */

#main { min-height: 400px }

#main p { margin: 1em 0 }

#main h1 {
	font-size: 26px;
	color: #00a5df
}

#main li {
	background-image: url(i/bluearrow.png);
	background-repeat: no-repeat;
	background-position: 0 4px;
	padding-left: 10px;
	margin: 0.5em 0;
}

#main input[type=text], #main textarea, #header input[type=text], #footer input[type=text] {
	border: 1px solid #7ab5c9;
	background-color: #f4f4f4;

	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;

	-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

#main input[type=submit], #footer input[type=submit] {
	border: 0;
	background: url(i/buttonbg.png);
	width: 132px;
	height: 30px;
	color: #fff;
	font-size: 16px;
	padding-bottom: 5px;
	cursor: pointer;
	cursor: hand;	
}

#main input[type=submit]:hover, #footer input[type=submit]:hover {
	background-image: url(i/buttonbg_hover.png);
}

/* decorative background image */
.decorbgtl, .decorbgtr, .decorbgbl, .decorbgbr {
	background-repeat: no-repeat;
}

.decorbgtl { background-position: top left }
.decorbgtr { background-position: top right }
.decorbgbl { background-position: bottom left }
.decorbgbr { background-position: bottom right }

/* decorated boxes (css3 version) */

.borderradius.boxshadow .decoratedbox {
	border: 1px solid #e0e0e0;
	
	background-image: url(i/decorbox/bgrad.png);
	background-position: bottom;
	background-repeat: repeat-x;
	padding: 0 20px 10px 20px;

	-moz-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
	-moz-border-radius: 6px;
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
	-webkit-border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.2);
	border-radius: 6px;
}

.borderradius.boxshadow .decoratedheaders h2 {
	background-image: url(i/decorbox/bluebar.png);
	color: #fff;
	margin: -2px -20px 20px -20px;
	padding: 0 20px;
	line-height: 46px;
	height: 42px;
	
	text-transform: uppercase;

	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

.decoratedbox h2 a {
	color: #fff;
}

.borderradius.boxshadow .decoratedheaders.green h2, .borderradius.boxshadow .decoratedheaders .green h2 {
	background-image: url(i/decorbox/greenbar.png);
}

.borderradius.boxshadow .decoratedheaders.purple h2, .borderradius.boxshadow .decoratedheaders .purple h2 {
	background-image: url(i/decorbox/purplebar.png);
}


.borderradius.boxshadow .squeezeheaders h2 {
	width: 70%;
	margin-left: 0!important;
	margin-top: 20px!important;

	-moz-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
	box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* decorated boxes (fallback version) */
.decoratedbox {
	margin: 0 0 2em 0;
	position: relative;
}

.decorboxheader {
	position: relative
}

.decorboxheader>div {
	position: absolute;
	width: 12px;
	top: 0;
}

.decorboxheader>* {
	height: 42px;
}

.decorboxheader>.leftcap {
	background-image: url(i/decorbox/blueleftcap.png);
}

.green .decorboxheader>.leftcap {
	background-image: url(i/decorbox/greenleftcap.png);
}
.purple .decorboxheader>.leftcap {
	background-image: url(i/decorbox/purpleleftcap.png);
}

.decorboxheader>.rightcap {
	background-image: url(i/decorbox/bluerightcap.png);
	right: 0;
}

.green .decorboxheader>.rightcap {
	background-image: url(i/decorbox/greenrightcap.png);
}
.purple .decorboxheader>.rightcap {
	background-image: url(i/decorbox/purplerightcap.png);
}

.decorboxheader>h2 {
	background-image: url(i/decorbox/bluebar.png);
	color: #fff;
	margin: 0 12px;
	padding: 0 20px;
	line-height: 46px;
}

.squeezeheaders .decorboxheader {
	width: 90%;
	margin-left: 0!important;
	margin-top: 20px!important;
}

.green .decorboxheader>h2 {
	background-image: url(i/decorbox/greenbar.png);
}

.purple .decorboxheader>h2 {
	background-image: url(i/decorbox/purplebar.png);
}

.purple_new {
	background-image: url(i/purplebox_bg.png);
}

.decorboxtopleft, .decorboxtop, .decorboxtopright {
	height: 9px;
	top: 0;
}

.decorboxtopleft {
	background-image: url(i/decorbox/tl.png);
	background-repeat: no-repeat;
}

.decorboxtopright {
	background-image: url(i/decorbox/tr.png);
	width: 9px;
	position: absolute;
	top: 0;
	right: 0;
}

.decorboxtop {
	background-image: url(i/decorbox/topbar.png);
	margin: 0 9px;
}

.decorboxbody {
	margin: 0 -1px 0 -2px;
	background-image: url(i/decorbox/leftborder.png);
	background-repeat: repeat-y;
}

.decorboxright {
	background-image: url(i/decorbox/rightborder.png);
	background-repeat: repeat-y;
	background-position: right
}

.decorboxcontent {
	background-image: url(i/decorbox/bgrad.png);
	background-position: bottom;
	background-repeat: repeat-x;
	margin: 0 6px;
	padding: 10px 20px;
}

.decorboxbl, .decorboxbr {
	width: 9px;
	height: 9px;
	position: absolute;
	bottom: 0;
}

.decorboxbl {
	background-image: url(i/decorbox/blcorner.png);
	left: 0;
}

.decorboxbr {
	background-image: url(i/decorbox/brcorner.png);
	right: 0;
}

.decorboxbtm {
	background-image: url(i/decorbox/bottomborder.png);
	background-repeat: repeat-x;
	margin: 0 9px;
	height: 9px;

}

.decoratedbox input, .decoratedbox textarea {
	width: 100%
}

/* Tooltip box */
.tooltipbox {
	position: absolute;
	width: 265px;
	min-height: 50px;
	display: none;
}

.tooltipboxarrow {
	position: absolute;
	width: 28px;
	height: 13px;
	left: 15px;
	top: -13px;
	background: url(i/tiparrow.png);
}

.no-boxshadow .tooltipboxarrow {
	top: -10px;
}


#tooltipbody {
	margin: 10px 5px;
}
/* 3 column layouts */
.col-1-2 {
	width: 400px;
	min-height: 325px;
	margin: 0 10px;
	padding: 0 10px;
	float: left;
}

.col-1-wrap {
	position:relative;
	width:946px;
	margin: 0 7px;
	margin-bottom: 8px;
}

.col-1-header {
	width:960px;
	height: 110px;
	vertical-align: center;
	margin-bottom: 20px;
	margin-top: -16px;
}

.col-1-header h1 {
	letter-spacing: 2px;
	font-size: 36px !important;
	font-weight: bold;
	position: absolute;
	left: 32px;
	top: 6px;
}

.col-2-3 {
	width: 280px;
	margin: 0 10px;
	padding: 0 10px;
	float: left;
}

/* Box decorations */
.separator-right {
	background: right no-repeat url(i/separator.png);
	min-height: 325px;
}

/* AJAX cover */
.ajaxprogress {
	position: absolute;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	background-image: url(i/ajax-loader.gif);
	background-repeat: no-repeat;
	background-position: center;
}

/* FOOTER */
#footer {
	background: #dbdbdb repeat-x url(i/btm_gradient.png);
	padding-bottom: 1em;
	margin-top: 1em;
	clear: both;
}

#footer .content {
	padding-top: 1em;
}

#footer h2 { margin-top: 0 }

#footer p { margin: 1em 0 }

#footer ul ul {
	padding-left: 1em
}

#footer li {
	padding: 2px 0;
}

#footer ul ul>li {
	background-image: url(i/bluearrow.png);
	background-repeat: no-repeat;
	background-position: 0 5px;
	padding-left: 10px;
}

#footer .column {
	width: 20%;
	float: left;
}

#copyrightrow {
	margin-top: 1em;
	text-align: center;
	clear: both;
}


/* new "tarjontamme" page*/
.decoratedbox_newpurple {
    border: 1px solid #e0e0e0;

    background-image: url(i/purplebox_bg.png);
        background-repeat: no-repeat;
	padding: 0px 20px 10px 20px;
	margin-bottom:10px;

    -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    -moz-border-radius: 8px;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    -webkit-border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
	border-radius: 8px;
	width:242px;
	height:412px;
}

.decoratedbox_newpurple>h2 a {
	text-transform:uppercase;
	color:#FFF;
}

.decoratedbox_newpurple a img {
	margin-top:30px;
}

.mainpage-box {
	margin-top: 240px;
	margin-bottom: 80px;
	float: left;
}

.mainpage-box-side img {
	margin-top: -217px;
	margin-bottom: 14px;
	#position: absolute;
	#top: -203px;
	#display: block;
	#margin-left: auto;
	#margin-right: auto;
}

.mainpage-box-mid img {
	margin-top: -269px;
}

.mainpage-box h1 {
	text-transform: uppercase;
}

.mainpage-box-side {
	position: relative;
	top: 16px;
	width:260px;
	#height: 150px;
}

.mainpage-box-side h1 {
	font-size: 22px !important;
	text-align: center;
}

.mainpage-box-mid h1 {
	text-transform: uppercase;
	font-size: 28px !important;
	text-align: center;
	margin-top:0px;
	margin-bottom: 0px;
}

.mainpage-box-mid {
	float: left;
	margin-top:240px;
	width: 260px;
	height: 205px;
	margin-left: 16px;
	margin-right: 16px;
}

.decoratedbox_frontpage {
        border: 1px solid #e0e0e0;

        background-image: url(i/etu-valmissoftatbox.png);
        background-position: center center;
        background-repeat: no-repeat;
        padding: 0 20px 10px 20px;

        -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        -moz-border-radius: 8px;
        -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        -webkit-border-radius: 8px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        border-radius: 8px;
}
.decoratedbox_frontpage_mid {
        border: 1px solid #e0e0e0;

        background-image: url(i/etu-konsultointibox.png);
        background-position: center center;
        background-repeat: no-repeat;
        padding: 0 20px 10px 20px;

        -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        -moz-border-radius: 8px;
        -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        -webkit-border-radius: 8px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        border-radius: 8px;
}


