/*
   Keep It Somewhere - keepitsomewhere.com
   A self-storage company website. It should look like a self-storage
   company website: competent, dated, built once in about 2011 and
   touched since only when a price changed. Nothing here should be
   interesting. That is the point.
*/

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #e8e8e4;
}

img { max-width: 100%; height: auto; }

a { color: #1a5490; }

.wrap {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

/* Header */

.topbar {
    background: #1a5490;
    color: #fff;
    font-size: 12px;
    padding: 6px 20px;
    text-align: right;
}

.topbar strong { color: #ffd34d; }

.header {
    padding: 18px 20px;
    border-bottom: 3px solid #1a5490;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #1a5490;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.logo span { color: #f08a24; }

.tagline {
    font-size: 13px;
    font-style: italic;
    color: #777;
    margin: 2px 0 0;
}

.phone {
    text-align: right;
    font-size: 13px;
    color: #555;
}

.phone strong {
    display: block;
    font-size: 19px;
    color: #1a5490;
}

/* Navigation */

.nav {
    background: #f0f0ec;
    border-bottom: 1px solid #ccc;
    padding: 0 10px;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.nav a {
    display: block;
    padding: 11px 15px;
    color: #1a5490;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    border-right: 1px solid #ddd;
}

.nav a:hover, .nav a.on { background: #1a5490; color: #fff; }

/* Banner */

.banner {
    background: #d4e4f0;
    border-bottom: 1px solid #b8d0e4;
    padding: 26px 20px;
    text-align: center;
}

.banner h1 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #1a5490;
}

.banner p { margin: 0; color: #555; }

.main { padding: 24px 20px 34px; }

h2 {
    color: #1a5490;
    font-size: 18px;
    margin: 28px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

h2:first-child { margin-top: 0; }

h3 { font-size: 15px; color: #444; margin: 20px 0 6px; }

.cols {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.col { flex: 1; min-width: 240px; }

/* Boxes and tables */

.box {
    background: #f7f7f3;
    border: 1px solid #ddd;
    padding: 14px 16px;
    margin: 16px 0;
}

.box h3 { margin-top: 0; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 13px;
}

th {
    background: #1a5490;
    color: #fff;
    text-align: left;
    padding: 9px 10px;
}

td {
    padding: 9px 10px;
    border-bottom: 1px solid #e2e2e2;
}

tr:nth-child(even) td { background: #f7f7f3; }

.btn {
    display: inline-block;
    background: #f08a24;
    color: #fff;
    padding: 9px 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    border: 1px solid #d4761a;
}

.btn:hover { background: #d4761a; color: #fff; }

ul.ticks { list-style: none; padding: 0; }

ul.ticks li {
    padding: 3px 0 3px 20px;
    position: relative;
}

ul.ticks li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #4a8a3a;
    font-weight: bold;
}

.note { font-size: 12px; color: #777; }

/* Footer */

.footer {
    background: #333;
    color: #bbb;
    padding: 20px;
    font-size: 12px;
}

.footer a { color: #8ab4d8; }

.footer-cols {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.footer-cols div { flex: 1; min-width: 180px; }

.footer h4 {
    color: #fff;
    font-size: 13px;
    margin: 0 0 7px;
}

.footer ul { list-style: none; margin: 0; padding: 0; }

.footer li { padding: 2px 0; }

.copyright {
    border-top: 1px solid #4a4a4a;
    padding-top: 12px;
    color: #888;
}

/* Unit 314 - the camera page. Deliberately plain: this is an internal
   monitoring page, not a designed one. */

.cam-page {
    background: #2a2a2a;
    color: #ccc;
    font-family: 'Courier New', Courier, monospace;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.cam-head {
    background: #1a1a1a;
    border-bottom: 1px solid #444;
    padding: 12px 18px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.cam-head strong { color: #fff; }

.cam-wrap { max-width: 860px; margin: 0 auto; padding: 24px 18px 60px; }

.cam-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.cam-live { color: #c0392b; }

.cam-feed {
    background: #000;
    border: 1px solid #444;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cam-feed img { width: 100%; height: 100%; object-fit: cover; }

.cam-stamp {
    position: absolute;
    top: 10px;
    left: 12px;
    font-size: 11px;
    color: #eee;
    text-shadow: 0 1px 2px #000;
}

.cam-stamp-r {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 11px;
    color: #eee;
    text-shadow: 0 1px 2px #000;
}

.cam-ended {
    font-size: 13px;
    color: #777;
    letter-spacing: 0.1em;
}

.cam-log {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.9;
    color: #999;
}

.cam-log div { border-bottom: 1px solid #383838; padding: 3px 0; }

.cam-log .t { color: #666; margin-right: 14px; }

@media (max-width: 620px) {
    .header, .phone { text-align: left; }
    .nav a { padding: 10px 12px; }
}
