.show-nav {
  background-color: #8b1e00;
  padding: 7px 0px;
  display: none;
  visibility: hidden;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  border-bottom: 1px solid black;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  font-family: 'Segoe UI', 'Myriad Pro', Arial, Helvetica, Sans-Serif;
}
.show-nav:hover {
  cursor: pointer;
  background-color: #711900;
  border-bottom: 1px solid #711900;
}
.show-nav:before {
  position: absolute;
  margin-left: -26px;
  margin-top: -5px;
  font-weight: bold;
  font-size: 20px;
  content: "≣";
}
@media screen and (max-width: 965px) {
  * {
    box-sizing: border-box;
  }
  textarea {
    resize: vertical;
  }
  #header {
    height: auto;
    background: none;
    border-top: 5px solid #a42400;
  }
  #header .header-content {
    width: 640px;
    position: static;
  }
  #header .header-content .nav,
  #header .header-content .experience,
  #header .header-content .contact,
  #header .header-content .logo {
    display: block;
    float: none;
    position: static;
    text-align: center;
    color: #fafafa;
  }
  #header .header-content .logo {
    margin: 20px auto 10px auto;
    border-radius: 2.5%;
    box-shadow: 0px 1px 7px 2px rgba(0, 0, 0, 0.95);
    -moz-transition: 0.35s ease-in-out box-shadow 0.15s;
    -o-transition: 0.35s ease-in-out box-shadow 0.15s;
    -webkit-transition: 0.35s ease-in-out box-shadow 0.15s;
    transition: 0.35s ease-in-out box-shadow 0.15s;
  }
  #header .header-content .logo:hover {
    box-shadow: 0px 1px 15px 4px rgba(0, 0, 0, 0.95);
    -moz-transition: 0.2s ease-in-out box-shadow;
    -o-transition: 0.2s ease-in-out box-shadow;
    -webkit-transition: 0.2s ease-in-out box-shadow;
    transition: 0.2s ease-in-out box-shadow;
  }
  #header .header-content .nav,
  #header .header-content .experience {
    margin-top: 20px;
  }
  #header .header-content .experience {
    font-style: italic;
    color: #dddddd;
    font-size: 24px;
    text-shadow: 2px 2px 0px #222222;
  }
  #header .header-content .nav {
    width: 640px;
    background-size: contain;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom: 2px solid #222222;
  }
  #header .header-content .nav a {
    padding: 0px 16px;
  }
  #header .header-content .nav a:hover {
    text-decoration: underline;
  }
  .content {
    width: 640px;
  }
  .content .sidebar,
  .content .main {
    float: none;
    width: auto;
  }
  .content .sidebar {
    padding: 20px 20px;
  }
  .content .sidebar.muted {
    background-color: #cccccc;
    border-top: 5px solid #eeeeee;
  }
  .content .sidebar .photos {
    text-align: center;
  }
  .content .sidebar .photos img {
    margin: 5px auto;
    width: 32.5%;
    margin-bottom: 0px;
  }
  .content .slideshow-box {
    margin-top: 0px;
    border: none;
    width: 638px;
    overflow: hidden;
    background: none;
    height: auto;
  }
  .content .slideshow-box .text {
    width: 100%;
    margin-bottom: 20px;
  }
  .content .slideshow-box .text p {
    margin-bottom: 20px;
  }
  .content .slideshow-box .badge,
  .content .slideshow-box .big-year,
  .content .slideshow-box .start-year,
  .content .slideshow-box .current-year {
    user-select: none;
    pointer-events: none;
  }
  .content .slideshow-box .badge {
    bottom: 50px;
  }
  .content .slideshow-box .big-year {
    bottom: 115px;
  }
  .content .slideshow-box .start-year {
    bottom: 177px;
  }
  .content .slideshow-box .current-year {
    bottom: 100px;
  }
  .content .slideshow-box .slideshow {
    width: 320px;
    z-index: 25;
  }
  #footer {
    width: 640px;
  }
  #footer .bysteps {
    clear: both;
  }
}
@media screen and (max-width: 670px) {
  #header {
    border-bottom: 5px solid #a42400;
  }
  #header .header-content {
    width: 100%;
    padding: 40px 0px 15px 0px;
  }
  #header .header-content .nav {
    margin: 0px;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: auto;
    width: 100%;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
  }
  #header .header-content .nav .show-nav {
    text-align: center;
    display: block;
    visibility: visible;
  }
  #header .header-content .nav a {
    height: 0px;
    overflow: hidden;
    opacity: 0;
    background-color: #a42400;
    width: 100%;
  }
  #header .header-content .nav a:hover,
  #header .header-content .nav a:active,
  #header .header-content .nav a:focus {
    outline: none;
    background-color: #8b1e00;
  }
  #header .header-content .nav.active a {
    opacity: 1;
    height: 45px;
    display: block;
    -moz-transition: 0.15s linear all;
    -o-transition: 0.15s linear all;
    -webkit-transition: 0.15s linear all;
    transition: 0.15s linear all;
  }
  #header .header-content .contact {
    text-overflow: ellipsis;
  }
  #header .header-content .experience {
    padding: 10px 5%;
  }
  .content,
  #footer {
    width: 100%;
  }
  .content img.logo,
  #footer img.logo,
  .content .bysteps,
  #footer .bysteps,
  .content .nav,
  #footer .nav {
    float: none;
    clear: both;
    display: block;
    margin: 10px auto;
    text-align: center;
  }
  .content .nav a,
  #footer .nav a {
    display: inline-block;
    margin: 0px auto 12px auto;
    float: none;
    border: none;
    padding: 10px 10px !important;
  }
  .content .nav a:hover,
  #footer .nav a:hover {
    background-color: rgba(0, 0, 0, 0.15);
  }
  .content .nav div,
  #footer .nav div {
    display: block;
    width: 100%;
    clear: both;
  }
  .content .sidebar h2 {
    margin: 25px auto 5px auto;
  }
  .content .slideshow-box {
    width: 100%;
  }
  .content .slideshow-box .text {
    margin: 0px auto;
    padding: 20px 10px;
    left: 0px;
    top: 0px;
    width: 100%;
  }
  .content .slideshow-box .badge,
  .content .slideshow-box .start-year,
  .content .slideshow-box .big-year,
  .content .slideshow-box .current-year {
    display: none;
  }
  .content .slideshow-box a.btn-b {
    height: auto;
    width: 90%;
    font-size: 18px;
    background: #9d2200;
    border: 1px solid white;
    outline: 2px solid #9d2200;
  }
  .content .highlight-box {
    max-width: 450px;
    min-width: 200px;
    width: auto;
    float: none;
    margin: 30px auto !important;
  }
}
@media screen and (max-width: 335px) {
  #header .header-content .logo {
    max-width: 245px;
    width: 100%;
    background-size: contain;
    box-shadow: none;
  }
  #header .header-content .nav a {
    float: none;
    width: 100%;
  }
  #header .header-content .contact a {
    padding: 6px;
    display: block;
  }
  .content .slideshow-box .text {
    padding: 20px 0px;
  }
  .content .slideshow-box .text p {
    padding: 10px 5px;
    background-color: rgba(0, 0, 0, 0.45);
    font-size: 15px;
    font-family: Arial, 'Segoe UI', Arial, sans-serif;
  }
  .content .slideshow-box .text a.btn-b {
    font-size: 12px;
  }
  .content .slideshow-box .slideshow {
    float: none;
    top: 0px;
    left: -100px;
  }
  .content .main .btn-b.home {
    width: 100%;
    height: auto;
    background: #a42400;
    border: 1px solid white;
    outline: 2px solid #a42400;
  }
  .content .main .box .membership a {
    text-align: center;
    width: 100%;
    height: auto;
    margin-bottom: 8px;
  }
  .content .main .box .membership a strong {
    display: block;
  }
  .content .sidebar .photos img {
    float: none;
    width: 100%;
  }
  .content .highlight-box {
    height: auto;
    padding-bottom: 10px;
  }
  .content .highlight-box .btn-a {
    width: 90%;
    background: white;
    border: 1px solid #cccccc;
    padding: 4px 0px;
    border-radius: 6px;
    height: auto;
  }
  img.right,
  .right {
    display: block;
    float: none;
    clear: both;
    width: 100%;
    margin: 10px auto;
  }
}
