/* Works
--------------------------------------------- */

/* TOC
	5. Works
		5.1. Index
		5.2. View
*/

/* 5. Works
------------------------------------------------ */

/* 5.1. Works > Index
------------------------------------------------ */

#works_index_c header {
	background: transparent url('/img/works/header_bg.jpg') no-repeat center center / cover;
}

#works_index_c section.work {
	padding: 45px;
	position: relative;
}

#works_index_c section.work div.arrow_down {
	display: none;
}

#works_index_c section.work div.max_width_c {
	position: relative;
}

#works_index_c section.work h2 {
	color: #af3e21;
	font-family: "ff-din-web", Helvetica, Arial, sans-serif;
	font-size: 1.8rem;
	font-weight: 400;
	line-height: 1;
	margin: 0;
	text-transform: uppercase;
}

#works_index_c section.work a.cta {
	color: #fff;
	background-color: #a7341c;
	display: block;
	font-family: "ff-din-web", Helvetica, Arial, sans-serif;
	font-size: 1.0rem;
	font-weight: 400;
	line-height: 1.4;
	padding: 5px 9px 2px 9px;
	position: absolute;
	right: 0;
	text-transform: uppercase;
	top: -3px;
}

#works_index_c section.work a.cta span {
	display: none;
}

#works_index_c section.work a.cta:hover {
	background-color: #982b19;
}

#works_index_c section.work a.cta:active {
	background-color: #a7341c;
}

#works_index_c section.work a.cta i {
	font-size: 1.2em;
	margin-left: 5px;
}

#works_index_c section.work .works_c {
	display: flex;
	flex-flow: row wrap;
	margin: 30px 0 0 0;
}

#works_index_c section.work .works_c a {
	background-color: transparent;
	background-position: center center, -9999px -9999px;
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	height: 38vw;
	width: 50%;
}

#works_index_c section.subfooter div.subfooter_left {
	background: transparent url('/img/works/bot_callout_bg.jpg') no-repeat center top 25% / cover;
}

#works_index_c section.subfooter div.subfooter_right div.icons div:nth-child(1) {
	background: transparent url('/img/works/bot_callout_1_marker.svg') no-repeat center center / contain;
}

#works_index_c section.subfooter div.subfooter_right div.icons div:nth-child(2) {
	background: transparent url('/img/works/bot_callout_2_phone.svg') no-repeat center center / contain;
}

#works_index_c section.subfooter div.subfooter_right div.icons div:nth-child(3) {
	background: transparent url('/img/works/bot_callout_3_mail.svg') no-repeat center center / contain;
}

@media (min-width: 768px) {
	#works_index_c section.work {
		padding: 100px 0 140px 0;
	}

	#works_index_c section.work div.arrow_down {
		border-bottom: none;
		border-left: 20px solid transparent;
		border-right: 20px solid transparent;
		border-top: 20px solid #fff;
		bottom: -20px;
		display: block;
		height: 0;
		left: 50%;
		margin-left: -20px;
		position: absolute;
		width: 0;
		z-index: 99;
	}

	#works_index_c section.work div.max_width_c {
		margin: 0 auto;
		max-width: 1000px;
	}

	#works_index_c section.work h2 {
		font-size: 3.6rem;
	}

	#works_index_c section.work .works_c {
		margin: 55px 0 0 0;
	}

	#works_index_c section.work .works_c a {
		height: 250px;
		left: 0;
		position: relative;
		top: 0;
		transition: left 0.1s ease, opacity 0.1s ease, top 0.1s ease;
		width: 250px;
	}

	#works_index_c section.work .works_c:hover a {
		opacity: 0.5;
	}

	#works_index_c section.work .works_c a:nth-child(4n+1) {
		z-index: 4;
	}

	#works_index_c section.work .works_c a:nth-child(4n+2) {
		z-index: 3;
	}

	#works_index_c section.work .works_c a:nth-child(4n+3) {
		z-index: 2;
	}

	#works_index_c section.work .works_c a:nth-child(4n+4) {
		z-index: 1;
	}

	#works_index_c section.work .works_c a::after {
		background-color: #191615;
		bottom: 0;
		content: '';
		height: 0;
		left: 0;
		position: absolute;
		transform: skew(-45deg);
		transform-origin: top;
		transition: all 0.1s ease;
		width: 251px;
	}

	#works_index_c section.work .works_c a::before {
		background-color: #342926;
		content: '';
		height: 251px;
		left: 0;
		position: absolute;
		top: 0;
		transform: skewY(-44deg);
		transform-origin: top;
		transition: all 0.1s ease;
		width: 0;
	}

	#works_index_c section.work .works_c:hover a:hover,
	#works_index_c section.work .works_c a.animate {
		background-position: -9999px -9999px, center center;
		left: 10px;
		opacity: 1.0;
		top: -10px;
	}

	#works_index_c section.work .works_c:hover a:hover::after,
	#works_index_c section.work .works_c a.animate::after {
		bottom: -10px;
		height: 10px;
	}

	#works_index_c section.work .works_c:hover a:hover::before,
	#works_index_c section.work .works_c a.animate::before {
		left: -10px;
		top: 5px;
		width: 10px;
	}

	#works_index_c section.subfooter div.subfooter_left_c div {
		background: transparent url('/img/works/bot_callout_bg.jpg') no-repeat center top 20% / cover;
	}
}


/* 5.2. Works > View
------------------------------------------------ */

#works_view_c header {
	background-color: transparent;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

#works_view_c section.detail {
	padding: 45px;
	position: relative;
}

#works_view_c section.detail div.arrow_down {
	display: none;
}

#works_view_c section.detail div.max_width_c {
	position: relative;
}

#works_view_c section.detail a.cta {
	color: #fff;
	background-color: #a7341c;
	display: block;
	font-family: "ff-din-web", Helvetica, Arial, sans-serif;
	font-size: 1.2rem;
	font-weight: 400;
	left: 0;
	letter-spacing: 0.01em;
	line-height: 1.4;
	padding: 7px 16px 5px 16px;
	position: absolute;
	text-transform: uppercase;
	top: -1px;
}

#works_view_c section.detail a.cta:hover {
	background-color: #982b19;
}

#works_view_c section.detail a.cta:active {
	background-color: #a7341c;
}

#works_view_c section.detail a.cta i {
	font-size: 1.2em;
	margin-right: 5px;
	position: relative;
	top: 1px;
}

#works_view_c section.detail a.link {
	color: #a7341c;
	background-color: #fff;
	display: block;
	font-size: 2.7em;
	line-height: 1;
	position: absolute;
	right: 0;
	top: -2px;
}

#works_view_c section.detail a.cta:hover {
	background-color: #982b19;
}

#works_view_c section.detail a.cta:active {
	background-color: #a7341c;
}

#works_view_c section.detail div.images {
	display: flex;
	flex-wrap: wrap;
	padding: 70px 0 35px 0;
}

#works_view_c section.detail div.images.awards {
	padding: 70px 0 0 0;
}

#works_view_c section.detail div.images a.image {
	background-color: transparent;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	cursor: pointer;
	display: block;
}

#works_view_c section.detail div.images a.image:first-child,
#works_view_c section.detail div.images.num_images_2 a.image:nth-child(2) {
	flex-basis: 100%;
	height: 76vw;
	width: 100%;
}

#works_view_c section.detail div.images.num_images_3 a.image:nth-child(2),
#works_view_c section.detail div.images.num_images_3 a.image:nth-child(3) {
	flex-basis: 50%;
	height: 38vw;
	width: 50%;
}

#works_view_c section.detail div.images.num_images_4 a.image:nth-child(2) {
	flex-basis: 100%;
	height: 38vw;
	width: 100%;
}

#works_view_c section.detail div.images.num_images_4 a.image:nth-child(3),
#works_view_c section.detail div.images.num_images_4 a.image:nth-child(4) {
	flex-basis: 50%;
	height: 38vw;
	width: 50%;
}

#works_view_c section.detail div.images.num_images_5 a.image:nth-child(2),
#works_view_c section.detail div.images.num_images_5 a.image:nth-child(3),
#works_view_c section.detail div.images.num_images_5 a.image:nth-child(4),
#works_view_c section.detail div.images.num_images_5 a.image:nth-child(5) {
	flex-basis: 50%;
	height: 38vw;
	width: 50%;
}

#works_view_c section.detail div.awards_c {
	margin: 0 0 30px 0;
}

#works_view_c section.detail div.awards_c div.award {
	display: flex;
}

#works_view_c section.detail div.awards_c div.award div.star {
	background-color: #a7341c;
	-webkit-clip-path: polygon(0 0, 100% 0, 0 100%);
	clip-path: polygon(0 0, 100% 0, 0 100%);
	height: 60px;
	padding: 10px 0 0 10px;
	position: relative;
	width: 60px;
}

#works_view_c section.detail div.awards_c div.award div.star i {
	color: #fff;
	font-size: 1.6rem;
}

#works_view_c section.detail div.awards_c div.award div.info_c {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 5px;
}

#works_view_c section.detail div.awards_c div.award div.info_c div.title {
	color: #b7b7b7;
	font-family: "ff-din-web", Helvetica, Arial, sans-serif;
	font-size: 1.0rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.4;
	text-transform: uppercase;
}

#works_view_c section.detail div.awards_c div.award div.info_c div.kind {
	color: #a7341c;
	font-family: "ff-din-web", Helvetica, Arial, sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.4;
	text-transform: uppercase;
}

#works_view_c section.detail div.tags {
	display: flex;
	flex-wrap: wrap;
	margin: 20px 0 0 0;
}

#works_view_c section.detail div.tags div {
	color: #fff;
	background-color: #bbb08e;
	display: inline-block;
	font-family: "ff-din-web", Helvetica, Arial, sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	margin: 0 8px 8px 0;
	padding: 8px 10px 6px 10px;
}

#works_view_c section.detail div.tags div.group_1 {
	background-color: #716360;
}

#works_view_c section.detail div.tags div.group_2 {
	background-color: #b7b7b7;
}

#works_view_c section.detail div.tags div.award {
	background-color: #a7341c;
}

#works_view_c section.subfooter div.subfooter_left {
	background: transparent url('/img/works/bot_callout_bg.jpg') no-repeat center top 25% / cover;
}

#works_view_c section.subfooter div.subfooter_right div.icons div:nth-child(1) {
	background: transparent url('/img/works/bot_callout_1_marker.svg') no-repeat left center / contain;
}

#works_view_c section.subfooter div.subfooter_right div.icons div:nth-child(2) {
	background: transparent url('/img/works/bot_callout_2_phone.svg') no-repeat center center / contain;
}

#works_view_c section.subfooter div.subfooter_right div.icons div:nth-child(3) {
	background: transparent url('/img/works/bot_callout_3_mail.svg') no-repeat right center / contain;
}

body .fancybox-is-open .fancybox-bg {
	background: #fff;
	opacity: 0.97;
}

@media (min-width: 768px) {
	#works_view_c header {
		background-position: center 0;
	}

	#works_view_c section.detail {
		padding: 100px 0;
	}

	#works_view_c section.detail div.arrow_down {
		border-bottom: none;
		border-left: 20px solid transparent;
		border-right: 20px solid transparent;
		border-top: 20px solid #fff;
		bottom: -20px;
		display: block;
		height: 0;
		left: 50%;
		margin-left: -20px;
		position: absolute;
		width: 0;
		z-index: 99;
	}

	#works_view_c section.detail div.max_width_c {
		margin: 0 auto;
		max-width: 1000px;
	}

	#works_view_c section.detail a.cta {
		font-size: 1.4rem;
		line-height: 1.8;
		top: 0;
	}

	#works_view_c section.detail a.link {
		font-size: 3.6em;
	}

	#works_view_c section.detail div.images a.image {
		left: 0;
		position: relative;
		top: 0;
		transition: all 0.1s ease;
	}

	#works_view_c section.detail div.images a.image:first-child,
	#works_view_c section.detail div.images.num_images_2 a.image:nth-child(2) {
		flex-basis: 50%;
		height: 500px;
		width: 50%;
	}

	#works_view_c section.detail div.images.num_images_1 a.image:first-child {
		flex-basis: 100%;
		width: 100%;
	}

	#works_view_c section.detail div.images.num_images_3,
	#works_view_c section.detail div.images.num_images_4,
	#works_view_c section.detail div.images.num_images_5 {
		flex-direction: column;
		height: 605px;
	}

	#works_view_c section.detail div.images.num_images_3 a.image:nth-child(1),
	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(1),
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(1) {
		flex-basis: 100%;
	}

	#works_view_c section.detail div.images.num_images_3 a.image:nth-child(2),
	#works_view_c section.detail div.images.num_images_3 a.image:nth-child(3) {
		flex-basis: 50%;
		height: 250px;
		width: 50%;
	}

	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(2) {
		flex-basis: 100%;
		height: 500px;
		width: 25%;
	}

	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(3),
	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(4) {
		flex-basis: 50%;
		height: 250px;
		width: 25%;
	}

	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(2),
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(3),
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(4),
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(5) {
		flex-basis: 50%;
		height: 250px;
		width: 25%;
	}

	#works_view_c section.detail div.images:hover div.image {
		opacity: 0.5;
	}

	#works_view_c section.detail div.images a.image:nth-child(1) {
		z-index: 5;
	}

	#works_view_c section.detail div.images.num_images_2 a.image:nth-child(2) {
		z-index: 4;
	}

	#works_view_c section.detail div.images.num_images_3 a.image:nth-child(2) {
		z-index: 3;
	}

	#works_view_c section.detail div.images.num_images_3 a.image:nth-child(3) {
		z-index: 4;
	}

	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(2) {
		z-index: 3;
	}

	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(3) {
		z-index: 1;
	}

	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(4) {
		z-index: 2;
	}

	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(2) {
		z-index: 2;
	}

	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(3) {
		z-index: 3;
	}

	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(4) {
		z-index: 1;
	}

	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(5) {
		z-index: 2;
	}

	#works_view_c section.detail div.images a.image::after {
		background-color: #191615;
		bottom: 0;
		content: '';
		height: 0;
		left: 0;
		position: absolute;
		transform: skew(-45deg);
		transform-origin: top;
		transition: all 0.1s ease;
		width: 251px;
	}

	#works_view_c section.detail div.images a.image::before {
		background-color: #342926;
		content: '';
		height: 251px;
		left: 0;
		position: absolute;
		top: 0;
		transform: skewY(-44deg);
		transform-origin: top;
		transition: all 0.1s ease;
		width: 0;
	}

	#works_view_c section.detail div.images:hover a.image:hover {
		left: 10px;
		opacity: 1.0;
		top: -10px;
	}

	#works_view_c section.detail div.images:hover a.image:hover::after {
		bottom: -10px;
		height: 10px;
	}

	#works_view_c section.detail div.images:hover a.image:hover::before {
		left: -10px;
		top: 5px;
		width: 10px;
	}

	#works_view_c section.detail div.images a.image::after {
		background-color: #191615;
		bottom: 0;
		content: '';
		height: 0;
		left: 0;
		position: absolute;
		transform: skew(-45deg);
		transform-origin: top;
		transition: all 0.1s ease;
	}

	#works_view_c section.detail div.images a.image::before {
		background-color: #342926;
		content: '';
		left: 0;
		position: absolute;
		top: 0;
		transform: skewY(-44deg);
		transform-origin: top;
		transition: all 0.1s ease;
		width: 0;
	}

	#works_view_c section.detail div.images a.image:first-child::after,
	#works_view_c section.detail div.images.num_images_2 a.image:nth-child(2)::after {
		width: 501px;
	}

	#works_view_c section.detail div.images a.image:first-child::before,
	#works_view_c section.detail div.images.num_images_2 a.image:nth-child(2)::before {
		height: 501px;
	}

	#works_view_c section.detail div.images.num_images_1 a.image:first-child::after {
		width: 1001px;
	}

	#works_view_c section.detail div.images.num_images_1 a.image:first-child::before {
		height: 501px;
	}

	#works_view_c section.detail div.images.num_images_3 a.image:nth-child(1)::after,
	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(1)::after,
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(1)::after {
		width: 501px;
	}

	#works_view_c section.detail div.images.num_images_3 a.image:nth-child(1)::before,
	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(1)::before,
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(1)::before {
		height: 501px;
	}

	#works_view_c section.detail div.images.num_images_3 a.image:nth-child(2)::after,
	#works_view_c section.detail div.images.num_images_3 a.image:nth-child(3)::after {
		width: 501px;
	}

	#works_view_c section.detail div.images.num_images_3 a.image:nth-child(2)::before,
	#works_view_c section.detail div.images.num_images_3 a.image:nth-child(3)::before {
		height: 251px;
	}

	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(2)::after {
		width: 251px;
	}

	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(2)::before {
		height: 501px;
	}

	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(3)::after,
	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(4)::after,
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(2)::after,
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(3)::after,
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(4)::after,
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(5)::after {
		width: 251px;
	}

	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(3)::before,
	#works_view_c section.detail div.images.num_images_4 a.image:nth-child(4)::before,
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(2)::before,
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(3)::before,
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(4)::before,
	#works_view_c section.detail div.images.num_images_5 a.image:nth-child(5)::before{
		height: 251px;
	}

	#works_view_c section.detail div.awards_c {
		margin: 0 0 45px 0;
	}

	#works_view_c section.detail div.awards_c div.award div.star {
		height: 85px;
		padding: 15px 0 0 15px;
		width: 85px;
	}

	#works_view_c section.detail div.awards_c div.award div.star i {
		color: #fff;
		font-size: 2.2rem;
	}

	#works_view_c section.detail div.awards_c div.award div.info_c {
		padding: 0 10px;
	}

	#works_view_c section.detail div.awards_c div.award div.info_c div.title {
		font-size: 1.4rem;
		line-height: 1.5;
	}

	#works_view_c section.detail div.awards_c div.award div.info_c div.kind {
		font-size: 2.4rem;
		line-height: 1.5;
	}

	#works_view_c section.detail div.tags {
		margin: 30px 0 0 0;
	}

	#works_view_c section.subfooter div.subfooter_left_c div {
		background: transparent url('/img/works/bot_callout_bg.jpg') no-repeat center top 20% / cover;
	}
}
