/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

.page-header{
	
	display: none;
}

.woocommerce .entry-content div.product p.stock {
	
	margin-top: 20px;
}

/*
 Theme Name:   Upminster Schools Parents Theme
 Theme URI:    http://upminsterschoolsparents.co.uk/
 Description:  A Twenty Sixteen child theme for Upminster Schools Parents
 Author:       Rowena Sinclair
 Author URI:   https://www.glassballoon.co.uk
 Template:     twentysixteen
 Version:      1.0.0
*/
 
@import url("../twentysixteen/style.css");

/* set colours up for PTA events and PA events */
.pa {
	
	color: rgb(255, 0, 0); /* primary red */
}

.pta {
	
	color: rgb(0,128,0); /* green */
}

.ptapa {
	
	color: rgb(0,0,255); /* primary blue */
}


/* make text color different to headings color */
.entry-content p {
  color: #444040;
}

/* indent the lists as they were displaying too far to the left */
.entry-content ul li{ 
	color: #444040;
	margin: 10px 10px 10px 50px;
}

/* center the images */
.entry-content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  
}

/* do not underline links */
.entry-content a:link {
	box-shadow: none;
}
.entry-content a:visited {
	box-shadow: none;
}
.entry-content a:hover {
	box-shadow: none;
}

/* santa letter formatting */

.page-template-santalettertemplate input[type=button] {
 	background-color: #034f20; /* xmas green */
}

.page-template-santalettertemplate input[type=submit] {
 	background-color: #034f20; /* xmas green */
}

.page-template-santalettertemplate {
	background-color: #d42426; 
}
.page-template-santalettertemplate .entry-title {
  	color: #d42426; /* xmas red */
}

.page-template-santalettertemplate .entry-content p {
  	color: #034f20; /* xmas green */
}

.page-template-santalettersummarytemplate .entry-title {
  	color: #d42426; /* xmas red */
}

.page-template-santalettersummarytemplate .entry-content p {
  	color: #034f20; /* xmas green */
}

.page-template-santalettersummarytemplate .entry-content td {
  	color: #034f20; /* xmas green */
}

/* --------- begin teacher recommendations formatting -------- */

/* div for recommended book contains:
   - heading (title and author)
   - large image linked to Amazon
   - name and class of teacher who made recommendation
   - bit of blurb
   - small images of related books
*/

div.rcmd-book {
  display: block;
  margin-left: auto;
  margin-right: auto;  
  border-top: 2px solid darkgrey;
  padding-top: 30px;
  clear: both;
  margin-bottom: 20px;
}

div.rcmd-book div.book-img-panel{
  float: left;
  margin-left: auto;
  margin-right: 10px;  
  padding-bottom: 10px;
}

div.rcmd-book div.book-blurb-panel{
  clear: right;
  padding-bottom: 10px;
}

div.rcmd-book div.book-title {
  line-height: 2.5;
  display: block;
  padding-bottom: 10px;
}
div.rcmd-book div.book-title a {
    font-size: 1.2em;
	font-weight: bold;
}

div.rcmd-book span.rcmder {
  font-weight: bold;
}

div.rcmd-book div.other-books {
  padding-bottom: 10px;
}

div.rcmd-book div.other-books-img {
  display: block;
  clear: both;
  padding-bottom: 10px;
}

div.rcmd-book div.other-books img {
  float: left;
  display: inline-block;
  padding-right: 2px;
  padding-bottom: 2px;
}

div.rcmd-book div.other-books p {
  display: block;
  clear: both;
}

div.rcmd-book div.clear {
  display: block;
  clear: both;
}
/* ---- end teacher recommendations formatting -------- */


/* -------------------------------------- */
/* ---- begin wide screens only --------- */

/* center main menu */
@media screen and (min-width: 44.375em) {
    .site-header-main .site-branding {
        margin-right: auto;
	 	margin-left: auto;
    }
	
	.site-branding .site-title a {
		font-size: 54px;
	}
	
	.site-header-main .site-description {
		text-align: center;
		
	}

    .site-header-menu {
        margin: 0 auto;
    }

    .primary-menu {
        width: auto;
    }
}
/* ---- end wide screens only ------- */


/* -------------------------------------- */
/* ---- begin narrow screens only ------- */

@media screen and (max-width: 44.375em) {
  
  /* --------- begin teacher recommendations -------- */
    div.rcmd-book div.book-img-panel{
    clear: both;
  }

  div.rcmd-book div.book-blurb-panel{
    clear: both;
  }
  
  div.rcmd-book div.other-books img {
    max-width: 100px;
  }
  
  /* --------- end teacher recommendations -------- */
}
/* --- end narrow screens only ----- */