/* Smoke Vent Solutions - static site styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #eceef0;
  font-size: 15px;
}
a { color: #b81f24; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 15px; }

/* Top bar */
.topbar { background: #1f2937; color: #cbd5e1; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #cbd5e1; }
.topbar strong { color: #fff; }

/* Header */
header.site-header { background: #fff; border-bottom: 3px solid #b81f24; }
header.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 15px; padding-bottom: 15px; }
.logo img { max-height: 90px; }
.header-contact { text-align: right; font-size: 14px; color: #555; }
.header-contact .phone { font-size: 24px; font-weight: 700; color: #b81f24; }

/* Navigation */
nav.main-nav { background: #b81f24; }
nav.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; }
nav.main-nav li { position: relative; }
nav.main-nav > ul > li > a {
  display: block; color: #fff; padding: 13px 16px; font-weight: 600;
  font-size: 14px; text-transform: uppercase; letter-spacing: .3px;
}
nav.main-nav > ul > li > a:hover { background: #8f171b; text-decoration: none; }
nav.main-nav li.active > a { background: #8f171b; }
nav.main-nav ul ul {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #8f171b; flex-direction: column; z-index: 50; box-shadow: 0 6px 14px rgba(0,0,0,.2);
}
nav.main-nav li:hover > ul { display: flex; }
nav.main-nav ul ul li a { display: block; color: #fff; padding: 11px 16px; font-size: 13px; text-transform: none; border-bottom: 1px solid rgba(255,255,255,.12); }
nav.main-nav ul ul li a:hover { background: #6f1216; text-decoration: none; }

/* Layout */
.layout { display: flex; gap: 30px; margin: 25px auto; align-items: flex-start; }
main.content { flex: 1 1 auto; background: #fff; padding: 28px 32px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.08); min-width: 0; }
aside.sidebar { flex: 0 0 300px; }

/* Breadcrumb */
.breadcrumb { font-size: 12px; color: #888; margin-bottom: 14px; }
.breadcrumb a { color: #888; }

/* Content typography */
main.content h1 { color: #1f2937; font-size: 27px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #eee; }
main.content h2 { color: #b81f24; font-size: 21px; margin: 24px 0 12px; }
main.content h3 { color: #1f2937; font-size: 19px; margin: 22px 0 10px; }
main.content h4 { color: #b81f24; font-size: 17px; margin: 20px 0 8px; }
main.content h5 { color: #555; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; margin: 18px 0 8px; }
main.content p { margin-bottom: 14px; }
main.content ul, main.content ol { margin: 0 0 16px 22px; }
main.content li { margin-bottom: 6px; }
main.content img { border-radius: 3px; }
main.content hr { border: 0; border-top: 1px solid #e3e3e3; margin: 22px 0; }
blockquote {
  border-left: 4px solid #b81f24; background: #faf3f3; padding: 12px 18px;
  margin: 16px 0; font-style: italic; color: #555;
}
.img-left { float: left; margin: 0 18px 12px 0; max-width: 250px; }
.img-right { float: right; margin: 0 0 12px 18px; max-width: 250px; }
.clearfix::after { content: ""; display: table; clear: both; }

/* Hero */
.hero { position: relative; background: #1f2937; color: #fff; }
.hero img { width: 100%; display: block; opacity: .55; max-height: 380px; object-fit: cover; }
.hero-caption { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; }
.hero-caption .container { color: #fff; }
.hero-caption h1 { font-size: 34px; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.hero-caption ul { list-style: none; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero-caption li { font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.hero-caption li::before { content: "\2713  "; color: #ffd34d; }

.hero-fallback { background: linear-gradient(135deg, #b81f24 0%, #6f1216 100%); padding: 55px 0; }
.hero-fallback h1 { color: #fff; font-size: 34px; }

/* Buttons */
.btn {
  display: inline-block; background: #b81f24; color: #fff !important; padding: 11px 22px;
  border-radius: 3px; font-weight: 600; margin: 6px 8px 6px 0;
}
.btn:hover { background: #8f171b; text-decoration: none; }
.btn.alt { background: #1f2937; }
.btn.alt:hover { background: #111827; }

/* Feature columns */
.cols { display: flex; gap: 26px; flex-wrap: wrap; }
.cols > div { flex: 1 1 260px; }

/* Regs badges */
.reg-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none !important; margin-left: 0 !important; }
.reg-list li { background: #f1f3f5; border: 1px solid #dde1e5; border-radius: 3px; padding: 8px 14px; font-weight: 600; color: #444; }

/* Callout box */
.callout { background: #fff7e6; border: 1px solid #ffe1a8; border-left: 4px solid #f0a500; padding: 14px 18px; margin: 18px 0; border-radius: 3px; }
.callout.danger { background: #fdecec; border-color: #f5b5b5; border-left-color: #b81f24; }

/* Sidebar widgets */
.widget { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.08); margin-bottom: 20px; overflow: hidden; }
.widget h3 { background: #1f2937; color: #fff; font-size: 15px; padding: 11px 16px; text-transform: uppercase; letter-spacing: .4px; }
.widget .widget-body { padding: 15px 16px; font-size: 14px; }
.widget ul { margin: 0 0 10px 18px; }
.widget li { margin-bottom: 5px; }
.social a { display: inline-block; margin-right: 6px; }
.social img { width: 30px; height: 30px; }
.contact-phone { font-size: 22px; font-weight: 700; color: #b81f24; }

/* News */
.news-item { border-bottom: 1px solid #e6e6e6; padding-bottom: 22px; margin-bottom: 26px; }
.news-item:last-child { border-bottom: 0; }

/* Footer */
footer.site-footer { background: #1f2937; color: #9aa5b1; font-size: 13px; padding: 22px 0; text-align: center; }
footer.site-footer a { color: #cbd5e1; }
.to-top { display: block; margin-top: 8px; }

/* Service table */
table.svc { width: 100%; border-collapse: collapse; }
table.svc td, table.svc th { border: 1px solid #e0e0e0; padding: 10px 12px; text-align: left; }
table.svc th { background: #f5f5f5; }

/* Responsive */
@media (max-width: 860px) {
  .layout { flex-direction: column; }
  aside.sidebar { flex: 1 1 auto; width: 100%; }
  nav.main-nav > ul { flex-direction: column; }
  nav.main-nav ul ul { position: static; box-shadow: none; }
  nav.main-nav li:hover > ul { display: block; }
  .header-contact { text-align: left; margin-top: 10px; }
}

/* james fixes */
.main-nav a {
    color:#fff;
}

nav.main-nav ul {
    justify-content:space-between;
}

header.site-header {
    background:#eeeeee;
}

@media only screen and (max-width:600px) {
    .main-nav li {
        padding-left:10px;
        padding-right:10px;
    }
    nav.main-nav ul {
    justify-content:initial;
}
}
