/* Vizuelni identitet forum.gradjanin.info - učitava se posle prosilver stila. */
.headerbar {
    background-color: #08132f;
    background-image: linear-gradient(120deg, #08132f 0%, #10244f 100%);
    border-bottom: 3px solid #36aeea;
    border-radius: 9px;
    padding: 0 18px;
}

.site-description {
    align-items: center;
    display: flex;
    gap: 32px;
    min-height: 94px;
    width: 78%;
}

.site-description .logo {
    flex: 0 0 auto;
    float: none;
    margin: 0;
    padding: 4px 0;
}

.site_logo {
    background-image: url("./images/gradjanin-forum-logo.png");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 72px;
    width: 315px;
}

.site-description h1 {
    display: none;
}

.site-description p {
    color: #f4fbff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
    max-width: 430px;
    text-shadow: 0 1px 1px rgba(0, 45, 74, 0.35);
}

.copyright {
    padding-top: 11px;
}

.footer-copyright {
    color: #657785;
}

.footer-copyright a {
    font-weight: 600;
}

/* Tamnoplavi identitet, veća čitljivost i kartice foruma. */
html,
body {
    background: #f2f5f9;
}

body {
    color: #26354a;
    font-size: 12px;
}

.wrap {
    border-color: #dce3ec;
    box-shadow: 0 10px 32px rgba(8, 19, 47, 0.08);
}

.navbar {
    background: #e8eef6;
    border: 1px solid #d5deea;
    border-radius: 7px;
}

.forabg,
.forumbg {
    background: #ffffff;
    border: 1px solid #d5deea;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(8, 19, 47, 0.06);
    overflow: hidden;
    padding: 0;
}

.forabg .header,
.forumbg .header {
    background: linear-gradient(110deg, #08132f 0%, #142b57 100%);
    color: #ffffff;
    padding: 7px 10px;
}

.forabg .header a,
.forumbg .header a,
.forabg .header dt,
.forabg .header dd,
.forumbg .header dt,
.forumbg .header dd {
    color: #ffffff;
}

ul.topiclist.forums > li.row {
    background: #ffffff;
    border-bottom: 0;
    border-top: 1px solid #e1e6ed;
    min-height: 72px;
    position: relative;
}

ul.topiclist.forums > li.row:first-child {
    border-top: 0;
}

ul.topiclist.forums > li.row:hover {
    background: #f5f9fd;
}

ul.topiclist.forums dl.row-item {
    background-image: none !important;
    min-height: 72px;
}

ul.topiclist.forums dl.row-item dt .list-inner {
    color: #66758b;
    line-height: 1.5;
    padding-bottom: 14px;
    padding-left: 72px;
    padding-top: 14px;
}

ul.topiclist.forums .forumtitle {
    color: #0b1a3d;
    font-size: 1.35em;
    font-weight: 700;
    letter-spacing: -0.01em;
}

ul.topiclist.forums .forumtitle:hover {
    color: #087fbd;
    text-decoration: none;
}

ul.topiclist.forums dd {
    border-left-color: #e6ebf1;
    color: #53647b;
    font-size: 1.05em;
}

.gf-forum-icon {
    align-items: center;
    background: #eff7fd;
    border: 1px solid #cce4f5;
    border-radius: 11px;
    color: #0c74aa;
    display: flex;
    font-size: 21px;
    height: 42px;
    justify-content: center;
    left: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
    width: 42px;
    z-index: 2;
}

ul.topiclist.forums > li.row:hover .gf-forum-icon {
    background: #0d80bc;
    color: #ffffff;
    transform: translateY(-50%) scale(1.04);
}

.gf-forum-icon .icon {
    color: inherit;
    font-size: inherit;
    line-height: 1;
}

.panel,
.post,
.bg1,
.bg2,
.bg3 {
    border-color: #dce3ec;
}

a,
.postlink,
.arrow-left:hover,
.arrow-right:hover {
    color: #096f9f;
}

.button,
.button1,
.button2,
input.button1,
input.button2 {
    border-radius: 5px;
}

.button1,
input.button1 {
    background: #0b1a3d;
    border-color: #0b1a3d;
    color: #ffffff;
}

h2,
h3,
.content {
    line-height: 1.45;
}

/* Razdvojene kontrole pretrage. */
.search-header form fieldset {
    align-items: center;
    display: flex;
    gap: 5px;
}

.search-header .inputbox,
.search-header .button-search,
.search-header .button-search-end {
    border: 1px solid #c9d4e1;
    border-radius: 5px;
    box-sizing: border-box;
    float: none;
    height: 29px;
    margin: 0;
}

.search-header .inputbox {
    padding-left: 9px;
    padding-right: 9px;
}

.search-header .button-search,
.search-header .button-search-end {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-width: 31px;
    padding: 3px 7px;
}

/* Brendirani footer. */
.gf-footer-main {
    background: linear-gradient(120deg, #0d1938 0%, #142b57 100%);
    border-radius: 10px 10px 0 0;
    color: #dbe7f7;
    margin-top: 26px;
    overflow: hidden;
    padding: 28px 32px;
}

.gf-footer-grid {
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(260px, 1.55fr) minmax(170px, .8fr) minmax(190px, .8fr);
}

.gf-footer-main h3 {
    color: #ffffff;
    font-size: 1.15em;
    margin: 0 0 12px;
}

.gf-footer-brand img {
    height: auto;
    margin-bottom: 13px;
    max-width: 260px;
    width: 100%;
}

.gf-footer-brand p,
.gf-footer-social p {
    color: #b9c7dc;
    line-height: 1.65;
    margin: 0;
    max-width: 430px;
}

.gf-footer-links a {
    color: #dbe7f7;
    display: block;
    margin: 0 0 9px;
}

.gf-footer-links a:hover {
    color: #55c2ff;
    text-decoration: none;
}

.gf-social-icons {
    display: flex;
    gap: 9px;
    margin-bottom: 12px;
}

.gf-social-icon {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    color: #ffffff;
    cursor: default;
    display: inline-flex;
    font-size: 17px;
    height: 38px;
    justify-content: center;
    transition: background-color .15s ease, transform .15s ease;
    width: 38px;
}

.gf-social-icon:hover {
    background: #168dcc;
    transform: translateY(-2px);
}

.gf-social-icon .icon {
    color: inherit;
    font-size: inherit;
}

.gf-social-x {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}

#page-footer {
    background: #07102a;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

#page-footer .navbar {
    background: #101e40;
    border-color: rgba(255, 255, 255, .1);
    border-radius: 0;
    color: #c3d1e5;
    margin: 0;
}

#page-footer .navbar a,
#page-footer .navbar .icon,
#page-footer .copyright a {
    color: #dbe7f7;
}

#page-footer .navbar a:hover,
#page-footer .copyright a:hover {
    color: #55c2ff;
}

#page-footer .copyright {
    color: #91a3bd;
    padding: 14px 18px 17px;
}

#page-footer .footer-copyright {
    color: #aebdd1;
}

@media (max-width: 900px) {
    .site-description {
        gap: 12px;
        width: calc(100% - 220px);
    }

    .site-description p {
        display: none;
    }

    .gf-footer-grid {
        gap: 28px;
        grid-template-columns: 1.3fr 1fr;
    }

    .gf-footer-social {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .headerbar {
        padding: 0 10px;
    }

    .site-description {
        justify-content: center;
        min-height: 82px;
        width: 100%;
    }

    .site-description .logo {
        display: block;
    }

    .site_logo {
        height: 62px;
        max-width: 100%;
        width: 280px;
    }

    body {
        font-size: 11px;
    }

    ul.topiclist.forums dl.row-item dt .list-inner {
        padding-left: 62px;
    }

    .gf-forum-icon {
        height: 36px;
        left: 12px;
        width: 36px;
    }

    .gf-footer-main {
        padding: 24px 20px;
    }

    .gf-footer-grid {
        display: block;
    }

    .gf-footer-brand,
    .gf-footer-links,
    .gf-footer-social {
        margin-bottom: 25px;
    }

    .gf-footer-social {
        margin-bottom: 0;
    }
}
