/*
 * Custom page CSS
 * Last edit: 2023-08-04
 */

/* Fonts */

@font-face{
    font-family:Roboto-light;
    font-style:normal;
    font-weight:300;
    src: url("../fonts/roboto-v18-latin-300.woff2") format("woff2")
}

@font-face{
    font-family:Roboto-regular;
    font-style:normal;
    font-weight:400;
    src: url("../fonts/roboto-v18-latin-regular.woff2") format("woff2")
}

@font-face{
    font-family:Roboto-regular-italic;
    font-style:italic;
    font-weight:400;
    src: url("../fonts/roboto-v18-latin-italic.woff2") format("woff2")
}

@font-face{
    font-family:Roboto-bold;
    font-style:normal;
    font-weight:700;
    src: url("../fonts/roboto-v18-latin-700.woff2") format("woff2")
}

/* Generic Formats */

pre {
    background: #eee; padding: 0.5em;
    border:  1px solid #ccc;
}

a {
    text-decoration: none;
    color: #00883A;
}

a:hover {
    text-decoration: underline;
    color: #00883A;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
}

h4 {
    font-size: 1.05rem;
    margin-top: 2rem;
}

/* Header */

.fs_header {
    transition: all 0.8s ease-in-out;
    -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    clear: both;
    z-index: 10000;
 }

.fs_header_image {
    float: left;
    width: 130px;
}

.fs_header_image img {
    height: 58px;
}

.fs_header_title {
    float: left;
    color: #232323;
    text-transform: uppercase;
    font-size: 0.74rem;
    font-family: Roboto-bold,sans-serif;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    line-height: 1.3em;
}

@media (min-width: 768px) {

    .fs_header_image {
        float: left;
        width: 220px;
    }

    .fs_header_image img {
        height: 100px;
    }

    .fs_header_title {
        float: left;
        color: #232323;
        text-transform: uppercase;
        font-size: 1rem;
        font-family: Roboto-bold,sans-serif;
        font-weight: 700;
        -webkit-font-smoothing: antialiased;
        line-height: 1.3em;
    }

}

.fs_header_link {
    color: #000 !important;
    font-weight: 500;
}

.fs_header_link:hover {
    color: #00883A !important;
}

.shrink .fs_header_image {
    width: 130px;
}

.shrink .fs_header_image img {
    height: 58px;
}

.shrink .fs_header_title {
    font-size: .74rem;
}

/* Breadcrumbs */

.breadcrumb {
    --bs-breadcrumb-divider: '■';
    --bs-breadcrumb-divider-color: #00883A;
    font-size: 0.83em;
    font-family: Roboto-bold,sans-serif;
}

.breadcrumb a {
    color: #232323;
}

.breadcrumb a:hover {
    color: #00883A;
}

.breadcrumb-item.active {
    color: #232323;
}

/* Main content */

main > .container-fluid {
    padding: 70px 15px 0;
    font-size: 0.9rem;
}

main > .container {
    padding: 180px 15px 0;
}

main.img {
    max-width: 90%;
}

/* Footer */

.fs_footer {
    font-size: 0.9rem;
    color: #c0c1c3;
    background: #232323 url(footer-bg.svg) -45% no-repeat;
    background-size: 150% 150%;
}

.fs_footer a {
    text-decoration: none;
    color: #c0c1c3;
}

.fs_footer a:hover {
    text-decoration: underline;
}


/* Image formats */

img.align_left {
    float: left;
    padding: 0 12px 0 0;
}

img.align_right {
    float: right;
    padding: 0 20px 20px 20px;
}

img.align_center {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

img.fullwidth {
    display: block;
    width: 100%;
}

/* News List */

.news_item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e6e6e7;
    position: relative;
    opacity: 1;
}

.news_teaser_image {
        width: 100px;
        height: 100px;
    }

@media (min-width: 1024px) {
    .news_teaser_image {
        width: 135px;
        height: 135px;
    }
}

.news_summary {
    display: block;
    font-size: 1.6rem;
    line-height: 1.5;
    letter-spacing: .25px;
    color: #232323;
    margin-bottom: 20px;
}

.news_link {
    color: #00883a;
    font-family: Roboto-bold,sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
    letter-spacing: .3px;
    margin-bottom: 12px;
    text-decoration: none;
    display: block;
    -webkit-transition: color 100ms ease-in-out;
    transition: color 100ms ease-in-out;
    position: relative;
    padding-left: 25px;
}

.news_link:before {
    content: "";
    display: block;
    background-size: 435px 410px;
    background-image: url(../images/sprites-sprite.svg);
    width: 14px;
    height: 14px;
    background-position: -20px -390px;
    position: absolute;
    display: inline-block;
    top: 5px;
    left: 0;
    margin-right: 10px;
    vertical-align: unset;
    -webkit-transition: -webkit-transform 200ms ease-in-out;
    transition: -webkit-transform 200ms ease-in-out;
    transition: transform 200ms ease-in-out;
    transition: transform 200ms ease-in-out,-webkit-transform 200ms ease-in-out;
}

/* News detail page */

.news_header {
    margin-left: -140px;
    padding-left: 140px;
}

@media (min-width: 768px) {
    .news_header {
        margin-left: -140px !important;
    }
}

@media (min-width: 1024px) {
    .news_header {
        margin-left: -140px !important;
    }
}

.news_header_icon {
    margin: 70px 0 0 -5px;
    background-image: url(../images/sprites-sprite.svg);
    transform: scale(0.77);
    background-size: 435px 410px;
    width: 71px;
    height: 71px;
    background-position: -170px 0;
}

.news_header h1 {
    padding: 25px 0;
    font-size: 2.1rem;
    font-family: Roboto-bold,sans-serif;
    font-weight: 700;
    line-height: 2.5rem;
    -webkit-font-smoothing: antialiased;
}

.news_header_date {
    font-family: Roboto-regular,sans-serif;
    font-weight: 700;
}
.news_header_teaser {
    padding: 0 20px 80px 0;
    font-size: 1.25rem;
    font-family: Roboto-light,sans-serif;
}

.news_body {
    padding-top: 100px;
    color: #232323;
    font-size: 0.95em;
    font-family:Roboto-regular, sans-serif;
}

.news_body img {
    max-width: 100%;
}

.news_infobox {
    position: relative;
    border: 1px solid #00883a;
    padding: 13px 13px 14px 70px;

}

.news_infobox_icon {
    content: "";
    background-size: 435px 410px;
    background-image: url(../images/sprites-sprite.svg);
    width: 50px;
    height: 50px;
    background-position: -110px -250px;
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
}

/* Quotes */

blockquote {
    color: #232323;
    font-family: Roboto-regular-italic,sans-serif;
    font-style: italic;
    padding-bottom: 10px;
    font-size: 1.6rem;
    line-height: 1.6;
    width: 100%;
    margin: 0;
    -webkit-box-flex: 0;
}

blockquote:before {
    content: "\BB";
}
blockquote:after {
    content: "\AB";
}

cite {
    width: 65%;
    font-size: 1rem;
    letter-spacing: .023rem;
    padding-bottom: 2rem;
    display: block;
}
