/*
Theme Name: BHA Understanding Humanism
Theme URI: http://humanism.org.uk
Author: Andrew West
Author URI: http://humanism.org.uk
Description:
Version: 2.0

*/

body {
		font-family: "Gill Sans MT", "Gill Sans", Arial, Helvetica, sans-serif;
		font-size: 16px;
}

h1, h1 a {
	color: #258082 !important;
	text-transform:uppercase;
	padding-bottom: 10px;
}

a, a:visited, a:active {
	color: #258082;
}

/* ----------- helper classes ----------- */

.green {
	color: #258082;
}

.red {
	color: #6b1518;
}

.orange {
	color: #D06241;
}

.purple {
	color: #6c308c;
}

.blue {
	color: #24498b;
}

.white {
	color: white;
}

.blueBackground {
	background-color: #24498b;
}

.purpleBackground {
	background-color: #6c308c;
}

.orangeBackground {
	background-color: #D06241;
}

.greenBackground {
	background-color: #258082;
}

.redBackground {
	background-color: #6b1518;
}

.whiteBackground {
	background-color: white;
}

.blueOutline {
	border-color: #24498b;
}

.purpleOutline {
	border-color: #6c308c;
}

.orangeOutline {
	border-color: #f1724c;
}

.greenOutline {
	border-color: #258082;
}

.redOutline {
	border-color: #6b1518;
}

.whiteOutline {
	border-color: white;
}

.link-blue a,.link-blue a:visited, .link-blue a:active, .blueText {
	color:#24498b !important;
}

.link-purple a,.link-purple a:visited, .link-purple a:active, .purpleText {
	color:#6c308c !important;
}

.link-orange a,.link-orange a:visited, .link-orange a:active, .orangeText {
	color:#f1724c !important;
}

.link-green a,.link-green a:visited, .link-green a:active, .greenText {
	color:#258082 !important;
}

.link-red a,.link-red a:visited, .link-red a:active, .redText {
	color:#6b1518 !important;
}

.link-white a,.link-white a:visited, .link-white a:active, .whiteText {
	color:white !important;
}


.topBar {
	background-color: #258082;
	padding:0.5em;
	margin-bottom:1em;
	color:white;
	font-size:14px;
}

.bottomBar h3 {
	margin-top: 10px !important;
}

.bottomBar {
	background-color: #258082;
	padding:0.5em;
	margin-top:1em;
	color:white;
	font-size:14px;
}

.topBar a, .topBar a:visited, .topBar a:active, .bottomBar a, .bottomBar a:visited, .bottomBar a:active {
	color:white;
	}


@media (max-width:568px) {
	.logo {
		width: 100% !important;
	}
}

.logo {
	width: 600px;
	overflow:visible;
}


@media (min-width:768px) {
	.menu {
		padding-top:90px;
	}
}


.menu a {
	color: #258082;
	padding-right:1em;
}

.mainBannerLeft {
	height: 300px;
}

.mainBannerRight {
	height: 300px;
}

.topBanner {	
	border-bottom: 1px solid #258082;
	padding-bottom:1em;
	font-size: 1.5rem;
}

.frontPageTable {
	clear:right;
}

.frontPageTable, .frontPageTable td td {
	text-align:center;
}

.frontPageTable td {
	width: 33%;
}

.alignleft {
	padding: 0 15px 15px 0;
}

.alignright {
	padding: 0 0 15px 15px;
}

blockquote {
	font-size:16px !important;
}

.block, .block a, .block a:visited, .block a:active, .block a:hover {
	color:white;
}

.block a, .block a:visited, .block a:active, .block a:hover {
	text-decoration:underline;
}

.mainBody a, .mainBody a:visited, .mainBody a:active, .mainBody a:hover {
	text-decoration:underline;
}

.mainBody h1 a, .mainBody h1 a:visited, .mainBody h1 a:active {
	text-decoration:none;
}

.block {
	padding: 0 15px 15px 15px;
	border: 10px solid white; /* shut up it works */
	background-image: url("https://understandinghumanism.org.uk/wp-content/themes/h4s/images/blockBackground.png");
	background-position: right bottom;
	background-repeat: no-repeat;
}

.block h3 {
	padding-bottom: 5px;
	margin-bottom: 5px;
	border-bottom: 1px solid white;
}

.frontPageBlock {
	height: 225px !important;
}

.frontPageBlock h3 {
		text-transform:uppercase;
}


.toolkitBlock {
	min-height: 550px !important;
}

.regularBlock {
	/*height: auto !important;*/
}

.toolkitBlockDownloadLink {
	text-decoration: underline;
}

.schoolSpeakerBlock a {
	text-decoration: underline;
}

#gallery-1 img {
    border: none !important;
    max-width: 100%;
    height: auto;
    padding: 5px;
}

/* new */

.frontPageKSBox {
	text-align:center;
	color: white;
	margin-bottom: 10px;
}

@media (min-width: 1200px) {
	.frontPageKSBox {
		min-width: 150px;
	} 
}

@media (max-width: 1199px) {
	.frontPageKSBox {
		min-width: auto;
	} 
}

	

.frontPageKSBox a, .frontPageKSBox a:active, .frontPageKSBox a:hover, .frontPageKSBox a:visited {
	color:white;
}

.frontPageKSBox:last {
	margin-right: 0px;
}

.frontPageKSBoxText {
		padding: 10px;
		margin-bottom: 5px;
}

.frontPageKSBoxText p {
		padding: 0;
		margin: 0;
}

.frontPageKSBoxText .meta {
	font-size: 14px !important;
}

.frontPageKSBoxButton {
	padding: 10px;
	border-width: 1px;
	border-style: solid;
	margin-top: 15px;
}

.frontPageKSBoxImage img {
	max-width: 100%;
	height: 150px;
}

.frontPageTRHeader h1 {
	text-align:center;
	font-size:32px !important;
	padding: 25px 0 25px 0;
}

.frontPageBannerLeftHeader {
	font-size: 18px;
	text-transform: uppercase;
	color:white !important;
	margin-top: 10px;
}

.frontPageBannerButton {
	border-width: 1px;
	border-style: solid;
	text-align:center;
	padding-top: 10px;
	padding-bottom:10px;
}

.frontPageBannerRightText {
	/*font-size: 20px !important;*/
	text-transform: uppercase;
	padding-bottom: 10px;
}

.frontPageBannerRight .frontPageBannerButton {
	margin-top: 15px;
}

.frontPageBannerRight {
	padding:15px;
}

.frontPageBannerLeftImage {
	width: 100%;
	height: 150px;
}

.frontPageKeyStages {
	margin-bottom: 25px;
	text-align:center;
}

.frontPageKeyStagesRow, .frontPageKeyStages, .frontPageKeyStageBoxes {
	display:table;
	margin: 0 auto;
}

.frontPageKeyStagesRow {
	padding-bottom:30px;
}

.frontPageUpdateBoxText {
	padding: 5px;
	font-size: 18px;
}

.frontPageUpdateBoxText a, .frontPageUpdateBoxText a:hover, .frontPageUpdateBoxText a:visited, .frontPageUpdateBoxText a:active {
	color:white;
	text-decoration:underline;
}

.frontPageUpdateBox {
	border: 5px solid white;
}

.carousel-caption {
    position: relative;
    left: auto;
    right: auto;
    width:100%;
    /*padding:10px;
    text-align:left;
    text-shadow: none;*/
}

.carouselText {
	padding: 15px 0 15px 15px;
}

.carouselImage {
	max-height: 200px;
}

.carouselText h1 {
	margin: 0;
}

.frontPageBannerLeft {
	padding-left:0px;
	padding-bottom:0px;
	padding-right:0px;
	margin-bottom:-20px; /* ugly hack */
}

.mainContent {
	padding-top: 10px;
}

.frontPageBannerButtonLearnMore {
	/*margin-top:33px !important;*/
}

.block h3 small {
    color: inherit !important;
    font-size: 55%;
  }

.regularBlock h3 a,.regularBlock h3 a:active,.regularBlock h3 a:visited {
	text-decoration:none !important;
}

.regularBlock h3 a:hover {
	text-decoration:underline !important;
}
  
.suitableFor {
	font-size: 75%;
	color: white;
}

.block h2 small {
    color: inherit !important;
    font-size: 65%;
  }
  
.downloadLink {
	text-decoration: underline;
}

hr.blockHR {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 75), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

hr.blockHRInverted {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 75), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

.boxItem {
	padding: 10px;
	border: 1px solid white;
	margin-bottom: 10px;
}

.boxItem h3 {
	margin-top: 5px;
	font-size: 22px;
}

.boxItem h4 {
	font-weight: bold;
}

.mainFeaturedImage {
	margin-top:20px;
}

.mainFeaturedImage img {
	width:100%;
}

.mainBody {
	font-size: 18px;
}

.themeDescription {
	font-size: 20px;
	margin-bottom: 15px;
}

.themePageDescription {
	font-size: 16px;
	margin-bottom: 15px;
}

.themePageDescription ul {
	padding-top: 15px;
	padding-bottom: 15px;
	
}

.label, label {
	color: inherit !important;
	font-size: 100% !important;
	font-weight: inherit !important;
	padding: 0 !important;
}

.HumanistPerspectivesBlock, .otherResourcesBlock, .externalResourcesBlock {
	float:right;
}

.newicon {
	margin-top: -1px;
	margin-bottom: -1px;
	margin-right:10px;
	height:35px;
}