/**** TABLET ****/
@media (min-width: 768px) and (max-width: 979px) {
  .row {
    margin-left: -20px;
    *zoom: 1; }

  .row:before,
  .row:after {
    display: table;
    line-height: 0;
    content: ""; }

  .row:after {
    clear: both; }

  .container {
    width: 724px; }

  .span12 {
    width: 724px; }

  .span11 {
    width: 662px; }

  .span10 {
    width: 600px; }

  .span9 {
    width: 538px; }

  .span8 {
    width: 476px; }

  .span7 {
    width: 414px; }

  .span6 {
    width: 352px; }

  .span5 {
    width: 290px; }

  .span4 {
    width: 228px; }

  .span3 {
    width: 166px; }

  .span2 {
    width: 104px; }

  .span1 {
    width: 42px; }

  .boxed {
    width: 764px; }

  .padding-right-20 {
    margin-right: 10px; }

  header {
    padding: 20px 0 0 0; }

  #branding {
    float: none;
    margin: 0 0 30px 0 !important; }

  header.dark #primary-nav {
    bottom: 0; }

  #primary-nav {
    position: relative;
    bottom: -3px;
    right: auto; }
    #primary-nav #primary-nav-list {
      float: none; }
      #primary-nav #primary-nav-list > li:first-child > a {
        padding-left: 2px; }

  .stack-title .stack-container {
    padding: 0 300px 0 0; }
  .stack-title .featured-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 250px; }
  .stack-title .mask {
    width: 250px; }
  .stack-title h1 {
    font-size: 24px;
    line-height: 1.25em; }
  .stack-title h1#post-title {
    font-size: 22px; }

  .page-content-stack .span8 .wrap {
    padding: 0 20px 0 0; }

  .quote-avatar {
    float: none !important;
    margin: 10px auto !important; }

  cite {
    text-align: center !important;
    margin: 0 !important; }

  .img-box .thumb-dummy {
    height: 126px; }
  .img-box .img-info {
    min-height: 175px; }
  .img-box .overlay {
    display: none; }
  .img-box:hover .corner-info {
    top: 0; }

  .stack-slider .slide-content {
    bottom: 40px; }
  .stack-slider .slidesjs-navigation {
    opacity: 0.2;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; }

  .stack-callout {
    font-size: 21px;
    line-height: 1.5em; }
    .stack-callout .button-primary {
      font-size: 16px; }
      .stack-callout .button-primary i {
        margin: 0 15px 0 0;
        font-size: 42px;
        float: left; }
      .stack-callout .button-primary small {
        font-size: 12px; }

  .stack-client .client-list img {
    max-width: 100px; }

  .stack-feature .feature-title {
    font-size: 15px; }
    .stack-feature .feature-title i {
      font-size: 18px; } }
/**** MOBILE ****/
@media only screen and (max-width: 767px) {
  .container {
    width: auto; }

  .row,
  .thumbnails {
    margin-left: 0; }

  .thumbnails > li {
    float: none;
    margin-left: 0; }

  [class*="span"],
  .uneditable-input[class*="span"],
  .row-fluid [class*="span"] {
    display: block;
    float: none;
    width: 100%;
    margin-left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }

  .span12,
  .row-fluid .span12 {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }

  .container {
    width: 290px; }

  .boxed {
    width: auto;
    padding: 0; }

  .padding-right-20 {
    margin-right: 0; }

  [class*='span'] {
    margin-bottom: 20px; }

  .m-carousel-control {
    display: none; }

  header {
    padding-bottom: 10px; }
    header #branding {
      float: none;
      text-align: center;
      margin: 0 0 20px 0; }
      header #branding img {
        margin: 0 auto; }
    header #primary-nav {
      position: relative;
      bottom: 0;
      right: auto;
      margin: 0 0 20px 0; }
    header #primary-nav-list {
      display: none; }
    header #tiny-nav {
      display: block; }
    header #social-box {
      position: relative;
      text-align: center;
      right: auto;
      top: auto; }
      header #social-box ul li {
        float: none;
        display: inline-block;
        margin: 0 5px 12px; }
    header.dark #primary-nav {
      bottom: 0; }

  #social-box ul li.phone a {
    padding: 0; }
    #social-box ul li.phone a span {
      display: none; }

  .sidebar {
    margin: 40px 0 0 0;
    padding: 0;
    border: none;
    clear: both; }

  .stack {
    padding: 15px 0; }

  .filter-wrap {
    margin: 0; }

  .stack-slider .slide-content {
    bottom: -3px;
    right: -3px; }
    .stack-slider .slide-content p {
      display: none; }
  .stack-slider .slide-desc {
    padding: 10px;
    text-align: left; }
  .stack-slider .slide-title {
    font-size: 15px;
    line-height: 1em; }
  .stack-slider img {
    top: 0 !important; }

  .stack-callout {
    font-size: 21px;
    line-height: 1.5em; }
    .stack-callout .button-primary {
      font-size: 16px;
      margin: 0 0 20px 0;
      float: none; }
      .stack-callout .button-primary i {
        margin: 0 15px 0 0;
        font-size: 42px;
        float: left; }
      .stack-callout .button-primary small {
        font-size: 12px; }

  .contact-pane {
    position: relative;
    margin: 0 auto;
    width: 290px;
    right: auto; }

  .stack-section-title {
    padding: 30px 0 20px 0; }
    .stack-section-title .stack-container {
      padding: 0; }
    .stack-section-title .featured-img {
      position: relative;
      width: auto;
      margin: 20px 0 0 0; }
    .stack-section-title .mask {
      display: none; }
    .stack-section-title h1 {
      font-size: 24px;
      line-height: 1.25em;
      padding: 0; }
    .stack-section-title h1#post-title {
      font-size: 20px; }
    .stack-section-title #page-breadcrumb {
      display: none; }

  .stack-page-blog h2.post-title {
    font-size: 18px;
    line-height: 1.5em; }

  .img-box .thumb-dummy {
    height: 220px; }
  .img-box .img-info {
    min-height: 120px; }
  .img-box .overlay {
    display: none; }
  .img-box:hover .corner-info {
    top: 0; }

  .slides .slidesjs-navigation {
    display: none; }
  .slides .slide-desc p {
    display: none; }
  .slides .container {
    width: 100%; }
  .slides .slide-desc {
    width: auto; }
  .slides .slide-content {
    left: 0 !important;
    right: auto !important;
    text-align: left !important;
    margin: 0 !important; }

  #footer-right {
    float: left;
    padding: 10px 0; }

  #footer-left {
    padding: 10px 0; } }
/**** VISIBLE & HIDDEN ****/
.visible-phone,
.visible-tablet,
.hidden-desktop {
  display: none !important; }

@media only screen and (max-width: 767px) {
  .visible-phone,
  .hidden-desktop,
  .hidden-tablet {
    display: inherit; }

  .visible-desktop,
  .visible-tablet,
  .hidden-phone {
    display: none !important; } }
@media (min-width: 768px) and (max-width: 979px) {
  .visible-tablet,
  .hidden-desktop,
  .hidden-phone {
    display: inherit; }

  .visible-desktop,
  .visible-phone,
  .hidden-tablet {
    display: none !important; } }
