/*
 * responsive.custom.css is for custom media queries that are not set via the
 * theme settings, such as cascading media queries.
 *
 * By default all the other responsive stylesheets used in Adaptivetheme use a
 * "stacking method", however cascading media queries use a waterfall method so
 * you can leverage the cascade and inheritance for all browsers that support
 * media queries, regardless of screen size.
 *
 * @SEE http://zomigi.com/blog/essential-considerations-for-crafting-quality-media-queries/#mq-overlap-stack
 *
 * NOTE: this file loads by default, to disable got to your theme settings and
 * look under the "CSS" settings tab.
 */
/*
 * Really small screens and up
 */
/* @media only screen and (min-width: 220px) {} */
/*
 * Smartphone sizes and up
 */
/* @media only screen and (min-width: 320px) {} */
/*
 * Smartphone sizes and down
 */
@media only screen and (max-width: 480px) {
  body.toolbar {
    padding-top: 0 !important;
  }

  /*
   * Float Region blocks example:
   * In smaller screen sizes we can remove the float and widths so all blocks
   * stack instead of displaying horizonally. The selector used here is an
   * "attribute selector" which will match on any float block class. Use your
   * inspector or Firebug to get the classes from the page output if you need
   * more granular control over block alignment and stacking.
   *
   * "Float Region blocks" is an extension for floating blocks in regions, see
   * your themes appearance settings, under the Extensions tab.
   */
  .region[class*="float-blocks"] .block {
    float: none;
    width: 100%;
  }

  .commons-bw-create-all-widget-types {
    left: auto;
  }

  .page-node-add #edit-additional-settings {
    width: 100%;
    position: static;
  }

  .page-node-add .field-type-taxonomy-term-reference-form {
    width: 100%;
    position: static;
  }

  #toolbar {
    position: static;
    margin: 0;
    padding: 0;
  }

  #toolbar-user {
    position: absolute;
    height: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
  }

  div#panels-ipe-control-container {
    display: none !important;
  }

  #quicktabs-container-commons_bw .quicktabs-tabpage .view-filters,
  #quicktabs-container-commons_bw .quicktabs-tabpage .attachment-before {
    float: none;
    display: block;
  }

  #quicktabs-commons_follow_ui .quicktabs-style-commons-tabs li {
    display: block;
  }

  .view-commons-follow-node .views-field-ops,
  .view-commons-follow-node .views-field-ops-1,
  .view-commons-follow-user .views-field-ops,
  .view-commons-follow-user .views-field-ops-1,
  .view-commons-follow-taxonomy-term .views-field-ops,
  .view-commons-follow-taxonomy-term .views-field-ops-1 {
    width: 33.333%;
  }

  .primary-fields,
  .supplementary-fields {
    display: block;
    float: none;
    width: auto;
    padding: 0;
  }

  #hero a.btn-login {
    margin: 0 14px;
  }
}
/*
 * Tablet sizes and down
 */
@media only screen and (max-width: 768px) {
  .quicktabs-style-commons-pills ul.quicktabs-tabs li a {
    font: 0/30px a;
    color: transparent;
    text-align: center;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    padding: 0;
  }
  .quicktabs-style-commons-pills ul.quicktabs-tabs li a:before {
    margin-right: 0;
    vertical-align: middle;
  }

  .view-featured-products .view-header span {
    display: block;
  }
}
/*
 * Tablet sizes and up
 */
@media only screen and (min-width: 768px) {
  body.front.not-logged-in .region-three-33-top {
    margin-bottom: 24px;
    min-height: 300px;
  }

  #hero a.btn-crowdsourced-classes {
    margin-top: 20px;
  }
  #hero a.btn-login {
    margin: 20px 0 0;
    width: 262px;
  }

  #page {
    top: initial;
    margin-top: 25px;
  }

  .page-home #hero-bottom {
    padding-bottom: 20px;
  }

  .custom-block-nearyou {
    max-width: 570px;
    margin: 0;
    margin-top: 200px;
    background-color: transparent;
  }
}
@media only screen and (min-width: 600px) and (max-width: 768px) {
  #hero .btn-crowdsourced-classes {
    margin-top: 20px;
  }
  #hero .btn-login {
    margin: 20px 0 0 0;
    width: 262px !important;
  }
}
@media only screen and (min-width: 960px) {
  #hero .btn-crowdsourced-classes {
    margin-top: 0 !important;
  }
  #hero .btn-login {
    margin: 20px 0 0 -49px !important;
    width: 212px !important;
  }
}
@media only screen and (min-width: 990px) and (max-width: 1102px) {
  #menu-bar.nav ul.menu li a {
    padding: 1.9375em 0.4125em 9999em;
  }

  #desktop-menu .desktop-extra-menu .btn-red-new {
    padding: 12px;
  }
}
