/*!
Theme Name: Winsfordj

**/

/*--------------------------------------------------------------
>>> MASTER.CSS TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 General
	1.1 Typography
	1.2 Buttons
2.0 Header
	2.1 Navigation
3.0 Pages
	3.1 Homepage
	3.2 Containers
	3.3 Gallery
	3.4 Are You Feeling
4.0 Footer
	4.1 Services
	4.2 Accreditations
	4.3 Footer General
5.0	Gravity Forms
6.0 Blog
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 General
--------------------------------------------------------------*/

.no-results {
	min-height: 400px;
}
.col-full {
	max-width: 1220px;
	width: 100%;
	padding-left: 4%;
	padding-right: 4%;
	margin: 0 auto;
}
.col-wide {
	width: 100%;
	padding-left: 4%;
	padding-right: 4%;
	margin: 0 auto;
}

@media screen and (min-width: 1000px) {
	.col-full {
		padding-left: 4%;
		padding-right: 4%;
	}
}

.owl-carousel {
	z-index: 0!important;
}

/*--------------------------------------------------------------
1.1 Typography
--------------------------------------------------------------*/

/** Collapse-o-matic **/

.collapseomatic_excerpt,
.collapseomatic_content {
	margin-left: 0;
}

.collapseomatic {
    background-image: url('../images/down-arrow.svg') !important;
    background-position-y: 5px;
}
.colomat-close {
    background-image: url('../images/up-arrow.svg') !important;
    background-position-y: 5px;
}
.collapseomatic_content p:first-of-type {
	margin-top: 20px;
}

/** Blockquote **/

blockquote:before {
	color: #ccc;
	content: '“';
	font-size: 4rem;
	line-height: 0.1em;
	margin-right: 10px;
	vertical-align: -30px;
}
blockquote p {
	display: inline;
}
figure.quote {
	margin: 0;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 20px;
	margin-bottom: 50px;
}
figure.quote figcaption,
figure.quote blockquote {
	margin: 1em;
}

@media screen and (min-width: 769px) {

	figure.quote img {
		float: right;
		margin-left: 20px;
	}
}

a.wp-block-button__link {
	background-color: #ffb324;
	color: #000;
	font-weight: 500;
}
a:hover.wp-block-button__link {
	background-color: #5621a3;
	color: #fff;
}
.button a,
.submit_message a.button {
	background-color: #ffb324;
	color: #000;
	font-weight: 500;
	font-size: 1.2rem;
	padding: 5px 15px;
	border-radius: 20px;
	text-decoration: none;
}
.button a:hover,
.submit_message a.button:hover {
	background-color: #5621a3;
	color: #fff;
}

/** Info Panels **/

.submit_message {
	background-color: #d7c7ea;
	padding: 30px 5% 30px 5%;
	margin-bottom: 30px;
	border-radius: 20px;
	font-size: 1.2rem;
}

p.intro {
	font-size: 1.5rem;
    font-weight: 300;
}

/*--------------------------------------------------------------
1.2 Header
--------------------------------------------------------------*/

.are_you_desktop {
	display: none;
}
@media screen and (min-width: 768px) {

	.are_you_desktop {
		display: block;
	}
	
}

/*--------------------------------------------------------------
2.0 Header
--------------------------------------------------------------*/

#masthead_home {
	padding: 10px 5%;
	display: table;
	width: 100%;
	position: relative;
	z-index: 1;
	background-color: #5621a3;
}
@media screen and (min-width: 768px) {
	#masthead_home {
		background-color: #5521a300;
	}
}
#masthead {
	background-color: #5621a3;
	padding: 30px 4% 0 4%;
	display: table;
	width: 100%;
	position: relative;
	z-index: 1;
}
.description {
	display: block;
	clear: both;
	color: #ffb324;
	font-style: italic;
	margin: 0 0 10px 0;
}
.site-branding {
	float: left;
	width: 35%;
}
.site-branding img {
	width:188px;
}
.site-branding img,
.custom-logo-link {
	display: block;
}

.site-branding_mobile .custom-logo-link {
	display: inline-block;
	float: left;
}
.site-branding_mobile img {
	width:188px;
}
.site-branding_desktop {
	display: none;
}
.site-branding_desktop img {
	width:388px;
}
.home_menu button.menu-toggle {
	top: 10px;
}
.homeicon svg {
	position: relative;
	top: 3px;
	fill: #222;
}

@media screen and (min-width: 768px) {

	.description {
		font-size: 1.1rem;
		margin: 0 0 0;
	}
	.site-branding_mobile {
		display: none;
	}
	.site-branding_desktop {
		display: block;
		margin-bottom: 30px;
	}
	.site-branding {
		max-width: 180px;
		float: left;
		margin-bottom: 10px;
	}
}

@media screen and (max-width: 768px) {

}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
	.site-branding {
		width: 25%;
	}
}


/*--------------------------------------------------------------
2.1 Navigation
--------------------------------------------------------------*/

#menu-winsfordj-main-menu {
	display: inline-block;
	float: left;
}

@media screen and (min-width: 768px) {

	.winsfordj-primary-navigation {
		background-color: #45188c;
		border-radius: 20px;
	}
	.home_menu {
		float: left;
		margin: 20px 0;
	}
	.home_menu .main-navigation ul li a {
		font-size: 1.6rem;
		padding: 5px 20px;
	}
	.all_pages {
		float: right;
	}
	.home-link span {
		display: none;
	}
}

.headermessage {
	margin: 15px 0;
}
.headermessage a {
	display: block;
	background-color: #ffb324;
	border-radius: 20px;
	color: #45188c;
	text-decoration: none;
	padding: 10px;
	margin-top:10px;
	text-align: center;
	font-weight: 500;
	line-height: 1.2;
}
.headermessage a button {
	display: inline;
	border: 3px solid;
	border-color: #fff #fff #fff;
	background-color: #ffb324;
	color: #fff;
	line-height: 1;
	font-size: inherit;
	padding: 0.2em 0.2em;
	border-radius: 10px;
	font-weight: 600;
	cursor: pointer;
}
@media screen and (min-width: 768px) {
	.are_you_desktop .headermessage {
		float: right;
		width: 270px;
	}
}

/*--------------------------------------------------------------
3.0 Pages
--------------------------------------------------------------*/

.entry-header,
.page-header,
.entry-header_single {
	margin: 0 0 20px 0;
	background-image: url('../images/page_header_bg2.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top center;
	padding: 5px 0 20px 0;
}
.entry-header_single {
	margin: 0 0 0 0;
}
.entry-content {
	padding-bottom: 0;
	margin-bottom: 35px;
}
h1.entry-title {
	width: 50%;
	margin-left: 10%;
}
@media screen and (min-width: 768px) {
	.entry-header,
	.page-header {
		margin: 0 0 50px 0;
		padding: 50px 0 50px 0;
	}
	.entry-header_single {
		padding: 50px 0 50px 0;
	}
	
	.entry-content {
		margin-bottom: 75px;
	}
	.side-rule {
		padding-left: 5%;
	    border-left: 5px dotted #ccc;
	}
}
.home .entry-header {
	margin: 0 0;
}

/** Page Columns **/

.ds-2col-stacked,
.ds-2col {
	overflow: hidden;
}
#testing-gallery img {
	float: left;
	padding: 3px;
	margin-right: 10px;
	margin-bottom: 10px;
	width: 125px;
	height: auto;
	border: 1px solid #dddddd;
}
.node-container .field-name-field-container-images img {
    float: left;
    padding: 3px;
    margin-right: 10px;
    margin-bottom: 10px;
    width: 125px;
    height: auto;
    border: 1px solid #dddddd;
}

@media screen and (min-width: 768px) {
	.ds-2col-stacked .group-left,
	.ds-2col .group-left {
		float: left;
		width: 46%;
		margin-right: 2%;
	}
	.ds-2col-stacked .group-right,
	.ds-2col .group-right {
		float: left;
		width: 52%;
	}
}

/*--------------------------------------------------------------
3.1 Homepage
--------------------------------------------------------------*/

@media screen and (min-width: 768px) {
	.page-template-page-home #page {
		margin: 0;
		background-image: url('../images/home_page_bg_top.svg');
		background-size: 70% 600px;
		background-repeat: no-repeat;
		background-position: top left;
	}
}

.site-main_home {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-start;
	align-content: normal;
	padding: 0 5%;
	background-image: url('../images/page_header_bg3.svg');
	background-size: 100% 400px;
	background-repeat: no-repeat;
	background-position: top center;
}
.site-main_home .home_intro {
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: 30%;
	align-self: auto;
	order: 0;
}
.site-main_home .hero {
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: 70%;
	align-self: auto;
	order: 0;
}

.home-content p {
	color: #fff;
	font-size: 1.4rem;
	line-height: 1.8;
}

@media screen and (min-width: 768px) {
	.site-main_home {
		flex-direction: row;
		background-image: none;
	
	}
	#products {
		padding-left: 10%!important;
		padding-right: 10%!important;
	}
}

/** Home Banner **/

.home-banner {
	background-image: url('../images/banner-bg1.svg');
	background-size: 180% auto;
	background-repeat: no-repeat;
	background-position: center center;
	padding: 20px 5%;
}
.home-banner p {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.2;
	color: #5621a3;
}
.home-banner p br {
	display: none;
}
@media screen and (min-width: 768px) {
	.home-banner {
		background-size: 80% auto;
		padding: 50px 0;
	}
	.home-banner p {
		font-size: 2.6rem;
	}
	.home-banner p br {
		display: block;
	}
	.home-banner {
		padding: 50px 5%;
	}
	
}

/** Services **/

.services {
	padding: 20px 0;
	max-width: 1220px;
	margin: 0 auto;
}
.services ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	align-content: normal;
	gap: 10px 2%;
}
.services ul li {
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: 48%;
	align-self: auto;
	order: 0;
}
.services ul li a {
	padding: 20px 0;
	text-decoration: none;
	text-align: center;
	display: block;
	border-radius: 30px;
}
.services ul li:nth-of-type(1n) a {
	background-color: #ffb324;
}
.services ul li:nth-of-type(1n) a h2 {
	color: #5621a3;
}
.services ul li:nth-of-type(2n) a {
	background-color: #5621a3;
}
.services ul li:nth-of-type(2n) a h2 {
	color: #ffb324;
}
.services ul li:nth-of-type(1n) a h2 {
	text-shadow: -5px -5px 0 #ffb324, 5px -5px 0 #ffb324, -5px 5px 0 #ffb324, 5px 5px 0 #ffb324;
}
.services ul li:nth-of-type(2n) a h2 {
	text-shadow: -5px -5px 0 #5621a3, 5px -5px 0 #5621a3, -5px 5px 0 #5621a3, 5px 5px 0 #5621a3;
}
.services ul li a h2 {
	font-size: 1.6rem;
	font-weight: 600;
	margin: -20px 0 0 0;
}
.services ul li a h2::after {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f061";
	display: inline-block;
	margin-left: 10px;
}
.services ul li a:hover h2 {
	color: #fff;
}
.services ul li a:hover h2::after {
	margin-left: 20px;
}
.services ul li a img {
	display: block;
	margin: 0 auto;
}
@media screen and (min-width: 768px) {
	.services ul {
		gap: 30px 3.333%;
	}
	.services ul li {
		flex-basis: 30%;
	}
	.services ul li a h2 {
		font-size: 3rem;
	}
	
}

/** Whats on Map **/

.winsford_map_wrap {
	background-image: url('../images/map-bg.svg');
	background-size: 75% auto;
	background-repeat: no-repeat;
	background-position: center center;
	padding: 20px 5%;
}
.winsford-map h2 {
	font-size: 2.5rem;
	line-height: 1.0;
	margin-bottom: 0;
}
.winsford-map p {
	font-size: 1.6rem;
	font-weight: 400;
	color: #5621a3;
}

.animateContainer {
	position: relative;
	margin-bottom: 10px;
	max-width: 1220px;
	margin: 0 auto;
}
.animateContainer iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media screen and (min-width: 768px) {
	.winsford-map h2 {
		font-size: 4rem;
		margin-bottom: 0;
	}
	
}

/** Home Socials **/

.socials_home_wrap::before {
	content: "";
	display: block;
	width: 100%;
	height: 50px;
	position: absolute;
	top: -50px;
	background-image: url('../images/socials-top.svg');
	background-size: 100% 50px;
	background-repeat: no-repeat;
	background-position: center bottom;
}
.socials_home_wrap {
	background-color: #ffd991;
	padding: 20px 0;
	margin: 50px 0 50px 0;
	display: block;
	clear: both;
	position: relative;
}
.socials_home_wrap::after {
	content: "";
	display: block;
	width: 100%;
	height: 40px;
	position: absolute;
	bottom: -40px;
	background-image: url('../images/socials-bottom.svg');
	background-size: 100% 40px;
	background-repeat: no-repeat;
	background-position: center bottom;
}
.socials-home {
	max-width: 1220px;
	margin: 0 auto;
}

.socials-home .support-us {
	padding: 5px 4%;
	text-align: center;
	font-size: 1.2rem;
	line-height: 1.2;
}

.socials-home ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: normal;
	gap: 5%;
}
.socials-home ul li {
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: auto;
	align-self: auto;
	order: 0;
}
.socials-home ul li p {
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	margin-bottom: 20px;
	color: #5621a3;
}
.socials-home ul li img {
	max-height: 55px;
	max-width: 50px;
}
.socials-home ul li:nth-child(1) {
	flex-basis: 100%;
}
@media screen and (min-width: 768px) {
	.socials-home ul li p {
		font-size: 1.6rem;
		line-height: 1.2;
		text-align: right;
		margin-bottom: 0;
	}
	.socials-home ul li:nth-child(1) {
		flex-basis: auto;
	}
}

/** Supported by **/

.supported-by {
	background-image: url('../images/supported-bg.svg');
	background-size: 50% auto;
	background-repeat: no-repeat;
	background-position: center center;
	padding: 40px 5% 60px 5%;
	margin: 0 0 20px 0;
}
.supported-by h2 {
	text-align: center;
	font-weight: 500;
	font-size: 1.6rem;
}
.logo_brands {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: normal;
	gap: 3%;
}
.flex_brand {
	display: block;
	flex-grow: 0;
	flex-shrink: 2;
	flex-basis: auto;
	align-self: auto;
	order: 0;
}
.flex_brand:nth-child(1) img {
	width: 140px;
}
.flex_brand:nth-child(2) img {
	width: 120px;
}
.flex_brand:nth-child(3) img {
	width: 160px;
}
.flex_brand:nth-child(4) img {
	width: 140px;
}

/** Supporters **/

.supporters {
	max-width: 960px;
	width: 100%;
	padding-left: 4%;
	padding-right: 4%;
	padding-bottom: 100px;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}
.support_panel {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	margin: 0 auto;
	column-gap: 4%;
}
.support_panel div:nth-child(1) {
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: 30%;
	align-self: auto;
	order: 0;
}
.support_panel div:nth-child(2) {
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: 70%;
	align-self: auto;
	order: 0;
}
.support_panel p {
	font-size: 1.6rem;
}
.support_panel p a {
	display: inline-block;
}

/** Founders **/

.founders_wrap::before {
	content: "";
	display: block;
	width: 100%;
	height: 50px;
	position: absolute;
	top: -50px;
	background-image: url('../images/founders-top.svg');
	background-size: 100% 50px;
	background-repeat: no-repeat;
	background-position: center bottom;
}
.founders_wrap {
	background-color: #e0cff4;
	padding: 20px 0;
	margin: 50px 0 50px 0;
	display: block;
	clear: both;
	position: relative;
}
.founders_wrap::after {
	content: "";
	display: block;
	width: 100%;
	height: 40px;
	position: absolute;
	bottom: -40px;
	background-image: url('../images/founders-bottom.svg');
	background-size: 100% 40px;
	background-repeat: no-repeat;
	background-position: center bottom;
}
.twjfounders {
	max-width: 960px;
	margin: 0 auto;
}
.penny_jackie {
	margin-bottom: 0;
}
@media screen and (max-width: 768px) {
	.twjfounders {
		padding: 0 5%;
	}
	.jp_signature {
		width: 50%;
	}
}

/** Home Page Update **/

.hp_update {
	background-color: #45188c;
	padding: 50px 10%;
	color: #fff;
	border-radius: 30px;
	position: relative;
	z-index: 3;
}
.hp_update h2 {
	color: #ffb324;
	font-size: 3rem;
}

/*--------------------------------------------------------------
3.2 Containers
--------------------------------------------------------------*/

.view-containers .view-content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-content: stretch;
	align-items: flex-start;
}
.view-containers .view-content .views-row {
	border: 2px solid white;
	background-color: #f5f5f5;
	margin-bottom: 20px;
	order: 0;
	flex: 0 1 auto;
	align-self: auto;
	flex-basis: 50%
}
.view-containers .view-content .views-row img {
	width: 100%;
  height: 150px;
	display: block;
}
.view-containers .view-content .views-row .views-field-title {
	text-align: center;
}
.view-containers .view-content .views-row .views-field-title a {
	color: #222;
	text-decoration: none;
	font-size: 1.2rem;
	line-height: 1.2;
	display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: stretch;
  align-items: center;
	min-height: 70px;
	padding: 0 10px;
}
@media screen and (min-width: 768px) {
	.view-containers .view-content .views-row img {
		width: 100%;
	  height: 300px;
	}
	.view-containers .view-content .views-row {
		flex-basis: 32%
	}
}

/*--------------------------------------------------------------
3.3 Gallery
--------------------------------------------------------------*/

.view-gallery .view-content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-content: stretch;
	align-items: flex-start;
}
.view-gallery .view-content .views-row {
	border: 2px dashed white;
	order: 0;
	flex: 0 1 auto;
	align-self: auto;
	flex-basis: 50%
}
@media screen and (min-width: 768px) {
	.view-gallery .view-content .views-row {
		flex-basis: 20%
	}
}

/*--------------------------------------------------------------
3.4 Are You Feeling
--------------------------------------------------------------*/

.message__content {
	background-color: #d7c7ea;
	padding: 30px 5% 10px 5%;
	margin-bottom: 30px;
	border-radius: 20px;
	font-size: 1.2rem;
}
.center_this {
	text-align: center;
}
.center_this p {
	font-size: 1.4rem;
}
.message__content a.wp-block-button__link {
	background-color: #5621a3;
	color: #fff;
	margin-bottom: 30px;
}

/*--------------------------------------------------------------
4.0 Footer
--------------------------------------------------------------*/

/*--------------------------------------------------------------
4.1 Services
--------------------------------------------------------------*/


/*--------------------------------------------------------------
4.2 Accreditations
--------------------------------------------------------------*/

.accreditations {
	padding: 20px 0 0 0;
	overflow: hidden;
}
.accreditations p {
	max-width: 1220px;
	background-color: #c21e22;
	margin: 50px auto;
	padding: 30px 5%;
	text-align: center;
	color: #fff;
}

/*--------------------------------------------------------------
4.3 Footer General
--------------------------------------------------------------*/

.site-footer::before {
	content: "";
	background-image: url('../images/footer_bg_mob.svg');
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: center bottom;
	height: 41px;
	width: 100%;
	position: absolute;
	top: -41px;
}
.site-footer {
	background-color: #5621a3;
	position: relative;
}
.footer1wrp,
.footer2wrp,
.footer3wrp,
.footer4wrp {
	width: 45%;
	float: left;
	margin-bottom: 30px;
}
.site-footer h2 {
	color: #ffb324;
	font-size: 1.2rem;
}
.site-footer a {
	text-decoration: none;
}
.footer-nav {
	overflow: hidden;
	margin-bottom: 0;
}
.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-nav li {
	margin-bottom: 5px;
}
.site-footer ul.menu li a,
.site-footer {
	color: #fff;
}
.site-footer ul.menu li a:hover {
	text-decoration: underline;
}
.menu-footer-container li {
	float: left;
	margin-right: 4%;
	padding-left: 4%;
}

/** Footer Socials **/

.footer-flex-socials {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: normal;
	gap: 10%;
}
.footer-flex-socials div {
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: auto;
	align-self: auto;
	order: 0;
}
.footer-flex-socials img {
	display: block;
	height: 35px;
}

/** Site Info **/

.site-info {
	padding: 20px 5%;
}
.site-info p {
	margin: 0 0 10px 0;
}
.site-info {
	font-size: 0.6rem;
	line-height: 1.2;
	text-align: center;
}
.site-info a,
.site-info a:visited,
.site-info a:hover,
.site-info p,
.site-info {
	color: #bbb;
	text-decoration: none;
}

@media screen and (min-width: 768px) {

	.site-footer::before {
		content: "";
		display: none;
	}
	.site-footer {
		background-image: url('../images/footer_bg.svg');
		background-size: 100% auto;
		background-repeat: no-repeat;
		background-position: center bottom;
		padding-top: 250px;
		margin-top: -150px;
		background-color: #5521a300;
	}
	.footer1wrp,
	.footer2wrp,
	.footer3wrp {
		width: 21%;
		float: left;
	}
	.footer4wrp {
		width: 37%;
		float: left;
	}
	.footer-nav li {
		padding-right: 5%;
	}
	.menu-footer-container li {
		float: none;
		margin-right: 0;
		padding-left: 0;
		border-left: none;
	}
	.footer-nav {
		padding: 0 0 0 5%;
		margin-bottom: 30px;
	}
	.site-info {
		font-size: 0.8rem;
		line-height: 1.3;
	}
	
}

/*--------------------------------------------------------------
5.0 Gravity Forms
--------------------------------------------------------------*/


/*--------------------------------------------------------------
6.0 Blog
--------------------------------------------------------------*/

.container_news {
	padding: 50px 0;
}

.ps-post-thumb {
	display: flex;
	flex-direction: column-reverse;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: normal;
	margin-top: 20px;
	margin-bottom: 20px;
	gap: 15px 5%;
}
.ps-post-thumb div {
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	align-self: auto;
	order: 0;
}
.ps-post-thumb div:nth-child(1) {
	flex-basis: 30%;
}
.ps-post-thumb div:nth-child(2) {
	flex-basis: 70%;
}
@media screen and (min-width: 768px) {
	.ps-post-thumb {
		flex-direction: row;
		margin-top: 50px;
		margin-bottom: 50px;
		gap: 5%;
	  }
	
}

.pad-bottom {
	padding-bottom: 50px;
}
.news-archive {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: space-around;
	align-items: left;
	margin-bottom: 50px;
}
.post-thumbnail {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    flex-basis: 100%;
}
.post-thumbnail a {
	display: block;
	width: 100%;
	float: left;
}
.post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}
.news-summary {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
	padding-right: 5%;
}

@media screen and (min-width: 768px) {
	.news-archive {
		flex-direction: row;
		margin-bottom: 50px;
		align-items: center;
	}
	.post-thumbnail {
		flex-basis: 30%;
	}
	.news-summary {
		flex-basis: 70%;
		padding-left: 5%;
	}
}


/** Latest projects / blog **/

ul.twj_posts  {
	max-width: 1780px;
	width: 100%;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-content: stretch;
	grid-gap: 2%;
	margin-bottom: 20px;
}
ul.twj_posts>li {
	margin-bottom: 20px;
	padding-bottom: 10px;
	order: 0;
	flex: 0 1 auto;
	align-self: auto;
	flex-basis: 49%;
}
.thumb_wrap{
	position: relative;
}
ul.twj_posts>li a {
	text-decoration: none;
	color: #333;
}

.post-thumbnail img {
	display: block;
}
ul.post_tags {
	display: block;
	clear: both;
	list-style: none;
	padding: 0;
	margin: 0 0 20px 5%;
  	overflow: hidden;
}
ul.post_tags li {
  display: inline-block;
  float: left;
  margin-right: 1px;
  margin-bottom: 1px;
}
ul.post_tags li a {
  font-size: 0.9rem;
  line-height: 1.0;
  background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	text-transform: uppercase;
	display: block;
	padding: 1px 3px;
}
ul.twj_posts h3 {
	font-size: 1.4rem;
	line-height: 1.2;
	font-size: 1rem;
}
ul.twj_posts p.archive_date {
	font-weight: bold;
	padding: 0 0 15px 0;
	font-size: 0.8rem;
	margin: 0;
}
ul.twj_posts p {
	font-size: 0.9rem;
	line-height: 1.3;
	font-size: .8rem;
}
ul.twj_posts button {
	font-size: 1.0rem;
	background-color: #ffb324;
	border: #ffb324;
	color: #000;
	font-weight: 500;
	padding: 7px 20px;
	border-radius: 20px;
	text-decoration: none;
	cursor: pointer;
}
ul.twj_posts button:hover {
	background-color: #5621a3;
	color: #fff;
}

ul.twj_posts h3,
ul.twj_posts p,
ul.twj_posts button {
	margin: 0 5px 10px 10px;
}
.home ul.twj_posts>li:nth-child(3) {
	display: none;
}
.tag_commas:last-child {
  display: none;
}

.entry-meta {
	padding: 50px 0 0 0;
	font-size: 0.8rem;
}
.entry-meta a {
	color:#222;
	text-decoration: none;
	font-weight: 500;	
}
@media screen and (min-width: 768px) {
	.home ul.twj_posts>li:nth-child(4) {
		display: block;
	}
	ul.twj_posts  {
		grid-gap: 1.3%;
		margin-bottom: 10px;
	}
	ul.twj_posts>li {
		flex-basis: 24%
	}
	ul.post_tags {
		margin: 0 0 20px 5%;
	}
	ul.post_tags li a {
		font-size: 1rem;
		line-height: 1.7;
		padding: 2px 5px;
	}
	ul.twj_posts h3 {
		font-size: 1.8rem;
	}
	ul.twj_posts p {
		font-size: 1.0rem;
		line-height: 1.7;
	}
	ul.twj_posts button {
		font-size: 1rem;
	}
		ul.twj_posts h3,
	ul.twj_posts p,
	ul.twj_posts button {
		margin: 0 5px 20px 0;
	}
	ul.twj_posts button {
		font-size: 1.4rem;
	}
	
}

.content_archive_tags {
  list-style: none;
  margin: 0;
  padding: 0;
}
.content_archive_tags li a {
  list-style: none;
  margin: 0;
  padding: 0;
}

/** Categories **/

.category-intro {
	display: flex;
	flex-direction: column-reverse;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: normal;
	margin-bottom: 20px;
	gap: 4%;
}
 .category-intro div {
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	align-self: auto;
	order: 0;
}  
.category-intro div.archive-description {
	flex-basis: auto;
}
.category-intro img.cat_feature_img {
	max-width: 350px;
	text-align: center;
	margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
	.category-intro {
		flex-direction: row;
	  }
	.category-intro img.cat_feature_img {
		margin-bottom: 0;
	}
}

/** Tag Menu **/

ul.catpg_tag_menu {
	padding: 0;
	margin: 0 0 30px 0;
	list-style: none;
	overflow: hidden;
}
ul.catpg_tag_menu li {
	float: left;
	margin-right: 1%;
	margin-bottom: 10px;
}
ul.catpg_tag_menu li a {
	float: left;
	font-size: 1.4rem;
    background-color: #ffb324;
    border: #ffb324;
    color: #000;
    font-weight: 500;
    padding: 2px 20px;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
}
ul.catpg_tag_menu li a:hover {
	background-color: #5621a3;
    color: #fff;
}