html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: normal;
  src: url('fonts/GothamHTF-Book.woff') format('woff');
}
@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/GothamLight.woff');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500; /* Supports all weights if it's a variable font */
  src: url('fonts/Manrope.woff') format('woff');
  font-display: swap;
}

body {
  background-color: #555;
  font-family: "Manrope";
  margin: 0;
  font-weight: 800;
  counter-reset: page;
}

tr.description-row td {
  font-style: italic;
  column-span: 3;
  padding: 0;
}

.hidden {
  display: none;
}


body,
table {
  font-size: 9pt;
  line-height: 13pt;
  color: #231f20;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  text-decoration: underline;
}

.page.cover-page{
  width: 210mm;
  height: 297mm;
}


.index-table {
    width: 100%;
    font-size: 10.5pt;
    border-collapse: collapse;
    
}

.index-table td {
    padding: 7px 0;
}

.index-table td.page-number {
   width:20%;
   padding: 5mm;
    text-align: right;
    align-items: center;
    color: #002a5c;
    font-weight: 600;
}

/* Divider lines between sections */

.index-table tr.line td {
    border-bottom: 1px solid #c7c7c7;
    height: 15px;
}

.index-footer {
    position: absolute;
    bottom: 20mm;
    left: 20mm;
    width: calc(100% - 40mm);
    z-index: -1;
}

.index-footer-line {
    height: 1px;
    width: 100%;
    background-color: #c7c7c7;
    margin-bottom: 5mm;
}

.index-footer-text {
    font-size: 9pt;
    color: #777;
}

.index-page-number {
    position: absolute;
    right: 0;
    bottom: -2mm;
    font-size: 9pt;
    color: #000;
}
/* -----------------------------------------
   HEADER STYLES
------------------------------------------ */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

/* Left side (blue vertical line + title) */
.header-left {
    display: inline-block;
    align-items: center;
    gap: 12px;
    white-space: nowrap; 
    font-size: larger;
    margin-left: 10px;
    margin-top:10px;
}


.blue-line {
    width: 2px;
    height: 40px;
    background-color: #004b98;
  }

.header-title {
  white-space: nowrap;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    line-height: 1;
}


.header-logo img {
    height: 40px;   
    object-fit: contain;
}

@media print {
    .header {
        break-inside: avoid;
        page-break-inside: avoid;
        position: relative;
        z-index: 10;
    }

    .blue-line {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}



.page::before {
  content: "";
  position: absolute;
  bottom: 0cm;
  left: 65%;
  transform: translateX(-50%);

  width: 160mm;
  height: 160mm; /* required for background image to show */
  opacity: 1; /* watermark transparency */

  background-image: url("img/mica_watermark.png");
  background-repeat: no-repeat;
  background-size: contain;

  pointer-events: none;
  z-index: -1; 
}

.page {
  position: relative;
  bottom: 0px; 
  background-repeat: repeat;
  opacity: 1; 
  z-index: 1;
  background-size: contain;
  width: 210mm;
  min-height: 279mm;
  height: auto;
  background-color: white;
  margin-top: 1cm;
  margin-bottom: 1cm;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 1cm 1.8cm 2cm 1.8cm; 
  overflow: hidden;
  counter-increment: page;
  box-sizing: border-box;
  page-break-after: always;
}
.page:not(.cover-page):not(.page.final-page):after {
  position: absolute;
  font-weight: normal;
  bottom: 1cm;
  right: 2cm;
  content: 'Page ' counter(page);   /* ← THIS PRINTS THE PAGE NUMBER */
  color: black;
}




.page:not(.cover-page):not(.audit-report) {
   
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: left top, left bottom, 90% 40px;
  background-size: 100%, 100%, 50px auto;
  /*
    @media screen and (max-width: 230mm) {
        @rules();
    }
    */
}


.line_above {
  
  width: 100%;
  height: 1px;
  background-color: #969697;
  margin-bottom: 5px;
  margin-top: 50px;
}
.page .footer {
  padding: top 10px;;
  width: 83%;
  position: absolute;
  left: 1.8cm;
  bottom: 1cm;
  color: #999;
  font-size: 11px;
  line-height: 1.6;
  z-index: -1;
}
.page.small-font table.accounts {
  font-size: 80%;
}
.page.small-font table.accounts td,
.page.small-font table.accounts th {
  padding: 0 5px;
  height: 19px;
}
.page.audit-report {
  background-image: url("img/curchin.jpg");
  background-position: 1.8cm 1.8cm;
  background-size: 150px auto;
  background-repeat: no-repeat;
  padding-top: 4.3cm;
  /*
    @media screen and (max-width: 230mm) {
        @rules();
    }
    */
}


.page.audit-report h2,
.page.audit-report h3 {
  color: #231f20;
}
.page.audit-report .auditors {
  margin-top: 3cm;
}
.page.audit-report .auditors .name {
  font-weight: bold;
}
h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: 0.2cm;
  font-weight: bold;
  color: #003d7a;
}
h2 {
  font-size: 20pt;
  padding-bottom: 20px;
  line-height:30px
}
h3 {
  font-size: 10pt;
  margin-bottom: 0;
}
span.h5 {
  font-weight: normal;
  display: inline;
  font-size: 9pt;
}
span.h5:after {
  content: " - ";
  font-weight: 300;
}
p {
  margin-top: 0;
  text-align: justify;
}
.addressee {
  margin: 10pt 0;
  color: black;
  font-weight: bold;
}
.addressee p {
  margin-bottom: 0;
}
.page.contents {
  padding: 4.5cm 2cm 0 2cm;
  /*
    @media screen and (max-width: 230mm) {
        @rules();
    }
    */
}
.page.contents h2 {
  font-weight: normal;
  font-size: 22pt;
  margin-bottom: 1.2cm;
}
.page.contents table {
  width: 100%;
  font-size: 12pt;
  border-collapse: collapse;
  font-weight: 300;
}
.page.contents table td {
  border-bottom: solid 1px #46a2df;
  padding: 6px 0;
}
.page.contents table td:last-child {
  text-align: right;
  /*
    @media screen and (max-width: 230mm) {
        @rules();
    }
    */
}
p.period-subtitle {
  font-size: 11pt;
  color: #666666;
}
/*
    @media screen and (max-width: 230mm) {
        @rules();
    }
    */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    /*Chrome, Safari */
    color-adjust: exact !important;
    /*Firefox*/
  }
  @page {
    margin: 0;
  }
  .page {
    margin: 0;
    width: 210mm;
    height: 297mm;
  }
}
table.accounts {
  background-color: #ffffff;
  border: 1px solid #231f20;
  width: 100%;
  border-collapse: collapse;
  font-weight: 600;
  height: auto;
  margin-bottom: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space:normal;
}
table.accounts thead th {
  background-color:#004494;
  border-bottom: none;
  color: #ffffff;
  padding: 12px;
}
table.accounts td,
table.accounts th {
  padding: 10px 12px;
  box-sizing: border-box;
  height: 21px;
  border: 1px solid #eceff1;


}
table.accounts td.current,
table.accounts th.current {
  background-color: white;
}
table.accounts th.figure {
  text-align: left;
}
table.accounts td.figure {
  text-align: left;
}
table.accounts tr.title td.label {
  font-weight: bold;
  text-align: center;
  color: #666666;
}
table.accounts tr.section-title td.label {
  font-weight: bold;
  color: #666666;
  text-transform: uppercase;
}
table.accounts tr.movement td.label {
  text-transform: uppercase;
}
table.accounts tr.grand-total td {
  /*border-top: solid 3px #bdbdbc; */
  border-bottom: none;
  font-weight: bold;
  color: #666666;
}
table.accounts tr.underline td {
  border-bottom: none;
}
table.accounts tr.indent td:first-child {
  padding-left: 0.5cm;
}
table.accounts tr.indent-2 td:first-child {
  padding-left: 1cm;
}
table.accounts tr.indent-3 td:first-child {
  padding-left: 1.5cm;
}
table.accounts tr.indent-4 td:first-child {
  padding-left: 2cm;
}
table.accounts tr.indent-5 td:first-child {
  padding-left: 2.5cm;
}
table.accounts tr.gap td {
  height: 26px;
  vertical-align: bottom;
}
table.accounts tr.double-height td {
  height: 40px;
  vertical-align: top;
}
table.accounts tr.gap.double-height td {
  height: 55px;
  vertical-align: middle;
}
table.accounts tr.currency td.figure:before {
  content: "$";
}
.page.cover-page {
  background-image: url(img/cover_image.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  padding-top: 11.9cm;
  position: relative;
}

.page.final-page {
  background-image: url(img/final_img.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  padding-top: 11.9cm;
  position: relative;
}

.page.index-page {
  background-image: none;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100%;
  padding-top: 11.9cm;
  position: relative;
  counter-reset: page;
}


.page.cover-page h1 {
  margin-top: 1.5cm;
  color: white;
  font-weight: bold;
}
.page.cover-page .subtitle {
  color: white;
  margin-top: 1.2cm;
  font-size: 14pt;
}
.page.cover-page .subtitle > p {
  margin: 0.25cm 0;
}
.page.cover-page img.logo {
  width: 215px;
  position: absolute;
  top: 8.3cm;
  left: 1.8cm;
  height: initial;
}
/*
@media only screen and (max-width: 230mm) {
    .page.cover-page {
        background-size: 230mm auto;
        background-position: left 60mm;
        height: 190mm;
        padding-top: 6.6cm;
        img.logo {
            top: 2cm;
        }
    }
}

*/
/*
    @media screen and (max-width: 230mm) {
        @rules();
    }
    */
.page.notes h2 {
  text-transform: uppercase;
  font-size: 9pt;
  margin-bottom: 1cm;
  font-weight: bold;
}
.page.notes h3 {
  text-transform: uppercase;
  margin-bottom: 0.4cm;
  font-size: 9pt;
}
.page.notes h3 .note-number {
  font-size: 10pt;
  display: block;
  color: #666666;
  text-transform: uppercase;
}
.page.notes h3 .continued {
  text-transform: none;
}
.page.notes h4 {
  font-weight: bold;
  color: #231f20;
  font-size: 9pt;
  margin-bottom: 0;
}
.page.notes .notes-indent {
  margin-left: 1cm;
}
.page.notes table {
  margin: 2em 0;
}


/* Entire page */
.page.mica-about {
    background-color: #ffffff;
    padding: 0;
    width: 210mm;
    height: 290mm;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}

/* Top header */
.mica-top-header {
   margin-left:50px ;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20mm 20mm 0 20mm;
    gap: 10px;
    background-color: white;
}

.mica-logo {
    height: 22px;
}

.mica-header-text {
    font-family: Manrope, sans-serif;
    font-size: 12pt;
    color: #000;
}

/* Blue section */
.mica-blue-section {
  margin-top: 5cm;
    background-color: #004494;
    color: white;
    padding: 30mm 25mm;
    font-family: Manrope, sans-serif;
    flex-grow: 1;
}

.mica-blue-section h1 {
    font-size: 26pt;
    font-weight: 700;
    margin-bottom: 12pt;
}

.mica-blue-section p {
    font-size: 11pt;
    line-height: 18pt;
    margin-bottom: 14pt;
}

.mica-blue-section strong {
    font-weight: 700;
}

/* Bottom area */
.mica-bottom {
    padding: 0 25mm 20mm 25mm;
    text-align: left;
    background-color: #004494
}

.mica-bottom-logo {
    width: 160px;
    margin-bottom: 10pt;
}

.mica-footer-text {
    font-size: 9pt;
    color: white;
    line-height: 14pt;
}

.index-title {
    font-size: 20pt;
    font-weight: 700;
    color: #004494;
    margin-top: 20mm;
    margin-bottom: 10mm;
}

#fact_1, #fact_3, #fact_4, #fact_5, #fact_6, #fact_7, #fact_8,
#fact_29, #fact_75, #fact_123, #fact_124, #fact_134, #fact_135,
#fact_136, #fact_144, #fact_147, #fact_150, #fact_152, #fact_154,
#fact_161, #fact_163, #fact_187 {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    color: transparent;
    z-index: 1;               
    pointer-events: auto;     
}


.text-layer {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

ul {
    padding-left: 25px;
    margin-left: 0;
    
}

li {
    padding-left: 0px;
    padding:10px,10px
}

ol {
    padding-left: 20px;
}