@media only screen and (max-width: 900px) {

   header .logo  { left: 36px; }
   #page-title h1 { font: 46px/60px Century Gothic,CenturyGothic,AppleGothic,sans-serif; }

   #page-content { width: 80%; }

   #primary, #secondary {
      float: none;
      width: 100%;
   }
   #sidebar { padding: 0; }

   #sidebar .link-list li {
      display: inline-block;
   }
   #sidebar .link-list li a {
      border: none;
      color: #8d8d8d;
      display: inline-block;
   }
   #sidebar .link-list li:before {
      content: "|";
      padding-left: 6px;
      padding-right: 6px;
      color: #D4D4D4;
   }
   #sidebar .link-list  li:first-child:before {
      display: none;
   }
    #sidebar .link-list  li:first-child {
      margin-left: 6px;
   }

   .slider-text h1 { font: 46px/60px Century Gothic,CenturyGothic,AppleGothic,sans-serif; }

   .portfolio .entry-details { padding-right: 20px; }
   .portfolio #portfolio-wrapper { margin-top: 24px; }
   .portfolio .portfolio-list {
      padding-right: 0;
      padding-left: 0;
   }

}

@media only screen and (max-width: 767px) {

   #nav-wrap {
      width: auto;
      margin: 0;

      position: absolute;
      top: 0;
      right: 0;
   }
   #nav-wrap > a {
	   width: 48px;
		height: 48px;
		text-align: left;
		background-color: transparent;
		position: relative;

      border: none;
      float: right;

      font: 0/0 a;
      text-shadow: none;
      color: transparent;

      position: relative;
      top: 36px;
      right: 36px;
   }

	#nav-wrap > a:before,
   #nav-wrap > a:after {
	   position: absolute;
		border: 2px solid #000000;
		top: 35%;
		left: 25%;
		right: 25%;
		content: '';
	}
   #nav-wrap > a:after { top: 60%; }

	#nav-wrap:not( :target ) > a:first-of-type,
	#nav-wrap:target > a:last-of-type  {
	   display: block;
	}

   #nav-wrap ul#nav {
      height: auto;
		display: none;
      clear: both;

      width: auto;

      position: relative;
      top: 48px;
      right: 0px;
   }

	#nav-wrap:target > ul#nav	{
	   display: block;
      padding: 30px 20px 48px 20px;
      background: #141414;
      margin: 0 20px;
      clear: both;
      border-radius: 3px;
   }

   ul#nav li {
      width: 92%;
      display: block;
      height: auto;
      margin: 0 auto;
      text-align: left;
   }
   ul#nav  li {
      border-bottom: 1px solid #d4d4d4;
   }
   ul#nav li a {
      background-image: none;
      margin: 0;
      padding: 0;
      font-size: 14px;
      margin: 12px 0;
      line-height: 14px;
      border: none;
   }
   ul#nav span:after {
      left: 5px;
   }

   ul#nav ul {
      position: static;
      background: none;
      width: 100%;
      padding-left: 15px !important;

      opacity: 0;
   }
   ul#nav ul li {
      width: 100%;
      padding: 0;
      display: list-item;
      border: none;

      height: 0px;
	   overflow: hidden;
      border-bottom: 1px dotted #595B6A;
   }

   #nav li:hover > ul li { height: 30px; }
   #nav li:hover > ul li:last-child { margin-bottom: 9px; }

   #nav ul li a {
      white-space: normal;
      padding-left: 0px !important;
      color:#2b2b2b;
      font-weight: bold;
      font-size: 13px;
      font: 13px/27px raleway-regular, sans-serif;
      line-height: 30px;
   }

   #page-title h1 { font: 38px/48px Century Gothic,CenturyGothic,AppleGothic,sans-serif; line-height:25px; padding-bottom: 20px; padding-top: 10px; }
   #page-title p { font: 16px/30px notosans-regular, sans-serif; }

   #page-content {
      width: 480px;
      padding-top: 30px;
   }

   .page h1,
   .title-heading  { font: 32px/42px raleway-semibold, sans-serif; }
   .page h1, .page p.lead { text-align: center; }

   .slider-text {
     margin-top: 60px;
     margin-bottom: 30px;
     width: 95%;
   }
   .slider-text h1 { font: 38px/48px Century Gothic,CenturyGothic,AppleGothic,sans-serif; }
   .slider-text p { font: 15px/30px notosans-regular, sans-serif; }
   .slides .slider-image { width: 100%; }
   .slides { overflow: hidden; }

   footer .copyright li:before { content: none; }
   footer .copyright li { margin-right: 10px; }
   footer .copyright, footer .social-links {
      text-align: center;
      float: none;
   }

   footer .footer-nav {
      font: 15px/42px Century Gothic,CenturyGothic,AppleGothic,sans-serif;
      margin: 0;
      padding: 0 0 18px 0;
      text-align: center;
   }
   footer .footer-nav li {
      display: inline;
      margin-right: 12px;
      margin-left: 12px;
   }

   footer .footer-social {
     margin: 30px 0 12px 0;
     font-size: 23px;
     line-height: 36px;
   }
   footer .footer-social li {
      margin-left: 12px;
      margin-right: 12px;
   }

}

@media only screen and (max-width: 480px) {

   header .logo { z-index: 99999; }
   #page-content {
      width: auto;
   }

   #nav-wrap { width: 100%; }
   #nav-wrap ul#nav {
      top: 72px;
      right: 0px;
   }

   .slider-text { margin-top: 60px; margin-bottom: 27px; }
   .slider-text h1 { font: 32px/42px Century Gothic,CenturyGothic,AppleGothic,sans-serif; }
   .slider-text p { font: 14px/27px notosans-regular, sans-serif; }

   #journal .entry-title h3 {
      font-size: 28px;
      line-height: 36px;
   }
   footer { margin-top: 48px; }

   footer .footer-social { font-size: 22px; }
   footer .footer-social li {
      margin-left: 10px;
      margin-right: 10px;
   }

   .slider-image {
      width: 100%;
      margin: 0 auto;
   }

}



