/**
 *
 * Front.
 *
 */

body.front h1,
body.front .body {
  color: #662d91;
}

body.front #promoted-themes {
  margin-bottom: 30px;
}

/**
 * Callouts
 */

#callouts {
  width: 636px;
  margin-right: 14px;
  overflow: hidden;
}

body.front .node-tile-row {
  width: 310px;
}

#sidebar .node-tile-row {
  margin-bottom: 20px;
}

/**
 * RSS.
 */

body.front #rss {
  width: 310px;
}

body.front #rss .page-link,
#sidebar #rss .page-link {
  display: block;
  padding: 0 10px 10px;
  font-size: 114.3%;
  text-align: right;
}

body #rss .page-link,
body #rss .page-link:active,
body #rss .page-link:link,
body #rss .page-link:visited {
  color: #662d91;
}

#rss .inner {
  height: auto;
  border: 6px solid #47b9c7;
  background-color: #ffffff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

#rss h3 {
  padding: 10px 0;
  color: #ffffff;
  text-align: center;
  background-color: #47b9c7;
}

.page #rss h3 {
  margin: 0;
  font-size: 228.6%;
  line-height: 1.1;
}

.rss-row p {
  margin-bottom: 0px;
}

body.front .rss-row,
#sidebar .rss-row {
  padding-right: 20px;
  padding-left: 20px;
}

body.front .rss-row-1,
#sidebar .rss-row-1 {
  padding-top: 20px;
}

.node-theme-content #rss {
  margin-bottom: 15px;
}

.calendar .description {
  margin-top: 10px;
}

/**
 *
 * Basic Page.
 *
 */

.node-theme-content.basic-page {
  background-color: #662d91;
}

.page .node-theme-content.basic-page .content-primary {
  border-color: #662d91;
}

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

/**
 * Theme content.
 */

#theme-content {
  width: 95%;
  margin: 0 auto 30px;
}

.theme-content-row {
  float: left;
  width: 20%;
  text-align: center;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.theme-content-row:hover {
  -moz-opacity: 0.6;
  -khtml-opacity: 0.6;
  opacity: 0.6;
}

.theme-content-row .inner {
  height: auto;
  padding-left: 10px;
  padding-right: 10px;
}

.theme-content-row-1 .inner {
  padding-left: 0;
}

.theme-content-row:last-child .inner {
  padding-right: 0;
}

.theme-content-row a {
  display: block;
  padding: 110px 10px 20px 10px;
  font-size: 128.6%;
  font-family: 'Asap Bold', sans-serif;
  line-height: 1.2;
  background-repeat: no-repeat;
  background-position: 50% 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.page .theme-content-row a,
.page .theme-content-row a:active,
.page .theme-content-row a:link,
.page .theme-content-row a:visited {
  color: #ffffff;
}

.page .theme-content-row a:hover {
  text-decoration: none;
}

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

.theme-content-row a span {
  display: block;
  margin-bottom: 15px;
  font-size: 71.4%;
  font-family: 'Open Sans Regular', sans-serif;
  line-height: 1;
  text-transform: uppercase;
  line-height: 1.25;
}

.theme-content-row a span.title {
  font-family: "Open Sans Bold", sans-serif;
  font-size: 95%;
  text-transform: none;
  margin-bottom: 0px;
}


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

.node-theme-content {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page .node-theme-content .content-header {
  padding: 20px 0 0 0;
  background-position: 99% 1%;
  background-repeat: no-repeat;
}

.page .node .node-theme-content .content-header .field-title,
.page .node .node-theme-content .content-header .field-type {
  padding-left: 12px;
  margin-bottom: 10px;
}

.page .node-theme-content .content-header > * {
  color: #ffffff;
}

.node .node-theme-content .content-header h1 {
  text-align: left;
}

.node .node-theme-content .content-primary {
  background-color: #ffffff;
  padding: 30px 4%;
  border: 10px solid;
  border-radius: 10px;
}

.page .node .node-theme-content .body {
  width: auto;
  margin: 0;
  font-size: 100%;
  text-align: left;
}


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

.node-theme-content.take-home-activity {
  background-color: #f05d77;
}

.node-theme-content.take-home-activity .content-header {
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-type-home-activity.png');
}

.node-theme-content.take-home-activity .content-primary {
  border-color: #f05d77;
}

.node-theme-content.take-home-activity .data,
.node-theme-content.take-home-activity .media {
  float: left;
  display: inline;
}

.node-theme-content.take-home-activity .data {
  width: 55%;
  margin-right: 5%;
}

.node-theme-content.take-home-activity .media {
  width: 40%;
}

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

.node-theme-content.take-home-activity .download {
  padding-top: 15px;
  margin-top: 25px;
  border-top: 1px solid #cccccc;
}

.page .node-theme-content.take-home-activity .download a,
.page .node-theme-content.take-home-activity .download a:active,
.page .node-theme-content.take-home-activity .download a:link,
.page .node-theme-content.take-home-activity .download a:visited {
  color: #67318f;
  font-family: "Open Sans Bold", sans-serif;
}

.node-theme-content.take-home-activity .images img {
  max-width: 300px;
  max-height: 500px;
  border: 1px solid #cccccc;
  padding: 15px;
}

.node-theme-content.take-home-activity .images a {
  display: block;
}

.node-theme-content.take-home-activity .images .caption {
  color: #777777;
}

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

.node-theme-content.reading-list {
  background-color: #f69a34;
}

.node-theme-content.reading-list .content-header {
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-type-reading-list.png');
}

.node-theme-content.reading-list .content-primary {
  border-color: #f69a34;
}

.page .node-theme-content.reading-list .body {
  margin-bottom: 25px;
}

.node-theme-content.reading-list .book {
  margin-bottom: 25px;
}

.node-theme-content.reading-list .book .media,
.node-theme-content.reading-list .book .data {
  float: left;
  display: inline;
}

.node-theme-content.reading-list .book .media {
  width: 20%;
  margin-right: 5%;
}

.node-theme-content.reading-list .book .data {
  width: 70%;
}

.node-theme-content.reading-list .book .data > div {
  margin-bottom: 10px;
}

.node-theme-content.reading-list .book .media a {
  display: block;
}

.node-theme-content.reading-list .book .media img {
  max-width: 100%;
  border: 1px solid #cccccc;
}

.page .node-theme-content.reading-list a,
.page .node-theme-content.reading-list a:active,
.page .node-theme-content.reading-list a:link,
.page .node-theme-content.reading-list a:visited {
  color: #67318f;
  font-family: "Open Sans Bold", sans-serif;
}

.node-theme-content.reading-list .book-author {
  font-style: italic;
}

.page .node-theme-content.reading-list .book-link a {
  font-family: "Open Sans Regular", sans-serif;
  line-height: 1.5
}

.page .node-theme-content.reading-list .link {
  margin-top: 30px;
}


/**
 * Reading list (block).
 */

#reading-list {
  margin-bottom: 30px;
  border: 6px solid #f99f1c;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

#reading-list h2 {
  padding: 10px 0;
  color: #ffffff;
  text-align: center;
  background-color: #f99f1c;
}

.page #reading-list h2 {
  margin: 0;
}

#reading-list .carousel-rows {
  background-color: #ffffff;
}

#reading-list .carousel-row {
  width: 140px;
  margin-right: 40px;
  padding: 10px 0 16px;
}

#reading-list .carousel-row a {
  -webkit-box-shadow: 4px 4px 8px 2px rgba(0,0,0,0.25);
  -moz-box-shadow: 4px 4px 8px 2px rgba(0,0,0,0.25);
  box-shadow: 4px 4px 8px 2px rgba(0,0,0,0.25);
}

#reading-list .custom-nav {
  top: 140px;
}

#reading-list .custom-nav.prev {
  left: 10px;
  background-image: url('/sites/all/themes/storyplace/images/external/libraries/SlidesJS/icon-arrow-left-blue.png');
}

#reading-list .custom-nav.next {
  right: 10px;
  background-image: url('/sites/all/themes/storyplace/images/external/libraries/SlidesJS/icon-arrow-right-blue.png');
}

/**
 *
 * Calendar.
 *
 */

.node-theme-content.calendar {
  background-color: #47b9c7;
}

.node-theme-content.calendar .content-primary {
  border-color: #47b9c7;
}

/**
 *
 * Basic Page.
 *
 */

.node-theme-content.basic-page .body h2,
.node-theme-content.basic-page .body h3,
.node-theme-content.basic-page .body h4,
.node-theme-content.basic-page .body h5 {
  color: #662d91;
}

.node-theme-content.basic-page .media .image {
  margin: 25px 0;
}

.node-theme-content.basic-page .media .img {
  width: 30%;
  float: left;
  
  text-align: center;
}

.node-theme-content.basic-page .media img {
  max-width: 100%;
  margin: 0 auto;
}

.node-theme-content.basic-page .media .caption {
  float: left;
  width: 65%;
  margin-left: 5%;
}

.node-theme-content.basic-page .media .caption a,
.node-theme-content.basic-page .media .caption a:active,
.node-theme-content.basic-page .media .caption a:link,
.node-theme-content.basic-page .media .caption a:visited {
  color: #662d91;
  font-family: 'Open Sans Bold', sans-serif
}

/**
 *
 * Activity library.
 *
 */

.node-theme-landing h1,
.node-theme-landing .body {
  color: #662d91;
}

.node-theme-landing .node-tile-row {
  width: 309px;
}

.node-theme-landing .node-tile-content {
  background-color: #ffffff;
}

.node-theme-landing .node-tile-content .content {
  padding: 16px 0;
  margin-top: 5px;
  background-color: #ffffff;
}

.node-theme-landing .node-tile-content .content a {
  min-height: 50px;
  margin-bottom: 16px;
  padding-right: 16px;
  padding-left: 76px;
  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;
}

.page .node-theme-landing .node-tile-content .content a:hover {
  text-decoration: none;
}

.node-theme-landing .node-tile-content .content a:last-child {
  margin-bottom: 0;
}

.node-theme-landing a.theme-online-activity {
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-type-online-activity-circ.png');
}
.page .node-theme-landing a.theme-online-activity,
.page .node-theme-landing a.theme-online-activity:active,
.page .node-theme-landing a.theme-online-activity:link,
.page .node-theme-landing a.theme-online-activity:visited,
.page .node-theme-landing a.theme-online-activity:hover,
.page .node-theme-landing a.theme-online-activity span.subtitle {
  color: #1275bb;
}
.node-theme-landing a.theme-online-story {
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-type-online-story-circ.png');
}
.page .node-theme-landing a.theme-online-story,
.page .node-theme-landing a.theme-online-story:active,
.page .node-theme-landing a.theme-online-story:link,
.page .node-theme-landing a.theme-online-story:visited,
.page .node-theme-landing a.theme-online-story:hover,
.page .node-theme-landing a.theme-online-story span.subtitle {
  color: #662d91;
}
.node-theme-landing a.theme-video {
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-type-video-circ.png');
}
.page .node-theme-landing a.theme-video,
.page .node-theme-landing a.theme-video:active,
.page .node-theme-landing a.theme-video:link,
.page .node-theme-landing a.theme-video:visited,
.page .node-theme-landing a.theme-video:hover,
.page .node-theme-landing a.theme-video span.subtitle {
  color: #47b9c7;
}
.node-theme-landing a.theme-take-home-activity {
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-type-home-activity-circ.png');
}
.page .node-theme-landing a.theme-take-home-activity,
.page .node-theme-landing a.theme-take-home-activity:active,
.page .node-theme-landing a.theme-take-home-activity:link,
.page .node-theme-landing a.theme-take-home-activity:visited,
.page .node-theme-landing a.theme-take-home-activity:hover,
.page .node-theme-landing a.theme-take-home-activity span.subtitle {
  color: #f05d77;
}
.node-theme-landing a.theme-reading-list {
  background-image: url('/sites/all/themes/storyplace/images/icons/icon-type-reading-list-circ.png');
}
.page .node-theme-landing a.theme-reading-list,
.page .node-theme-landing a.theme-reading-list:active,
.page .node-theme-landing a.theme-reading-list:link,
.page .node-theme-landing a.theme-reading-list:visited,
.page .node-theme-landing a.theme-reading-list:hover,
.page .node-theme-landing a.theme-reading-list span.subtitle{
  color: #f99f1c;
}

.node-theme-landing span.subtitle {
  display: block;
  color: #662d91;
  font-family: 'Open Sans Regular', sans-serif;
  text-transform: uppercase;
}

.node-theme-landing span.title {
  font-size: 142.9%;
  font-family: 'Asap Bold', sans-serif;
}

.node-theme-landing a:hover span.title {
  text-decoration: underline;
}

/**
 * Tabs.
 */

#activity-tabs,
#tiles-activity-type {
  display: none;
}
