/*
Theme Name: WP-TEEMA VERSIO 01.05.2014
Theme URI: -
Author: -
Author URI: -
Description: -
Version: 1.0.0.0
Tags: 
*/

body {
	background: #f1f1f1;
  	color: #555555;
	-ms-word-break: break-word;
	word-break: break-word;
	overflow-x: hidden;
    /*height:100vh;*/
    /*width:100vw;*/
overflow-x: hidden;
}
html{overflow-x: hidden;}
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 15px;
  font-weight: 400;
}
table .label {
  padding: 7px;
  background: none;
  text-shadow: none;
  line-height: normal;
}
tr {		border-bottom: 1px solid #cccccc;}
td {		padding: 5px;}
dt {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 26px;
  font-weight: bold;
}
dd {
  margin-bottom: 15px;
  margin-left: 26px;
}
ul, ol {
  margin: 0 0 10px 0;
}
ol, ul {
  margin-left: 21px;
  list-style-position: inside;
}
pre {
  -moz-border-radius: 0;
  border-radius: 0;
}
code {
  white-space: pre-wrap;
}
header {
  margin-top: 15px;
  margin-bottom: 15px;
}
.clear 			{clear: both;}
.clear-right 	{clear: right;}
.clear-left 	{clear: left;
}

/* HEADER ALUE */

/* SOME IKONIT */
header #social 							{margin-top:20px;}
header #social .icons a 					{float: right;margin-left: 5px;}
.icons 										{margin-top: 15px;}

/* KONTAKTIT, REKISTERÖINTI, KIRJAUTUMINEN, KUVAUS */
header#btp-header h2.site-title 			{margin-bottom: 5px;font-size: 38.5px}
header#btp-header h2.site-description 	{margin: 0;font-size: 14px;}
header#btp-header .contact_details 		{float: right;}
header#btp-header .register 				{float: right;}
header#btp-header .blog_description 	{float: right;}
header#btp-header p 						{font-size: 1.2em;}

/* HAKUKENTTÄ */
header #search #searchform 				{float: right;}

/* NAVIGOINTIVALIKKO */
#navigation { 
	margin-bottom: 2rem;
}
.navbar {
	padding: 6px 12px;
	padding: 0 0 0 0;
	-webkit-border-radius: 3px;
	border-radius: 3x;
}
.navbar-collapse {
	padding-left: 0;
}
.nav>li>a {
	padding: 14px 10px;
}
.nav>li>a:hover {
	background-color:#fff;
	color:#000;
}
.nav ol, .nav ul {
	margin-left:0;
}
.nav>li {
	float:left;
}
.navbar-brand {
	padding: 4px 4px;
	font-size: 1.8rem;
	line-height: 2.8rem;
	height: 0px;
}
.navbar-brand img {
	padding:10px;
}
.navbar-brand img:hover {
	background-color:#555;
	-webkit-border-radius:3px;
	border-radius:3px;
}
.nav .active>a {
	background-color: #373737;
	color: #fff;
}
.nav .dropdown-menu {
	z-index: 9999;
	padding: 0px 0;
	margin: 0px 0 0;
	border-radius: 0px;
}
.nav .dropdown-menu>li>a {
	padding: 8px 20px;
}
/* kakkostason menun ul ja määreet */
.nav .dropdown-menu>li>ul {
	display: block;
	padding: 0 0 0 0;
	list-style:none;
}
.nav .dropdown-menu>li>ul>li a {
	display: block;
	padding: 8px 0 8px 40px;
	white-space: nowrap;
	color:#999;
}
/* kolmostason menun ul ja määreet */
.nav .dropdown-menu>li>ul>li>ul {
	display: block;
	padding: 0 0 0 0;
	list-style:none;
	content: '>'; 
}
.nav .dropdown-menu>li>ul>li>ul>li a {
	display: block;
	padding: 8px 0 8px 80px;
	white-space: nowrap;
	color:#999;
}
.nav .dropdown-menu>li>ul>li a:before, .nav .dropdown-menu>li>ul>li>ul>li a:before {
	content: '> '; 
}
.main-navigation .nav li.dropdown:hover ul.dropdown-menu {
	display: block;
	margin-top: 0;
}
/* hover kaikille dropdown elementeille */
.main-navigation .nav li ul li a:hover {
	background-color: #f0f0f0;
	color: #333;
}
/* Navigointi-indikointi päätason valikolle missä ollaan */
.navbar-inverse .current-menu-ancestor.dropdown>a {
  color: #ccc;
}
/* valitun sivun nuolen indikointi */
.navbar-inverse .nav li.current-menu-ancestor.dropdown > .dropdown-toggle .caret {
  border-top-color: #ccc;
  border-bottom-color: #ccc;
}

@media (max-width: 768px) {
   .btn-navbar {
        display: block;
    }
    .navbar .navbar-collapse {
        clear: left;
		 max-height: none;
    }
    .navbar-collapse {
        height: 0;
        overflow: hidden;
    }
    .navbar .nav {
        float: none;
        margin: 0 0 0 9px;
    }
    .navbar .brand {
        margin: 0 0 0 -5px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .navbar .dropdown-menu:before, .navbar .dropdown-menu:after {
        display: none;
    }
    .navbar .nav > li > a, .navbar .dropdown-menu a {
        border-radius: 3px 3px 3px 3px;
        color: #fff;
        padding: 6px 15px;
    }
    .navbar .nav > li {
        float: left;
    }
    .navbar .nav > li a {
        float: none;
    }
    .navbar .dropdown-menu {
        background-color: transparent;
        border: medium none;
        border-radius: 0 0 0 0;
        box-shadow: none;
        display: block;
        float: none;
        left: auto;
        margin: 10 15px;
        max-width: none;
        padding: 20px;
        position: static;
        top: auto;
    }
    .navbar-form, .navbar-search {
        border-bottom: 1px solid #222222;
        border-top: 1px solid #222222;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.1);
        float: none;
        margin: 9px 0;
        padding: 9px 15px;
    }
    .navbar .nav.pull-right {
        float: none;
        margin-left: 0;
    }
}

/* PÄÄSISÄLTÖALUEET */
.container {
	background: transparent;
	padding-left:0;
	padding-right:0;
}
@media (max-width: 767px) {
	.container {
		background: transparent;
		padding-left:10px;
		padding-right:10px;
	}
}
article.post, article.page, article.attachment {
	margin-bottom: 20px;
	padding: 20px;
}
.entry-content {
	margin: 20px 0;
}
.page-header {
	margin-top: 0;
	padding: 0;
	border: none;
}

/* JULKAISUJEN JA SIVUJEN SISÄLTÖ */
article {
	background: transparent;
	border: solid 1px #ddd;
}
.entry-header {
  margin-top: 0;
}
.entry-summary {
  margin: 10px 0;
}

.postformats {
  float: right;
}
blockquote {
  margin: 20px 10px;
  padding: 3px;
  background-color: #cccccc;
}
blockquote p {
  margin: 10px;
}
blockquote cite {
  font-size: 0.9em;
}
blockquote cite:before {
  position: relative;
  top: -2px;
  margin: 0 5px;
  content: ' ̶ ';
}
.page-links {
  clear: both;
}
.more-content {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #dddddd;
  background: #ffffff;
}
.previous-post {
  margin-top: 5px;
  margin-bottom: 0;
  padding-bottom: 0;
  text-align: left;
}
.next-post {
  margin-top: 5px;
  margin-bottom: 0;
  padding-bottom: 0;
  text-align: right;
}

/* TAKSONOMIAT */
.entry-title {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 1.6em;
  line-height: 1em;
}
.entry-title a {
  color: #333333;
}
.entry-title a:hover {
  color: #0088cc;
}
article.post p, article.page p {
  font-size: 1.1em;
  line-height: 1.5em;
}

/* KUVAT */
.alignnone {
  display: block;
  margin: 5px 20px 20px 0;
}
.aligncenter, div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}
.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
a img.alignnone {
  margin: 5px 20px 20px 0;
}
a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto
}

img.size-full {
  max-width: 100%;
  height: auto;
}
.wp-caption {
  padding: 15px 3px 10px;
  max-width: 96%;
  border: 1px solid #f0f0f0;
  background: #ffffff;
  text-align: center;
}
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  margin: 0;
  padding: 0;
  max-width: 95%;
  width: auto;
  height: auto;
  border: 0 none;
}
.wp-caption p.wp-caption-text {
  margin: 0;
  padding: 0 4px 5px;
  font-size: 11px;
  line-height: 17px;
}
.caption_title {
  font-size: 16px;
}
.gallery-pagination {
  margin: 20px 0;
}
.gallery-pagination .previous-image a {
  float: left;
}
.gallery-pagination .next-image a {
  float: right;
}
article .featured-image {
  float: left;
  margin: 0 10px 10px 0;
}

/* METATIEDOT */
.entry-meta {
  margin-top: 0;
  color: #999999;
  font-size: 0.85em;
}
footer.entry-meta {
  clear: both;
}
.edit-link {
  margin-bottom: 10px;
}
.edit-link a {
  padding: 2px 4px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background: #888888;
  color: #ffffff;
}
.edit-link a:visited {
  color: #ffffff;
}
.edit-link a:hover {
  color: #cccccc;
  text-decoration: none;
}
.themecore_article_share {
  float: right;
}

/* KOMMENTIT */
.comments-area {
	margin-bottom: 20px;
	padding: 20px;
	background: transparent;
	border: solid 1px #ddd;
}
#comments .navigation {
  padding: 0 0 18px 0;
}
label[for="comment"] {
  display: block;
}
ol.commentlist {
  list-style: none;
}
ol.commentlist p {
  clear: left;
  margin-left: 8px;
}
ol.commentlist li.comment {
  padding: 10px;
}
ol.commentlist li.comment div.vcard cite.fn {
  font-style: normal;
}
ol.commentlist li.comment div.vcard img.avatar {
  margin: 0 10px 10px 10px;
}
ol.commentlist li.comment div.comment-meta {
  font-size: 11px;
}
ol.commentlist li.comment div.comment-meta a {
  color: #888888;
}
ol.commentlist li.comment div.reply {
  margin-left: 8px;
  font-size: 11px;
}
ol.commentlist li.comment div.reply a {
  font-weight: bold;
}
ol.commentlist li.comment ul.children {
  margin: 10px 0 0;
  list-style: none;
}
ol.commentlist li.comment ul.children li.depth-2 {
  margin: 0 0 10px 10px;
}
ol.commentlist li.comment ul.children li.depth-3 {
  margin: 0 0 10px 10px;
}
ol.commentlist li.comment ul.children li.depth-4 {
  margin: 0 0 10px 10px;
}
ol.commentlist li.even {
  border: 1px solid #cccccc;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background: #fafafa;
}
ol.commentlist li.odd {
  border: 1px solid #cccccc;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background: #ffffff;
}
.comment, .trackback, .pingback {
  margin: 10px 0 10px 0;
  padding: 10px;
}
.odd {
  background: #f8f8f8;
}
#form-allowed-tags code {
  font-size: 12px;
}
#respond input, #respond textarea {
  overflow: auto;
  margin: 0 5px 5px 0;
}
#respond textarea {
  width: 99%;
  height: 150px;
}
.avatar {
  float: left;
}

/* SIVUPALKIT JA VIMPAIMET */
.widget-container {
  margin-bottom: 15px;
  padding: 20px;
  background: transparent;
}
#sidebar .widget-container {
  margin-bottom: 20px;
  border: solid 1px #ddd;
}
h3.widget-title {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: normal;
  line-height: 1em;
}
.widget-container ul, .widget ul {
	padding: 0 0 0 10px;
	margin-left: 5px;
}
.widget-container ul li, .widget ul li {
  list-style: none;
  font-size: 14px;
  line-height: 1.8em;
}
table#wp-calendar {
  width: 100%;
}
table#wp-calendar th {
  font-size: 14px;
}
table#wp-calendar td {
  padding: 5px 0;
  width: 14.28571428571429%;
  text-align: center;
  font-size: 14px;
}
.widget-container #searchform.pull-right {
  margin-right: 30px;
}
.widget-container #searchform input.input-medium {
  display: inline-block;
  float: none;
  width: 100%;
}

/* HAKUKENTTÄ */
#searchform {
	margin-top: 10px;
	margin-right: 10px;
}
#searchform input {
	padding: 4px 6px;
	border-radius: 2px;
	border: 0 none;
	font-style: italic;
}

/* FOOTER ALAOSA */
#footer-widgets {
	margin: 0 0 20px 0;
	border: solid 1px #ddd;
}
#footer-widgets .widget-container {
	border-right: solid 1px #ddd;
	min-height: 15vh;
	margin-bottom: 0;
}
#footer-widgets .widget-container:last-child {
	border-right: 0 none;
}

#footer-widget-container {
	background: transparent;
}
.site-footer {
	margin-top: 20px;
	margin-bottom: 20px;
}
.site-footer #copyright {
	text-align: right;
}

/* FOOTER ALAOSAN VALIKKO */
#footer_menu {
  padding: 20px 0 0;
  text-align: center;
}
#footer_menu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
}
#footer_menu li {
  display: inline;
  margin-right: 5px;
}
#footer_menu li a {
  text-decoration: none;
}
#footer_menu li a::after {
  margin-left: 5px;
  content: ' | ';
}
#footer_menu li a:hover::after {
  color: #0088cc;
}
#footer_menu li:last-child a::after {
  content: '';
}

/* WORDPRESS OLETUSARVOT */
.sticky					{}
.gallery-caption		{}
.bypostauthor			{}

/* SISÄLTÖELEMENTIT */

/* TÄYDEN LEVEYDEN DIAESITYS */
.carousel {
	position: relative;
	margin: 0 0 20px 0;
	border: solid 1px #ccc;
}
.carousel-caption {
	padding: 20px;
	background: #000;
	background: rgba(0, 0, 0, 0.5);
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
}
.carousel-caption h4 {
	margin: 0 0 5px;
	line-height: 20px;
	color: #fff;
}
#slider .carousel-control {
	line-height: 30px;
	font-size:3rem;
	top:45%;
}
.carousel-control {
	position: absolute;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	font-weight: 100;
	color: #ffffff;
	text-align: center;
	background: #000;
	border: 4px solid #ffffff;
	-webkit-border-radius: 23px;
	-moz-border-radius: 23px;
	border-radius: 23px;
	opacity: .33;
	filter: alpha(opacity=33);
}
.carousel-control.left {
	left:-50px;
	padding-right: 2px;
}
.carousel-control.right {
	right:-50px;
	padding-left: 2px;
}

/* CTA-KUTSUN ELEMENTTI */
#callout_container {
	margin: 0 0 20px 0;
	border: solid 1px #ddd;
}

#callout {
padding: 20px;
	background: transparent;
}

.callout-text h2.callout-title {
  margin-top: 0;
  font-size: 1.6em;
  line-height: 1em;
}

.callout-text p {
  font-size: 1.2em;
}

.callout-text p:last-child {
  margin-bottom: 0;
}

#callout_button a {
  float: right;
  margin-top: 5px;
}

/* VIMPAINLAATIKOT */

.box {
  margin-bottom: 20px;
  padding: 20px;
  background: transparent;
  border: solid 1px #ddd;
}

h2.box-widget-title {
  margin-top: 0;
  text-align: center;
  font-size: 1.6em;
  line-height: 1em;
}

.box p {
  font-size: 1.1em;
  line-height: 1.2em;
}

/* TIETOLAATIKOT */

#boxes_container .box a {
  display: block;
  width: 100%;
  color: #555555;
  text-align: center;
}
#boxes_container .box {
	border: 0 none;
	margin-bottom:0;
}

#boxes_container .box-no-url {
  cursor: default;
}

.box, .box a {
	min-height: 80px !important;
	max-height: 1800px !important;
	text-align: center;
}
.box img {
	margin:0 auto;
	max-height:100%;
}

/* KUVAKARUSELLI */

#btp-carousel {
  padding: 20px 50px;
  background: #ffffff;
}

#btp-carousel ul {
  margin: 0;
  padding: 0;
  max-height: 150px;
  width: 100%;
}

#btp-carousel ul li {
  position: relative;
  display: inline-block;
  margin-bottom: 0;
}

#btp-carousel ul li .carousel-captions {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
}

#btp-carousel ul li .carousel-captions p {
  margin: 0;
  color: #ffffff;
  text-align: center;
  font-weight: normal;
  font-size: 1em;
}

#btp-carousel .carousel-control {
  top: 50%;
  border: none;
}

#btp-carousel .carousel-control.left {
  left: 5px;
}

#btp-carousel .carousel-control.right {
  right: 5px;
}

@media (max-width: 767px) {
  #btp-carousel [class*="span"], .row #btp-carousel [class*="span"] {
    float: left;
    margin-left: 2.762430939%;
    width: 14.364640883%;
  }

  #btp-carousel [class*="span"]:first-child, .row #btp-carousel [class*="span"]:first-child {
    margin-left: 0;
  }
}

/* REFERENSSIT */

#portfolio {
	margin: 0 0px 20px 0px;
	border: solid 1px #ddd;
}
#portfolio img {
	padding: 4px;
	background-color: #fff;
	border: solid 1px #ddd;
	margin: 0 auto;
}

#gallery {
	padding: 20px;
	background: transparent;
}
#gallery ul.row {
	margin: 0;
	padding: 0;
}
#gallery h2 {
  margin-top: 0;
  font-weight: 400;
	font-size: 2rem;
	line-height: 2rem;
}
#gallery ul.row li#portfolio_wrap {
  text-align: center;
	list-style:none;
}
#gallery ul.row li#portfolio_wrap .portfolio-item {
	padding: 10px;
}

/* MURUPOLUT */
.breadcrumbs {
	margin: 0 15px 20px 15px;
	padding: 10px 20px;
	background: transparent;
	font-size: 1.2rem;
	border: solid 1px #ddd;
}
/* SIVUPAGINOINTI */

.pagination ul li a {
  background: #ffffff;
}

/* UUSIMMAT JULKAISUT */

#recent_posts {
	margin: 0 15px 20px 15px;
	padding: 20px;
	background: transparent;
	border: solid 1px #ddd;
}
#recent_posts h5.recent-posts-post-title {
  font-size: 1.2em;
  line-height: 1em;
}

.recent-posts-image {
  margin-bottom: 10px;
}

/* HTML-KOODILAATIKKO */

#htmlbox_container {
	margin: 0 0 20px 0;
	border: solid 1px #ddd;
	padding: 20px 4px;
}

/* TUOTE-ESITTELY */

#product_element_section {
}
#themecore_product_container {
  margin: 0 0 20px 0;
  border: solid 1px #ddd;
}


#product_element_section #themecore_product_media {
  text-align: center;
}

#product_element_section .flex-video {
  margin-bottom: 0;
}

#product_element_section .themecore-product-link {
  margin-top: 20px;
  text-align: center;
}

/* RESPONSIIVISUUS JA MUKAUTUVA TAITTO */
@media (max-width: 480px) {
  header#btp-header .col-md-7 {
    text-align: center;
  }

  header#btp-header .col-md-5 {
    text-align: center;
  }

  header#btp-header .col-md-5 div.icons a {
    float: none;
  }

  header#btp-header .col-md-5 div.blog-description {
    float: none;
  }

  header#btp-header .col-md-5 div.register {
    float: none;
  }

  header#btp-header .col-md-5 #searchform {
    float: none;
  }
}