/* fonts */

@font-face {
  font-family:ff-dax-pro;
  font-style: normal;
  font-weight: normal;
  src:url("../fonts/dax-regular.otf");
}
  
@font-face {
  font-family:Verdana;
  font-style: normal;
  font-weight: normal;
  src:url("../fonts/verdana.ttf");
}

/* page settings */

@page {
  size: A4;
  border-top: solid 0.5pt #dadfe1;
  border-bottom: solid 0.5pt #dadfe1;
  margin: 17mm 15mm 15mm 15mm;
  padding: 8mm 0 10mm 0;

  @top-left {
    width: 90mm;
    height: 69mm;
    padding-top: 2.5mm;
    content: flow(pdfHeader);
    margin-top: 5mm;
    font: "ff-dax-pro" normal 11pt/20pt serif-bold;
    color: #ffffff;
    text-align: left;
  }

  @top-right {
      width: 90mm;
      content: flow(pdfTitle);
      margin-top: 7.5mm;
      color: #000;
  }

  @bottom-left {
      width: 100%;
      margin-bottom: 8mm;
      content: flow(pdfFooter);
      font: normal 6pt/6pt serif-italic;
      text-align: left;
  }

  @bottom-right {
      width: 100%;
      margin-bottom: 8mm;
      content: counter(page);
      font: normal 11pt/11pt serif-italic;
      text-align: right;
  }
}

/* cover */
@page cover {
    size: A4;
    margin: 0;
    padding: 0;
    border: none;
    
    @top-right {
        content: none;
    }
    @top-left {
        content: none;
    }
    @top-left-corner {
        content: none;
    }
    @top-center {
        content: none;
    }
    @top-right-corner {
        content: none;
    }
    @bottom-right {
        content: none;
    }
      @bottom-center {
        content: none;
    }
    @bottom-left {
        content: none;
    }
}

#cover {
  page: cover;
}
  
#cover img {
    display: block;
    width: 100%;
}
  
@page toc {

}
  
#toc {
  page: toc;
  column-count: 2;
  column-gap: 8mm;
  column-fill: auto;
}
  
#toc ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}


#toc ul>li {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}
  
#toc>ul>li>ul>li>a {
  display: block;
  font-family: "ff-dax-pro";
  font-size: 18pt;
  color: #023157;
  text-decoration: none;
  padding: 1mm 0;
  border-bottom: 0.2mm solid #dadfe1;
}

#toc>ul>li>ul>li ul a {
  display: block;
  font-family: "ff-dax-pro";
  font-size: 11pt;
  line-height: 19pt;
  color: #565656;
  text-decoration: none;
  padding: 1mm 0;
  margin-bottom: 0 !important;
  border-bottom: none;
}

#toc>ul>li>ul>li>ul>li>ul>li a {
  font-size: 9pt;
  line-height: 15pt;
  padding-left: 4mm;
}

#toc>ul>li>ul>li>ul>li>ul>li a {
  padding-left: 8mm;    
}

#toc>ul>li>ul>li>ul>li>ul>li>ul>li>ul>li a {
  padding-left: 12mm;
}

#toc ul a::after {
  content: leader(" ") target-counter(attr(href), page); 
  color: #565656;
  font-size: 11pt;
}
  
#toc>ul>li>ul>li>ul>li a::after {
    font-size: 9t;
}
  
  
p, li {
  font-family: "Verdana";
}

h1 {
  color: #58a618 !important;
}

h2, h3, h4 {
  color: #383e46 !important;
}

h2 {
  font-size: 20pt;
}

p.intro  {
  color: #717d8d !important;
}

.subpage > a:after{
  display:none !important;
}
.subpage-content a:after{
  display:none !important;

}

/* flows */
  
.pdfTitle {    
  flow: static(pdfTitle);
  font: normal 11pt/11pt "ff-dax-pro";
  text-align: right;
}

.pdfHeader {
  flow: static(pdfHeader);
  font: normal 11pt/20pt "ff-dax-pro";
  color: #3e6c1e;
}

.pdfFooter {
  flow: static(pdfFooter);
  font: normal 6pt/6pt "ff-dax-pro";
  text-align: center;
}
  
  
/* Hide stuff */
header { display: none !important; }
footer { display: none !important; }
.main-content-section{ display: none !important; }
.subpage .main-content-section{ display: block !important; float:left !important; }
.vr-breadcrumb{ display: none !important; }
.mobile-push-nav{ display: none !important; }
.subpage-wrapper .two-columns .left-nav {display: none !important; }
.subpage-wrapper .three-columns .left-nav{display: none !important; }
.subpage-wrapper .left-nav{display: none !important; }
.social-wrap{display: none !important; }
.vr-ar-tools{display: none !important; }
.box-video{display: none !important; }
.subpage-wrapper.three-columns aside {display:none !important;}
.subpage-wrapper.two-columns aside{display:none !important;}
iframe {display:none !important;}
.nopdf {display:none !important;}
/*.subpage-content p a {display:none !important;}*/

/*.content-boxes.box-width-1:before{display:none !important;}
.content-boxes.box-width-1:after{display:none !important;}
.content-boxes.box-width-2:before{display:none !important;}
.content-boxes.box-width-2:after{display:none !important;}
.content-boxes.box-width-3:before{display:none !important;}
.content-boxes.box-width-3:after{display:none !important;} */


img {
  max-width:100%;
}

.content-boxes.box-width-1 {
  margin-bottom:20px !important;
  margin-right:3% !important;
  width:45% !important;
  float:left !important;
}

.content-boxes.box-width-1:nth-child(odd) {
  margin-right:0% !important;
  margin-left:3% !important;
  width:45% !important;
}

.content-boxes.box-width-2 {
  margin-bottom:20px !important;
  width:100% !important;
  float:left !important;
}

.content-boxes.box-width-3 {
  margin-bottom:20px !important;
  width:100% !important;
  float:left !important;
}

.content-boxes.box-width-4 {
  margin-bottom:20px !important;
  width:100% !important;
  float:left !important;
}

.stage-xlsx {
  width: 100%;
  height: 100%;
}

table.johtoryhma tbody td ul {
  margin-left: 250px !important;
}

.subpage-wrapper > img {
  max-width:100%;
  float:left;
  clear:both;
}

section.subpage.main {
    column-count: 1;
}

section.subpage {
  width:100%;
  float:left;
  clear:both;
}

.subpage-wrapper.three-columns .content-wrapper .subpage-content {
  float: left;
  width: 100%;
}

.subpage-highlight, section.subpage, .subpage-content {
  column-count: 1;
}

.section-page.header {
  column-count: 1;
  page-break-inside: avoid;
  page-break-after: avoid;
  width: 100%;
  max-height:none;
  margin-bottom: 1.5em;
}

.section-page.header img {
  margin-bottom: 0px !important;
}

.subpage-main-highlight .box-content .text-wrap {
  background-color:rgba(0,0,0,0.5)!important;
}

.section-page.header .box-content.box-text-with-bg {
  position: relative;
  width: 100%;
  float:left;
  clear:both;
}

.subpage-main-highlight:before {
  display:none;
}
  
.no-pdf {
    display: none !important;
}

/* page breaks */
.force-break {
  page-break-after: always;
} 

tr.n-arpagebreak {
  page-break-after: always !important;
}

.container {
  page-break-before: avoid;
  page-break-inside: avoid;
  page-break-after: avoid;
  margin-top:0 !important;
  padding-top:0 !important;
}

.subpage-wrapper {
  page-break-before: avoid;
  page-break-inside: avoid;
  page-break-after: avoid;
  margin-top:0 !important;
  padding-top:0 !important;
  position:relative;
  height:auto;
}

.container:before{ display:none;}
.container:after{ display:none;}
.subpage-wrapper:before{ display:none;}
.subpage-wrapper:after{ display:none;}
.content-wrapper:before{ display:none;}
.content-wrapper:after{ display:none;}
.main-content-section:before{ display:none;}
.main-content-section:after{ display:none;}

.vr-group .subpage-wrapper.three-columns {
  float: left !important;
  width: 100% !important;
  clear:both !important;
}

.vr-group .subpage-wrapper.three-columns .content-wrapper .subpage-content {
  float: left !important;
  width: 100% !important;
  clear:both !important;
}

.ruuu {
  float: left !important;
  width: 100% !important;
  clear:both !important;
}

.subpage.main .subpage-wrapper.three-columns {
  float: left !important;
  width: 100% !important;
  clear:both !important;
}

.subpage.main .subpage-wrapper.three-columns .content-wrapper .subpage-content {
  float: left !important;
  width: 100% !important;
  clear:both !important;
}

.container {
  float:left;
  width:100%;
}
  
/* tables */

table {
  border-collapse:collapse !important;
}

table {
  width: 100%;
}

p,li {
    font-family: "Verdana"; 
}

.subpage-content table tbody tr:nth-child(even) {
  background: #f2f2f2 !important;
}

.subpage-content table tbody td {
  padding: 5px;
}

.subpage-content table tbody tr:nth-child(odd) {
  background: #ffffff !important;
}

table.stage-xlsx tr:nth-child(even) {
  background: #f2f2f2 !important;
}

table.stage-xlsx tr:nth-child(odd) {
  background: #ffffff !important;
}

table.stage-xlsx tr {
  height: 1.7em;
}
  
table.stage-xlsx td {
  padding: 0px 6px !important;
  border-color: #58a618 !important;
  border-width: 2px !important;
  font-family: "ff-dax-pro" !important;
}

table.stage-xlsx td.n-arheader {
  background: #ffffff !important;
  font-family: "ff-dax-pro", Dax, sans-serif !important;
  line-height: 1em !important;
  font-size: 14pt !important;
  text-decoration: none !important;
}

table.stage-xlsx td.n-arplain {
  background: #ffffff !important;
}

/* Specific tables */

table.e62772_stage-xlsx td {
  font-size: 7pt !important;
  padding: 0px 2px !important;
}

table.e62775_stage-xlsx td {
  font-size: 7pt !important;
  padding: 0px 4px !important;
}

.chart-carousel-box {

  width: 100% !important;
  float:left;
}

.content-boxes.box-width-4 {
  width: 100% !important;
  float:left;
}


.content-boxes.box-width-4:before{display:none !important;}
.content-boxes.box-width-4:after{display:none !important;}

.chart-carousel {
  display:none !important;
}

.content-boxes:after {
  display:none !important;
}

table.xlsx.e61155_stage-xls {
  float: left !important;
  clear: both !important;
    width: 100% !important;
  display: block !important;
}

.subpage .subpage-wrapper.two-columns {
  float: left  !important;
  width: 100%  !important;
  clear:both  !important;
}

body.linked .vr-linked-related { 
  display:none !important; 
}

#stage-debug-console{display:none !important;}
  
.vuosiraportti-2015 .content-boxes .box-content,
.annual-report-2015 .content-boxes .box-content,
.vuosiraportti-2014 .content-boxes .box-content,
.annual-report-2014 .content-boxes .box-content {
  position: static !important;
}
  
.xlsx.e125246_stage-xlsx.stage-xlsx.worksheet * {
  font-size: 7pt;
}