/* =========================================================
   MISS HYBRID FORUM
   Clean custom layer for phpBB 3.3.19 / Prosilver
   ========================================================= */

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

/* ---------- PAGE ---------- */

html,
body {
    background: #e9edf0;
}

#wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ---------- PHOTOGRAPHIC MASTHEAD ---------- */

.headerbar {
    position: relative;
    min-height: 325px;
    margin-bottom: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8,17,25,.72) 0%,
            rgba(8,17,25,.34) 29%,
            rgba(8,17,25,.08) 49%,
            rgba(8,17,25,.25) 72%,
            rgba(8,17,25,.68) 100%
        ),
        url("./images/forum-header.jpg") center 43% / cover no-repeat;
}

.headerbar .inner {
    position: absolute;
    inset: 0;
    min-height: 325px;
}

.site-description {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    float: none;
}

/* Hide normal Prosilver logo */
.site-description > a.logo {
    display: none;
}

/* LEFT SIDE */

.mh-masthead-left {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 58px;
    width: 38%;
    transform: translateY(-50%);
    text-align: left;
}

.mh-masthead-left h1 {
    margin: 0 0 10px;
    padding: 0;
    color: #ffffff;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: .3px;
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
}

.mh-masthead-left p {
    margin: 0;
    padding: 0;
    color: rgba(255,255,255,.92);
    font-size: 15px;
    font-weight: 400;
}

/* RIGHT SIDE */

.mh-masthead-right {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 58px;
    width: 31%;
    transform: translateY(-50%);
    text-align: right;
}

.mh-masthead-right .mh-world {
    margin: 0 0 10px;
    padding: 0;
    color: #e8c44c;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: .7px;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.mh-masthead-right p.mh-community-line {
    margin: 0;
    padding: 0;
    color: rgba(255,255,255,.92);
    font-size: 14px;
    font-weight: 400;
}

/* Keep accessibility skip link functional */
.site-description .skiplink {
    position: absolute;
}

/* ---------- TOP NAVIGATION ---------- */

.navbar {
    margin: 0 0 10px;
    border-radius: 0;
    background: #202b34;
}

.navbar a,
.navbar .icon,
.navbar li,
.navbar span {
    color: #eef2f4;
}

.navbar a:hover {
    color: #e8c44c;
}

/* ---------- FORUM CATEGORY BARS ---------- */

.forabg,
.forumbg {
    margin-bottom: 8px;
    border-radius: 2px;
    background: #344550;
}

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

.forabg .header a:hover,
.forumbg .header a:hover {
    color: #e8c44c;
}

/* ---------- FORUM ROWS ---------- */

ul.forums {
    background: #f7f8f9;
}

li.row {
    border-bottom-color: #d8dee2;
}

li.row:hover {
    background: #ffffff;
}

a.forumtitle,
a.topictitle {
    color: #294f68;
}

a.forumtitle:hover,
a.topictitle:hover {
    color: #a77d12;
}

/* ---------- LINKS ---------- */

a {
    color: #315f7a;
}

a:hover {
    color: #a77d12;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 700px) {

    #wrap {
        padding: 0;
    }

    .headerbar,
    .headerbar .inner {
        min-height: 245px;
    }

    .mh-masthead-left {
        left: 20px;
        width: 48%;
    }

    .mh-masthead-right {
        right: 20px;
        width: 38%;
    }

    .mh-masthead-left h1 {
        font-size: 25px;
    }

    .mh-masthead-left p,
    .mh-masthead-right p.mh-community-line {
        font-size: 11px;
    }

    .mh-masthead-right .mh-world {
        font-size: 16px;
    }
}

/* Final masthead positioning fix */
.site-description {
    display: contents;
}

.headerbar {
    position: relative;
}

.headerbar .mh-masthead-left {
    position: absolute;
    top: 50%;
    left: 58px;
    right: auto;
    width: 38%;
    transform: translateY(-50%);
    text-align: left;
}

.headerbar .mh-masthead-right {
    position: absolute;
    top: 50%;
    left: auto;
    right: 58px;
    width: 31%;
    transform: translateY(-50%);
    text-align: right;
}

@media (max-width: 700px) {
    .headerbar .mh-masthead-left {
        left: 20px;
        width: 48%;
    }

    .headerbar .mh-masthead-right {
        left: auto;
        right: 20px;
        width: 38%;
    }
}

/* Keep dropdown menus readable against their light background */
.navbar .dropdown-contents,
.navbar .dropdown-contents li,
.navbar .dropdown-contents a,
.navbar .dropdown-contents span,
.navbar .dropdown-contents .icon {
    color: #28343d;
}

.navbar .dropdown-contents a:hover,
.navbar .dropdown-contents a:hover span,
.navbar .dropdown-contents a:hover .icon {
    color: #a77d12;
}

/* =========================================================
   Guest welcome panel
   ========================================================= */

.mh-guest-welcome {
    margin: 18px 0 20px;
    padding: 30px 34px;
    border-left: 5px solid #e8c44c;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(20,35,45,.10);
}

.mh-guest-welcome h2 {
    margin: 0 0 9px;
    padding: 0;
    border: 0;
    color: #25343e;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .3px;
}

.mh-guest-welcome > p {
    margin: 0;
    color: #53616a;
    font-size: 15px;
    line-height: 1.6;
}

.mh-guest-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.mh-button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.mh-button-primary {
    border: 1px solid #b28c22;
    background: #e8c44c;
    color: #202b34;
}

.mh-button-primary:hover {
    background: #d8b43d;
    color: #202b34;
}

.mh-button-secondary {
    border: 1px solid #344550;
    background: #344550;
    color: #ffffff;
}

.mh-button-secondary:hover {
    background: #202b34;
    color: #ffffff;
}

@media (max-width: 700px) {
    .mh-guest-welcome {
        margin: 12px 0 15px;
        padding: 22px 20px;
    }

    .mh-guest-welcome h2 {
        font-size: 19px;
    }

    .mh-guest-actions {
        display: block;
    }

    .mh-button {
        display: block;
        margin-top: 8px;
        text-align: center;
    }
}

/* =========================================================
   MISS HYBRID - REGISTRATION
   ========================================================= */

#register {
    max-width: 1050px;
    margin: 22px auto 35px;
}

#register .panel {
    margin-bottom: 14px;
    padding: 8px 18px;
    border: 1px solid #d7dde1;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(20, 35, 45, .07);
}

#register h2 {
    margin: 4px 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8c44c;
    color: #25343e;
    font-size: 23px;
    line-height: 1.25;
}

#register fieldset.fields2 > dl:first-child dd strong {
    display: block;
    margin: 0 0 18px;
    padding: 13px 16px;
    border-left: 4px solid #e8c44c;
    background: #f5f7f8;
    color: #344550;
    font-size: 14px;
    line-height: 1.5;
}

#register fieldset.fields2 dl {
    padding: 8px 0;
}

#register fieldset.fields2 dt {
    width: 34%;
}

#register fieldset.fields2 dd {
    margin-left: 36%;
}

#register fieldset.fields2 dt label {
    color: #28343d;
    font-size: 14px;
    font-weight: 700;
}

#register fieldset.fields2 dt span {
    color: #6a767d;
    font-size: 12px;
    line-height: 1.35;
}

#register input.inputbox,
#register select {
    box-sizing: border-box;
    min-height: 36px;
    border: 1px solid #b8c2c8;
    border-radius: 3px;
    background: #ffffff;
    color: #25343e;
    font-size: 14px;
}

#register input.inputbox {
    width: 100%;
    max-width: 420px;
    padding: 7px 9px;
}

#register select {
    max-width: 420px;
    padding: 5px 7px;
}

#register input.inputbox:focus,
#register select:focus {
    border-color: #b28c22;
    outline: none;
    box-shadow: 0 0 0 2px rgba(232, 196, 76, .20);
}

#register hr {
    margin: 14px 0;
    border: 0;
    border-top: 1px solid #dde3e6;
}

#register .submit-buttons {
    padding: 7px 0;
}

#register .button1 {
    min-width: 150px;
    padding: 9px 22px;
    border: 1px solid #b28c22;
    border-radius: 3px;
    background: #e8c44c;
    color: #202b34;
    font-size: 14px;
    font-weight: 700;
}

#register .button1:hover {
    border-color: #a27d19;
    background: #d8b43d;
    color: #202b34;
}

/* Q&A CAPTCHA immediately following registration details */
#register + .panel {
    max-width: 1050px;
    box-sizing: border-box;
    margin: 0 auto 14px;
    border: 1px solid #d7dde1;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(20, 35, 45, .07);
}

@media (max-width: 700px) {
    #register {
        margin: 12px auto 22px;
    }

    #register .panel {
        padding: 5px 10px;
    }

    #register h2 {
        font-size: 20px;
    }

    #register fieldset.fields2 dt {
        float: none;
        width: auto;
    }

    #register fieldset.fields2 dd {
        margin-left: 0;
        padding-top: 6px;
    }

    #register input.inputbox,
    #register select {
        width: 100%;
        max-width: none;
    }
}

/* =========================================================
   Miss Hybrid posting editor — wider smilies panel on left
   ========================================================= */

@media (min-width: 701px) {
#smiley-box.smiley-box {
float: left;
width: 30%;
box-sizing: border-box;
padding-right: 18px;
}

#message-box.message-box {
float: right;
width: 68%;
box-sizing: border-box;
}
}

@media (max-width: 700px) {
#smiley-box.smiley-box,
#message-box.message-box {
float: none;
width: auto;
padding-right: 0;
}

#smiley-box.smiley-box {
margin-top: 8px;
}
}

/* =========================================================
   Miss Hybrid topic posts — poster profile on left
   ========================================================= */

@media (min-width: 701px) {

.postprofile {
    float: left;
    width: 22%;
    border-width: 0 1px 0 0;
    box-sizing: border-box;
    padding-right: 12px;
}

.postbody {
    float: right;
    width: 76%;
}

}

/* =========================================================
   Miss Hybrid topic posts — 15% poster profile on left
   ========================================================= */

@media (min-width: 701px) {

.postprofile {
    float: left;
    width: 15%;
    border-width: 0 1px 0 0;
    box-sizing: border-box;
    padding-right: 12px;
}

.postbody {
    float: right;
    width: 83%;
}

}
