/* Blueprint Grid 2.2
 * https://www.blueprintgrid.com 
 * Author: Brad Fogelstrom
 * License: MIT
*/

/* B3Grid */
@import url('methods/b3grid.css');
@import url('methods/b3grid-express.css');

/* CSS Grid */
@import url('methods/css-grid.css');

/* Bento Grid */
@import url('methods/bento-grid.css');

/* cHaOs GrId */
@import url('methods/chaos-grid.css');

/* PRINT Grid */
@import url('methods/print-grid.css');

/* MEDIA QUERIES */
@import url('methods/media-queries.css');

/* PolyGrid */
@import url('methods/polygrids.css');
@import url('methods/isogrid.css');

/* BOOTSTRAP Grid Support */
@import url('methods/bootstrap-grid.css');

h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.site-title {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
    background-color: #e6e6e6;
    padding: 0.25rem 0.5rem !important;
    margin: 1rem auto !important;
}
.results-cat-list {font-weight: 600; font-size: 1.33rem; background: #000; border-top: 2px solid #ffff00; border-bottom: 2px solid #ffff00; }
.results-cat-list li{border: 1px solid #ffff00;}
.results-cat-list li,.results-cat-list li a {border-radius: 6px; -webkit-border-radius: 6px; padding: 6px !important; margin: 0.25rem !important; }
.results-cat-list li a:link,.results-cat-list li a:visited { color: #ffff00;}
.results-cat-list li a:hover {color:#000; background: #ffff00;}
h4.results-cat {font-size: 3rem; font-weight: 600; }
.results-list {list-style: none; display: flex; flex-wrap: wrap; flex-direction: row;
	font-size: 1.25rem; list-style-position: inside; padding-left: 0;
}
.results-list li {margin-right: 3px; padding: 0;line-height: 1em; flex-basis: 33%;
  width: 33%;
  margin: 0;
  padding: 0;}
.results-list li i.bi {padding: 1px; border: 1px solid #000; border-radius: 3px; -webkit-border-radius: 3px;}
.results-list li i.bi::before{width: 1.5em; text-align: center;}
.result .half, .full {
  border: 2px solid #333;
  padding: 1.25em;
  background: #e6e6e6;
}
.result .third {
  border-left: 2px solid #333;
  padding: 1.25em;
  background: #e6e6e6;
}
.result .two-thirds {
  border-left: 2px solid #333;
  border-right: 2px solid #333;
  padding: 1.25em;
  background: #e6e6e6;
}
table.brutalist {
    border-collapse: collapse;
    width: 100%;
    font-family: monospace;
    background: #fff;
}

table.brutalist th,
table.brutalist td {
    border: 3px solid #000;
    padding: 10px 14px;
}

table.brutalist th {
    background: #000;
    color: #fff;
    text-align: left;
}

table.brutalist td.count {
    text-align: right;
    font-weight: bold;
}

table.brutalist td.lang i {
    font-size: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

table.brutalist tr:nth-child(even) {
    background: #f1f1f1;
}

table.brutalist tr:hover {
    background: #ffe600;
}
.nb-alert {
    border: 4px solid #333;
    padding: 14px 18px;
    margin: 20px 0;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 6px 6px 0 #000;
    width: 100%;
}

.banners {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    padding: 0 4px;
    overflow: hidden;
}

.banner {
    flex: 1 1 auto !important;
    max-width: 100% !important;
    min-width: 150px;
    box-sizing: border-box;
}

.banner img {
    width: 100% !important;
    height: auto !important; 
    display: block;
}

.count {
    position: relative;
    padding: 0.35em 0.6em;
    text-align: right;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
}

.nb-bar .bar {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    opacity: 0.85;
    z-index: 0;
}

.nb-bar .val {
    position: relative;
    z-index: 1;
}

.nb-success .bar { background-color: #2ECC40; }
.nb-warning .bar { background-color: #FFD700; }
.nb-error   .bar { background-color: #FF4136; }

.nb-success .val { color: #2E2E2E; }
.nb-warning .val { color: #2E2E2E; }
.nb-error   .val { color: #E6E6E6; }

.nb-warning { background-color: #FFD700; color: #2E2E2E; }
.nb-error   { background-color: #FF4136; color: #E6E6E6; }
.nb-success { background-color: #2ECC40; color: #2E2E2E; }

.bs-warning { color: #FFD700; }
.bs-error   { color: #FF4136; }
.bs-success { color: #2ECC40; }

.search-pane .nb-input {
    width: 100%;
    padding: 16px;
    font-size: 1.2rem;
    border: 3px solid #333;
    background: #fff;
    box-shadow: 4px 4px 0 #000;
    margin-bottom: 16px;
}
.search-pane .nb-input-small {
    width: 75%;
    padding: 16px;
    font-size: 1.2rem;
    border: 3px solid #333;
    background: #fff;
    box-shadow: 4px 4px 0 #000;
    margin-bottom: 16px;
}
.search-pane .nb-btn {
    border: 3px solid #333;
    padding: 16px;
    font-weight: bold;
    box-shadow: 4px 4px 0 #000;
    cursor: pointer;
    background:#ffd600;
    margin: 0 8px;
}
.search-pane .nb-btn:hover { transform:translate(2px,2px); box-shadow:2px 2px 0 #000; }
.search-pane .nb-btn.alt { background:#9cff57; }

body.infinitile {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main, .content-wrap {
    flex: 1 0 auto; 
}
.header-nosticky  {
  border: 2px solid #000;
  padding: 1.25em;
  background: #fff;
}
footer, .footer-pane {
    flex-shrink: 0;
}

.nb-btn:hover { transform:translate(2px,2px); box-shadow:2px 2px 0 #000; }
.alt { background:#9cff57; }
.nb-btn {
    border: 3px solid #333;
    padding: 16px;
    font-weight: bold;
    box-shadow: 4px 4px 0 #000;
    cursor: pointer;
    background:#ffd600;
    margin: 0 8px;
}
.nb-input-small {
    width: 75%;
    padding: 16px;
    font-size: 1.2rem;
    border: 3px solid #333;
    background: #fff;
    box-shadow: 4px 4px 0 #000;
    margin-bottom: 16px;
}
.nb-disabled-btn {
    border: 3px solid #333;
    padding: 16px;
    font-weight: bold;
    box-shadow: 4px 4px 0 #000;
    cursor: pointer;
    background: #ffffff;
    margin: 0 8px;
}
.top-link {
    position: fixed;
    right: 12px;
    bottom: 12px;

    font-family: "Courier New", monospace;
    font-weight: bold;
    font-size: 14px;

    background: #e6e6e6;
    color: #000;

    border: 3px solid #000;
    padding: 6px 10px;

    text-decoration: none;
    box-shadow: 4px 4px 0 #000;

    opacity: 1;
}

.js .top-link {
    opacity: 0;
    pointer-events: none;
}

.js .top-link.visible {
    opacity: 1;
    pointer-events: auto;
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #fff;
    padding: 1.5rem;
    max-width: 85%;
    box-shadow: 4px 4px 0 #000;
    width: 500px;
    transform: translateY(-10px);
    transition: transform 0.25s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: 0;
    font-size: 1.5rem;
    cursor: pointer;
}