/**
 *
 * Front.
 *
 */

body.front.mobile .inner-float {
  float: none;
}

/**
 * Callouts
 */

body.mobile .callouts,
body.mobile #callouts {
  display: none;
}

body.mobile #callouts {
  width: auto;
  margin-right: 0;
}

body.front.mobile .node-tile-row {
  width: 100%;
}

/**
 * RSS.
 */

body.mobile #rss {
  width: auto;
}

body.mobile.front #rss,
body.mobile #sidebar #rss {
  display: none;
}

body.mobile .page #rss h3 {
  font-size: 142.9%;
}

/**
 *
 * Online story/activity and video.
 *
 */

 body.mobile #reading-list {
  display: none;
 }

/**
 * Theme content.
 */

body.mobile #theme-content {
  width: auto;
  margin: 0 auto 20px;
}

body.mobile .node-theme-content {
  margin-bottom: 30px;
}

body.mobile .theme-content-row {
  float: none;
  width: auto;
  margin-bottom: 10px;
}

body.mobile .theme-content-row:last-child {
  margin-bottom: 0;
}

body.mobile .theme-content-row .inner {
  padding-left: 0;
  padding-right: 0;
}

body.mobile .theme-content-row.active {
  background-position: 5px 10px;
  background-repeat: no-repeat;
}

body.mobile .theme-content-row.theme-take-home-activity.active {
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-arrow-right-pink.png');
}
body.mobile .theme-content-row.theme-reading-list.active {
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-arrow-right-blue.png');
}
body.mobile .theme-content-row.theme-online-activity.active {
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-arrow-right-yellow.png');
}
body.mobile .theme-content-row.theme-online-story.active {
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-arrow-right-violet.png');
}
body.mobile .theme-content-row.theme-video.active {
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-arrow-right-teal.png');
}

body.mobile .theme-content-row a {
  min-height: 50px;
  margin-bottom: 16px;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 16px;
  padding-left: 60px;
  line-height: 1.5;
  background-repeat: no-repeat;
  background-position: 16px 0;
  -webkit-background-size: 50px;
  -moz-background-size: 50px;
  -o-background-size: 50px;
  background-size: 50px;
}

body.mobile .theme-content-row a span,
body.mobile .theme-content-row a span:last-child {
  margin-bottom: 0;
}

body.mobile .page .theme-content-row a {
  background-color: #ffffff;
  background-position: 0px 0px;
  text-align: left;
}

body.mobile .page .theme-content-row a.theme-online-activity {
  color: #1275bb;
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-type-online-activity-circ.png');
}
body.mobile .page .theme-content-row a.theme-online-story {
  color: #662d91;
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-type-online-story-circ.png');
}
body.mobile .page .theme-content-row a.theme-video {
  color: #47b9c7;
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-type-video-circ.png');
}
body.mobile .page .theme-content-row a.theme-take-home-activity {
  color: #f05d77;
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-type-home-activity-circ.png');
}
body.mobile .page .theme-content-row a.theme-reading-list {
  color: #f99f1c;
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-type-reading-list-circ.png');
}

/**
 * Node Theme content (detail page).
 */

body.mobile .page .node .node-theme-content .content-header {
  background-image: none;
}

body.mobile .node-theme-content .content-primary {
  padding-left: 15px;
  padding-right: 15px;
}


/**
 * Take Home Activity (node detail).
 */

body.mobile .node-theme-content.take-home-activity .data,
body.mobile .node-theme-content.take-home-activity .media {
  float: none;
  display: block;
  width: auto;
}

body.mobile .node-take-home-activity .body {
  margin-bottom: 20px;
}

body.mobile .node-theme-content.take-home-activity .media {
  margin-top: 20px;
}

body.mobile .node-theme-content.take-home-activity .media img {
  max-width: 100%;
  padding: 0;
  border: 0;
}

/**
 * Reading List (node detail).
 */

body.mobile .node-theme-content.reading-list .data,
body.mobile .node-theme-content.reading-list .media {
  display: block;
  float: none;
  width: auto;
}

body.mobile .node-theme-content.reading-list .media {
  margin-bottom: 15px;
}

body.mobile .node-theme-content.reading-list .media img {
  max-width: 100%;
}

/**
 *
 * Activity library.
 *
 */

body.mobile .node-theme-landing .node-tile-row {
  width: 100%;
}

body.mobile .node-theme-landing .node-tile-spacer {
  padding: 0 0 10px;
}

body.mobile #tiles-activity-theme .node-tile-content {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

body.mobile .node-theme-landing .node-tile-inner {
  display: none;
}

body.mobile #tiles-activity-type .node-tile-inner {
  padding: 10px 15px;
}

body.mobile #tiles-activity-type .node-tile-row h3 {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

body.mobile .node-tile-row.node-reading-list h3 {
  border: 6px solid #1275bb;
}
body.mobile .node-tile-row.node-take-home-activity h3 {
  border: 6px solid #f05d77;
}
body.mobile .node-tile-row.node-online-story h3 {
  border: 6px solid #662d91;
}
body.mobile .node-tile-row.node-online-activity h3 {
  border: 6px solid #f99f1c;
}
body.mobile .node-tile-row.node-video h3 {
  border: 6px solid #47b9c7;
}

body.mobile .node-tile-row.node-reading-list h3 a {
  background-color: #1275bb;
}
body.mobile .node-tile-row.node-take-home-activity h3 a {
  background-color: #f05d77;
}
body.mobile .node-tile-row.node-online-story h3 a {
  background-color: #662d91;
}
body.mobile .node-tile-row.node-online-activity h3 a {
  background-color: #f99f1c;
}
body.mobile .node-tile-row.node-video h3 a {
  background-color: #47b9c7;
}

body.mobile #tiles-activity-type .theme {
  margin-top: 15px;
  margin-bottom: 5px;
  color: #662d91;
  text-transform: uppercase;
}

body.mobile #tiles-activity-type .theme:first-child {
  margin-top: 0;
}

body.mobile .page #tiles-activity-type h4 {
  font-size: 157.1%;
}

body.mobile .page .node-tile-row.node-reading-list h4 a {
  color: #1275bb;
}
body.mobile .page .node-tile-row.node-take-home-activity h4 a {
  color: #f05d77;
}
body.mobile .page .node-tile-row.node-online-story h4 a {
  color: #662d91;
}
body.mobile .page .node-tile-row.node-online-activty h4 a {
  color: #f99f1c;
}
body.mobile .page .node-tile-row.node-video h4 a {
  color: #47b9c7;
}

/**
 * Tabs.
 */

body.mobile #activity-tabs {
  display: block;
}

body.mobile #activity-tabs {
  list-style: none inside none;
}

body.mobile .page #activity-tabs {
  margin: 0;
}

body.mobile #activity-tabs li {
  float: left;
  width: 50%;
  -moz-opacity: 0.3;
  -khtml-opacity: 0.3;
  opacity: 0.3;
}

body.mobile #activity-tabs li.active {
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
}

body.mobile #activity-tabs a,
body.mobile #activity-tabs span {
  display: block;
  padding: 10px 5px;
}

body.mobile .page #activity-tabs a:hover {
  text-decoration: none;
}

body.mobile #activity-tabs span {
  padding: 15px 0;
  color: #ffffff;
  font-size: 142.9%;
  font-family: 'Open Sans Bold', sans-serif;
  text-align: center;
  text-transform: uppercase;
  background-color: #662d91;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
