﻿/*
 * LunarBasic phpBB3 child style.
 * Inherits prosilver and applies website colors/components.
 */

@import url("../../prosilver/theme/stylesheet.css");

:root {
    --lb-body: #2a4468;
    --lb-panel: #3b5474;
    --lb-panel-2: #4a6484;
    --lb-panel-3: #587292;
    --lb-panel-4: #6782a3;
    --lb-panel-deep: #314968;
    --lb-border-dark: #1f334d;
    --lb-border-light: #c8d5e4;
    --lb-line: #6f89a8;
    --lb-text: #d7e4f4;
    --lb-text-soft: #c2d3e6;
    --lb-text-faint: #aebfd3;
    --lb-link: #d6e2f1;
    --lb-link-hover: #ffffff;
    --lb-btn: #8ea5bf;
    --lb-btn-hover: #9cb2cb;
    --lb-btn-text: #0d1d31;
    --lb-accent: #a8c0da;
    --lb-accent-strong: #dfeaf6;
    --lb-danger: #c86c85;
    --lb-admin: #d4ba78;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: var(--lb-body);
    color: var(--lb-text);
    font-family: Verdana, Tahoma, sans-serif;
}

.page-shell.forum-shell {
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.forum-shell #wrap {
    flex: 1;
    width: min(72rem, calc(100% - 2rem));
    margin: 0.85rem auto 0;
}

.forum-shell .top-panel {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #1f334d;
    background: #3b5474;
    font-family: Verdana, Tahoma, sans-serif;
    box-shadow: inset 0 1px 0 #b7c7d9, inset 0 -1px 0 #243a57;
}

.forum-shell .top-panel__inner {
    width: min(72rem, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.forum-shell .top-panel__brand,
.forum-shell .top-panel__link {
    text-decoration: none;
    border-bottom: 0;
}

.forum-shell .top-panel__brand,
.forum-shell .top-panel__brand:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #f4f8ff;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.forum-shell .top-panel__brand-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
}

.forum-shell .top-panel__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.forum-shell .top-panel__link,
.forum-shell .top-panel__link:visited {
    padding: 0.35rem 0.7rem;
    border-top: 1px solid #c8d5e4;
    border-left: 1px solid #c8d5e4;
    border-right: 1px solid #1f334d;
    border-bottom: 1px solid #1f334d;
    background: #7f99b7;
    color: #0d1d31;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
}

.forum-shell .top-panel__link:hover,
.forum-shell .top-panel__link--active,
.forum-shell .top-panel__link--active:visited {
    background: #9cb2cb;
    color: #0d1d31;
}

.forum-shell .site-footer {
    margin-top: auto;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid #1f334d;
    background: #314968;
    color: #d6e2f1;
    font-family: Verdana, Tahoma, sans-serif;
    text-align: center;
    font-size: 0.8rem;
}

.forum-shell .site-footer,
.forum-shell .site-footer p,
.forum-shell .site-footer a,
.forum-shell .site-footer span {
    font-family: Verdana, Tahoma, sans-serif;
}

.forum-shell .site-footer p {
    margin: 0;
}

.forum-shell .site-footer p+p {
    margin-top: 0.35rem;
}

.forum-shell .site-footer a,
.forum-shell .site-footer a:visited {
    color: #e6eef8;
    border-bottom: 1px solid #9fb8d3;
}

.forum-shell .site-footer a:hover {
    color: #ffffff;
    border-bottom-color: #d6e2f1;
}

#phpbb,
#phpbb #wrap,
#phpbb .page-body,
#phpbb .navbar,
#phpbb .forabg,
#phpbb .forumbg,
#phpbb .panel,
#phpbb .post,
#phpbb h1,
#phpbb h2,
#phpbb h3,
#phpbb h4,
#phpbb p,
#phpbb li,
#phpbb dt,
#phpbb dd,
#phpbb label,
#phpbb a,
#phpbb input,
#phpbb select,
#phpbb textarea,
#phpbb button,
#phpbb .button,
#phpbb .tabs .tab>a,
#phpbb .minitabs .tab>a,
#phpbb .navigation a,
#phpbb .pagination li.active span,
#phpbb .footer-row,
#phpbb .copyright {
    font-family: Verdana, Tahoma, sans-serif;
}

#wrap {
    background: transparent;
    border: 0;
    border-radius: 0;
    max-width: 72rem;
}

.wrap,
.headerbar {
    background: var(--lb-panel);
    border: 2px solid var(--lb-border-dark);
    border-top-color: #b7c7d9;
    border-left-color: #b7c7d9;
    border-right-color: #243a57;
    border-bottom-color: #243a57;
    border-radius: 0;
    box-shadow: inset 0 1px 0 #b7c7d9, inset 0 -1px 0 #243a57;
    color: #f4f8ff;
}

#site-description h1,
#site-description p {
    color: #f4f8ff;
}

#logo {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

#logo .site_logo {
    width: 40px;
    height: 40px;
    background-image: url("/images/LBIcon.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.navbar,
.forabg,
.forumbg,
.panel,
.post,
.rowbg,
.bg1,
.bg2,
.bg3 {
    background: var(--lb-panel-2);
    color: var(--lb-text);
    border-color: #89a3bf;
    border-radius: 0;
}

.forabg,
.forumbg,
.panel,
.post,
.cp-main .panel-container,
.cp-menu,
.cp-panel,
.cp-mini,
.phpbb_alert,
.dropdown .dropdown-contents,
.dropdown-extended .header,
.dropdown-extended .footer,
.dropdown-extended ul,
.jumpbox .dropdown-contents {
    box-shadow: none;
}

ul.forums,
ul.topiclist li.row,
li.row,
.forabg ul.topiclist,
.forumbg ul.topiclist {
    background: var(--lb-panel-2);
    background-image: none;
}

.navbar {
    background: var(--lb-panel);
    border-top: 1px solid #b7c7d9;
    border-bottom: 1px solid var(--lb-border-dark);
}

.dropdown,
.dropdown .dropdown-contents,
.dropdown-extended .header,
.pagination li a,
.pagination li span,
div.rules,
.loading_indicator {
    border-radius: 0;
}

.dropdown .pointer {
    border-color: var(--lb-line) transparent;
}

.dropdown .pointer-inner,
.dropdown-extended .pointer-inner,
.jumpbox .dropdown .pointer-inner {
    border-color: var(--lb-panel-deep) transparent;
}

ul.navlinks,
ul.linklist {
    border-color: rgba(111, 137, 168, 0.7);
}

hr,
li.row,
ul.topiclist dd,
table.table1 tbody tr,
table.table1 tbody td,
table.table1 tbody th,
.signature,
.notice,
.forumbg .header,
.forabg .header,
.panel-container hr,
.cp-menu hr,
ul.cplist,
.jumpbox .dropdown li,
.dropdown li,
.dropdown li.separator,
.dropdown-extended ul li,
.dropdown-extended .header,
.dropdown-extended .footer {
    border-color: var(--lb-line);
}

li.row {
    border-top-color: #4d6787;
    border-bottom-color: #35506f;
}

table.table1 tbody td,
table.table1 tbody th,
ul.topiclist dd {
    border-top-color: rgba(111, 137, 168, 0.8);
}

a,
a:visited {
    color: var(--lb-link);
}

a:hover,
a:focus {
    color: var(--lb-link-hover);
}

li.row:hover,
table.table1 tbody tr:hover,
table.table1 tbody tr.hover,
.search-results li:hover,
.search-results li.active,
.dropdown-extended ul li:hover,
.jumpbox-forum-link:hover,
.jumpbox-sub-link:hover {
    background: var(--lb-panel-3);
    color: #f4f8ff;
}

li.row:hover dd,
.rtl li.row:hover dd {
    border-color: rgba(200, 213, 228, 0.45);
}

.postbody,
.content,
.postbody .content,
.panel p,
.panel li,
.panel dd,
.panel strong,
.postprofile,
dl.details dd,
fieldset.polls dl,
fieldset.polls dl.voted {
    color: var(--lb-text);
}

p.author,
.author,
.author strong,
.postprofile strong,
.search-result-date,
.notification_list p.notification-time,
.copyright,
.responsive-show.left-box {
    color: var(--lb-text-soft);
}

ul.topiclist li,
ul.topiclist li.row,
table.table1 td,
table.table1 tbody th,
dd.posts,
dd.topics,
dd.views,
dd.lastpost,
dd.redirect,
dd.moderation,
dd.time,
dd.info,
dd.option,
dd.extra,
dl.details dt,
.search-result-date,
.forum-description,
.stat-block,
.stat-block p,
.right-box,
.rightside,
.pagination,
.pagination li,
.search-box .inputbox,
.button .icon,
.button-secondary,
.icon.icon-bluegray,
.icon.icon-gray,
.icon.icon-lightgray {
    color: var(--lb-text-faint);
}

h3,
h4,
.forabg .header,
.forumbg .header,
table.table1 thead th,
li.header dt,
li.header dd,
.stat-block h3,
.panel-container h3 {
    color: #eef4fb;
    border-bottom-color: var(--lb-line);
}

h2,
.tabs-container h2,
.cp-main h2 {
    color: #f4f8ff;
}

li.row strong,
dt a.topictitle,
a.forumtitle,
.topictitle,
.forumtitle,
.lastsubject,
.notification_list p.notifications_title,
.dropdown-extended .header,
.dropdown-extended .footer {
    color: #f4f8ff;
}

.content h2,
.panel h2,
.panel h3,
dl.faq dt,
label,
dt label,
dd label,
fieldset dl:hover dt label,
fieldset.fields2 dl:hover dt label,
fieldset.display-options label,
.dropdown fieldset.display-options label {
    color: #eef4fb;
}

.posthilit {
    background: #7a3f5b;
    color: #fff1f6;
}

.postlink,
.postlink:visited {
    color: #dbe9f7;
    border-bottom-color: #a9c0d8;
}

.postlink:hover {
    background: #587292;
    color: #ffffff;
}

blockquote,
.codebox,
.attachbox,
.attachbox dd,
.pm-message .attachbox {
    background: #415a7a;
    border-color: #89a3bf;
    color: var(--lb-text);
}

.codebox code,
.attachbox p,
.attachbox p.stats,
dl.file dd,
dl.thumbnail dd {
    color: var(--lb-text-soft);
}

.button,
a.button1,
input.button1,
input.button3,
a.button2,
input.button2 {
    background: linear-gradient(to bottom, #a9bfd7 0%, var(--lb-btn) 100%);
    color: var(--lb-btn-text);
    border-style: solid;
    border-width: 2px;
    border-top: 2px solid #d6e2f1;
    border-left: 2px solid #d6e2f1;
    border-right: 2px solid #1b2f4b;
    border-bottom: 2px solid #1b2f4b;
    border-radius: 0;
    box-sizing: border-box;
    box-shadow: inset 1px 1px 0 #eef4fb;
    outline: none;
    text-shadow: none;
}

.button:hover,
.button:focus,
a.button1:hover,
a.button1:focus,
input.button1:hover,
input.button1:focus,
input.button3:hover,
input.button3:focus,
a.button2:hover,
a.button2:focus,
input.button2:hover,
input.button2:focus {
    border-top-color: #d6e2f1;
    border-left-color: #d6e2f1;
    border-right-color: #1b2f4b;
    border-bottom-color: #1b2f4b;
    background: linear-gradient(to bottom, #bed0e2 0%, var(--lb-btn-hover) 100%);
    color: var(--lb-btn-text);
    box-shadow: inset 1px 1px 0 #eef4fb;
    outline: none;
    text-shadow: none;
}

.button:active,
a.button1:active,
input.button1:active,
input.button3:active,
a.button2:active,
input.button2:active {
    border-top-color: #1b2f4b;
    border-left-color: #1b2f4b;
    border-right-color: #d6e2f1;
    border-bottom-color: #d6e2f1;
}

.button,
a.button1,
a.button2,
input.button1,
input.button2,
input.button3 {
    line-height: 1.25;
}

.button:hover,
.button:focus,
a.button1:hover,
a.button1:focus,
a.button2:hover,
a.button2:focus,
input.button1:hover,
input.button1:focus,
input.button2:hover,
input.button2:focus,
input.button3:hover,
input.button3:focus,
.button-search:hover,
.button-search:focus,
.button-search-end:hover,
.button-search-end:focus,
.dropdown-select:hover,
.dropdown-select:focus,
.post-buttons .button:hover,
.post-buttons .button:focus,
.action-bar .button:hover,
.action-bar .button:focus,
fieldset.submit-buttons input:hover,
fieldset.submit-buttons input:focus,
fieldset.submit-buttons a:hover,
fieldset.submit-buttons a:focus {
    transform: none;
}

.action-bar .button,
.post-buttons .button,
.dropdown-select,
.button-search,
.button-search-end {
    min-height: 28px;
    padding: 3px 9px;
}

.button-icon-only,
.post-buttons .button-icon-only,
.button-search,
.button-search-end,
.dropdown-select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button-icon-only,
.post-buttons .button-icon-only,
.button-search,
.button-search-end {
    min-width: 28px;
    padding-left: 0;
    padding-right: 0;
}

.post-buttons {
    gap: 3px;
}

.post-buttons>li {
    margin-right: 0;
}

.post-buttons .button,
.format-buttons .button,
.action-bar .button,
.dropdown-select {
    box-sizing: border-box;
}

.button span,
a.button1 span,
a.button2 span,
.dropdown-select span {
    vertical-align: middle;
}

.caret {
    right: 0;
    margin-left: 6px;
    padding-left: 6px;
    border-left-color: rgba(31, 51, 77, 0.45);
}

.button-icon-only .caret,
.button-search-end .caret,
.dropdown-select .caret {
    margin-left: 0;
    padding-left: 4px;
}

.button-search-end,
.dropdown-select {
    min-width: 32px;
}

fieldset.submit-buttons input.button1,
fieldset.submit-buttons input.button2,
fieldset.submit-buttons input.button3,
fieldset.submit-buttons a.button1,
fieldset.submit-buttons a.button2 {
    min-height: 30px;
    padding: 4px 12px;
    font-weight: bold;
}

fieldset.submit-buttons input.button2,
fieldset.submit-buttons a.button2 {
    background: linear-gradient(to bottom, #9db6d0 0%, #7f9bb8 100%);
    color: #0f2238;
}

fieldset.submit-buttons input.button2:hover,
fieldset.submit-buttons a.button2:hover {
    background: linear-gradient(to bottom, #b0c6db 0%, #91a9c2 100%);
    color: #0f2238;
}

.action-bar .button,
.post-buttons .button {
    font-weight: bold;
}

.action-bar .button,
.action-bar .button:hover,
.action-bar .button:focus,
.action-bar .button span,
.action-bar .button:hover span,
.action-bar .button:focus span,
.post-buttons .button,
.post-buttons .button:hover,
.post-buttons .button:focus {
    color: var(--lb-btn-text);
}

.post-buttons .button-icon-only,
.button-search,
.button-search-end,
.dropdown-select {
    font-weight: normal;
}

input,
select,
textarea {
    background: #3b5474;
    color: #f4f8ff;
    border: 1px solid #89a3bf;
}

.inputbox,
input.inputbox,
textarea.inputbox,
.message-box textarea,
select,
option,
optgroup,
.phpbb_alert,
.dropdown .dropdown-contents,
.cp-main .pm,
.cp-main .pm-message {
    background: var(--lb-panel-deep);
    color: #f4f8ff;
    border-color: #89a3bf;
}

.inputbox::placeholder,
.inputbox:-moz-placeholder,
.inputbox::-webkit-input-placeholder {
    color: #c2d3e6;
}

.inputbox:hover,
.inputbox:focus,
.message-box textarea:hover,
.message-box textarea:focus,
select:hover,
select:focus {
    border-color: #d6e2f1;
}

.search-header {
    background: var(--lb-panel-deep);
    box-shadow: 0 0 0 1px rgba(31, 51, 77, 0.8);
}

.button-search,
.button-search-end,
.button-icon-only,
.post-buttons .button,
.format-buttons .button,
.pagination li a,
.pagination li span,
.tabs .tab>a,
.minitabs .tab>a,
.navigation a,
.jumpbox-cat-link,
.jumpbox-forum-link,
.jumpbox-sub-link,
.contact-icons a,
.badge,
.dropdown-select {
    text-shadow: none;
}

.pagination li a,
.pagination li span,
.tabs .tab>a,
.minitabs .tab>a,
.navigation a,
.jumpbox-forum-link,
.jumpbox-sub-link,
.contact-icons a,
.dropdown-select {
    background: var(--lb-panel-deep);
    background-image: none;
    border-color: var(--lb-line);
    color: var(--lb-text-soft);
}

.tabs .tab>a,
.minitabs .tab>a {
    border-radius: 0;
}

.tabs .tab>a:hover,
.minitabs .tab>a:hover,
.navigation a:hover,
.jumpbox-cat-link:hover,
.jumpbox-forum-link:hover,
.jumpbox-sub-link:hover,
.pagination li a:hover,
.pagination.dropdown-visible a.dropdown-trigger,
.nojs .pagination .dropdown-container:hover a.dropdown-trigger,
.contact-icons a:hover,
.dropdown-select:hover {
    background: var(--lb-panel-3);
    background-image: none;
    border-color: var(--lb-accent);
    color: #ffffff;
}

.tabs .activetab>a,
.tabs .activetab>a:hover,
.minitabs .activetab>a,
.minitabs .activetab>a:hover,
.navigation .active-subsection a,
.navigation .active-subsection a:hover,
.pagination li.active span,
.jumpbox-cat-link {
    background: linear-gradient(to bottom, var(--lb-panel-4) 0%, var(--lb-panel-3) 100%);
    background-image: none;
    border-color: var(--lb-accent);
    box-shadow: inset 0 1px 0 rgba(223, 234, 246, 0.35);
    color: #f8fbff;
}

.pagination li.ellipsis span {
    background: transparent;
    color: var(--lb-text-soft);
    border: none;
}

.button .icon,
.button:hover .icon,
.button:focus .icon,
.button-secondary,
.button-secondary:hover,
.button-secondary:focus,
.caret,
.caret i,
.icon.icon-blue,
.icon.icon-green,
.icon.icon-red,
.icon.icon-orange,
.icon.icon-bluegray,
.icon.icon-gray,
.icon.icon-lightgray,
.icon.icon-black {
    color: inherit;
}

.contact-icons a {
    border-right-color: var(--lb-line);
    border-bottom-color: var(--lb-line);
}

.badge {
    background: var(--lb-accent);
    color: var(--lb-btn-text);
    opacity: 1;
}

.notification_list li.notification-reported strong,
.notification_list li.notification-disapproved strong,
.error,
dd.profile-warnings,
div.rules,
p.post-notice {
    color: #ffe4eb;
}

div.rules,
p.post-notice,
.reported,
li.reported:hover {
    background: #744257 !important;
    border-color: #9f6881;
}

.sep,
.responsive-tab .responsive-tab-link:before {
    color: var(--lb-accent);
    border-color: var(--lb-accent);
}

.responsive-tab .responsive-tab-link:hover:before {
    border-color: var(--lb-accent-strong);
}

.panel-container .panel,
.cp-main .pm,
.cp-main .pm-message,
.cp-mini,
.fieldsbg,
.ucprowbg {
    background: var(--lb-panel-2);
    background-image: none;
    color: var(--lb-text);
    border-color: var(--lb-line);
}

.panel-container table.table1 thead th,
.panel-container .panel li.header dd,
.panel-container .panel li.header dt,
.current,
.friend-online,
.pm-legend {
    color: #f4f8ff !important;
}

.friend-offline,
dl.mini dt,
.gallery label,
.navigation li,
.cp-mini,
.panel-container .panel p,
.panel-container .panel ol,
.panel-container table.table1 tbody th {
    color: var(--lb-text-soft);
}

.gallery label {
    background: var(--lb-panel-deep);
    border-color: var(--lb-line);
}

.gallery label:hover {
    background: var(--lb-panel-3);
}

.username-coloured[style*="#AA0000"],
.username-coloured[style*="#BC2A4D"],
a.username-coloured[style*="#AA0000"],
a.username-coloured[style*="#BC2A4D"],
strong[style*="color:#AA0000"],
strong[style*="color: #AA0000"],
strong[style*="color:#BC2A4D"],
strong[style*="color: #BC2A4D"],
a[style*="color:#AA0000"],
a[style*="color: #AA0000"],
a[style*="color:#BC2A4D"],
a[style*="color: #BC2A4D"] {
    color: var(--lb-admin) !important;
}

.cp-main .panel-container,
.cp-menu,
.cp-panel {
    background: var(--lb-panel-2);
}

.footerbar,
.copyright {
    background: #314968;
    color: #d6e2f1;
    border-color: var(--lb-border-dark);
}

@media (max-width: 900px) {
    .forum-shell .top-panel__inner {
        width: calc(100% - 1rem);
        flex-direction: column;
        align-items: stretch;
    }

    .forum-shell .top-panel__nav {
        justify-content: flex-start;
    }

    #wrap {
        margin: 0.5rem;
    }
}