﻿/* ---- Global ---- */

body {
    font-family: Arial, Verdana, Tahoma, sans-serif;
    font-size: 0.875rem;
}

p {
    text-align: justify;
}

p a {
    text-align: left;
    display: inline-block;
}

a {
    color: #363636;
    text-decoration: underline;
}

a:hover {
    color: #003366;
}

.navbar .nav-link {
    color: #fff !important;
}

.navbar .nav-link:hover {
    color: #e0d0e8 !important;
}

/* ---- Semantic Bootstrap wrappers ---- */

.ab-section-header {
    color: #005E9C;
    background: transparent;
    border: none;
    font-size: 1.1em;
    font-weight: normal;
}

.ab-body-text {
    color: var(--bs-secondary-color);
}

.ab-body-text .table {
    font-size: inherit;
}

.ab-body-text .table caption,
.ab-body-text .table th {
    color: #005E9C;
    font-weight: normal;
}

.ab-body-text .table caption {
    text-align: center;
    caption-side: top;
}

.ab-card {
    border: none;
}

.card {
    margin-bottom: 1rem;
}

.ab-card .card-body {
    padding: 1rem;
}

/* ---- Sidebar ---- */

.ab-sidebar {
    width: 197px;
    padding: 0;
}

.ab-right-block {
    width: 196px;
    padding: 0;
}

.ab-sidebar .card-body {
    padding: 8px 0;
    color: var(--bs-secondary-color);
}

.ab-sidebar ul {
    padding-left: 0;
    list-style: none;
}

.ab-sidebar .ab-section-header {
    margin-bottom: 0.5em;
}

/* ---- Sidebar tables ---- */

.ab-sidebar-table {
    width: 100%;
    font-size: 90%;
}

.ab-sidebar-table caption {
    font-weight: normal;
    font-size: 90%;
    color: #005E9C;
    border: none;
    caption-side: top;
}

.ab-sidebar-table td, .ab-sidebar-table th {
    border: 1px solid #BEBEBE;
    padding: 5px;
    vertical-align: middle;
}

.ab-sidebar-table thead th {
    color: #005E9C;
    font-weight: normal;
    text-align: center;
}

/* ---- Helpers ---- */

.ab-text-justify {
    text-align: justify;
}

.ab-dont-grow-h {
    max-height: 100%;
    height: 0;
}

.ab-dont-grow-w {
    max-width: 100%;
    width: 0;
}

.ab-fs-06 { font-size: 0.6em; }
.ab-fs-07 { font-size: 0.7em; }
.ab-fs-08 { font-size: 0.8em; }
.ab-fs-09 { font-size: 0.9em; }

/* ---- Article styles ---- */

.ab-copyright {
    padding-top: 5px;
    border: 1px solid #EBEBEB;
    color: red;
    text-align: left;
    background: white;
}

.ab-copyright .ab-section-header {
    margin: 5px 5px 0 5px;
    padding: 5px 5px 0 5px;
}

.ab-copyright p {
    text-indent: 0;
    margin: 0 5px 5px 5px;
    padding-left: 5px;
    color: red;
    font-size: 0.9em;
}

.ab-article {
    padding-top: 10px;
    border: none;
    color: #363636;
    background: white;
}

.ab-article p {
    margin: 5px 0;
    padding-left: 10px;
    padding-right: 10px;
    text-align: justify;
    font-weight: normal;
    line-height: 140%;
    text-indent: 25px;
    color: #363636;
}

.ab-article ul {
    margin-top: 15px;
    margin-bottom: 15px;
}

.ab-article ul li {
    font-family: Arial, Verdana, Tahoma, sans-serif;
    margin-left: 5px;
    padding-left: 5px;
}

.ab-article .ab-section-header {
    text-align: center;
}

.ab-article h3 {
    text-decoration: underline !important;
}

.article-inset {
    position: relative;
    float: right;
    width: 30%;
    margin: 5px;
    padding: 5px;
    border: 1px dotted #6A6B8A;
    color: #6A6B8A;
    font-style: italic;
    font-size: 90%;
}

/* ---- Calculator ---- */

.calc_button {
    padding: 0.5em 1em;
}

.ab-calc h1 {
    text-align: center;
    margin-bottom: 2em;
    color: #005E9C;
    font-size: 1.3em;
    font-weight: normal;
}
