/*
 Theme Name:   tmc
 Theme URI:    http://www.traffordmc.org.uk
 Description:  tmc theme
 Author:       DC
 Template:     twentysixteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         tmc!
*/


html {
	font-family: 'PT Sans', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
	color: #1a1a1a;
	font-family: 'PT Sans', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

ul, ol {
	margin: 0;	
}

.post-navigation .post-title, .entry-title, .comments-title {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

body:not(.custom-background-image)::before {
	top: 0!important;
	height: 0!important;
}
body:not(.custom-background-image)::after {
	height: 0!important;
}

footer .site-info {
	margin-top: 1em;
}

body.page-template-template-home,
body.page-template-template-home .site {
	background-color: #00aea9;
}



.site {
	margin: 0;
}

.site-header {
    padding: 0;
	width: 100%;
	
}

.site-inner {
	width: 100%;
	max-width: 100%;
}
.site-content {
    word-wrap: normal;
}

#content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0 1.25rem 0;
	box-sizing: border-box;
}

#content p {
    margin: 0 0 1.5em;
}
.entry-content h4 {
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.entry-content ul, .entry-summary ul, .comment-content ul, .entry-content ol, .entry-summary ol, .comment-content ol {
    margin-left: 32px;
	margin-bottom:20px;
}

.site-main > article {
    margin-bottom: 4em;
}

.site-main {
    margin-bottom: 4em;
	margin-top: 16px;
}


.header-image {
	margin: 0 30px 1.5rem 0;
	width: 267px;
}

.header-image img {
/*
	filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
  filter: url(#drop-shadow);
  -webkit-filter: drop-shadow(12px 12px 7px rgba(0,0,0,0.5));
  filter: drop-shadow(4px 4px 4px rgba(0,0,0,0.5));
*/
}

.site-header-main {
	background-color:  #00aea9;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;

}

.header-strapline {
	background-color: #d3157d;
	font-size: 18px;
	color: #FFFFFF;
	padding: .35rem 0;
}

.header-strapline h3 {
	font-size: .8rem;
	font-style: italic;
	color: #FFFFFF;
	width: 1200px;
	margin: 0 auto;
}

.header-content {
	 max-width: 100%;
    margin: 0 auto;
	position:relative;
	width: 1200px;
	-webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
	display: flex;
}

.main-navigation {
    font-family: 'PT Sans', sans-serif;
}

#site-header-menu {
	max-width: 100%;
	width: 100%;
	margin: 0;
	background: #fff;
/*	border-bottom: 1px solid #00aea9;*/
}

#menu-main-menu {
/*	margin: 1rem 0 .7rem 0;*/
/*	border-bottom: 1px solid #00aea9;*/
	display: table;
	margin: 0 auto;
	width: 100%;
}

.main-navigation .primary-menu > li {
	max-width: 172px;
	text-align: center;
	height: 58px;
	vertical-align: middle;
	display: table-cell;
	float: none;
}

.main-navigation a {
	white-space: normal;
}

#site-header-menu a {
	font-weight: 400;
	text-transform: uppercase;
	color: #838688;

}

#site-navigation.main-navigation li:hover > a {
	color:#00aea9;
	-webkit-transition: color .5s linear;
  -moz-transition: color .3s linear;
  -ms-transition: color .3s linear;
  -o-transition: color .3s linear;
  transition: color .3s linear;
}

#site-header-menu .main-navigation ul li.current-menu-item a {
	color:#00aea9;
	
}


.main-navigation .menu-item-has-children > a::after {
	top: 20px;
}

/*subnav*/

.main-navigation ul ul {
		border-bottom: none;
		margin: 0;
/*		background-color:#e1d8ec;*/
		-webkit-transition: color .5s linear;
  -moz-transition: color .3s linear;
  -ms-transition: color .3s linear;
  -o-transition: color .3s linear;
  transition: color .3s linear;
	}

	.main-navigation ul ul ul {
		top: -1px;
	}

	.main-navigation ul ul ul:before,
	.main-navigation ul ul ul:after {
		border: 0;
	}

	.main-navigation ul ul li {
		background-color: rgba(0, 180, 173, 0.9); 
		border: none;
/*		border-top: 1px solid #d3157d;*/
		border-bottom-width: 0;
		color: #fff;
	}

	.main-navigation ul ul a {
		white-space: normal;
		width: 12.6875em;
		color: #fff!important;
	}

	.main-navigation ul ul:before,
	.main-navigation ul ul:after {
		border-style: none;
		content: "";
		position: absolute;
	}

	.main-navigation ul ul:before {
		border-width: 0;
		right: 9px;
		top:0;
	}

	.main-navigation ul ul:after {
		border-color: #fff transparent;
		border-width: 0 ;
		right: 11px;
		top: -7px;
	}

	ul.sub-menu li a {
		font-size: 14px;
	}

.main-navigation ul.sub-menu .toggled-on, .main-navigation ul.sub-menu {
	width: 173px;
	margin: 0;
	margin-left: 16px;
	padding: 0;
	top: 63px;
	text-align:left;
}

.main-navigation li:hover > ul, .main-navigation li.focus > ul {
    left: 9px;
    right: 0;
}

#menu-toggle.menu-toggle {
	padding: 3px 10px;
}

/*end subnav*/

#content .bx-wrapper {
	box-shadow: none;
	margin-bottom: 20px;
	border: 0;
}
#banner-slider {
	margin: 0;
/*	max-width: 1200px;*/
	width: 100%;
	
}

#banner-slider li{
	position: relative;
}

#banner-slider li.southside .brochure-cover, #banner-slider li.lift_off .brochure-cover {
	position: absolute;
	top:14%;
	right:6%;
	z-index: 20;
	-ms-transform:      rotate(10deg);
	-moz-transform:     rotate(10deg);
	-webkit-transform:  rotate(10deg);
	-o-transform:       rotate(10deg);
	transform:          rotate(10deg);
	-webkit-box-shadow: 6px 4px 32px -2px rgba(0,0,0,0.75);
	-moz-box-shadow: 6px 4px 32px -2px rgba(0,0,0,0.75);
	box-shadow: 6px 4px 32px -2px rgba(0,0,0,0.75);
}

#banner-slider li.tmc .brochure-cover {
	display: none;
}

#banner-slider .slider-background {
	background-repeat: no-repeat;
	position: relative;
	height: 450px;
	width: 100%;
}


#banner-slider li.lift_off .slider-grad { 
	background: -moz-linear-gradient(left, rgba(155,128,187,0) 0%, rgba(155,128,187,1) 43%, rgba(155,128,187,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(155,128,187,0) 0%,rgba(155,128,187,1) 43%,rgba(155,128,187,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(155,128,187,0) 0%,rgba(155,128,187,1) 43%,rgba(155,128,187,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009b80bb', endColorstr='#9b80bb',GradientType=1 ); 
	height: 450px;
	position: absolute;
	z-index: 10;
	right: 0;
	width: 60%;
	top: 0;
}


#banner-slider li.southside .slider-grad { 
	background: -webkit-linear-gradient(left, rgba(255,175,75,0) 9%, rgba(255,173,71,0) 14%, rgba(255,162,46,1) 47%, rgba(255,146,10,1) 96%);
	background: -o-linear-gradient(left, rgba(255,175,75,0) 9%, rgba(255,173,71,0) 14%, rgba(255,162,46,1) 47%, rgba(255,146,10,1) 96%);
	background: linear-gradient(to right, rgba(255,175,75,0) 9%, rgba(255,173,71,0) 14%, rgba(255,162,46,1) 47%, rgba(255,146,10,1) 96%); /* Chrome10-25,Safari5.1-6 */ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	height: 450px;
	position: absolute;
	z-index: 10;
	right: 0;
	width: 60%;
	top: 0;
}

#banner-slider li.tmc .slider-grad {
	display: none;
}


a.bannerlink {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 100;
}

#banner-slider li .open {
		display: none;
}

#banner-slider li.lift_off .open.liftoff-flash {
	display: block;
}
#banner-slider li.southside .open.southside-flash {
	display: block;
}

.open {
	position: absolute;
    top: 40%;
    right: 24%;
    z-index: 50;
	display: none;
}

.open img {
	width: 90px;
	height: auto;
}

.banner-caption {
	position: absolute;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 24px;
	padding: 10px 20px;
	left: 5%;
	bottom: 10%;
	z-index: 30;
	width: 50%;
	letter-spacing: 2px;
}

#content .banner-caption p {
	margin: 0;
}

.bx-wrapper .bx-controls-direction a {
	background: #2b2e31;
	width: 32px;
	height:55px;
	text-indent: 0;
	color: #fff;
	font-size: 40px;
	line-height: 55px;
	text-align: center;
}
.bx-wrapper .bx-controls-direction a.bx-prev {
	left: 0;
}

.bx-wrapper .bx-controls-direction a.bx-next {
	right:0;
}

body.home .entry-header {
	display: none;
}


body.home .entry-content {
	margin-top: 15px;
	    width: 94%;
}

.entry-content a {
	color: #00aea9;
}


.social {
	margin-top: 115px;
}

.social ul li {
	display: inline-block;
	width: 40px;
}
.social ul li.twitter {
	text-align: center;
}

.social ul li img {
	width: 37px;
	height: 37px;
}


.entry-content h2 {
	color: #4c2d7f;
}

body.home .site-content h2, 
body.home .site-content h3,
body.home .entry-content p,
body.home .entry-content p a,
body.home .entry-content ul li {
	color: #fff;
}

.contact-details {
	position: absolute;
	right: 50px;
	bottom: 10px;
	text-align: center;
	color: #fff;
	font-weight: 300;
}
.contact-details p {
	font-size: 20px;
	line-height: 24px;
	margin-bottom: .75rem
}

.contact-details a {
	color: #fff;
}

.site-inner .site-branding {
	margin-right: 0;
	margin-bottom: 0;
}

.main-navigation {
	font-family: 'PT Sans', sans-serif;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;	
}

.entry-title {
font-family: 'PT Sans', sans-serif;
font-size: 3.25rem;
font-weight: 700;
line-height: 3.25rem;
margin: 2px 0 16px;
color: #00b4ac;
text-transform: uppercase;
}

.entry-content h3 {
	margin-top: .5em;
	color: #4c2d7f;
	letter-spacing: 1px;
}

.entry-content strong {
	color:#1a1a1a;;
}

.entry-content a {
	box-shadow: none;
}

.sidebar.widget-area h3 {
	font-size: 18px;
	font-weight: 300;
	text-align: center;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.nf-form-layout input {
	background-color: #bfb3ce;
	text-align: center;
}

.field-wrap input[type=button] {
	background-color: #4c2d7f;
	text-align: center;
	font-weight: 400;
}

.nf-form-layout .submit-container {
	width:28.5%;
	display: inline-block;
	
}

.nf-form-layout .email-container {
	width:70%;
	display: inline-block; 
}

#nf-field-5, #nf-field-6 {
	height: 43px;
	width: 100%;
}

.ninja-forms-form-wrap *, .ninja-forms-form-wrap :after, .ninja-forms-form-wrap :before {
	vertical-align: top;
}
.nf-form-content #ninja_forms_required_items, .nf-form-content .nf-field-container {
	margin-bottom: 0;
}
.nf-before-form-content {
	display: none;
}

.widget {
	border: none;
	margin-bottom: 0
}

body.home .widget h2.widget-title {
	background-color: #fff;
	display: block;
	padding: 14px;
	width: 100%;
	text-align: center;
	color: #00aea9;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 300;
}

#em_widget-2 ul, #em_widget-2 ul ul {
	list-style: none;
	margin: 0;
}

#em_widget-2 > ul {
	padding: 0;
	width: 100%;
	margin-bottom: 6px;
}

#em_widget-2 > ul li {
	padding: 4px 8px;
	border-bottom: 4px solid #fff;
	background-color: #d2ecea;
}

#em_widget-2 > ul li.all-events-link {
	background: none;
}

#advertisers-logos {
	width: 100%;
}

#advertisers-logos ul {
	list-style: none;
/*
  	align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
 	justify-content: space-between;
*/
}

#advertisers-logos ul li {
	width: 30%;
	position: relative;
	padding: 40px;
	background: white;
	box-sizing: border-box;
	list-style: none;
	height: 200px;
    margin: 10px 20px 0 0;
    display: inline-block;
}

#advertisers-logos ul li img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}



#advertisers-logos ul li a.link {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0
}
.gallery-caption {
  	clear: both;
	width: 100%;
	position: absolute;
	bottom: 0;
}

#secondary.sidebar {
	margin-top:34px;
}


/*sidebar front cover*/

.sidebar-brochure-wrapper {
	position: relative;
	height: autox;
	width: 82%;
	margin: 0 0 0 22px;
}

.sidebar-brochure-wrapper:after {
	content: '';
    display: block;
    clear: both;
}

.sidebar-brochure {
	position: relative;
	-ms-transform:      rotate(-10deg);
	-moz-transform:     rotate(-10deg);
	-webkit-transform:  rotate(-10deg);
	-o-transform:       rotate(-10deg);
	transform:          rotate(-10deg);
	
	-webkit-box-shadow: 6px 4px 20px 0px rgba(0,0,0,0.50);
	-moz-box-shadow: 6px 4px 20px -0px rgba(0,0,0,0.50);
	box-shadow: 6px 4px 20px 0px rgba(0,0,0,0.50);
	left: 40px;
	width: 167px;
	margin-bottom: 60px;
}


.sidebar-brochure.two {
	position: relative;
	-ms-transform:      rotate(10deg);
	-moz-transform:     rotate(10deg);
	-webkit-transform:  rotate(10deg);
	-o-transform:       rotate(10deg);
	transform:          rotate(10deg);
	
	-webkit-box-shadow: 6px 4px 20px 0px rgba(0,0,0,0.50);
	-moz-box-shadow: 6px 4px 20px -0px rgba(0,0,0,0.50);
	box-shadow: 6px 4px 20px 0px rgba(0,0,0,0.50);
	left: 40px;
	width: 167px;
}

.sidebar-brochure .clicktoopen {
	position: absolute;
    top: 40%;
    right: -32%;
	left:auto;
    z-index: 50;
	-ms-transform:      rotate(10deg);
	-moz-transform:     rotate(10deg);
	-webkit-transform:  rotate(10deg);
	-o-transform:       rotate(10deg);
	transform:          rotate(10deg);
}

.sidebar-brochure.two .clicktoopen {
	position: absolute;
    top: 40%;
    left: -32%;
    z-index: 50;
	-ms-transform:      rotate(-10deg);
	-moz-transform:     rotate(-10deg);
	-webkit-transform:  rotate(-10deg);
	-o-transform:       rotate(-10deg);
	transform:          rotate(-10deg);
}

.clicktoopen img {
	width: 87px;
	height: auto;
 -webkit-filter: drop-shadow(5px 5px 5px #555);
  filter: drop-shadow(5px 5px 5px #555);
}


/*tabs*/
/*----- Tabs -----*/
.tabs {
	width:100%;
	display:inline-block;
}


.page-template-template-subscriptions article {
	margin-bottom: 0;
}

ul.ui-tabs-nav {
	list-style: none;
}

ul.ui-tabs-nav li {
	display: inline-block;
	padding: 3px 20px;
	width: 22%;
	font-size: 1.25rem;
	text-transform: uppercase;
	color: #fff;
	-moz-border-radius: 10px 10px 0px 0px;
	-webkit-border-radius: 10px 10px 0px 0px;
	border-radius: 10px 10px 0px 0px;
}

ul.ui-tabs-nav li.ui-tabs-active {
	padding: 6px 20px;
}

ul.ui-tabs-nav li a {
	color: #fff;
}

ul.ui-tabs-nav li.bronze {
	background: #8c7d70;	
}

ul.ui-tabs-nav li.silver{
	background: #a6a9a9;	
}

ul.ui-tabs-nav li.gold{
	background: #fbac46;	
}

div.ui-tabs-panel ul {
	margin-left: 20px;
}

#content .ui-tabs-panel p {
	margin-bottom: 0.5rem;
}

div#tabs-1 {
	padding: 30px 50px;
	box-sizing: border-box;
	border: 2px solid #8c7d70;
	-moz-border-radius: 0px 10px 10px 10px;
	-webkit-border-radius: 0px 10px 10px 10px;
	border-radius: 0px 10px 10px 10px;
}

div#tabs-2 {
	padding: 30px 50px;
	box-sizing: border-box;
	border: 2px solid #a6a9a9;
	-moz-border-radius: 0px 10px 10px 10px;
	-webkit-border-radius: 0px 10px 10px 10px;
	border-radius: 0px 10px 10px 10px;
}


div#tabs-3 {
	padding: 30px 50px;
	box-sizing: border-box;
	border: 2px solid #fbac46;
	-moz-border-radius: 0px 10px 10px 10px;
	-webkit-border-radius: 0px 10px 10px 10px;
	border-radius: 0px 10px 10px 10px;
}

/*Previous issues*/


ul.jquery-tab-pager-tabbar {
	list-style: none;
}

#previous-issues ul#jquery-tab-pager-navi li {
	width: auto;
	background: #bfb3ce;
	margin: 30px 1px;
	padding: 1px 8px;
}

ul#jquery-tab-pager-navi li a {
	color: #000;
	font-size: 14px;
}

ul#jquery-tab-pager-navi li a.current {
	font-weight: bold;
	color: #4c2d7f;
}



/*gold-silver-bronze*/
#text-7 {
	background-color:#8c7d70;
	padding: .5rem;
	box-sizing: border-box;
}

#text-6 {
	background-color:#a6a9a9;
	padding: .5rem;
	box-sizing: border-box;
	margin: 6px 0;
}
#text-5 {
	background-color:#fbac46;
	padding: .5rem;
	box-sizing: border-box;
}


#text-7.widget h2.widget-title,
#text-6.widget h2.widget-title,
#text-5.widget h2.widget-title {
	background:none;
	color: #1a1a1a;
	padding: 0;
	text-align: left;
	margin: 0;
}

#text-7.widget p,
#text-6.widget p,
#text-5.widget p {
	margin: 0;
}

#text-7.widget a,
#text-6.widget a,
#text-5.widget a {
	margin: 0;
	color: #1a1a1a;
	text-decoration: none;
	box-shadow: none;
}

.brochure-image{
    max-width: 100%;
    display: block;
}


#previous-issues {
	width: 100%;
	margin-left: 0;
}

#previous-issues ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0
}

#previous-issues ul li {
	width: 21%;
margin: 30px 30px 0 0;
}

#previous-issues ul li:nth-child(4n+4) {
    margin-right: 0;
}

#previous-issues ul li img {
	-webkit-box-shadow: 8px 8px 19px -9px rgba(0,0,0,0.75);
	-moz-box-shadow: 8px 8px 19px -9px rgba(0,0,0,0.75);
	box-shadow: 8px 8px 19px -9px rgba(0,0,0,0.75);
} 

table.events-table, table.events-table td {
	border: 0;
}

table.tablepress, table.tablepress th, table.tablepress td {
	border: 1px solid #d40075;
}
.entry-content table.tablepress td strong {
	color:#000;
}

/*gallery - advertisers*/

div.gallery {
display: flex;
flex-wrap: wrap;
}

figure.gallery-item {
max-width: 31.33%;
padding: 10px 10px 26px 10px;
box-sizing: border-box;
text-align: center;
vertical-align: middle;
width: 100%;
height: auto;
border: 1px solid #dedede;
position: relative;
margin: 8px;
display: flex;
align-items: center;
justify-content: center;
padding-bottom: 26px;
}

/*footer styles*/

footer.site-footer {
	background: #666;
	color: #fff;
	padding-bottom: 16px;
	padding-top: 7px;
	text-align: center;
	display: block;
}

footer.site-footer .site-info,
footer.site-footer .site-info a {
	color: #fff;
	}

.site-footer .site-title:after {
	content: "";
	}


/*Responsive*/
@media screen and (max-width: 1280px) {

	#content {
		width: 96%;
	}
	
	body.home #content {
		width: 100%;
		
	}
	.home-site-content {
		width: 94%;
		margin: 0 auto;
	}
	
	#site-header-menu{
		width: 100%;
	}
	
/*
	.sidebar-brochure {
		width: 200px;
		left:0;
	}
		
*/
		
	
	#advertisers-logos ul li {
    position: relative;
}
	
	
}

@media screen and (max-width: 1200px) {
	figure.gallery-item {
		max-width: 30.33%;
	}
	
	.main-navigation {
		max-width: 100%;
	}
	
	.entry-content {
		margin-right: 7.6923%;
	}
	
	.header-strapline h3 {
		width: 100%;
		padding-left: 15px;
		line-height: 128%;
	}
}

@media screen and (max-width: 1080px) {
	
	.social {
    margin-top: 138px;
}
	.header-image {
    margin: 1.5rem 24px 1.5rem 0;
    width: 282px;
}
	.contact-details p {
		font-size: 1rem;
	}
	
	.header-content {
		width: 98%;
	}
}

@media screen and (max-width: 908px) {
	.sidebar {
    	padding: 0 7.6923%;
	}
	
	.sidebar-brochure-wrapper {
		width: 300px;
		margin: 0 auto;
	}
	
	.sidebar-brochure {
    	width: 178px;
    	left: 50px;
}
	
	.main-navigation .primary-menu > li {
		max-width: 100%;
		text-align: left;
		height: auto;
		vertical-align: middle;
		display: block;
		float: none;
		text-indent: 5%;
	}
	.main-navigation ul.sub-menu .toggled-on, .main-navigation ul.sub-menu {
		width: 100%;
		margin-left: 0;
		text-indent: 8%;
	}
	
	ul.sub-menu li a {
    font-size: 14px;
    text-indent: 8%;
    width: 100%;
}
	
	#advertisers-logos ul li {
		height: 180px;
	}
	
	#advertisers-logos ul li img {
		width: 82%;
	}
	
	#advertisers-logos {
    	width: 100%;
    	text-align: center;
    	margin-left: 10px;
}
	
	
}


@media screen and (max-width: 815px) {
	
	#banner-slider .slider-background {
		background-repeat: no-repeat;
		position: relative;
		height: 350px;
		background-size: cover;
	}
	
		.header-strapline h3 {
			text-align: center;
			padding: 0 15px;
	}
	
	#content {
		width: 86%;
	}
	
	.home-site-content {
		width: 86%;
	}
	
	.entry-header, .entry-summary, .entry-content, .entry-footer, .page-content {
		margin-left: 0;
		margin-right: 0;
	}

	#banner-slider .slider-grad { 
		height: 350px;
	}
	
	#banner-slider .brochure-cover {
		top: 14%;
		width: auto;
		height: 253px;
	}
	
	.bx-wrapper img {
		max-width: 100%;
		display: block;
		width: auto;
		height: 100%;
	}
	
	.banner-caption {
		 font-size: 20px;
    	line-height: 28px;
	}
	.header-content {
		display: block;
	}
	
	.site-inner .site-branding {
		width: 80%;
		margin: 0 auto;
	}
		.header-image {
		width: 100%;
			text-align: center;
	}
	
	.header-image img {
		width: 60%;
	}
	
	.social {
		margin: 0 auto;
		width: 148px;
		text-align: center;
	}
	
	.social ul{
		margin: 0;
	}
	
	figure.gallery-item {
    max-width: 46.33%;
	}
	
	
	.contact-details {
		position: inherit;
		right: 0;
		bottom: 0;
		width: 100%;
		text-align: center;
		top: 13px;
		display: block;
		margin-bottom: 25px;
	}
	
	.sidebar {
    	padding: 0 7.6923%;
	}
	
	footer.site-footer {
		padding-top: 1px;
	}
	
	.sidebar.widget-area h3 br {
		display: none;
	}

}


@media screen and (max-width: 767px) {
	#banner-slider .slider-background {
		background-repeat: no-repeat;
		position: relative;
		height: 300px;
	}

	#banner-slider .slider-grad { 
		height: 300px;
		width: 90%;
	}
	.site-main {
   		margin-bottom: 1em;
		margin-top: 2px;
}
	
	.entry-title {
		margin-bottom:8px;
	}
	
	.banner-caption {
		 font-size: 20px;
    	line-height: 28px;
	}
	
	.sidebar {
    margin-bottom: 3.5em;
    padding: 0;
}
	.entry-title {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}
	
	#banner-slider .brochure-cover {
    top: 19%;
    width: auto;
    height: 216px;
}
	
	#advertisers-logos ul li {
    width: 46%;
	}
	
	#advertisers-logos ul {
		text-align: center;
	}
		
		
	
	
	.open img {
    	width: 73px;
	}
	
	#previous-issues {
		width: 100%;
		margin-left: 0;
	}
	
	#previous-issues ul li {
		width: 29%;
	}
	
	#previous-issues ul li:nth-child(3n+3){
		margin-right: 0;
	}
	
	.wp-block-media-text {
		display:block;
	}
	
	.wp-block-media-text .wp-block-media-text__media {
		margin-bottom: 20px;
	}
}

@media screen and (max-width: 500px) {
	
	.header-image img {
		width:70%;
	}
	
	.open {
		right: 33%;
	}
	
	#advertisers-logos {
		margin-left: 0;
	}

	#advertisers-logos ul li {
    	width: 70%;
		margin: 10px;
		height: 160px;
}
	
	#advertisers-logos ul li img {
		  width: 60%; 
	}
	
	#previous-issues ul li {
    	width: 44.5%;
	}
	
	#previous-issues ul li:nth-child(2n+2){
		margin-right: 0;
	}
	
	#previous-issues ul li:nth-child(3n+3){
		margin-right: 30px;
	}
	
	ul.ui-tabs-nav li {
		padding: 3px 20px;
		width: 32%;
		font-size: 1rem;
		-moz-border-radius: 10px 10px 0px 0px;
		-webkit-border-radius: 10px 10px 0px 0px;
		border-radius: 10px 10px 0px 0px;
	}
	
	ul.ui-tabs-nav li.ui-state-default {
    	padding: 3px 12px;
	}
	
		ul.ui-tabs-nav li.ui-state-active {
    	padding: 6px 12px;
	}
	
}
	
	
@media screen and (max-width: 440px) {
	#banner-slider .slider-background {
		background-repeat: no-repeat;
		position: relative;
		height: 250px;
	}

	#banner-slider .slider-grad { 
		height: 250px;
	}
	
	.banner-caption {
		display: none;
	}
	
	#banner-slider .brochure-cover {
		top: 14%;
		width: auto;
		height: 180px;
	}
	
	figure.gallery-item {
		max-width: 45.33%;
	}
	
	
	}


	
@media screen and (max-width: 400px) {
	
	#previous-issues ul li:nth-child(2n+2){
		margin-right: 0;
	}
	
	#banner-slider .slider-background {
		background-repeat: no-repeat;
		position: relative;
		height: 200px;
	}

	#banner-slider .slider-grad { 
		height: 200px;
	}
	
	.banner-caption {
		display: none;
	}
	
		#banner-slider .brochure-cover {
		top: 12%;
		width: auto;
		height: 160px;
	}
	.open {
		right: 30%;
	}
	
	.entry-title {
		font-size: 1.75rem;
		line-height: 2rem;
	}
	
	
	.nf-form-layout .email-container {
		width:69%;
}

	
	#previous-issues ul li:nth-child(2n+2){
		margin-right: 0;
	}
	
	table.tablepress, table.tablepress th, table.tablepress td {
    font-size: 12px;
}
	
	figure.gallery-item {
    max-width: 44.33%;
}
	
	
	footer .site-info {
    margin-top: 1.25em;
}
	
	.sidebar {
		margin-bottom: 1.5em;
	}
	.sidebar-brochure-wrapper {
		width: 100%;
	}
	.sidebar.widget-area h3 {
    	line-height: 128%;
	}
	
	.sidebar.widget-area h3 br {
		display: block;
	}
	    
}





