/*
Theme Name: Sorter 1.0
Description: Sorter 1.0
Author: Jussi Soini
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;

}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	font-size: 17px;
	line-height: 24px;
	color: #333;
	font-weight: 500;
	margin-bottom: 20px;
}

del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

/* =Layout
-------------------------------------------------------------- */

/*
LAYOUT: Two columns
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

#container {
	background: #fff;
	float: left;
}




#primary {

}
#secondary {

}
#secondary ul, #secondary ul li {
	list-style: none;
	margin-left: 0px;
	padding-left: 0px;
}



#footer {
	clear: both;
	width: 100%;
}

/*
LAYOUT: One column, no sidebar
DESCRIPTION: One centered column with no sidebar
*/

.one-column #content {
	margin: 0 auto;
	width: 640px;
}

/*
LAYOUT: Full width, no sidebar
DESCRIPTION: Full width content with no sidebar; used for attachment pages
*/

.single-attachment #content {
	margin: 0 auto;
	width: 900px;
}


/* =Fonts
-------------------------------------------------------------- */
body,
input,
textarea,
.page-title span,
.pingback a.url {
	font-family: "proxima-nova", Helvetica, Arial, sans-serif;
	color: #676767;
	
}
h3#comments-title,
h3#reply-title,
#access .menu,
#access div.menu ul,
#cancel-comment-reply-link,
.form-allowed-tags,
#site-info,
#site-title,
#wp-calendar,
.comment-meta,
.comment-body tr th,
.comment-body thead th,
.entry-content label,
.entry-content tr th,
.entry-content thead th,
.entry-meta,
.entry-title,
.entry-utility,
#respond label,
.navigation,
.page-title,
.pingback p,
.reply,
.widget-title,
.wp-caption-text {
	font-family: "proxima-nova", Arial, Helvetica, sans-serif;
}
input[type=submit] {
	font-family: "proxima-nova", Arial, Helvetica, sans-serif;
}
pre {
	font-family: "Courier 10 Pitch", Courier, monospace;
}
code {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

/* =Helpers
-------------------------------------------------------------- */

.contain {
	position: relative; height: 100%;
}

.height100 {
	height: 100%;
}

.h300 {
	height: 300px;

}
.h400 {
	height: 400px;

}
.h500 {
	height: 500px;
}

.vert {position: relative; top: 50%; transform: translateY(-50%); 
	
}


/* =Slider styles */

#pagetop {

/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ebebeb+0,ffffff+100 */
background: #ebebeb; /* Old browsers */
background: -moz-linear-gradient(45deg, #ebebeb 0%, #ffffff 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#ebebeb), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(45deg, #ebebeb 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(45deg, #ebebeb 0%,#ffffff 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(45deg, #ebebeb 0%,#ffffff 100%); /* IE10+ */
background: linear-gradient(45deg, #ebebeb 0%,#ffffff 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebebeb', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

	
}

#pagetop.pagetop-sub {
	background: #3bbfb6;
}

#pagetop.pagetop-sub h1, #pagetop.pagetop-sub p {color: white}

#pagetop .entry-meta, #pagetop .entry-meta a {color: #fff}


#pagetop p {
	
	font-size: 20px; line-height: 28px
	
}

.shadow {
   -moz-box-shadow:    inset 0 0 10px #000000;
   -webkit-box-shadow: inset 0 0 10px #000000;
   box-shadow:         inset 0 0 10px #000000;
}

.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {color: #3bbfb6; font-size: 20px; margin-left: 0}
.carousel-control:hover .glyphicon-chevron-left, .carousel-control:hover .glyphicon-chevron-right {color: #333; }
.carousel-caption { }
h1.page-title, #carousel-asoma .item h2.title {
	font-family: "proxima-nova", Helvetica, sans-serif;
	font-size: 36px;
	color: #0f7fbd;
	font-weight: normal;
	line-height: 39px;
	margin-bottom: 12px;
	display: inline-block !important;
	clear: none;
}

#carousel-asoma .item h2.title {line-height: 44px}

.carousel-control.right {}
.carousel-control {width: 8%}

#carousel-asoma .item {min-height: 300px; padding: 70px 0}

#carousel-asoma .item img {}
#carousel-asoma .item p {font-size: 17px; line-height: 25px; }
#carousel-asoma .item p strong, #carousel-asoma .item p a {font-weight: bold}
#carousel-asoma .item p a:hover {text-decoration: underline}
/* =Structure
-------------------------------------------------------------- */

/* ALERT BANNER*/

.alert-banner {

background: #299a0b; /* Old browsers */
background: -moz-linear-gradient(-45deg, #299a0b 0%, #227701 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#299a0b), color-stop(100%,#227701)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(-45deg, #299a0b 0%,#227701 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(-45deg, #299a0b 0%,#227701 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(-45deg, #299a0b 0%,#227701 100%); /* IE10+ */
background: linear-gradient(135deg, #299a0b 0%,#227701 100%); /* W3C */

color: #d6f1bc;

}

.btn-banner {border: none; background: #1d6502; font-weight: 600; }
.btn-banner:hover {background: #359014}
.btn-banner, .btn-banner:visited, .btn-banner:link {color: #fff}
.alert-banner strong {color: #fff; font-weight: 600}

/* UUTISKIRJE */

#uutiskirje {
	color: #fff;
	background: #007cbe;
	padding: 0px 15px;
	border-radius: 15px; 
	
}

#uutiskirje h1, #uutiskirje h2, #uutiskirje h3, #uutiskirje h4, #uutiskirje h5 {
	color: #fff !important;
}

#uutiskirje .entry-meta, #uutiskirje .entry-date {
	color: #fff !important;


}
/* The main theme structure */

body {

}

#mainwrapper {
	position: relative;
	width: 1000px;
	height: 100%;
	margin: 0 auto;

	
}

#headerwrapper{
	width: 1000px;
	margin: 0 auto;
}

/*
#access .menu-header,
div.menu,
#colophon,
#branding,
#main,
.nosto-widget,
#wrapper {
	margin: 0 auto;
	width: 1000px;
	
}*/


#wrapper {
	position: relative;
	float: left;
}

/* Structure the footer area */
#footer-widget-area {
	overflow: hidden;
	line-height: 24px;
}
#footer-widget-area .widget-area {
	float: left;
	padding-left: 10px;
	margin-right: 20px;
	width: 250px;
}
#footer-widget-area #fourth {
	margin-right: 0;
}
#site-info {
	float: left;
	font-size: 14px;
	font-weight: bold;
	width: 700px;
}
#site-generator {
	float: right;
	width: 220px;
}


#submenu .lippu a {
	padding: 5px;
	margin: 5px;
}
#lippucont {
	z-index: 87;
	position: relative;
	float: right;
	width: 100px;
	margin: 0px 10px 0px 0px;
	margin-top: -38px;

}

.messut {

  position: absolute;
  float: right;
	z-index: 55;
	margin-left: -76px;
	margin-top: -17px;
}

.coda-nav-right a {
	right: -45px !important;
}


.lippu {

	height: 12px;

	width: 18px;
	margin: 5px 5px 0px 0px;
	padding: 5px;
	float: right;
	display: inline;
}

a .lippu {
	opacity: 0.5;
}

a .lippu:hover {
	opacity: 1;
}
@media (min-width: 768px) {
	
	.nosto-widget-row > div:nth-child(2) {border-right: 1px solid #ccc; border-left: 1px solid #e1e1e1}
	
}

@media (max-width: 767px) {

.nosto-widget-row > div {border-top: 1px solid #e1e1e1}
	
}




/* =Global Elements
-------------------------------------------------------------- */

/* Main global 'theme' and typographic styles */
body {
	background: #ffffff;
}
body,
input,
textarea {
	color: #666;
	font-size: 14px;
	line-height: 19px;
}
hr {
	height: 1px;
	color: #fff;
	border-top: 1px solid #ddd;
}

/* Text elements */
p {
	margin-bottom: 18px;
}
ul {
	list-style: square;
	margin: 0 0 18px 1.5em;
}
ol {
	list-style: decimal;
	margin: 0 0 18px 1.5em;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 0 24px 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 18px;
}
strong {
	font-weight: bold;
}
cite,
em,
i {
	font-style: italic;
}
big {
	font-size: 131.25%;
}
ins {
	background: #ffc;
	text-decoration: none;
}

pre {
	background: #f7f7f7;
	color: #222;
	line-height: 18px;
	margin-bottom: 18px;
	padding: 1.5em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup,
sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
input[type="text"],
textarea {
	background: #f9f9f9;
	border: 1px solid #ccc;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	padding: 2px;
}
a:link {
	color: #0f7fbd;
	text-decoration: none;
}
a:visited {
	color: #2fada5;
}
a:active,
a:hover {
	color: #2fada5;
}

/* Text meant only for screen readers */
.screen-reader-text {
	position: absolute;
	left: -9000px;
}


/* =Header
-------------------------------------------------------------- */

#header {
	width: 1000px;
	margin: 0px auto;

}
#site-title {
	float: left;
	font-size: 30px;
	line-height: 36px;
	margin: 0 0 18px 0;
	width: 700px;
}
#site-title a {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}
#site-description {
	clear: right;
	float: right;
	font-style: italic;
	margin: 15px 0 18px 0;
	width: 220px;
}

/* This is the custom header image */
#branding img {
	border-top: 4px solid #000;
	border-bottom: 1px solid #000;
	display: block;
	float: left;
}


/* =Menu
-------------------------------------------------------------- */

#access {

	background: url('images/topmenu_bg.jpg') bottom left;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	box-shadow: 1px 2px 2px #666;
	font-family: "proxima-nova", Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	float: right;
	width: 520px;
}

#access a {
	color: #fff;
	display: inline-block;
	height: 20px;
	padding: 7px 15px 4px;
	text-decoration: none;
}

#access ul li {
	border-right: 1px solid #214f7b;
}


#access ul li:last-child {
	border-right: none;
}



#submenu {
	list-style: none;
	position: relative;
	background: url('images/mainmenu_bg.jpg') bottom left;
	float: left;
	font-family: "proxima-nova", Arial, Helvetica, sans-serif;
	font-weight: bold; 
	text-transform: uppercase;
	font-size: 12px;

	margin-top: 30px;
	width: 1000px;
	height: 34px;



	}

#submenu .menu-header a {
	list-style: none;
	float: left;
	color: #fff;
	display: inline-block;
	opacity: 0.7;
	height: 22px;
	padding: 9px 50px 0px 30px;
	text-decoration: none;
	
}

#submenu a:hover {
		opacity: 1;
}


#submenu .current-page-ancestor a  {
	opacity: 1 !important;
}

#submenu ul {

	list-style: none;
	margin: 0px;
	padding: 0px;

}

#submenu ul li a {
	background: url('images/mainmenu_spacer.jpg') top right no-repeat;
	display: inline-block;
	float: left;
	height: 22px;

}

#submenu ul li:last-child a{
	background: none;
}

#submenu .menu .current_page_item a{
	opacity: 1;
}


#submenushadow {
	position: relative;
	background: url('images/mainmenu_shadow.jpg') top center no-repeat;
	float: left;
	width: 1000px;
	height: 5px;
	
}

#access .menu-header,
div.menu {

	margin-left: 12px;
	width: 478px;
}
#access .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}
#access .menu-header li,
div.menu li {
	float: left;
	position: relative;
}

#access ul li {
	background: url(images/menu_spacer.png) right top no-repeat;
}

#access ul li:last-child {

	background: none;

}


#access ul ul li {
	min-width: 180px;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {

	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {

}
#access ul li:hover > ul {
	display: block;
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
	color: #fff;
}
* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
	color: #fff;
}


/* =Content
-------------------------------------------------------------- */

#main {
	clear: both;
	
	padding: 0px 0 0 0;
}
#content {

}
#content,
#content input,
#content textarea {
	color: #505050;
	font-size: 15px;
	line-height: 22px;
}
#content p,
#content ul,
#content ol,
#content dd,
#content pre,
#content hr {
	margin-bottom: 24px;

}
#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
	margin-bottom: 0;
}
#content pre,
#content kbd,
#content tt,
#content var {
	font-size: 15px;
	line-height: 21px;
}
#content code {
	font-size: 13px;
}

#content ul li {
	margin: 0px;
	padding: 10px 0px 10px 40px;
	line-height: normal;
	list-style: none;
	background: url(images/bullet.jpg) bottom left no-repeat;
	font-weight: bold;

}

#picmenu {
	list-style: none;
	
}

#picmenu img {
	border-radius: 8px;
	border: 1px solid #0e6a9d;
}

#picmenu li{
	display: block;
	margin: 0px 10px 0px 0px;
	float: left;
	background: url(images/raita_bg.jpg) top left;
	padding: 3px;
	border-radius: 5px;
	box-shadow: 1px 1px 1px #666;
	text-align: center;
	opacity: 0.9;

}

#picmenu li:hover{
	
	opacity: 1;

}

#picmenu a {
	color: #fff;

}
#primary p {
	color: #505050;
}

.gradbox {
border-bottom: none;
	background: #e8e8e8;
	width: 300px;
	height: auto;
	text-align: center;



	box-shadow: 2px 2px 2px #ccc;

	border: 1px solid #e5e5e5;
	background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.15, rgb(255,255,255)),
    color-stop(0.79, rgb(232,232,232))
);
background-image: -moz-linear-gradient(
    center bottom,
    rgb(255,255,255) 15%,
    rgb(232,232,232) 79%
);


}


#primary blockquote {
	border-bottom: none;
	background: #e8e8e8;
	padding: 10px 10px 5px;
	text-align: center;
	font-family: "proxima-nova", Arial, Helvetica, sans-serif;
	font-size: 20px;
	line-height: 30px;
	font-style: italic;
	box-shadow: 2px 2px 2px #ccc;
	border: 1px solid #e5e5e5;
	background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.15, rgb(255,255,255)),
    color-stop(0.79, rgb(232,232,232))
);
background-image: -moz-linear-gradient(
    center bottom,
    rgb(255,255,255) 15%,
    rgb(232,232,232) 79%
);

}

#primary h1, #primary h2, #primary h3, #primary h4, #primary h5, #primary h6, #secondary h3  {
  color:#0F7FBD;
  font-family: "proxima-nova", Arial, Helvetica, sans-serif;
  font-style:normal;
  line-height:1.5em;
  margin-bottom:10px;
  margin-left:0;
  margin-right:0;
  margin-top:10px;

}





#primary ul li ul li {
	margin: 0px;
	padding: 10px 0px 10px 40px;
	line-height: normal;
	list-style: none;
	background: url(images/bullet.jpg) bottom left no-repeat;
	font-weight: bold;

}

.gform_body ul li ul li, .gform_body ul li {
	list-style: none !important;
	background-image: none !important;
	padding: 0px !important;
	margin: 0px !important;

}

.gform_body ul li ul li {
	height: 20px;

}

.gform_wrapper .top_label .gfield_label {
	color: #0F7FBD;
	font-size: 14px;
	margin-bottom: 13px !important;
	
}


.lataa, .yhteys , .kauppa {
	display: inline-block;
	padding: 15px 0px 15px 55px;
	margin: 10px 0px 0px 0px;
	font-size: 15px;
	color: #db101f;

	font-weight: bold;
}

.linkki {
	display: inline-block;
	padding: 15px 0px;
	margin: 10px 0px 0px 0px;
	font-size: 15px;
	color: #db101f;

	font-weight: bold;
}

.wpcf7-form p {
	margin: 0px;
	padding: 0px;
}
.lataa {
	background: url(images/klemmari.jpg) top left no-repeat;
}
.yhteys {
	background: url(images/puhelin.jpg) top left no-repeat;
}
.kauppa {
	background: url(http://www.asoma.fi/wp/wp-content/uploads/2014/06/Verkkokauppa-40x40.png) top left no-repeat;
}
.lataa:hover, .yhteys:hover, .linkki:hover {
	color: #f31726;	
} 


#sublinks {

}

.nav-pills > li > a {background: #0f7fbd; color: #fff}

#sublinks ul {
margin: 0px 0px 25px 0px;
padding: 0px;
}

#sublinks ul li {

}

#sublinks a {
	color: #fff;
	opacity: 0.7;
	display: inline-block;
}

#sublinks .current_page_item a{
	opacity: 1;
}

#sublinks ul li {
	list-style-image: none;
	list-style: none;
	float: left;
	font-weight: normal;
	display: inline-block;
	border-radius: 5px;
	background: url(images/submenu_bg.jpg) bottom;
	padding: 6px 10px;
	margin: 5px 5px 0px 0px;
	color: #fff;
}


#content dt,
#content th {
	color: #000;
}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	color: #0f7fbd;
	line-height: 1.2;
	margin: 0.6em 0 0.6em 0;
	/* text-shadow: 1px 1px 1px #b5b5b5; */
	font-style: normal;

}
#content table {

	margin: 0 -1px 10px 0;
	text-align: left;
	width: 100%;
}
#content tr th,
#content thead th {
	color: #888;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 9px 24px;
}
#content tr td {

	padding: 10px 10px 0px 0px;
}
#content tr.odd td {
	background: #f2f7fc;
}
.hentry {
	margin: 0 0 0 0;
}
.home .sticky {
	background: #f2f7fc;
	border-top: 4px solid #000;
	margin-left: -20px;
	margin-right: -20px;
	padding: 18px 20px;
}
.single .hentry {
	margin: 0 0 36px 0;
}

.page-title span {
	color: #333;
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
}
.page-title a:link,
.page-title a:visited {
	color: #888;
	text-decoration: none;
}
.page-title a:active,
.page-title a:hover {
	color: #ff4b33;
}
#content .entry-title {
	color: #0f7fbd;
	text-transform: uppercase;
	font-size: 28px;
	margin-top: 10px;
	margin-bottom: 0;
}
.entry-title a:link,
.entry-title a:visited {
	color: #0F7FBD;
	text-decoration: none;
}
.entry-title a:active,
.entry-title a:hover {
	color: #16a6f6;
}
.entry-meta {
	color: #888;
	font-size: 12px;
}
.entry-meta abbr,
.entry-utility abbr {
	border: none;
}
.entry-meta abbr:hover,
.entry-utility abbr:hover {
	border-bottom: 1px dotted #666;
}
.entry-content,
.entry-summary {
	clear: both;
	padding: 12px 0 0 0;
}
#content .entry-summary p:last-child {
	margin-bottom: 12px;
}
.entry-content fieldset {
	border: 1px solid #e7e7e7;
	margin: 0 0 24px 0;
	padding: 24px;
}
.entry-content fieldset legend {
	background: #fff;
	color: #000;
	font-weight: bold;
	padding: 0 24px;
}
.entry-content input {
	margin: 0 0 24px 0;
}
.entry-content input.file,
.entry-content input.button {
	margin-right: 24px;
}
.entry-content label {
	color: #888;
	font-size: 12px;
}
.entry-content select {
	margin: 0 0 24px 0;
}
.entry-content sup,
.entry-content sub {
	font-size: 10px;
}

.page-link {
	clear: both;
	color: #000;
	font-weight: bold;
	margin: 0 0 22px 0;
	word-spacing: 0.5em;
}
.page-link a:link,
.page-link a:visited {
	background: #f1f1f1;
	color: #333;
	font-weight: normal;
	padding: 0.5em 0.75em;
	text-decoration: none;
}
.home .sticky .page-link a {
	background: #d9e8f7;
}
.page-link a:active,
.page-link a:hover {
	color: #ff4b33;
}
body.page .edit-link {
	clear: both;
	display: block;
}
#entry-author-info {
	background: #f2f7fc;
	border-top: 4px solid #000;
	clear: both;
	font-size: 14px;
	line-height: 20px;
	margin: 24px 0;
	overflow: hidden;
	padding: 18px 20px;
}
#entry-author-info #author-avatar {
	background: #fff;
	border: 1px solid #e7e7e7;
	float: left;
	height: 60px;
	margin: 0 -104px 0 0;
	padding: 11px;
}
#entry-author-info #author-description {
	float: left;
	margin: 0 0 0 104px;
}
#entry-author-info h2 {
	color: #000;
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 0;
}
.entry-utility {
	clear: both;
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
.entry-meta a,
.entry-utility a {
	color: #888;
}
.entry-meta a:hover,
.entry-utility a:hover {
	color: #ff4b33;
}
#content .video-player {
	padding: 0;
}


/* =Asides
-------------------------------------------------------------- */

.home #content .format-aside p,
.home #content .category-asides p {
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 10px;
	margin-top: 0;
}
.home .hentry.format-aside,
.home .hentry.category-asides {
	padding: 0;
}
.home #content .format-aside .entry-content,
.home #content .category-asides .entry-content {
	padding-top: 0;
}

#asides-column .widget-title{
	margin-bottom: 1.5em
}

/* =Gallery listing
-------------------------------------------------------------- */

.format-gallery .size-thumbnail img,
.category-gallery .size-thumbnail img {
	border: 10px solid #f1f1f1;
	margin-bottom: 0;
}
.format-gallery .gallery-thumb,
.category-gallery .gallery-thumb {
	float: left;
	margin-right: 20px;
	margin-top: -4px;
}
.home #content .format-gallery .entry-utility,
.home #content .category-gallery .entry-utility {
	padding-top: 4px;
}


/* =Attachment pages
-------------------------------------------------------------- */

.attachment .entry-content .entry-caption {
	font-size: 140%;
	margin-top: 24px;
}
.attachment .entry-content .nav-previous a:before {
	content: '\2190\00a0';
}
.attachment .entry-content .nav-next a:after {
	content: '\00a0\2192';
}


/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}


/* =Navigation
-------------------------------------------------------------- */

.navigation {
	color: #888;
	font-size: 12px;
	line-height: 18px;
	overflow: hidden;
}
.navigation a:link,
.navigation a:visited {
	color: #888;
	text-decoration: none;
}
.navigation a:active,
.navigation a:hover {
	color: #ff4b33;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#nav-above {
	margin: 0 0 18px 0;
}
#nav-above {
	display: none;
}
.paged #nav-above,
.single #nav-above {
	display: block;
}
#nav-below {
	margin: -18px 0 0 0;
}


/* =Comments
-------------------------------------------------------------- */
#comments {
	clear: both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	color: #000;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding: 24px 0;
}
.commentlist {
	list-style: none;
	margin: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}

.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	color: #000;
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	color: #888;
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
	color: #ff4b33;
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
	color: #888;
}
.reply a:hover,
a.comment-edit-link:hover {
	color: #ff4b33;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	color: #888;
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}

/* Comments form */
input[type=submit] {
	color: #333;
}
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	color: #ff4b33;
	font-weight: bold;
}
#respond label {
	color: #888;
	font-size: 12px;
}
#respond input {
	margin: 0 0 9px;
	width: 98%;
}
#respond textarea {
	width: 98%;
}
#respond .form-allowed-tags {
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}


/* =Widget Areas
-------------------------------------------------------------- */

/* - LANGUAGE CHOOSER ' */

#flags_language_selector {
	float: right;
	width: 500px;
}

#flags_language_selector a img {
  padding: 10px;
	background: none;
	  
}

.unactive {
	padding: 10px;
	background: url(images/flag_active.jpg) no-repeat top left;
	
	}
	
/* - SMART BLOCKS - */

.navbar {margin-bottom: 0}
.navbar-brand {height: 94px}
.navbar-nav > li > a {font-weight: 600; font-size: 16px; text-transform: uppercase}
.navbar-nav > li > a span.caret {display: inline-block; margin-left: 8px}


.navbar-nav {margin-top: 18px}	

ul.dropdown-menu {padding: 0; box-shadow: none; border:none}
ul.dropdown-menu > li > a {color: #0f7fbd; padding: 10px}
ul.dropdown-menu > li:last-child > a {padding-bottom: 20px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px}
ul.dropdown-menu > li > a:hover {
color: #fff;
background: #3bbfb6; }

/* - NOSTO WIDGET - */

#nosto-widget-area {
	position: relative;
	margin: 5px 0px 0px 0px;
	float: left;
	list-style: none;
	width: 100%;
}

.nosto-widget ul {
	float: left;
	margin: 0px;
	padding: 0px;
}

#nosto-widget-area .wysiwyg_widget, #nosto-widget-area .widget_text {
	width: 290px;
	margin: 20px 30px 5px 10px;
	float: left;
}

#nosto-widget-area .textwidget img {
	margin: 0px;
}

#nosto-widget-area .wysiwyg_widget h3, #nosto-widget-area .widget_text h3, #nosto-widget-area .widget_recent_entries h3, h3.widget-title {
	color: #0f7fbd;
	text-transform: uppercase;
	font-size: 17px;
	margin-bottom: 20px;
	word-wrap: break-word
}

#nosto-widget-area .widget_recent_entries {
	width: 100%;
	height: 40px;
	float: left;
	padding-top: 10px;
	border-top: #E7E7E7 1px solid;
	margin-top: 10px;
	padding-left: 10px;
	margin-bottom: 50px;
}
#nosto-widget-area .widget_recent_entries ul li {
	float: left;
	background: none;
	padding: 0px 10px 5px 0px;
	margin: 5px;
	border-right: 1px solid #ccc;
}

#nosto-widget-area .widget_recent_entries ul li:last-child {
	border-right: none;
}




/* ----- CATEGORY POST WIDGET - */

#referenssit {
	position: absolute;
	left: -7px;
	top: -6px;
	z-index: 80;
	width: 120px;
	height: 120px;
	background: url(images/referenssit.png) top left no-repeat;
}

/*
.widget_categoryposts h3 {
	display: none;
}
.widget_categoryposts {
	border: 1px solid #ccc;
	position: relative;
	z-index: 40;
	list-style: none;
	float: left;
	width: 998px;
	height: 240px;
	margin: 5px 0px 0px 0px;
	padding: 0px;
}

.cat-post-item {
	position: relative;
	z-index: 50;
	list-style: none;
	
	margin: 0px;
	position: relative;
	padding: 20px;
	width: 210px;
	height: 230px;
	float: left;

}

.cat-post-item h4 {
	float: left;
	width: 100%;
	font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;;
	text-decoration: none;
	margin: 5px 0px;

}

.cat-post-item p a {
	color: #fff;
	display: inline-block;
	background: url(images/mainmenu_bg.jpg) top left repeat-x;
	box-shadow: 1px 1px 2px #666;
	font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 2px 8px;
	float: right;
	margin-right: 7px;
	margin-top: 15px;
	text-decoration: none;
}

.cat-post-item p {

	font-family: Georgia;
	font-size: 12px;
}

.cat-post-item img{
	float: left;

}
*/
.widget_categoryposts .widget-title {

	text-transform: uppercase;
}

#secondary ul li ul li {
	margin: 0px 0 1em 0;
	padding: 0px;
}
.widget_categoryposts ul li{
	background-image: none !important;
	padding-left: 0px !important;
}
.widget-area ul {
	list-style: none;
	margin-left: 0;
}
.widget-area ul ul {
	list-style: square;
	margin-left: 1.3em;
}
.widget-area select {
	max-width: 100%;
}
.widget_search #s {/* This keeps the search inputs in line */
	width: 60%;
}
.widget_search label {
	display: none;
}
.widget-container {
	margin-bottom: 30px
}
.widget-title {
	color: #222;
	font-weight: bold;
}
.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration: none;
}
.widget-area .entry-meta {
	font-size: 11px;
}
#wp_tag_cloud div {
	line-height: 1.6em;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	color: #222;
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 4px;
	text-align: left;
}
#wp-calendar thead {
	font-size: 11px;
}
#wp-calendar thead th {
}
#wp-calendar tbody {
	color: #aaa;
}
#wp-calendar tbody td {
	background: #f5f5f5;
	border: 1px solid #fff;
	padding: 3px 0 2px;
	text-align: center;
}
#wp-calendar tbody .pad {
	background: none;
}
#wp-calendar tfoot #next {
	text-align: right;
}
.widget_rss a.rsswidget {
	color: #000;
}
.widget_rss a.rsswidget:hover {
	color: #ff4b33;
}
.widget_rss .widget-title img {
	width: 11px;
	height: 11px;
}

/* Main sidebars */
#main .widget-area ul {
	margin-left: 0;
	padding: 0 20px 0 0;
}
#main .widget-area ul ul {
	border: none;
	margin-left: 1.3em;
	padding: 0;
}
#primary {
}
#secondary {
}

/* Footer widget areas */
#footer-widget-area {


}

/* =Footer
-------------------------------------------------------------- */

#footer {
	margin-top: 15px;
	margin-bottom: 20px;
}
#colophon {
	font-size: 14px;
	color: #666;
}
#site-info {
	font-weight: bold;
}
#site-info a {
	color: #000;
	text-decoration: none;
}
#site-generator {
	font-style: italic;
	position: relative;
}
#site-generator a {
	background: url(images/wordpress.png) center left no-repeat;
	color: #666;
	display: inline-block;
	line-height: 16px;
	padding-left: 20px;
	text-decoration: none;
}
#site-generator a:hover {
	text-decoration: none;
}
img#wpstats {
	display: block;
	margin: 0 auto 10px;
}

.border-grid > div.border-right:nth-child(4n) {border-right:none}

@media (max-width: 959px) {
	.border-grid > div.border-right:nth-child(2n) {border-right:none}
	.border-grid > div {border-top: 1px solid #e1e1e1}
	.border-grid > div:nth-child(1), .border-grid > div:nth-child(2) {border-top: none}
}

@media (max-width: 767px){
	.border-grid > div {border-right: none !important}
	.border-grid > div:nth-child(2) {border-top: 1px solid #e1e1e1}
}

/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
	-webkit-text-size-adjust: 140%;
}
code {
	-webkit-text-size-adjust: 160%;
}
#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
	-webkit-text-size-adjust: 120%;
}
#site-description {
	-webkit-text-size-adjust: none;
}




@media (max-width: 1059px) {
	.navbar-brand img {width: 180px; padding-top: 6px}
	 #masthead.container {width: 100%; padding: 0 20px}
}

@media (max-width: 916px) {
.navbar-header, .navbar-brand, .navbar-brand img {float:none; display: block; margin: 0 auto}
.navbar-brand img {width: 280px}
.navbar-collapse {text-align: center}
.navbar-nav {margin-top: 0px !important}
.navbar-right { display: inline-block; width: auto; float: none !important; text-align: center}
}

@media (max-width: 767px) {

	.navbar-nav > li > a > span.caret {display: none}
	.container {padding: 0 40px}
	.navbar-brand  {height: 60px}
	.navbar-brand img {width: 180px; margin-top: -16px}
	#carousel-asoma .item .text-right {text-align: center !important}
	#carousel-asoma .item h2.title {font-size: 20px; line-height: 24px}
	#carousel-asoma .item p {font-size: 14px; line-height: 20px}
	#carousel-asoma .carousel-inner {min-height: 400px}
	#content { }
	#content h1, #content h2, #primary h1, #primary h2 {word-wrap: break-word}
	#content h1, #primary h1 {font-size: 30px}
	#content h2, #primary h2 {font-size: 26px}
	#pagetop .pagetop-content {text-align: center; padding: 20px 0}
	#pagetop .pagetop-content h1.page-title {font-size: 26px; margin-bottom: 0px}
	#primary blockquote {font-size: 15px; line-height: 20px; padding-top: 40px; padding-bottom: 40px}
	#asides-column {padding: 0; }
	#asides-column blockquote {margin-left: -40px; margin-right: -40px; border-left: none; border-right: none; box-shadow: none}
	#main .widget-area ul {padding-right: 0}
	#carousel-asoma .item {padding: 30px 0 90px 0}
	#carousel-asoma .item img {position: absolute; width: 160%; margin-top: -30px; margin-left: -60px;  max-width: none}
	#carousel-asoma .item .row > div:first-child {padding-top: 0; padding-left: 0; margin: 0 -15px}
}



/* =Print Style
-------------------------------------------------------------- */

@media print {
	body {
		background: none !important;
	}
	#wrapper {
		clear: both !important;
		display: block !important;
		float: none !important;
		position: relative !important;
	}
	#header {
		border-bottom: 2pt solid #000;
		padding-bottom: 18pt;
	}
	#colophon {
		border-top: 2pt solid #000;
	}
	#site-title,
	#site-description {
		float: none;
		line-height: 1.4em;
		margin: 0;
		padding: 0;
	}
	#site-title {
		font-size: 13pt;
	}
	.entry-content {
		font-size: 14pt;
		line-height: 1.6em;
	}
	.entry-title {
		font-size: 21pt;
	}
	#access,
	#branding img,
	#respond,
	.comment-edit-link,
	.edit-link,
	.navigation,
	.page-link,
	.widget-area {
		display: none !important;
	}
	#container,
	#header,
	#footer {
		margin: 0;
		width: 100%;
	}
	#content,
	.one-column #content {
		margin: 24pt 0 0;
		width: 100%;
	}
	.wp-caption p {
		font-size: 11pt;
	}
	#site-info,
	#site-generator {
		float: none;
		width: auto;
	}
	#colophon {
		width: auto;
	}
	img#wpstats {
		display: none;
	}
	#site-generator a {
		margin: 0;
		padding: 0;
	}
	#entry-author-info {
		border: 1px solid #e7e7e7;
	}
	#main {
		display: inline;
	}
	.home .sticky {
		border: none;
	}
}

