@font-face {
    font-family: 'Byte Police';
    src: url('../fonts/BytePoliceOutlineItalic.eot');
    src: url('../fonts/BytePoliceOutlineItalic.eot?#iefix') format('embedded-opentype'), url('../fonts/BytePoliceOutlineItalic.woff2') format('woff2'), url('../fonts/BytePoliceOutlineItalic.woff') format('woff'), url('../fonts/BytePoliceOutlineItalic.ttf') format('truetype'), url('../fonts/BytePoliceOutlineItalic.svg#BytePoliceOutlineItalic') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'FFF Galaxy';
    src: url('../fonts/FFFGalaxy.eot');
    src: url('../fonts/FFFGalaxy.eot?#iefix') format('embedded-opentype'), url('../fonts/FFFGalaxy.woff2') format('woff2'), url('../fonts/FFFGalaxy.woff') format('woff'), url('../fonts/FFFGalaxy.ttf') format('truetype'), url('../fonts/FFFGalaxy.svg#FFFGalaxy') format('svg');
    font-weight: normal;
    font-style: normal;
}
@keyframes stripe-slide {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

/* Font CSS */
.f_default, .f_default select, .f_default button, .f_default input[type="submit"] {
    font-family: 'Arial' !important;
}
.f_verdana, .f_verdana select, .f_verdana button, .f_verdana input[type="submit"] {
    font-family: 'verdana' !important;
}
.f_arial, .f_arial select, .f_arial button, .f_arial input[type="submit"] {
    font-family: 'arial' !important;
}
.f_helvetica, .f_helvetica select, .f_helvetica button, .f_helvetica input[type="submit"] {
    font-family: 'helvetica' !important;
}
.f_times_new_roman, .f_times_new_roman select, .f_times_new_roman button, .f_times_new_roman input[type="submit"] {
    font-family: 'times new roman' !important;
}
.f_consolas, .f_consolas select, .f_consolas button, .f_consolas input[type="submit"] {
    font-family: 'consolas' !important;
}
.f_tahoma, .f_tahoma select, .f_tahoma button, .f_tahoma input[type="submit"] {
    font-family: 'tahoma' !important;
}

/* Normal CSS */
body {
    background-color: #000;
    font-size: 12px;
    transition: all 400ms;
    color: white;
}
select {
    color: #000;
    background-color: transparent;
}
input[type="text"], input[type="password"], input[type="email"], input[type="url"], textarea {
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid white;
}
button, input[type="submit"] {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid white;
}
select {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid white;
}
h1 {
    text-align: center;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.5);
}
td, th {
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: left;
    padding: 8px;
}
tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.5);
}

.container {
    background-color: #003355;
    border: 1px solid #0063a4;
    padding: 10px;
    max-width: calc(100vw - 200px);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}
.container h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #ffffcc;
}
.container p {
    color: #fff;
}
.left {
    width: 200px;
    border: 1px solid #0063a4;
    padding: 10px;
    background: #00224e;
    background: linear-gradient(90deg, #00224e 0%, #002c7c 100%);
    height: 100%;
}
.left h1 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #ffffcc;
}
.left p {
    color: #fff;
}
.left a {
    color: #ccffff;
    transition: all 400ms;
    text-decoration: none;
}
.left a:hover {
    color: #ffcc11;
    text-decoration: underline;
}
.left ul {
    padding: 0;
    list-style: none;
    margin-bottom: 20px;
}
.left ul li {
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    min-height: 30px;
}
.left ul li > a {
    display: inline-block;
    line-height: 30px;
    border: 1px solid;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    position: relative;
}
.left ul li > a:after {
    content: ' ';
    width: 100%;
    height: 6px;
    position: absolute;
    bottom: 0;
    left: 0;
}
.left ul li > a:hover {
    text-decoration: none;
    animation-name: border-anim-1px;
    animation-duration: 2400ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.content {
    border: 1px solid #0063a4;
    padding: 10px;
    flex-grow: 1;
    margin-left: 10px;
    margin-right: 10px;
}
.content h1 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #fff;
}
.content p {
    color: #fff;
}
.right {
    /*width: 450px;*/
    border: 1px solid #0063a4;
    padding: 10px;
    background: #00224e;
    background: linear-gradient(90deg, #002c7c 0%, #00224e 100%);
    height: 100%;
}
.right h1 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #ffffcc;
}
.right p {
    color: #fff;
}
.right a {
    color: #ccffff;
    transition: all 400ms;
    text-decoration: none;
}
.right a:hover {
    color: #ffcc11;
    text-decoration: underline;
}
.right ul {
    padding: 0;
    list-style: none;
    margin-bottom: 20px;
}
.right ul li {
    color: #fff;
}
.footer {
    width: 100%;
    background-color: #000e26;
    padding-top: 40px;
    padding-bottom: 40px;
}
.footer ul {
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-around;
}
.footer ul li {
    color: #fff;
}
.c_blue h1,
.c_blue h2 {
    color: #95CAE7 !important;
}
.c_blue .container {
    background-color: #24246D;
    border: 1px solid #5D5DBB;
}
.c_blue .left {
    border: 1px solid #5D5DBB;
    padding: 10px;
    background: #24246D;
    background: linear-gradient(90deg, #242489 0%, #24246D 100%);
}
.c_blue .left ul li {
    color: #5D5DBB;
}
.c_blue .left ul li a {
    border-color: #5D5DBB;
    color: #5D5DBB;
}
.c_blue .left ul li a:hover {
    background-color: #5D5DBB;
    color: #24246D;
}
.c_blue .left ul li p {
    color: #5D5DBB;
}
.c_blue .left ul li p a {
    text-decoration: underline;
}
.c_blue .content {
    background-color: #111;
    border: 1px solid #5D5DBB;
    background-image: linear-gradient(rgba(55, 33, 144, 0.4) 2px, transparent 2px), linear-gradient(90deg, rgba(55, 33, 102, 0.4) 2px, transparent 2px), linear-gradient(rgba(55, 33, 144, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(55, 33, 144, 0.25) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
    background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
}
.c_blue .right {
    border: 1px solid #5D5DBB;
    padding: 10px;
    background: #24246D;
    background: linear-gradient(90deg, #24246D 0%, #242489 100%);
}
.c_blue .footer {
    background-color: #000e26;
}
.c_blue button, .c_blue input[type="submit"] {
    background: #24246D;
    border: 1px solid #5D5DBB;
}
.c_blue input[type="text"], .c_blue input[type="password"], .c_blue input[type="email"], .c_blue input[type="url"], .c_blue textarea {
    background: rgba(36, 36, 109, 0.8);
    border: 1px solid #5D5DBB;
}
.c_blue a {
    color: rgb(36, 36, 224);
    transition: background 0.3s, color 0.3s;
}
.c_blue a:hover {
    color: white;
    background: rgb(36, 36, 224);
}
.b_red a {
    color: rgb(223, 0, 0);
    transition: background 0.3s, color 0.3s;
}
.b_red a:hover {
    color: white;
    background: rgb(223, 0, 0);
}
.b_red h1,
.b_red h2 {
    color: #eb2d2d !important;
}
.b_red .container {
    background-color: #242424;
    border: 1px solid #999;
}
.b_red .left {
    border: 1px solid #999;
    padding: 10px;
    background: #242424;
}
.b_red .left ul li {
    color: #242424;
}
.b_red .left ul li a {
    border-color: #eb2d2d;
    color: #eb2d2d;
}
.b_red .left ul li a:hover {
    background-color: #eb2d2d;
    color: #242424;
}
.b_red .left ul li p {
    color: #eb2d2d;
}
.b_red .left ul li p a {
    text-decoration: underline;
}
.b_red .content {
    background-color: #3b0b00;
    border: 1px solid #df4500;
    background-image: linear-gradient(rgba(223, 69, 0, 0.4) 2px, transparent 2px), linear-gradient(90deg, rgba(223, 69, 0, 0.4) 2px, transparent 2px), linear-gradient(rgba(223, 69, 0, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(223, 69, 0, 0.25) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
    background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
}
.b_red .right {
    border: 1px solid #eb2d2d;
    padding: 10px;
    background: #242424;
}
.b_red .footer {
    background-color: #260e00;
}
.b_red button, .b_red input[type="submit"] {
    background: #3b0b00;
    border: 1px solid #df4500;
}
.b_red input[type="text"], .b_red input[type="password"], .b_red input[type="email"], .b_red input[type="url"], .b_red textarea {
    background: rgba(78, 14, 0, 0.8);
    border: 1px solid #df4500;
}
.t_green a {
    color: lime;
    transition: background 0.3s, color 0.3s;
}
.t_green a:hover {
    color: white;
    background: rgb(0, 114, 0);
}
.t_green h1,
.t_green h2 {
    color: #2deb78 !important;
}
.t_green .container {
    background-color: #242424;
    border: 1px solid #999;
}
.t_green .left {
    border: 1px solid #999;
    padding: 10px;
    background: #242424;
}
.t_green .left ul li {
    color: #242424;
}
.t_green .left ul li a {
    border-color: #2deb78;
    color: #2deb78;
}
.t_green .left ul li a:hover {
    background-color: #2deb78;
    color: #242424;
}
.t_green .left ul li p {
    color: #2deb78;
}
.t_green .left ul li p a {
    text-decoration: underline;
}
.t_green .content {
    background-color: #004e0e;
    border: 1px solid #00df45;
    background-image: linear-gradient(rgba(0, 223, 69, 0.4) 2px, transparent 2px), linear-gradient(90deg, rgba(0, 223, 69, 0.4) 2px, transparent 2px), linear-gradient(rgba(0, 223, 69, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 223, 69, 0.25) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
    background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
}
.t_green .right {
    border: 1px solid #2deb78;
    padding: 10px;
    background: #242424;
}
.t_green .footer {
    background-color: #00260e;
}
.t_green button, .t_green input[type="submit"] {
    background: #004e0e;
    border: 1px solid #00df45;
}
.t_green input[type="text"], .t_green input[type="password"], .t_green input[type="email"], .t_green input[type="url"], .t_green textarea {
    background: rgba(0, 59, 11, 0.8);
    border: 1px solid #00df45;
}
.form-success {
    background: rgba(0, 255, 0, 0.5);
    text-align: center;
}
.form-error {
    background: rgba(255, 0, 0, 0.5);
    text-align: center;
}
/* Forum classes */
.section {
    border: 1px solid #0063a4;
    padding: 10px;
    margin-left: 10px;
    margin-right: 10px;
}
.c_blue .section {
    background: rgba(36, 36, 109, 0.8);
}
.b_red .section {
    background: rgba(78, 14, 0, 0.9);
    border: 1px solid #df4500;
}
.t_green .section {
    background: rgba(0, 59, 11, 0.8);
    border: 1px solid #00df45;
}
.section-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
    bottom: 0px;
    left: 0px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.3);
    transition: bottom 0.1s, left 0.1s, box-shadow 0.1s;
}
.section-item:hover {
    bottom: 5px;
    left: 5px;
    box-shadow: -5px 5px 0px rgba(0, 0, 0, 0.3);
}
.section-item a {
    background: none;
    text-decoration-color: white;
    color: white;
}
.section-item a:hover {
    background: none;
}
.section-item-header {
    margin: 0px;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 16px;
}
.userbar {
    width: 200px;
    height: auto;
}
.post {
    background: rgba(5, 5, 5, 0.6);
    min-height: 300px;
    max-width: calc(100vw - 600px);
}
.c_blue .post {
    background: rgba(5, 5, 5, 0.4);
}
.post * {
    display: inline-block;
}
.post-info {
    width: 100%;
    border-top: 1px solid white;
}
.poster-info {
    position: absolute;
    padding: 10px;
    width: 210px;
    height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}
.poster-info::-webkit-scrollbar {
    display: none;
}
.poster-info * {
    word-wrap: break-word;
    width: 220px;
}
.avatar {
    width: 80px;
    height: 80px;
}
.post-content-container {
    border-left: 1px solid white;
    position: relative;
    left: 230px;
    width: calc(100% - 240px);
    min-height: 280px;
}
.post-title {
    position: relative;
    left: 10px;
}
.post-content {
    padding: 10px;
    width: 100%;
    min-height: 130px;
    overflow: auto;
    word-wrap: break-word;
}
.post-content div {
    word-wrap: break-word;
    width: calc(100%);
    display: block;
}
.post-signature {
    width: 100%;
    height: 130px;
    overflow: auto;
    border-top: 1px solid white;
}
.post-functions {
    float: right;
}
.flaming-post {
    position: relative;
    top: 10px;
    width: 30px;
    height: auto;
    margin-top: -100px;
}
.connection-status {
    width: auto;
    height: 20px;
    position: relative;
    top: 5px;
}
.online-status {
    animation: onlineStatus 3s infinite;
}
.poster-link {
    text-decoration: none;
}
.poster-link:hover {
    background: none !important;
}

#bb-input {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}
#input-inserts button {
    background: rgb(27, 27, 27);
    border: 1px solid rgb(46, 46, 46);
    color: white;
}
#input-box {
    width: 100%;
    height: 100%;
}

/* TODO search bar style -lilsmokie*/
.search-box-section {
    display: flex;
    align-items: center;
    gap: 10px;
}
.search-bar {
    padding: 3px;
    width: 300px;
}
#search-box {
    width: 100%;
    padding: 5px;
}
#search-box-button {
    padding: 5px;
}
/* End -lilsmokie*/

#topbar {
    width: 100%;
}
#user-info {
    float: right;
}
#user-notifs-container {
    background: rgba(255, 0, 0, 0.8);
    border: 1px solid rgb(255, 50, 50);
    color: white;
    display: block;
    position: relative;
    bottom: 30px;
    margin-bottom: -30px;
    font-size: 20px;
    width: 80px;
    text-align: center;
}
#user-avatar {
    width: 80px;
    height: 80px;
}
#new-thread-form {
    width: 80%;
}
#new-thread-form input {
    width: 100%;
}
#reply-form {
    width: 90%;
    height: 300px;
    margin-bottom: 100px;
}
#reply-form input[type="submit"] {
    width: calc(50% - 20px);
    background: rgb(27, 27, 27);
    border: 1px solid rgb(46, 46, 46);
    color: white;
    height: 30px
}
#reply-preview {
    margin-top: 130px;
    display: block;
    border: 2px solid red;
}
#font-popup {
    position: fixed;
    left: calc(50vw - 200px);
    top: calc(50vh - 200px);
    width: 400px;
    height: 400px;
    text-align: center;
    background: #06003e;
    padding: 20px;
}
#font-popup h2 {
    color: white !important;
}
#font-popup button {
    display: block;
    text-align: left;
    width: 100%;
    margin-bottom: 5px;
    font-size: 15px;
    padding: 5px;
    padding-left: 30px;
    border: 3px solid black;
    border-radius: 6px;
    background: #f7941d;
    text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    cursor: pointer;
}
#font-popup button:hover {
    color: yellow;
}

/* Notification popup CSS */
#mention-popup {
    position: fixed;
    left: 50px;
    top: 50px;
    width: calc(100vw - 150px);
    height: calc(100vh - 150px);
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgb(255, 255, 88);
    z-index: 99;
    display: none;
    overflow: auto;
    padding: 25px;
}
.c_blue #mention-popup {
    background: rgba(36, 36, 109, 0.8);
    border: 1px solid #5D5DBB;
}
.b_red #mention-popup {
    background: rgba(78, 14, 0, 0.8);
    border: 1px solid #df4500;
}
.t_green #mention-popup {
    background: rgba(0, 59, 11, 0.8);
    border: 1px solid #00df45;
}
#mention-popup h1 {
    text-align: center;
}
#mention-link {
    width: 100%;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.5);
}
#mention-close-button {
    margin-right: 20px;
    margin-top: 20px;
    font-size: 20px;
    font-family: sans-serif;
    font-weight: bold;
    cursor: pointer;
    float: right;
}
#mention-content {
    background: rgb(10, 10, 10);
    overflow: auto;
    word-wrap: break-word;
    padding: 10px;
    max-height: calc(100vh - 360px);
}
#mention-avatar {
    width: 30px;
    height: 30px;
}
#mention-username {
    font-family: sans-serif;
    font-weight: bold;
    font-size: 20px;
    position: relative;
    left: 5px;
    bottom: 6px;
}

#enter-multiman {
    width: 250px;
}
#enter-multiman img {
    width: 100%;
    height: auto;
}

.mention-open {
    animation: mentionPopupOpen 0.2s linear;
    display: block !important;
}
.mention-close {
    animation: mentionPopupClose 0.2s linear;
    display: block !important;
}
.mention-close * {
    display: none;
}

@keyframes mentionPopupOpen {
    0% {
        background: rgba(255, 255, 255, 0.0);
        left: 50vw;
        top: 50vh;
        width: 0px;
        height: 0px;
    }
    95% {
        background: rgba(255, 255, 255, 1.0);
        left: 50px;
        top: 50px;
        width: calc(100vw - 150px);
        height: calc(100vh - 150px);
    }
    100% {
        background: rgba(0, 0, 0, 0.9);
    }
}
@keyframes mentionPopupClose {
    0% {
        background: rgba(0, 0, 0, 0.9);
    }
    5% {
        background: rgba(255, 255, 255, 1.0);
        left: 50px;
        top: 50px;
        width: calc(100vw - 150px);
        height: calc(100vh - 150px);
    }
    100% {
        background: rgba(255, 255, 255, 0.0);
        left: 50vw;
        top: 50vh;
        width: 0px;
        height: 0px;
    }
}
@keyframes onlineStatus {
    0% {
        box-shadow: 0px 0px 1px green;
    }
    50% {
        box-shadow: 0px 0px 5px green;
    }
    100% {
        box-shadow: 0px 0px 1px green;
    }
}

/* Styles for responsive design */
@media (max-width: 700px) {
    .container {
        display: block;
        max-width: calc(100vw - 50px);
    }
    .left {
        display: block;
        width: calc(100% - 20px);
    }
    .right {
        display: block;
        width: calc(100% - 20px);
    }
    .content {
        display: block;
        width: calc(100% - 20px);
        margin-left: 0;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .footer {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .footer ul {
        display: block;
    }
    .footer ul li {
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: center;
        display: block;
    }
    .post {
        max-width: none;
    }
    .post-content-container {
        left: 120px;
        width: calc(100% - 125px);
    }
    .post-content {
        overflow: visible;
    }
    .poster-info-additional {
        display: none;
    }
    .poster-info {
        max-width: 100px;
    }
    .post-functions {
        right: 0px;
        display: block;
    }

    #enter-multiman {
        width: calc(100% - 20px);
    }
    #enter-multiman img {
        width: auto;
        height: 150px;
    }
}
