/**
 * @file
 * Ilmasto unreset CSS.
 *
 * All styles that are needed to style
 * user inputted things
 */
 
.cke_show_borders {
  color: #333333;
  font: 13px/18px 'PT Sans', Arial,Helvetica,sans-serif;
}
.cke_show_borders a {
  color: #036;
  text-decoration: underline;
  -moz-transition:all .15s;
  -webkit-transition:all .15s;
  transition:all .15s;
}
.cke_show_borders a:hover {
  text-decoration: underline;
  text-shadow: none;
}
 
#block-system-main table,
.cke_show_borders table,
#block-system-main ul,
.cke_show_borders ul,
#block-system-main ol,
.cke_show_borders ol,
#block-system-main p,
.cke_show_borders p {
  margin-bottom: 18px;
}
#block-system-main ul li,
.cke_show_borders ul li {
  display: block;
  list-style-type: none;
  margin-left: 40px;
  line-height: 16px;
  text-indent: -19px;
}

#block-system-main ul li:before,
.cke_show_borders ul li:before {
  color: #336699;
  content: "•";
  font-size: 22px;
  padding-right: 5px;
  position: relative;
  top: 3px;
}

#block-system-main ol,
.cke_show_borders ol {
  list-style: decimal;
  margin-left: 30px;
}
b, strong,
.cke_show_borders b,
.cke_show_borders strong {
  font-weight: bold;
}

/* TABLES */

#block-system-main table,
.cke_show_borders table {
  width: 100%;
}

#block-system-main .unformatted-table th,
.cke_show_borders .unformatted-table th {
  font-weight: normal;
}
#block-system-main th, 
#block-system-main td,
.cke_show_borders th,
.cke_show_borders td,
.unformatted-table td,
.unformatted-table th,
.cke_show_borders .unformatted-table td,
.cke_show_borders .unformatted-table th {
  padding: 5px 10px;
  line-height: 16px;
  color: #333;
  font-size: 12px;
  border-collapse: collapse;
  border: 1px solid #fff;
}
#block-system-main th,
.cke_show_borders th {
  border: 0;
}

#block-system-main .unformatted-table td,
#block-system-main .unformatted-table th,
.cke_show_borders .unformatted-table td,
.cke_show_borders .unformatted-table th   {
  border: none;
  padding: 2px 4px;
  text-align: left;
}

#block-system-main .unformatted-table th,
.cke_show_borders #block-system-main .unformatted-table th {
  background: #ededed;
}
#block-system-main .unformatted-table td,
.cke_show_borders #block-system-main .unformatted-table td {
  background: none;
}
#block-system-main .rtecenter,
.cke_show_borders #block-system-main .rtecenter  {
  text-align: center;
}
#block-system-main .rteleft,
.cke_show_borders #block-system-main .rteleft {
  text-align: left;
}
#block-system-main .rteright,
.cke_show_borders #block-system-main .rteright {
  text-align: right;
}

#block-system-main table th,
.cke_show_borders #block-system-main table th  {
  background: #E6EEEE;
}
#block-system-main tfoot th,
.cke_show_borders #block-system-main tfoot th {
  background: #fff;
  font-size: 11px;
  font-weight: bold;
  padding-top: 11px;
  
}
#block-system-main table th[scope="col"],
.cke_show_borders #block-system-main table th[scope="col"] {
  background: #f1d412;
}
#block-system-main table th[scope="row"],
.cke_show_borders #block-system-main table th[scope="row"]  {
  background: #dddddd;
  border: 1px solid #fff;
}

#block-system-main table .odd td,
.cke_show_borders #block-system-main table .odd td {
  background: #efefef;
}
#block-system-main .unformatted-table .odd td,
#block-system-main .unformatted-table td,
#block-system-main .unformatted-table th,
#block-system-main .unformatted-table tr,
.cke_show_borders #block-system-main .unformatted-table .odd td,
.cke_show_borders #block-system-main .unformatted-table td,
.cke_show_borders #block-system-main .unformatted-table th,
.cke_show_borders #block-system-main .unformatted-table tr {
  background: transparent;
}
#block-system-main table td,
.cke_show_borders #block-system-main table td {
  background: none;
}

tr.even, tr.odd,
.cke_show_borders tr.even, .cke_show_borders tr.odd  {
  border: 0;
}

/* HEADINGS */

#block-system-main h1,
.cke_show_borders h1,
#block-system-main .view-header {
  color: #336699;
  font: 36px/36px tb,arial,sans-serif;
  margin-bottom: 20px;
  padding-bottom: 15px;
}
#block-system-main .view-blogi .title a,
#block-system-main .view-jarjestoblogi .title a {
  color: #336699;
  font: 26px/26px tb,arial,sans-serif;
}
.page-blogi-tagit #block-system-main .view-blogi .title a,
.page-jarjestoblogi-tagit #block-system-main .view-jarjestoblogi .title a  {
	font: inherit;
}
#block-system-main h2,
.cke_show_borders h2 {
  font: 23px/23px tc, arial, sans-serif;
  margin-bottom: 18px;
  color: #3f3f3f;
  font-weight: normal;
}
#block-system-main h3,
.cke_show_borders h3 {
  color: #333333;
  font: bold 17px/18px 'PT Sans',arial,sans-serif;
  margin-bottom: 16px;
}

#block-system-main p + h2,
.cke_show_borders #block-system-main p + h2  {
  margin-top: 30px;
}

#block-system-main .quote,
.cke_show_borders .quote  {
  background: url("../gfx/quote.png") no-repeat scroll 19px 2px transparent;
  color: #003366;
  font-family: tc,arial,sans-serif;
  font-size: 22px;
  line-height: 21px;
  margin-bottom: 25px;
  padding-left: 55px;
  padding-right: 55px;
  padding-top: 18px;
}

/* IMAGES */

#block-system-main img,
.cke_show_borders #block-system-main img {
  border-radius: 2px;
}

#block-system-main .floatRight,
.cke_show_borders .floatRight {
  float: right;
  margin: 0 0 20px 20px;
}

#block-system-main .floatLeft,
.cke_show_borders .floatLeft {
  float: left;
  margin: 0 20px 20px 0;
}

#block-system-main .width300,
.cke_show_borders .width300 {
  width:300px;
  height:auto;
}
#block-system-main .width250,
.cke_show_borders .width250 {
  width:250px;
  height:auto;
}
#block-system-main .width200,
.cke_show_borders .width200 {
  width:200px;
  height:auto;
}
#block-system-main .width150,
.cke_show_borders .width150 {
  width:150px;
  height:auto;
}

/* REFERENCES */

#block-system-main .reference,
.cke_show_borders .reference,
#block-system-main .footnotes li,
.cke_show_borders .footnotes li {
    font-size: 11px;
    line-height: 15px;
}
#block-system-main .reference,
.cke_show_borders .reference  {
  margin-bottom: 0px;
}
#block-system-main .reference:before,
.cke_show_borders .reference:before  {
  content: ' ';
  font-size: 13px;
  font-weight: bold;
  margin-top: 30px;
  font-family: tb, arial;
  display: block;
  border-bottom: 1px solid #ccc;
  padding-bottom: 3px;
  margin-bottom: 5px;
}
.cke_show_borders .reference:before {
  border-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}
#block-system-main .reference + .reference:before {
  content: '';
  margin: 0;
  border: 0;
}
#block-system-main .see-footnote {
    font-size: 11px;
    padding: 1px;
    position: relative;
    top: -5px;
    vertical-align: top;
}
#block-system-main .footnotes li {
  list-style: none;
  margin: 0;
  padding: 0 0 0px 18px;
  text-indent: -18px;
  margin-bottom: 8px;
  border-radius: 2px;
}
#block-system-main .footnotes {
  border-top: 0;
  margin-top: 0;
}
#block-system-main .footnotes:before {
  content: 'Alaviitteet';
  font-size: 13px;
  font-weight: bold;
  margin-top: 30px;
  font-family: tb, arial;
  display: block;
  border-bottom: 1px solid #ccc;
  padding-bottom: 3px;
  margin-bottom: 5px;
}
#block-system-main .reference + .footnotes:before {
  margin-top: 20px;
}
#block-system-main .footnote-label { 
  padding-right: 6px;
}
#block-system-main .footnotes,
#block-system-main .footnote-label {
  position: static;
  z-index: 1;
}

#block-system-main .footnotes li:before {
  content: '';
  padding: 0;
  font-size: 11px;
  left: 0;
}
#block-system-main .footnotes li:first-child {
  padding-top: 5px;
}
.see-footnote:target, .footnotes .footnote:target {
  background: #DAF6F6;
}

/* RELATED */

.field-name-field-related h1,
.field-name-field-related h2,
.field-name-field-related h3,
.field-name-field-related h4 {
  font-weight: bold;
  margin-bottom: 8px;
}
.field-name-field-related a {
  display: list-item;
  max-width: 200px;
  word-wrap: break-word;
  margin: 3px 0 3px 13px;
}

/* PAGER */

#block-system-main .item-list .pager li {
  background-image: none;
  display: inline;
  list-style-type: none;
  padding: 0.5em;
  margin: 0 5px 0 0;
  padding: 0;
}
#block-system-main .item-list .pager li:before {
  content: '';
  padding: 0;
  margin: 0;
  display: none;  
}

/* FRONT BOXES */

.cke_show_borders .blackBig {
  background: #555;
  color: #fff !important;
  display: inline-block;
  font-size: 20px;
  padding: 10px;
  margin: 10px 0;
  clear:both;
}
.cke_show_borders .blackSmall {
  background: #555;
color: #fff !important;
display: inline-block;
font-size: 14px;
padding: 10px;
margin: 10px 0;
clear:both;
}
.cke_show_borders .whiteBig {
  background:#fff;
  color:#111;
  font-size:20px;
  padding: 10px;
margin: 10px 0;
clear:both;
display:inline-block;
}
.cke_show_borders .whiteSmall {
  background:#fff;
  color:#111;
  font-size:14px;
  padding: 10px;
margin: 10px 0;
display:inline-block;
clear:both;
}

.cke_show_borders .blackBig *,
.cke_show_borders .blackSmall * {
  color:#fff !important;
}

.cke_show_borders .whiteBig *,
.cke_show_borders .whiteSmall * {
  color:#111 !important;
}