/*
Theme Name: Kids
Theme URI: https://soundbytereading.com
Author: Kathy Foster
Author URI: https://soundbytereading.com
Description: Sounf Bytes Reading Theme
Version: 1.0
License: Private
Text Domain: kidz
*/

/* WordPress specific styles */
.alignleft{
  float: left;
  margin-right: 1.5em;
}
 
.alignright {
  float: right;
  margin-left: 1.5em;
}
 
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Kidz theme */
.urgent {
  font-weight: bold;
  color: #900;
}

html, body {
  padding: 0;
  margin: 0;
}
body {
  background-color: #a3c1ff;
  font-size: 20px;
  font-family: Arial, sans-serif;
}
p {
  line-height: 1.5;
}
h1, h2, h3 {
  text-align: center;
}
.page {
  max-width: 860px;
  padding: 0 10px;
  margin: 0 auto;
}
.page_header {
  text-align: center;
}
.page_body {
}
.page_footer {
}
.banner {
  margin:10px 0;
}
.banner_image {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
.banner_title,
.banner_description {
  display: none;
}
.menu_main {
  margin:0;
  padding:0;
  display: flex;
  flex-wrap:wrap;
  list-style: none;
  justify-content: space-between
}
.menu_item {
  display: block;
  float: left;  
  padding: 10px;
  font-size: 1.4rem;
  font-weight: bold;
  text-transform: uppercase;
}
.menu_item a,
.menu_item a:visited {
  color: #00c;
}
.intro_bigQuestions {
  font-size: 30px;
  text-align: center;
}
.paragraph-callout {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  font-style: italic;
}
.photo {
  height: auto;
  line-height: 0;
}
.photo > img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.photo-small {
  max-width:240px;
}
.photo-medium {
  max-width:440px;
}
.photo-framed {
  border:10px solid white;
}
.tilted-left,
.tilted-right {
  margin:20px auto;
}

@media only screen and (min-width: 750px) {
  .tilted-left {
    transform: rotate(-5deg);
    max-width:300px;
    margin:0 auto;
  }
  .tilted-right {
    transform: rotate(5deg);
    max-width:300px;
    margin:0 auto;
  }
}

.photo-1 {
  float: left;
}
.photoAndTestimony {
  overflow:hidden;
}
.callout {
  color: black;
  background-color: white;
  padding: 20px;
  border-radius: 30px;
  border:4px solid black;
}
.callout-right {
  max-width:400px;
  float: right;
  margin: 20px 0 20px 20px;
}
.callout > p:first-child {
  margin-top:0;
}
.callout > p:last-child {
  margin-bottom:0;
}
.callout-dark {
  color: white;
  background-color: #666;  
}
.products {
  margin: 20px 0;
  display: grid;
}
.section_head {
  text-align: center;
}
.product {
  background-color: #fff;
  padding:20px 10px;
  border-radius: 30px;
  margin:0 0 20px;
  text-align:center;
}
.product_details {
    line-height: 1.5em;
}
.product_title {
  font-weight: bold;
}
.product_description {
  font-size: 16px;
}

@media screen and (min-width:900px) {
  .products {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap:40px;
    grid-template-areas:
      "head1 head1 head1"
      "a b c"
      "head2 head2 head2"
      "d e f"
      "footer footer footer";
  }
  .products_footer {
    grid-area: footer;
  }
  .section_head-reading {
    grid-area: head1;
  }
  .section_head-spelling {
    grid-area: head2;
  }
  .product {
    margin:0;
  }
}
.video {
    margin: 20px 0;
}
.video-responsive {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.collage {
  margin: 20px 0;
}

@media only screen and (min-width: 750px) {
  .collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap:40px;
    align-items: center;
  }
}

.randomShortText {
  margin-top:40px;
  text-align: center;
}

.overview_title {
  text-align: center;
}

.overview_image {
  display:block;
  margin:10px auto;
  max-width:820px;
  height:auto;
}

.author_photo {
  float: left;
  margin: 0 30px 30px 0; 
}

.footer {
  margin: 40px 0;
}
.footer_legal {
  font-size:85%;
  text-align: center;
}

.award-text {
  font-style: italic;
}

@media only screen and (min-width: 750px) {
  .award-text {
    padding-top: 48px;
  }
}