/*
 * 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.
 *
 * @SEE http://zomigi.com/blog/essential-considerations-for-crafting-quality-media-queries/#mq-overlap-stack
 *
 * NOTE: this file loads by default, to disable go to your theme settings and
 * look under the "CSS" settings tab.
 */

/*
 * Really small screens and up
 */
/* @media only screen and (min-width: 220px) {} */

/*
 * Smalltouch sizes and up
 */
/* @media only screen and (min-width: 320px) {} */

/*
 * Smalltouch sizes and down
 */
@media only screen and (max-width: 480px) {
  /* 
   * Float Region Blocks - custom media query CSS example:
   * 
   * Float regions blocks is an Extension you can enable in the appearance
   * settings for your theme. This feature allows you to automatically float
   * blocks in regions, you can switch it on and off depending on your
   * requirements. For design purposes you many want to remove the floats for
   * devices where the entire theme is just one column - for example small
   * mobile phones. The following CSS is inside the custom media query:
   *
   *   @media only screen and (max-width: 480px){}
   *
   * This will target devices with a maximum width of 480px - most small phones.
   * In these smaller screen sizes we can remove the float and widths so all
   * blocks stack instead of displaying horizonally. The selector used 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.
   */
  .region[class*="float-blocks"] .block {
    float: none;
    width: 100%;
  }
}

/*
 * Tablet sizes and up
 */
@media only screen and (min-width: 1200px) {

}

@media only screen and (min-width: 1024px) and (max-width: 1199px) {
  #cover-art {
    padding: 0px;
  }
  #block-block-18 .block-inner .block-content .decorative-issue-number {
    background-size: 100px 75px;
    height: 100px;
    margin: 30px 20% 10px;
    -webkit-transition: height .2s;
    transition: height .2s;
  }
}

@media only screen and (min-width: 960px) and (max-width: 1023px) {
  /* home styles */
  .page-taxonomy-term-15 #columns {
    height: 100%;
  }
  .page-taxonomy-term-15 #content-column .content-inner {
    height: 100%;
    min-height: 100%;
    padding: 0px !important;
    margin: 0px !important;
  }
  #content-column {
    background: transparent;
    width: 84% !important;
    display: inline-block;
    float: left;
  }
  .region-sidebar-second {
    margin: 0px !important;
    margin-left: 0px !important;
  }
  #cover-art {
    padding: 0px;
    height: 100%;
  }
  iframe {
    width: 100%;
    height: 300px;
    max-height: 100%;
  }
  /* end home styles */

  .sidebar-second .content-inner {
    margin: auto !important;
  }
  .page-taxonomy-term-21 #content-column .content-inner {
    min-height: 0px;
  }
  #cover-art {
    height: auto;
    padding: 0px;
  }
  #block-block-18 .block-inner .block-content .decorative-issue-number {
    background-size: 100px 75px;
    height: 100px;
    margin: 30px 10% 10px;
    -webkit-transition: height .2s;
    transition: height .2s;
  }

  #columns {
    background: transparent !important;
  }

  #content-column {
    background: #807f7c;
    padding-bottom: 5px;
  }

  .not-front #content-column .content-inner {
    padding: 50px 75px;
  }
  .field-name-db-next-in-menu {
    margin-right: -80px;
  }

  .region-footer {
    width: 100%;
  }
  #footer section {
    width: 24.8% !important;
  }
  #footer section .block-content ul {
    padding: 0px;
  }
  #footer .social-icons {
    margin: 0px;
  }
  #footer section:nth-child(1) a {
    font-size: 9px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
  /* home styles */
  .page-taxonomy-term-15 #columns {
    height: 100%;
  }
  .page-taxonomy-term-15 #content-column .content-inner {
    height: 100%;
    min-height: 100%;
    padding: 0px !important;
    margin: 0px !important;
  }
  #content-column {
    background: transparent;
    width: 84% !important;
    display: inline-block;
    float: left;
  }
  .region-sidebar-second {
    margin: 0px !important;
    margin-left: 0px !important;
  }
  #cover-art {
    padding: 0px;
    height: 100%;
  }
  iframe {
    width: 100%;
    height: 300px;
    max-height: 100%;
  }
  /* end home styles */

  .sidebar-second .content-inner {
    margin: auto !important;
  }
  .page-taxonomy-term-21 #content-column .content-inner {
    padding: 0px !important;
    min-height: 0px;
  }
  #cover-art {
    height: auto;
    padding: 0px;
  }

  #block-block-18 .block-inner .block-content .decorative-issue-number {
    background-size: 100px 75px;
    height: 100px;
    margin: 30px 10% 10px;
    -webkit-transition: height .2s;
    transition: height .2s;
  }

  #columns {
    background: transparent !important;
  }

  #content-column {
    background: #807f7c;
    padding-bottom: 5px;
  }

  .not-front #content-column .content-inner {
    padding: 50px 75px;
  }
  .field-name-db-next-in-menu {
    margin-right: -80px;
  }

  .region-footer {
    width: 100%;
  }
  #footer section {
    width: 24.8% !important;
  }
  #footer section .block-content ul {
    padding: 0px;
  }
  #footer .social-icons {
    margin: 0px;
  }
  #footer section:nth-child(1) a {
    font-size: 9px;
  }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .region-header {
    height: 80px;
  }

  /* home styles */
  .page-taxonomy-term-15 #columns {
    height: 100%;
  }
  .page-taxonomy-term-15 #content-column .content-inner {
    height: 100%;
    min-height: 100%;
    padding: 0px !important;
  }
  .page-taxonomy-term-15 #content-column {
    background: transparent;
  }
  #cover-art {
    padding: 0px;
    height: 100%;
  }
  iframe {
    width: 100%;
    height: 300px;
    max-height: 100%;
  }
  /* end home styles */

  .sidebar-second .content-inner {
    margin: auto !important;
  }
  .page-taxonomy-term-21 #content-column .content-inner {
    padding: 0px !important;
    min-height: 0px;
  }
  #cover-art {
    height: auto;
    padding: 0px;
  }

  #columns {
    background: transparent !important;
  }

  #content-column {
    /* why?
    background: #807f7c;
    padding-bottom: 5px; */
  }

  .not-front #content-column .content-inner {
    padding: 50px 75px;
  }
  .field-name-db-next-in-menu {
    margin-right: -80px;
  }

  .region-sidebar-second {
    width: 95% !important;
    margin-left: 0 !important;
    margin: 0px auto !important;
    display: block;
    float: none;
    background: rgba(0,0,0,0.5);
  }
  .region-sidebar-second section .view-reviews-menu .views-row a.active, 
  .region-sidebar-second nav#block-menu-block-1 .block-inner ul li a.active,
  .region-sidebar-second section .view-reviews-menu .views-row a, 
  .region-sidebar-second nav#block-menu-block-1 .block-inner ul li a {
    text-align: center;
  }
  .region-footer {
    width: 100%;
  }
  #footer section {
    display: block;
    width: 95% !important;
    margin: 3%;
  }

  #footer .block-inner .block-content {
    height: 100% !important;
  }
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
  .region-header {
    height: 70px;
  }

  /* home styles */
  .page-taxonomy-term-15 #columns {
    height: 100%;
  }
  .page-taxonomy-term-15 #content-column .content-inner {
    height: 100%;
    min-height: 100%;
    padding: 0px !important;
  }
  .page-taxonomy-term-15 #content-column {
    background: transparent;
  }
  #cover-art {
    padding: 0px;
    height: 100%;
  }
  iframe {
    width: 100%;
    height: 300px;
    max-height: 100%;
  }
  /* end home styles */

  .sidebar-second .content-inner {
    margin: auto !important;
  }
  .page-taxonomy-term-21 #content-column .content-inner {
    padding: 0px !important;
    min-height: 0px;
  }
  #cover-art {
    height: auto;
    padding: 0px;
  }

  #columns {
    background: transparent !important;
  }

  #content-column {
    background: #807f7c;
    padding-bottom: 5px;
  }

  .not-front #content-column .content-inner {
    padding: 30px 40px;
  }
  .not-front #content-column .content-inner #page-title {
    font-size: 30px;
  }
  .not-front #content-column .content-inner #content p {
    font-size: 14px;
  }
  .field-name-db-next-in-menu {
    margin-right: -50px;
  }

  .region-sidebar-second {
    width: 181px !important;
    margin-left: 0 !important;
    margin: 0px auto !important;
    display: block;
    float: none;
  }

  .region-footer {
    width: 100%;
  }
  #footer section {
    display: block;
    width: 95% !important;
    margin: 3%;
  }

  #footer .block-inner .block-content {
    height: 100% !important;
  }
}

/*
 * Desktops/laptops and up
 */
/* @media only screen and (min-width: 1025px) {} */
