/*
Theme Name:	Yorkshire Sound Women Network
CSS: Responsiveness // Media Queries
Author: Mat Martin Studio
Author URI: https://www.matmartin.studio
*/


/*Width Based Queries*/

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

	.mailsignup {
		width: 92%;
		padding: 88px 4%;
	}
}

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

	.fourwide .feeditem {
		width: 23.5%;
		height: 320px;
		margin: 0 1% 32px;
	}

	.fourwide .feeditem:nth-of-type(4n+1) {
		margin-left: 0;
	}

	.fourwide .feeditem:nth-of-type(4n+4) {
		margin-right: 0;
	}

	.feeditem.fisquare {
		width: 22%; height: 0;
		margin: 0 2% 34px;
	}

	.himgtitle h1 {
		font-size: 2.441em;
	}
}

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

	.ca.cawide {
		width: 76%;
		padding: 88px 12%;
		margin: 0 auto;
	}

	.threewidethird {
		width: 100%;
		float: none;
		margin: 0 0 24px 0;
	}

	.size-1of3 {
		width: 31.3333%;
		margin: 0 3% 0 0;
	}

	.fisquare {
		width: 30%;
		padding: 30% 0 0 0;
		margin: 0 2.5% 34px;
	}

	.squarefeed .fisquare:nth-of-type(4) {
		display: none;
	}

	.squarefeed .fisquare:nth-of-type(3) {
		margin-right: 0;
	}

	.hpvideo .twowidehalf {
		width: 100%;
		float: none;
		margin: 0 0 24px 0;
	}

	.hpfeaturedpages .feeditem {
		width: 48%;
		height: 320px;
		margin: 0 2%;
	}
}

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

	.ca,
	.caa-narrow,
	.ca.cawide {
		width: 88%;
		padding: 64px 6%;
	}

	.resnavtrigger-wrap,
	.hp-resnavtrigger-wrap {
		right: 6%;
	}
}

@media only screen and (max-width: 1125px) {
	
	.ca.pagehead {
		padding: 0;
		width: 100%;
	}

	.headnoimg {
		padding: 72px 0 64px;
	}

	.himgtitle h1 {
		font-size: 3.052em;
	}
}

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

	.hpfeaturedpages .twowide .feeditem {
		width: 48%;
		height: 320px;
		margin: 0 2%;
	}

	ul.footnav {
		-webkit-column-count: 2;
		   -moz-column-count: 2;
		        column-count: 2;
	}
}

@media only screen and (max-width: 1036px) {
	
	ul.mainnav {
		display: none;
	}

	.resnavtrigger-wrap,
	.hp-resnavtrigger-wrap {
		display: block;
	}

	.landertrigger {
		display: none;
	}

	.landerrn-trigger {
		display: block;
	}

	.backset {
		margin: 0 0 40px -8%;
	}

	.img-backset {
		margin: 16px 48px 0 -8%;
	}
}

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

	.flexGrid .fgriditem {
		width: 29.333334%;
	}

	#grid-content-four .griditem {
		width: 31.333334%;
	}

	#grid-content-four .griditem,
	#grid-content-four .griditem:nth-of-type(4n) {
		margin: 0 3% 0 0;
	}

	#grid-content-four .griditem:nth-of-type(3n) {
		margin: 0;
	}

	#grid-content-four .griditem:nth-of-type(4n+1) {
		clear: none;
	}

	#grid-content-four .griditem:nth-of-type(3n+1) {
		clear: both;
	}

	.fourwide.hpevents .feeditem.event:nth-of-type(3) {
		display: none;
	}

	.fourwide.hpevents-nolink .feeditem.event:nth-of-type(4) {
		display: none;
	}

	.fourwide .feeditem {
		width: 31.333334%;
		height: 320px;
		margin: 0 1% 32px;
	}

	.fourwide .feeditem:nth-of-type(4n+1),
	.fourwide .feeditem:nth-of-type(4n+4) {
		margin: 0 1% 32px;
	}

	.alm-reveal .feeditem.event {
		margin: 0 1% 32px;
	}

	.alm-reveal .feeditem.event:nth-of-type(3n+1) {
		margin-right: 0;
	}

	.alm-reveal .feeditem.event:nth-of-type(3n+2) {
		margin-left: 0;
	}

	.nbf-item:nth-of-type(4) {
		display: none;
	}

	.nbf-item:nth-of-type(3) {
		margin-right: 0
	}

	.nbf-item {
		width: 31.333334%;
		margin-right: 3%;
	}
}

@media only screen and (max-width: 980px) {
	
	.heroimg img {
		width: 100%; height: 100%;
		-o-object-fit: cover;
		   object-fit: cover;
	}

	ul.mainnav {
		display: none;
	}
}

@media only screen and (max-width: 940px) {
	
	.mailsignup {
		width: 88%;
		padding: 88px 6%;
	}

	.mailsignup .twowidehalf {
		width: 100%;
		float: none;
	}

	.mailsignup .twowidehalf:first-of-type,
	.mailsignup .twowidehalf:last-of-type {
		margin: 0 0 12px 0;
	}

	.mailsignup .twowidehalf .signupform {
		margin: 0;
	}

	.signupform p.indent {
		padding-left: 0;
	}

	.fisquare {
		width: 48%;
		padding: 48% 0 0 0;
		margin: 0 2% 34px;
	}

	.heroimg {
		width: 100%; height: 540px;
	}
}

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

	.footerwrap {
		flex-direction: column;
	}

	.footersms,
	ul.footnav {
		padding: 0 0 18px;
		margin: 0 0 17px;
		border-right: none;
		border-bottom: 1px solid #FBFBFB;
	}

	.impressum {
		margin: 0 18px 10px 0;
	}

	ul.fsm li {
		display: inline-block;
		margin: 0 6px 0 0;
	}
	
	.backset {
		margin: 0 0 40px 0;
	}

	.img-backset {
		width: 50%;
		margin: 16px 48px 0 0;
	}

	.lander {
		height: calc(100vh - 44px);
		margin: 22px 25px 0;
	}

	.carouselslide.slick-slide {
		height: calc(100vh - 44px) !important;
	}

	#landerident {
		width: 48%;
	}

	.down h1 {
		font-size: 2.6em;
	}

	.landerrn-trigger {
		right: 48px;
	}
}

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

	.twowidehalf {
		width: 100%;
		float: none;
		margin: 0 0 24px 0;
	}

	.twowidehalf:first-of-type,
	.twowidehalf:last-of-type {
		margin: 0 0 24px 0;
	}
}

@media only screen and (max-width: 750px) {
	
	.fourwide .feeditem {
		width: 46%;
		height: 320px;
		margin: 0 4% 32px;
	}

	.fourwide .feeditem:nth-of-type(4n+1),
	.fourwide .feeditem:nth-of-type(4n+4),
	.fourwide .feeditem:nth-of-type(3n+1),
	.fourwide .feeditem:nth-of-type(3n+3) {
		margin: 0 4% 32px;
	}

	.fourwide .feeditem:nth-of-type(odd) {
		margin-left: 0;
	}

	.fourwide .feeditem:nth-of-type(even) {
		margin-right: 0;
	}

	.alm-reveal .feeditem.event:nth-of-type(even) {
		margin: 0 0 32px 4%;
	}

	.alm-reveal .feeditem.event:nth-of-type(odd) {
		margin: 0 4% 32px 0;
	}

	.fourwide.hpevents .feeditem.event:nth-of-type(2) {
		display: none;
	}

	.fourwide.hpevents-nolink .feeditem.event:nth-of-type(3) {
		display: none;
	}
}

@media only screen and (max-width: 700px) {
	
	/*#masonry-content-four[data-columns]::before {
		content: '2 .column.size-1of2';
	}*/

	.size-1of2 {
		width: 48%;
		margin: 0 2% 0 0;
	}

	.size-1of2:nth-of-type(2n) {
		margin: 0 0 0 2%;
	}

	.hpfeaturedpages .feeditem {
		width: 100%;
		height: 320px;
		margin: 0 0 24px 0;
		float: none;
	}

	.hpfeaturedpages.tallfeed {
		height: 664px;
	}
}

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

	.shirtImages .shirtImage {
		width: 100%;
		float: none;
		margin-bottom: 24px;
	}

	.fwsignupform .inputleftfloat,
	.fwcontactform .inputleftfloat,
	.fwsignupform .inputrightfloat,
	.fwcontactform .inputrightfloat  {
		float: none;
		width: 100%;
	}

	.fwsignupform .inputleftfloat input[type="text"],
	.fwcontactform .inputleftfloat input[type="text"],
	.fwsignupform .inputrightfloat input[type="text"],
	.fwcontactform .inputrightfloat input[type="text"] {
		width: 95.5%;
		padding: 16px 2%;
	}

	.fwsignupform .inputleftfloat p.indent,
	.fwcontactform .inputleftfloat p.indent,
	.fwsignupform .inputrightfloat p.indent,
	.fwcontactform .inputrightfloat p.indent,
	.fwsignupform p.indent,
	.fwcontactform p.indent,
	.contactform p.indent {
		padding-left: 0;
	}

	.img-backset {
		width: 100%;
		float: none;
	}

	.nbf-item:nth-of-type(3) {
		display: none;
	}

	.nbf-item:nth-of-type(2) {
		margin-right: 0
	}

	.nbf-item {
		width: 48%;
		margin-right: 4%;
	}

	.flexGrid .fgriditem {
		width: 46%;
	}

	#grid-content-four .griditem {
		width: 48%;
	}

	#grid-content-four .griditem,
	#grid-content-four .griditem:nth-of-type(3n) {
		margin: 0 4% 0 0;
	}

	#grid-content-four .griditem:nth-of-type(2n) {
		margin: 0;
	}

	#grid-content-four .griditem:nth-of-type(3n+1) {
		clear: none;
	}

	#grid-content-four .griditem:nth-of-type(2n+1) {
		clear: both;
	}
}

@media only screen and (max-width: 610px) {
	
	.fourwide .feeditem {
		width: 48%;
		height: 320px;
		margin: 0 2% 32px;
	}

	.fourwide .feeditem:nth-of-type(4n+1),
	.fourwide .feeditem:nth-of-type(4n+4),
	.fourwide .feeditem:nth-of-type(3n+1),
	.fourwide .feeditem:nth-of-type(3n+3) {
		margin: 0 2% 32px;
	}

	.fourwide .feeditem:nth-of-type(odd) {
		margin-left: 0;
	}

	.fourwide .feeditem:nth-of-type(even) {
		margin-right: 0;
	}

	.alm-reveal .feeditem.event:nth-of-type(even) {
		margin: 0 0 32px 2%;
	}

	.alm-reveal .feeditem.event:nth-of-type(odd) {
		margin: 0 2% 32px 0;
	}

	.teamentry {
		width: 100%;
	}
}

@media only screen and (max-width: 552px) {
	
	/*#masonry-content-four[data-columns]::before {
		content: '1 .column.size-1of1';
	}*/

	.mgriditem {
		width: 100%;
		margin: 0 auto 24px;
	}

	.donationgrid-item .button {
		margin: 8px 0 16px !important;
	}
}

@media only screen and (max-width: 528px) {
	
	.himgtitle h1 {
		font-size: 2.441em;
	}

	.hnoimgtitle h1 {
		font-size: 2.441em;
	}

	.ca,
	.caa-narrow,
	.ca.cawide {
		padding: 44px 6%;
	}
}

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

	.fourwide .feeditem {
		width: 88%;
		height: 320px;
		margin: 0 6% 32px;
	}

	.fourwide .feeditem:nth-of-type(odd),
	.fourwide .feeditem:nth-of-type(even),
	.alm-reveal .feeditem.event:nth-of-type(odd),
	.alm-reveal .feeditem.event:nth-of-type(even) {
		margin: 0 6% 32px;
	}

	.fourwide.hpevents .feeditem.morelink {
		margin: 0 6% 32px !important;
	}

	.hpevents.tallfeed,
	.hpevents-nolink.tallfeed {
		height: 672px;
	}

	/*#masonry-content-three[data-columns]::before {
		content: '1 .column.size-1of1';
	}*/
}

@media only screen and (max-width: 475px) {
	
	.fisquare {
		width: 100%;
		padding: 100% 0 0 0;
		margin: 0 0 32px 0;
		float: none;
	}
}

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

	.nbf-item {
		width: 100%;
		margin: 0 0 24px 0 !important;
	}

	.align-adjust {
		text-align: left;
	}

	.morepad {
		padding-bottom: 40px !important;
	}

	.displaced {
		margin-top: 0 !important;
	}

	.feeditem.displaced:before {
		content: '' !important;
	}

	.fourwide .feeditem {
		width: 100%;
		height: 320px;
		margin: 0 0 32px !important;
	}

	.fourwide.hpevents .feeditem.morelink {
		margin: 0 0 32px !important;
	}

	.resnavtrigger-wrap {
		position: absolute;
	}

	.landernav {
		position: absolute;
	}

	.flexGrid .fgriditem {
		width: 100%;
		margin: 0;
	}

	#grid-content-four .griditem {
		width: 100%;
	}

	#grid-content-four .griditem {
		margin: 0;
	}
}

/*Width + Height Based Queries*/

@media only screen and (max-width: 528px) and (max-height: 600px) {

	ul.slick-dots {
		display: none !important;
	}
}