@font-face {
  font-family: 'custom';
  src: url("LTe50177.ttf") format('truetype'); /* TTF file for CSS3 browsers */
}

/*** General ***/

html {
    overflow-y: scroll; /* force the vertical scrollbar always visible to avoid page jumping */
}

body {
    font:14px Arial, Helvetica, sans-serif;
    background-color: #e9eaea;
    color:#333;
    margin: 0;
    padding: 0;
}

p {
    line-height: 140%;
    text-align: left; /* experts recommend against "justify" */
    margin-top: 0px;
}

hr {
     width: 100%;
     height: 1px;
     color: #ccc;
     background-color: #ccc;
     margin: 20px 0;
     border: 0;
}

a {
    color: #005CAC;
    text-decoration: none;
}

a:hover {
    /* color change removed as requested */
    cursor: pointer;
}

a.kiemeles {
    color: #00718F;
    font-weight: bold;
}

a.kiemeles:hover {
    color: #E54426;
    font-weight: bold;
}

a[href^="http://"], a[href^="https://"] {
    background: url(images/external-link.png) center right no-repeat;
    padding-right: 13px;
}

a.noicon[href^="http://"], a.noicon[href^="https://"] {
    background: none;
    padding-right: 0px;
}

h2.framed[id] {
    cursor: pointer;
    background-image: url(images/circled_plus.png);
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 27px;
}

h2.framed.expanded[id] {
    background-image: url(images/circled_minus.png);
}

h2[id]+div {
    display: none;
}

h2[id].expanded+div {
    display: block;
}

h1, h2, h3, h4, h5 {
    font-family: custom, Arial, Helvetica, sans-serif;
    font-weight: normal;
    color: #377595;
}

h1, h2.framed {
    background-color: #f1f1f1;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 6px 8px 3px 8px;
    margin-left: -8px;
}

h1 {
    font-size: 20px;
}

#titlepage h1 {
    font-size: 16px;
    padding: 3px 6px 2px 6px;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 16px;
}

h4 {
    font-size: 14px;
}

p.bibref {
    font-size: 10px;
    line-height: 13px;
}

:focus {
    outline: 0;
}

img {
    border: none;
}

.next {
    font-family: custom, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 20px;
}

.footnotes {
    font-size:12px;
}

p.disclaimer {
    font-size: 11px;
    border-top: 2px solid #e54426;
    border-bottom: 2px solid #e54426;
}

div.framed {
    padding: 0 15px;
    background-color: #e8f4ff;
    margin-top:30px;
    border: solid 1px #cae5ff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

/*** Figures, illustrations ***/

.left {
    float:left;
    margin-right:15px;
}

.right {
    float:right;
    margin-left:15px;
}

.rounded, .rounded img {
    /* Border radius disabled but preserved in comments for future reference
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    clip-path: url(resources.svg#roundclip); // does not work on firefox when page zoomed */
    overflow: hidden;
}

.pic img, img.pic {
    margin-bottom: 10px;
}

.pic div {
    font-size:10px;
    text-align: center;
}

/*** Page "Table of Contents" box ***/

.toc {
    float:right;
    margin-left:20px;
    width:250px;
    padding: 5px;
    font-size: 10px;
    line-height:100%;
    background-color: #e8f4ff; /*light blue*/
    border: solid 1px #cae5ff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.toc ol {
    padding-left: 8px;
    list-style-position: inside;
}

.toc li {
    margin: 0 0 4px 0;
}

/*** lists ***/

ul {
    list-style-image: url(images/list_01.gif);
}

li {
    margin: 8px 0px 8px 0px;
}

ul.links {
    padding-left: 25px; /* to make bullet exactly align with normal paragraph text */
}

ul.links li {
    margin: 0px;
}

/*** news items on title page ***/

p.newstitle {
    font-weight: bold;
    color: #333;
    margin: 0;
}

p.newsdate {
    color: #888;
    font-size: 10px;
    margin: 0;
}

p.newssummary {
    margin-bottom: 16px;
}

/*** fancy table ***/

.fancytable
{
    font-size: 12px;
    /* background: #fff; */
    margin: 10px 20px 10px 20px;
    border-collapse: collapse;
    text-align: left;
}
.fancytable th
{
    font-size: 14px;
    font-weight: normal;
    color: #039;
    padding: 10px 8px;
    border-bottom: 2px solid #6678b1;
}
.fancytable td
{
    border-bottom: 1px solid #ccc;
    color: #669;
    padding: 6px 8px;
}
/* Hover effect removed as requested */
.fancytable tbody tr:hover td {
    /* No hover effect */
}

.fancytable .sep
{
    background: #F8F8F8;
}

.fancytable td.doctitle {
    font-weight: bold;
}

.fancytable a {
    text-decoration: underline;
}

/*** Top menu ***/

a.topmenuitem {
    font-size: 14px;
    font-family: custom, Arial, Helvetica, sans-serif;
    color: #005CAC;
    text-decoration: none;
}

a.topmenuitem_selected {
    font-size: 14px;
    font-family: custom, Arial, Helvetica, sans-serif;
    color: #cc3300;
    text-decoration: none;
}

a.topmenuitem:hover {
   color: #39f;
}

/*** Vertical menu ***/

.vmenu {
    font-size: 13px;
    padding-left: 0px;
    height: 600px;
    margin: 1em 0px;
}

.vmenuitem {
    margin-bottom: 0;
    margin-top: 0px;
    margin-left: 5px;
    padding-left: 8px;
    height: 29px;
    background-image: url(images/menu_underline.png);
    background-position: bottom;
    background-repeat: no-repeat;
}

.vsubmenu {
    padding-left: 20px;
    margin-left: 0px;   /* for IE6 */
    margin-bottom: 8px;
    list-style-type:none;
    list-style-image:none;
}

.vsubmenuitem {
    margin: 0px;
    /*padding-left: 8px;*/

    /* hanging indent for long menu labels that wrap */
    text-indent: -20px;
    padding-left: 28px;
}

.vmenu a {
    color: #005CAC;
    text-decoration:none;
}

.vmenu .vsubmenu a {
    color: #808080;
}
.vmenu a:hover {
    /* color change removed as requested */
}

.vmenu .selected a {
    color: #cc3300;
}

.vmenu .selected:before {
   content: url(images/menu_selection.png);
   padding-right: 3px;
   margin-left: -9px;
}

/*** Links in the footer ***/

#footer {
    color: #ddd;
}

table.footerlinks {
    border: none;
    width: 100%;
    padding: 0 20px 0 20px;
    border-spacing: 25px 0px;
}

table.footerlinks td {
    vertical-align: top;
}

table.footerlinks ul {
    padding-left: 10px;
    margin-left: 0px;  /* for IE6 */
}

table.footerlinks li {
    list-style-type: none;
    list-style-image: none;
    margin: 2px 0;
}

table.footerlinks .colhead {
    font-weight: bold;
    border-bottom: 1px solid #bbb;
}

table.footerlinks a {
    color: #ddd;
}

table.footerlinks a:hover {
    color: #fff;
}

.lefttext {
    margin-right: 215px;
}

.righttext {
    margin-left: 215px;
}

.separator {
    clear: both;
    margin-top: 30px;
}

/* Navigation link styles */
.navigation-links {
    clear: both;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

/* Small navigation variant for top of page */
.navigation-links.small-nav {
    margin-top: 10px;
    margin-bottom: 30px;
    padding-top: 0;
    border-top: none;
}

/* Simple next link for tour pages */
.tour-next-link {
    text-align: right;
    clear: both;
}

.tour-next-link a {
    color: #005CAC;
    font-family: custom, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 20px;
    text-decoration: none;
    padding: 5px 10px;
    transition: color 0.2s;
}
.tour-next-link a:hover {
    /* color change removed as requested */
}

.tour-next-link.small a {
    font-family: custom, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 14px;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-center {
    flex-grow: 1;
    text-align: center;
    margin-right: 10px;
}

.nav-next {
    text-align: right;
}

.navigation-links a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f0f0f0;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.navigation-links a:hover {
    background-color: #e0e0e0;
}

.nav-center a {
    background-color: #005CAC;
    color: white;
}

.nav-center a:hover {
    background-color: #004a8a;
}
