/* webstriker – DNS/IP-værktøjer
 * Den egen Bootstrap-build (Custom-webstriker-bootstrap.css) har ikke Bootstraps
 * utility-klasser med, så de få vi bruger er defineret her. */

.ws-mono {
    font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: .875em;
    word-break: normal;
    overflow-wrap: anywhere;
}
.card { background-color: #fff; }
.table th { white-space: nowrap; }
.ws-prop td { min-width: 9rem; }
.ws-prop td .badge { margin-right: .25rem; }

/* farver */
.bg-primary   { background-color: #4d6c79 !important; }
.bg-secondary { background-color: #6c757d !important; }
.bg-success   { background-color: #198754 !important; }
.bg-danger    { background-color: #dc3545 !important; }
.bg-warning   { background-color: #ffc107 !important; }
.bg-info      { background-color: #0dcaf0 !important; }
.bg-light     { background-color: #e9ecef !important; }
.text-white   { color: #fff !important; }
.text-dark    { color: #212529 !important; }
.text-muted   { color: #6c757d !important; }
.text-danger  { color: #dc3545 !important; }
.text-reset   { color: inherit !important; }
.text-decoration-none { text-decoration: none !important; }
.fw-normal    { font-weight: 400 !important; }

/* layout */
.d-block   { display: block !important; }
.d-flex    { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.gap-1     { gap: .25rem !important; }
.align-middle { vertical-align: middle !important; }
.align-top    { vertical-align: top !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.table.align-middle td, .table.align-middle th { vertical-align: middle; }
.table.align-top td, .table.align-top th { vertical-align: top; }

/* layout: navigation, footer, ads, articles */
.ws-navbar { background-color: #4d6c79; }
.ws-navbar .navbar-brand { color: #fff; }
.ws-main { padding-bottom: 2rem; }
.ws-footer { border-top: 1px solid #c8d1d9; padding: 1.5rem 0 2rem; font-size: .9rem; }
.ws-ad { margin: 1.25rem 0; }
/* Show the label (and spacing) only when Google has filled the slot with an ad */
.ws-ad-label { display: none; }
.ws-ad:has(ins.adsbygoogle[data-ad-status="filled"]) .ws-ad-label { display: block; }
.ws-ad:not(:has(ins.adsbygoogle[data-ad-status="filled"])) { margin: 0; }
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ws-ad-label { font-size: .7rem; color: #6c757d; text-transform: uppercase; letter-spacing: .05em; }
.ws-learn { font-size: .8rem; font-weight: 400; margin-left: .5rem; }
.ws-article { background: #fff; border-radius: .25rem; padding: 1.5rem; max-width: 50rem; }
.ws-article h2 { font-size: 1.35rem; margin-top: 1.75rem; }
.ws-article li { margin-bottom: .25rem; }
.ws-pre { background: #f1f3f5; padding: .75rem 1rem; border-radius: .25rem; white-space: pre-wrap; word-break: break-all; font-size: .85rem; }
.ws-try { background: #eef2f5; padding: 1rem; border-radius: .25rem; }
.h-100 { height: 100% !important; }
.ms-auto { margin-left: auto !important; }
.text-center { text-align: center !important; }

body { padding-top: 0; }

/* records table: keep the name column on one line */
.ws-rr td:nth-child(2), .ws-rr td:nth-child(3) { white-space: nowrap; overflow-wrap: normal; }
