/*
Theme Name: PVH Frankfurt
Author: Stephanie Boucher of Applegreen Websites
Author URI: https://www.applegreenwebsites.com
Description: Theme developed for Philharmonischer Verein Frankfurt am Main
Date started: November 2023
Version: 1.0
*/


/*
	 font-family: 'Roboto', sans-serif;
	 font-family: 'open sans';
	 
*/

/*Reset info ===========================================================*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline; }
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; } 
	body {
		line-height: 1; }
	ol, ul {
		list-style: none; }
	p, figcaption {
		margin: 1.2em 0; /*returns normal margins to <p>, Applegreen */
		line-height: 160%;
		} 
/* giving <ul> a margin of 0 in the <nav> element is essential for the drop-down menu to work, if there is one. */


/* general styles  ==============================================*/

* { /* needed for mobile nav  */
  box-sizing: border-box
}
body {
		background: #fff
}

h1, h2, h3 {
	color: #color: #000;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	text-align: left;
}


p, form label, table, .wp-caption-text, figcaption, .home-content li, .widget li, footer li {
	 color: #000;
	 font-family: 'Open Sans', sans-serif;
	 line-height: 160%;
	 font-size: 105%;
}


nav li a {
	font-family: 'Open Sans', sans-serif;
	 font-size: 110%;
	 text-decoration: none;
}

table {
	color: #000;
}
a {
	color: #cc0000;
}
a:hover {
text-decoration: none;
}
.bold, strong, b {
	font-weight: bold;
}
.italic, em, i {
	font-style: italic;
}
sup {
    vertical-align: super;
    font-size: smaller;
} 
.clear {
		clear: both;
}
.offscreen { /* for skip navigation link */
	position:absolute;
	left:-10000px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
}

/* mobile styles=========================================================*/

	header {
		background: linear-gradient(to right, rgba(204,0,0,1), rgba(204,0,0,0) );
		position: relative;
		min-height: 210px
	}
		
	header::after { /* for background image see header.php */
	  content: "";
	 opacity: 0.8;
	  right: 0;
	  top: 0;
	  width: 100%;
	  min-height: 220px;
	  position: absolute;
	  z-index: -1;   
	}





.logo-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 10px 4% 0 4%;
}

.logo {
	float: left;
	width: 25%;
	margin-right: 2%;
	padding-top: 15px;
	padding-bottom: 30px;
}

.site-title {
	text-align: center;
	font-size: 170%;
	margin-top: 4px;
	margin-bottom: 0.05em;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	color: #fff;
	line-height: 145%;
	text-shadow: 1px 1px #353535,
				-1px -1px #353535,
				-1px 1px #353535,
				1px -1px #353535;
}
.site-description {
	text-align: center;
	margin-top: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 110%;
	line-height: 145%;
	color: #fff;
	margin-bottom: 0;
	padding-bottom: 1.2em;
	letter-spacing: 0.03em;
	text-shadow: 1px 1px #353535,
				-1px -1px #353535,
				-1px 1px #353535,
				1px -1px #353535;
}



/* alternative navigation */

.nav-container{
	background: #353535;
	 z-index: 1; /* for sticky nav container */
}

.primary-navigation {
  clear: both;
  margin: 0 auto;
  min-height: 46px;
  position: relative;
  max-width: 1100px;
  background: #353535;
}
.primary-navigation a {
  padding: 15px 13px;
  color: #fff;
  display: block;
  -webkit-transition: background-color 250ms ease;
  transition: background-color 250ms ease;
 
}
.primary-navigation a:hover {
  background-color: #e4e4e4; /* top nav hover */
  color: #000;
    padding: 15px 13px;
}


nav .current-menu-item > a,
nav .current-menu-ancestor > a,
nav .current_page_item > a,
nav .current_page_ancestor > a {
	background-color: #e4e4e4; /* grey */
	color: #000;
	/*  border-right: 1px solid #fff;  prevents current item colour covering right border */
}

	body#home .home,
	body#about .about,
	body#blog .blog,
	body#blog-dissertation .blog,
	body#konzerte .konzerte,
	body#services .services,
	body#plant-gallery .plant-gallery,
	body#extra .extra /*  nonexistant page helps with navigation */
	nav li a { /* specify nav li a, not just a, so that only the top-level link remains highlighted if using a drop-down. Remove the classes on the drop-down menu links, but reinstate them for the mobile menu if doing the Brightside model */
		background-color: #e4e4e4; /* grey */
		color: #000;
	}
	
	

.primary-navigation .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  position: absolute !important;
  height: 1px;
  width: 1px;
}
.primary-navigation .menu-toggle {
  background-color: #cd0202; /* hamburger background colour */
  border-radius: 0;
  cursor: pointer;
  height: 46px;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
  width: 46px;
  -webkit-transition: background-color 250ms ease;
  transition: background-color 250ms ease;
  outline: 0;
  color: #fff;
}
.primary-navigation .menu-toggle:before {
  content: "\2630"; /* lines of the hamburger */
  padding: 10px 16px 25px;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-size: 18px;
  text-decoration: inherit;
  vertical-align: text-bottom;
}
.primary-navigation .menu-toggle:hover {
  background-color: #353535;
  color: #fff;
}
.primary-navigation .nav-menu  {
  display: none;
  width: calc(100% - 48px);
}
.primary-navigation .nav-menu  li.menu-item-has-children {
  transition: all 250ms ease;
  position: relative;
}
.primary-navigation .nav-menu  li.menu-item-has-children:before {
  content: '';
  display: block;
  color: red;
  background: url(https://www.phv-frankfurt.de/wp-content/uploads/drop-down-arrow.png) center no-repeat;
  position: absolute;
  width: 48px;
  height: 46px;
  line-height: 46px;
  transtion: transform 250ms ease;
  top: 0;
  right: 0;
  background-color: #353535;
  cursor: pointer;
}
.primary-navigation .nav-menu  li.menu-item-has-children.open:before {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.primary-navigation .nav-menu  li.menu-item-has-children > a {
  width: calc(100% - 78px);
}
.primary-navigation .nav-menu  .sub-menu {
  display: none;
}
.primary-navigation .nav-menu  .sub-menu a { /* drop-down children */
  background-color: #353535; /* dark grey */
  color: #fff;
  padding: 15px 30px;
}
.primary-navigation .nav-menu  .sub-menu a:hover { /*drop-down hover */
  background-color: #e4e4e4; /* light grey */
  color: #353535;
}
.primary-navigation.toggled-on .menu-toggle {
  background-color: #353535;
}
/* end alternative navigation */


/* banner images =============== */

.jumbotron {
  color: white;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 170px; /* matches height of .banner-container */
}


.banner-container {
	height: 150px;
}
body.home .banner-container {
	height: 300px;
}

h1.home-title {
	text-align: left;
}
h1.blog-title {
	text-align: left;
}
/* banner images ===========*/

#main {
	margin: 0 auto;
	 background-color: #fff;
	  padding: 20px 4%;
	  max-width: 1100px;
}

h1 {
	font-size: 160%;
	margin-top: 15px;
	margin-bottom: 30px;
	line-height: 130%;
}
h2 {
	font-size: 140%;
	margin-top: 1em;
	margin-bottom: 0.6em;
}

.home-content ul,
.home-content ol {
	margin-left: 7%;
	margin-top: 1.2em;
}
.home-content li {
	line-height: 145%;
	margin-bottom: 6px;
	font-size: 110%;
}
.home-content ul li::before {
  content: "\25A0"; /* square */
  color: #cc0000;
  font-weight: bold;
  display: inline-block; 
  width: 1em;
  margin-left: -1em;
}
.home-content ol li {
	list-style-type: roman;
}

.conductor {
	display: block;
	margin: 0 auto;
	width: 98%;
}
.right-float {
	display: block;
	margin: 0 auto;
	width: 98%;
}
.full {
	width: 100%;
}
.four-oh-four {
	font-size: 700%;
	color: #000;
	line-height: 100%;
	margin: 0;
	font-family: 'hk_groteskbold';
	letter-spacing: 0.02em;
}
.center {
	text-align: center;
}

h2.entry-title a {
	text-decoration: none;
	color: #000;
}
h2.entry-title a:hover {
	text-decoration: underline;
	color: #cc0000;
}
.post-content {
	margin: 10px 0 20px 0;
	border-bottom: 1px solid #dedede;
}
.post-content:last-of-type {
	border-bottom: none;
}

/* sidebar ================= */

.sidebar {
	margin-top: 50px;
}
.widget {
	padding: 20px 5% 20px 5%;
	border-top: 1px solid #353535;
	border-bottom: 2px solid #cc0000;
	border-right: 1px solid #acacac;
	border-left: 1px solid #acacac;
	margin-bottom: 30px;
	/*  following code creates a soft shadow all the way round */
	-webkit-box-shadow: 1px 1px 5px #c1c1c1, 1px -1px 5px #c1c1c1, -1px 1px 5px #c1c1c1, -1px -1px 5px #c1c1c1;
	box-shadow: 1px 1px 5px #c1c1c1, 1px -1px 5px #c1c1c1, -1px 1px 5px #c1c1c1, -1px -1px 5px #c1c1c1;
}
.widget-title {
	margin-bottom: 10px;
	font-size: 110%;
}
.widget p,
.widget li {
	font-size: 95%;
	color: #353535;
}
.widget-pic {
	border-radius: 2px;
}
.widget h3 {
	color: #353535;
}


p.meta {
	font-size: 95%;
	color: #6f6f6f;
	margin: 0 !important;
}

.breadcrumbs {
	font-size: 95%;
	color: #6f6f6f;
	letter-spacing: 0.03em;
}



/* === home page boxes ===================================*/
#css-table {
	clear: both;
	margin-top: 20px;
	border-collapse: collapse;
	text-align: center;
	max-width: 1100px;
	background: rgba(255,255,255,0.5);
	position: relative;
	z-index: 1;
}
#css-table::after {
	content: "";
  position: absolute;
  top: 0; 
  left: 0;
    width: 100%;
  height: 100%;
  opacity: .3; 
  z-index: -1;
  background: url(https://www.phv-frankfurt.de/wp-content/uploads/brass-end.jpg) no-repeat;
  background-size: cover;
}

#css-table .topic-table {
	margin: 0 auto;
	padding: 15px 3%;
	 border: 1px solid #cd0202;
	text-align: center;
	width: 100%;
	vertical-align: top;
}
.topic-table h3 {
	font-size: 125% !important;
	color: #cd0202;
	font-weight: bold;
}
.topic-table p,
.topic-table ul {
	text-align: left;
	font-size: 110%;
	text-shadow: 1px 1px #c7c7c7;
}

/* instrument sections */

#category-container {
	margin: 20px auto;
	width: 100%;
	text-align: center;
}

.category-pic {
	width: 100%;
	border-radius: 3px;
}
#category-container .category-buttons {
	display: inline-block;
	margin: 2px 0.1% 15px 0.1%;
	vertical-align: top;
	width: 95%;
	position: relative;
}

figcaption.category-caption {
	line-height: 160%;
	overflow-wrap: break-word;
	color: #fff;
	font-size: 110%;
	position: absolute;
	background: rgba(0,0,0,0.5);
	width: 100%;
	text-align: center;
	padding: 0 4px;
	margin: 0;
	bottom: -11px;
	left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
	-webkit-transition: all 0.6s ease;
	-moz-transition:    all 0.6s ease;
	-o-transition:      all 0.6s ease;
}
#category-container .category-buttons:hover figcaption.category-caption {
	opacity: 1;
}

/* accordion styles =========================*/


.accordion { /* container div */
	box-sizing: border-box;
    transform: translate(0, 0);
    max-width: 100%;
    min-height: 100%;
    margin: 0;
    left: 0;
	background-color: #f4f4f4;
	border-right: 1px solid #d2d2d2;
	border-left: 1px solid #d2d2d2;
	border-bottom: 1px solid #d2d2d2;
	border-top: 5px solid #cc0000;
}


@media (min-width: 600px) {
  .accordion {
	min-height: 0;
	display: inline-block;
	position: relative;
	left: 50%;
	margin: 50px 0;
	transform: translate(-50%, 0);
	width: 90%;
	padding: 30px 0;
  }
}

.accordion .transition, ul li i:before, ul li i:after, p {
  transition: all 0.25s ease-in-out;
}

.accordion .flipIn, ul li, h2 {
  animation: flipdown 0.5s ease both;
}

.accordion .no-select, h3 {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


.accordion h2, h3 {
  color: #cc0000;
}

.accordion h2 {
  text-transform: uppercase;
  font-size: 36px;
  line-height: 42px;
  font-weight: 100;
   padding-left: 30px;
}

.accordion h3 {
  font-size: 26px;
  line-height: 34px;
  font-weight: 300;
  letter-spacing: 1px;
  display: block;
  margin: 0;
  cursor: pointer;
    padding-left: 30px;
}

.accordion p {
  color: #30455c !important;
  position: relative;
  text-shadow: none;
  font-size: 95% !important;
}

.accordion #css-table {
	padding-bottom: 30px;
	position: relative;
	overflow: hidden;
	opacity: 1;
	transform: translate(0, 0);
	margin-top: 12px;
	transition: 0.5s;
	width: 100%;
}
.accordion #css-table::after {
  background: none;
}

.accordion ul {
  list-style: none;
  perspective: 900;
  padding: 0;
  margin: 0;
}
.accordion ul li {
  position: relative;
  padding: 0;
  margin: 0;
  padding-bottom: 4px;
  padding-top: 18px;
  border-top: 1px solid #d2d2d2;
}
.accordion ul li:before {
	content: none;
}
.accordion ul li:nth-of-type(1) {
  animation-delay: 0.5s;
}
.accordion ul li:nth-of-type(2) {
  animation-delay: 0.75s;
}
.accordion ul li:nth-of-type(3) {
  animation-delay: 1s;
}
.accordion ul li:last-of-type {
  padding-bottom: 0;
}
.accordion ul li i {
  position: absolute;
  transform: translate(-6px, 0);
  margin-top: 16px;
  right: 0;
}
.accordion ul li i:before, ul li i:after {
  content: "";
  position: absolute;
  right: 30px;
  background-color: #ff6873;
  width: 3px;
  height: 9px;
}
.accordion ul li i:before {
  transform: translate(-2px, 0) rotate(45deg);
}
.accordion ul li i:after {
  transform: translate(2px, 0) rotate(-45deg);
}
.accordion ul li input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}
.accordion ul li input[type=checkbox]:checked ~ p,
.accordion ul li input[type=checkbox]:checked ~ #css-table {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translate(0, 50%);

}

.accordion ul li input[type=checkbox]:checked ~ i:before {
  transform: translate(2px, 0) rotate(45deg);
}
.accordion ul li input[type=checkbox]:checked ~ i:after {
  transform: translate(-2px, 0) rotate(-45deg);
}

.accordion p.hide {
	height: 1px; 
	color: #f9f9f9 !important;
}

/* WP Galleries===================================================*/

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	margin: 0 0 1.5em;
	padding: 0 0.5em 0 0;
	width: 50%;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus,
.widget-area .gallery-item a,
.widget-area .gallery-item a:hover,
.widget-area .gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

/* WP images ==================================================*/

img,
video {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

img.alignright,
img.alignleft,
img.aligncenter,
.alignright,
.alignleft,
.aligncenter { 
	width: 100%; /* prevents text riding up next to photo on very small screens */
}

/* WP captions and tables =====================================*/
.wp-caption { /* caption div can force image out of its container if not added here */
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
.wp-block-image figcaption {
	font-style: italic;
	font-size: 100%;
}

.wp-block-table table {
	width: 100%;
}
.wp-block-table td, th {
	padding: 0.4375em;
	text-align: left;
}

.wp-block-table table, th, td {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin: 0 0 1.75em;
	table-layout: fixed;
	word-wrap: break-word;
	border: solid 1px #d1d1d1;
}

.wp-caption {
	background: #e9e9e9;
}

/* File download text and button styles =============================*/
.wp-block-file {
	font-size: inherit;
	margin: 1.2em 0;
	font-size: 105% !important;
	font-family: 'Open sans', sans-serif;
} 

.wp-block-file__button,
a.wp-block-file__button {
	color: #fff;
	background: #cc0000 !important;
	letter-spacing: 0.03em;
	font-size: 100 !important%;
	padding: 4px 10px 6px 10px;
	line-height: 140%;
	font-family: 'Open sans', sans-serif;
	margin: 0 0 0 1%;
	text-decoration: none;
	font-weight: 400;
	border-radius: 8px !important;
}
a.wp-block-file__button:hover {
	background: #af0000 !important;
}


.wp-container {
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
	align-items: center;
}
/* 
.home-blurb .wp-container {
	justify-content: center; centers the button within its container 
}
*/

/* General wp button styles ========================*/

.wp-block-button__link {
	background: #cc0000;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	word-break: break-word;
	font-size: 1.1em;
	padding: 12px 28px 12px 25px;
	font-family: 'Open Sans', sans-serif;
	border-radius: 8px;
	letter-spacing: 0.03em;
}

.wp-block-button__link::after {
	border-style: solid;
	border-width: 0 0 0.15em 0.15em;
	content: '';
	display: inline-block;
	height: 0.4em;
	width: 0.4em;
	left: 0.4em;
	position: relative;
	top: 0.3em;
	transform: rotate(-135deg);
	vertical-align: top;
}
.wp-block-button__link:hover {
	background: #af0000;
}

hr.wp-block-separator {
	clear: both;
	border: 1px solid #cc0101; /* border gives hr its solid colour */
	margin: 50px 0 20px 0;
}

footer {
	clear: both;
	margin-top: 20px;
	background: #353535;
	background: linear-gradient(to right, rgba(53,53,53,1), rgba(53,53,53,0) );
	height: 360px;
	padding-top: 40px;
	 position: relative;
}
footer::after { /* for background image see header.php */
  content: "";
 opacity: 0.9;
  left: 0;
  top: 0;
  width: 100%;
  height: 360px;
  position: absolute;
  z-index: -1;   
}

.footer-block-container {
	margin-left: auto;
	margin-right: auto;
	padding: 4px 4%;
	max-width: 1100px;
}
.footer-text-container{
	padding: 4px 2%;
}
.footer-block-container {
	overflow-wrap: break-word; /* allows long words to break where necessary */
}

.footer-text-container {
	text-align: center;
	border-top: 1px solid #fff;
	clear: both;
	background: #cc0000;
}
footer a,
footer p,
footer h3 {
	color: #fff;
	text-decoration: none;
}
footer a:hover {
	text-decoration: underline;
}
footer h3 {
	margin-bottom: 20px;
	font-size: 120%;
	letter-spacing: 0.01em;
	text-shadow: 1px 1px #353535;
}
.footer-block-container p,
footer li {
	padding-bottom: 5px;
	margin: 0;
	font-size: 95%;
	letter-spacing: 0.02em;
	text-shadow: 1px 1px #353535;
}
.footer-text-container p {
	font-size: 100%;
	letter-spacing: 0.02em;
}
footer li {
	line-height: 125%;
}
footer ul {
	margin-bottom: 30px;
}
.footer-block-container img {
	max-width: 100%;
	display: block;
	margin-bottom: 15px;
}

.footer-pipe {
	margin-left: 1%;
	margin-right: 1%;
	color: #fff;
}

/*================ media queries for larger screen sizes====*/


@media screen and (min-width:500px) {
	.logo {
		padding-bottom: 0px;
		width: auto;
	}
	.site-title {
		text-align: left;
		margin: 0;
		font-size: 200%;
		line-height: 130%;
		padding-top: 10px;
	}
	.site-description {
		text-align: left;
		font-size: 120%;
		letter-spacing: 0.05em;
		padding-top: 0;
		padding-bottom: 4px;
	}
	.banner-container,
	.jumbotron,
	.blog-blurb-container {
		height: 200px;
	}
	h1 {
		font-size: 180%;
		margin-top: 15px;
		line-height: 140%;
	}

	#category-container {
		margin-top: 40px;
		text-align: left;
	}
	#category-container .category-buttons {
		width: 31%;
		margin: 0 0.5% 15px 0.5%;
	}
	/* WP Gallery Columns */
	
	img.alignright,
	img.alignleft,
	img.aligncenter,
	.alignright,
	.alignleft,
	.aligncenter { 
		display: block; 
		margin: 20px auto;
		width: auto;
	}
	
}

@media screen and (min-width:600px) {
		
	.logo {
		width: auto;
	}
	
	.site-title {
		font-size: 210%;
		padding-top: 25px;
	}
	body.home .banner-container,
	body.home .jumbotron{
		height: 450px;
	}
	
	h1 {
		font-size: 200%;
	}
	
	.post-content-container	{
		float: left;
		width: 63%;
		margin-right: 4%;
	}
	.conductor {
		display: block;
		float: left;
		margin: 0  4% 0 0;
		width: 55%;
	}
	.right-float {
		display: block;
		float: right;
		margin: 0  0 3% 0;
		width: 50%;
	}
	.sidebar {
		float: left;
		width: 33%;
		padding-left: 3%;
		margin-top: 120px;
	}
	.widget h3 {
		font-size: 120%;
	}
	.widget-pic {
		width: 100%;
	}
	#css-table.naechste {
		display: table;
		width: 100%;
	}
	#css-table .topic-table {
		display: table-cell;
		width: 34%;
		/* margin has no effect here */
	}
	#css-table .topic-table h3 {
		font-size: 130%;
	}
	
	/* Gallery Columns */

	.gallery-item {
		max-width: 25%;
	}

	.gallery-columns-1 .gallery-item {
		max-width: 100%;
	}

	.gallery-columns-2 .gallery-item {
		max-width: 50%;
	}

	.gallery-columns-3 .gallery-item {
		max-width: 33.33%;
	}

	.gallery-columns-4 .gallery-item {
		max-width: 25%;
	}

	footer,
	footer::after {
		height: 270px;
	}
	.footer-block {
		float: left;
		width: 30%;
		margin-right: 5%;
		margin-bottom: 20px;
	}
	.footer-block:last-of-type {
		margin-right: 0;
	}

}

@media screen and (min-width:750px) {
	
	.site-description {
		padding-top: 15px;
	}
}

@media screen and (min-width:900px) { /* navigation changes */
	
	.site-title {
		padding-top: 50px;
	}
	.logo {
		padding-bottom: 10px;
	}
	.site-description {
		font-size: 130%;
		padding-top: 10px;
	}
  
  /* alternative nav */
   .menu-toggle {
    display: none;
  }
  
  .nav-menu  {
		text-align: left;
		letter-spacing: 0.01em;
	}
	ul.sub-menu {
		text-align: left;
			font-size: 95%;
	}
  

  .primary-navigation .nav-menu  {
    display: block !important;
  }

   .primary-navigation .nav-menu ul:not(.sub-menu) > li { 
    display: inline-block;
	 margin-right: -5px; /* this cancels a spacing between the tab elements */
  }
  .primary-navigation .nav-menu ul:not(.sub-menu) > li a {
	 padding-right: 25px;
	 padding-left: 25px;
	  }
  .primary-navigation .nav-menu ul:not(.sub-menu) > li a { /* gets cancelled later */
	   border-left: 1px solid #fff;
  }
 

	.primary-navigation .nav-menu li:last-of-type a { /* gets cancelled later */
	  border-right: 1px solid #fff;
  }
  
  .primary-navigation .nav-menu  li.menu-item-has-children > a {
    width: auto;
	border-right: 1px solid transparent; /* needed to stabilise right border on hover */
  }
   .primary-navigation .nav-menu  li.menu-item-has-children a:hover {
	  border-right: 1px solid #fff; /* needed to stabilise right border on hover */
  }

  
   nav .menu-item-has-children a::after { /* adds a chevron to top menu items with drop-downs */
		border-style: solid;
		border-width: 0 0 0.15em 0.15em;
		content: '';
		display: inline-block;
		height: 0.4em;
		width: 0.4em;
		left: 0.6em;
		position: relative;
		top: 0.2em;
		transform: rotate(-45deg);
		vertical-align: top;
		/* can't apply a text-shadow to a border element. Use genericons, see code above, if it really matters */
	}
   	
   
	
	nav .menu-item-has-children li a::after { /* cancels chevron from actual drop-down items */
		border-style: none;
	}
	/* NOTE: sometimes the chevron code makes the navigation jump about. Remove if it's a problem */
  
  
  .primary-navigation .nav-menu  li.menu-item-has-children:before {
    display: none;
  }
  .primary-navigation .nav-menu  li.menu-item-has-children:hover .sub-menu {
    position: absolute;
    display: block;
   z-index: 99;
    min-width: 100px;
	border-top: 1px solid #fff;
  }
  .primary-navigation .nav-menu  li.menu-item-has-children:hover .sub-menu a {
    white-space: nowrap;
  }
  
	 .primary-navigation .nav-menu  li.menu-item-has-children ul.sub-menu > li a:hover, /* cancels added border that stabilises on hover */
    .primary-navigation .nav-menu ul.sub-menu > li a { /* cancels right and left borders for drop-down */
	  border-left: none;
	  border-right: none; 
  }
  
  /* ==== end nav ===========================*/
  
  	.banner-container,
	.jumbotron,
	.blog-blurb-container {
		height: 200px;
	}
	body.home .banner-container,
	body.home .jumbotron{
		height: 600px;
	}
  
  h1 {
		margin-top: 10px;
		line-height: 145%;
		font-size: 220%;
	}
	h2 {
		font-size: 180%;
	}
	
	.widget h3 {
		font-size: 130%;
	}
	#category-container h2 {
		margin-top: 0.2em;
	}
	.conductor {
		width: 45%;
	}
	.right-float {
		width: 42%;
	}
	
			/* Gallery Columns */

	.gallery-columns-5 .gallery-item {
		max-width: 20%;
	}
	.gallery-columns-6 .gallery-item {
		max-width: 17%;
	}
	.gallery-columns-7 .gallery-item {
		max-width: 14.28%;
	}
	.gallery-columns-8 .gallery-item {
		max-width: 12.5%;
	}
	.gallery-columns-9 .gallery-item {
		max-width: 11.11%;
	}
	
	/* images */
	
	img.alignright { display: block;float: right; margin: 0 0 4% 30px; }
	img.alignleft { display: block; float: left; margin: 0 4% 1em 0; }
	img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
	.alignright { display: block; float: right !important; margin: 0 0 4% 30px;}
	.alignleft { display: block; float: left !important; margin: 0 4% 1em 0;}
	.aligncenter { display: block; display: block; margin-left: auto; margin-right: auto; }
	.footer-image-container img {
		width: 10%;
		padding-bottom: 20px;
	}

}

@media screen and (min-width: 1100px) {
	
	#main {
		padding-right: 0;
		padding-left: 0;
	}
	
	.primary-navigation .nav-menu ul:not(.sub-menu) > li a {
		 padding-right: 35px;
		 padding-left: 35px;
	}
	.banner-container,
	.jumbotron,
	.blog-blurb-container {
		height: 200px;
	}
	
	
	h1 {
		font-size: 240%;
	}
	
	h2 {
		font-size: 200%;
	}
	.conductor {
		width: 40%;
		margin-left: 4%;
		margin-bottom: 30px;
	}
	.right-float {
		width: 35%;
		margin-left: 4%;
		margin-bottom: 30px;
	}
	#category-container h2 {
		font-size: 160%;
	}
	.page-container {
		margin-top: 10%;
	}
		
	.main-church-pic {
		width: 45%;
	}
	.footer-text-container,
	.footer-block-container {
		padding: 10px 0;
	}
}

@media screen and (min-width: 1110px) {
	.logo-container {
		padding: 15px 0 0 0;
	}
	.logo {
		padding-bottom: 20px;
		margin-right: 3%;
	}
	
	.site-title {
		font-size: 250%;
	}
	.site-description {
		font-size: 140%;
	}
	body.home .banner-container,
	body.home .jumbotron{
		height: 700px;
	}
	#css-table .topic-table h3 {
		font-size: 140%;
	}
	#css-table .topic-table p {
		font-size: 120%;

	}
	.footer-text-container{
		padding-left: 0;
		padding-right: 0;
	}

}