/* ShoeMolding.com - Shared Stylesheet */

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  background: #f5f0e8;
}

a { color: #8B4513; }
a:visited { color: #5C2D0E; }
a:hover { color: #D2691E; text-decoration: underline; }

/* Header */
#header {
  background: #3B2F2F;
  border-bottom: 4px solid #8B4513;
  padding: 12px 20px;
  color: #f5f0e8;
}
#header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: normal;
  letter-spacing: 1px;
}
#header h1 a { color: #f5f0e8; text-decoration: none; }
#header h1 a:hover { color: #D2B48C; }
#header .tagline {
  font-size: 11px;
  color: #C4A882;
  margin-top: 2px;
}

/* Navigation */
#nav {
  background: #4A3728;
  border-bottom: 2px solid #6B4226;
  padding: 0 20px;
  overflow-x: auto;
  white-space: nowrap;
}
#nav a {
  display: inline-block;
  color: #D2B48C;
  text-decoration: none;
  padding: 8px 14px;
  font-size: 12px;
  border-right: 1px solid #5C3D2E;
}
#nav a:first-child { border-left: 1px solid #5C3D2E; }
#nav a:hover { background: #5C3D2E; color: #fff; }

/* Mobile nav toggle */
#nav-toggle {
  display: none;
  background: #4A3728;
  color: #D2B48C;
  border: 1px solid #6B4226;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Layout */
#wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 11px;
  color: #999;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px dotted #ccc;
}
.breadcrumb a { color: #8B4513; font-size: 11px; }

/* Page Title */
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  color: #3B2F2F;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid #D2B48C;
  font-weight: normal;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  color: #4A3728;
  margin: 22px 0 10px 0;
  font-weight: normal;
}

h4 {
  font-size: 14px;
  color: #5C3D2E;
  margin: 16px 0 8px 0;
}

/* Content */
p { margin-bottom: 12px; }

ul, ol {
  margin: 0 0 14px 24px;
}
li { margin-bottom: 4px; }

/* Info box / callout */
.infobox {
  background: #fff8e7;
  border: 1px solid #D2B48C;
  border-left: 4px solid #8B4513;
  padding: 12px 14px;
  margin: 16px 0;
  font-size: 12px;
}
.infobox strong { color: #5C3D2E; }

/* Table */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 14px 0;
  font-size: 12px;
}
th {
  background: #4A3728;
  color: #f5f0e8;
  padding: 8px 10px;
  text-align: left;
  font-weight: normal;
  font-size: 12px;
}
td {
  border: 1px solid #d5c9b1;
  padding: 7px 10px;
  background: #fffdf7;
}
tr:nth-child(even) td { background: #f7f1e5; }

/* Related Guides sidebar box */
.related-guides {
  background: #fffdf7;
  border: 1px solid #D2B48C;
  padding: 14px;
  margin-top: 28px;
}
.related-guides h3 {
  font-size: 15px;
  margin: 0 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid #D2B48C;
}
.related-guides ul {
  margin: 0;
  list-style: none;
}
.related-guides li {
  padding: 4px 0;
  border-bottom: 1px dotted #e0d5c3;
}
.related-guides li:last-child { border-bottom: none; }

/* External links */
.ext-links {
  font-size: 11px;
  color: #888;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px dotted #ccc;
}
.ext-links a { font-size: 11px; }

/* Footer */
#footer {
  background: #3B2F2F;
  color: #A89279;
  text-align: center;
  padding: 14px 20px;
  font-size: 11px;
  margin-top: 30px;
  border-top: 4px solid #8B4513;
}
#footer a { color: #D2B48C; }

/* Homepage grid */
.section-group {
  margin-bottom: 24px;
}
.section-group h3 {
  background: #4A3728;
  color: #f5f0e8;
  padding: 8px 12px;
  font-size: 14px;
  margin: 0 0 2px 0;
  border: none;
}
.section-group ul {
  list-style: none;
  margin: 0;
  background: #fffdf7;
  border: 1px solid #D2B48C;
  border-top: none;
  padding: 10px 14px;
}
.section-group li {
  padding: 4px 0;
  border-bottom: 1px dotted #e0d5c3;
}
.section-group li:last-child { border-bottom: none; }

/* Responsive */
@media screen and (max-width: 600px) {
  body { font-size: 14px; }
  #header { padding: 10px 14px; }
  #header h1 { font-size: 20px; }
  #wrapper { padding: 14px; }
  h2 { font-size: 19px; }
  h3 { font-size: 16px; }
  table { font-size: 13px; }
  th, td { padding: 6px 8px; }

  #nav-toggle { display: block; }
  #nav {
    display: none;
    padding: 0;
  }
  #nav.open {
    display: block;
  }
  #nav a {
    display: block;
    border-right: none;
    border-bottom: 1px solid #5C3D2E;
    padding: 10px 14px;
    white-space: normal;
  }
  #nav a:first-child { border-left: none; }
}
