/*
Theme Name: East Dean & Friston Residents' Association
Author: Stephanie Boucher of Applegreen Websites
Author URI: https://www.applegreenwebsites.com
Description: Theme developed for EDFRA
Date started: August 2023
Version: 1.0
*/

/*

    font-family: 'Roboto', sans-serif;
    font-family: 'Roboto Condensed', sans-serif;

*/


/*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 for tenterden np =======================================*/

* { /* needed for mobile nav  */
  box-sizing: border-box
}
html, body {
	height: 100%; /* this enables elements to be full browser window height if also given height: 100%; */
}

h1, h2 {
	color: #222;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	text-align: left;
}
h3 {
	text-align: left;
}

h3 {
	color: #222;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;

}
p, form label, table, .wp-caption-text, figcaption, #main li, pre, footer li, blockquote {
	 color: #222;
	 font-family: 'Roboto', sans-serif;
	 font-weight: 400;
	 line-height: 155%;
	 font-size: 110%;
}
p.large {
	font-size: 115%;
}

nav li a {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	 font-size: 100%;
	 text-decoration: none;
}

table {
	color: #000;
}
a {
	color: #186d1b;
}
a:hover {
text-decoration: none;
}
.bold, strong, b {
	font-weight: 700;
}
.italic, em, i {
	font-style: italic;
}
sup {
    vertical-align: super;
    font-size: smaller;
} 
sub {
	vertical-align: sub;
    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-color: #fff;
	width: 100%;
	z-index: 100;
	padding: 10px 2%;
}

.header-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}

header img {
	float: left;
	margin: 4px 3% 8px 0.5%;
}

.identity {
	text-align: left;
	 padding: 0;
}


p.site-title {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	margin: 0;
	font-size: 100%;
	line-height: 130%;
	padding-top: 10px;
	text-transform: uppercase;
}
p.site-description {
	margin: 0;
	font-size: 110%;
}
header a {
	text-decoration: none;
}


/* alternative navigation */

.nav-container{
	background: #417500;
	 z-index: 1; /* for sticky nav container */
}

.primary-navigation {
  clear: both;
  margin: 0 auto;
  min-height: 46px;
  position: relative;
  max-width: 1200px;
  background: #417500;
}
.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: #2c5000; /* top nav hover */
    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: #2c5000; /* dark green */
	/*  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#volunteers .volunteers,
	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: #2c5000; /* dark green */
	}
	
	

.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: #2c5000; /* 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;
}
.primary-navigation .menu-toggle:hover {
  background-color: #353535;
}
.primary-navigation .menu-toggle:before {
  color: #fff;
  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 .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://edfra.org.uk/wp-content/uploads/drop-down-arrow.png) center no-repeat;
  position: absolute;
  width: 48px;
  height: 46px;
  line-height: 46px;
  tranistion: transform 250ms ease;
  top: 0;
  right: 0;
  background-color: #2c5000;
  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: #2c5000; /* green */
  padding: 15px 30px;
}
.primary-navigation .nav-menu  .sub-menu a:hover { /*drop-down hover */
  background-color: #417500; /* green */
}
.primary-navigation.toggled-on .menu-toggle {
  background-color: #353535;
}
/* end alternative navigation */

/*   images =========*/

.home-pics {
    width: 100%;
    background: #fff;
	height: 60vh;
	object-fit: cover;
   }
  
  #rolling {
	width: 100%;
	margin: 0 auto;
	position: relative;
  }
 
 .text { 
	position: absolute;
	top: 20%;
	left: 50%;
	transform: translateX(-50%);
	padding: 2px 2% 0 2%;
	width: 100%;
	background: rgba(0,0,0,0.2);
	text-align: center;
	color: #fff;
	font-weight: 600;
	font-size: 160%;
	letter-spacing: 0.03em;
	word-spacing: 0.1em;
	text-shadow: 1px 1px 5px #444;
  }
  
 figure {
	  margin: 0;
  }
  
 #rolling figure {
	 position: absolute;
	 left: 0; right: 0;  /* to ensure image takes full width of the container */
	}
 #rolling figure:nth-of-type(1) {
    animation-name: fader;
    animation-delay: 6s;
    animation-duration: 1.5s;
    z-index: 20;
  }
  #rolling figure:nth-of-type(2) {
    z-index: 10;
  }
  #rolling figure:nth-of-type(n+3) {
    display: none;
  }

  @keyframes fader {
    from { opacity: 1.0; }
    to   { opacity: 0.0; }
  }
  


#main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 2% 20px 2%;
}

h1 {
	font-size: 200%;
	margin-bottom: 10px;
	line-height: 135%;
	margin-top: 10px;
}

h1.news-title {
	 padding-top: 94px; /* because of fixed header element */
}

h2 {
	font-size: 160%;
	line-height: 140%;
	margin-top: 1.5em;
}
h2.entry-title a {
	color: #222;
	text-decoration: none;
}
h2.entry-title a:hover {
	color: #186d1b;
	text-decoration: underline;
}

.breadcrumbs {
	font-size: 80%;
	margin: 0;
	letter-spacing: 0.01em;
}

.fullwidth-content {
	max-width: 1000px;
	margin: 0 auto;
}

#main ul,
#main ol {
	margin: 1.2em 0 1.2em 7%;
}
#main li {
	line-height: 150%;
	margin-bottom: 4px;
	font-size: 110%;
}
#main ul li::before {
  content: "\25CF"; /* circle */
  color: #417500;
  display: inline-block; 
  width: 0.8em;
  margin-left: -1em;
  font-size: 1 em;
  vertical-align: top;
  margin-right: 1%;
}
#main ol li {
	list-style-type: roman;
}

p.meta {
	font-size: 100%;
	color: #6f6f6f;
	margin: 0 !important;
	font-weight: 300;
	padding-bottom: 10px;
	padding-top: 8px;
}
p.meta a {
	color: #6f6f6f;
}

.wp-container {
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
	align-items: center
}
.wp-block-button__link {
	background: #0f6511;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	word-break: break-word;
	font-size: 1.18em;
	letter-spacing: 0.02em;
	padding: 10px 20px;
	font-family: Roboto, arial, sans-serif;
	border-radius: 0;
	height: 40px;
}
.wp-block-button__link:hover {
	background: #2c5000;
}


.wp-block-quote p {
	margin: 0;
}

blockquote cite {
	padding: 8px 4% 10px 2%;
	margin-bottom: 20px;
	font-style: italic;
	border-left: solid 5px #acacac;
	display: block;
}
/* File download text and button styles =============================*/
.wp-block-file {
	font-size: inherit;
	margin: 1.2em 0;
	font-size: 105% !important;
	font-family: Roboto, arial, sans-serif;
} 

.wp-block-file__button,
a.wp-block-file__button {
	color: #fff;
	background: #417500 !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: 3px !important;
}
a.wp-block-file__button:hover {
	background: #2c5000 !important;
}


/* sidebar ================= */

h2.widget-title a {
	text-decoration: none;
}
h3.widget-title {
	color: #222;
	font-size: 160%;
}

h3.widget-title a:hover {
	text-decoration: underline;
}
.post-content {
	margin: 0 0 30px 0;
	border-bottom: 1px solid #d7d7d7;
}
.post-content:last-of-type {
	border-bottom: none;
}

.page-content {
	  max-width: 800px;
	  margin: 0 auto;
	  clear: both;
	  padding: 20px 2%;
  }

.sidebar {
	margin-top: 10px;
}
.widget {
	background: #f3f3f3;
	padding: 20px 5% 20px 5%;
	border: 1px solid #d7d7d7;
	margin-bottom: 30px;
}
.widget-title {
	margin-bottom: 10px;
	font-size: 110%;
	color: #186d1b;
}
.widget-pic {
	border-radius: 2px;
}
.sidebar img {
	width: 100%;
}
.widget p,
.widget li {
	font-weight: 300 !important;
	font-size: 105% !important;
}	

#main .widget ul,
#main .widget ol {
	margin: 1.2em 0 1.2em 7% !important;
}

/* lightbox gallery =========================*/

.gallery-item {
	margin-top: 20px;
}

#lightbox-gallery {
	margin: 10px auto;
	width: 99%;
	text-align: left; 
}
.thumbnail {
	width: 120px;
	height: 120px;
	border: solid 1px #acacac;
}
.thumbnail:hover {
	opacity: 0.8;
}
#lightbox-gallery .thumbnails-grid {
	display: inline-block;
	margin: 1px 4px 1px 0;
	padding: 2px 0;
	text-align: center;
}

.project-content {
	margin: 0 0 20px 0;
	padding-bottom: 20px;
	border-bottom: 1px solid #a3a3a3;
}
.project-content:last-of-type {
	border-bottom: none;
}

hr {
	color: #e0e0e0;
	margin: 20px auto 0 auto;
	height: 1px;
}

/* === prop hire ===================================*/

#category-container {
	margin: 20px auto;
	width: 100%;
	text-align: center;
}

.category-pic {
	width: 100%;
}

#category-container .category-buttons {
	display: inline-block;
	margin: 20px 0.1%;
	vertical-align: top;
	border-radius: 5px;
}

#category-container h2 {
	margin-bottom: 15px;
	margin-top: 10px;
	text-align: center;
}
#category-container a {
	text-decoration: none;
}


.category-caption {
	line-height: 130%;
	text-align: center;
	padding: 4px;
	font-size: 100%;
	font-weight: 300;
	line-height: 150%;
}

/* 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;
}

footer {
	clear: both;
	min-height: 120px;
	padding-top: 20px;
	margin-top: 20px;
	background-color: #e9e9e9;
	border-top: 3px solid #0f6511;
}
.footer-text-container,
.footer-block-container {
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
	padding: 4px 4%;
}
.footer-block-container {
	overflow-wrap: break-word; /* allows long words to break where necessary */
}

.footer-text-container {
	clear: both;
	text-align: center;
}
footer a,
footer p {
	color: #454545;
}
footer a:hover {
	text-decoration: none;
}
footer h3 {
	margin-bottom: 20px;
	font-size: 130%;
	letter-spacing: 0.01em;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	color: #222;
}
.footer-block-container p,
footer li {
	padding-bottom: 5px;
	margin: 0;
	font-size: 95%;
	letter-spacing: 0.02em;
}
.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: #82936c;
}

/*================ media queries for larger screen sizes====*/

@media screen and (min-width:450px) {

	p.site-title {
		font-size: 150%;
	}
	.text {
		top: 45%;
	}
}

@media screen and (min-width:450px) {

	p.site-description {
		font-size: 100%;
	}


}


@media screen and (min-width:500px) {
	
	h1 {
		font-size: 220%;
		margin-top: 15px;
		line-height: 140%;
	}
	#category-container {
		margin-top: 40px;
		width: 100%;
	}
	#category-container .category-buttons {
		width: 48%;
		margin: 20px 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) {
	
	header img {
		padding-top: 5px;
		padding-bottom: 10px;
	}

	p.site-title {
		font-size: 180%;
	}
	p.site-description {
		letter-spacing: 0.01em;
		padding-top: 6px;
		padding-bottom: 6px;
	}

	.text {
		font-size: 180%;
	}
	
	#category-container {
		margin-top: 40px;
		width: 100%;
	}

	#category-container .footer-category-buttons {
		width: 47%;
		margin: 20px 1%;
		display: inline-block;
		vertical-align: top;
	}
	.category-pic {
		transition: 0.5s;
	}
	.category-pic:hover {
		transform: scale(1.06);
		transition: 0.7s;
	}
	
	.post-content-container	{
		float: left;
		width: 63%;
		margin-right: 6%;
	}

	.sidebar {
		float: left;
		width: 30%;
		padding-left: 2%;
	}
	
	/* 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 {
		margin-top: 30px;
	}
	.footer-block {
		float: left;
		width: 30%;
		margin-right: 5%;
		margin-bottom: 20px;
		text-align: left;
	}
	.footer-block:last-of-type {
		margin-right: 0;
	}
}

@media screen and (min-width:750px) {
	
	.jumbotron, .banner-container {
	  height: 550px;
	}
	
	#category-container .category-buttons {
		width: 30%;
		margin: 20px 0.5%;
	}
	#css-table {
		margin-top: 20px;
	}
	
	#css-table .topic-table {
		margin: 20px 1%;
		width: 30%;
		display: inline-block;
	}
	#css-table .topic-table:first-of-type {
		padding-top: 40px;
	}
	
}


@media screen and (min-width:1150px) { /* navigation changes */

	header img {
		margin-right: 2%;
		padding-top: 8px;
	}
	
	p.site-description {
		font-size: 125%;
		padding-bottom: 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: 30px;
	 padding-left: 30px;
	 height: 46px;
	  }
  .primary-navigation .nav-menu ul:not(.sub-menu) > li a { /* gets cancelled later */
	   border-left: 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 */
  }
  
  .primary-navigation .nav-menu li:last-of-type a { /* gets cancelled later */
	  border-right: 1px solid #fff; /* must be positioned after the transparent border-right */
  }
  
    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 ===========================*/
  
  .text {
		font-size: 200%;
	}
  
	h1 {
		margin-top: 20px;
		line-height: 145%;
		font-size: 240%;
	}

	h2 {
		font-size: 180%;
		margin-top: 0.8em;
	}
	h2.entry-title {
		font-size: 160%;
	}
	
	#category-container .category-buttons {
		width: 30%;
		margin: 20px 1.5%;
	}
	.footer-image-container img {
		width: 10%;
		padding-bottom: 20px;
	}
	
			/* 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 0.5em 30px; }
	img.alignleft { display: block; float: left; margin: 0 2em 1em 0; }
	img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
	.alignright { display: block; float: right !important; margin: 0 0 0.5em 30px;}
	.alignleft { display: block; float: left !important; margin: 0 2em 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: 1200px) {

	#category-container .category-buttons {
		width: 24%;
		margin: 20px 0.3%;
	}
	
	
  }


}
@media screen and (min-width: 1210px) {
	header {
		padding-left: 0;
		padding-right: 0;
	}
	 .text {
		font-size: 220%;
	}
	#rolling, .jumbotron, h1.news-title {
		padding-top: 98px;
	  }
	.jumbotron, .banner-container {
	  height: 600px;
	}

	.identity {
		padding-left: 0;
		padding-bottom: 15px;
		margin-left: 0;
	}
	#main ul li::before {
		margin-right: 0.5%;
	}

	.post-page {
		padding: 0 4%;
	}

}
