/*
----------------------------
Theme Name:	Edward Cowie
Author: Mat Martin Studio
Responsiveness
CSS Media Queries
----------------------------
*/

/*Width-Based Queries*/

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

	html {
		font-size: 14px;
	}

	.titleBar.tbHomepage h1 {
		font-size: 16px;
		font-size: 7.43em;
	}

	.titleBar h1 {
		font-size: 16px;
		font-size: 6.192em;
	}

	blockquote p, p.quote,
	ul.workSections li {
		line-height: 20px;
	}

	.dlButton {
		font-size: 1rem;
	}

	.tb-inner,
	.titleBar,
	.width,
	.footerwrap {
		width: 95%;
	}

	.titleBar.tbHomepage {
		padding: 32px 2.5% 0;
	}

	.titleBar {
		padding: 14px 2.5% 0;
	}

	.hp-width {
		width: 88%;
	}

	.threecol .col.col25,
	.threecol .col.col15 {
		width: 18%;
	}

	.threecol .col.col50,
	.threecol .col.col60 {
		width: 55%;
		padding: 0 3%;
	}

	.threecol .col.filterPad {
		padding-right: 1.5%;
	}

	.typeList li.action.active, 
	.searchlist li.action.active,
	.cl li.action.active {
		margin: 0 -9% 0 -14%;
		padding: 12px 17px 8px 14%;
	}

	.clFilters li.action.active, 
	.sFilter li.action.active {
		margin: 0 0 0 -11%;
		padding: 8px 14% 8px 11%;
		color: #999;
	}

	li.action {
		padding: 8px 0;
	}

	.typeList li.action.active, 
	.cl li.action.active, 
	.searchlist li.action.active {
		padding-top: 8px;
	}

	ul.eventlist li span.eventTrigger {
		line-height: 44px;
	}
}

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

	.hpl {
		width: 100%;
		height: 720px;
	}

	.hpl img {
		width: 100%;
		height: 100%;
		-o-object-fit: cover;
		   object-fit: cover;
		-o-object-position: center;
		   object-position: center;
	}
}

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

	.titleBar.tbHomepage h1 {
		font-size: 6.811em;
	}

	.tbhOffset {
		height: 110px;
	}

	.tb-inner .tb-item.main-nav-wrap {
		display: none;
	}

	.tb-inner .tb-item.mobile-nav-wrap {
		display: block;
	}

	.menu-trigger-wrap {
		display: block;
	}

	.feat-recording {
		padding: 0 8px;
	}
}

@media only screen and (max-width: 969px) { /*Reduce to 2 Columns*/

	/*Page Column Collapses*/

	#biography .threecol .col.col15.flexend,
	#contact .threecol .col.col15,
	#no-results .col.col25.rhsm {
		display: none;
	}

	#biography .threecol .col {
		width: 50%;
		padding-left: 24px;
		padding-right: 0;
	}

	#biography .threecol .col:nth-of-type(2),
	#no-results .threecol .col:nth-of-type(2) {
		margin: 0;
		border: none
	}

	#no-results .threecol .col.col25,
	#contact .threecol .col.col30 {
		width: 35%;
		padding: 0 24px;
	}

	#no-results .threecol .col.col50,
	#contact .threecol .col.col55 {
		width: 65%;
		padding: 0 0 0 24px;
	}

	#biography .threecol .col:first-of-type,
	#contact .threecol .col:first-of-type,
	#no-results .threecol .col:first-of-type {
		padding-left: 0;
		padding-right: 24px;
		border-right: 1px solid rgba(33,33,33,0.2);
	}

	/*Error Pages*/

	#no-results .cpsm-res {
		display: block;
	}

	/*Archive Meta Columns*/ 

	.threecol .col15#metas {
		width: calc(50% - 48.5px);
		position: fixed;
		top: 110px;
		right: calc(-50% - 1px);
		border-left: 1px solid rgba(33,33,33,0.2);
		height: 100%;
		background: #F4F4F4;
		padding: 0 24px;
		z-index: 40;
	}

	.threecol .col15#metas.out {
		right: 0;
	}

	.metas-opener {
		display: block;
	}

	.threecol .col.col15#recMeta {
		display: none;
	}

	#packshot_data {
		display: block !important;
		width: 100%;
		height: auto;
		margin-bottom: 24px;
	}

	#packshot_data img {
		width: 100%;
		height: auto;
	}

	/*Archive List Columns*/

	.threecol .col25#list {
		width: calc(50% - 24px);
		padding-right: 24px;
	}

	.typeList li.action.active, 
	.searchlist li.action.active, 
	.cl li.action.active,
	.sFilter li.action.active {
		width: 100%;
		padding: 8px 24px;
		margin: 0 0 0 -24px;
	}

	/*Archive Main Post Columns*/

	.threecol .col60#post {
		width: 50%;
		margin: 0;
		box-sizing: border-box;
		border-right: none;
		padding: 0 0 0 24px;
	}

	ol.trackList li span,
	ol.trackList li span.duration {
		/*display: inline-block;*/
		float: none;
		text-align: left;
	}

	ol.trackList li span.track-title {
		margin-right: 4px;
	}

	.hw-list-wrap {
		flex-direction: column;
	}

	.hw-event-list {
		width: 100%;
	}
}

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

	.titleBar.tbHomepage h1 {
		font-size: 6.192em;
	}

	.tbhOffset {
		height: 102px;
	}
}

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

	.titleBar.tbHomepage h1 {
		font-size: 5.676em;
	}

	.tbhOffset {
		height: 98px;
	}

	.feat-recording {
		padding: 0 4px;
	}
}

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

	.titleBar.tbHomepage h1 {
		font-size: 5.16em;
	}

	.tbhOffset {
		height: 92px;
	}
}

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

	.titleBar.tbHomepage h1 {
		font-size: 4.73em;
	}

	.tbhOffset {
		height: 88px;
	}

	ul.eventlist li.openEvent {
		padding: 16px 0 12px 0;
	}

	ul.eventlist li span.eventTrigger {
		text-align: left;
		position: relative;
		line-height: unset;
		display: block;
		padding-top: 4px;
	}
}

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

	.hpl {
		height: 88vh;
		padding-top: 0;
	}

	.hpl img {
		-o-object-position: 33%;
		   object-position: 33%;
	}
}

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

	.titleBar.tbHomepage h1 {
		font-size: 4.3em;
	}

	.tbhOffset {
		height: 82px;
	}
}

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

	.searchform input#s {
		width: 232px;
	}
}

@media only screen and (max-width: 579px) { /*Reduce to 1 Column*/

	.tb-icons .search {
		display: none;
	}

	.tb-inner .mobile-nav-wrap {
		padding-left: 40px;
	}

	.menu-trigger-wrap {
		left: 24px;
	}

	.tb-inner, .titleBar, .width, .footerwrap {
		width: calc(100% - 48px);
	}

	.tb-inner .mobile-nav-wrap li.mnw-pageid {
		display: inline-block;
		color: #618985;
	}

	ul.main-nav li {
		padding: 0 4px 0 0;
	}

	.titleBar {
		padding: 14px 24px 0;
	}

	.titleBar h1 {
		font-size: 5.16em;
	}

	.tbOffset {
		height: 72px;
	}

	.titleBar.tbHomepage {
		padding: 32px 24px 0;
	}

	.titleBar.tbHomepage h1 {
		font-size: 3.583em;
	}

	.tbhOffset {
		height: 72px;
	}

	.footerwrap {
		flex-direction: column-reverse;
	}

	.footerwrap p,
	.footerwrap .sms-wrap {
		width: 100%;
	}

	.footerwrap .sms-wrap {
		margin-left: -9px;
	}

	.ca {
		padding: 24px 0;
	}

	/*Page Column Collapses*/

	#biography .threecol,
	#contact .threecol,
	#no-results .threecol {
		align-items: unset;
		flex-direction: column;
		margin-bottom: 0;
	}

	#biography .threecol .col,
	#contact .threecol .col.col30,
	#contact .threecol .col.col15,
	#contact .threecol .col.col55,
	#no-results .threecol .col.col25,
	#no-results .threecol .col.col50 {
		width:  100%;
		padding-left: 0;
		padding-right: 0;
		border: none;
	}

	#no-results .threecol .col.col25 {
		margin: 12px 0 32px;
	}

	#contact .threecol .col.col15 {
		display: block;
		margin: 0;
		padding-bottom: 16px;
		margin-bottom: 15px;
		border-bottom: 1px solid rgba(33,33,33,0.2);
	}

	#contact .col.col30 {
		display: flex;
		justify-content: space-between;
	}

	#contact .col.col30 ul.representative {
		width: 48%;
	}

	a.button.stacked {
		display: inline-block;
	}

	/*Archive Column Collapses*/

	#archive .threecol .col.col25#list {
		position: fixed;
		z-index: 30;
		top: 108px;
		right: -1px;
		margin-right: -49px;
		width: 0;
		min-height: calc(100% - 88px);
		height: calc(100vh - 88px);
		background: #F4F4F4;
		border-left: 1px solid rgba(33,33,33,0.2);
		padding-right: 24px;
		padding-left: 24px;
		overflow: scroll;
		-webkit-animation: 2.2s ease-in-out 0.3s 1 listBounce;
	          animation: 2.2s ease-in-out 0.3s 1 listBounce;
	}

	#archive .threecol .col.col25#list li.action {
		white-space: nowrap;
	}

	#archive .threecol .col.col25#list.out {
		margin-right: 0;
		width: calc(100% - 76px);
	}

	#archive .threecol .col.col25#list.out li.action {
		white-space: unset;
	}

	.list-opener {
		display: block;
	}

	#archive .threecol .col.col60#post {
		border: none;
		width: 100%;
		margin: 0 auto;
		height: 100%;
		background: #F4F4F4;
		padding: 0 5px 0 0;
		box-sizing: border-box;
		z-index: 10;
	}

	#archive .threecol .col.col15#recMeta.fade,
	#archive .threecol .col.col60#post.fade {
		opacity: 0.3;
	}

	.col #postReceipt {
		position: relative;
		top:  unset;
	}

	/*Filter Lists*/

	.threecol .col15#metas {
		width: calc(100% - 77px);
		position: fixed;
		top: 108px;
		right: calc(-100% + 28px);
		border-left: 1px solid rgba(33,33,33,0.2);
		height: 100%;
		background: #F4F4F4;
		padding: 0 24px;
		z-index: 40;
	}

	.dlSwitch {
		padding: 4px 0;
		height: auto;
		overflow: unset;
	}

	.threecol .catFilters {
		position: relative;
		top: unset;
		padding-top: 6px;
	}

	/*Works Archive*/

	ul.cl.typeList,
	ul.cl.workList,
	ul.cl.archiveList {
		padding-bottom: 48px;
	}

	#works .col #postReceipt {
		overflow-y: unset;
		height: auto;	
		padding-bottom: 120px; 
	}

	/*Recordings Archive*/

	#packshot_data {
		display: none !important;
	}

	#archive .threecol#recordings {
		flex-direction: column-reverse;
	}

	.threecol .col.col15#recMeta {
		display: block;
		width: 100%;
		padding: 0 4px 24px 0;
		box-sizing: border-box;
	}

	.threecol .col15#recMeta #packShot {
		padding-top: 0;
	}

	.threecol .col15#recMeta #packShot img {
		margin-bottom: 4px;
	}

	/*Process Archive*/

	.col.col60.galleries .aw-gallery {
		width: calc(100% + 8px);
		margin-left: -4px;
	}

	.col.col60.galleries .aw-gallery .column {
		padding: 0 4px;
	}

	.col.col60.galleries .res-description {
		display: block;
	}
}

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

	.width.exw {
		width: 100%;
	}

	.testimonial {
		text-align: left;
	}

	.slider .slick-dots {
		text-align: left;
		margin-left: -6px;
	}
}

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

	.titleBar.tbHomepage h1 {
		font-size: 2.986em;
	}

	.tbhOffset {
		height: 68px;
	}
}

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

	#contact .col.col30 {
		flex-direction: column;
		justify-content: flex-start;
	}

	#contact .col.col30 ul.representative {
		width: 100%;
	}

	.tb-icons {
		display: none;
	}
}

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

	#cookie-law-info-bar {
		width: 100% !important;
		bottom: 0 !important;
		top: auto !important;
		left: 0 !important;
	}
}

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

	#parallax-container {
		height: 360px;
	}

	#archive .threecol {
		min-height: calc(100vh - 204px);
	}
}

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

	.topbar.hptb {
		background: transparent;
		position: absolute;
	}

	#hptw {
		position: absolute;
	}

	.tb-offset.hptbo {
		display: none;
	}

	.titleBar.tbHomepage {
		display: none;
	}	

	.tbhOffset {
		display: none;
	}

	.topbar.hptb li.hp-ident {
		font-family: 'questa', sans-serif;
		font-weight: 400;
		font-size: 1.44rem;
		text-transform: uppercase;
		color: #B2B2B2;
		margin-top: -1px;
	}

	.tb-inner {
		padding: 16px 0 32px;
	}

	#homepage .ca.notoppad {
		padding: 0;
	}

	.menu-trigger-wrap {
		top: 24px;
	}

	.hpl-sq {
		width: 100%;
		height: 88vh;
		padding-top: 0;
		position: relative;
	}

	.hpl-sq img {
		width: auto;
		height: 100%;
		position: absolute;
		bottom: 0;
	}

	.testimonials {
		margin-top: 32px;
	}

	.slick-dotted.slick-slider {
		margin-bottom: 64px !important;
	}

	.progress-container {
		bottom: 28px;
	}

	.titleBar h1 {
		font-size: 4.3em;
	}

	.tb-offset {
		height: 68px;
	}

	.tbOffset {
		height: 62px;
	}

	#archive .threecol .col.col25#list,
	.threecol .col15#metas {
		top: 88px;
	}

	.list-opener {
		top: 112px;
	}

	.testimonial h4 {
		line-height: 24px;
		font-size: 1.2rem;
	}
}

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

	.titleBar.tbHomepage {
		padding: 16px 4px 0;
	}

	.titleBar.tbHomepage h1 {
		font-size: 2.488em;
	}

	.tbhOffset {
		height: 44px;
	}
}

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

	.titleBar h1 {
		font-size: 3.583em;
	}

	.tbOffset {
		height: 56px;
	}
}

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

	.titleBar.tbHomepage h1 {
		font-size: 2.074em;
	}

	.tbhOffset {
		height: 40px;
	}
}

/*Height-Based Queries*/

@media only screen and (max-height: 375px) {

	.topbar.hptb {
		position: absolute;
	}

	#hptw {
		position: absolute;
	}
}

