/*General*/
body {
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    transition: 300ms;
}
html {
    scroll-behavior: smooth;
}
.internal-link::before, .external-link::before, .download-link::before, .email-link::before {
    margin-right: 0.5em;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.external-link::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f35d";
}

footer {
    background-color: #e00a1d;
    color: white;
}

footer h4 {
    margin-top: 5px;
}

footer a, footer h4{
    letter-spacing: 1px;
    font-size: 18px;
    font-weight: 300;
}

footer a {
    text-decoration: none;
}
footer a:hover, footer a:focus, footer a:active {
    text-decoration: underline;
}

.active > .nav-link {
    color: #e2001a !important;
}

.navbar {
    padding-bottom: 0 !important;
    text-transform: uppercase;
}

.main-content {
    padding-top: 0 !important;
}

.nav-item a {
    letter-spacing: 1px;
    font-size: 18px;
    font-weight: 300;
}

.navbar {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
}

.navbar .nav-item .active, .nav-link:hover {
    color: #e2001a !important;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0,0.5);
}

/* Utility */
.float-right {
    float: right !important;
}
.text-right {
    text-align: right !important;
}

/*Media Mobile*/
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

.full-width {
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
    background-color: #f5f5f5;
    border-top: 1px solid #d9d9d9;
}

header {
    margin-top: 25px;
    margin-bottom: 25px;
}

.subheader {
    font-size: 22px;
    font-weight: 200;
}

/* News */
.news .news-tags a {
    color: white!important;
}
.news .news-tags a.btn-primary {
    --bs-btn-bg: #1da0d6;
    --bs-btn-border-color: #1da0d6;
    --bs-btn-border-radius: 0;
    --bs-btn-hover-bg: #1da0d6;
    --bs-btn-hover-border-color: #1da0d6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24);
    transition: all .3s cubic-bezier(.25,.8,.25,1);
    padding: 1.5rem;
}
.news .news-tags a.btn-primary:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25),0 10px 10px rgba(0,0,0,0.22);
}
.news .list-group-item {
    background-color: #f1f1f1;
    margin-right: 4px;
    border-bottom-right-radius:0!important;
    border-bottom-left-radius: 0!important;
}
.news .media {
    display: grid !important;
    grid-template-columns: 100px 1fr;
    grid-column-gap: 1rem;
}
.news .media-body {
    margin-left: 5px;
}
.news .media-body a:hover, .news .media-body a:focus, .news .media-body a:active {
    text-decoration: underline;
}
.news .media-body a span {
    color: #1da0d6;
}
.news .news-list-date {
    margin-top: 15px !important;
}
.news .news-img-caption {
    font-size: 80%;
    font-weight: 400;
}

.news .news-text-wrap {
    margin-top: 15px !important;
    margin-bottom: 25px !important;
}
.news-single .teaser-text {
    font-size: 15px;
    color: #888;
}
.news time {
    color: #e00a1d;
}
@media only screen and (min-width: 1170px) {
    .news .list-group {
        display: grid;
        grid-template-columns: repeat(3, 33.33333%);
        width: 1170px!important;
    }
    .news .list-group .list-group-item {
        width: 386px;
    }
    .news #news-preloader {
        grid-column-start: 1;
        grid-column-end: 4;
    }
    /*.tx-rt-osm{
        width: 103%;
    }*/
}
.news .footer {
    clear: both;
    padding: 10px 0 0 0;
    border-top: 1px solid #eee;
    margin-top: 15px;
    color: #888;
}
.news .footer span {
    display: inline-block;
    padding-right: 8px;
    margin-right: 8px;
    border-right: 1px solid #ddd;
}
.news .footer span:last-child {
    border-right: 0;
}

@media (min-width: 576px) {
    .card-deck {
        display: flex;
        flex-flow: row wrap;
        margin-right: -15px;
        margin-left: -15px;
    }
}
.card-deck .card {
    margin-bottom: 15px;
}
.news .card {
    box-shadow: 0 0 0 rgba(0,0,0,0),0 1px 2px rgba(0,0,0,0);
    transition: all .3s cubic-bezier(.25,.8,.25,1);
}
@media (min-width: 576px) {
    .card-deck .card {
        display: flex;
        flex: 1 0 0%;
        flex-direction: column;
        margin-right: 15px;
        margin-bottom: 0;
        margin-left: 15px;
    }
}

/* paginator */
.f3-widget-paginator {
    --bs-pagination-color: #1da0d6;
    --bs-pagination-active-bg: #1da0d6;
    --bs-pagination-active-border-color: #1da0d6;
    margin-bottom: 1rem;
}

.sticky-top .container .navbar-brand {
    display: none;
}

.sticky-top .container .navbar-brand {
    display: none;
}

.is-sticky .container .navbar-brand {
    display: block;
    transition: 350ms;
}

h4 a {
    color: white;
}

h4 a:hover {
    color: white;
}

.text-header{
    text-align: center;
    margin-top: 5px;
    letter-spacing: 1px;
    font-size: 18px;
    font-weight: 300;
}

@media only screen and (max-width: 1199px) {
    .carousel {
        height: 100%;
        width: 100%;
    }
    .ce-link-content.doublesquare{
        display: none;
    }
}
.middle-menu {
    display: inline-block;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
[class~='middle-menu']:last-of-type  {
    padding-right: 1rem;
}
@media only screen and (max-width: 1199px) and (max-height: 600px) {
    .middle-menu {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media only screen and (min-width: 600px) {
    .stickyright {
        position: sticky;
        top: 10%;
    }
}

.dropdown-menu a:hover{
    color: #e2001a !important;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #e2001a !important;
}

.back-to-top{
    color: #e00a1d;
}

.nav-tabs {
    margin-bottom: 0 !important;
}
.tab-content {
    border: 1px solid #dee2e6;
    border-top: none;
}

/* multicols */
/*b_multicolumn b_multicolumn--threecols*/
/* multi col elements */
.b_multicolumn {
    --sc-grid-gap: 0;
}
.b_multicolumn {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: var(--sc-grid-gap);
    grid-row-gap: 1rem;
    align-items: stretch;
}
@media screen and (min-width: 768px) {
    .b_multicolumn--twocols {
        grid-template-columns: 1fr 1fr;
    }
    .b_multicolumn--threecols {
        grid-template-columns: repeat(3, 1fr);
    }
    .b_multicolumn--sixcols {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* lazy load images */
picture img.lazy {
    opacity: 1;
}
picture img.lazy.initial {
    opacity: 0;
}

/* nav bar */
#main-navbar {
    background-color: white;
}
#form_kesearch_searchfield .input-group-prepend, #form_kesearch_searchfield .input-group-append {
    display: flex;
}
#form_kesearch_searchfield .input-group-append > .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* bootstrap */
.sticky {
    position: static !important;
}
.sticky.is-sticky {
    position: fixed !important;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.list-group-item {
    --bs-list-group-bg: #f1f1f1;
}