body {
    background: url('../images/grbg1.jpg');
    background-color: #f5f5f5;
}

.container {
    background: #ffffff;
}

.banneritem img {
    width: 100%;
}

.main-area .banneritem {
    display: flex;
    justify-content: center;

    & a {
        display: flex;
        justify-content: center;
    }
}

.col-left .banneritem a, .col-right .banneritem a {
    width: min(100%, 270px);
}

.footer {
    color: #000000;
    margin-top: 0;
}

hr {
    border-color: #999;
}

.main-area {
    display: grid;
    grid-template-columns: min(100%, 270px) 1fr min(100%, 270px);
    gap: 1rem;
    padding: 1rem;
}

/* Desktop: 3 columns layout: 0.5fr 1fr 0.5fr */
@media (min-width: 1024px) {
    .main-area {
        grid-template-columns: min(100%, 270px) 1fr min(100%, 270px);
        grid-template-areas: "left center right";
    }

    .col-left {
        grid-area: left;
    }

    .col-center {
        grid-area: center;
    }

    .col-right {
        grid-area: right;
    }
}

/* Tablet: Top row is center and left, bottom is full-width right */
@media (min-width: 768px) and (max-width: 1023px) {
    .main-area {
        grid-template-columns: 1.5fr 0.5fr;
        grid-template-areas:
      "center left"
      "right right";
    }

    .col-left {
        grid-area: left;
    }

    .col-center {
        grid-area: center;
    }

    .col-right {
        grid-area: right;
    }
}

/* Mobile: Stacked rows: center, left, right */
@media (max-width: 767px) {
    .main-area {
        grid-template-columns: 1fr;
        grid-template-areas:
      "center"
      "left"
      "right";
    }

    .col-left {
        grid-area: left;
    }

    .col-center {
        grid-area: center;
    }

    .col-right {
        grid-area: right;
    }
}

a:not([class]) {
    text-decoration: none;
}

.mod-breadcrumbs__wrapper {
    display: none;
}

.mod-list {
    li.nav-item {
        border-bottom: 1px solid #ddd;

        a {
            color: #000000;
            text-decoration: none;
            display: block;

            &:hover {
                color: var(--gr-primary);
            }
        }
    }

    li.nav-item.active {
        a {
            text-decoration: none;
            font-weight: bold;
            color: var(--gr-primary);
        }
    }
}

h1, h2, h3, h4, h5, h6 {
    a {
        color: var(--body-color);
    }

    a:hover {
        color: var(--gr-primary);
    }
}

.moduletable {
    h3 {
        color: #555555;
        font-weight: normal;
        font-size: 1.5em;
    }
}

.alert {
    background-color: transparent;
}

.readmore {
    .btn-secondary {
        border: none;
        color: var(--gr-primary);

        &:hover {
            background-color: #f5f5f5;
            transition: all 0.2s ease-in-out;
            span {
                transition: all 0.2s ease-in-out;
                margin-right: 0.5em;
            }
        }
    }
}

.bannergroup {
    display: grid;
    gap: 0.5em;
}

.article-info.text-muted {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5em;

    dd {
        span.icon-fw {
            display: none;
        }
    }

    dd:nth-child(2) {
        text-align: right;
    }
}

.page-header {
    margin-top: 1em;
}

ul.pagination {
    display: flex;
    flex-wrap: wrap;
}

.logo img {
    width: 100%;
    margin-bottom: 0.5em;
}

.moduletable.grfb {
    display: flex;
    justify-content: center;
}

a.gallery_link {
    display: inline-block;
    padding: 6px 12px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #cf2234;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
    background-color: #cf2234;
    text-decoration: none;
    transition: all 0.2s ease-in-out;

    &:hover {
        background-color: #ef4254;
    }
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}

.item-content a[rel=lightbox] {
    background: var(--gr-primary);
    color: #ffffff;
    padding: 0.5em 0.9em;
    border-radius: 0.5em;
    &:hover {
        transition: 0.5s ease-in;
        background: var(--gr-primary-hover);
    }
}