.melon {
	font-family: 'Avenir Next Cyr', sans-serif;
}

.melon * {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.melon__company-logo {
	margin-bottom: 40px;
	text-align: center;
}

.melon__image {
	margin-top: 100px;
}

.melon--black {
	background: #282828;
	color: #ffffff;
}

.melon--black h2 {
	color: white;
}

.melon--white {
	background: #ffffff;
	color: #282828;
}

.melon--gray {
	background: #F7F7F7;
	color: #282828;
	padding-top: 400px;
}

.melon--client {
	position: relative;
}

.melon__wrapper--client .melon__wrapper-text {
	max-width: 760px;
	margin-left: auto;
	margin-right: 0;
}

.melon .melon__video {
	margin-top: 100px;
}

.melon--client::before {
	content: '';
	background: #323232;
	position: absolute;
	top: 0;
	left: 0;
	width: calc((100% - 1160px)/2 + 277px);
	height: 100%;
	display: block;
	z-index: 1;
}
.melon--black-reverse {
	position: relative;
	padding-bottom: 0;
}
.melon--black-reverse::before {
	content: '';
	background: #323232;
	position: absolute;
	top: 0;
	right: 0;
	width: 35%;
	height: 100%;
	display: block;
	z-index: 1;
}

.melon--image-bottom {
	position: relative;
	padding-bottom: 0;
}

.melon--image-bottom .melon__wrapper {
	padding-bottom: 0;
}

.melon--black-reverse .melon__wrapper {
	padding-bottom: 0;
}

.melon--image-bottom::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	display: block;
	width: 1656px;
	height: 421px;
	background: url(/case/assets/melon/img/staff.png) no-repeat center;
	background-size: cover;
	z-index: 5;
}
.melon__wrapper--client {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.melon__wrapper {
	max-width: 1240px;
	padding: 75px 27px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}
.melon__wrapper.melon__wrapper--nopad {
	padding-bottom: 0;
}
.melon__wrapper-text {
	max-width: 760px;
	margin: 0 auto;
}
.melon__wrapper-text h2 {
	text-align: center;
	font-size: 30px;
	line-height: 1.2;
	font-family: 'Avenir', sans-serif;
	margin-bottom: 0.9em;
}

.melon__wrapper-text p {
	font-size: 18px;
	line-height: 1.66;
	margin-bottom: 1em;
}

.melon video {
	display: block;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.melon__comment {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	max-width: 1160px;
	border: 8px solid rgba(255, 255, 255, 0.1);
	padding: 64px 0;
	margin-top: 110px;
}
.melon__comment--white {
	border: 8px solid rgba(196, 198, 200, 0.5);
}
.melon__author {
	width: 352px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.melon__wrapper-comment-text {
	max-width: 792px;
	padding-left: 40px;
	padding-right: 45px;
}

.melon__wrapper-comment-text p {
	font-size: 16px;
	line-height: 26px;
	margin-bottom: 28px;
}

.melon__name-author {
	font-size: 18px;
	text-transform: uppercase;
	margin-top: 30px;
	margin-bottom: 10px;
}

.melon__custom-video-block {
	padding-bottom: 75px;
	padding-left: 25px;
	padding-right: 25px;
}
.melon--video {
	padding-bottom: 200px;
}
.melon video.melon__video-bottom {
	position: absolute;
	bottom: -465px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

.link-to-client {
	margin-bottom: 70px;
}

.melon__avatar {
	width: 100px;
	height: 100px;
	display: inline-block;
	overflow: hidden;
	border-radius: 50%;
}
.melon__avatar img {
	max-width: 100%;
}
.header__portfolio-tags {
	margin-bottom: 30px;
}
.case__tags {
	color: #fff;
}
.melon__position-author {
	padding: 0 10px;
	text-align: center;
}
.melon-margin {
	margin-top: 60px;
}

.awwards-cases {
	background-color: #282828;
}
.awwards-cases__wrapper {
    max-width: 1100px;
    padding: 40px 20px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.awwards-cases__wrapper::before,
.awwards-cases__wrapper::after {
	content: '';
	display: block;
	width: 60px;
	height: 84px;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.awwards-cases__wrapper::before {
	background: url(/case/assets/default/img/oliv-list-left.png) no-repeat 50% 50%;
	left: 20px;
}
.awwards-cases__wrapper::after {
	background: url(/case/assets/default/img/oliv-list-right.png) no-repeat 50% 50%;
	right: 20px;
}
.awwards-cases__carousel {
	max-width: 790px;
	margin: auto;
}
.awwards-cases__carousel-item {
	width: 89px;
	height: 89px;
	margin-right: 45px;
}
.awwards-cases__carousel-item img {
	width: 100%;
	vertical-align: middle;
	-webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

@media (max-width: 1200px) {
	.awwards-cases__wrapper::before,
	.awwards-cases__wrapper::after {
		display: none;
	}

	.awwards-cases__carousel-item img {
		-webkit-filter: grayscale(0%);
	    filter: grayscale(0%);
	}

	.melon__wrapper--client {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		padding-bottom: 0;
	}
	.melon__wrapper--client .melon__wrapper-text {
		margin: 0 auto;
		margin-top: 50px;
	}

	.logo {
		margin-left: 0;
	}
	.melon__wrapper {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.melon--video {
		padding-bottom: 100px;
	}
	.melon--image-bottom::after {
		width: 100%;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
		left: 0;
	}
	.melon--client::before {
		width: 25.85vw;
	}
}
@media (max-width: 1024px) {
	.melon--client::before {
		width: 26.85vw;
	}
	.melon video {
		max-width: 100%;
		height: auto;
	}
}
@media (max-width: 767px) {
	.awwards-cases__wrapper {
		padding: 17px 0;
	}
	.awwards-cases__carousel {
		padding-left: 20px;
	}
	.awwards-cases__carousel-item {
		width: 80px;
		height: 80px;
		margin-right: 22px;
	}

	.melon__author, .melon__wrapper-text {
		width: 100%;
	}
	.melon__wrapper-comment-text {
		padding-left: 0;
		padding-right: 0;
	}
	.melon__author {
		margin-bottom: 30px;
	}
	.melon__comment {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		padding-left: 20px;
		padding-right: 20px;
	}
	.melon__custom-video-block {
		padding-bottom: 30px;
	}
	.melon--image-bottom::after {
		content: normal;
	}
	.melon--client::before {
		width: 25vw;
	}
	.melon__wrapper-text h2 {
		font-size: 24px;
		margin-bottom: 15px;
		text-align: left;
	}
	.melon__company-logo {
		margin-bottom: 20px;
		text-align: left;
		max-width: 130px;
	}
	.melon__wrapper-text p {
		font-size: 15px;
		line-height: 1.8;
	}
	.melon__image-wrap {
		width: calc(100% + 54px);
		margin-left: -27px;
	}
	.melon--video {
		padding-bottom: 0;
	}
	.melon video.melon__video-bottom {
		position: static;
		transform: none;
		margin-top: 40px;
	}
	.melon--gray {
		padding-top: 30px;
	}
	.header__portfolio-tags {
		margin-bottom: 0;
	}
	.melon__image {
		margin-top: 40px;
	}
}