* {
    margin: 0;
    padding: 0;
    border: 0;
}

html,body {
    height: 100%;
}

body {
	
	/* background cover-image */
	background-color: white;
	background-image: url(images/bgr-viivat.jpg);
	background-size: cover;
	background-attachment: fixed;
	
    font-family: 'Open Sans', Helvetica, Arial, Sans-serif;
    font-size: 14px;
	line-height: 20px;	
    padding-bottom: 50px;
	color: rgba(0,0,0,0.87);
}


/**** LINKS ****/

/* fix anchors first */
a[name]:hover {
    text-decoration: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    background: inherit
}

a:link,a:visited,a:active,a:hover {
    color: #237eff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#nav {
    margin: 0;
    padding: 0;
    height: 39px;
    list-style: none;
    display: inline;
    overflow: hidden;
}

#nav a {
    float: left;
    padding: 39px 0 0 0;
    overflow: hidden;
    width: 196px;
    height: 0px !important; 
}


/**** HEADERS ****/


h1 {
    font-size: 32px;
	line-height: 40px;
    font-weight: 700;
	font-family: 'Montserrat', 'Open Sans', Helvetica, Arial, Sans-serif;
	letter-spacing: 0.1px;
	text-transform: uppercase;
}

ul + h1 {
	padding-top: 64px;
}

p + h1 {
	padding-top: 64px;
}


h2 {
    font-size: 24px;
	line-height: 32px;
    font-weight: bold;
	color: black;
	font-family: 'Roboto Slab', serif;
	letter-spacing: 0.3px;
}


p + h2 {
 padding-top:64px;
}

ul + h2 {
padding-top:48px;
}

h1 + h2 {
padding-top:40px;
}



h3 {
    font-size: 16px;
	line-height: 24px;
	letter-spacing: 0px;
	font-weight: 700;
	margin-bottom: 0px;
	color: black;
	text-transform: uppercase;
}

h2 + h3 {
 padding-top:24px;
}

ul + h3 {
padding-top:16px;
}

p + h3 {
	padding-top: 24px;
}


h4 {
    font-size: 16px;
	line-height: 24px;
    font-weight: 600;
	letter-spacing: 0.1px;
	padding-top: 24px;
	color: black;
}

p + h4 {
	padding-top: 16px;
}


#main-page h1 {
    margin: 0px;
    font-size: 32px;	
	text-align:center;
	color: #37414f;
}


#main-page h2 {
    margin: 0px;
	font-size: 32px;
	text-align:center;
	font-family: 'Montserrat', 'Open Sans', Helvetica, Arial, Sans-serif;
	color: #37414f;
}



/**** PARAGRAPHS ****/

p {
padding-top: 16px;
max-width: 620px;
}

h1 + p {
	padding-top: 8px;
}

h2 + p {
padding-top: 8px;
}

h4 + p {
padding-top: 0px;
}

h3 + p {
padding-top: 0px;
}

ul + p {
	padding-top: 0px;
}

ol + p {
	padding-top: 0px;
}

#main-page p {
    font-size: 16px;
    line-height: 24px;
    color: #54647a;
    letter-spacing: 0.5px;
    text-align: center;
}

#privacypolicy { 
    padding-top: 50px;
    text-align: center;
}


/**** SPANS ****/

.greentxt {
    color: #2ac71c;
    font-weight: normal;
    line-height: 16px;
}

span.greentxt:hover {
    text-decoration: underline;
}

.langchooser {
    float: right;
    font-weight: normal;
	font-size: 12px;
	
}

.langchooser a{
    color: #8795a8;
}

strong, b {
    font-weight: 600;
	color: black;
}



/**** LISTS ****/

ul {
	max-width: 620px;
}

h1 + ul {
	padding-top: 8px;
}


h2 + ul {
padding-top: 8px;
}

h3 + ul {
padding-top: 0px;
}

p + ul {
padding-top: 8px;
}

ul + ul {
padding-top: 0px;
}


li {
    margin-left: 24px;
	margin-top: 4px;
	padding-top: 0px;
}

li:last-child {
	margin-bottom: 16px;
}


ol {
    margin: 0 0 0 0px;
}

li.page_item {
    list-style-type: none;
}

li.page_item a {
    padding: 0 0 0 0;
}




/* Finnish-language tabs for s60 */
.page .page-item-33, 
.page .page-item-36, 
.page .page-item-48, 
.page .page-item-88 {
    background-image: url(images/lataa_tab.png);
    background-position: top left;
    background-repeat: no-repeat;
    margin: 0 10px 0 10px;
    width: 196px;
    height: 39px;
    overflow: hidden;
    float: left;
    display: inline;
    position: relative;
    color: #cccccc;
    z-index: 1;
}

.page .current_page_item { background-position: bottom left; }

.page .page-item-36 {
    background-image: url(images/btn_asennusohjeet.png);
    margin: 0 16px 0 0;
}

.page .page-item-33 {
    background-image: url(images/btn_pikaohje2.gif);
    margin: 0 16px 0 0;
}

.page .page-item-48 {
    background-image: url(images/btn_tuki2.gif);
    margin: 0 10px 0 0;
    float: right;
}

.page .page-item-33:hover, 
.page .page-item-36:hover, 
.page .page-item-48:hover, 
.page .page-item-88:hover {
    background-position: bottom left;
}
/* end of Finnish tabs for s60 */

/* Finnish tabs for intra */
.page .page-item-292,
.page .page-item-294,
.page .page-item-296,
.page .page-item-298 {
    background-image: url(images/lataa_tab.png);
    background-position: top left;
    background-repeat: no-repeat;
    margin: 0 114px 0 10px;
    width: 196px;
    height: 39px;
    overflow: hidden;
    float: left;
    display: inline;
    position: relative;
    color: #cccccc;
    z-index: 1;
}

.page .current_page_item { background-position: bottom left; }

.page .page-item-294 {
    background-image: url(images/asennusohje_tab.png);
    margin: 0 16px 0 0;
}

.page .page-item-296 {
    background-image: url(images/asennusohje_tab.png);
    margin: 0 16px 0 0;
}

.page .page-item-298 {
    background-image: url(images/tukipalvelut_tab.png);
    margin: 0 10px 0 0;
    float: right;
}

.page .page-item-292:hover,
.page .page-item-294:hover,
.page .page-item-296:hover,
.page .page-item-298:hover {
    background-position: bottom left;
}

/*******************************************************/
.page .page-item-578,
.page .page-item-580,
.page .page-item-581 {
    background-image: url(images/lataa_tab.png);
    background-position: top left;
    background-repeat: no-repeat;
    margin: 0 114px 0 10px;
    width: 196px;
    height: 39px;
    overflow: hidden;
    float: left;
    display: inline;
    position: relative;
    color: #cccccc;
    z-index: 1;
}

.page .current_page_item { background-position: bottom left; }

.page .page-item-580 {
    background-image: url(images/asennusohje_tab.png);
    margin: 0 16px 0 0;
}

.page .page-item-581 {
    background-image: url(images/tukipalvelut_tab.png);
    margin: 0 10px 0 0;
    float: right;
}

.page .page-item-578:hover,
.page .page-item-580:hover,
.page .page-item-581:hover,
.page .page-item-298:hover {
    background-position: bottom left;
}

/* end of Finnish tabs for intra */

/* English tabs for intra */
.page .page-item-277,
.page .page-item-279,
.page .page-item-281,
.page .page-item-283 {
    background-image: url(images/download_tab.png);
    background-position: top left;
    background-repeat: no-repeat;
    margin: 0 114px 0 10px;
    width: 196px;
    height: 39px;
    overflow: hidden;
    float: left;
    display: inline;
    position: relative;
    color: #cccccc;
    z-index: 1;
}

.page .current_page_item { background-position: bottom left; }

.page .page-item-279 {
    background-image: url(images/installation_guide_tab.gif);
    margin: 0 16px 0 0;
}

.page .page-item-281 {
    background-image: url(images/getting_started_tab.png);
    margin: 0 16px 0 0;
}

.page .page-item-283 {
    background-image: url(images/support_services_tab.png);
    margin: 0 10px 0 0;
    float: right;
}

.page .page-item-277:hover,
.page .page-item-279:hover,
.page .page-item-281:hover,
.page .page-item-283:hover {
    background-position: bottom left;
}

/**********************************************/
.page .page-item-605,
.page .page-item-608,
.page .page-item-612 {
    background-image: url(images/download_tab.png);
    background-position: top left;
    background-repeat: no-repeat;
    margin: 0 114px 0 10px;
    width: 196px;
    height: 39px;
    overflow: hidden;
    float: left;
    display: inline;
    position: relative;
    color: #cccccc;
    z-index: 1;
}

.page .current_page_item { background-position: bottom left; }


.page .page-item-608 {
    background-image: url(images/getting_started_tab.png);
    margin: 0 16px 0 0;
}

.page .page-item-612 {
    background-image: url(images/support_services_tab.png);
    margin: 0 10px 0 0;
    float: right;
}

.page .page-item-605:hover,
.page .page-item-608:hover,
.page .page-item-612:hover {
    background-position: bottom left;
}
/* end of English tabs for intra */


/* Finnish-language main page blocks */
#main-page li.page_item {
    float: left;
	margin-left: 0px;
}

#main-page .page_item a {
    display: block;
    background-color: transparent;
    background-position: top left;
    background-repeat: no-repeat;
    margin: 0 108px 0 0;
    color: white;
    width: 211px;
    height: 124px;
    overflow: hidden;
    
    position: relative;
    
}

.hide_text {
    display: none;
}


/* S60 Suominavigaatio */
#main-page .page-item-88 a { background-image: url(images/lataa_button.png); }
#main-page .page-item-36 a { background-image: url(images/asennusohje_button.png); }
#main-page .page-item-33 a { background-image: url(images/asennusohje_button.png); }
#main-page .page-item-48 a { background-image: url(images/tukipalvelut_button.png);

    margin: 0;
    float: right;
}

/* S60 Englishnavigaatio */

/* Intra Suominavigaatio */
#main-page .page-item-292 a { background-image: url(images/lataa_button.png); }
#main-page .page-item-294 a { background-image: url(images/asennusohje_button.png); }
#main-page .page-item-296 a { background-image: url(images/asennusohje_button.png); }
#main-page .page-item-298 a { background-image: url(images/tukipalvelut_button.png);

    margin: 0;
    float: right;
}

#main-page .page-item-578 a { background-image: url(images/lataa_button.png); }
#main-page .page-item-580 a { background-image: url(images/asennusohje_button.png); }
#main-page .page-item-581 a { background-image: url(images/tukipalvelut_button.png);

    margin: 0;
    float: right;
}

/* Intra English navigaatio */
#main-page .page-item-277 a { background-image: url(images/download_button.png); }
#main-page .page-item-279 a { background-image: url(images/installation_guide_button.png); }
#main-page .page-item-281 a { background-image: url(images/getting_started_button.png); }
#main-page .page-item-283 a { background-image: url(images/support_services_button.png);

    margin: 0;
    float: right;
}

#main-page .page-item-605 a { background-image: url(images/download_button.png); }
#main-page .page-item-608 a { background-image: url(images/getting_started_button.png); }
#main-page .page-item-612 a { background-image: url(images/support_services_button.png);

    margin: 0;
    float: right;
}


#main-page .page_item:hover {
    background-position: bottom left; 
}


/**** IMAGES ****/

img.right {
    margin: 0 15px 0 0;
    float: right;
}

/**** DIVS ****/

div#main-page {
    margin: 0 auto ;
    width: 850px;
    color: white;
}

div.page {
    margin: 0 auto;
    width: 847px;
}

#content {
    background: url(images/bgr_leipis.png) repeat-y;
}

#navi {
    margin: 50px 0 0 0;
    width: 847px;
    height: 39px;
}

div#top {
    margin: 54px 0 0 0;
}

#hat {
    background: url(images/bgr_leipis_top.png) no-repeat top center;
    width: 847px;
    height: 6px;
}

#contentinner {
    padding: 40px 40px 56px 50px;
	box-shadow: 0px 3px 50px -4px rgba(0,0,0,0.15);
	border-radius: 8px;
	margin-bottom: 48px;
	/*border: 1px solid rgba(0,0,0,0.12);*/
}


#loader {
    padding: 20px 15px 0 0;
    width: 150px;
    float: right;
}

#bottom {
    background: url(images/bgr_leipis_bottom.png) no-repeat center top;
    margin-bottom: 20px;
    width: 847px;
    height: 9px;
}

div#langchooserdiv {
    margin: 0 0 50px 0;
    float: right;
}

div#txtcontainer {
    margin: 80px 0 0 150px;
    width: 556px;
    /*position: absolute;*/
}

div#tabscontainer {
    margin: 50px 0 0 0;
    width: 850px;
}



/* BUTTON STYLE */

button[disabled=disabled], button:disabled, button:hover[disabled], button:focus[disabled], button:active[disabled] {
	border: 1px dashed rgba(0,0,0,.54);
	background: transparent;
	color: rgba(0,0,0,.54);
}



button {
	border: 1px solid transparent;
	background-color: #237eff;
	cursor: pointer;
	font-family: inherit;
	margin-bottom: 1em;
	margin-right: 0.5em;
	padding-top: 0.75em;
	padding-bottom: 0.8125em;
	width: 9em;
	font-size: 1em;
	border-radius: 4px;
	color: white;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	transition: all 0.2s;
	background-image: linear-gradient(rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.08) 100%);
	margin-top: 16px;
}

button:hover, button:focus, button:active {
	border: 1px solid transparent;
	background-color: #1260cc;
	color: white;
	outline:0 !important;
}

