/*!
 * Bootstrap v3.0.2 by @fat and @mdofooter

 * Copyright 2013 Twitter, Inc.
 * Licensed under http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world by @mdo and @fat.
 */

/*! normalize.css v2.1.3 | MIT License | git.io/normalize */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
}

a {
  background: transparent;
}

a:focus {
  outline: thin dotted;
}

a:active,
a:hover {
  outline: 0;
}

h1 {
  margin: 0.67em 0;
  font-size: 2.54em;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,

strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

hr {
  height: 0;
  -moz-box-sizing: content-box;
       box-sizing: content-box;
}

mark {
  color: #000;
  background: #ff0;
}

figcaption{font-style: italic;}

code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}

pre {
  white-space: pre-wrap;
}

q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}

small {
  font-size: 80%;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

fieldset {
  padding: 0.35em 0.625em 0.75em;
  margin: 0 2px;
  border: 1px solid #c0c0c0;
}

legend {
  padding: 0;
  border: 0;
}

button,
input,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: 100%;
}

button,
input {
  line-height: normal;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
  box-sizing: border-box;
}

input[type="search"] {
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
  -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

textarea#infotext {
  width:400px;
  height:100px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

@media print {
  * {
    color: #000 !important;
    text-shadow: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
@page{
  margin: 2cm .5cm;
}
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
  select {
    background: #fff !important;
  }
  .navbar {
    display: none;
  }
  .table td,
  .table th {
    background-color: #fff !important;
  }
  .btn > .caret,
  .dropup > .btn > .caret {
    border-top-color: #000 !important;
  }
  .label {
    border: 1px solid #000;
  }
  .table {
    border-collapse: collapse !important;
  }
  .table-bordered th,
  .table-bordered td {
    border: 1px solid #ddd !important;
  }
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 62.5%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.428571429;
  color: #333333;
}

.font-times p,
.font-times h1,
.font-times h2,
.font-times h3,
.font-times h4,
.font-times h5,
.font-times h6,
.font-times li{font-family: Georgia, serif;}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

a {
  color: #222;
  text-decoration: none;
}

.body > p > a {
  color: #428bca;
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #2a6496;
  text-decoration: underline;
}

a:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

img {
  vertical-align: middle;
}

.img-responsive {
  display: block;
  height: auto;
  max-width: 100%;
}

.img-rounded {
  border-radius: 6px;
}

.img-thumbnail {
  display: inline-block;
  height: auto;
  max-width: 100%;
  padding: 0px;
  line-height: 1.428571429;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 4px;
  -webkit-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}

@media(min-width:768px){
  .img-thumbnail {
    display: inline-block;
    height: auto;
    max-width: 100%;
    /*padding: 4px;*/
    line-height: 1.428571429;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    -webkit-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}

}

.img-circle {
  border-radius: 50%;
}

hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eeeeee;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

p {
  margin: 0 0 10px;
}

.lead {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 200;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .lead {
    font-size: 21px;
  }
}

small,
.small {
  font-size: 85%;
}

cite {
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: inherit;
  display:block;
}


h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #222;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a :hover{
  color: #666;
  text-decoration:none;
}

h1,
h2,
h3 {
  margin-top: 18px;
  margin-bottom: 10px;
}
.teaser h1,
.teaser h2,
.teaser h3 {
  margin-top: 0px;
  margin-bottom: 10px;
}

h1 small,
h2 small,
h3 small,
h1 .small,
h2 .small,
h3 .small {
  font-size: 65%;
}

h4,
h5,
h6 {
  margin-top: 10px;
  margin-bottom: 10px;
}

h4 small,
h5 small,
h6 small,
h4 .small,
h5 .small,
h6 .small {
  font-size: 75%;
}

h1,
.h1 {
  font-size: 3.4em;
}

h2,
.h2 {
  font-size: 30px;
}

h3,
.h3 {
  font-size: 24px;
}

#artPreHeadAndHead h1{margin-bottom:16px;}

.OsastoNostot > h3{font-size: 20px;}

h4,
.h4 {
  font-size: 18px;
}
.list>h4,
.list>.h4,
.list>h2,
.list>.h2,
.list>.h2 a {
  border-bottom:solid #ccc 4px;font-size: 18px;
}

h5,
.h5 {
  font-size: 14px;
}

.body h5 {
  font-size: 18px;margin-top:20px;
}

h6,
.h6 {
  font-size: 12px;
}

@media (max-width: 767px){
  h1,.h1, h1 a {font-size: 22px!important;}
  h2,.h2, h2 a {font-size: 18px;}
  h3,.h3, h3 a {font-size: 16px;}
  h4,.h4, h4 a {font-size: 14px;}
  h5,.h5, h5 a {font-size: 12px;}
  h6,.h6, h6 a {font-size: 12px;}
  .story h3 {margin:0px;}
}

.page-header {
  padding-bottom: 9px;
  margin: 40px 0 20px;
  border-bottom: 1px solid #eeeeee;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 10px;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin-bottom: 0;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-inline {
  padding-left: 0;
  list-style: none;
}

.list-inline > li {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
}

.list-inline > li:first-child {
  padding-left: 0;
}

dl {
  margin: 4px;
}

dt,
dd {
  line-height: 1.428571429;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

@media (min-width: 768px) {
  .dl-horizontal dt {
    float: left;
    width: 120px;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .dl-horizontal dd {
    margin-left: 130px;
  }
  .dl-horizontal dd:before,
  .dl-horizontal dd:after {
    display: table;
    content: " ";
  }
  .dl-horizontal dd:after {
    clear: both;
  }
  .dl-horizontal dd:before,
  .dl-horizontal dd:after {
    display: table;
    content: " ";
  }
  .dl-horizontal dd:after {
    clear: both;
  }
}

abbr[title],
abbr[data-original-title] {
  cursor: help;
  border-bottom: 1px dotted #999999;
}

abbr.initialism {
  font-size: 90%;
  text-transform: uppercase;
}

blockquote {
  padding: 10px 20px;
  margin: 0 0 20px;
  border-left: 5px solid #eeeeee;
}

blockquote p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.25;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote small {
  display: block;
  line-height: 1.428571429;
  color: #999999;
}

blockquote small:before {
  content: '\2014 \00A0';
}

blockquote.pull-right {
  padding-right: 15px;
  padding-left: 0;
  border-right: 5px solid #eeeeee;
  border-left: 0;
}

blockquote.pull-right p,
blockquote.pull-right small,
blockquote.pull-right .small {
  text-align: right;
}

blockquote.pull-right small:before,
blockquote.pull-right .small:before {
  content: '';
}

blockquote.pull-right small:after,
blockquote.pull-right .small:after {
  content: '\00A0 \2014';
}

blockquote:before,
blockquote:after {
  content: "";
}

blockquote footer{background:#fff;color:#111;width:100%!important}
blockquote footer a, blockquote footer a:hover{color:#111;text-decoration:none;}
blockquote footer a:after{content: "\e164";font-family: 'Glyphicons Halflings';margin-left:10px;color:#999;}


address {
  margin-bottom: 20px;
  font-style: normal;
  line-height: 1.428571429;
}

code,
kbd,
pre,
samp {
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}

code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  white-space: nowrap;
  background-color: #f9f2f4;
  border-radius: 4px;
}

pre {
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.428571429;
  color: #333333;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f5f5f5;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

pre code {
  padding: 0;
  font-size: inherit;
  color: inherit;
  white-space: pre-wrap;
  background-color: transparent;
  border-radius: 0;
}

.pre-scrollable {
  max-height: 340px;
  overflow-y: scroll;
}

aside{padding:4px;background:#fff;}

.container {
  background:#fff;
  margin-right: auto!important;
  margin-left: auto!important;
}
.container.today, .container.todaySs{background:#f6f6f6;padding:6px 10px;}

.container:before,
.container:after {
  display: table;
  content: " ";
}

.container:after {
  clear: both;
}

.container:before,
.container:after {
  display: table;
  content: " ";
}

.container:after {
  clear: both;
}

aside div{margin-bottom:0px;}

.row {
 }

@media(max-width:690px){
    .container {
    width: 100%!important;
  }
}

.row:before,
.row:after {
  display: table;
  content: " ";
}

.row:after {
  clear: both;
}

.row:before,
.row:after {
  display: table;
  content: " ";
}

.row:after {
  clear: both;
}

.col-xs-1,
.col-sm-1,
.col-md-1,
.col-lg-1,
.col-xs-2,
.col-sm-2,
.col-md-2,
.col-lg-2,
.col-xs-3,
.col-sm-3,
.col-md-3,
.col-lg-3,
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4,
.col-xs-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-xs-6,
.col-sm-6,
.col-md-6,
.col-lg-6,
.col-xs-7,
.col-sm-7,
.col-md-7,
.col-lg-7,
.col-xs-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-xs-9,
.col-sm-9,
.col-md-9,
.col-lg-9,
.col-xs-10,
.col-sm-10,
.col-md-10,
.col-lg-10,
.col-xs-11,
.col-sm-11,
.col-md-11,
.col-lg-11,
.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-right: 8px;
  padding-left: 8px;
}

.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11 {
  float: left;
}

.col-xs-12 {
  width: 100%;
}

.col-xs-11 {
  width: 91.66666666666666%;
}

.col-xs-10 {
  width: 83.33333333333334%;
}

.col-xs-9 {
  width: 75%;
}

.col-xs-8 {
  width: 66.66666666666666%;
}

.col-xs-7 {
  width: 58.333333333333336%;
}

.col-xs-6 {
  width: 50%;
}

.col-xs-5 {
  width: 41.66666666666667%;
}

.col-xs-4 {
  width: 33.33333333333333%;
}

.col-xs-3 {
  width: 25%;
}

.col-xs-2 {
  width: 16.666666666666664%;
}

.col-xs-1 {
  width: 8.333333333333332%;
}

.col-xs-pull-12 {
  right: 100%;
}

.col-xs-pull-11 {
  right: 91.66666666666666%;
}

.col-xs-pull-10 {
  right: 83.33333333333334%;
}

.col-xs-pull-9 {
  right: 75%;
}

.col-xs-pull-8 {
  right: 66.66666666666666%;
}

.col-xs-pull-7 {
  right: 58.333333333333336%;
}

.col-xs-pull-6 {
  right: 50%;
}

.col-xs-pull-5 {
  right: 41.66666666666667%;
}

.col-xs-pull-4 {
  right: 33.33333333333333%;
}

.col-xs-pull-3 {
  right: 25%;
}

.col-xs-pull-2 {
  right: 16.666666666666664%;
}

.col-xs-pull-1 {
  right: 8.333333333333332%;
}

.col-xs-pull-0 {
  right: 0;
}

.col-xs-push-12 {
  left: 100%;
}

.col-xs-push-11 {
  left: 91.66666666666666%;
}

.col-xs-push-10 {
  left: 83.33333333333334%;
}

.col-xs-push-9 {
  left: 75%;
}

.col-xs-push-8 {
  left: 66.66666666666666%;
}

.col-xs-push-7 {
  left: 58.333333333333336%;
}

.col-xs-push-6 {
  left: 50%;
}

.col-xs-push-5 {
  left: 41.66666666666667%;
}

.col-xs-push-4 {
  left: 33.33333333333333%;
}

.col-xs-push-3 {
  left: 25%;
}

.col-xs-push-2 {
  left: 16.666666666666664%;
}

.col-xs-push-1 {
  left: 8.333333333333332%;
}

.col-xs-push-0 {
  left: 0;
}

.col-xs-offset-12 {
  margin-left: 100%;
}

.col-xs-offset-11 {
  margin-left: 91.66666666666666%;
}

.col-xs-offset-10 {
  margin-left: 83.33333333333334%;
}

.col-xs-offset-9 {
  margin-left: 75%;
}

.col-xs-offset-8 {
  margin-left: 66.66666666666666%;
}

.col-xs-offset-7 {
  margin-left: 58.333333333333336%;
}

.col-xs-offset-6 {
  margin-left: 50%;
}

.col-xs-offset-5 {
  margin-left: 41.66666666666667%;
}

.col-xs-offset-4 {
  margin-left: 33.33333333333333%;
}

.col-xs-offset-3 {
  margin-left: 25%;
}

.col-xs-offset-2 {
  margin-left: 16.666666666666664%;
}

.col-xs-offset-1 {
  margin-left: 8.333333333333332%;
}

.col-xs-offset-0 {
  margin-left: 0;
}


@media (min-width: 768px) {
  .container {
    width: 1170px!important;
  background:#fff;
  }
    .navbar-collapse.collapse {
  width:1170px;
  }
  .header-login{
    width: 1170px;
  color:#666;
  margin:auto;
  padding-bottom:4px;
  }
    footer {
    width: 100%;
  color:#666;
  margin:auto;
  padding-bottom:4px;
  margin-top:20px;
  }

  header{
  width: 100%;
  background:#f6f6f6;
  border-top:solid #ccc 1px;
  border-bottom:solid #ccc 1px;
  }

  .container>.col-sm-10{
  width:1000px;
  margin-right:140px;
  }
  .col-sm-7.col-lg-8{
  width:600px;
  }
  .col-sm-5.col-lg-4{
  width:320px;
  padding-top:10px;
  }
   .container>.col-sm-2{
  width:140px;
  margin-left:-140px;
  }

  .rowLoginLogo{width:1170px;margin:auto;padding:0;}

  .col-sm-1,
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7,
  .col-sm-8,
  .col-sm-9,
  .col-sm-10,
  .col-sm-11 {
    float: left;
  min-height:0px;
  }
  .col-sm-12 {
    width: 100%;
  }
  .col-sm-11 {
    width: 91.66666666666666%;
  }
  .col-sm-10 {
    width: 83.33333333333334%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-8 {
    width: 66.66666666666666%;
  }
  .col-sm-7 {
    width: 58.333333333333336%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-5 {
    width: 41.66666666666667%;
  }
  .col-sm-4 {
    width: 33.33333333333333%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-2 {
    width: 16.666666666666664%;
  }
  .col-sm-1 {
    width: 8.333333333333332%;
  }
  .col-sm-pull-12 {
    right: 100%;
  }
  .col-sm-pull-11 {
    right: 91.66666666666666%;
  }
  .col-sm-pull-10 {
    right: 83.33333333333334%;
  }
  .col-sm-pull-9 {
    right: 75%;
  }
  .col-sm-pull-8 {
    right: 66.66666666666666%;
  }
  .col-sm-pull-7 {
    right: 58.333333333333336%;
  }
  .col-sm-pull-6 {
    right: 50%;
  }
  .col-sm-pull-5 {
    right: 41.66666666666667%;
  }
  .col-sm-pull-4 {
    right: 33.33333333333333%;
  }
  .col-sm-pull-3 {
    right: 25%;
  }
  .col-sm-pull-2 {
    right: 16.666666666666664%;
  }
  .col-sm-pull-1 {
    right: 8.333333333333332%;
  }
  .col-sm-pull-0 {
    right: 0;
  }
  .col-sm-push-12 {
    left: 100%;
  }
  .col-sm-push-11 {
    left: 91.66666666666666%;
  }
  .col-sm-push-10 {
    left: 83.33333333333334%;
  }
  .col-sm-push-9 {
    left: 75%;
  }
  .col-sm-push-8 {
    left: 66.66666666666666%;
  }
  .col-sm-push-7 {
    left: 58.333333333333336%;
  }
  .col-sm-push-6 {
    left: 50%;
  }
  .col-sm-push-5 {
    left: 41.66666666666667%;
  }
  .col-sm-push-4 {
    left: 33.33333333333333%;
  }
  .col-sm-push-3 {
    left: 25%;
  }
  .col-sm-push-2 {
    left: 16.666666666666664%;
  }
  .col-sm-push-1 {
    left: 8.333333333333332%;
  }
  .col-sm-push-0 {
    left: 0;
  }
  .col-sm-offset-12 {
    margin-left: 100%;
  }
  .col-sm-offset-11 {
    margin-left: 91.66666666666666%;
  }
  .col-sm-offset-10 {
    margin-left: 83.33333333333334%;
  }
  .col-sm-offset-9 {
    margin-left: 75%;
  }
  .col-sm-offset-8 {
    margin-left: 66.66666666666666%;
  }
  .col-sm-offset-7 {
    margin-left: 58.333333333333336%;
  }
  .col-sm-offset-6 {
    margin-left: 50%;
  }
  .col-sm-offset-5 {
    margin-left: 41.66666666666667%;
  }
  .col-sm-offset-4 {
    margin-left: 33.33333333333333%;
  }
  .col-sm-offset-3 {
    margin-left: 25%;
  }
  .col-sm-offset-2 {
    margin-left: 16.666666666666664%;
  }
  .col-sm-offset-1 {
    margin-left: 8.333333333333332%;
  }
  .col-sm-offset-0 {
    margin-left: 0;
  }
}

/* artikkelin otsikko */

#content-behind-paywall>.col-sm-12{padding-left:0px;}

@media (min-width:768px) and (max-width: 991px)  {
    footer {
    width: 1170px;
  color:#666;
  margin:auto;
  padding-bottom:4px;
  margin-top:20px;
  }
  header{width: 1170px;}

}

  .col-md-1,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-10,
  .col-md-11 {
    float: left;
  }
  .col-md-12 {
    width: 100%;
  }
  .col-md-11 {
    width: 91.66666666666666%;
  }
  .col-md-10 {
    width: 83.33333333333334%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-8 {
    width: 66.66666666666666%;
  }
  .col-md-7 {
    width: 58.333333333333336%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-5 {
    width: 41.66666666666667%;
  }
  .col-md-4 {
    width: 33.33333333333333%;
    }
  .col-md-3 {
    width: 25%;
  }
  .col-md-2 {
    width: 16.666666666666664%;
  }
  .col-md-1 {
    width: 8.333333333333332%;
  }
  .col-md-pull-12 {
    right: 100%;
  }
  .col-md-pull-11 {
    right: 91.66666666666666%;
  }
  .col-md-pull-10 {
    right: 83.33333333333334%;
  }
  .col-md-pull-9 {
    right: 75%;
  }
  .col-md-pull-8 {
    right: 66.66666666666666%;
  }
  .col-md-pull-7 {
    right: 58.333333333333336%;
  }
  .col-md-pull-6 {
    right: 50%;
  }
  .col-md-pull-5 {
    right: 41.66666666666667%;
  }
  .col-md-pull-4 {
    right: 33.33333333333333%;
  }
  .col-md-pull-3 {
    right: 25%;
  }
  .col-md-pull-2 {
    right: 16.666666666666664%;
  }
  .col-md-pull-1 {
    right: 8.333333333333332%;
  }
  .col-md-pull-0 {
    right: 0;
  }
  .col-md-push-12 {
    left: 100%;
  }
  .col-md-push-11 {
    left: 91.66666666666666%;
  }
  .col-md-push-10 {
    left: 83.33333333333334%;
  }
  .col-md-push-9 {
    left: 75%;
  }
  .col-md-push-8 {
    left: 66.66666666666666%;
  }
  .col-md-push-7 {
    left: 58.333333333333336%;
  }
  .col-md-push-6 {
    left: 50%;
  }
  .col-md-push-5 {
    left: 41.66666666666667%;
  }
  .col-md-push-4 {
    left: 33.33333333333333%;
  }
  .col-md-push-3 {
    left: 25%;
  }
  .col-md-push-2 {
    left: 16.666666666666664%;
  }
  .col-md-push-1 {
    left: 8.333333333333332%;
  }
  .col-md-push-0 {
    left: 0;
  }
  .col-md-offset-12 {
    margin-left: 100%;
  }
  .col-md-offset-11 {
    margin-left: 91.66666666666666%;
  }
  .col-md-offset-10 {
    margin-left: 83.33333333333334%;
  }
  .col-md-offset-9 {
    margin-left: 75%;
  }
  .col-md-offset-8 {
    margin-left: 66.66666666666666%;
  }
  .col-md-offset-7 {
    margin-left: 58.333333333333336%;
  }
  .col-md-offset-6 {
    margin-left: 50%;
  }
  .col-md-offset-5 {
    margin-left: 41.66666666666667%;
  }
  .col-md-offset-4 {
    margin-left: 33.33333333333333%;
  }
  .col-md-offset-3 {
    margin-left: 25%;
  }
  .col-md-offset-2 {
    margin-left: 16.666666666666664%;
  }
  .col-md-offset-1 {
    margin-left: 8.333333333333332%;
  }
  .col-md-offset-0 {
    margin-left: 0;
  }


table {
  max-width: 100%;
  background-color: transparent;
}

th {
  text-align: left;
}

.table {
  width: 100%;
  margin-bottom: 20px;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td{
  padding: 8px;
  line-height: 1.428571429;
  vertical-align: top;
  border-top: 1px solid #dddddd;
}

.table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #dddddd;
}

.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
  border-top: 0;
}

.table > tbody + tbody {
  border-top: 2px solid #dddddd;
}

.table .table {
  background-color: #ffffff;
}

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
  padding: 5px;
}

.table-bordered {
  border: 1px solid #dddddd;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid #dddddd;
}

.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
  border-bottom-width: 2px;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
  background-color: #f9f9f9;
}

.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
  background-color: #f5f5f5;
}

table col[class*="col-"] {
  display: table-column;
  float: none;
}

table td[class*="col-"],
table th[class*="col-"] {
  display: table-cell;
  float: none;
}

.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
  background-color: #f5f5f5;
}

.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > thead > tr > th.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > thead > tr.success > td,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
  background-color: #dff0d8;
}

.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
.table-hover > tbody > tr.success:hover > td,
.table-hover > tbody > tr.success:hover > th {
  background-color: #d0e9c6;
}

.table > thead > tr > td.danger,
.table > tbody > tr > td.danger,
.table > tfoot > tr > td.danger,
.table > thead > tr > th.danger,
.table > tbody > tr > th.danger,
.table > tfoot > tr > th.danger,
.table > thead > tr.danger > td,
.table > tbody > tr.danger > td,
.table > tfoot > tr.danger > td,
.table > thead > tr.danger > th,
.table > tbody > tr.danger > th,
.table > tfoot > tr.danger > th {
  background-color: #f2dede;
}

.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover,
.table-hover > tbody > tr.danger:hover > td,
.table-hover > tbody > tr.danger:hover > th {
  background-color: #ebcccc;
}

.table > thead > tr > td.warning,
.table > tbody > tr > td.warning,
.table > tfoot > tr > td.warning,
.table > thead > tr > th.warning,
.table > tbody > tr > th.warning,
.table > tfoot > tr > th.warning,
.table > thead > tr.warning > td,
.table > tbody > tr.warning > td,
.table > tfoot > tr.warning > td,
.table > thead > tr.warning > th,
.table > tbody > tr.warning > th,
.table > tfoot > tr.warning > th {
  background-color: #fcf8e3;
}

.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover,
.table-hover > tbody > tr.warning:hover > td,
.table-hover > tbody > tr.warning:hover > th {
  background-color: #faf2cc;
}

@media (max-width: 767px) {
  .table-responsive{
    width: 100%;
    margin-bottom: 15px;
    overflow-x: scroll;
    overflow-y: hidden;
    border: 1px solid #dddddd;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive > .table{
    margin-bottom: 0;
  }
  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
    white-space: nowrap;
  }
  .table-responsive > .table-bordered
  {
    border: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:first-child,
  .table-responsive > .table-bordered > tbody > tr > th:first-child,
  .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  .table-responsive > .table-bordered > thead > tr > td:first-child,
  .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .table-responsive > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:last-child,
  .table-responsive > .table-bordered > tbody > tr > th:last-child,
  .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  .table-responsive > .table-bordered > thead > tr > td:last-child,
  .table-responsive > .table-bordered > tbody > tr > td:last-child,
  .table-responsive > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
  }
  .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .table-responsive > .table-bordered > tfoot > tr:last-child > th,
  .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .table-responsive > .table-bordered > tfoot > tr:last-child > td {
    border-bottom: 0;
  }
}

fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 20px;
  font-size: 21px;
  line-height: inherit;
  color: #333333;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}

label {
  display: inline-block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="search"] {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

input[type="radio"],
input[type="checkbox"] {
  margin: 4px 0 0;
  margin-top: 1px \9;
  /* IE8-9 */

  line-height: normal;
}

input[type="file"] {
  display: block;
}

select[multiple],
select[size] {
  height: auto;
  margin-bottom:20px;
  max-width:90%;
}

select optgroup {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
}

input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  height: auto;
}

output {
  display: block;
  padding-top: 7px;
  font-size: 14px;
  line-height: 1.428571429;
  color: #555555;
  vertical-align: middle;
}

.form-control {
  display: block;
  height: 30px;
  padding: 6px;
  font-size: 14px;
  line-height: 1.428571429;
  color: #555555;
  vertical-align: middle;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
          transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.form-control:-moz-placeholder {
  color: #999999;
}

.form-control::-moz-placeholder {
  color: #999999;
}

.form-control:-ms-input-placeholder {
  color: #999999;
}

.form-control::-webkit-input-placeholder {
  color: #999999;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  /*cursor: not-allowed;*/
  cursor: default;
  background-color: #eeeeee;
}

textarea.form-control {
  height: auto;
}

textarea#comment-form-body{width:100%;height:200px;}

.form-group {
  margin-bottom: 15px;
}

@media(min-width:1024px){
.form-group {
  width:400px;
}
}

.radio,
.checkbox {
  display: block;
  min-height: 20px;
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  vertical-align: middle;
}

.radio label,
.checkbox label {
  display: inline;
  margin-bottom: 0;
  font-weight: normal;
  cursor: pointer;
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
  float: left;
  margin-left: -20px;
}

.radio + .radio,
.checkbox + .checkbox {
  margin-top: -5px;
}

.radio-inline,
.checkbox-inline {
  display: inline-block;
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: normal;
  vertical-align: middle;
  cursor: pointer;
}

.radio-inline + .radio-inline,
.checkbox-inline + .checkbox-inline {
  margin-top: 0;
  margin-left: 10px;
}

input[type="radio"][disabled],
input[type="checkbox"][disabled],
.radio[disabled],
.radio-inline[disabled],
.checkbox[disabled],
.checkbox-inline[disabled],
fieldset[disabled] input[type="radio"],
fieldset[disabled] input[type="checkbox"],
fieldset[disabled] .radio,
fieldset[disabled] .radio-inline,
fieldset[disabled] .checkbox,
fieldset[disabled] .checkbox-inline {
  cursor: not-allowed;
}

.input-sm {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

select.input-sm {
  height: 30px;
  line-height: 30px;
}

textarea.input-sm {
  height: auto;
}

.input-lg {
  height: 45px;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 6px;
}

select.input-lg {
  height: 45px;
  line-height: 45px;
}

textarea.input-lg {
  height: auto;
}

.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline {
  color: #c09853;
}

.has-warning .form-control {
  border-color: #c09853;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.has-warning .form-control:focus {
  border-color: #a47e3c;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
}

.has-warning .input-group-addon {
  color: #c09853;
  background-color: #fcf8e3;
  border-color: #c09853;
}

.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline {
  color: #b94a48;
}

.has-error .form-control {
  border-color: #b94a48;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.has-error .form-control:focus {
  border-color: #953b39;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
}

.has-error .input-group-addon {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #b94a48;
}

.error{color:red!important;}

.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline {
  color: #468847;
}

.has-success .form-control {
  border-color: #468847;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.has-success .form-control:focus {
  border-color: #356635;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
}

.has-success .input-group-addon {
  color: #468847;
  background-color: #dff0d8;
  border-color: #468847;
}

.form-control-static {
  margin-bottom: 0;
}

.help-block {
  display: block;
  margin-top: 5px;
  margin-bottom: 10px;
  color: #737373;
}

@media (min-width: 768px) {
  .form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .form-inline .form-control {
    display: inline-block;
  }
  .form-inline .radio,
  .form-inline .checkbox {
    display: inline-block;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .form-inline .radio input[type="radio"],
  .form-inline .checkbox input[type="checkbox"] {
    float: none;
    margin-left: 0;
  }
}

.form-horizontal .control-label,
.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
  padding-top: 7px;
  margin-top: 0;
  margin-bottom: 0;
}

.form-horizontal .form-group {
  margin-right: -15px;
  margin-left: -15px;
}

.form-horizontal .form-group:before,
.form-horizontal .form-group:after {
  display: table;
  content: " ";
}

.form-horizontal .form-group:after {
  clear: both;
}

.form-horizontal .form-group:before,
.form-horizontal .form-group:after {
  display: table;
  content: " ";
}

.form-horizontal .form-group:after {
  clear: both;
}

.form-horizontal .form-control-static {
  padding-top: 7px;
}

@media (min-width: 768px) {
  .form-horizontal .control-label {
    text-align: right;
  }
}

.btn, #btnSubmit, .submit-button  {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid #eee;
  border-radius: 4px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
}

.btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.btn:hover,
.btn:focus {
  color: #333333;
  text-decoration: none;
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
          box-shadow: none;
}

.btn-default {
  color: #333333;
  background-color: #ffffff;
  border-color: #cccccc;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
  color: #333333;
  background-color: #ebebeb;
  border-color: #adadad;
}

.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
  background-image: none;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
  background-color: #ffffff;
  border-color: #cccccc;
}

/* artikkelissa kommentoi button */

.customCode >.btn-group{}

.btn-comments-with-border .btn-comments{display:block;margin:10px 0 20px 0;border:solid #ccc 1px;border-radius:4px;background:#f6f6f6;}
.btn-comments-with-border .btn-comments:hover{border:solid #eee 1px;border-radius:4px;background:#fff;}

.negatitle > .btn-group > .btn-comments{background:transparent;}

.btn-comments:hover,
.btn-comments:focus,
.btn-comments:active,
.btn-comments.active,
.open .dropdown-toggle.btn-comments{
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.btn-comments:active,
.btn-comments.active,
.open .dropdown-toggle.btn-comments{
  background-image: none;
}

.btn-comments.disabled,
.btn-comments[disabled],
fieldset[disabled] .btn-comments,
.btn-comments.disabled:hover,
.btn-comments[disabled]:hover,
fieldset[disabled] .btn-comments:hover,
.btn-comments.disabled:focus,
.btn-comments[disabled]:focus,
fieldset[disabled] .btn-comments:focus,
.btn-comments.disabled:active,
.btn-comments[disabled]:active,
fieldset[disabled] .btn-comments:active,
.btn-comments.disabled.active,
.btn-comments[disabled].active,
fieldset[disabled] .btn-comments.active {
  background-color: #428bca;
  border-color: #357ebd;
}
.btn-comments > .badge {
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  color: #333;
  text-align: center;
  white-space: nowrap;
  background:transparent;
  vertical-align: baseline;
  border:none;
  border-radius: 0px;
}

.btn-comments {
  margin:0;
  padding:4px;
  color: #333;
  background-color: transparent;
  border-color: transparent;
}

.col-sm-7 > .btn-group > .btn-comments{padding:4px 8px;margin-bottom:20px;border:solid #ccc 1px;border-radius:4px;}

.btn-comments>.badge {
  min-width: 10px;
  padding: 2px 4px;
  font-size: 12px;
  font-weight: normal;
  line-height: 1;
  color: #333;
  text-align: center;
  white-space: nowrap;
  background:transparent;
  vertical-align: baseline;
  border:none;
  border-radius: 4px;
}

.btn-primary, .buttonBlue, #btnSubmit {
  color: #ffffff;
  background-color: #428bca;
  border-color: #357ebd;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  color: #ffffff;
  background-color: #3276b1;
  border-color: #285e8e;
}

.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  background-image: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  background-color: #428bca;
  border-color: #357ebd;
}

.btn-warning {
  color: #ffffff;
  background-color: #f0ad4e;
  border-color: #eea236;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
  color: #ffffff;
  background-color: #ed9c28;
  border-color: #d58512;
}

.btn-warning:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
  background-image: none;
}

.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
  background-color: #f0ad4e;
  border-color: #eea236;
}

.btn-danger {
  color: #ffffff;
  background-color: #d9534f;
  border-color: #d43f3a;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
  color: #ffffff;
  background-color: #d2322d;
  border-color: #ac2925;
}

.btn-danger:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
  background-image: none;
}

.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
  background-color: #d9534f;
  border-color: #d43f3a;
}

.btn-success, .submit-button {
  color: #ffffff;
  background-color: #5cb85c!important;
  border-color: #4cae4c;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
  color: #ffffff;
  background-color: #47a447;
  border-color: #398439;
}

.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
  background-image: none;
}

.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
  background-color: #5cb85c;
  border-color: #4cae4c;
}

.btn-info {
  color: #ffffff;
  background-color: #5bc0de;
  border-color: #46b8da;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
  color: #ffffff;
  background-color: #39b3d7;
  border-color: #269abc;
}

.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
  background-image: none;
}

.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
  background-color: #5bc0de;
  border-color: #46b8da;
}

.btn-link {
  font-weight: normal;
  color: #428bca;
  cursor: pointer;
  border-radius: 0;
}

.btn-link,
.btn-link:active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
  background-color: transparent;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  border-color: transparent;
}

.btn-link:hover,
.btn-link:focus {
  color: #2a6496;
  text-decoration: underline;
  background-color: transparent;
}

.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
  color: #999999;
  text-decoration: none;
}

.btn-lg {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 6px;
}

.btn-sm,
.btn-xs {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

.btn-xs {
  padding: 1px 5px;
}

.btn-block {
  display: block;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.btn-block + .btn-block {
  margin-top: 5px;
}

input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
  width: 100%;
}

.fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
          transition: opacity 0.15s linear;
}

.fade.in {
  opacity: 1;
}

.collapse {
  display: none;
}

.collapse.in {
  display: block;
}

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition: height 0.35s ease;
          transition: height 0.35s ease;
}

@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../fonts/glyphicons-halflings-regular.eot');
  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -moz-osx-font-smoothing: grayscale;
}

.glyphicon-user:before {
  content: "\e008";
}

.glyphicon-log-in:before {
  content: "\e161";
}

.glyphicon-play-circle:before {
  content: "\e029";
}

.glyphicon-play-circle:after {
  content: "KSML.tv";
}

.glyphicon-camera:before {
  content: "\e046";
}


.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px solid #000000;
  border-right: 4px solid transparent;
  border-bottom: 0 dotted;
  border-left: 4px solid transparent;
}

.dropdown {
  position: relative;
}

.dropdown-toggle:focus {
  outline: 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  font-size: 14px;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}

.dropdown-menu.pull-right {
  right: 0;
  left: auto;
}

.dropdown-menu .divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}

.dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.428571429;
  color: #333333;
  white-space: nowrap;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #262626;
  text-decoration: none;
  background-color: #f5f5f5;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #428bca;
  outline: 0;
}

.dropdown-menu > .disabled > a,
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
  color: #999999;
}

.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.open > .dropdown-menu {
  display: block;
}

.open > a {
  outline: 0;
}

.dropdown-header {
  display: block;
  padding: 3px 20px;
  font-size: 12px;
  line-height: 1.428571429;
  color: #999999;
}

.dropdown-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 990;
}

.pull-right > .dropdown-menu {
  right: 0;
  left: auto;
}

.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
  border-top: 0 dotted;
  border-bottom: 4px solid #000000;
  content: "";
}

.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
  top: auto;
  bottom: 100%;
  margin-bottom: 1px;
}

@media (min-width: 768px) {
  .navbar-right .dropdown-menu {
    right: 0;
    left: auto;
  }
}

.btn-default .caret {
  border-top-color: #333333;
}

.btn-primary .caret,
.btn-success .caret,
.btn-warning .caret,
.btn-danger .caret,
.btn-info .caret {
  border-top-color: #fff;
}

.dropup .btn-default .caret {
  border-bottom-color: #333333;
}

.dropup .btn-primary .caret,
.dropup .btn-success .caret,
.dropup .btn-warning .caret,
.dropup .btn-danger .caret,
.dropup .btn-info .caret {
  border-bottom-color: #fff;
}

.btn-group,
.btn-group-vertical {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

@media(max-width:768px){
  .btn-group-vertical {
  display: block;
  }
}

.teaser .btn-group {
  display: inline-block!important;
}

.btn-group > .btn,
.btn-group-vertical > .btn {
  position: relative;
  float: left;
}

.btn-group > .btn:hover,
.btn-group-vertical > .btn:hover,
.btn-group > .btn:focus,
.btn-group-vertical > .btn:focus,
.btn-group > .btn:active,
.btn-group-vertical > .btn:active,
.btn-group > .btn.active,
.btn-group-vertical > .btn.active {
  z-index: 2;
}

.btn-group > .btn:focus,
.btn-group-vertical > .btn:focus {
  outline: none;
}

.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
  margin-left: -1px;
}

.btn-toolbar:before,
.btn-toolbar:after {
  display: table;
  content: " ";
}

.btn-toolbar:after {
  clear: both;
}

.btn-toolbar:before,
.btn-toolbar:after {
  display: table;
  content: " ";
}

.btn-toolbar:after {
  clear: both;
}

.btn-toolbar .btn-group {
  float: left;
}

.btn-toolbar > .btn + .btn,
.btn-toolbar > .btn-group + .btn,
.btn-toolbar > .btn + .btn-group,
.btn-toolbar > .btn-group + .btn-group {
  margin-left: 5px;
}

.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
  border-radius: 0;
}

.btn-group > .btn:first-child {
  margin-left: 0;
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.btn-group > .btn-group {
  float: left;
}

.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
  border-radius: 0;
}

.btn-group > .btn-group:first-child > .btn:last-child,
.btn-group > .btn-group:first-child > .dropdown-toggle {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-group > .btn-group:last-child > .btn:first-child {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
  outline: 0;
}

.btn-group-xs > .btn {
  padding: 5px 10px;
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

.btn-group-sm > .btn {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

.btn-group-lg > .btn {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 6px;
}

.btn-group > .btn + .dropdown-toggle {
  padding-right: 8px;
  padding-left: 8px;
}

.btn-group > .btn-lg + .dropdown-toggle {
  padding-right: 12px;
  padding-left: 12px;
}

.btn-group.open .dropdown-toggle {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn-group.open .dropdown-toggle.btn-link {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.btn .caret {
  margin-left: 0;
}

.btn-lg .caret {
  border-width: 5px 5px 0;
  border-bottom-width: 0;
}

.dropup .btn-lg .caret {
  border-width: 0 5px 5px;
}

.btn-group-vertical > .btn,
.btn-group-vertical > .btn-group {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
}

.btn-group-vertical > .btn-group:before,
.btn-group-vertical > .btn-group:after {
  display: table;
  content: " ";
}

.btn-group-vertical > .btn-group:after {
  clear: both;
}

.btn-group-vertical > .btn-group:before,
.btn-group-vertical > .btn-group:after {
  display: table;
  content: " ";
}

.btn-group-vertical > .btn-group:after {
  clear: both;
}

.btn-group-vertical > .btn-group > .btn {
  float: none;
}

.btn-group-vertical > .btn + .btn,
.btn-group-vertical > .btn + .btn-group,
.btn-group-vertical > .btn-group + .btn,
.btn-group-vertical > .btn-group + .btn-group {
  margin-top: -1px;
  margin-left: 0;
}

.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
  border-radius: 0;
}

.btn-group-vertical > .btn:first-child:not(:last-child) {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-group-vertical > .btn:last-child:not(:first-child) {
  border-top-right-radius: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 0;
}

.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
  border-radius: 0;
}

.btn-group-vertical > .btn-group:first-child > .btn:last-child,
.btn-group-vertical > .btn-group:first-child > .dropdown-toggle {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-group-vertical > .btn-group:last-child > .btn:first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.btn-group-justified {
  display: table;
  width: 100%;
  border-collapse: separate;
  table-layout: fixed;
}

.btn-group-justified .btn {
  display: table-cell;
  float: none;
  width: 1%;
}

[data-toggle="buttons"] > .btn > input[type="radio"],
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
  display: none;
}

.input-group {
  position: relative;
  display: table;
  border-collapse: separate;
}

.input-group.col {
  float: none;
  padding-right: 0;
  padding-left: 0;
}

.input-group .form-control {
  width: 100%;
  margin-bottom: 0;
}

.input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
  height: 45px;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 6px;
}

select.input-group-lg > .form-control,
select.input-group-lg > .input-group-addon,
select.input-group-lg > .input-group-btn > .btn {
  height: 45px;
  line-height: 45px;
}

textarea.input-group-lg > .form-control,
textarea.input-group-lg > .input-group-addon,
textarea.input-group-lg > .input-group-btn > .btn {
  height: auto;
}

.input-group-sm > .form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

select.input-group-sm > .form-control,
select.input-group-sm > .input-group-addon,
select.input-group-sm > .input-group-btn > .btn {
  height: 30px;
  line-height: 30px;
}

textarea.input-group-sm > .form-control,
textarea.input-group-sm > .input-group-addon,
textarea.input-group-sm > .input-group-btn > .btn {
  height: auto;
}

.input-group-addon,
.input-group-btn,
.input-group .form-control {
  display: table-cell;
}

.input-group-addon:not(:first-child):not(:last-child),
.input-group-btn:not(:first-child):not(:last-child),
.input-group .form-control:not(:first-child):not(:last-child) {
  border-radius: 0;
}

.input-group-addon,
.input-group-btn {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
}

.input-group-addon {
}

.input-group-addon.input-sm {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 3px;
}

.input-group-addon.input-lg {
  padding: 10px 16px;
  font-size: 18px;
  border-radius: 6px;
}

.input-group-addon input[type="radio"],
.input-group-addon input[type="checkbox"] {
  margin-top: 0;
}

.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group-addon:first-child {
  border-right: 0;
}

.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .dropdown-toggle,
.input-group-btn:first-child > .btn:not(:first-child) {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.input-group-addon:last-child {
  border-left: 0;
}

.input-group-btn {
  position: relative;
  white-space: nowrap;
}

.input-group-btn:first-child > .btn {
  margin-right: -1px;
}

.input-group-btn:last-child > .btn {
  margin-left: -1px;
}

.input-group-btn > .btn {
  position: relative;
}

.input-group-btn > .btn + .btn {
  margin-left: -4px;
}

.input-group-btn > .btn:hover,
.input-group-btn > .btn:active {
  z-index: 2;
}

.nav {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav:before,
.nav:after {
  display: table;
  content: " ";
}

.nav:after {
  clear: both;
}

.nav:before,
.nav:after {
  display: table;
  content: " ";
}

.nav:after {
  clear: both;
}

.nav > li {
  position: relative;
  display: block;
}

.nav > li > a {
  position: relative;
  display: block;
  padding: 4px 10px;
}

.nav > li.active > a {
  font-weight:bold;
}

.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  background-color: #eeeeee;
}

.nav > li.disabled > a {
  color: #999999;
}

.nav > li.disabled > a:hover,
.nav > li.disabled > a:focus {
  color: #999999;
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  background-color: #eeeeee;
  border-color: #428bca;
}

.nav .open > a .caret,
.nav .open > a:hover .caret,
.nav .open > a:focus .caret {
  border-top-color: #2a6496;
  border-bottom-color: #2a6496;
}

.nav .nav-divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}

.nav > li > a > img {
  max-width: none;
}

.nav-tabs {
  border-bottom: 2px solid #dddddd;
}

.nav-tabs > li {
  float: left;
  margin-bottom: -1px;
}

.nav-tabs > li > a {
  margin-right: 2px;
  line-height: 1.428571429;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
}

.nav-tabs > li > a:hover {
  border-color: #eeeeee #eeeeee #dddddd;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #fff;
  cursor: default;
  background-color: #111;
  text-shadow:none;
  border: 1px solid #dddddd;
  border-bottom-color: transparent;
}

.nav-tabs.nav-justified {
  width: 100%;
  border-bottom: 0;
}

.nav-tabs.nav-justified > li {
  float: none;
}

.nav-tabs.nav-justified > li > a {
  margin-bottom: 5px;
  text-align: center;
}

.nav-tabs.nav-justified > .dropdown .dropdown-menu {
  top: auto;
  left: auto;
}

@media (min-width: 768px) {
  .nav-tabs.nav-justified > li {
    display: table-cell;
    width: 1%;
  }
  .nav-tabs.nav-justified > li > a {
    margin-bottom: 0;
  }
}

.nav-tabs.nav-justified > li > a {
  margin-right: 0;
  border-radius: 4px;
}

.nav-tabs.nav-justified > .active > a,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:focus {
  /*border: 1px solid #dddddd;*/
}

@media (min-width: 768px) {
  .nav-tabs.nav-justified > li > a {
    border-bottom: 1px solid #dddddd;
    border-radius: 4px 4px 0 0;
  background:#fff;
  color:#sss;
  }
  .nav-tabs.nav-justified > .active > a,
  .nav-tabs.nav-justified > .active > a:hover,
  .nav-tabs.nav-justified > .active > a:focus {
    border-bottom-color: #ffffff;
  background:#333;
  color:#fff;
  }
}

.nav-pills > li {
  float: left;
}

.nav-pills > li > a {
  border-radius: 4px;
}

.nav-pills > li + li {
  margin-left: 2px;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  color: #ffffff;
  background-color:#428bca;
}

.nav-pills > li.active > a .caret,
.nav-pills > li.active > a:hover .caret,
.nav-pills > li.active > a:focus .caret {
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}

.nav-stacked > li {
  float: none;
}

.nav-stacked > li + li {
  margin-top: 2px;
  margin-left: 0;
}

.nav-justified {
  width: 100%;
}

.nav-justified > li {
  float: none;
}

.nav-justified > li > a {
  margin-bottom: 5px;
  text-align: center;
}

.nav-justified > .dropdown .dropdown-menu {
  top: auto;
  left: auto;
}

@media (min-width: 768px) {
  .nav-justified > li {
    display: table-cell;
    width: 1%;
  }
  .nav-justified > li > a {
    margin-bottom: 0;
  }
}

.nav-tabs-justified {
  border-bottom: 0;
}

.nav-tabs-justified > li > a {
  margin-right: 0;
  border-radius: 4px;
}

.nav-tabs-justified > .active > a,
.nav-tabs-justified > .active > a:hover,
.nav-tabs-justified > .active > a:focus {
  border: 1px solid #dddddd;
}

@media (min-width: 768px) {
  .nav-tabs-justified > li > a {
    border-bottom: 1px solid #dddddd;
    border-radius: 4px 4px 0 0;
  }
  .nav-tabs-justified > .active > a,
  .nav-tabs-justified > .active > a:hover,
  .nav-tabs-justified > .active > a:focus {
    border-bottom-color: #ffffff;
  }
}

.tab-content > .tab-pane {
  display: none;
}

.tab-content > .active {
  display: block;
}

.nav .caret {
  border-top-color: #428bca;
  border-bottom-color: #428bca;
}

.nav a:hover .caret {
  border-top-color: #2a6496;
  border-bottom-color: #2a6496;
}

.nav-tabs .dropdown-menu {
  margin-top: -1px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

 .navbar {
  position: relative;
  min-height: 34px;
}
@media (max-width: 690px) {
  .navbar{
  position: relative;
  min-height: 0px;
  border:none;}
}

.navbar:before,
.navbar:after {
  display: table;
  content: " ";
}

.navbar:after {
  clear: both;
}

.navbar:before,
.navbar:after {
  display: table;
  content: " ";
}

.navbar:after {
  clear: both;
}

@media (min-width: 768px) {
  .navbar {
  }
}
.navbar-header:before,
.navbar-header:after {
  display: table;
  content: " ";
}

.navbar-header:after {
  clear: both;
}

.navbar-header:before,
.navbar-header:after {
  display: table;
  content: " ";
}

.navbar-header:after {
  clear: both;
}

.navbar-header>span{display:inline-block;color:#fff;font-size:22px;padding:10px 0 0 15px;}

@media (min-width: 768px) {
  .navbar-header {
    float: left;
  }
 }

.navbar-collapse {
  max-height: 500px;
  overflow-x: visible;
  border-top: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-overflow-scrolling: touch;
}

.navbar-collapse:before,
.navbar-collapse:after {
  display: table;
  content: " ";
}

.navbar-collapse:after {
  clear: both;
}

.navbar-collapse:before,
.navbar-collapse:after {
  display: table;
  content: " ";
}

.navbar-collapse:after {
  clear: both;
}

.navbar-collapse.in {
  overflow-y: auto;
}

@media (min-width: 768px) {
  .navbar-collapse {
    width: auto;
    border-top: 0;
    box-shadow: none;
  }
  .navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
  margin:auto;
  }
  .navbar-collapse.in {
    overflow-y: auto;
  }
  .navbar-collapse .navbar-nav.navbar-left:first-child {
    margin-left: -15px;
  }
  .navbar-collapse .navbar-nav.navbar-right:last-child {
    margin-right: -15px;
  }
  .navbar-collapse .navbar-text:last-child {
    margin-right: 0;
  }
}

.container > .navbar-header,
.container > .navbar-collapse {
  margin-right: -15px;
  margin-left: -15px;
}

@media (min-width: 768px) {
  .container > .navbar-header,
  .container > .navbar-collapse {
    margin-right: 0!important;
    margin-left: 0!important;
  }
}

.navbar-static-top {
  z-index: 1000;
  border-width: 0 0 1px;
}

@media (min-width: 768px) {
  .navbar-static-top {
    border-radius: 0!important;
  }
}

.navbar-fixed-top,
.navbar-fixed-bottom {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1030;
}

@media (min-width: 768px) {
  .navbar-fixed-top,
  .navbar-fixed-bottom {
    border-radius: 0!important;
  }
}

.navbar-fixed-top {
  top: 0;
  border-width: 0 0 1px;
}

.navbar-fixed-bottom {
  bottom: 0;
  margin-bottom: 0;
  border-width: 1px 0 0;
}

.navbar-brand {
  float: left;
  padding: 15px 15px;
  font-size: 18px;
  line-height: 20px;
}

.navbar-brand:hover,
.navbar-brand:focus {
  text-decoration: none;
}

@media (min-width: 768px) {
  .navbar > .container .navbar-brand {
    margin-left: -15px;
  }
}

.navbar-toggle {
  position: relative;
  float: right;
  padding: 9px 10px;
  margin-top: 4px;
  margin-right: 5px;
  margin-bottom: 2px;
  background-color: transparent;
  border: 1px solid #eee;
  border-radius: 4px;
  border:none;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 4px;
  border-radius: 2px;
}

.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}

@media (min-width: 768px) {
  .navbar-toggle {
    display: none!important;
  }
}

.navbar-nav {
  margin: 7.5px -15px;
}

.navbar-nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 20px;
}

@media (max-width: 767px) {
  .navbar-nav {
    margin:0;
  }
  .navbar-nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left:40px;
  line-height: 20px;
  font-size:18px;
  border-bottom:solid #666 1px;
  }
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }
  .navbar-nav .open .dropdown-menu > li > a,
  .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 5px 15px 5px 40px;
  }
  .navbar-nav .open .dropdown-menu > li > a {
    line-height: 20px;
  font-size:16px;
  border-bottom:solid #666 1px;
  background:#111;
  }
  .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-nav .open .dropdown-menu > li > a:focus {
    background-image: none;
  }
}

@media (min-width: 768px) {
  .navbar-nav {
    float: left;
    margin: 0;
  }
  .navbar-nav > li {
    float: left;
  }
  .navbar-nav > li > a {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

@media (min-width: 992px) {
   .navbar-nav > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (min-width: 768px) {
  .navbar-left {
    float: left !important;
  }
  .navbar-right {
    float: right !important;
  }
}

.navbar-form {
  padding: 10px 15px;
  margin-top: 8px;
  margin-right: -15px;
  margin-bottom: 8px;
  margin-left: -15px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .navbar-form .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .navbar-form .form-control {
    display: inline-block;
  }
  .navbar-form .radio,
  .navbar-form .checkbox {
    display: inline-block;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .navbar-form .radio input[type="radio"],
  .navbar-form .checkbox input[type="checkbox"] {
    float: none;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .navbar-form .form-group {
    margin-bottom: 5px!important;
  }
}

@media (min-width: 768px) {
  .navbar-form {
    width: auto;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
    margin-left: 0;
    border: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
}

.navbar-nav > li > .dropdown-menu {
  margin-top: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.navbar-nav.pull-right > li > .dropdown-menu,
.navbar-nav > li > .dropdown-menu.pull-right {
  right: 0;
  left: auto;
}

.navbar-btn {
  margin-top: 8px;
  margin-bottom: 8px;
}

.navbar-text {
  float: left;
  margin-top: 15px;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .navbar-text {
    margin-right: 15px;
    margin-left: 15px;
  }
}

.navbar-default {
  background-color:#f6f6f6;
}

/* kakkosnavin alempi rivi */

@media(min-width:768px){
.navbar > .navbar:nth-child(3) {
    background: #fcfcfc;
  position:relative;
  border:solid #ddd 1px;
  border-bottom:none;
}


.row.container> .navbar:nth-child(2) {
    background: #fcfcfc;
  position:relative;
  border:solid #ddd 1px;
  border-bottom:none;
}
}

.navbar-default .navbar-brand {
  color: #777;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #5e5e5e;
  background-color: transparent;
}
.navbar-default .navbar-text {
  color: #777;
}
.navbar-default .navbar-nav > li > a {
  color: #777;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #333;
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #555;
}
.navbar-default .navbar-nav > .disabled > a,
.navbar-default .navbar-nav > .disabled > a:hover,
.navbar-default .navbar-nav > .disabled > a:focus {
  color: #ccc;
  background-color: transparent;
}
.navbar-default .navbar-toggle {
  border-color: #ddd;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #ddd;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #888;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #e7e7e7;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #555;
  background-color: #e7e7e7;
}
@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #777;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #333;
    background-color: transparent;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #555;
    background-color: #e7e7e7;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #ccc;
    background-color: transparent;
  }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #777;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #333;
    background-color: transparent;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #555;
    background-color: #e7e7e7;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #ccc;
    background-color: transparent;
  }
}
.navbar-default .navbar-link {
  color: #777;
}
.navbar-default .navbar-link:hover {
  color: #333;
}

.navbar-inverse {
  background-color: #222;
  border-color: #080808;
}
.navbar-inverse .navbar-brand {
  color: #999;
}
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
  color: #fff;
  background-color: transparent;
}
.navbar-inverse .navbar-text {
  color: #999;
}
.navbar-inverse .navbar-nav > li > a {
  color: #999;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #fff;
  background-color: transparent;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #080808;
}
.navbar-inverse .navbar-nav > .disabled > a,
.navbar-inverse .navbar-nav > .disabled > a:hover,
.navbar-inverse .navbar-nav > .disabled > a:focus {
  color: #444;
  background-color: transparent;
}
.navbar-inverse .navbar-toggle {
  border-color: #333;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: #333;
}
.navbar-inverse .navbar-toggle .icon-bar {
  background-color: #fff;
}
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
  border-color: #101010;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  color: #fff;
  background-color: #080808;
}
@media (max-width: 767px) {

  .navbar-mobi-ss  .navbar-nav > .open > a,
  .navbar-mobi-ss  .navbar-nav > .open > a:hover,
  .navbar-mobi-ss  .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #d89000;
}

  .navbar-mobi-ss {
    background-color: #EF9F00;
    border-color: #EF9F00;
  }
  .navbar-mobi-ss .navbar-nav > li > a {
    color: #fff;
  }
  .navbar-default .navbar-nav > li > a:hover,
  .navbar-default .navbar-nav > li > a:focus {
    color: #eee;
    background-color: transparent;
  }

  .navbar-mobi-ss .navbar-nav .open .dropdown-menu > .dropdown-header {
    border-color: #EF9F00;
  }
  .navbar-mobi-ss .navbar-nav .open .dropdown-menu .divider {
    background-color: #EF9F00;
  }
  .navbar-mobi-ss .navbar-nav .open .dropdown-menu > li > a {
    color: #fff;
  }
  .navbar-mobi-ss .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-mobi-ss .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #fff;
    background-color: transparent;
  }
  .navbar-mobi-ss .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-mobi-ss .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-mobi-ss .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #fff;
    background-color: #EF9F00;
  }
  .navbar-mobi-ss .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-mobi-ss .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-mobi-ss .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #fff;
    background-color: transparent;
  }
}
.navbar-inverse .navbar-link {
  color: #fff;
}
.navbar-inverse .navbar-link:hover {
  color: #fff;
}

/* aluelehdet navi */

.nav-paikallislehdet a{font-weight:bold;color:#fff;}
.nav-paikallislehdet .nav > li > a:hover, .nav > li > a:focus {
text-decoration: none;
background-color: #eee;
color:#333;
}

/* ksml navi */

.nav-primary-ksml {
  background:#f6f6f6;
}

.nav-primary-ksml > .col-sm-9  {
  padding:0px;
}


.nav-primary-ksml .navbar-collapse.collapse{
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.8);
  border: none;
  border-color: #1ea5db #1a8fd3 #013655 #1a8fd3;
  background: #f3f3f3;
  background: -moz-linear-gradient(top,  hsla(210,44%,52%,1) 0%, hsla(217,40%,42%,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,hsla(210,44%,52%,1)), color-stop(100%,hsla(217,40%,42%,1)));
  background: -webkit-linear-gradient(top,  hsla(210,44%,52%,1) 0%,hsla(217,40%,42%,1) 100%);
  background: -o-linear-gradient(top,  hsla(210,44%,52%,1) 0%,hsla(217,40%,42%,1) 100%);
  background: -ms-linear-gradient(top,  hsla(210,44%,52%,1) 0%,hsla(217,40%,42%,1) 100%);
  background: linear-gradient(to bottom,  hsla(210,44%,52%,1) 0%,hsla(217,40%,42%,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f85bb', endColorstr='#406196',GradientType=0 );

}

.nav-primary-ksml .navbar-nav > li > a {
  color: #fff;
}
.nav-primary-ksml .navbar-nav > li > a:hover,
.nav-primary-ksml .navbar-nav > li > a:focus {
  color: #fff;
  background-color: transparent;
}
.nav-primary-ksml .navbar-nav > .active > a,
.nav-primary-ksml .navbar-nav > .active > a:hover,
.nav-primary-ksml .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #416499;
}
.nav-primary-ksml .navbar-nav > .disabled > a,
.nav-primary-ksml .navbar-nav > .disabled > a:hover,
.nav-primary-ksml .navbar-nav > .disabled > a:focus {
  color: #444;
  background-color: transparent;
}
.nav-primary-ksml .navbar-toggle {
  border-color: #333;
}
.nav-primary-ksml .navbar-toggle:hover,
.nav-primary-ksml .navbar-toggle:focus {
  background-color: #333;
}
.nav-primary-ksml .navbar-toggle .icon-bar {
  background-color: #fff;
}
.nav-primary-ksml .navbar-collapse,
.nav-primary-ksml .navbar-form {
  border-color: #101010;
}
.nav-primary-ksml .navbar-nav > .open > a,
.nav-primary-ksml .navbar-nav > .open > a:hover,
.nav-primary-ksml   .navbar-nav > .open > a:focus {
  color: #fff;
  background-color: #080808;
}

/* paikallislehti nav */
.row.nav-primary-ksml>.col-sm-3{padding-right:0px;}
.row.nav-primary-ksml>.col-sm-3>.navbar-nav{float:right;}


/* savo navi */

.nav-primary-ss {
  background:#333;
}

.nav-primary-ss .navbar-collapse.collapse{
    font-weight: bold;
    border: 1px solid;
    border-color: #333;
    background: #f5bf42;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y1YmY0MiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMGEyMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  hsla(42,90%,61%,1) 0%, hsla(40,100%,47%,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,hsla(42,90%,61%,1)), color-stop(100%,hsla(40,100%,47%,1)));
    background: -webkit-linear-gradient(top,  hsla(42,90%,61%,1) 0%,hsla(40,100%,47%,1) 100%);
    background: -o-linear-gradient(top,  hsla(42,90%,61%,1) 0%,hsla(40,100%,47%,1) 100%);
    background: -ms-linear-gradient(top,  hsla(42,90%,61%,1) 0%,hsla(40,100%,47%,1) 100%);
    background: linear-gradient(to bottom,  hsla(42,90%,61%,1) 0%,hsla(40,100%,47%,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5bf42', endColorstr='#f0a200',GradientType=0 );
}

.nav-primary-ss .navbar-nav > li > a {
  color: #222;
}
.nav-primary-ss .navbar-nav > li > a:hover,
.nav-primary-ss .navbar-nav > li > a:focus {
  color: #fff;
  background-color: transparent;
}
.nav-primary-ss .navbar-nav > .active > a,
.nav-primary-ss .navbar-nav > .active > a:hover,
.nav-primary-ss .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #080808;
}
.nav-primary-ss .navbar-nav > .disabled > a,
.nav-primary-ss .navbar-nav > .disabled > a:hover,
.nav-primary-ss .navbar-nav > .disabled > a:focus {
  color: #444;
  background-color: transparent;
}
.nav-primary-ss .navbar-toggle {
  border-color: #333;
}
.nav-primary-ss .navbar-toggle:hover,
.nav-primary-ss .navbar-toggle:focus {
  background-color: #333;
}
.nav-primary-ss .navbar-toggle .icon-bar {
  background-color: #fff;
}
.nav-primary-ss .navbar-collapse,
.nav-primary-ss .navbar-form {
  border-color: #101010;
}
.nav-primary-ss .navbar-nav > .open > a,
.nav-primary-ss .navbar-nav > .open > a:hover,
.nav-primary-ss   .navbar-nav > .open > a:focus {
  color: #fff;
  background-color: #080808;
}



@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #777777;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #333333;
    background-color: transparent;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #555555;
    background-color: #e7e7e7;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #cccccc;
    background-color: transparent;
  }
}

.navbar-default .navbar-link {
  color: #777777;
}

.navbar-default .navbar-link:hover {
  color: #333333;
}

.navbar-inverse {
  border:none;
}

.navbar-inverse >.navbar-collapse {
}


/* vanha ksml */
.navbar-inverse >.navbar-collapse {
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.8);
  border: none;
  border-color: #1ea5db #1a8fd3 #013655 #1a8fd3;
  background: #0861aa;
}

@media (max-width:690px){
  .navbar-mobi >.navbar-collapse {
  background: #111;}

  .navbar-mobi-ss >.navbar-collapse {
  background: #111;}
}

.navbar-inverse .navbar-brand {
  color: #999999;
}

.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
  color: #ffffff;
  background-color: transparent;
}

.navbar-inverse .navbar-text {
  color: #999999;
}

.navbar-inverse .navbar-nav > li > a {
  color: #fff;
}

@media(max-width:690px){
.navbar-inverse .navbar-nav > li > a {
  color: #fff;
  }
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #ffffff;
  background-color: transparent;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #ffffff;
  background-color: #080808;
}

.navbar-inverse .navbar-nav > .disabled > a,
.navbar-inverse .navbar-nav > .disabled > a:hover,
.navbar-inverse .navbar-nav > .disabled > a:focus {
  color: #444444;
  background-color: transparent;
}

.navbar-inverse .navbar-toggle {
  border-color: #333333;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: transparent;
}

.navbar-inverse .navbar-toggle .icon-bar {
  background-color: #ffffff;
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
  border-color: #101010;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  color: #ffffff;
  background-color: #080808;
}

.navbar-inverse .navbar-nav > .dropdown > a:hover .caret {
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}

.navbar-inverse .navbar-nav > .dropdown > a .caret {
  border-top-color: #fff;
  border-bottom-color: #fff;
}

.navbar-inverse .navbar-nav > .open > a .caret,
.navbar-inverse .navbar-nav > .open > a:hover .caret,
.navbar-inverse .navbar-nav > .open > a:focus .caret {
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}

/* navbar-mobi vain moobiililaitteille */

.navbar-mobi {
  border:0;
  border-color: #080808;
}

.navbar-mobi .navbar-brand {
  color: #999999;
}

.navbar-mobi .navbar-brand:hover,
.navbar-mobi .navbar-brand:focus {
  color: #ffffff;
  background-color: transparent;
}

.navbar-mobi .navbar-text {
  color: #999999;
}

.navbar-mobi .navbar-nav > li > a {
  color: #fff;
}

.navbar-mobi .navbar-nav > li > a:hover,
.navbar-mobi .navbar-nav > li > a:focus {
  color: #ccc;
  background-color: transparent;
}

.navbar-mobi .navbar-nav > .active > a,
.navbar-mobi .navbar-nav > .active > a:hover,
.navbar-mobi .navbar-nav > .active > a:focus {
  /*color: #111;
  background-color: #;*/
}

.navbar-mobi .navbar-nav > .disabled > a,
.navbar-mobi .navbar-nav > .disabled > a:hover,
.navbar-mobi .navbar-nav > .disabled > a:focus {
  color: #444444;
  background-color: transparent;
}

.navbar-mobi .navbar-toggle {
  margin-bottom:0;
}

.navbar-mobi .navbar-toggle:hover,
.navbar-mobi .navbar-toggle:focus {
  background-color: #fff;
}

.navbar-mobi .navbar-toggle .icon-bar {
  background-color: #ffffff;
}

.navbar-mobi .navbar-collapse,
.navbar-mobi .navbar-form {
  border-color: #101010;
}

.navbar-mobi .navbar-nav > .open > a,
.navbar-mobi .navbar-nav > .open > a:hover,
.navbar-mobi .navbar-nav > .open > a:focus {
}

.navbar-mobi .navbar-nav > .dropdown > a:hover .caret {
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}

.navbar-mobi .navbar-nav > .dropdown > a .caret {
  border-top-color: #999999;
  border-bottom-color: #999999;
}

.navbar-mobi .navbar-nav > .open > a .caret,
.navbar-mobi .navbar-nav > .open > a:hover .caret,
.navbar-mobi .navbar-nav > .open > a:focus .caret {
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}

.navbar-mobi .navbar-toggle .icon-bar {
  background-color:#333;
}

@media (max-width: 767px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
    border-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #999999;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #ffffff;
    background-color: transparent;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #ffffff;
    background-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #444444;
    background-color: transparent;
  }
}

.navbar-inverse .navbar-link {
  color: #999999;
}

.navbar-inverse .navbar-link:hover {
  color: #ffffff;
}

.breadcrumb {
  padding: 8px 15px;
  margin-bottom: 20px;
  list-style: none;
  background-color: #f5f5f5;
  border-radius: 4px;
  margin-bottom: 0;
  padding:4px 6px;
  list-style: none;
}

.breadcrumb > li {
  display: inline-block;
}

.breadcrumb > li > a {
  color:#333;
  text-decoration:underline;
}


.breadcrumb > li + li:before {
  padding: 0 5px;
  color: #333;
  content: ":";
}

.breadcrumb > .active {
  color: #333;
}

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.pagination > li {
  display: inline;
}

.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.428571429;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dddddd;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  background-color: #eeeeee;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 2;
  color: #ffffff;
  cursor: default;
  background-color: #428bca;
  border-color: #428bca;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #999999;
  cursor: not-allowed;
  background-color: #ffffff;
  border-color: #dddddd;
}

.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.pager {
  padding-left: 0;
  margin: 20px 0;
  text-align: center;
  list-style: none;
}

.pager:before,
.pager:after {
  display: table;
  content: " ";
}

.pager:after {
  clear: both;
}

.pager:before,
.pager:after {
  display: table;
  content: " ";
}

.pager:after {
  clear: both;
}

.pager li {
  display: inline;
}

.pager li > a,
.pager li > span {
  display: inline-block;
  padding: 5px 14px;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 15px;
}

.pager li > a:hover,
.pager li > a:focus {
  text-decoration: none;
  background-color: #eeeeee;
}

.pager .next > a,
.pager .next > span {
  float: right;
}

.pager .previous > a,
.pager .previous > span {
  float: left;
}

.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: #999999;
  cursor: not-allowed;
  background-color: #ffffff;
}

.label {
  display: inline;
  padding: 1px 3px;
  font-weight: normal;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
}

.label[href]:hover,
.label[href]:focus {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.label:empty {
  display: none;
}

.label-default {
  background-color: #999999;
}

.label-default[href]:hover,
.label-default[href]:focus {
  background-color: #808080;
}

.label-video {
  background:#222;
  font-size:85%;
}

.label-video[href]:hover,
.label-video[href]:focus {
  background-color: #808080;
}

.label-gallery {
  background-color: #000;
  font-size:85%;
}

.label-gallery[href]:hover,
.label-gallery[href]:focus {
  background-color: #808080;
}

.label-blog {
  background-color: #999999;
}

.label-blog[href]:hover,
.label-blog[href]:focus {
  background-color: #808080;
}
.label-kolumni {
  background-color: #999999;
  font-size:85%;
}

.label-kolumni[href]:hover,
.label-kolumni[href]:focus {
  background-color: #808080;
}

.label-primary {
  background-color: #428bca;
}

.label-primary[href]:hover,
.label-primary[href]:focus {
  background-color: #3071a9;
}

.label-success {
  background-color: #5cb85c;
}

.label-success[href]:hover,
.label-success[href]:focus {
  background-color: #449d44;
}

.label-info {
  background-color: #5bc0de;
}

.label-info[href]:hover,
.label-info[href]:focus {
  background-color: #31b0d5;
}

.label-warning {
  background-color: #f0ad4e;
}

.label-warning[href]:hover,
.label-warning[href]:focus {
  background-color: #ec971f;
}

.label-danger {
  background-color: #d9534f;
}

.label-danger[href]:hover,
.label-danger[href]:focus {
  background-color: #c9302c;
}

.badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: normal;
  line-height: 1;
  color: #333;
  text-align: center;
  white-space: nowrap;
  background:#fff;
  vertical-align: baseline;
  border:solid #eee 1px;
  border-radius: 10px;
}

.badge:empty {
  display: none;
}

a.badge:hover,
a.badge:focus {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.btn .badge {
  position: relative;
  top: -1px;
}

a.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
  color: #428bca;
  background-color: #ffffff;
}

.nav-pills > li > a > .badge {
  margin-left: 3px;
}

.badge.articleCommentsCount:before{content:"\e111";font-family: 'Glyphicons Halflings';margin-right:10px;color:#999;}

.jumbotron {
  padding: 30px;
  margin-bottom: 30px;
  margin-top:10px;
  font-size: 21px;
  font-weight: 200;
  line-height: 2.1428571435;
  color: inherit;
  background-color: #eeeeee;
}

.jumbotron h1 {
  line-height: 1;
  color: inherit;
}

.jumbotron p {
  line-height: 1.4;
}

.container .jumbotron {
  border-radius: 6px;
}

@media screen and (min-width: 768px) {
  .jumbotron {
    padding-top: 48px!important;
    padding-bottom: 48px!important;
  }
  .container .jumbotron {
    padding-right: 60px!important;
    padding-left: 60px!important;
  }
  .jumbotron h1 {
    font-size: 63px!important;
  }
}

.thumbnail {
  display: inline-block;
  display: block;
  height: auto;
  max-width: 100%;
  padding: 4px;
  margin-bottom: 20px;
  line-height: 1.428571429;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 4px;
  -webkit-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}

.thumbnail > img {
  display: block;
  height: auto;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #428bca;
}

.thumbnail .caption {
  padding: 9px;
  color: #333333;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert h4 {
  margin-top: 0;
  color: inherit;
}

.alert .alert-link {
  font-weight: bold;
}

.alert > p,
.alert > ul {
  margin-bottom: 0;
}

.alert > p + p {
  margin-top: 5px;
}

.alert-dismissable {
  padding-right: 35px;
}

.alert-dismissable .close {
  position: relative;
  top: -2px;
  right: -21px;
  color: inherit;
}

.alert-success {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert-success hr {
  border-top-color: #c9e2b3;
}

.alert-success .alert-link {
  color: #356635;
}

.alert-info {
  color: #3a87ad;
  background-color: #d9edf7;
  border-color: #bce8f1;
}

.alert-info hr {
  border-top-color: #a6e1ec;
}

.alert-info .alert-link {
  color: #2d6987;
}

.alert-warning {
  color: #c09853;
  background-color: #fcf8e3;
  border-color: #faebcc;
}

.alert-warning hr {
  border-top-color: #f7e1b5;
}

.alert-warning .alert-link {
  color: #a47e3c;
}

.alert-danger {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.alert-danger hr {
  border-top-color: #e4b9c0;
}

.alert-danger .alert-link {
  color: #953b39;
}

@-webkit-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}

@-moz-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}

@-o-keyframes progress-bar-stripes {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 40px 0;
  }
}

@keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}

.progress {
  height: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  float: left;
  width: 0;
  height: 100%;
  font-size: 12px;
  line-height: 20px;
  color: #ffffff;
  text-align: center;
  background-color: #428bca;
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
          box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  -webkit-transition: width 0.6s ease;
          transition: width 0.6s ease;
}

.progress-striped .progress-bar {
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 40px 40px;
}

.progress.active .progress-bar {
  -webkit-animation: progress-bar-stripes 2s linear infinite;
          animation: progress-bar-stripes 2s linear infinite;
}

.progress-bar-success {
  background-color: #5cb85c;
}

.progress-striped .progress-bar-success {
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.progress-bar-info {
  background-color: #5bc0de;
}

.progress-striped .progress-bar-info {
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.progress-bar-warning {
  background-color: #f0ad4e;
}

.progress-striped .progress-bar-warning {
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.progress-bar-danger {
  background-color: #d9534f;
}

.progress-striped .progress-bar-danger {
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.list > .media {border-bottom:solid #ddd 1px;padding:6px 0;}

  .media,
.media-body {
  overflow: hidden;
  zoom: 1;
}

.media,
.media .media {
  padding:12px 6px;
}

.media:first-child {
  margin-top: 0;
}

.media-object {
  display: block;
}

.media-heading {
  margin: 0 0 5px;
}

.media > .pull-left {
  margin-right: 10px;
}

.media > .pull-right {
  margin-left: 10px;
}

.media-list {
  padding-left: 0;
  list-style: none;
}

.media-body a{color:#333;display:block;padding-right:6px;font-weight:bold;}

.kolumnit>.media-body>a{font-size:16px;font-weight:bold;}

.media-body small{display:inline-block;margin-top:2px;}

.media-body .btn-group{display:inline-block;width:35%;}

.list-group {
  padding-left: 0;
  clear:both;
  margin-bottom: 20px;
}

.list-group-item {
  position: relative;
  display: block;
  padding: 4px 0px;
  margin-bottom: -1px;
  background-color: transparent;
  font-weight:700;
}

.list-group-item:first-child {
}

.list-group-item:last-child {
  margin-bottom: 0;
}

.list-group-item > .badge {
  float: right;
}

.list-group-item > .badge + .badge {
  margin-right: 5px;
}

a.list-group-item .list-group-item-heading {
  color: #333333;
}

a.list-group-item:hover,
a.list-group-item:focus {
  text-decoration: none;
  background-color: #f5f5f5;
}

a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
  z-index: 2;
}

a.list-group-item.active .list-group-item-heading,
a.list-group-item.active:hover .list-group-item-heading,
a.list-group-item.active:focus .list-group-item-heading {
  color: inherit;
}

a.list-group-item.active .list-group-item-text,
a.list-group-item.active:hover .list-group-item-text,
a.list-group-item.active:focus .list-group-item-text {
  color: #e1edf7;
}

.list-group-item-heading {
  margin-top: 0;
  margin-bottom: 5px;
}

.list-group-item-text {
  margin-bottom: 0;
  line-height: 1.3;
}



.panel {
  margin-bottom: 20px;
  background-color: transparent;
  border: 1px solid transparent;
}

.panel-body {
  padding: 15px;
}

.panel-body:before,
.panel-body:after {
  display: table;
  content: " ";
}

.panel-body:after {
  clear: both;
}

.panel-body:before,
.panel-body:after {
  display: table;
  content: " ";
}

.panel-body:after {
  clear: both;
}

.panel > .list-group {
  margin-bottom: 0;
}

.panel > .list-group .list-group-item {
  border-width: 1px 0;
}

.panel > .list-group .list-group-item:first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.panel > .list-group .list-group-item:last-child {
  border-bottom: 0;
}

.panel-heading + .list-group .list-group-item:first-child {
  border-top-width: 0;
}

.panel > .table,
.panel > .table-responsive {
  margin-bottom: 0;
}

.panel > .panel-body + .table,
.panel > .panel-body + .table-responsive {
  border-top: 1px solid #dddddd;
}

.panel > .table-bordered,
.panel > .table-responsive > .table-bordered {
  border: 0;
}

.panel > .table-bordered > thead > tr > th:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
.panel > .table-bordered > tbody > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-bordered > thead > tr > td:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > .table-bordered > tbody > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > .table-bordered > tfoot > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
  border-left: 0;
}

.panel > .table-bordered > thead > tr > th:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
.panel > .table-bordered > tbody > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-bordered > thead > tr > td:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > .table-bordered > tbody > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > .table-bordered > tfoot > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
  border-right: 0;
}

.panel > .table-bordered > thead > tr:last-child > th,
.panel > .table-responsive > .table-bordered > thead > tr:last-child > th,
.panel > .table-bordered > tbody > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > .table-bordered > tfoot > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th,
.panel > .table-bordered > thead > tr:last-child > td,
.panel > .table-responsive > .table-bordered > thead > tr:last-child > td,
.panel > .table-bordered > tbody > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td {
  border-bottom: 0;
}

.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}

.panel-heading > .dropdown .dropdown-toggle {
  color: inherit;
}

.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
}

.panel-title > a {
  color: inherit;
}

.panel-footer {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #dddddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.panel-group .panel {
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 4px;
}

.panel-group .panel + .panel {
  margin-top: 5px;
}

.panel-group .panel-heading {
  border-bottom: 0;
}

.panel-group .panel-heading + .panel-collapse .panel-body {
  border-top: 1px solid #dddddd;
}

.panel-group .panel-footer {
  border-top: 0;
}

.panel-group .panel-footer + .panel-collapse .panel-body {
  border-bottom: 1px solid #dddddd;
}

.panel-default {
}

.panel-default > .panel-heading {
  color: #333333;
  background-color: #f5f5f5;
  border-color: #dddddd;
}

.panel-default > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #dddddd;
}

.panel-default > .panel-heading > .dropdown .caret {
  border-color: #333333 transparent;
}

.panel-default > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #dddddd;
}

.panel-primary {
  border-color: #428bca;
}

.panel-primary > .panel-heading {
  color: #ffffff;
  background-color: #428bca;
  border-color: #428bca;
}

.panel-primary > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #428bca;
}

.panel-primary > .panel-heading > .dropdown .caret {
  border-color: #ffffff transparent;
}

.panel-primary > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #428bca;
}

.panel-success {
  border-color: #d6e9c6;
}

.panel-success > .panel-heading {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.panel-success > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #d6e9c6;
}

.panel-success > .panel-heading > .dropdown .caret {
  border-color: #468847 transparent;
}

.panel-success > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #d6e9c6;
}

.panel-warning {
  border-color: #faebcc;
}

.panel-warning > .panel-heading {
  color: #c09853;
  background-color: #fcf8e3;
  border-color: #faebcc;
}

.panel-warning > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #faebcc;
}

.panel-warning > .panel-heading > .dropdown .caret {
  border-color: #c09853 transparent;
}

.panel-warning > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #faebcc;
}

.panel-danger {
  border-color: #ebccd1;
}

.panel-danger > .panel-heading {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.panel-danger > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #ebccd1;
}

.panel-danger > .panel-heading > .dropdown .caret {
  border-color: #b94a48 transparent;
}

.panel-danger > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #ebccd1;
}

.panel-info {
  border-color: #bce8f1;
}

.panel-info > .panel-heading {
  color: #3a87ad;
  background-color: #d9edf7;
  border-color: #bce8f1;
}

.panel-info > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #bce8f1;
}

.panel-info > .panel-heading > .dropdown .caret {
  border-color: #3a87ad transparent;
}

.panel-info > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #bce8f1;
}

.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
}

.well blockquote {
  border-color: #ddd;
  border-color: rgba(0, 0, 0, 0.15);
}

.well-lg {
  padding: 24px;
  border-radius: 6px;
}

.well-sm {
  padding: 9px;
  border-radius: 3px;
}

.close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.2;
  filter: alpha(opacity=20);
}

.close:hover,
.close:focus {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}

.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  display: none;
  overflow: auto;
  overflow-y: scroll;
}

.modal.fade .modal-dialog {
  -webkit-transform: translate(0, -25%);
      -ms-transform: translate(0, -25%);
          transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
     -moz-transition: -moz-transform 0.3s ease-out;
       -o-transition: -o-transform 0.3s ease-out;
          transition: transform 0.3s ease-out;
}

.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
          transform: translate(0, 0);
}

.modal-dialog {
  position: relative;
  z-index: 1050;
  width: auto;
  padding: 10px;
  margin-right: auto;
  margin-left: auto;
}

.modal-content {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #999999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  outline: none;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
          box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  background-color: #000000;
}

.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}

.modal-backdrop.in {
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.modal-header {
  min-height: 16.428571429px;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.modal-header .close {
  margin-top: -2px;
}

.modal-title {
  margin: 0;
  line-height: 1.428571429;
}

.modal-body {
  position: relative;
  padding: 20px;
}

.modal-footer {
  padding: 19px 20px 20px;
  margin-top: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}

.modal-footer:before,
.modal-footer:after {
  display: table;
  content: " ";
}

.modal-footer:after {
  clear: both;
}

.modal-footer:before,
.modal-footer:after {
  display: table;
  content: " ";
}

.modal-footer:after {
  clear: both;
}

.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}

.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}

.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}

.modal-dialog #site-login>.login>.form-group>label{display:block;}
.modal-dialog .btn{display:block;}

@media screen and (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
}

.tooltip {
  position: absolute;
  z-index: 1030;
  display: block;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  filter: alpha(opacity=0);
  visibility: visible;
}

.tooltip.in {
  opacity: 0.9;
  filter: alpha(opacity=90);
}

.tooltip.top {
  padding: 5px 0;
  margin-top: -3px;
}

.tooltip.right {
  padding: 0 5px;
  margin-left: 3px;
}

.tooltip.bottom {
  padding: 5px 0;
  margin-top: 3px;
}

.tooltip.left {
  padding: 0 5px;
  margin-left: -3px;
}

.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background-color: #000000;
  border-radius: 4px;
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-top-color: #000000;
  border-width: 5px 5px 0;
}

.tooltip.top-left .tooltip-arrow {
  bottom: 0;
  left: 5px;
  border-top-color: #000000;
  border-width: 5px 5px 0;
}

.tooltip.top-right .tooltip-arrow {
  right: 5px;
  bottom: 0;
  border-top-color: #000000;
  border-width: 5px 5px 0;
}

.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-right-color: #000000;
  border-width: 5px 5px 5px 0;
}

.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-left-color: #000000;
  border-width: 5px 0 5px 5px;
}

.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-bottom-color: #000000;
  border-width: 0 5px 5px;
}

.tooltip.bottom-left .tooltip-arrow {
  top: 0;
  left: 5px;
  border-bottom-color: #000000;
  border-width: 0 5px 5px;
}

.tooltip.bottom-right .tooltip-arrow {
  top: 0;
  right: 5px;
  border-bottom-color: #000000;
  border-width: 0 5px 5px;
}

.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1010;
  display: none;
  max-width: 276px;
  padding: 1px;
  text-align: left;
  white-space: normal;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  background-clip: padding-box;
}

.popover.top {
  margin-top: -10px;
}

.popover.right {
  margin-left: 10px;
}

.popover.bottom {
  margin-top: 10px;
}

.popover.left {
  margin-left: -10px;
}

.popover-title {
  padding: 8px 14px;
  margin: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-radius: 5px 5px 0 0;
}

.popover-content {
  padding: 9px 14px;
}

.popover .arrow,
.popover .arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.popover .arrow {
  border-width: 11px;
}

.popover .arrow:after {
  border-width: 10px;
  content: "";
}

.popover.top .arrow {
  bottom: -11px;
  left: 50%;
  margin-left: -11px;
  border-top-color: #999999;
  border-top-color: rgba(0, 0, 0, 0.25);
  border-bottom-width: 0;
}

.popover.top .arrow:after {
  bottom: 1px;
  margin-left: -10px;
  border-top-color: #ffffff;
  border-bottom-width: 0;
  content: " ";
}

.popover.right .arrow {
  top: 50%;
  left: -11px;
  margin-top: -11px;
  border-right-color: #999999;
  border-right-color: rgba(0, 0, 0, 0.25);
  border-left-width: 0;
}

.popover.right .arrow:after {
  bottom: -10px;
  left: 1px;
  border-right-color: #ffffff;
  border-left-width: 0;
  content: " ";
}

.popover.bottom .arrow {
  top: -11px;
  left: 50%;
  margin-left: -11px;
  border-bottom-color: #999999;
  border-bottom-color: rgba(0, 0, 0, 0.25);
  border-top-width: 0;
}

.popover.bottom .arrow:after {
  top: 1px;
  margin-left: -10px;
  border-bottom-color: #ffffff;
  border-top-width: 0;
  content: " ";
}

.popover.left .arrow {
  top: 50%;
  right: -11px;
  margin-top: -11px;
  border-left-color: #999999;
  border-left-color: rgba(0, 0, 0, 0.25);
  border-right-width: 0;
}

.popover.left .arrow:after {
  right: 1px;
  bottom: -10px;
  border-left-color: #ffffff;
  border-right-width: 0;
  content: " ";
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: " ";
}

.clearfix:after {
  clear: both;
}

.center-block {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.pull-right {
  float: right !important;
}

.pull-left {
  float: left !important;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}

.invisible {
  visibility: hidden;
}

.text-hide {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}

.affix {
  position: fixed;
}

@-ms-viewport {
  width: device-width;
}

.visible-xs,
tr.visible-xs,
th.visible-xs,
td.visible-xs {
  display: none !important;
}

@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }
  tr.visible-xs {
    display: table-row !important;
  }
  th.visible-xs,
  td.visible-xs {
    display: table-cell !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .visible-xs.visible-sm {
    display: block !important;
  }
  tr.visible-xs.visible-sm {
    display: table-row !important;
  }
  th.visible-xs.visible-sm,
  td.visible-xs.visible-sm {
    display: table-cell !important;
  }
  @-ms-viewport {
  width: auto!important;
}
}

@media (min-width: 992px) and (max-width: 1199px) {
  .visible-xs.visible-md {
    display: block !important;
  }
  tr.visible-xs.visible-md {
    display: table-row !important;
  }
  th.visible-xs.visible-md,
  td.visible-xs.visible-md {
    display: table-cell !important;
  }
}

@media (min-width: 1200px) {
  .visible-xs.visible-lg {
    display: block !important;
  }
  tr.visible-xs.visible-lg {
    display: table-row !important;
  }
  th.visible-xs.visible-lg,
  td.visible-xs.visible-lg {
    display: table-cell !important;
  }
}

.visible-sm,
tr.visible-sm,
th.visible-sm,
td.visible-sm {
  display: none !important;
}

@media (max-width: 767px) {
  .visible-sm.visible-xs {
    display: block !important;
  }
  tr.visible-sm.visible-xs {
    display: table-row !important;
  }
  th.visible-sm.visible-xs,
  td.visible-sm.visible-xs {
    display: table-cell !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm {
    display: block !important;
  }
  tr.visible-sm {
    display: table-row !important;
  }
  th.visible-sm,
  td.visible-sm {
    display: table-cell !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .visible-sm.visible-md {
    display: block !important;
  }
  tr.visible-sm.visible-md {
    display: table-row !important;
  }
  th.visible-sm.visible-md,
  td.visible-sm.visible-md {
    display: table-cell !important;
  }
}

@media (min-width: 1200px) {
  .visible-sm.visible-lg {
    display: block !important;
  }
  tr.visible-sm.visible-lg {
    display: table-row !important;
  }
  th.visible-sm.visible-lg,
  td.visible-sm.visible-lg {
    display: table-cell !important;
  }
}

.visible-md,
tr.visible-md,
th.visible-md,
td.visible-md {
  display: none !important;
}

@media (max-width: 767px) {
  .visible-md.visible-xs {
    display: block !important;
  }
  tr.visible-md.visible-xs {
    display: table-row !important;
  }
  th.visible-md.visible-xs,
  td.visible-md.visible-xs {
    display: table-cell !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .visible-md.visible-sm {
    display: block !important;
  }
  tr.visible-md.visible-sm {
    display: table-row !important;
  }
  th.visible-md.visible-sm,
  td.visible-md.visible-sm {
    display: table-cell !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md {
    display: block !important;
  }
  tr.visible-md {
    display: table-row !important;
  }
  th.visible-md,
  td.visible-md {
    display: table-cell !important;
  }
}

@media (min-width: 1200px) {
  .visible-md.visible-lg {
    display: block !important;
  }
  tr.visible-md.visible-lg {
    display: table-row !important;
  }
  th.visible-md.visible-lg,
  td.visible-md.visible-lg {
    display: table-cell !important;
  }
}

.visible-lg,
tr.visible-lg,
th.visible-lg,
td.visible-lg {
  display: none !important;
}

@media (max-width: 767px) {
  .visible-lg.visible-xs {
    display: block !important;
  }
  tr.visible-lg.visible-xs {
    display: table-row !important;
  }
  th.visible-lg.visible-xs,
  td.visible-lg.visible-xs {
    display: table-cell !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .visible-lg.visible-sm {
    display: block !important;
  }
  tr.visible-lg.visible-sm {
    display: table-row !important;
  }
  th.visible-lg.visible-sm,
  td.visible-lg.visible-sm {
    display: table-cell !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .visible-lg.visible-md {
    display: block !important;
  }
  tr.visible-lg.visible-md {
    display: table-row !important;
  }
  th.visible-lg.visible-md,
  td.visible-lg.visible-md {
    display: table-cell !important;
  }
}

@media (min-width: 1200px) {
  .visible-lg {
    display: block !important;
  }
  tr.visible-lg {
    display: table-row !important;
  }
  th.visible-lg,
  td.visible-lg {
    display: table-cell !important;
  }
}

.hidden-xs {
  display: block !important;
}

tr.hidden-xs {
  display: table-row !important;
}

th.hidden-xs,
td.hidden-xs {
  display: table-cell !important;
}

@media (max-width: 767px) {
  .hidden-xs,
  tr.hidden-xs,
  th.hidden-xs,
  td.hidden-xs {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hidden-xs.hidden-sm,
  tr.hidden-xs.hidden-sm,
  th.hidden-xs.hidden-sm,
  td.hidden-xs.hidden-sm {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-xs.hidden-md,
  tr.hidden-xs.hidden-md,
  th.hidden-xs.hidden-md,
  td.hidden-xs.hidden-md {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .hidden-xs.hidden-lg,
  tr.hidden-xs.hidden-lg,
  th.hidden-xs.hidden-lg,
  td.hidden-xs.hidden-lg {
    display: none !important;
  }
}

.hidden-sm {
  display: block !important;
}

tr.hidden-sm {
  display: table-row !important;
}

th.hidden-sm,
td.hidden-sm {
  display: table-cell !important;
}

@media (max-width: 767px) {
  .hidden-sm.hidden-xs,
  tr.hidden-sm.hidden-xs,
  th.hidden-sm.hidden-xs,
  td.hidden-sm.hidden-xs {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm,
  tr.hidden-sm,
  th.hidden-sm,
  td.hidden-sm {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-sm.hidden-md,
  tr.hidden-sm.hidden-md,
  th.hidden-sm.hidden-md,
  td.hidden-sm.hidden-md {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .hidden-sm.hidden-lg,
  tr.hidden-sm.hidden-lg,
  th.hidden-sm.hidden-lg,
  td.hidden-sm.hidden-lg {
    display: none !important;
  }
}

.hidden-md {
  display: block !important;
}

tr.hidden-md {
  display: table-row !important;
}

th.hidden-md,
td.hidden-md {
  display: table-cell !important;
}

@media (max-width: 767px) {
  .hidden-md.hidden-xs,
  tr.hidden-md.hidden-xs,
  th.hidden-md.hidden-xs,
  td.hidden-md.hidden-xs {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hidden-md.hidden-sm,
  tr.hidden-md.hidden-sm,
  th.hidden-md.hidden-sm,
  td.hidden-md.hidden-sm {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md,
  tr.hidden-md,
  th.hidden-md,
  td.hidden-md {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .hidden-md.hidden-lg,
  tr.hidden-md.hidden-lg,
  th.hidden-md.hidden-lg,
  td.hidden-md.hidden-lg {
    display: none !important;
  }
}

.hidden-lg {
  display: block !important;
}

tr.hidden-lg {
  display: table-row !important;
}

th.hidden-lg,
td.hidden-lg {
  display: table-cell !important;
}

@media (max-width: 767px) {
  .hidden-lg.hidden-xs,
  tr.hidden-lg.hidden-xs,
  th.hidden-lg.hidden-xs,
  td.hidden-lg.hidden-xs {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hidden-lg.hidden-sm,
  tr.hidden-lg.hidden-sm,
  th.hidden-lg.hidden-sm,
  td.hidden-lg.hidden-sm {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-lg.hidden-md,
  tr.hidden-lg.hidden-md,
  th.hidden-lg.hidden-md,
  td.hidden-lg.hidden-md {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .hidden-lg,
  tr.hidden-lg,
  th.hidden-lg,
  td.hidden-lg {
    display: none !important;
  }
}

.visible-print,
tr.visible-print,
th.visible-print,
td.visible-print {
  display: none !important;
}

@media print {
  .visible-print {
    display: block !important;
  }
  tr.visible-print {
    display: table-row !important;
  }
  th.visible-print,
  td.visible-print {
    display: table-cell !important;
  }
  .hidden-print,
  tr.hidden-print,
  th.hidden-print,
  td.hidden-print {
    display: none !important;
  }
}

div[role=main]{padding-top:16px;}

@media(min-width:768px){
div[role=main]{min-height:700px;}
div[role=main]>.row>.col-sm-4{padding:16px 14px 0 14px;}
div[role=main]>.row>.col-sm-8{padding:0 16px 0 0;}
}
  /* ksml */

  .rowLoginLogo{background:#f6f6f6;min-height:60px;}
  .rowLoginLogoSs{background:#f6f6f6;}
  .col-modal-login{padding-top:14px;}
  .col-modal-login > button{background:none;border:none;}
  .glyphicon-log-out:before{content: "\e163";font-size:20px;color:#999;}
  .glyphicon-log-in:before {content: "\e161";font-size:20px;color:green;}

  /* savo*/

.aspalLogoSS, .mediatiedotLogoSS{padding:10px 0;}

@media(max-width:767px){
  .aspalLogoSS{padding-top:20px;width:60px;}
}

.col-search{display:inline-block;width:180px;position:relative;margin-top:4px;float:right;}

#logoffForm{display:inline-block;}

#site-login{display:inline-block;padding-top:4px;/*margin-left:20px;*/}
.header-login > #site-login > .btn-link{padding-top:2px;}

.header-login #site-login{float:left;}
.globalErrorMessage.alert.alert-warning{padding:0 0 0 84px;margin:4px;border:0px;background:none;color:red;}

.login-container{padding:20px 0;}
.login-container .form-group{margin:10px 0;}
.login-container .form-group label{display:block;width:100px;}

/* arkisto login */
#ePaperLogin .form-group {width:200px;}
#ePaperLogin .form-group label{display:block;width:100px;}

/* header login */

.header-login{
  color:#666;
  background:#f6f6f6;
  padding:0 12px 4px 12px;
  height:40px;
}

.header-login>.notLogged>.login>.form-group{width:auto;}
.header-login>.notLogged>.login>.form-group >.form-control{display:inline-block;float:left;margin-left:4px;height:30px;width:100px;}
.header-login .form-group label{display:inline-block;float:left;margin:0 4px;font-weight:normal;font-size:12px;padding-top:6px;}
.header-login a.btn{color:#666;font-size:14px;}

.yritysasiakkaatLogo img{width:70%;margin:10px 0;}

  @media (max-width:767px){
      .header-login .notLogged{padding:10px;background: #111;
      }
      #site-login{padding:10px;width:100%;
      }
      .header-login .form-group{width:100%;margin:0 4px 0 0;
      }
      .header-login .form-group label{font-weight:normal;font-size:100%;color:#fff;
      }

      .rowLoginLogo{
      border-bottom:solid #ccc 1px;
      background: #ffffff;
      height:56px;
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNWU1ZTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
      background: -moz-linear-gradient(top,  hsla(0,0%,100%,1) 0%, hsla(0,0%,90%,1) 100%);
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,hsla(0,0%,100%,1)), color-stop(100%,hsla(0,0%,90%,1)));
      background: -webkit-linear-gradient(top,  hsla(0,0%,100%,1) 0%,hsla(0,0%,90%,1) 100%);
      background: -o-linear-gradient(top,  hsla(0,0%,100%,1) 0%,hsla(0,0%,90%,1) 100%);
      background: -ms-linear-gradient(top,  hsla(0,0%,100%,1) 0%,hsla(0,0%,90%,1) 100%);
      background: linear-gradient(to bottom,  hsla(0,0%,100%,1) 0%,hsla(0,0%,90%,1) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 );
      }

      .rowLoginLogoSs{
      border-bottom:solid #ccc 1px;
      background: #ffffff;
      height:56px;
      background: #f5bf42;
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y1YmY0MiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMGEyMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
      background: -moz-linear-gradient(top,  hsla(42,90%,61%,1) 0%, hsla(40,100%,47%,1) 100%);
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,hsla(42,90%,61%,1)), color-stop(100%,hsla(40,100%,47%,1)));
      background: -webkit-linear-gradient(top,  hsla(42,90%,61%,1) 0%,hsla(40,100%,47%,1) 100%);
      background: -o-linear-gradient(top,  hsla(42,90%,61%,1) 0%,hsla(40,100%,47%,1) 100%);
      background: -ms-linear-gradient(top,  hsla(42,90%,61%,1) 0%,hsla(40,100%,47%,1) 100%);
      background: linear-gradient(to bottom,  hsla(42,90%,61%,1) 0%,hsla(40,100%,47%,1) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5bf42', endColorstr='#f0a200',GradientType=0 );
      }

      .header-login .btn-link{margin-top:0!important;}

      .row-logo{width:100%;height:42px;}

      .rowLoginLogo, .rowLoginLogoSs{display:block;border-top:solid #ccc 1px;}

      .customLogoKsml{padding:0;width:70%;float:left;height:50px!important;}
      .customLogoKsml>a>img{max-width:500px;margin:10px 0 0 0!important;}
      .customLogoKsml>a{display:block;margin:0!important;padding:8px 0;}

      .rowLoginLogo .userLink{width:36px;height:36px;float:left;margin:10px 4px 0 4px;}
      .rowLoginLogoSs .userLink{width:36px;height:36px;float:left;margin:6px 8px 0 4px;}
        .userLink span{font-size:22px;padding:5px;/*color:#207ce5;*/color:#222;}


      .row-logo .col-sm-12 {background:#f6f6f6;padding:0px;}

      .row.row-login{
      padding:0 15px;
      background:#111;
      }

      .container{
      width:100%;
      padding:0;
      margin-right:0;
      margin-left:0;
      }

      .media-body > a{
      display:block;
      font-size:16px;
      padding:4px 0;
      }

      .media-body > small{
      display:block;
      }


      .icon-bar{display:block;height:4px;width:30px;background:green;margin:2px;}
      .emediate, .emediate div{min-height:0px;}
      .pre-header{font-size:20px;color:#333;margin:20px 0 0 0;}
      .emediate, .emediate > div, .emediate > div > iframe{width:100%;height:auto;margin-left:-12px;margin-right:-12px;}


      .row-login {padding:0!important;}
      .notLogged{display:inline-block;padding:0 15px;}

      .control-label-username{display:inline-block;width:30%;}
      .form-control-username{display:inline-block;font-weight:normal;width:60%;}
      .control-label-password{display:inline-block;width:30%;}
      .form-control-password{display:inline-block;font-weight:normal;width:60%;}

      .ArticleImgBoxw120{display:none;}
      #pcount{display:block;position:relative;border:solid #fff 1px;background:red;color:white;padding:0px 4px;float:right;margin-top:-20px;}
      .ArticleImgBoxw120 span, .ArticleImgBoxw120 p{display:none;}
      .navbar-mobi .navbar-header, .navbar-mobi-ss .navbar-header{display:inline-block;float:right;clear:both;margin-top:-58px;}


}


body>img{display:none;}

.sectionDivider{background:#222;padding:4px 16px;color:#fff;font-size:18px;margin-top:20px;}
  .sectionDivider a{color:#fff;text-decoration:none;}

/* article */

article p a{color:#222;}

/* logo ksml */
.customLogo {display:inline-block;}
.customLogo>a>img {width:100%;max-width:600px;margin:20px 0 10px 0;}
.nimipaivat{clear:both;padding:0;margin:0px;display:inline-block;}

/* logo savo */

.rowLoginLogoSs .customLogo {display: block;height: auto;padding: 10px 20px;}
.rowLoginLogoSs .customLogo>a>img {height:100px;width:auto;margin:0;}

@media(max-width:767px){
  .rowLoginLogoSs .customLogo>a>img {width:77px;height:32px;margin-top:0px;}
  .rowLoginLogoSs .customLogo {display: block;height:52px;padding: 10px 0px;}
}

/* nimipäivä ksml */
#today{margin:0px;font-size:13px;}
  .date-today small{line-height:11px;}

@media (max-width:767px){
  .nimipaivat, .todaySs{display:none;}
  }

#site-links{display:inline-block;}

.adHeader{display:inline-block;height:90px;float:right;margin-top:10px;}

/* poll */

.polls, .polling{
  display: table;
  margin:0;
  padding-bottom: 0px;
    width:100%;
  }

.question{
  }

.polls h5, .polling h5{margin:0px;}
.answer {}
.pollFooter{
  border-bottom:solid #ccc 1px;
  padding:4px 0;
  margin-bottom:20px;
}

.pollComment a{display:block;}
.pollComment a:after{content:" »";}
.pollRelatedTitle{font-weight:bold;}
.pollRelatedArticle a{display:block;}
.pollRelatedArticle a:after{content:" »";}

#polling fieldset {
    padding:0;
    border:none;
    margin-bottom:0.4em;
}

#polling .question p {
  font-weight:bold;
  font-size:14px;
  padding:2px 0 0 0;
}

.pollClosed {
  font-size:0.8em;
  color:#fff;
  float:right;
  position:relative;

}

.divider_color {
  height:6px;
  display:block;
  margin-bottom:4px;
  padding-bottom:2px;
  background: #ffb76b;
  background: -moz-linear-gradient(top,  #ffb76b 0%, #ffa73d 50%, #ff7c00 51%, #ff7f04 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffb76b), color-stop(50%,#ffa73d), color-stop(51%,#ff7c00), color-stop(100%,#ff7f04));
  background: -webkit-linear-gradient(top,  #ffb76b 0%,#ffa73d 50%,#ff7c00 51%,#ff7f04 100%);
  background: -o-linear-gradient(top,  #ffb76b 0%,#ffa73d 50%,#ff7c00 51%,#ff7f04 100%);
  background: -ms-linear-gradient(top,  #ffb76b 0%,#ffa73d 50%,#ff7c00 51%,#ff7f04 100%);
  background: linear-gradient(top,  #ffb76b 0%,#ffa73d 50%,#ff7c00 51%,#ff7f04 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb76b', endColorstr='#ff7f04',GradientType=0 );
}

#prosents {
  position:relative;
  top:0;
  display:block;
  width:100%;
  color:#222;
  padding:4px 0;
}

.totalVotesNumber{font-style: italic;font-size:80%;}

#prosents span {
  font-weight:bold;
  width:40px;
  display:inline-block;
  text-align:right;
  margin-right:1em;
  color:#222;
}

#polling {
    border-left:solid darkorange 4px;
  padding-left:10px;
  margin-bottom:20px;
}

.negatitle #polling{
  padding:6px;
  background:#444;
  border:none;
  width:auto;
  display:table;
  margin:0;
}

.negatitle  #polling p, .negatitle .answer #prosents{
  color:#eee;
}

#polling .answer form fieldset span,
#suuriuutinen #polling .answer form fieldset span{
  display:block;
  background: #ffffff;
  background: -moz-linear-gradient(top,  hsla(0,0%,100%,1) 0%, hsla(0,0%,95%,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,hsla(0,0%,100%,1)), color-stop(100%,hsla(0,0%,95%,1)));
  background: -webkit-linear-gradient(top,  hsla(0,0%,100%,1) 0%,hsla(0,0%,95%,1) 100%);
  background: -o-linear-gradient(top,  hsla(0,0%,100%,1) 0%,hsla(0,0%,95%,1) 100%);
  background: -ms-linear-gradient(top,  hsla(0,0%,100%,1) 0%,hsla(0,0%,95%,1) 100%);
  background: linear-gradient(to bottom,  hsla(0,0%,100%,1) 0%,hsla(0,0%,95%,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f2f2f2',GradientType=0 );
  border:solid #eee 1px;
  text-align:left;
  margin:0 0 2px 0;
  padding:6px 10px;
  color:#222;
  font-weight:normal;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  cursor:pointer;
  }

#polling .answer form fieldset span:hover,
#suuriuutinen #polling .answer form fieldset span:hover{
  background:#ffffff;
  }

/* footer sitemap */

footer > .row{display:block;background:#444444;color:#fff;padding:10px;border-top:solid #ccc 1px;}
footer h4, footer a{color:#fff;}

#pcount{display:block;position:relative;border:solid #333 1px;background:darkred;color:white;padding:2px 4px;float:right;margin-top:-30px;margin-right:4px;}

#pcount span:before{
  content: "\e015";
  color:orange;
  margin-right:8px;
  font-family: 'Glyphicons Halflings';
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -moz-osx-font-smoothing: grayscale;
  }



/* teaserin body text */

article p a{color:#222;}
article p a:hover{color:#666;text-decoration:none;}
.teaserBodyText{color:#222;}

.img-container a img{width:100%;border:solid #666 1px;}
  .kolumnit img{border:none!important;border-bottom:solid #ccc 4px!important;}

.pull-right.picture {margin-left:10px;}
.pull-left.picture {margin-right:10px;}
#links >.picture.pull-right{padding:1px;margin-right:0px;display:block;clear:both;}

@media(max-width:767px){
  .pull-right.picture {margin:0 0 0 10px;}
  .pull-left.picture {margin:0 10px 0 0;}
  #links>.picture.pull-right{padding:0px;margin-left:0px;margin:10px 0;}
}

.story{padding:10px 0;margin-bottom:10px;}

@media(min-width:768px){
  .story{padding:10px 0 10px 0;margin:10px 0;}
}

.place{font-weight:bold;color:#bf6d30;}

.teaser a.list-group-item{
  line-height:1.2;padding:6px 0;margin:0;
  border-bottom:solid #eee 1px;
  font-weight:700;
}
.teaser a.list-group-item:first-child{
  border-top:solid #eee 1px;
}

a.pretitle{font-size:70%;color:#333;display:block;margin-bottom:6px;}

.story:before,
.story:after {
  display: table;
  content: " ";
}

.story:after {
  clear: both;
}

.byline{font-weight:bold;margin:0;margin-top:10px;}

.article-meta{display:block;color:#333;padding:4px 0;font-size:80%;font-weight:normal;}

/* kuvateksti */

#links > p {font-style:italic;margin:6px 0;}

/* kuvaaja */

#links > span{font-size:90%;color:#666;}

/* kuva */

#links img{border:solid #666 1px;}

/* poistaa listauksen kuvasta borderin */

.img-no-border img{border:0!important;}

/* artikkelin videon alla olevat kuvat */
isense > #links .picture{margin:8px 0;}

/* ads */

.emediate{
  display:block;
  background:url(../images/bg-mainos-text.png)no-repeat;
  width:100%;
  padding:10px 0;
  margin:20px 0;
}
.col-sm-8>.emediate{
  padding-bottom: 20px;
  margin:0 -6px 10px -6px;
  border-bottom: solid #eee 4px;
}

@media(min-width:768px){
  .col-sm-8>.emediate{
  margin:0 0 10px 0;
}
}

.outer .emediate{
  padding: 0px;background:transparent;border:none;
}
aside .emediate{
  padding: 0;border:none;
  margin:0 0 10px 0!important;
}

.customAd div{display:block;  margin:auto!important;line-height:0;height:0px;}

.row-paraati{}

@media(min-width:768px){
  .ad-visibility{display:none;}
}

/* sponsoroitu tekstipalkki */

.sponsoroitu-info{margin:0px;padding:4px 8px;border-radius:0px;}

.tab-content{
  margin-top:0px;
  margin-bottom:20px;
  border-top:0;
  background:#f9f9f9;
  border:solid #eee 1px;
}

.tab-content h4{display:none;}

.list-group > .caret {
    display: inline-block;
    position:relative;
  z-index:100;
  margin-bottom:-26px;
  margin-left:30px;
    width: 0;
    height: 0;
    vertical-align: middle;
    border-top: 8px solid #ccc;
    border-right: 8px solid transparent;
    border-bottom: 0 dotted;
    border-left: 8px solid transparent;
}

.list-group .list-group-item:hover{
  background:#fff!important;
}

.col-sm-8 > .story, .teaser article{border-bottom:solid #eee 4px;background:#fff;}
.teaser.neo-art{border-bottom:0;}
.teaser.neo-art article{border-bottom:solid #eee 4px;background:#fff;margin-bottom:20px;}
.teaser > article{padding-bottom:10px;}
.teaser  .media.news{display:inline-block;margin:0 0 -4px 0;color:#333;}
#main-story .media.news{padding:0;}
.teaser .img-container{margin-bottom:10px;}

/* suuri uutinen */

#main-story h3{padding:0px;}
@media (min-width:992px){
  #main-story .img-container img{/*min-height:396px;*/}
}

/* main story negatitle */
.teaser .negatitle {
  padding: 10px 16px;
  margin-bottom: 1.5em;
  background: #222;
  color:#fff;
  display:block;
  width:100%
  }

.teaser>.negatitle >.list-group>.list-group-item>.article-meta,
.teaser>.negatitle>.article-meta {color:#fff;}

.negatitle .media.news {
    /*color: #eee;*/
}

.label.label-video  {color:#E57A00;}
.label.label-gallery,
.label.label-blog,
.label.label-kolumni {
  color:#fff!important;margin-right:6px;}

/* kaupallinen blogi-listaus */
.blogs.font-times{background:#f6f6f6;padding:8px;border:solid #ccc 1px;margin:20px 0;}
.blogs.font-times h4{margin-top:0px;}

/* vaaliblogit */
.vaaliblogit h4:after{content:'Ilmoitus';font-size:50%;margin-left:1em;}
.vaaliblogit img{border:solid #666 1px!important;}

.beige  .negatitle span {
  color:#111;}

.orange  .negatitle span {
  color:#111;}

.negatitle .list-group {
  margin:0px;}

.negatitle a{
  color:#fff}

.negatitle a:empty{
  display:none;}

  .negatitle > .btn-group > .btn-comments {
    background: transparent;
}

.negatitle .btn-comments > .badge {
    /*color: #eee!important;*/
}

  .negatitle a:hover, .negatitle > .list-group > a:hover {
    color: #eee;
    background:transparent!important;
    text-decoration:none;}

  .orange > .negatitle > p  > a,
  .orange > .negatitle > h3  > a,
  .orange > .negatitle > .list-group a,
  .beige > .negatitle > .list-group a,
  .beige .negatitle a,
  .beige .negatitle a:hover,
  .beige .negatitle > .list-group > a:hover {
    color: #111!important;
    background:transparent!important;
    text-decoration:none;}

  .negatitle p img,  #main-story p img {
    cursor:pointer;
  }

  #secondNegaStory .caption-wrapper{
    position:relative;
    left:-10px;
    }

  .negatitle h1 a, .negatitle h2 a {
    color: #fff;
    text-shadow:none;}
  .beige .negatitle h1 a, .beige .negatitle h2 a {
    color: #111;
    }
  .orange .negatitle h1 a, .orange .negatitle h2 a {
    color: #111;
    }

  .negatitle hgroup h1,
  .negatitle hgroup h2,
  .negatitle hgroup h3 {

    color: #fff;
    margin:0 0 0.4em 0;
    padding:0px;}

  .negatitle hgroup h1 {
    overflow:hidden;}

  .negatitle .nav-related a:hover {color:#eee;}

.negatitleSs > .negatitle > h1 > a,
.negatitleSs > .negatitle > h2 > a,
.negatitleSs > .negatitle > h3 > a{color:yellow;}

.col-sm-12.suuriuutinen {margin:0px;padding:0px;min-height:0px;}
.suuriuutinen > article.suuriuutinen{padding:16px!important;}
.suuriuutinen > .story{margin:0px!important;}
.suuriuutinen > #main-story > h3,
.suuriuutinen > #main-story > h1{padding:0px 10px 10px 20px;margin:0px;}
.suuriuutinen > span.article-meta,
.suuriuutinen > .list-group{padding:4px 10px;margin:0px;}
#suuriuutinenScndRow{}

/* suuriuutinen black */
.black, .row.black{background:#111!important;color:#fff;padding:0px;}
.black .story{padding:10px;border-bottom:0;}
.black .article-meta{color:#fff;}
.black a, .black .story a, .story.black  .place{color:#fff;}
.black .story a:hover{background:#111!important;}
.black .list-group a:hover{background:#111!important;}
.black .badge{color:#fff!important;}

/* suuriuutinen gray */
.gray, .row.gray{background:#f6f6f6!important;padding:0px;}
.row.gray .story{padding:10px;border-bottom:0;}
.gray .article-meta{color:#222;}
.gray .story a, .story.gray  .place{}
.gray .story a:hover{background:#f6f6f6!important;}
.gray .list-group a:hover{background:#f6f6f6!important;}
.gray .badge{}

/* suuriuutinen red */
.red, .row.red{background:#a30808!important;color:#fff;padding:0px;}
.row.red .story{padding:10px;border-bottom:0;}
.red .article-meta{color:#fff;}
.red a, .red .story a, .story.red  .place{color:#fff!important;}
.red .story a:hover{background:#a30808!important;}
.red .list-group a:hover{background:#a30808!important;}
.red .badge{color:#fff!important;}

/* suuriuutinen orange */
.orange, .row.orange{background:#e5aa34!important;color:#111;padding:0px;}
.row.orange .story{padding:10px;border-bottom:0;}
.orange .article-meta{color:#111!important;}
.orange a, .orange .story a, .story.orange  .place{color:#111!important;}
.orange.story a:hover{background:#e5aa34!important;}
.orange .list-group a:hover{background:#e5aa34!important;}
.orange .badge{color:#111!important;}
.teaser a.list-group-item{border:none;}

/* suuriuutinen beige */
.beige, .row.beige{background:#daceb2!important;color:#111;padding:0px;}
.row.beige .story{padding:10px;border-bottom:0;}
.beige .article-meta{color:#111;font-size:11px!important;}
.beige a, .beige .story a, .story.beige  .place{color:#111!important;}
.beige.story a:hover{background:#daceb2!important;}
.beige .list-group a:hover{background:#daceb2!important;}
.beige .badge{color:#111!important;}
.beige h5{font-size:20px!important;}
.beige>.negatitle>.article-meta{color:#111;}

.black .pre-header{background:#bb040d;color:#fff;}
.gray .pre-header{background:#bb040d;color:#fff;}
.red .pre-header{background:#000;color:#fff;}

.black .pre-header{background:#bb040d;color:#fff;}
.gray .pre-header{background:#bb040d;color:#fff;}
.red .pre-header{background:#000;color:#fff;}

/* savon värit top stories */

/* orange */
.rowTopStoriesSs .orange, .orange .negatitle {background:#e5aa34;color:#fff;}
.rowTopStoriesSs .orange .article-meta{color:#000;}
.rowTopStoriesSs .orange a:hover{background:#e5aa34!important;color:#fff;text-decoration:none!important;}

/* beige */
.rowTopStoriesSs .beige, .beige .negatitle{background:#daceb2;}
.rowTopStoriesSs .beige .article-meta, .beige .negatitle{color:#111;}
.rowTopStoriesSs .beige a:hover{background:#daceb2!important;text-decoration:none!important;}

/* gray */
.rowTopStoriesSs .gray{background:#f6f6f6;}
.rowTopStoriesSs .gray .article-meta{color:#222;}
.rowTopStoriesSs .gray .story a:hover{background:#f6f6f6!important;}


#site-header .topstory{background:#666;}
#site-header .topstory .article{margin:10px 30px;}


/* suuruutislaatikko loppuu */

/* custom list widget detailed */

.tab-pane>.detailed{
  display:block;
  padding:4px 6px;
}

.lastModified{white-space:nowrap;}
.lastModified:before{content:" ("}
.lastModified:after{content:")"}

.article-author{display:block;font-weight:bold;font-size:12px;}

/* etusivun artikkelityypit */

/*@media (max-width:690px){
.tpjs-player{width:100%!important;}
}*/

/* added margins */

.margin-bottom-md{margin-bottom:20px;}

@media (max-width: 690px){
  .today{display:none;}
}

@media (min-width: 1200px) {
  .row.row-login{padding:0;}
    .row.row-login .container{padding:20px 0;}
  .row-logo{}
  .control-label-username, .control-label-password{font-weight:normal;}
  .control-label-username{font-weight:normal;}
    }

/* kauppakaveri */

.fp-kauppakaveri{}

.fp-kauppakaveri h2 a{font-size:14px!important;margin:0px;line-height:18px;}
.fp-kauppakaveri h2{font-size:14px!important;margin:0px;line-height:18px;}
.fp-kauppakaveri > .content > .article > h4{font-size:12px!important;margin:6px 0;}
.fp-kauppakaveri>.content>.article a{color:#333;}

.fp-kauppakaveri .seeMore a{
  background:url(http://www.ksml.fi/styles/images/bg-kauppakaveri.png);
  background-repeat:no-repeat;
  background-position:10px 10px;
  padding:50px 0 0 60px;
  color:transparent;
  display:block;
}
.fp-kauppakaveri>.content{border-bottom:solid #ccc 2px;margin-bottom:20px;}
.fp-kauppakaveri>.content>.article{margin:0;padding:4px 0;border:none;border-bottom:solid #ccc 1px;}

/* video list */

.ksmltv-section-list>.video-item:after{content:" ";display:block;height:4px;clear:both;}
.ksmltv-section-list>.video-item>.info>a{display:block;max-height:40px;overflow:hidden;}

@media screen and (min-width:1200px){
.ksmltv-section-list>.video-item,
.tvfp-paivan-nosto>.video-item{margin-top:6px;float:left;}
}

@media(max-width:690px){
  .ksmltv-section-list>.video-item{width:100%;float:none;}
  }

.videoItemMain>.video-item>a{display:block;font-size:20px;line-height:24px;margin-bottom:10px;}
@media(min-eidth:768px){
  .videoItemMain>.video-item>a{display:block;font-size:40px;line-height:44px;margin-bottom:10px;}
}

.videos a{color:#333;}
.videos a:hover {text-decoration:none;}
.videos .article-meta{display:block;font-size:80%;color:#999;}

/* kuvasarjat */

.slideshows > #video-listing > .pull-left.picture{min-height:240px;}

/* päänosto listaus fp */

.fpVideoToday > .row > .video-item{width:25%;float:left;}

/* ksml tv etusivu */

.row-ksmltv{background:#1f242a;color:#fff;padding:10px;}
.row-ksmltv .article-meta{color:#eee;}
.row-ksmltv a{color:#fff;}
.row-ksmltvBottom{/*border:solid #eee 1px;*/padding:10px;color:#fff;margin-bottom:20px;background:#2e3741;}
.row-ksmltvBottom a{color:#fff;}

/* ss tv etusivu */

.row-sstv{background:#000;color:#fff;padding:10px;margin-bottom:20px;}
.row-sstv .article-meta{color:#eee;}
.row-sstv a{color:#fff;}
.row-sstv > div .videoItemMain > .video-item > .title > a{font-size:20px;line-height:1em;}
.row-sstv h4{color:#fff;padding:0px;font-size:30px;margin:0px;}
.row-sstvBottom{padding:10px;margin-bottom:20px;background:#2e3741;}
.row-ksmltvBottom a{color:#fff;}

@media (max-width:690px){
  .row-ksmltv, .row-ksmltvBottom{background:#2e3741!important;color:#fff;padding:10px;margin-left:-15px;margin-right:-15px;height:auto;}
  .row-ksmltv a, .row-ksmltvBottom a{color:#fff;}
  .row-ksmltv h4{font-size:30px;}
  .videoItemMain a{font-size:16px;}
  .sponsoredVideo{}
}

.video-list-no-image{background:transparent!important;}

/* ksml tv osasto */

.video-item-50>.video-item{width:50%;float:left;padding-right:6px;}
.more-ksmltv-videos .video-item{}
.more-ksmltv-videos .video-item{}
.more-ksmltv-videos .video-item:first-child{display:none;}
ul.videos a.title p{}




/* play painike */

.glyphicon.glyphicon-play-circle{
  display:block;
  width:96px;
  height:24px;
  margin:-30px 6px 10px 6px;
  padding:4px;
  border-radius:10px;
  background:#333;
  }

.videoItemMain>.video-item>.picture>a> .glyphicon.glyphicon-play-circle{
  display:block;
  margin:-30px 6px 10px 10px;
  }

.videoItemMain>.video-item>.picture>a> .glyphicon.glyphicon-play-circle:hover{
  opacity: 0.4; filter: alpha(opacity=40);
  }

.glyphicon.glyphicon-play-circle:before{
  font-size:12px;
  margin:4px;
  color:#fff;
  }
.glyphicon.glyphicon-play-circle:after{
  font-size:16px;
  color:#e57a00;
  font-weight:700;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (min-width:768px){

.glyphicon.glyphicon-play-circle{
  display:block;
  width:120px;
  height:28px;
  margin:-30px 6px 20px 6px;
  border-radius:18px;
  background:#333;
  }

.videoItemMain>.video-item>.picture>a> .glyphicon.glyphicon-play-circle{
  display:block;
  margin:-40px 6px 10px 10px;
  }

.glyphicon.glyphicon-play-circle:before{
  font-size:16px;
  margin-right:6px;
  color:#fff;
  }
.glyphicon.glyphicon-play-circle:after{
  font-size:20px;
  color:#e57a00;
  font-weight:700;
}
}

.glyphicon.glyphicon-play-circle.glyphicon-play-circle-videoart:hover{text-decoration:none;}

.row-sstv .videoItemMain .glyphicon{margin:-132px 0 40px 120px;}

/* sponsoroidut videot */

.sponsoredVideosList>.video-item>.info{margin-top:20px;}
.sponsoredVideosList .glyphicon{display:block;}
.sponsoredVideosList .video-item:before{content:"Mainos";font-size:11px;white-space:nowrap;color:#fff;}
.sponsoredVideosListArticle.sponsoredVideosList .video-item:before{content:"";font-size:0px;white-space:nowrap;color:#fff;}
.sponsoredVideosList  .glyphicon:hover{display:block;text-decoration:none; opacity: 0.4; filter: alpha(opacity=40);}
.sponsoredVideosList  a{font-family: Georgia, Serif;font-size:18px;line-height:22px!important;}

ul.videos{list-style-type:none;margin:0;padding:0;}
.more-ksmltv-videos>ul.videos li:first-child{display:none;}
.video-list-no-image ul.videos a.title p:before{
  content: "\e029";
  color:#fff;
  margin-right:8px;
  font-family: 'Glyphicons Halflings';
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -moz-osx-font-smoothing: grayscale;
  }

/* top story element */

.topstory h3, .topstory h3 a{font-size:20px;}
@media(max-width:768px){
  .topstory h3, .topstory h3 a{font-size:14px;}
}

/* tilauksen kalenteri-ikkuna */

@media (max-width: 768px){
  #scw{
  width:90%!important;
  position:fixed!important;
  top:10px!important;
  background:lightyellow;
  padding:6px!important;
  margin:0px!important;
  border:solid #ccc 1px;
  -webkit-box-shadow: 0 0 12px 12px #f6f6f6;
  box-shadow: 0 0 24px 12px #999;
  }
  #scwCells td{font-size:12px!important;border:solid #ccc 1px!important;margin:2px;}
  .scwWeek{background:#333!important;color:#fff!important;font-size:12px!important;}
  .scw input{display:inline-block;padding:6px!important;width:10%!important;border-radius:6px;border:solid #ccc 1px;}
  .scw select{padding:4px 8px!important;width:100%!important;border-radius:6px;border:solid #ccc 1px;}
  .scw select option{padding:8px!important;}
  #scwNow{background:#222!important;font-size:12px;}
  #scwHeadLeft, #scwHeadRight{width:30px!important;}
  div.scw{padding:0!important;width:100%!important;position:fixed!important;top:10px!important;}
  .permAddressChange .input-group, .tempAddressChange .input-group, .tempDeliveryStop .input-group{margin-bottom:10px;width:60%!important;}
}

/* personoinnin muutoksia */

.personalizableNews .panel{display:table-cell;padding:0px!important;margin:4px;border:0px;box-shadow:none!important;}

/* osastonostot */

.OsastoNostot>.media{display:block;width:100%;background:#333;}
.OsastoNostot>span.media{display:block;padding:0px 10px!important;margin-bottom:0px!important;}
.OsastoNostot>.media a{color:#fff;}


@media (min-width:768px){
  .story.OsastoNostot{border-top:solid #ccc 1px;border-bottom:solid #ccc 1px;margin:10px 0;}
}

/* top stories */

.rowTopStories, .rowTopStoriesSs{padding:0;margin:0px 0 10px 0;}
.rowTopStories, .rowTopStoriesSs > div{float:left;padding:10px;border:solid #fff 1px;}

.rowTopStories{padding:10px 0;margin:8px 0;display:table;}
.rowTopStories .topstory{display:table-row;}
.rowTopStories .topstory .caption{display:table-cell;width:50%;float:left;}

@media(max-width:767px){
  .rowTopStories, .rowTopStoriesSs, .teaser.beige, .teaser.orange, .teaser.gray, .row.row-sstv, #firstNegaStory{padding:0;margin-left:-16px;margin-right:-16px;display:table;}
}

/* teaser */

.customStories>span.media{display:block;padding:0px;}
.customStories>span.media h5{margin:8px 4px 8px 2px; font-size:16px;}

/* sponsoroidut videot */

.sponsoredVideosListArticle .video-item{
  width:150px;
  height:200px;
  float:left;
  margin:10px;
}
.sponsoredVideosListArticle .video-item img{
  -webkit-box-shadow:  0px 2px 4px 2px #111;
  box-shadow:  0px 2px 4px 2px #111;
}

.sponsoredVideosListArticle{
  border-bottom:solid #ccc 1px;
  padding:15px;
}

/* osastot */

.blogit .media-body small:before,
.kiekkovideo .media-body small:before,
.videot .media-body small:before,
.kuvasarjat .media-body small:before,
.paakirjoitukset .media-body small:before,
.kolumnit .media-body small:before,
.kumppanit .media-body small:before,
.digipaketin_uutiset .media-body small:before,
.teatteriarviot .media-body small:before,
.konserttiarviot .media-body small:before,
.tanssiarviot .media-body small:before,
.nayttelyt .media-body small:before,
.elokuvat .media-body small:before,
.levyt .media-body small:before,
.pelit .media-body small:before,
.kirjat .media-body small:before,
.dailyVideo .media-body small:before,
.ksmltv .media-body small:before,
.uutiset-kuvasarjat .media-body small:before,
.nuorilletoita .media-body small:before,
.thirdpresenceVideo .media-body small:before{color:#333;}



.nuorilletoita .media-body small:before {content:'Kumppanit'!important;}
.uutiset-kuvasarjat .media-body small:before {content:'Kuvasarja';}
.blogit .media-body small:before {content:'Blogi';}

.kiekkovideo .media-body small:before{content:'Video';}
.videot .media-body small:before {content:'Video';}

/*.kiekkovideo .media-body small:before{content:'KSMLtv';}
.videot .media-body small:before {content:'KSMLtv';}*/
.kuvasarjat .media-body small:before {content:'Kuvasarja';}
.paakirjoitukset .media-body small:before {content:'P\00e4\00e4kirjoitus';}
.kolumnit .media-body small:before {content:'Kolumni';}
.kumppanit .media-body small:before {content:'Kumppanit';}
.digipaketin_uutiset .media-body small:before {content:'Digipaketti';}
.teatteriarviot .media-body small:before {content:'Arvio';}
.konserttiarviot .media-body small:before {content:'Arvio';}
.tanssiarviot .media-body small:before {content:'Arvio';}
.nayttelyt .media-body small:before {content:'Arvio';}
.elokuvat .media-body small:before {content:'Arvio';}
.levyt .media-body small:before {content:'Arvio';}
.pelit .media-body small:before {content:'Arvio';}
.kirjat .media-body small:before {content:'Arvio';}
.dailyVideo .media-body small:before,
.ksmltv .media-body small:before,
.thirdpresenceVideo .media-body small:before {content:'Video';}

/* asiakaspalvelu aspal */

.aspal{}
.aspal .row{padding:10px 0;border-bottom:solid #ccc 4px;}
.aspalButton{color:#06528E;}
@media (max-width:768px){
  .aspal .row{border:0;}
  .aspal .row>div{padding:0px 0 10px 0;border-bottom:solid #ccc 4px;}
}

/* yhteystiedot */

.yleisetYhteystiedot .thumbnail{border:none;}
.yleisetYhteystiedot h5{margin:0px;font-size:14px;}
.yleisetYhteystiedot .caption p{margin-bottom:0px;}
.yleisetYhteystiedot .caption{padding:0px;}


/* kelikamerat */

.weatherCamera{width:50%;height:auto;float:left;}
@media (max-width:768px){
.weatherCamera{width:100%!important;;height:auto;}
}
.weatherCamera img{width:100%!important;cursor:default;}

/* blogit */

.customBlogUserList .article{display:table;width:100%;border-bottom:solid #eee 1px;padding:0;}
.customBlogUserList .article img{border:none;}
.customBlogUserList > .content > .article h2{font-size:18px;word-wrap:break-word;}
.customBlogUserList > .content > .article h4{font-size:14px;word-wrap:break-word;}
.customBlogUserList > .content > .article h2 a{font-size:18px;}
.customBlogUserList > .content > .article h4 a{font-size:14px;}
.customBlogUserList > .content > .article .article-meta{display:none;}

#blogPosts{list-style-type:none;padding:0px; margin:0px;}
#blogPosts li{padding:10px 0;border-bottom:solid #ccc 2px;}

.list.blog >#blogPosts > li > .comment > .article-meta{display:block;}

/* artikkeli */

@media (min-width:1200px){
  .customStoryContent .body{
}
}

/* lisää aiheesta */

.related-content h4{border-bottom:solid #ccc 4px;}

/* slideshows */

.slideshows{margin-top:20px;}
@media (min-width:992px){
.slideshows-list .img-container{height:240px;}
}

.blueimp-gallery > .title{background: rgba(0, 0, 0, 0.4);padding:0 4px;}
.blueimp-gallery > .title {
  position:fixed!important;
  bottom: 0!important;
  padding:4px 8px;
  top:auto!important;
  margin-bottom: 10px!important;
  font-size:14px!important;
  font-weight:normal!important;
  background-color: #000000;
}

/* luetuimmat */

.customPopularList{margin-bottom:30px;}
.customPopularList > .media{padding-left:2.4em;border-bottom:solid #ccc 1px;}
.customPopularList > .media > .title > h4{font-size:14px!important;font-weight:bold;margin:0px;margin-top:20px;}
.customPopularList > h4,
.customBlogUserList > h4, isense > h4, .row  > h4, h4.section-header, .rightColumnList h4, .list h4  {border-bottom:solid #ccc 4px;margin-top:20px;}
.videoItemMain>h4{font-size:24px;color:#e57a00;border:none;margin-top:4px;}
.videoItemMain>h4:before{
  content: "\e029";
  color:#fff;
  font-size:24px;
  margin-right:8px;
  font-family: 'Glyphicons Halflings';
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-weight: normal;
  -moz-osx-font-smoothing: grayscale;
  }

@media(min-width:768px){

  .videoItemMain>h4{font-size:52px;color:#e57a00;border:none;margin-top:4px;}
  .videoItemMain>h4:before{
    content: "\e029";
    color:#fff;
    font-size:40px;
    margin-right:8px;
    font-family: 'Glyphicons Halflings';
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: normal;
    -moz-osx-font-smoothing: grayscale;
  }


}


body {
  counter-reset: section;
}

/* luetuimmat tällä hetkellä */

.mostReadNow > .media:before {
  counter-increment: section;
  content: counter(section) " ";
  float:left;
  padding:4px 6px;
  margin-left:-2.4em;
  border:solid transparent 1px;
  border-radius:4px;
  background:#009e58;
  color:#fff;
  font-weight:bold;
}

.mostReadNowSs > .media:before {
  counter-increment: section;
  content: counter(section) " ";
  float:left;
  padding:2px 6px;
  margin-left:-2.4em;
  border:solid transparent 1px;
  border-radius:4px;
  background:hsla(40,100%,47%,1) 100%;
  color:#fff;
  font-weight:bold;
}

/* Päivän suosituimat */

.customPopularList.mostRead > .list-group {
    display:list;
  list-style-type: none;
    list-style-type: decimal !ie;
    margin: 0;
    counter-reset: li-counter;
}
.customPopularList.mostRead > .list-group > .list-group-item{
    display:list-item;
  border-bottom:solid #ccc 1px;
  position: relative;
    padding-left: 30px;
  margin-top:6px;

}
.customPopularList.mostRead > .list-group > .list-group-item:before {
    display:inline-block;
  width:36px;
  padding-top:4px;
  position: absolute;
    top: -1px;
    left: -6px;
    font-size: 1.6em;
    font-weight: bold;
  color:#999;
    text-align: center;
    content: counter(li-counter);
    counter-increment: li-counter;
}

.mostReadNow h4{margin-top:0!important;}
/* viimeksi kommentoidut esim blogit */

.customPopularList.latestComments > .list-group > .list-group-item {font-size:16px;}

.headerDateSs{background:#f6f6f6;}

/* vuk */

.vukFp > .userInfo{float: left;width:500px;margin-top:20px;}
.vukFp > h5{display:block;width:530px;clear:left;}
.kayak-select-vuk{border-top:solid #ccc 1px;margin-bottom:10px;}
.vukColFirst{display:block;float:left;width:200px;margin-bottom:10px;}
  .vukColFirst h4{font-size:18px;color:#333;text-shadow: 1px 1px 3px #CCCCCC;}
.vukColSecond{display:block;float:left;width:360px;padding:0 10px;margin-bottom:10px;}
  .vukColSecond > h5{font-size:20px;text-shadow: 1px 1px 3px #CCCCCC;color:#009900;}
  .vukColSecond td{padding:0px;}
  .vukColSecond th{padding:0px;padding-right:4px;border-bottom:dotted #eee 1px;}
  .vukColSecond td:first-child{text-align:right;padding-right:20px;}
  .vukColSecond th:first-child{text-align:right;padding-right:20px;}
.vukColThird{display:block;float:left;width:260px;padding:0 10px;margin-bottom:10px;}
  .vukColThird > h5{font-size:20px;text-shadow: 1px 1px 3px #CCCCCC;color:#009900;}
  .vukColThird > p{font-size:14px;text-shadow: 1px 1px 3px #CCCCCC;line-height:22px;}
.vukColFourth{display:block;float:left;width:280px;padding:0 10px;margin-bottom:10px;}
  .vukColFourth > h5{font-size:20px;text-shadow: 1px 1px 3px #CCCCCC;color:#009900;}
  .vukColFourth > p{font-size:14px;text-shadow: 1px 1px 3px #CCCCCC;line-height:22px;}

.webIncl {margin:20px 0;font-weight:normal;font-size:18px;color:#333;line-height:30px;}
  .webIncl > span{font-weight:bold;color:#333!important;margin-right:6px;}
  .webIncl h5{font-size:20px;text-shadow: 1px 1px 3px #CCCCCC;color:#333;}
  .webIncl a{color:#333;text-decoration:underline;}

.webIncl h3{margin:0px;}

.kayak-select-new{
  display:block;
  border-bottom:solid #ccc 1px;
  width:940px;
  padding:10px 0px 20px 20px;
  margin-left:-20px;
  margin-bottom:10px;
  }

  .kayak-select-new ul li {display:block;float:left;width:300px;}
  .kayak-select-new p.include {
    display:block;
    background:url(../images/bg-checked.png);
    background-repeat:no-repeat;
    background-position:left 6px;
    font-size:12px;
    padding:0 0 0 20px;
  }

  .kayak-select-new p{margin:0px;}
  .kayak-select-new h3{margin-bottom:0;color:#1d7373;}

.kayak-select-new div.includes{height:170px;}
.kayak-select-new table{display:block;width:326px;margin:0px;}
.kayak-select-new th{color:#333;font-size:11px;}
.kayak-select-new td{padding:1px 12px;font-size:11px;}
.kayak-select-new td:nth-child(2) strong{font-weight:normal;}
.kayak-select-new td strong{color:#222;font-weight:normal;}
.kayak-select-new td:first-child{text-align:right;}

/* paywall cayak tilaus */

.kayak-select{display:block;padding:0px;}
.kayak-select .row{margin-top:10px;border:solid #ccc 1px;padding:4px 8px;background:#f6f6f6;border-radius:6px;}

.kayak-select > h4{
  height:80px;
  margin:0px;
  padding:20px 0 0 0px;
  font-size:24px;
}

@media (max-width:768px){
.kayak-select > h4{
  height:auto;
  background:#eee;
  margin:0px;
  padding:10px;
  font-size:30px!important;
  }
.kayak-select .row{margin:0px;border:none;border-bottom:solid #ccc 1px;padding:10px 0px;background:transparent;border-radius:0px;}
}


p.paywall-product{
  height:50px;
  margin:0px;
  padding:6px;
}

.notInclude{background:url(../images/no-red.png)no-repeat;padding-left:22px;}

.include{background:url(../images/ok-green.png)no-repeat;padding-left:22px;}

.kayak-select h5{
  font-size:20px;
}
.kayak-select h5 small{
  display:block;
}

.kayak-select p{
  padding:4px;
}

.paywall-product-price{padding:4px 0px;height:100px;border-top:solid #ccc 1px;border-bottom:solid #ccc 1px;margin-bottom:20px;}
p.priceNumber{font-size:40px;font-weight:bold;margin:0px;padding:0px;color:#333;line-height:40px;}
p.priceNumberSmall{font-size:20px;font-weight:bold;margin:0px;padding:0px;color:#333;}
p.priceStart, p.priceTime{font-size:12px;margin:0px;padding:0px;}


  /* vuk tuotepaketin sisltö */

.vuk-product-include{display:block;height:360px;font-size:16px;}
.includePad{height:60px;background:#fff url(../images/bg-lukulaiteLehti.png);background-position:right 0px;background-repeat:no-repeat;}
  .includePad span{display:block;font-size:12px;}
.includeEpaper{height:60px;background:#fff url(../images/bg-nakoislehti.png);background-position:150px -20px;background-repeat:no-repeat;}
.includeArchive{height:60px;background:#fff url(../images/bg-tuotepaketti5.png);background-position:150px -50px;background-repeat:no-repeat;}
.includeKsmlfi{height:60px;background:#fff url(../images/bg-ksmlfi.png);background-position:160px -20px;background-repeat:no-repeat;}
.includeMobi{height:60px;background:#fff url(../images/bg-iphone.png);background-position:130px 0px;background-repeat:no-repeat;}

.tilausKsml ul{list-style-type:none;padding:0px;margin:0px;height:180px;}
.tilausKsml h4{height:40px;}
@media (max-width:768px){
.tilausKsml h4{font-size:22px;}
.tilausKsml{border-bottom:solid #ccc 4px;}
}

.tilausSS{width:20%;padding:4px;}
.tilausSS ul{list-style-type:none;padding:0px;margin:0px;}
.tilausSS h4{height:40px;}
@media (max-width:768px){
.tilausSS{width:100%;padding:8px;}
.tilausSS h4{font-size:22px;}
.tilausSS{border-bottom:solid #ccc 4px;}
}



 .vuk-product-include li{
  display:inline-block;
  border:solid #ccc 1px;
  margin:4px;
  float:left;
  padding:20px;
  width:230px;
  -webkit-border-radius: .2em;
  -mozilla-border-radius: .2em;
  border-radius: .2em;
 }

.paywall-product-include li{float:left;margin-right:40px;}
.paywall-product-include .include span{
  font-size:10px;
  white-space:no-wrap;
  }

.paywall-product-include .notInclude span {
  font-size:10px;
  display:block;
  white-space:no-wrap;
}

.formColsFirst, .formColsSecond, .formColsThird{float:left;width:250px;padding:10px;margin:10px;border:solid #eee 1px;border-radius:6px;}
.formColsThird input{display:block;}
.formColsThird > form > label{display:block!important;margin-top:10px;}
.formColsFirst h4, .formColsSecond h4, .formColsThird h4{color:green;}

.labelSpan{display:block!important;}

.formColsFirst .form-control{display:block;margin-bottom:10px;}


@media(max-width:768px){
  .formColsFirst, .formColsSecond, .formColsThird{width:100%;padding:10px;margin:10px 0px;background:#f6f6f6;border:nen;}
  .rowKesatarjous .campaignInfo{background:#f6f6f6;padding:0px 10px;border-bottom:solid #ccc 4px;margin-bottom:20px;}
  .campaignInfoKesa{width:100%;display:block;}

}

.formColsFirst span,
.formColsSecond span,
.formColsThird span{}
  span.labelSpan{}

.campaignLogin{display:block;padding:10px;clear:both;height:660px;}
.campaignLogin:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; }
  .campaignLogin h2{font-size:2em;}
  .campaignLogin h4{font-size:1em;}

.campaign .userInfo {/*margin-top:20px;*/}
.campaign .userInfo span{font-weight:bold;}
.campaign .userInfo span:after{content:'';}
.campaign > .focused > ul > li > .paywall-price {font-size:16px;margin-right:20px;color:#333;}
.campaign > .focused > ul > li > .paywall-price span{font-size:30px;color:#333;}
.campaign > .focused > ul > li > .paywall-price-monthly{display:inline;font-size:16px;margin-right:20px;color:#333;text-shadow: 1px 1px 2px #CCCCCC;}
.campaign > .focused > ul > li > .paywall-price-monthly span{font-size:30px;color:#333;}
.campaign > .focused > ul > li > .bySubsLength{display:inline;font-size:30px;text-shadow: 1px 1px 2px #CCCCCC;}
.campaign > .changePeriod{margin:0px;}

/* button */

.buttonChangePeriod{
  height:40px;
  padding:8px;
  border:solid #46b8da 1px;
  border-radius:4px;
  color: #ffffff;
  background-color: #5bc0de;
  margin:10px;
}
.buttonChangePeriodActive{
  height:40px;
  padding:8px;
  border:solid #1883a3 1px;
  border-radius:4px;
  color: #ffffff;
  background-color: #1883a3;
  margin:10px;
}

.buttonChangePeriod:hover, .buttonChangePeriodActive:hover,
.buttonChangePeriod:focus, .buttonChangePeriodActive:focus,
.buttonChangePeriod:active , .buttonChangePeriodActive:active {
  color: #ffffff;
  background-color: #39b3d7;
  border-color: #269abc;
}

.campaign  div.paywall-price{display:inline;}
.campaign  .byEndDate{font-size:16px;}
.campaign  .byEndDate:before{content:"Tilausjakso ";}
.campaign  .paywall-product-include{margin-top:10px;margin-bottom:0px;}
.campaign  .bySubsLength{font-size:20px;margin-left:6px;color:#333;}
.loggedInCustomerConfirmation{padding:20px 0px;}
.campaign > form > .form-group > .form-control{width:300px;}

/* kampanja form end */

.webcirix .formCalender{
  display:block;
  height:60px;
  clear:both;
  margin-bottom:20px;
}
.webcirix .formCalender input{
  float:left;
}

.webcirix .formCalender img{
  float:left;
  cursor:pointer;
  margin-top:4px;
}
 .paywall-price-first{}
  .paywall-price-first  span{font-size:30px;color:#333!important;font-weight:normal!important;font-style: normal!important;}
 .paywall-price-second{}
  .paywall-price-second  span{font-size:30px;color:#333!important;font-weight:normal!important;font-style: normal!important;}
 div.webcirix > .paywall-price > p{margin:0px;}
 .paywall-price .pay-period {}
 .paywall-price .pay-period span{font-weight:bold;font-size:16px;color:#333;font-weight:normal;font-style: normal;}
 .webcirix .paywall-price li{float:left;margin-right:20px;}
 .order-start{margin-bottom:0px;}

  .subscriptionInfo{
  padding:20px;
  }

  .subscriptionInfo > .orderLogin,
  .subscriptionInfo > .subscriptionRegister{
  padding:0px;
  }
@media(max-width:768px){
  .subscriptionInfo{
  padding:0px;
  }
}

/* pankkimaksaminen return */

 div.bankOkMessage{
    padding:60px 300px 60px 120px;
    background: url(../images/bg-tuotepaketti1.png);
    background-repeat:no-repeat;
    background-position:640px bottom;
}

div.bankOkMessage .successful-order{
    display:block;
    height:90px;
    background:url(../images/bg-okReturn.png);
    background-repeat:no-repeat;
    background-position:520px 0px;}

div.bankErrorMessage {
    padding:60px 120px;
    background:url(../images/bg-tuotepaketti1.png);
    background-repeat:no-repeat;
    background-position:640px bottom;
}

div.bankErrorMessage .failed-order{
    display:block;
    height:90px;
    background:url(../images/bg-errorReturn.png);
    background-repeat:no-repeat;
    background-position:520px 0px;}

 /* omat tiedot */

div.updateStandingOrder{
  min-height:300px;
  padding:20px;
  }


.personInfo .blockFirst{
  border-bottom:solid #eee 8px;
  background-position:540px bottom;
  padding:10px 60px 20px 80px!important;}

.personInfo .blockSecond{
  border-bottom:solid #eee 8px;
  padding:10px 60px 20px 80px!important;
  background-position:640px 20px;}

.personInfo .blockThird{
  border-bottom:solid #eee 8px;
  padding:10px 200px 20px 80px!important;
  }

/* aspal-sivut */

.baseTable{

}

.baseTable th{
  background:#333;color:#fff;
}

.baseTable .tdNumber{
  padding:0 1em;
  font-size:16px;
  font-weight:bold;
  color:#e57d03;
  white-space:nowrap;
}

.baseTable .tdText{
  font-weight:bold;
  padding-left:1em;
}
.baseTable .tdNumber:last-child,
.baseTable .tdText:last-child,
.baseTable th:last-child {
      border-right:none; }

.baseTable tr:nth-child(odd){background:#f6f6f6;}
.baseTable tr:nth-child(even){background:#ffffff;}

/* artikkelin rakenne */

.aspalArticle  .buttonBlue{
  padding:8px!important;}

.customStoryContent > .body > a.buttonBlue{margin-top:0px;margin-bottom:40px;}


/* artikkelin rakenne loppuu */

/* maksumuurin tilaus */

div.input form{
  display:block;
  border:solid #eee 1px;
  margin-bottom:20px;
  -webkit-box-shadow:  0px 2px 4px 4px #f6f6f6;
        box-shadow:  0px 2px 4px 4px #f6f6f6;
  }

.subscription{
  margin-bottom:20px;
  padding:20px 300px 0 20px;
  display:block;
  background:#fff url(../images/bg-updateStandingOrder.png);
  background-position:670px 40px;
  background-repeat:no-repeat;
}


.subscription fieldset {
  padding:0px;
  margin:0px;
}

.subscription td{
  margin:0px;
  padding:0 10px;
  font-size:11px;
  vertical-align:middle;
 }


.subscription .productPackage li{
  display:inline-block;
  padding:8px;
  float:left;
}
.subscription .productPackage li:first-child{
  display:inline-block;
  width:310px;
  padding:8px 8px 8px 20px;
  float:left;
}


.focused{padding:20px 0;border-bottom:solid #ccc 1px;margin-bottom:20px;}
.focused ul{list-style-type:none;padding:0px;}


.focused .paywall-product-include td.include {
  display:block;
  background-repeat:no-repeat;
  background-position:left 6px;
  font-size:14px;
  padding:0 0 0 24px;

 }
 .focused .paywall-product-include td.include:before {
  content: "\e013";
  font-family: 'Glyphicons Halflings';
  margin-right:10px;
  color:green;
}


.focused .paywall-product-include td.notInclude{
  display:block;
  background-repeat:no-repeat;
  background-position:left 6px;
  font-size:14px;
  padding:0 0 0 24px;
 }

 .subscription .productPackage li .buttonGreen{
  margin:30px 0 0 0;
  padding:10px;
}

.subscription span.paywall-product{
  font-weight:normal;
  display:block;
  color:#333;
  font-size:20px;
  line-height:24px;
  text-shadow:3px 3px 5px #ccc;
  margin:10px 0;
 }

 .subscription .paywall-price{
  display:block;
  font-size:16px;
  color:#333;
 }

 .subscription .paywall-price ul li {
  float:left;
  border:solid #eee 1px;
  padding:4px 10px;
  margin-right:20px;
 }

.subscription .paywall-price-first span,
.subscription .paywall-price-second span,
.subscription .paywall-price-third span {font-size:16px;font-weight:bold;}


 .subscription h2{
  font-weight:normal;
  margin-bottom:20px;
  color:#333;
  font-size:24px;
  text-shadow:3px 3px 5px #ccc;
 }

 .updateStandingOrder table.paywall-product-include{
  margin:20px 0;
 }

 .updateStandingOrder table.paywall-product-include td.include{
  border-bottom:solid #eee 1px;
  border-top:solid #fff 1px;
  font-size:14px;
  color:#333;
 }

 .updateStandingOrder table.paywall-product-include td.include a,
 .updateStandingOrder table.paywall-product-include td.notInclude a{
  background: url(../images/button-unlock.png);
  background-repeat:no-repeat;
  font-size:14px;
  background-position:left 4px;
  display:inline-block;
  border:none;
  color:#333;
  text-align:left;
  padding:10px 34px;

}

 .updateStandingOrder table.paywall-product-include td.include a:hover,
 .updateStandingOrder table.paywall-product-include td.notInclude a:hover{
  background: url(../images/button-lock-hover.png);
  background-repeat:no-repeat;
  background-position:left 4px;
  color:#666;
  }

 .subscription table.paywall-product-include{
  margin:0px;
  width:200px;
 }

 .subscription .paywall-product-include td{
  margin:0px;
  padding:0px;
  font-size:12px;
  vertical-align:middle;
 }
  .subscription .paywall-product-include td.include{
  background:url(../images/bg-checked.png);
  background-repeat:no-repeat;
  padding-left:24px;
 }
   .subscription .paywall-product-include td.notInclude{
  padding-left:24px;
 }


div.userContentGrid table  {
  margin: 0;
}

.userContentGrid div.column-1, .userContentGrid div.column-2 {
  padding:10px;
}

.customProfileActions fieldset {
  margin:0;
  padding:0;
  width:600px;
  float:left;
}

#attached-image2010 {
  display:table;
}

#save-pic-2010{
  padding:20px;
}

/* perustaulukko */

.baseTable{
  border:solid #ccc 1px;
}

.baseTable th{
  background:#333;color:#fff;
  border-right:solid #ccc 1px;
}

.baseTable .tdNumber{
  text-align:right;
  padding:0 1em;
  color:#e57d03;
  white-space:nowrap;
  border-right:solid #ccc 1px;
}

.baseTable .tdText{
  border-right:solid #ccc 1px;
  font-weight:bold;
  padding-left:1em;
}
.baseTable .tdNumber:last-child,
.baseTable .tdText:last-child,
.baseTable th:last-child {
      border-right:none; }

.baseTable tr:nth-child(odd){background:#eeeeee;}
.baseTable tr:nth-child(even){background:#ffffff;}

.vukb-ipad{
  display:block;
  padding:40px 240px 20px 0px;
  margin-bottom:20px;
  background:url(../images/bg-ipad.jpg);
  background-repeat:no-repeat;
  background-position:top right;
  border-bottom:solid #ccc 1px;
}

/* webCirixWide */

 .webcirix .focused{
  display:block;
  padding:10px 0;
  margin-bottom:10px;
  cursor:text;
 }

 .webcirix .focused .paywall-product,
 .campaign  .paywall-product{
  font-size:32px;
  display:block;
  color:#333;
 }

 .campaign  .paywall-price{
  color: #009900;
  font-size: 20px;
}

 .giftPaper  .paywall-price{
  color: #024A68;
  font-size: 20px;
}
/* omat tiedot */


div.noBorderTop{border-top:none!important;}

.regBlockFirst{
  padding-left:120px;
  }
.legendSpan{font-weight:bold;color:#111!important;}

.webcirix span span{display:block;font-style:normal;}

/* kampanja form */

.campaign > .noOtherForm{
  display:inline-block;
  padding:14px 20px 20px 20px;
  margin:20px 10px 20px 0;
  background:#fff;
  border:solid #ccc 1px;

}

/* vaihda uuteen tilaukseen form */

.webcirix > .formColsFirst{
  display:block;
  width:360px;
  height:220px;
  float:left;
  padding:0px 0px 20px 20px;
  margin-right:20px;
  border:none;
}

.webcirix > .formColsSecond{
  display:block;
  border:none;
  width:540px;
  height:300px;
  float:left;
  padding:0px 20px 20px 20px;

}

@media(max-width:768px){
.webcirix > .formColsFirst,
.webcirix > .formColsSecond{
  width:100%;
  height:auto;
  float:none;
  padding:0px;
  margin:0px;
  border:none;
}

}

.formColsSecond #messageArea{}
  .formColsSecond #messageArea div{background:#fff;padding:8px;border:solid red 1px;box-shadow: 0 0px 8px 1px #999;}

.webcirix >.formColsFirst h4,
.webcirix >.formColsSecond h4{padding:0px;font-size:14px;margin:10px 0; border-bottom:solid #ccc 4px;}
.webcirix >.formColsFirst .form-control{display:block;}

 .formColsSecond button#kylla2,
 .formColsSecond button#en2{padding:6px 10px!important;width:60px;margin-right:10px;}


.cusnoDesc{display:block;margin-bottom:10px;}
.divAddress{display:block;margin:10px 0;height:100px;}

 .webcirix button {margin-top:20px;}
 .webcirix button.newCustomer_submit{margin-left:160px;}
 .webcirix a button{margin-left:1em;}


/* väliaikainen fix */

.permAddressChange .messageAreaLarge > #messageArea{display:inline-block;padding:0px;font-size:14px;border:none;margin-bottom:10px;background:#fff;color:red;}

.tempAddressChange #messageArea{display:block;margin-bottom:10px;}
.tempAddressChange .messageArea{display:block;margin-bottom:10px;}
.tilaaminenHtmlNavi li{float:left;margin-right:8px;}

.currentAddress > span{
  margin:0px;
 }
 .currentAddress > legend{
  margin:0px;
  display:inline-block;
 }

 /* loading image */
 .webcirix #messageArea img{position:relative;right:20px top:-4px;}

.webcirix div.allowMessages{
  display:block;
  margin:14px 0;
   }

.webcirix div.allowMessages > span{
  margin-left:4px;
  display:inline-block;
  width:400px;
  font-style:normal;
  font-size:13px;
  vertical-align:top;
  color:#111;
   }

   .orderAddress > img{
  cursor:pointer;
  float:right;
  position:relative;
  top:-40px;
  left:-200px;
   }

 /* kalenteri */

#scwMonths, #scwYears{width:100px;}

.permAddressChange #scw, .tempAddressChange #scw{
  background:#fff;
  position: fixed;
  top:20px!important;
  margin:0!important;
  -webkit-box-shadow: 0 0 12px 6px #999;
  box-shadow: 0 0 12px 6px #999;
}
.tempDeliveryStop #scw{
  background:#fff;
  position: fixed;
  top:20px!important;
  margin:0!important;
  -webkit-box-shadow: 0 0 12px 6px #999;
  box-shadow: 0 0 12px 6px #999;
}

select{display:block;}

.permAddressChange .input-group, .tempAddressChange .input-group, .tempDeliveryStop .input-group{margin-bottom:10px;width:40%;}

.webcirix #scwHead{margin-bottom:0px!important;}

.webcirix .scwWeekNo{}
.webcirix .scwCells table{margin:0px;}
.webcirix td.scwCells{
  border:solid #eee 1px!important;
  background: #7abcff;
  color:#fff!important;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzdhYmNmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0MDk2ZWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  hsla(210,100%,74%,1) 0%, hsla(210,84%,59%,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,hsla(210,100%,74%,1)), color-stop(100%,hsla(210,84%,59%,1)));
  background: -webkit-linear-gradient(top,  hsla(210,100%,74%,1) 0%,hsla(210,84%,59%,1) 100%);
  background: -o-linear-gradient(top,  hsla(210,100%,74%,1) 0%,hsla(210,84%,59%,1) 100%);
  background: -ms-linear-gradient(top,  hsla(210,100%,74%,1) 0%,hsla(210,84%,59%,1) 100%);
  background: linear-gradient(to bottom,  hsla(210,100%,74%,1) 0%,hsla(210,84%,59%,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7abcff', endColorstr='#4096ee',GradientType=0 );
}
.webcirix td.scwCells:hover{background:#4096ee;}
.webcirix .scwCellsWeekend{
  border:solid #eee 1px!important;
  background: #ffa84c;
  color:#fff;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmYTg0YyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZjdiMGQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  hsla(31,100%,65%,1) 0%, hsla(27,100%,53%,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,hsla(31,100%,65%,1)), color-stop(100%,hsla(27,100%,53%,1)));
  background: -webkit-linear-gradient(top,  hsla(31,100%,65%,1) 0%,hsla(27,100%,53%,1) 100%);
  background: -o-linear-gradient(top,  hsla(31,100%,65%,1) 0%,hsla(27,100%,53%,1) 100%);
  background: -ms-linear-gradient(top,  hsla(31,100%,65%,1) 0%,hsla(27,100%,53%,1) 100%);
  background: linear-gradient(to bottom,  hsla(31,100%,65%,1) 0%,hsla(27,100%,53%,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa84c', endColorstr='#ff7b0d',GradientType=0 );
  }
.webcirix .scwCellsWeekend:hover{background:hsla(27,100%,53%,1);color:#fff;}
.scwInputDate{background:#666;color:#fff!important;}
.webcirix #scwCells{border:solid #eee 1px;}
.webcirix .scwHead{}
.webcirix #scwMonths{border:solid #eee 1px;}
.webcirix #scwYears{border:solid #eee 1px;}
.webcirix #scwNow,.webcirix #scwNow:hover{background:#666;padding: 4px 0;}

.newCustStart{}

.ISpersonInfo button:hover {
  border-top-color: #28597a;
  background: #336633;
  color: #eee;
  -webkit-box-shadow: none;
  box-shadow:  none;
   }
.ISpersonInfo button:active {
  border-top-color: #1b435e;
  background: #1b435e;
   }

.ISpersonInfo button a:hover,
.ISpersonBooking button a:hover {
  text-shadow: none;
}

.ISpersonBooking span,
.ISpersonInfo span{

}
 /* omat tiedot */

 .widget-omat-tiedot label{display:block;}
 .widget-omat-tiedot br{display:none;}
 .widget-omat-tiedot .form-group{width:200px;margin-bottom:20px;}

 .ISpersonInfo.blockFirst,
 .ISpersonInfo.blockSecond,
 .ISpersonInfo.blockThird{padding:20px;margin-bottom:20px;border:solid #ccc 1px;border-radius:10px;background:#f6f6f6;}

 .userInfo .ISinfoText span{
  font-weight:bold;
  margin:1em 0px;
}

.userInfo{
  padding:10px;
  margin-bottom:10px;
  display:block;
}

.userInfo h4{
  margin-top:20px;
}

.userInfo #site-login{
  border:solid red 1px;
  padding:10px;
  display:block;
  margin-bottom:1em;
}

.userInfo .alreadyLogText{
  border:solid green 1px;
  padding:10px;
  display:block;
  margin-bottom:1em;
}

.ISpersonOrder{}

.ISpersonOrder button{
  margin-bottom:0.4em;
  font-family: Helvetica,Arial,Helvetica,sans-serif;
  float:left;
  font-weight:bold;
  padding-left: 20px;
  margin-right:10px;
  border:none;
  color: white;
  font-size: 16px;
  text-decoration: none;
  vertical-align: middle;
  text-align:left;
  -webkit-border-radius: 4px 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
  -webkit-box-shadow:  0px 1px 2px 1px #cccccc;
  box-shadow:  0px 1px 2px 1px #cccccc;
}



.ISpersonInfo a, .ISpersonBooking a {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
}

.ISpersonInfo a:focus, .ISpersonBooking a:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.ISpersonInfo a:hover, .ISpersonBooking a:hover {
  color: #333333;
  text-decoration: none;
}

.ISpersonInfo a:active, .ISpersonBooking a:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.ISpersonInfo a{
  margin:2px;
  color: #333333;
  background-color: #ffffff;
  border-color: #cccccc;
}

.ISpersonInfo a:hover,
.ISpersonInfo a:focus,
.ISpersonInfo a:active,
.ISpersonInfo a.active{
  color: #333333;
  background-color: #ebebeb;
  border-color: #adadad;
}

.ISpersonInfo a:active,
.ISpersonInfo a.active {
  background-image: none;
}

.ISpersonInfo span {
  display:inline-block;
  padding: 6px 12px;
  background-color: transparent;
  border-color: #cccccc;
}


 /* bank form */

.webBank .bankElement {
  display:block;
  padding:10px 120px;
  height:160px;
  }
  .webBank .bankElement li{
  font-size:20px;
  text-shadow: 1px 1px 2px #CCCCCC;
  color:#333;
  }
  .webBank .bankElement li span{
  margin-right:10px;
  }
  .webBank .bankElement .bankLogo span{
  display:block;
  font-weight:normal;
  clear:both;
  }
  .webBank .bankElement form{
  display:inline-block;
  float:left;
  height:60px;
  padding:12px;
  }
  .webBank .bankElement form input{
  }
  .webBank .bankElement li.bankLogo{
  }
  .webBank .bankElement li.bankLogo input[type="image"]{
  display:inline-block;

  }
 .webBank .bankElement li.bankLogo span{font-weight:normal;margin-top:10px;font-size:12px;}


/* third presence videon lataussivu */

.thirdpresence{
  display:block;
}

.thirdpresence h1{
  color: #333333;
  font-size: 40px;
  font-weight: normal;
  text-shadow: 3px 3px 5px #CCCCCC;
}
.thirdpresence .videoUpload{
  display:block;

}
.thirdpresence .videoUpload input[type="file"]{
  margin:10px 0 20px 0;
  font-size: 14px;
}

.thirdpresence .videoInformation input[type="text"]{
  border: 1px solid #CCCCCC;
  display: block;
  height: 18px;
  margin: 4px 0 14px 2px;
  padding: 6px;
  width: 300px;
  font-size:16px;
}

#videoUploadCategoryId{
  border: 1px solid #CCCCCC;
  display: block;
  margin: 4px 0 14px 2px;
  padding: 6px;
  width: 312px;
  font-size:16px;
}
#videoUploadCategoryId option{
  padding: 0 10px;
  font-size:16px;
}

/* message admin */

.messageAdmin{padding:20px;width:890px;}
.messageAdmin h3{font-size:18px;color:green;font-weight:normal;}

/* tee uusi message */
#newMessageTable{display:block;padding:20px;border:solid #fff 1px;}
#newMessageTable tr td:first-child{text-align:right;font-size:12px;}
#newMessageTable tr td input{border:solid #ccc 1px;}
#newMessageTable tr td input[type="submit"]{background:#009900;padding:10px;color:#fff;border-radius:8px;}
#newMessageTable tr td input:hover[type="submit"]{background:#007700;}
#newMessageTable tr:nth-child(7) td  input[type="text"]{width:390px;}

/* olemassa olevat messaget */
#messageTable{display:block;border:solid #fff 1px;height:300px;overflow-y:scroll;}
#messageTable .header,
#messageTable td{font-size:10px;border-right:solid #ddd 1px;}


/* paywall */

.paywall-permit h2, .paywall-permit h3{
  color:#333;
  text-shadow:0px 0px 5px #f3f3f3;
}

.paywall-header h1{font-size:16px;padding:10px 0;}
.paywall-header h1:before{content:"Olit avaamassa artikkelia: ";font-weight:normal;}
.kayak-select ul {list-style-type:none;margin:0;padding:0;}

#paywall-info{color:#333;font-size:80%;}

/* paywall ksml */

.background-1,
.background-2,
.background-3,
.background-4,
.background-5{
  display:block;
  margin-bottom:10px;
}

@media(min-width:768px){
.paywall-permit{border:solid #b3b2a4 10px;border-radius:6px;padding:4px;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(99, 117, 136, 0.55);
  -moz-box-shadow:    0px 0px 10px 0px rgba(99, 117, 136, 0.55);
  box-shadow:         0px 0px 10px 0px rgba(99, 117, 136, 0.55);}
.paywall-permit.background-1{
  background:url(../images/bg-pyoraily-ok.jpg);
  background-repeat:no-repeat;
  padding:18px 20px 30px 470px;
  background-position:10px 10px;
}

.paywall-permit.background-2{
  background:url(../images/bg-kirsi-ok.jpg);
  background-repeat:no-repeat;
  padding:18px 20px 30px 470px;
  background-position:10px 10px;
}
.paywall-permit.background-3{
  background:url(../images/bg-harri-ok.jpg);
  background-repeat:no-repeat;
  padding:18px 20px 30px 470px;
  background-position:10px 10px;
}
.paywall-permit.background-4{
  background:url(../images/bg-tytto-ok.jpg);
  background-repeat:no-repeat;
  padding:18px 20px 30px 470px;
  background-position:10px 10px;
}
.paywall-permit.background-5{
  background:url(../images/bg-kirsi-ok.jpg);
  background-repeat:no-repeat;
  padding:18px 20px 30px 470px;
  background-position:10px 10px;
}
}

/* paywall savo */

@media(min-width:768px){
.paywall-permit-ss{border:solid #ccc 1px;border-radius:6px;padding:4px;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(99, 117, 136, 0.55);
  -moz-box-shadow:    0px 0px 10px 0px rgba(99, 117, 136, 0.55);
  box-shadow:         0px 0px 10px 0px rgba(99, 117, 136, 0.55);}
.paywall-permit-ss.background-1{
  background:url(../images/bg-syystytto.jpg);
  background-repeat:no-repeat;
  padding:18px 20px 30px 470px;
  background-position:left 30px;
}

.paywall-permit-ss.background-2{
  background:url(../images/bg-lapparinainen.jpg);
  background-repeat:no-repeat;
  padding:18px 20px 30px 470px;
  background-position:10px 30px;
}
.paywall-permit-ss.background-3{
  background:url(../images/bg-aitijapoika.jpg);
  background-repeat:no-repeat;
  padding:18px 20px 30px 470px;
  background-position:10px 30px;
}
.paywall-permit-ss.background-4{
  background:url(../images/bg-syystytto.jpg);
  background-repeat:no-repeat;
  padding:18px 20px 30px 470px;
  background-position:10px 30px;
}
.paywall-permit-ss.background-5{
  background:url(../images/bg-lapparinainen.jpg);
  background-repeat:no-repeat;
  padding:18px 20px 30px 470px;
  background-position:10px 30px;
}
}

.label-news {display:none;}
/* kommentointi form */

.flat .form-control{width:50%;}
.flat .alert:empty{display:none;}

/* jakopainikkeet */

.rowShare{margin-top:20px;}
.share-button{padding:10px 0;margin-bottom:20px;}
.share-button iframe#twitter-widget-0{display:block;}
.fb-like-div{margin-top:16px;d}

 .kayak-select{
  display:block;
  padding:0px;
  padding-bottom:30px;
  margin-bottom:10px;
 }

 @media(max-width:768px){
  .kayak-select{
  display:block;
  padding:0px;
  padding-bottom:0;
  margin-bottom:0;
  }
 }

.kayak-select li{
  display:inline-block;
  float:left;
  width:180px;
  margin:0 4px;
  }


 .changePeriod{display:block;height:70px;margin:10px 0 20px 0;}
 .changePeriod p{margin:0 0 4px 0;color:#999;}
 .changePeriod >.buttonChangePeriod{
  -webkit-appearance: none;
  -moz-appearance: none;
  float:left;
  background: #ffffff;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNmY2ZjYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  #ffffff 0%, #f6f6f6 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f6f6f6));
  background: -webkit-linear-gradient(top,  #ffffff 0%,#f6f6f6 100%);
  background: -o-linear-gradient(top,  #ffffff 0%,#f6f6f6 100%);
  background: -ms-linear-gradient(top,  #ffffff 0%,#f6f6f6 100%);
  background: linear-gradient(to bottom,  #ffffff 0%,#f6f6f6 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 );
  color:#333;
  border:solid #606c88 1px;
  margin:0 8px 0 0;
  -webkit-box-shadow:none;
  box-shadow:none;
  padding: 10px 14px;
  display:inline-block;
  font-size: 14px;
  text-decoration: none;
  vertical-align: middle;
  -webkit-border-radius: 4px 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
  }

   .webcirix >.changePeriod >.buttonChangePeriod:hover{
  border:solid #ccc 1px;
  background: #ffffff;
  }

@media(max-width:768px){
   .changePeriod{height:240px;}
   .changePeriod >.buttonChangePeriod, .changePeriod >.buttonChangePeriodActive{width:100%;margin-bottom:4px;}
   .webcirix ul{padding:0px;}
   .webcirix .paywall-price li{width:100%;}
  }

.changePeriod >.buttonChangePeriodActive{
  -webkit-appearance: none;
  -moz-appearance: none;
  float:left;
  background: #606c88;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzYwNmM4OCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzZjRjNmIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  #606c88 0%, #3f4c6b 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#606c88), color-stop(100%,#3f4c6b));
  background: -webkit-linear-gradient(top,  #606c88 0%,#3f4c6b 100%);
  background: -o-linear-gradient(top,  #606c88 0%,#3f4c6b 100%);
  background: -ms-linear-gradient(top,  #606c88 0%,#3f4c6b 100%);
  background: linear-gradient(to bottom,  #606c88 0%,#3f4c6b 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#606c88', endColorstr='#3f4c6b',GradientType=0 );
  color:#fff;
  -webkit-box-shadow:none;
  box-shadow:none;
  padding: 10px 14px;
  display:inline-block;
  font-size: 14px;
  text-decoration: none;
  vertical-align: middle;
  margin:0 8px 0 0;
  border:solid #606c88 1px;
  -webkit-border-radius: 4px 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
  -webkit-box-shadow:none;
  box-shadow:none;
}

.paywall-product-include li{float:left;margin-right:40px;}

/* pankkimaksaminen return */

 div.bankOkMessage{
    padding:40px 500px 30px 40px;
    background: url(../images/bg-paketti-4-ryhma.jpg);
    background-repeat:no-repeat;
    background-position:480px 40px;
}

div.bankOkMessage .successful-order{
    display:block;
    height:90px;
}

div.bankErrorMessage {
    padding:60px 120px;
    background:url(../images/bg-paketti-4-ryhma.jpg);
    background-repeat:no-repeat;
    background-position:640px bottom;
}

div.bankErrorMessage .failed-order{
    display:block;
    height:90px;
}

/* omat tiedot */

div.updateStandingOrder{
  min-height:200px;
  border-bottom:solid #eee 8px;
}

.personInfo .blockFirst{
  background:url(../images/bg-paketti-4-ryhma.jpg);
  background-repeat:no-repeat;
  background-position:480px bottom;
  border-bottom:solid #eee 8px;
  padding:10px 300px 20px 40px!important;}

.personInfo .blockSecond{
  padding:10px 40px!important;
  }

.personInfo .blockThird{
  border-bottom:solid #eee 8px;
  padding:10px 40px!important;
  }

/* maksumuurin tilaus */

div.input form{
  display:inline-block;
  background: #ffffff;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjYwJSIgc3RvcC1jb2xvcj0iI2Y2ZjZmNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlZmVmZWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  #ffffff 0%, #f6f6f6 60%, #efefef 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(60%,#f6f6f6), color-stop(100%,#efefef));
  background: -webkit-linear-gradient(top,  #ffffff 0%,#f6f6f6 60%,#efefef 100%);
  background: -o-linear-gradient(top,  #ffffff 0%,#f6f6f6 60%,#efefef 100%);
  background: -ms-linear-gradient(top,  #ffffff 0%,#f6f6f6 60%,#efefef 100%);
  background: linear-gradient(to bottom,  #ffffff 0%,#f6f6f6 60%,#efefef 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef',GradientType=0 );
  border:solid #eee 1px;
  }

.subscription{
  margin-bottom:1em;
  padding:20px;
  display:block;
}

div.webcirix > .paywall-price{display:block;height:100px;text-shadow:1px 1px 2px #cccccc;}

 div.webcirix > .paywall-price ul{list-style-type:none;padding:0;margin:0;}

.subscription fieldset {
  padding:0px;
}

.subscription td{
  margin:0px;
  padding:0 10px;
  font-size:11px;
  vertical-align:middle;
 }


.subscription .productPackage li{
  display:inline-block;
  padding:8px;
  float:left;
}
.subscription .productPackage li:first-child{
  display:inline-block;
  width:200px;
  padding:8px;
  float:left;
}


.focused .paywall-product-include td.include {
  display:block;
  background:url(../images/bg-checked.png);
  background-repeat:no-repeat;
  background-position:left 6px;
  font-size:14px;
  padding:0 0 0 24px;
  font-weight:bold;
 }

.focused .paywall-product-include td.notInclude{
  display:block;
  background:url(../images/bg-notChecked.png);
  background-repeat:no-repeat;
  background-position:left 6px;
  font-size:14px;
  padding:0 0 0 24px;
 }


.subscription span.paywall-product{
  font-size:24px;
  font-weight:normal;
  display:block;
  font-style:normal;
 }

 .subscription .paywall-price{
  display:block;
  font-size:14px;
 }

.subscription  > .input > form > fieldset > .productPackage > ul > li > #registration_submit {
  background: #009900;
  padding: 30px 24px;
  margin:0px;
  display:inline-block;
  border:none;
  color: white;
  font-size: 16px;
  text-decoration: none;
  vertical-align: middle;
  -webkit-border-radius: 4px 16px 16px 4px;
  border-radius: 4px 16px 16px 4px;
  -webkit-box-shadow:  0px 1px 2px 1px #cccccc;
  box-shadow:  0px 1px 2px 1px #cccccc;
   }

 .subscription .paywall-price ul li {
  float:left;
  border:solid #eee 1px;
  padding:4px 10px;
  margin-right:20px;
 }

.subscription .paywall-price-first span,
.subscription .paywall-price-second span,
.subscription .paywall-price-third span {font-size:16px;font-weight:bold;}


 .subscription h2{
  font-weight:normal;
  margin-bottom:20px;
  color:#333;
  font-size:24px;
  text-shadow:3px 3px 5px #ccc;
 }

 .updateStandingOrder table.paywall-product-include{
  margin:20px 0;
 }

 .updateStandingOrder table.paywall-product-include td.include{
  border-bottom:solid #eee 1px;
  border-top:solid #fff 1px;
  font-size:14px;
  color:#333;
 }

 .updateStandingOrder table.paywall-product-include td.include a,
 .updateStandingOrder table.paywall-product-include td.notInclude a{
  background: url(../images/button-unlock.png);
  background-repeat:no-repeat;
  font-size:14px;
  background-position:left 4px;
  display:inline-block;
  border:none;
  color:#333;
  text-align:left;
  padding:10px 34px;

}

 .updateStandingOrder table.paywall-product-include td.include a:hover,
 .updateStandingOrder table.paywall-product-include td.notInclude a:hover{
  background: url(../images/button-lock-hover.png);
  background-repeat:no-repeat;
  background-position:left 4px;
  color:#666;
  }

 .subscription table.paywall-product-include{
  margin:0px;
  width:200px;
 }

 .subscription .paywall-product-include td{
  margin:0px;
  padding:0px;
  font-size:12px;
  vertical-align:middle;
 }
  .subscription .paywall-product-include td.include{
  background:url(../images/bg-checked.png);
  background-repeat:no-repeat;
  padding-left:24px;
 }
   .subscription .paywall-product-include td.notInclude{
  padding-left:24px;
 }

.campaign > .changePeriod{margin:0px;}

/* kampanja form */

.bgPaketti4 > .focused > ul > li > .paywall-price,
.bgPaketti4 > .focused > ul > li > .campaign-subsLength{display:none!important;}


.bgPaketti4 .focused{
  background:url(../images/bg-paketti-4-ryhma-small.jpg);
  background-repeat:no-repeat;
  background-position:240px bottom;
}

.bgPaketti4 span.paywall-product{width:496px;}

.bgPaketti4 .paywall-product-include td.IncludesDaysAll {
  background:url(../images/bg-checked.png)!important;
  background-repeat:no-repeat!important;
  background-position:left 6px!important;
  font-size:14px!important;
  padding:0 0 0 24px!important;
  font-weight:bold!important;
 }

.campaign .userInfo {margin-top:20px;}
.campaign .userInfo span{font-weight:bold;}
.campaign .userInfo span:after{content:'';}

.newCustStart, .newCustStartCusNum {
  background: none repeat scroll 0 0 #009900;
  border: medium none;
  border-radius: 4px 4px 4px 4px;
  box-shadow: 0 1px 2px 1px #CCCCCC;
  color: white;
  display: inline-block;
  font-size: 14px;
  margin: 10px 0 20px;
  padding: 12px 20px;
  text-decoration: none;
  vertical-align: middle;
  }
  .newCustStartCusNum{border:solid #eee 1px;padding:10px 80px;margin-bottom:20px;}
  .newCustStart h2,
  .newCustStartCusNum h2 {
  font-weight:normal;
  margin:10px 0;
  font-size:1.4em;
  }

.formColsSecond #messageArea{/*position:relative;right:-280px;top:-300px;*/}
  .formColsSecond #messageArea div{background:#fff;padding:8px;border:solid red 1px;box-shadow: 0 0px 8px 1px #999;}

 .formColsSecond button#kylla2,
 .formColsSecond button#en2{padding:6px 10px!important;width:60px;margin-right:10px;}


 .cusnoDesc{display:block;margin-bottom:10px;}
.divAddress{display:block;margin:10px 0;height:80px;}

.divAddress li{float:left;}
.divAddress input[type=text],
.divAddress input[type=password],
.divAddress input[type=email],
.divAddress input.text,
.divAddress textarea{
  display:block;
  margin-bottom:0.4em;
  margin-right:2px;
  height:20px;
  padding:6px;
  background: #ffffff;
}

.divAddress .roadNumber input{width:160px;}
.campaign > form > .divAddress > ul > .roadNumber input{width:300px;}
.divAddress .houseNumber input{width:100px;}
.divAddress .gateNumber input,
.divAddress .apartmentNumber input{width:100px;}


   .editProfileInformation span.labelSpan{font-weight:normal;display:inline-block;}
   .marketingPermit span.labelSpan{font-weight:normal;display:inline-block;width:502px;}


 .webcirix button {margin-top:20px;}
 .webcirix button.newCustomer_submit{margin-left:160px;}
 .webcirix a button{margin-left:1em;}

.messageAreaLarge > #messageArea{display:inline-block;padding:10px;margin-bottom:10px;font-size:14px;border:solid #eee 1px;margin-bottom:0px;background:#fff173;color:#333;line-height:1.2em;}
.messageAreaLarge > .messageArea{display:inline-block;padding:10px;margin-bottom:10px;font-size:14px;border:solid #ccc 1px;margin-bottom:0px;background:#fff173;color:#333;line-height:1.2em;}
.messageAreaLarge, #messageArea{display:block;margin-bottom:14px;color:red;}
.messageArea{display:block;margin-bottom:14px;color:red;}

/* väliaikainen fix */

.permAddressChange .messageAreaLarge > #messageArea{display:inline-block;padding:0px;font-size:14px;border:none;margin-bottom:10px;background:#fff;color:red;}

.tempAddressChange #messageArea{display:block;margin-bottom:10px;}
.tempAddressChange .messageArea{display:block;margin-bottom:10px;}

 .webcirix #messageArea span{
  margin:0px;
   }

.tilaaminenHtmlNavi li{float:left;margin-right:8px;}

.currentAddress > span{
  margin:0px;
 }
 .currentAddress > legend{
  margin:0px;
  display:inline-block;
 }

 /* loading image */
 .webcirix #messageArea img{position:relative;right:20px top:-4px;}


.currentAddress{
  display:block;
  position:relative;
  width:800px;
  left:-80px;
  top:-10px;
  padding:0px 80px;
  }

  .currentAddress .currentAddress{display:inline-block;margin-top:20px;}

   .currentAddress legend{
  border:none;
  float:none;
 }
  .currentAddress > h4{
    display:inline-block;}


 .formDivSelect > legend{display:block;font-size:14px;margin:0px;}
 .formDivSelect > select{border:solid #eee 1px!important;margin:0px;/*width:440px!important;*/}
 .formDivSelect > select > option{padding:2px 8px;}

 .formDivSelect{
  margin-bottom:20px;
}
 .formDivSelect p{
  margin:0px;
  color: #024A68;
  font-size: 20px;
  font-weight: normal;
  margin: 10px 0 0 0;
}

/* campaign widgetin temp korjauksia js */

.campaignWidget{width:800px;padding-left:100px;}
.campaignWidget input, .campaignWidget label{display:block;}
.campaignWidget .divAddress{}
.campaignWidget .divAddress ul{list-style-type:none;padding:0;margin:0;}
.campaignWidget .divAddress input{border:solid #ccc 1px;height:25px;}

/* captcha */

@media(max-width:768px){
  .captcha{margin-bottom:20px;}
  #recaptcha_widget_div{}
  #recaptcha_table{}
  #recaptcha_table td{display:list-item;float:left;}
}

.divCaptcha input{margin-top:10px;width:200px;}

/* captcha alla button */

.comment-form-bottom{margin:10px 0;}

/* buttons */

.currentAddress > #messageArea >.buttonBlue,
.buttonBlue,
#continue{
  display:inline-block;
  margin:20px 0;
  background: #0078c0;
  padding: 8px 60px;
  border:none;
  color: white;
  font-size: 14px;
  text-decoration: none;
  vertical-align: middle;
  -webkit-border-radius: 4px 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
  -webkit-box-shadow:  0px 1px 2px 1px #cccccc;
  box-shadow:  0px 1px 2px 1px #cccccc;

 }

.buttonBlue:hover,
#continue:hover{text-decoration: none;color:#eee;background: #006cac;}

#registration_submit,
.editPhoneNumbers input[type="submit"],
.marketingPermit  input[type="submit"],
.changeEmail  input[type="submit"],
.editProfileInformation  input[type="submit"],
.changePassword  input[type="submit"],
.changeName  input[type="submit"],
.registerCusnoZip button,
.webcirix #login-submit
{
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #009900;
  padding: 10px 20px;
  margin:10px 0 20px 0;
  display:block;
  border:none;
  color: white;
  font-size: 14px;
  text-decoration: none;
  vertical-align: middle;
  -webkit-border-radius: 4px 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
  -webkit-box-shadow:  0px 1px 2px 1px #cccccc;
  box-shadow:  0px 1px 2px 1px #cccccc;
   }

.buttonTransport, .buttonGray{
  background: #e37430;
  padding: 8px 10px;
  margin:10px 0 20px 0;
  display:block;
  border:none;
  color: white;
  font-size: 14px;
  text-decoration: none;
  vertical-align: middle;
  -webkit-border-radius: 4px 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
  -webkit-box-shadow:  0px 1px 2px 1px #cccccc;
  box-shadow:  0px 1px 2px 1px #cccccc;
}

#messageArea .buttonGray{float:left;margin-right:20px;}


.newCustomer_submit, .newCustStart a{
  padding:14px 20px 12px 70px;
  border:none;
  border:solid #ddd 1px;
  -webkit-border-radius: 8px 8px 8px 8px;
  border-radius: 8px 8px 8px 8px;
  background:#f9f9f9 url(../images/bg-newCustomer.png);
  background-repeat:no-repeat;
  margin-bottom:20px;
}
.webcirix .newCustomer_submit:hover{
  color:#666;
}

.webcirix div.allowMessages{
  display:block;
  margin:14px 0;
   }

#main >.allowMessages, #main >p, #main >.divCaptcha, #main >.buttonGreen{
  margin:10px 0 10px 120px;
   }

.webcirix div.allowMessages > span{
  margin-left:4px;
  display:inline-block;
  width:400px;
  font-style:normal;
  font-size:13px;
  vertical-align:top;
  color:#111;
   }

   .orderAddress > img{
  cursor:pointer;
  float:right;
  position:relative;
  top:-40px;
  left:-200px;
   }

   #main>.buttonBlue{margin-left:120px;}

/* pekan huomioita */

.pekkaComments{
  padding:20px;
  background:#fff url(../images/pekka_large.jpg) no-repeat right bottom;
  border-bottom:solid #ccc 1px;
  }

/* custonm contact form */
.customContactForm textarea { width: 260px; height: 200px; padding: 5px;float.left; }
.customContactForm {
  padding-bottom:20px;background:#fff;
  border-top:solid #ccc 1px;border-bottom:solid #ccc 1px;
}

.customContactForm .element {
  display:block;
  padding:2px;
}

.customContactForm label { font-weight: normal;width:200px;display:inline-block; }

.customContactForm legend  {
  padding-top:1em;
  display:block;
  font-weight:bold;
  font-size:18px;
}

/* blogijuttujen sorttaus */

#uploadForm > fieldset > dl > dd > input{width:400px;margin-bottom:20px;}

.customUserContentManager{padding:20px 0;}

.customContentActions{padding:20px 100px;}
.customContentActions .breadcrumb{background:none;}
.itemlist{width:800px;}
.itemlist input{margin:0 10px;}
.itemlist a{color:blue;}
.buttons > a.addContent{border:solid #ccc 1px!important;border-radius:4px;padding:6px;color: #ffffff;
  background-color: #428bca;
  border-color: #357ebd;}


.itemlist .heading .header{
    cursor:pointer;
}

table.itemlist tr{
  border-bottom:solid #ddd 1px;
}

.itemlist .heading th{
  background:none!important;
  color:#111;
  font-weight:normal;
  font-size:12px;
}

.edit {
  vertical-align:middle;
}


.picturesList .pictureContainer {
  width:186px;
  float:left;
  height:220px;
  background:#111;
  margin:2px 2px 20px 2px;
  padding:2px;
  border:solid #ccc 1px;
}

.picturesList .pictureContainer .info h4{height:54px;overflow:hidden;}

.pictureContainer .picture img {
  height:100px;
  width:178px;
}

#userContentManagerPicturesForm2013 {
  display:block;
  clear:both;
}

.pictureContainer .select {
  position:relative;
  top:-86px;
  left:80px;
}

.customUserContentManager .buttons{
  margin-top:1em;
  /*padding-left:1em;*/
}

.pictureContainer .info h4 {
  margin:0;
  font-size:12px;
  overflow:hidden;
}

.userContentGrid h4{
  font-size:16px;
  font-weight:normal;
  margin-left:1em;
}

.userContentGrid h4 span.counter{
  color:#999;
}

.pictureContainer .info .date {
  margin:0;
  font-size:10px;
}

.pictureContainer .info {
  padding:4px;
  background:url(../images/transparent.png);
  position:relative;
  top:-20px;
  height:70px;
  width:100%;
  border-top:solid #ccc 1px;
}

.pictureContainer .info a, .pictureContainer .info p {
  color:#fff;
  font-size:12px;
}

.pictureContainer .links {
  width:130px;
}

.pictureContainer .links a {
  color:#999;
  font-size:11px;
  padding:2px;
}

.savePicture #picture{border:none;}

.savePicture .editImage img{
  border:solid #999 1px;
  background:#ccc;
  -webkit-box-shadow: 1px 1px 4px 1px rgba(190, 190, 190, 1);
  -moz-box-shadow: 1px 1px 4px 1px rgba(190, 190, 190, 1);
  box-shadow: 1px 1px 4px 1px rgba(190, 190, 190, 1);
}


div.userContentGrid table  {
  margin: 0;
}

.userContentGrid div.column-1, .userContentGrid div.column-2 {
  padding:10px;
}

.customProfileActions fieldset {
  margin:0;
  padding:0;
  width:600;
  float:left;
}

#attached-image2010 {
  display:table;
}

#save-pic-2010{
  padding:20px;
}

#main #site-login, .personalizationLogin{
  float:none;
  display:block;
  background:#eee;
  padding:6px;
  margin:0;
  border:solid #ddd 1px;
}

.mceEditor {
  width:700px!important;
  display:inline-block;
}

.mceLayout {
  width:700px!important;
}

.saveBlogPost fieldset {
  margin:0px;
  padding:0px;
}

.addRelateImage a, .addContent{
  display:inline-block;
  margin-bottom:20px;
  color: #ffffff;
  background-color: #428bca;
  border-color: #357ebd;
    display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
}

.bottom > .button{
  display:inline-block;
  margin-bottom:20px;
  color: #ffffff;
  background-color: #5cb85c!important;
  border-color: #4cae4c;
    display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;}

.customContentActions .breadcrumb a{
  display:inline-block;
  margin-bottom:20px;
  color: #ffffff;
  background-color: #f0ad4e;
  border-color: #eea236;
    display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
}

/* live blog */

.live-blog {margin-bottom:20px;border-bottom:solid #ccc 1px;}

/* live blog fix ipadille */

@media(max-width:767px){
#livedesk-root .liveblog-container .comment-box .content, #livedesk-root .liveblog-container .comment-box-message .content {
width: 100%!important;
}
}

.ad.ui{z-index:1!important;background:none!important;}
.ad.ui:before{content:'+';font-weight:bold;color:#666;padding:2px 6px 1px 6px;border:solid #666 1px;border-radius:10px;line-height:1em;}
.ad.ui.active:before{content:'x';font-weight:bold;color:#666;padding:1px 6px 2px 6px;border:solid #666 1px;border-radius:10px;line-height:1em;}

/* jakelunkeskeytys */

@media(max-width:768px){
.tempDeliveryStop{width:90%;}
}

/* viimeisimmät keskustelut list */

.list.jforum .list-group-item:before {
  font-family: 'Glyphicons Halflings';
  content: "\e111";
  margin-right:4px;
}

/* tähdityksen poisto */
.rating{display:none;}

/* tapetti */

.ad-theme > header, body > .container:first-of-type{background:transparent!important;border:none!important;}
.top{background:transparent!important;}
.ad-theme .col-sm-7.col-lg-8{width:660px;padding:0;padding:0 12px;}
@media(min-width:769px){
.ad-theme .header-login{border-top-left-radius:6px;border-top-right-radius:6px;}
.ad-theme .container{}
}
.ad-theme #artPreHeadAndHead {
    padding-left:12px!important;
}

.container.outer{background:transparent;-webkit-box-shadow:none;box-shadow: none;border:none;}
.container.outer>.customAd>.fif_container{display:block;margin:4px auto!important;}

/* teaser options */
.exclusive{background:green;}

/* playerit */

@media (max-width: 767px) and (orientation: portrait) {
  .tpjs-player,
  .tpmovie1,
  .youtubeVideo object embed, .youtubeVideo>iframe{width:100%!important;height:176px!important;}
}

@media (max-width: 767px) and (orientation: landscape) {
  .tpjs-player,
  .tpmovie1,
  .youtubeVideo object embed, .youtubeVideo>iframe{width:100%!important;height:300px!important;}
}
@media (min-width: 768px){
	.youtubeVideo object embed, .youtubeVideo>iframe{width:100%!important;height:550px!important;}
}

/* thirdpresence blogiartikkelissa */

.block-article-body > .body > #movie  #tpmovie{height:360px;}


/* wideImage */

.wideImage img{width:100%;height:auto;}

.row-art-main-image{margin-bottom:10px;}

/* luet arkistoartikkelia */
.text-success{font-size:80%;color:#222;margin:0;padding:0;}

/* overlay avaussivun hallinta */

#overlay{
    width:986px!important;
    height:666px!important;
}
@media(max-width:768px){
  #overlay{display:none!important;}
  #backdrop{display:none!important;}
}

/* uusimmatlista etusivulla mobiili */

.newsListFbMobi{margin-left:-16px;margin-right:-16px;margin-bottom:20px;background:#f6f6f6;border-bottom:solid darkred 8px!important;}
.newsListFbMobi .media-body{padding:0 16px;}
.newsListFbMobi .media{display:block;}
.newsListFbMobi h4{
  background:darkred!important;
  margin:0px;
  color:#fff;
  text-align: center;
  font-weight: normal;
  padding: 4px;
  }


/* tuotteiden avauspainike */

.buttonGreen input[name="Tallenna"]{background:green!important;}

/* author tiedot */

.row-author .col-sm-12  {/*padding:0px;*/}
.row-author{margin:10px 0;}
.row-author span{font-weight:bold;}
.row-author > .list-group{margin:0px;}
.row-author h5 {margin:0;}
.row-author p{display: block;padding: 3px 20px;clear: both;font-weight: normal;line-height: 1.428571429;color: #333333;}
.row-author p:empty, .row-author a:empty{display:none;}

.row-author a#dropdownMenu1{display:block;}
.row-author a#dropdownMenu1 img{}
span#dropdownMenu1{display:block;cursor:pointer;font-weight:bold;margin-top:6px;}
.dropdown {}
.dropdown > h5 {margin-top:6px;}
.dropdown h5 a{font-weight:normal;}
.author-block {padding-top:0px;margin-left:-6px;}
.author-block .dropdown-menu{padding:20px!important;}
.author-block small{border-bottom:solid #ccc 2px;font-weight:bold;}
.author-block > .dropdown > .img-container.picture > div{display:block!important;margin-top:6px;}

.row-author a.list-group-item:before{
  font-family: 'Glyphicons Halflings';
  content:"\e080";
  font-size:80%;
}

/* paginator mm blogeissa */

.paginator {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
  font-size:0px;color:#fff;
}

.paginator > a {
  display: inline;
  font-size:12px;color:#333;
}

.paginator > a{
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.428571429;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dddddd;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  background-color: #eeeeee;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 2;
  color: #ffffff;
  cursor: default;
  background-color: #428bca;
  border-color: #428bca;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #999999;
  cursor: not-allowed;
  background-color: #ffffff;
  border-color: #dddddd;
}

.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

/* wide-video */

.col-wide-video-other-videos > .col-sm-10, .col-wide-video-other-videos > .col-sm-12 {padding:0px;background:#000;border-right:solid #444 1px;border-left:solid #444 1px;margin-bottom:20px;margin-left:-16px;margin-right:-16px;}
.col-wide-video-other-videos > .col-sm-2 {padding:8px;height:580px;background:#000;color:#fff}
.col-wide-video-other-videos .row  h4{font-size:14px;border-bottom:solid #ccc 2px;margin-top:4px;color:darkorange;}
.col-wide-video-other-videos .row  a{display:block;line-height:13px;color:#fff}
.col-wide-video-other-videos .video-item:before{content:"";}
.wideVideoPlayer{}

@media(min-width:768px){
.col-wide-video-other-videos > .col-sm-10, .col-wide-video-other-videos > .col-sm-12 {margin-left:-10px;margin-right:0px;}
}

/* rss listat word pressistä */

.rss-list ul{padding-left: 0px;list-style: outside none none;margin-bottom:20px;}
.rss-list ul li{padding: 6px 0 8px 0;border-bottom:solid #ccc 1px;}
.rss-list a{font-weight:700;display:block;}
.rss-list>ul>li>.article-meta{display:inline-block;font-size:12px;}

/* rss feedit omien juttulistojen sisään */

.rssFull{border-bottom:solid #ccc 1px;margin-bottom:20px;}
.rssFull>.media{border-top:solid #ccc 1px;}
.rssFull>.media>.media-body a[data-link="external"],
.rssFull>.media>.media-body a[data-link="own"]{font-weight:bold;}
.rssFull>.media>.media-body a span{font-weight:normal;display:block;font-size:12px;margin-top:4 px;}
.media-body a[data-link="external"] span:before,
.rssFull>.media>.media-body a[href*="www.savonsanomat.fi"] > span:before{content: "\e164";font-family: 'Glyphicons Halflings';margin-right:4px;font-size:10px;color:#666;}



.rssFull>.media>.media-body a[data-section="Levyt"]:before{content:"Arvio";font-weight:normal;font-size:12px;display:block;}
.rssFull>.media>.media-body a[data-section="Pelit"]:before{content:"Arvio";font-weight:normal;font-size:12px;display:block;}
.rssFull>.media>.media-body a[data-section="Teatteri"]:before{content:"Arvio";font-weight:normal;font-size:12px;display:block;}
.rssFull>.media>.media-body a[data-section="Kirjat"]:before{content:"Arvio";font-weight:normal;font-size:12px;display:block;}
.rssFull>.media>.media-body a[data-section="KSML.tv"]:before{content:"Video";font-weight:normal;font-size:12px;display:block;}
.rssFull>.media>.media-body a[data-section="Kolumnit"]:before{content:"Kolumni";font-weight:normal;font-size:12px;display:block;}
.rssFull>.media>.media-body a[data-section="Pääkirjoitukset"]:before{content:"P\00e4\00e4kirjoitus";font-weight:normal;font-size:12px;display:block;}


.rssFull>.media>.media-body>a[href*="www.ksml.fi"] > span{display:none;}


/**** HOBO ****/

.wrapper {
  overflow: hidden;
}



/**** ADDTHIS ****/

body .at-share-tbx-element .at-share-btn
{
    margin: 0 10px 0 0;
}

body .addthis_32x32_style .at_flat_counter
{
    margin: 0 10px 0 -2px;
}

@media (max-width: 990px)
{
    body .at-share-tbx-element
    {
        clear: both;
        padding-top: 20px;
    }
}



/**** CXENSE: YHTEISET TYYLIT ****/

.cxense-heading {
  color: #333;
  font-size: 18px;
  line-height: 20px;
  font-weight: bold;
  border-bottom: 4px solid #ccc;
}

.cxense-item-link {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
}

.cxense-item-link:link,
.cxense-item-link:visited {
  color: #333;
  text-decoration: none;
}

.cxense-item-link:hover,
.cxense-item-link:active {
  color: #1e5da2;
  text-decoration: none;
}

.cxense-item-source {
  display: block;
  font-size: 12px;
  font-weight: normal;
}




/**** CXENSE: YHTEINEN RAKENNE ****/

.cxense-items,
.cxense-column {
  overflow: hidden;
}

.cxense-item {
  overflow: hidden;
  max-width: 400px;
}

.cxense-item-image {
  overflow: hidden;
  background: transparent none no-repeat scroll center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  height: 0;
  padding-bottom: 62.5%;
  margin-bottom: 5px;
}




/**** CXENSE: KUSTOMOINNIT ****/

.cxense-below-article .cxense-column,
.cxense-top-right .cxense-column {
  margin-bottom: 20px;
}

.cxense-narrow .cxense-item-link {
  font-size: 12px;
  line-height: 16px;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}




/**** CXENSE: MEDIA QUERYT ****/

@media only screen and (max-width: 600px) {
  .cxense-item-link {
    font-size: 12px;
    line-height: 16px;
  }
}

@media only screen and (min-width: 400px) {
  .cxense-columns .cxense-column {
    float: left;
    width: 33.333%;
  }

  .cxense-columns .cxense-column:nth-child(3n+1) {
    clear: both;
  }

  .cxense-columns .cxense-item {
    padding-right: 20px;
  }
}

@media only screen and (min-width: 400px) and (max-width: 600px) {
  .cxense-item-link {
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
}

/*
@media only screen and (min-width: 400px) {
  .cxense-columns .cxense-column {
    float: left;
    width: 50%;
  }

  .cxense-columns .cxense-column:nth-child(2n+1) {
    clear: both;
  }

  .cxense-columns .cxense-item {
    padding-right: 20px;
  }
}

@media only screen and (min-width: 600px) {
  .cxense-columns .cxense-column {
    width: 33.333%;
  }

  .cxense-columns .cxense-column:nth-child(2n+1) {
    clear: none;
  }

  .cxense-columns .cxense-column:nth-child(3n+1) {
    clear: both;
  }
}

@media only screen and (min-width: 768px) {
  .cxense-narrow .cxense-columns .cxense-column {
    width: 50%;
  }

  .cxense-narrow .cxense-columns .cxense-column:nth-child(2n+1) {
    clear: both;
  }

  .cxense-narrow .cxense-columns .cxense-column:nth-child(3n+1) {
    clear: none;
  }
}
*/
