/**
 * @file
 * University tablet styles.
 */

/* Tablet Only
 ******************************************************************************/
@media (min-width: 768px) and (max-width: 1024px) {

  /* Nav */
  .section-university #block-fw-university-university-top-bar #top .contribute {
    display: block;
    top: 26px;
    left: 35px;
    margin: 4px;
    position: absolute;
  }

  /* University Home Page */
  .page-university .teasers .node-teaser {
    box-sizing: border-box;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
  }
  .page-university .featured-lessons .teasers .node-teaser {
    padding-bottom: 20px;
  }
  .page-university .teasers .node-teaser .type {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: #b33e2e;
    padding: 6px;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 0.8em;
    letter-spacing: 0.1em;
    font-weight: bold;
    z-index: 1;
  }
  .page-university .teasers .node-teaser .image {
    position: relative;
    float: none;
    width: auto;
    top: auto;
    left: auto;
    display: block;
    height: 240px;
    margin: -20px -20px 20px -20px;
  }

  /* All Issues */
  .section-university.page-issues #content {
    width: 100%;
  }

  /* Lesson */
  .node-type-lesson #block-system-main {
    margin-top: 0;
  }
}

/* Tablet and Mobile
 ******************************************************************************/
@media (max-width: 1024px) {

  /* Top Bar */
  .section-university #block-fw-university-university-top-bar #top #top-bar,
  .section-university #block-fw-university-university-top-bar #top,
  .section-university #block-fw-university-university-top-bar #top-placeholder {
    height: 72px;
  }
  .section-university #block-fw-university-university-top-bar #top {
    padding-top: 0;
    top: auto;
  }
  .section-university #block-fw-university-university-top-bar #top #top-bar {
    text-align: center;
  }
  .section-university #block-fw-university-university-top-bar #top .logo {
    margin-left: 0;
    float: none;
    display: inline-block;
    width: 180px;
  }
  .section-university #block-fw-university-university-top-bar #top .logo img {
    height: auto;
  }

  /* University Home Page */
  .page-university .content-select-list {
    margin-right: 70px;
  }
  .page-university .column-headers div.left {
    width: 67%
  }
  .page-university .content-stream-full-width .node-teaser > * {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .page-university #block-system-main {
    margin-top: 0;
  }
  .page-university .featured-lessons.content-stream-full-width {
    margin: 0;
  }
  .page-university #featured-lessons h3 a {
    font-size: 1.5em;
  }

  /* University Content Streams */
  .section-university .node-lesson .meta {
    padding-left: 0;
  }

  /* University Lessons */
  .node-type-lesson .column-headers div.left {
    width: 67%;
  }

}
