/**
 * @file
 * Judicial reform mobile styles.
 */

/* Mobile Only
 ******************************************************************************/
@media (max-width: 767px) {

  /* Home Header & Map */
  .judicial-header-content-inner .levels-mobile {
    position: relative;
    display: block;
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
  }
  .judicial-header-content-inner .levels-mobile li {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 50%;
    float: left;
  }
  .judicial-header-content-inner .levels-mobile li a {
    display: block;
    padding-top: 3px;
    line-height: 37px;
    height: 40px;
    font-size: 1.1em;
    text-transform: uppercase;
    text-align: center;
    background: #ccc;
    color: #888;
    border-bottom: 1px solid #bbb;
  }
  .judicial-header-content-inner .levels-mobile li a:first-child {
    border-right: 1px solid #bbb;
  }
  .judicial-header-content-inner .levels-mobile li a:hover {
    background: #d4d4d4;
    color: #777;
  }
  .judicial-header-content-inner .levels-mobile li a.selected {
    background: transparent;
    color: #333;
    font-weight: bold;
    border-bottom: 1px solid transparent;
  }
  .judicial-header-content .judicial-issue-info .judicial-map-legend ul li {
    display: block;
    box-sizing: border-box;
    width: 50%;
    float: left;
    text-align: left;
    padding: 5px 0;
    white-space: nowrap;
  }
  .judicial-header-content .judicial-courts {
    padding-right: 0;
    height: 250px;
  }
  .judicial-header-content .judicial-courts .judicial-federal-courts {
    display: none;
  }
  .judicial-mobile-links {
    display: block;
    background: #F7F7F7;
    margin: 15px;
  }
  .judicial-mobile-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .judicial-mobile-links ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ddd;
  }
  .judicial-mobile-links ul li a {
    display: block;
    position: relative;
    padding: 15px 25px 15px 15px;
    font-size: 1.1em;
    color: #666;
  }
  .judicial-mobile-links ul li a i {
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -8px;
    width: 15px;
    height: 15px;
    font-size: 15px;
    line-height: 15px;
    color: #ccc;
  }

  /* Column Headers */
  #block-fw-judicial-judicial-header .column-headers h3 {
    margin: 0;
    font-size: 1.4em;
  }
  #block-fw-judicial-judicial-header .column-headers .levels {
    display: none;
  }
  .block-fw-judicial .column-headers h3 {
    padding: 0;
    text-align: center;
  }
  .block-fw-judicial .column-headers h3 .current {
    display: none;
  }

  /* Webform */
  .judicial-webform {
    padding: 15px;
    margin: 10px;
  }
  .judicial-webform .node-container {
    padding: 0;
  }
  .judicial-webform #webform-component-email {
    padding-right: 14px;
    width: 100%;
    float: none;
    margin-bottom: 15px;
  }
  .judicial-webform #webform-component-email input {
    width: 100%;
  }
  .judicial-webform #webform-component-zip {
    box-sizing: border-box;
    padding-right: 15px;
    width: 50%;
    float: left;
  }
  .judicial-webform #edit-actions {
    box-sizing: border-box;
    margin: 0;
    width: 50%;
    float: left;
  }

  /* Court Header: Info */
  .judicial-court-content {
    background: #fff;
  }
  .judicial-court-title {
    background: #f4f4f4;
    padding: 15px;
    font-size: 1.4em;
    border-bottom: 1px solid #ddd;
  }
  .judicial-court-info {
    margin: 15px;
    padding: 175px 0 0 0;
    background: transparent;
    box-shadow: none;
    min-height: 0;
  }
  .judicial-court-info .judicial-rating {
    margin-top: 0;
    margin-left: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 150px;
  }
  .judicial-court-info .judicial-rating .judicial-rating-label {
    max-width: 150px;
    margin: 0 auto;
  }
  .judicial-court-info .judicial-map {
    width: 50%;
    height: 150px;
    top: 0;
    right: 0;
    border: none;
  }
  .judicial-court-info .judicial-map img {
    display: block;
    width: auto;
    height: 130px;
    padding: 10px;
    margin: 0 auto;
  }
  .judicial-court-info .judicial-map object {
    width: 150px;
    height: 150px;
  }
  .judicial-court-info .field {
    font-size: 1em;
    margin-bottom: 10px;
  }
  .judicial-court-info .field .field-label {
    float: none;
    width: auto;
  }
  .judicial-court-info .field .field-items {
    float: none;
    margin-left: 0;
  }
  .judicial-court-info .taxonomy-term-description {
    font-size: 1em;
    margin: 0;
  }

  /* Scroll Arrows */
  .judicial-court-content .scroll-arrow {
    display: none;
  }

  /* Court Header: Landmark Cases */
  .judicial-court-landmark-cases {
    margin: 30px 0 0 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-top: 2px solid #ccc;
  }
  .judicial-court-landmark-cases .judicial-box-header,
  .judicial-court-landmark-cases .judicial-box-content {
    margin: 0;
  }
  .judicial-court-landmark-cases .judicial-box-header {
    background: #f4f4f4;
    padding: 15px;
  }
  .judicial-court-landmark-cases .judicial-box-header .box-header-icon {
    display: none;
  }
  .judicial-court-landmark-cases .judicial-box-footer {
    padding: 0 15px;
  }
  .judicial-court-landmark-cases .landmark-cases {
    margin: 0;
  }
  .judicial-court-landmark-cases .landmark-cases .landmark-case {
    padding: 15px;
  }
  html .judicial-court-landmark-cases .node-case h3 {
    background: none;
    margin-bottom: 0;
  }
  .judicial-court-landmark-cases .node-case .case-image,
  .judicial-court-landmark-cases .node-case .case-video {
    float: none !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
  }
  .judicial-court-landmark-cases .node-case .case-image img {
    width: 100%;
  }
  html .judicial-court-landmark-cases .node-case .case-video .video-wrapper iframe {
    width: 100%;
  }
  html .judicial-court-landmark-cases .node-case .field-name-body {
    font-family: "Proxima Nova";
    font-size: 1em;
  }
  html .judicial-court-landmark-cases .node-case .field-name-body * {
    line-height: 1.5em;
  }
  html .judicial-court-landmark-cases .node-case .call-to-action div {
    text-align: center;
  }

  /* Court Header: Judges */
  .judicial-court-judges {
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-top: 2px solid #ccc;
  }
  .judicial-court-judges .judicial-box-header,
  .judicial-court-judges .judicial-box-content {
    margin: 0;
  }
  .judicial-court-judges .judicial-box-header {
    background: #f4f4f4;
    padding: 15px;
  }
  .judicial-court-judges .judicial-box-header .box-header-icon {
    display: none;
  }
  .judicial-court-judges .judicial-box-link {
    padding: 15px;
  }
  .judicial-court-judges .taxonomy-judges-term h3 {
    background: none;
  }
  .judicial-court-judges .judicial-box-footer {
    margin: 0;
    padding: 5px 15px;
    text-align: center;
  }

  /* Cases */
  .node-case .node-teaser-content {
    display: block;
  }

  /* Judges Page */
  .judges-page {
    background: #fff;
  }
  .judges-page h2 {
    margin: 0;
    padding: 15px;
    font-size: 1.4em;
  }
  .judges-page .taxonomy-judges-term h3 {
    font-size: 1.1em;
  }
  html .judges-page .taxonomy-judges-term h3 .chief {
    display: block;
    background: none;
    font-size: 0.9em;
    color: #777;
    text-shadow: none;
    margin: 0;
    padding: 0;
  }
  html .judges-page .taxonomy-judges-term .meta-item .meta-label {
    display: block;
    width: auto;
  }
  .judges-page .taxonomy-judges-term .meta-item .meta-label i {
    display: none;
  }
  .judges-page .taxonomy-judges-term .meta-item .field {
    display: block !important;
  }
  html .judges-page .judge-image {
    width: 50px;
  }
  html .judges-page .judge-image img {
    width: 50px;
  }

}
