/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #76BDED; color: #fff; text-shadow: none; }
::selection { background: #76BDED; color: #fff; text-shadow: none; }

a { color: #1A799F; }
a:visited { color: #1A799F; }
a:hover { color: #639FC6; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

::-webkit-input-placeholder {
    color:    #999;
}

:-moz-placeholder {
    color:    #999;
}

/* ===============
    ALL: IE Fixes
   =============== */
   
.ie7 #title{ padding-top:20px; }

/* ===== Primary Styles ========================================================
   Author: Juhamatti Rintaluoma
   ========================================================================== */
*:not(.ui-widget){
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
}

body {
	font-family: "myriad-pro", "MyriadPro","Myriad Pro","Arial";
	font-size: 0.8125em; /* 13px */
	font-weight: normal;
	position: relative;
	z-index: 10;
}

div.feedbackContainer{
	margin-top: 10px;
	overflow: auto;
}

a.feedbackLink,
div.addthis_toolbox{
	float: left;
}

div#loggedInUser{
	background-color: #EF8F00;
	top: 9.692307692307692em; /* 126px; */
	color: white;
	font-weight: 100;
	padding: 0 1%;
	position: absolute;
	right: 0;
	text-align: right;
	width: 98%;
}

div#main-background{
	background-image: url("img_jpg_tut_tausta.jpg");
	background-position: center bottom;
	background-size: 100% auto;
    background-repeat: no-repeat;
    bottom: 0;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: -1;
    display: none;
}

span.updated{
	font-weight: 100;
	font-size: 0.923076923076923em;
}

img,object,video,embed{
	max-width: 100%;
}

input[type="text"]{
	border: 1px solid #DBDBDB;
	padding: 2px;
	margin: 1px;
}

nav a{
	text-decoration: none;
}

.button{
	background-color: #76BDED;
    color: white !important;
    display: inline-block;
    height: 1.384615384615385em; /* 18px; */
    line-height: 1.538461538461538em; /* 20px; */
    padding: 0.076923076923077em 0.384615384615385em; /* 1px 5px; */
    text-decoration: none;
}

div.title{
	display: none;
}

div#top-background{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 16em; /* 208 / 13 */
	display: none;
}

div#main-wrapper{
    margin: 0 auto;
    padding: 0 0.833333333333333%;
    max-width: 1200px;
    min-width: 220px;
    position: relative;
    width: 98.333333333333333%;
}

div#main-wrapper > header{
	width: 98.333333333333333%; /* 100% - 2x0.833333333333333% */
	margin: 0 0.833333333333333%; /* 10px / 1200px */
	position: relative;
	overflow: hidden;
	height: auto;
}

div#content{
    position: relative;
    margin: 0;
    display: block;
    margin: 0;
    width: 100%;
    letter-spacing: -0.230769230769231em; /*-3px*/;
}

div#content section *{
	letter-spacing: normal;
}

nav.targetgroups,
nav.main{
	overflow: hidden;
}

div.logo{
	position: absolute;
	top: 5.769230769230769em; /* 75px; */
	left: 0px;
	width: 95%;
	min-width: 230px;
	overflow: hidden;
}

div.logo a{
	width: 100%;
	display: block;
}

/* Letter spacing fix for display: inline-block */
nav.targetgroups ul,
nav.main ul{
	letter-spacing: -3px;
}

nav.targetgroups li,
nav.main li{
	display: inline-block;
	zoom:1;
	*display: inline;
	letter-spacing: normal;
	vertical-align: bottom;
}

a#lang-link{
	position: absolute;
	right: 7%;
	top: 15.931em;
	color: black;
	text-decoration: none;
	font-size: 0.923076923076923em;
}

hr{
	border: 0;
	color: #46c8ff;
	background-color: #46c8ff;
	height: 1px;
	width: 100%;
	text-align: left;
}

img.right{
	float: right;
	margin: 0 0 1.169590643274854% 1.169590643274854%;
}

a.hiddenAnchor{
	position: absolute;
	visibility: hidden;
	left; 0;
	top: -30px;
}

/* =============================================================================
   Main content areas
   ========================================================================== */
   
/* Main content area with 2/3 space in 2 columns */
section.main-content-2-3{
	display: inline-block;
	position: relative;
	background-color: white;
	margin-bottom: 1.694915254237288%;
    margin-left: 0.833333333333333%;
    margin-right: 0.833333333333333%;
    padding: 1.6666666666667%;
    float: left;
    width: 95%;
}

/* Main content area with 1/1 space in 1 columns */
section.main-content-1-1{
	display: inline-block;
	position: relative;
	background-color: white;
	margin-bottom: 1.694915254237288%;
    margin-left: 0.833333333333333%;
    margin-right: 0.833333333333333%;
    padding: 1.6666666666667%;
    float: left;
    width: 95%;
}

div.sub-content{
	margin-left: 0px;
	width: 100%;
	float: left;
	min-height: 11.538461538461538em; /*150px;*/
	height: auto;
}

/* Kuvakehykset */
div.kuvakehys-kokopalsta{
	max-width: 96,66666666666667%;
	margin: 15px 0 15px 0;
}

div.kuvakehys-oikea,
div.kuvakehys-vasen{
    float: none;
    margin: 15px 0 15px 0;
    max-width: 100%;
}

div.kuvakehys-vasen p,
div.kuvakehys-oikea p,
div.kuvakehys-kokopalsta p{
	font-size: 0.923077em !important;
    font-weight: 100;
    text-align: left;
    margin: 0 !important;
}

/* Nostolaatikot */

div.slide-laatikko{
	background-color: #F7F7F7;
    border-left: 10px solid #FF9C01;
    height: 7em;
    margin: 10px 0;
    overflow: hidden;
    padding: 10px;
    position: relative;
    width: 94%;
    z-index: 998;
    zoom: 1;
}

div.slide-laatikko div.gradient{
	background-image: url("img_png_slidebox.png");
	background-repeat: repeat-x;
    bottom: 0;
    height: 25px;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 999;
}

div.slide-laatikko a.slide-laatikko-toggle{
    background-color: #FF9C01;
    bottom: 0;
    color: #FFFFFF;
    font-size: 18px;
    height: 18px;
    line-height: 18px;
    position: absolute;
    right: 0;
    text-align: center;
    text-decoration: none;
    width: 18px;
    z-index: 1000;
}

div.luettelo-vasen,
div.luettelo-oikea,
div.nostolaatikko-vasen,
div.nostolaatikko-oikea{
    border: 1px solid #999999;
    float: none;
    margin: 10px 0;
    overflow: auto;
    padding: 3.54086%;
    width: 91%;
}

div.nostolaatikko-kokopalsta{
	padding: 10px;
	margin: 10px 0;
	background-color: #F1F1F1;
	border-top: 5px solid #336699; 
	width: 96%;
	overflow: auto;
}



/* Lainauslaatikko */
div.lainaus-vasen,
div.lainaus-oikea{
	background-color: #EAEAEA;
    clear: both;
    float: none;
    margin: 10px auto;
    min-width: 230px;
    overflow: auto;
    padding: 37px 25px;
    position: relative;
    width: 80%;
}

div.lainaus-vasen:before,
div.lainaus-oikea:before{
	background: url("http://rajapinta.tut.fi/_sys_/images/rajapinta/symQuoteLeft.gif") no-repeat scroll left bottom transparent;
	content: "";
	font-size: 1em;
	height: 27px;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

div.lainaus-vasen:after,
div.lainaus-oikea:after{
	background: url("http://rajapinta.tut.fi/_sys_/images/rajapinta/symQuoteRight.gif") no-repeat scroll right bottom transparent;
	bottom: 0;
	content: "";
	font-size: 1em;
	height: 27px;
	left: 0;
	position: absolute;
	width: 100%;
}

/* =============================================================================
   Headings
   ========================================================================== */

div.sub-content h1{
	font-size: 2em;
    font-weight: normal;
    margin-bottom: 10px;
    margin-top: 0;
}

div.sub-content article.news h1,
div.sub-content article.webcontent h1,
div.sub-content article.event h1{
	float: none;
	font-weight: 100;
	/*font-size: 2.307692307692308em;*/
	font-size: 1.692307692307692em;
	width: 100%;
}

div.sub-content article.news h3,
div.sub-content article.webcontent h3,
div.sub-content article.event h3{
	font-weight: 100;
	/*font-size: 1.692307692307692em;*/
	font-size: 1.384615384615385em;
	margin: 1em 0 0.25em;
}

div.sub-content article.news h4,
div.sub-content article.webcontent h4,
div.sub-content article.event h4{
	font-weight: 100;
	/*font-size: 1.384615384615385em;*/
	font-size: 1.284615384615385em;
	margin: 1em 0 0.25em;
}

/* =============================================================================
   News block
   ========================================================================== */

section.block.news ul{
	list-style: none;
	margin: 0;
}
   
li.news-item{
	clear: both;
	margin-bottom: 4%;
}

li.news-item a span.updated{}
li.news-item a p{}

li.news-item a{
	display: block;
    overflow: auto;
    text-decoration: none;
}

li.news-item h2{
	margin: 0px;
	text-decoration: underline;
}
   
li.news-item img{
	margin-top: 0.461538461538462em;
}

/* =============================================================================
   News block with events 
   ========================================================================== */
li.news-item.event a span.updated{
	display: block;
	float: left;
	line-height: 2em;
	padding-left: 2%;
	text-align: left;
	width: 28%;
}
li.news-item.event h2{
	display: block;
	float: left;
	width: 69%;
}

/* =============================================================================
   Events
   ========================================================================== */
   
section.events{
	width: 100%;
	margin: 0;
	overflow: auto;
}

section.events header{
 	background: url("main-nav-bg-png.png") repeat-y scroll left center transparent;
    height: 55px;
    line-height: 4.23077em;
    padding: 0 1.66666666667%;
    text-align: left;
    margin: 0 0 0.8333333333% 0.8333333333%;
    width: 95%;
}

section.events header h1{
	font-weight: normal;
	font-size: 1.84615em;
	margin: 0;
}

section.events.icon-news header h1{
	background-image: url("block-icon-news-m-png.png");
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 45px;
}

section.events ul{
	list-style: none;
	padding: 0;
	margin: 0;
}

section.events li.event-item article ul{
	list-style: disc;
	margin: 0 0 0 1em;
    padding: 0;
}

section.events li.event-item{
	background-color: white;
	float: left;
	width: 94.1666666667%;
	padding: 1.6666666666667%;
	padding-right: 2.4999999999667%;
	list-style-type: none;
	min-height: 170px;
	margin: 0.8333333333%;
	position: relative;
	overflow: hidden;
}

section.events li.event-item:after{
	background-color: #B4DC00;
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 1.7%;
}

section.events li.event-item h2{
	margin-top: 0;
	margin-bottom: 0.2em;
	font-weight: bold;
	font-size: 1.07692em;
	line-height: 1em;
}

section.events li.event-item p{
	margin: 0;
}

section.events li.event-item img{
	float: left;
	/*margin: 0 2% 2% 0;
	max-width: 30%;
	max-height: 170px;*/
}

section.events li.event-item div.editBlock img{
	max-width: 100%;
}

section.events li.event-item div.editBlock{
	right: 13px;
}

/* Block icons */
section.events li.event-item header h1{
	background-position: left center;
    background-repeat: no-repeat;
    margin: 0;
    padding-bottom: 5px;
    padding-left: 0px;
    padding-top: 5px;
    font-size: 1.692307692307692em; /* 22px */
    line-height: 1.136363636363636em;
}

section.events li.event-item header h1 a{
	text-decoration: none;
}

section.events li.event-item header{
	margin: 0;
	padding: 0;
	height: auto;
}

section.events li.event-item.block-icon-news header h1{
	background-image: url("block-icon-news-m-png.png");
	padding-left: 45px;
}
section.events li.event-item.block-icon-co-op header h1{
	background-image: url("block-icon-co-op-m-png.png");
	padding-left: 45px;
}
section.events li.event-item.block-icon-person header h1{
	background-image: url("block-icon-person-m-png.png");
	padding-left: 45px;
}
section.events li.event-item.block-icon-key header h1{
	background-image: url("block-icon-key-m-png.png");
	padding-left: 45px;
}
section.events li.event-item.block-icon-twitter header h1{
	background-image: url("block-icon-twitter-m-png.png");
	padding-left: 45px;
}
section.events li.event-item.block-icon-rajapinta header h1{
	background-image: url("block-icon-rajapinta-m-png.png");
	padding-left: 45px;
}
section.events li.event-item.icon-henkilohaku header h1{
	background-image: url("icon-henkilohaku-m-png.png");
	padding-left: 45px;
}
section.events li.event-item.icon-uutiset-ja-tapahtumat header h1{
	background-image: url("icon-uutiset-ja-tapaht-m-png.png");
	padding-left: 45px;
}


/* =============================================================================
   Main navigation
   ========================================================================== */

nav.main{
	position: relative;
	/*top: 11.153846153846154em; 145px;*/
	text-align: left;
	width: 100%;
	z-index: 100;
	background: url("main-nav-bg-png.png") repeat-y 80% center;
	margin-top: 11.153846153846154em;
}

html.lt-ie8 nav.main{
	top: 13.846153846153846em;
	margin-top: 0;
}

html.lt-ie8 header{
	height: 20em !important;
}


nav.main li a{
	display: block;
	height: 2em; /*26px / 13 */
   	line-height: 2em;
	padding: 0.307692307692308em 0.769230769230769em; /* 4px 10px; */
	color: #222222;
	border-right: 1px solid #81CBFC;
}

nav.main li{
	width: auto;
	min-width: 28%;
	border-bottom: 3px solid #81CBFC;
	text-align: center;
}

nav.main li.navItem4,
nav.main li.navItem5{
	width: auto;
	border-bottom: 0px;
}

.active, .active a{
	color: #ff9b00 !important;
}

nav.main li.active a{
	background-color: white;
}

nav.main li a:hover{
	background-color: #FF9B00;
    color: white;
}

nav.main li.active a:hover{
	color: white !important;
}

/* =============================================================================
   Breadcrumb
   ========================================================================== */

nav.breadcrumb{
	min-height: 2.307692307692308em; /* 30px; */
	width: 100%;
	background-color: #47c8ff;
	overflow: auto;
	position: relative;
}

nav.breadcrumb span{
	color: white;
    line-height: 2.230769230769231em; /*29px;*/
}

nav.breadcrumb span a,
nav.breadcrumb span a.active{
	color: white !important;
}

nav.breadcrumb span a:hover{
	text-decoration: underline;
}

div.sn{
	display: block;
    height: 2.230769230769231em; /*29px;*/
    width: 6.461538461538462em; /*84px;*/
    position: absolute;
    bottom: 0;
}

div.bc{
    width: 70%;
    margin-left: 6.461538461538462em; /*84px;*/
}

/* =============================================================================
   Sub navigation
   ========================================================================== */
nav#sub-nav{
	background-color: white;
    float: left;
    height: auto;
    overflow: hidden;
    position: absolute;
    top: -1000px;
    width: 75%;
    opacity: .94;
    padding: 0.833333333333333%;
    left: 1.933333333333333%;
    z-index: 102;
    -webkit-box-shadow:  2px 2px 8px 0px rgba(0, 0, 0, 0.6);
    box-shadow:  2px 2px 8px 0px rgba(0, 0, 0, 0.6);
}

nav#sub-nav ul ul{
	margin: 0;
}

nav#sub-nav.menuActive{
	top: 0px !important;
	background-color: #FBFCFF;
}

a#subNavToggle{
	background-image: url("menu-active-png.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: white;
    cursor: pointer;
    float: left;
    height: 2.230769230769231em; /*29px;*/
    line-height: 2.230769230769231em; /*29px;*/
    padding-left: 1.923076923076923em; /*25px;*/
    text-align: left;
    width: 3.769230769230769em; /*49px;*/
}

nav#sub-nav ul li a{
	color: #222222;
    display: block;
    font-size: 1.230769230769231em;
    margin: 1px 0;
    padding: 5px 0;
}

nav#sub-nav ul li a:hover{
	color: #1EB2ED;
}

nav#sub-nav ul > li{
	background: url("sub-nav-background-png.png") no-repeat left bottom;
	position: relative;
	padding-left: 10px;
}

nav#sub-nav ul > li:last-child{
	background: none;
}

nav#sub-nav ul > li:before{
	content: ">";
	display: block;
	position: absolute;
	top: 0.5em;
	left: 0;
}

nav#sub-nav ul li ul li:before{
	content: "";
}

nav#sub-nav ul li ul li{
	background: none;
	padding: 1px 0;
}

nav#sub-nav ul li ul li a{
	font-size: 1.076923076923077em;
	padding: 0;
}

nav#sub-nav ul li ul li ul li a{
	font-weight: 100;
	line-height: 1em;
	font-size: 1em;
}

nav#sub-nav ul li ul{
	margin-left: 5%;
}

/* =============================================================================
   Target group navigation
   ========================================================================== */

nav.targetgroups{
	display: none;
	position: absolute;
	top: 0px;
	text-align: right;
	width: 98.333333333333333%;
	background-image: url("targetgroup-nav-bg-png.png");
	background-repeat: repeat-y;
	background-position: 61% center;
	padding: 0 0.833333333333333%;
}

nav.targetgroups li{
	margin: 0;
	margin-left: 5px;
}


nav.targetgroups li a{
	color: #222222;
	display: block;
	font-size: 0.923077em;
	height: 3.33333em;
	line-height: 3.33333em;
	padding: 0 5px;
}
nav.targetgroups li a:hover{
	background-color: #FF9B00;
    color: white;
}
/* =============================================================================
   Support navigation
   ========================================================================== */
div#support-nav-container{
	left: 50%;
    margin-left: -50%;
    position: absolute;
    top: 2%;
    width: 100%;
}

nav.support{
	display: block;
	right: 0;
	text-align: center;
}

nav.support li{
	display: inline;
}

nav.support li a{
	color: white;
	display: inline-block;
	height: 2.25em; /*27px; / 12 */
	line-height: 2.25em;
	text-align: center;
	vertical-align: middle;
	font-size: 0.923076923076923em;
}



/* =============================================================================
   Icons
   ========================================================================== */
nav.support li a.icon{
	padding: 0em 0.166666666666667em ;
    background-repeat: no-repeat;
	background-position: 0.416666666666667em center;
	font-weight: 100;
}

/* =============================================================================
   Search
   ========================================================================== */
   
section.search{
	background-color: rgba(255, 255, 255, 0.38);
	height: 1.692307692307692em; /* 22px; */
	padding: 1.5%;
	text-align: left;
	top: 2.692307692307692em; /* 35px; */
	font-size: 0.923077em;
}
section.search input{
 	background-color: #F7F7F7;
    border: 0 none;
    display: block;
    float: left;
    height: 1.833333333333333em; /*22px;*/
    margin: 0;
    padding: 0 0.416666666666667em; /*0 5px;*/
    width: 86%;
}

.button.search{
	background-image: url("etsi-png.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    color: transparent;
    display: block;
    float: right;
    height: 1.666666666666667em; /*20px;*/
    text-indent: -9000px;
    width: 5%;
}


/* =============================================================================
   Columns
   ========================================================================== */
   
div.columns{
	float: left;
	display: block;
	width: 98.305084745762712%;
	margin: 0 0.847457627118644%;
}

/* =============================================================================
   Blocks
   ========================================================================== */
section.block{
	display: inline-block;
	position: relative;
	zoom:1;
	*display: inline;
	background: white no-repeat top right;
	margin-bottom: 1.694915254237288em;
	margin-left: 0.833333333333333%;
	margin-right: 0.833333333333333%;
	padding: 1.6666666666667%;
    width: 95%;
    overflow: auto;
    vertical-align: top;
}

section.block h1{
	margin-top: 0;
	font-size: 2em;
    font-weight: normal;
}


section.block header{
	min-height: 3.846153846153846em; /*50px;*/
    padding-bottom: 0.230769230769231em; /* 5px; */
}

section.block h2{
	font-weight: bold;
	font-size: 1.076923076923077em;
	margin-bottom: 0;
}

section.block p{
	font-size: 1.076923076923077em;
	margin: 0;
	color: #555555;
}

iframe{
	border: 0;
	overflow: auto;
	height: 700px;
}

/* Content */
section.block article p{
	margin: 0.25em 0 1em;
}

section.block article h1{
	font-size: 1.6em;
	margin-bottom: 10px;
	margin-top: 5px;
}

section.block ul{
	margin: 0 0 0 1em;
	padding: 0;
}

section.block.twitter h2{
	font-weight: normal;	
}

section.block.twitter{
	min-height: 400px;
}

section.block.twitter div.embed{
	position: relative;
    height: 352px;
    overflow: auto;
    margin-top: 10px;
}

section.block.twitter div.embed iframe,
section.block.twitter div.embed object,
section.block.twitter div.embed embed{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

section.block.rajapinta aside{
	padding: 5.08475%;
	background-color: #f6f6f6;
    bottom: 0;
    left: 0;
    position: absolute;
    width: 100%;
    overflow: hidden;
}

section.block.rajapinta aside h1{
	color: #00C4EC;
    font-size: 1.4em;
    text-transform: uppercase;
}

/* BG */
section.block.bar-green{
	background-image: url("block-bg-green-m-gif.gif");
}

section.block.bar-orange{
	background-image: url("block-bg-orange-m-gif.gif");
}

section.block.bar-blue{
	background-image: url("block-bg-blue-m-gif.gif");
}

/* Block icons */
section.block header h1{
	background-position: left center;
    background-repeat: no-repeat;
    margin: 0;
    padding-bottom: 5px;
    padding-left: 0px;
    padding-top: 5px;
    font-size: 1.692307692307692em; /* 22px */
    line-height: 1.136363636363636em;
}

section.block header h1 a{
	text-decoration: none;
}

section.block.block-icon-news header h1{
	background-image: url("block-icon-news-m-png.png");
	padding-left: 45px;
}
section.block.block-icon-co-op header h1{
	background-image: url("block-icon-co-op-m-png.png");
	padding-left: 45px;
}
section.block.block-icon-person header h1{
	background-image: url("block-icon-person-m-png.png");
	padding-left: 45px;
}
section.block.block-icon-key header h1{
	background-image: url("block-icon-key-m-png.png");
	padding-left: 45px;
}
section.block.block-icon-twitter header h1{
	background-image: url("block-icon-twitter-m-png.png");
	padding-left: 45px;
}
section.block.block-icon-rajapinta header h1{
	background-image: url("block-icon-rajapinta-m-png.png");
	padding-left: 45px;
}
section.block.icon-henkilohaku header h1{
	background-image: url("icon-henkilohaku-m-png.png");
	padding-left: 45px;
}
section.block.icon-uutiset-ja-tapahtumat header h1{
	background-image: url("icon-uutiset-ja-tapaht-m-png.png");
	padding-left: 45px;
}

div#blocksContainer{
	display: inline-block;
	width: 100%;
}

/* =============================================================================
   Footer
   ========================================================================== */

footer#main{
	background-color: #F6F6F6;
    position: relative;
    width: 100%;
    min-height: 350px;
    overflow: auto;
    display: block;
}

div#footer-content-container{
	margin: 10px 0 auto;
	width: 100%;
	background-color: #E1E1E1;
    background-repeat: no-repeat;
    background-position: left bottom;
    bottom: 0;
    position: relative;
    height: auto;
    overflow: auto;
}

div#footer-content{
	margin: 0 auto;
	max-width: 1180px;
	min-width: 220px;
	overflow: auto;
	padding: 0 1.66666666666%;
	width: 96.66666666668%
}

footer#main ul{
	list-style-type: none;
	padding: 0;
}

footer#main a{
	color: #181818;
	text-decoration: none;
	font-size: 0.923076923076923em;
}

div.footer-logo{
	width: 260px;
	margin: 0 auto;
}

div.footer-column{
	display: block;
    padding-top: 0px;
    float: left;
    padding-right: 40px;
}

div.footer-column p{
	margin-top: 0;
}

div.footer-column ul{
	margin-top: 0;
}

div.footer-column.col1{
	margin-top: 20px;
	width: 90%;
	float: none;
	padding-top: 0px;
}

/* =============================================================================
   News item
   ========================================================================== */
   
article.news{

}

article.news p{
	margin: 0.25em 0 1em 0;
	font-size: 1.076923076923077em;
}

article.news figure{
	max-width: 46.7836257309942%;
	float: right;
	margin: 15px 0 15px 15px;
}

article.news.event figure{
	float: right;
    margin: 15px 0 0;
    max-width: 100%;
    text-align: center;
    width: 100%;
}

article.news img.oikea{
	float: right;
	margin: 15px 0 15px 15px;
}

article.news img.vasen{
	float: left;
	margin: 15px 15px 15px 0px;
}

article.news figure figcaption{
	width: 99%;
	font-weight: 100;
	font-size: 0.923076923076923em;
	text-align: left;
}

article.news time{
	clear: right;
    color: #2AA4D7;
    display: block;
    float: right;
    height: 2.307692307692308em; /*30px;*/
    line-height: 2.307692307692308em; /*30px;*/
    right: 30px;
}

article.news div.item-nav{
	border-bottom: 1px solid #46c8ff;
	margin-bottom: 15px;
	overflow: auto;
}

article.news div.item-nav a{
	text-transform: uppercase;
	text-decoration: none;
	margin-right: 3%;
	line-height: 30px;
	display: block;
	float: left;
}

article.news footer{
	clear: both;
    font-size: 0.923077em;
    font-weight: 100;
    padding: 1.666666666666667em 0 0;
}

article.news.item.event span.updated{
	display: block;
    margin-top: -1.3em;
}

article.news.item.event table.tapahtumaDetails{
	float: left;
	width: 50%;
    margin-bottom: 15px;
    margin-top: 15px;
}

article.news.item.event table.tapahtumaDetails td{
	padding: 5px;
}

article.news.item.event div.event-content{
	clear: both;
}

/* =============================================================================
   Media Queries
   ========================================================================== */
@media screen and (min-width: 320px){
	div#support-nav-container{
		margin-left: -49%;
		width: 98%;
	}
}

@media screen and (min-width: 480px){
	div.logo{
		width: 70%;
	}
	
	div.kuvakehys-vasen{
		float: left;
		max-width: 46.7836%;
		margin: 15px 15px 15px 0;
	}
	
	div.kuvakehys-oikea{
		float: right;
		margin: 15px 0 15px 15px;
    	max-width: 46.7836%;
	}
	
	div.luettelo-vasen,
	div.luettelo-oikea{
		padding: 10px;
		margin: 10px 10px 10px 0px;
		border: 1px solid #999;
		float: left;
		width: 60%;
		overflow: auto;
	}
	
	div.luettelo-oikea{
		margin: 10px 0px 10px 10px;
		float: right;
	}
	
	div.luettelo-vasen ul,
	div.luettelo-oikea ul{
		float: left;
		width: 50%;
	}
	
	div.nostolaatikko-vasen,
	div.nostolaatikko-oikea{
		padding: 10px;
		margin: 10px 10px 10px 0px;
		float: left;
		width: 60%;
		overflow: auto;
		border: 1px solid #999;
	}
	
	div.nostolaatikko-oikea{
		margin: 10px 0px 10px 10px;
		float: right;
	}
	
	div.lainaus-vasen,
	div.lainaus-oikea{
		background-color: #EAEAEA;
    	float: left;
    	margin: 10px 10px 10px 0;
    	max-width: 400px;
    	min-width: 230px;
    	overflow: auto;
    	padding: 37px 25px;
    	position: relative;
    	width: 30%;
	}
	
	div.lainaus-oikea{
		float: right;
	}
}

@media screen and (min-width: 640px){
	div#loggedInUser{
    	top: 12.384615384615385em; /*161px;*/
    }
    div#support-nav-container{
    	width: 23.076923076923077em; /*300px;*/
    	height: 6.923076923076923em; /*90px;*/
    	top: 4.615384615384615em; /*60px;*/
    	right: 0px;
    	left: auto;
    	margin-left: 0%;
    }
	nav.targetgroups{
		display: block;
	}
	nav.support{
		width: 23.076923076923077em; /*300px;*/
		height: 3.538461538461538em; /*46px;*/
		text-align: left;
	}
	nav.support li{
		margin: 0;
	}
	nav.support li a.icon{
		height: 3.166666666666667em; /*38px;*/
		line-height: 3.166666666666667em; /*38px;*/
		width: 8em; /*96px;*/
		padding-left: 3.75em; /*45px;*/
		margin-left: 0;
		background-color: #FFFFFF;
		color: black;
		font-weight: 400;
		text-align: left;
	}
	li#visitor-link,
	li#language-link-support{
		display: none;
	}
	section.search{
		width: 23.333333333333333em; /*280px;*/
		padding: 0.769230769230769em; /*10px;*/
		background-color: #FFFFFF;
	}
	
	section.search input{
		background-color: #eaeaea;
	}
	div.logo {
    	top: 5.769230769230769em; /*75px;*/
    	width: 50%;
    }
    nav.main {
   		margin-top: 13.846153846153846em; /*180px;*/
   	}
   	nav.main li{
   		min-width: 1% !important;
   	}
   	nav.main li a {
   		font-size: 1.076923076923077em; /* 14px */
		height: 3.571428571428571em; /*50px;*/
		line-height: 3.571428571428571em; /*50px;*/
		padding: 0 1.2em;
		border-right: 1px solid #81CBFC !important;
	}
	nav.main li.navItem1,
	nav.main li.navItem2,
	nav.main li.navItem3,
	nav.main li.navItem4,
	nav.main li.navItem5,
	nav.main li.navItem6,
	nav.main li.navItem7,
	nav.main li.navItem8,
	nav.main li.navItem9,
	nav.main li.navItem10{
		width: auto;
		border-bottom: none;
	}
	
	nav.main li.navItem5 a{
		border: none;
	}
	
	nav.support li a.icon.person-search{
		background-image: url("block-icon-person-m-png.png");
		margin-left: 10px;
		height: 3.166666666666667em; /*38px;*/
	    line-height: 3.166666666666667emem;
	}
	
	nav.support li a.icon.news{
		background-image: url("block-icon-news-m-png.png");
	    height: 3.166666666666667em; /*38px;*/
	    line-height: 3.166666666666667em;
	}
	nav.support li a.icon.news.TTYINTERNETFI{
    	line-height: 1em;
	}
	nav.support li a.icon.news.TTYINTERNETFI span{
		display: block;
    	line-height: 1em;
    	margin-top: 0.5em;
	}
	
	nav.support li a.icon span{
		line-height: 1em;
	}
	
	section.block header{
	    margin-top: -1%;
	}
	
	/* Footer */
	div#footer-content-container{
	    min-height: 340px;
	    background-image: url("footer-bg-gif.gif");
	}
    div.footer-column.col1{
		width: 330px;
	}
	
	nav#sub-nav{
	    width: 40%;
	}

}

@media screen and (min-width: 720px){
    
	nav.main li a {
   		font-size: 1.230769230769231em; /* 16px */
   		height: 3.125em; /* 50px */
   		line-height: 3.125em; /* 50px */
   	}
   	
	section.block{
		width: 44.9%;
	}
	
	section.block header{
	    margin-top: -2%;
	}
	
	a#subNavToggle {
    	margin-left: -5.692307692307692em; /* -74px */
    }
    
    div.sn {
	    width: 1.153846153846154em; /* 15px; */
	}
    
    nav#sub-nav{
	    position: relative;
	    opacity: 1;
	    padding: 0%;
	    box-shadow:  0px 0px 0px 0px rgba(0, 0, 0, 0.0);
	    top: 0 !important;
	    left: 0;
	    width: 25%;
	}
	
	div.sub-content{
		width: 75%;
	}
	
	div.bc {
    	margin-left: 1.153846153846154em; /* 15px; */
    }
    
    /* Events */
	section.events li.event-item{
		width: 44%;
	}
	
	/* Headings */
	div.sub-content article.news h1,
	div.sub-content article.webcontent h1,
	div.sub-content article.event h1{
		font-size: 2.307692307692308em;
	}
	
	div.sub-content article.news h3,
	div.sub-content article.webcontent h3,
	div.sub-content article.event h3{
		font-size: 1.846153846153846em; /*1.692307692307692em;*/
	}
	
	div.sub-content article.news h4,
	div.sub-content article.webcontent h4,
	div.sub-content article.event h4{
		font-size: 1.384615384615385em;
	}
	
}

@media screen and (min-width: 1040px){
	
	div#top-background{
    	height: 17.692307692307692em; /*230px / 13 */
    	display: block;
    }
	
	nav.main li a {
   		font-size: 1.53846em; /* 20px */
   		height: 2.5em; /* 50px */
   		line-height: 2.5em; /* 50px */
   	}
	
	section.block{
		padding: 1.6666666666667%;
		width: 28.033333333333267%;
	}
	
	section.block header{
	    margin-top: -3%;
	}
	
	div.footer-column{
		padding-top: 20px;
	}
	
	div.footer-column.col1{
		float: left;
	}
	
	section.main-content-2-3{
		width: 61.6666666666666%;
	}
	
	div#blocksContainer{
		width: 33.3334%; /* 400px */
	}
	
	div#blocksContainer section.block{
		margin-bottom: 1.694915254237288em;
		margin-left: 2.5%;
		margin-right: 2.5%;
		padding: 5%;
    	width: 85%;
	}
}

/* =============================================================================
   For content management & administration
   ========================================================================== */
footer#main div.placeholderActions{
	position: absolute;
    right: 5px;
    top: 0;
    z-index: 1000;
}

a.editContent {
    background-color: #79A7D8;
    background-image: url("tty001577.png");
    background-position: 4px 53%;
    background-repeat: no-repeat;
    border-radius: 4px 4px 4px 4px;
    color: white !important;
    font-size: 0.7em !important;
    line-height: 22px;
    padding: 5px 11px 5px 25px;
    text-align: center;
    text-shadow: 0 0 2px black;
    text-decoration: none;
}

a.deleteContent{
	background-image: url("img_png_delete_icon.png");
}

a.editContent:hover {
    background-color: #DC7745;
}

div#ssm_main {
    display: table;
    width: 99%;
    margin: 0 auto;
    padding-bottom: 10px;
}

div.editBlock{
	position: absolute;
	right: 3px;
	top: 2px;
}


/* =============================================================================
   SoMe link icons
   ========================================================================== */

a.icon16{
    background-position: 0 0;
    background-repeat: no-repeat;
    line-height: 16px;
    padding: 2px 0 2px 18px;
}

a.icon16.linkedin{
	background-image: url(img_png_some_linkedin.png);
}

a.icon16.youtube{
	background-image: url(img_png_some_youtube.png);
}

a.icon16.twitter{
	background-image: url(img_png_some_twitter.png);
}

a.icon16.facebook{
	background-image: url(img_png_some_facebook.png);
}

a.icon16.flickr{
	background-image: url(img_png_some_flickr.png);
}

a.icon16.slideshare{
	background-image: url(img_png_some_slideshare.png);
}


/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* =============================================================================
   Print Styles
   ========================================================================== */
 
@media print {
  * { letter-spacing: 0px; background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }*/ /* Black prints faster: h5bp.com/s 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
  div#content[style],
  body,
  div#main-wrapper{
  	position: relative !important;
    display: block !important;
    overflow: auto !important;
    height: auto !important;
    width: 100% !important;
  }
  div#content section.block[style]{
  	position: relative !important;
  	top: 0 !important;
  	left: 0 !important;
  	display: block !important;
  	width: 80% !important;
  	float: none !important;
	clear: both  !important;
	overflow: visible;
  }
  
  div.logo,
  nav.main,
  div#support-nav-container,
  nav.targetgroups,
  div#loggedInUser{
  	position: relative !important;
  	display: block !important;
  	float: none !important;
  	clear: both !important;
}

div.logo{
	margin-top: -4em;
	margin-bottom: 7em;
}

  div#content section.block.carousel[style]{
  	display: block !important;
  	width: 60% !important;
  }
  div#content section.block img{
  	max-width: 15%;
  }
  nav.breadcrumb span a,
  nav.breadcrumb span a.active{
  	color: #FF9B00 !important;
  }
  div.sn{
  	display: none;
  }
  div.bc{
  	margin-left: 0em;
  }
}

section.addthis{
  position: static !important;
}
