/**************************************
Sub Nav Container
**************************************/

.sub-nav {
	@extend %clearfix;
	width: 100%;
	height: 45px;
	margin-bottom: 5px;
	position: relative;
	margin-top: 30px;

	&--music {
		padding-left: 55px;
		@media screen and (min-width: $bp-tablet) {
			height: 60px;
			padding-left: 0;
		}
	}

	&--voiceover {
		padding-left: 55px;
		@media screen and (min-width: $bp-laptop) {
			height: 60px;
			padding-left: 0;
		}
	}

	&--publishing {
		padding-left: 55px;
		@media screen and (min-width: $bp-laptop) {
			height: 60px;
			padding-left: 0;
		}
	}

	&--contact {
		padding-left: 55px;
		@media screen and (min-width: $bp-large) {
			height: 60px;
			padding-left: 0;
		}
	}

	
	@media screen and (min-width: $bp-laptop) {
		height: 60px;
	}
}


/**************************************
Filter 
**************************************/

.sub-nav__filter {
	position: absolute;
	top: 50px;
	width: 100%;
	background-color: $color-accent;
	padding: 20px;
	left: 0;
	z-index: 4;
	visibility: hidden;
	opacity: 0;
	transition: opacity .3s 0s, visibiliy 0s .3s;

	&--music {
		@media screen and (min-width: $bp-tablet) {
			width: 65%;
			visibility: visible;
			position: relative;
			float: left;
			background-color: $color-background;
			opacity: 1;
			height: 60px;
			padding: 0;
			top: 0;
			border-right: solid 1px white;
			.sub-nav-filter__list {
				display: flex;
			}
		}

	}

	&--voiceover {
		@media screen and (min-width: $bp-laptop) {
			width: 25%;
			visibility: visible;
			position: static;
			float: left;
			background-color: $color-background;
			opacity: 1;
			height: 60px;
			padding: 0;
			top: 0;
			align-items: flex-start;
			display: flex;
		}
	}

	&--publishing {
		@media screen and (min-width: $bp-laptop) {
			width: 60%;
			visibility: visible;
			position: static;
			float: left;
			background-color: $color-background;
			opacity: 1;
			height: 60px;
			padding: 0;
			top: 0;
			align-items: flex-start;
			display: flex;
		}
	}

	&--contact {
		@media screen and (min-width: $bp-large) {
			width: 100%;
			visibility: visible;
			position: static;
			float: left;
			background-color: $color-background;
			opacity: 1;
			height: 60px;
			padding: 0;
			top: 0;
			align-items: flex-start;
			display: flex;
		}
	}

}
.sub-nav-filter__icon {
	position: absolute;
	width: 50px;
	height: 45px;
	left: 0;
	display: block;
	transition: background .3s;

	svg {
		max-width: 40%;
		max-height: 40%;
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		margin: auto;

		path {
			transition: fill .3s;
			fill: $color-accent;
		}
	}

	&:after {
		@extend %pseudos;
		bottom: -5px;
		height: 5px;
		width: 100%;
		background-color: $color-accent;
		opacity: 0;
		transition: opacity .3s;
	}

	.no-touch &:hover {
		svg path {
			fill: $color-primary;
		}
	}

	&--music {
		@media screen and (min-width: $bp-tablet) {
			display: none;
		}
	}

	&--voiceover {
		@media screen and (min-width: $bp-laptop) {
			display: none;
		}
	}

	&--publishing {
		@media screen and (min-width: $bp-laptop) {
			display: none;
		}
	}

	&--contact {
		@media screen and (min-width: $bp-large) {
			display: none;
		}
	}

}
.js-filter-open .sub-nav-filter__icon {
	background-color: $color-accent;

	svg {
		transform: rotate(180deg);
		path {
			fill: white;
		}
	}

	&:after {
		opacity: 1;
	}

	.no-touch &:hover {
		svg path {
			fill: white;
		}
	}
}
.js-filter-open .sub-nav__filter {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s 0s, visibiliy 0s 0s;
}
.sub-nav-filter__list {
	width: 100%;

	&--voiceover {
		@media screen and (min-width: $bp-laptop) {
			display: flex;
		}
	}
	&--publishing {
		@media screen and (min-width: $bp-laptop) {
			display: flex;
		}
	}
	&--contact {
		@media screen and (min-width: $bp-large) {
			display: flex;
		}
	}
}
.sub-nav-filter-list__item {
	display: block;
	position: relative;

	a {
		display: block;
		width: 100%;
		padding: 15px 10px;
		transition: background .3s;
		color: white;
		font-size: $font-xs;
		text-transform: uppercase;

		.no-touch &:hover {
			background-color: rgba(0,0,0,0.4);
		}
	}

	&--music {
		@media screen and (min-width: $bp-tablet) {
			// width: 50%;
			float: left;
			border-right: solid 1px white;
			height: 60px;
			line-height: 60px;
			flex-shrink: 0;
			a {
				font-weight: $font-bold;
				color: $color-primary;
				font-size: $font-micro;
				transition: color .3s;
				padding: 0 15px;
				text-align: center;
				letter-spacing: 1px;

				.no-touch &:hover {
					background-color: transparent;
					color: $color-accent;
				}
			}
		}
		@media screen and (min-width: $bp-large) {
			width: 20%;
			a {
				padding: 0 10px;
			}
		}
	}
	&--voiceover {
		@media screen and (min-width: $bp-laptop) {
			flex-grow: 1;
			border-right: solid 1px white;
			height: 60px;
			line-height: 60px;
			position: static;

			a {
				font-weight: $font-bold;
				color: $color-primary;
				font-size: $font-micro;
				transition: color .3s;
				padding: 0 5px;
				text-align: center;
				letter-spacing: 1px;

				.no-touch &:hover {
					background-color: transparent;
					color: $color-accent;
				}
			}
		}
	}
	&--publishing {
		@media screen and (min-width: $bp-laptop) {
			flex-grow: 1;
			border-right: solid 1px white;
			height: 60px;
			line-height: 60px;
			position: static;

			a {
				font-weight: $font-bold;
				color: $color-primary;
				font-size: $font-micro;
				transition: color .3s;
				padding: 0 5px;
				text-align: center;
				letter-spacing: 1px;

				.no-touch &:hover {
					background-color: transparent;
					color: $color-accent;
				}
			}
		}
	}
	&--contact {
		@media screen and (min-width: $bp-large) {
			flex-grow: 1;
			border-right: solid 1px white;
			height: 60px;
			line-height: 60px;
			position: static;

			a {
				font-weight: $font-bold;
				color: $color-primary;
				font-size: $font-micro;
				transition: color .3s;
				padding: 0 5px;
				text-align: center;
				letter-spacing: 1px;

				.no-touch &:hover {
					background-color: transparent;
					color: $color-accent;
				}
			}
		}
	}
}
.sub-nav-filter-list__item--music.current-sub-nav-item {
	@media screen and (min-width: $bp-tablet) {
		> a {
			background-color: transparent;
			color: $color-accent;
		}
	}
}
.sub-nav-filter-list__item--voiceover.current-sub-nav-item {
	@media screen and (min-width: $bp-laptop) {
		> a {
			background-color: transparent;
			color: $color-accent;
		}
	}
}
.sub-nav-filter-list__item--publishing.current-sub-nav-item {
	@media screen and (min-width: $bp-laptop) {
		> a {
			background-color: transparent;
			color: $color-accent;
		}
	}
}
.sub-nav-filter-list__item--contact.current-sub-nav-item {
	@media screen and (min-width: $bp-large) {
		> a {
			background-color: transparent;
			color: $color-accent;
		}
	}
}
.sub-nav-filter-list__item--alphabetical {
	display: none;

	@media screen and (min-width: $bp-tablet) {
		width: 50%;
		float: left;
		height: 60px;
		line-height: 60px;

		a {
			font-weight: $font-bold;
			color: $color-primary;
			font-size: $font-micro;
			transition: color .3s;
			padding: 0 15px;
			text-align: center;
			letter-spacing: 1px;

			.no-touch &:hover {
				background-color: transparent;
				color: $color-accent;
			}
		}
	}
	
	@media screen and (min-width: $bp-tablet) {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 35px;
		a {
			padding: 0;
			width: auto;
		}
	}
}
.sub-nav-filter-list-item-alphabetical--music {
	@media screen and (min-width: $bp-tablet) {
		width: 100%;
	}
	@media screen and (min-width: $bp-laptop) {
		width: 80%;
	}
	@media screen and (min-width: $bp-large) {
		width: 60%;
	}
}

.sub-nav-tier-2 {
	display: none;
	list-style: none;
	position: static;
	transform: scaleY(1);
	text-indent: 15px;
	@media screen and (min-width: $bp-laptop) {
		width: 100%;
		background-color: $color-disabled;
		padding: 0 0 0 45px;
		position: absolute;
		top: 61px;
		left: 0;
		text-indent: 0;
		line-height: 1.5;
		display: block;
	}
}
.sub-nav-tier-2-list__item {
	display: block;
	position: relative;

	a {
		display: block;
		width: 100%;
		padding: 15px 10px;
		transition: background .3s;
		color: white;
		font-size: $font-micro;
		text-transform: uppercase;

		.no-touch &:hover {
			background-color: rgba(0,0,0,0.4);
		}
	}
	
	@media screen and (min-width: $bp-laptop) {
		float: left;
		border-right: solid 1px darken($color-disabled, 10%);
		a {
			display: block;
			padding: 15px 15px;
			transition: color .3s;
			color: $color-primary;
			font-size: 10px;
			&:hover {
				color: $red;
			}
		}
		&:first-of-type {
			a { 
				padding-left: 0;
			}
		}
	}
}
.sub-nav-tier-2-list__item.current-sub-nav-item {
	@media screen and (min-width: $bp-laptop) {
		a {
			color: $color-accent;
		}
	}
}
.sub-list-enabled ul {
	display: block;
}
.with-tier-2 {
	position: relative;
	&:after {
		@extend %pseudos;
		right: 0;
		width: 12px;
		background-image: url('../img/icon-arrow.svg');
		background-repeat: no-repeat;
		background-size: contain;
		position: static;
		display: inline-block;
		height: 6px;
		margin-left: 5px;
		transform: translateY(-1px);
		transform-origin: center;
	}
	@media screen and (min-width: $bp-laptop) {
		position: static;
		text-indent: 0;
		@media screen and (min-width: $bp-laptop) {
			&:after {
				display: none;
			}
		}
	}
}
.sub-list-enabled .with-tier-2:after {
	transform: translateY(-1px) rotate(180deg);
}

/**************************************
Search
**************************************/

.sub-nav__search {
	width: 100%;
	height: 45px;
	position: relative;
	background-color: $color-background;

	input {
		width: 100%;
		height: 100%;
		background-color: $color-background;
		padding: 15px 60px 15px 15px;
		text-align: left;
		font-size: 16px;
		color: $color-primary;
		line-height: 45px;
		border:0;
		transition: background .3s;
		border-radius: 0 !important;

		&:focus {
			outline: 0;
			background-color: lighten($color-background, 5%);
		}
	}

	&--music {
		@media screen and (min-width: $bp-tablet) {
			width: 35%;
			height: 60px;
			float: right;

			input {
				line-height: 45px;
				padding: 20px 80px 20px 20px;
				font-size: $font-xs;
			}
		}
	}
	&--voiceover {
		@media screen and (min-width: $bp-laptop) {
			width: 75%;
			height: 60px;
			float: right;

			input {
				line-height: 45px;
				padding: 20px 80px 20px 20px;
				font-size: $font-xs;
			}
		}
	}
	&--publishing {
		@media screen and (min-width: $bp-laptop) {
			width: 40%;
			height: 60px;
			float: right;

			input {
				line-height: 45px;
				padding: 20px 80px 20px 20px;
				font-size: $font-xs;
			}
		}
	}
	&--contact {
		@media screen and (min-width: $bp-large) {
			width: 30%;
			height: 60px;
			float: right;

			input {
				line-height: 45px;
				padding: 20px 80px 20px 20px;
				font-size: $font-xs;
			}
		}
	}
	
	@media screen and (min-width: $bp-laptop) {
		height: 60px;
		input {
			line-height: 45px;
			padding: 20px 80px 20px 20px;
			font-size: $font-xs;
		}
	}
	

}
.sub-nav-search__icon {
	position: absolute;
	right: 0;
	top: 0;
	background-color: $color-primary;
	display: block;
	width: 45px;
	height: 45px;
	transition: background .3s;

	svg {
		max-width: 50%;
		max-height: 50%;
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		margin: auto;
	}

	&:hover {
		background-color: $red;
	}

	
	@media screen and (min-width: $bp-tablet) {
		width: 60px;
		height: 60px;
	}
	
}

/**************************************
Sub Nav Page title
**************************************/

// .page-title {
// 	width: 100%;
// 	padding: 15px;
// 	text-align: left;
// 	border-bottom: $border-default;

// 	@media screen and (min-width: $bp-laptop) {
// 		display: none;
// 	}
// }


/**************************************
Title + Nav
**************************************/

.page-title--with-nav {
	width: 100%;
	background-color: $color-background;
	margin-bottom: 15px;
	padding: 10px 15px;

	@media screen and (min-width: $bp-laptop) {
		display: flex;
		padding: 15px 20px;
	}
}
.page-title--with-nav h2 {
	margin: 0;
	flex-grow: 1;
	margin-bottom: 10px;

	@media screen and (min-width: $bp-mobile) {
		font-size: $font-medium;
	}
	@media screen and (min-width: $bp-laptop) {
		font-size: $font-large;
		margin-bottom: 0;
	}
}
.page-title__social-nav {
	text-align: left;
	@media screen and (min-width: $bp-laptop) {
		flex-basis: 400px;
		text-align: right;
	}
}
.page-title-social-nav__item {
	height: 35px;
	width: 35px;
	display: inline-block;
	border-radius: 100%;
	background-color: #999999;
	position: relative;
	margin: 0 2px;
	transition: background .3s;

	svg {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin: auto;
		max-width: 50%;
		max-height: 40%;
		display: block;

		path {
			fill: white;
		}

	}

	&:hover {
		background-color: $color-accent;
	}
}
.sidebar-title {
	width: 100%;
	background-color: $color-background;
	margin-bottom: 5px;
	padding: 10px 15px;
}

.media-wrapper > div,
.media-wrapper > iframe {
	margin-bottom: 10px;
}