main{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: hidden;
}
.hide-fs main{overflow-y: auto;}
.hide-fs .aside-wrap{display:block!important;}
.radio-switch{
	margin: 15px 0;
	display: inline-block;
	font-size: 0;
}
.aside-form .radio-switch{margin: 5px 0;}
.radio-switch .label{
	position: relative;
	padding-left: 15px;
	cursor: pointer;
	vertical-align: middle;
	color: #141414;
	height: 40px;
	line-height: 40px;
	white-space: nowrap;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.07em;
	display: inline-block;
}
.radio-switch:first-child{margin-top: 0;}
.radio-switch:last-child{margin-bottom: 0;}

.switch-white.radio-switch .label{color: #ffffff;font-size: 16px;}

.radio-switch .icon{
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #141414;
	display: block;
	position: relative;
	top: 0;
	left: 0;
	z-index: 10;
	font-size: 20px;
	transition: -webkit-transform 0.4s cubic-bezier(0.75, 0.28, 0.42, 0.93);
	transition: transform 0.4s cubic-bezier(0.75, 0.28, 0.42, 0.93);
	transition: transform 0.4s cubic-bezier(0.75, 0.28, 0.42, 0.93), -webkit-transform 0.4s cubic-bezier(0.75, 0.28, 0.42, 0.93);
}
.radio-switch .icon:before{
	z-index: 11;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.icon.market:before{
	background-image: url("../images/market.svg");
}
.switch-white .icon.market:before{
	background-image: url("../images/market-white.svg");
}
.icon.web:before{
	background-image: url("../images/web.svg");
}
.switch-white .icon.web:before{
	background-image: url("../images/web-white.svg");
}
.icon.brand:before{
	background-image: url("../images/brand.svg");
}
.switch-white .icon.brand:before{
	background-image: url("../images/brand-white.svg");
}

.aside-content,
.aside-form{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 50px;
	-webkit-transition: all .4s ease-out;
	transition: all .4s ease-out;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
	opacity: 0;
	-webkit-overflow-scrolling: touch;
	overflow-scrolling: touch;
}
.aside-content.active{
	-webkit-transition-delay: .4s;
	transition-delay: .4s;
	-webkit-transform: translateX(0);
	transform: translateX(0);
	opacity: 1;
}
.hide-fs .first-slide{
	-webkit-transition: opacity .7s ease-out;
	transition: opacity .7s ease-out;
	opacity: 0;
}
.hide-fs .first-slide{
	-webkit-transition: opacity .7s ease-out;
	transition: opacity .7s ease-out;
	opacity: 0;
}
.aside-close{
	position: absolute;
	right: 10px;
	top: 20px;
	border: 0;
	-webkit-transition: all .2s ease-out;
	transition: all .2s ease-out;
	cursor: pointer;
	outline: none;
	z-index: 50;
	background: none;
	font-size: 40px;
	height: 30px;
	font-weight: 300;
	line-height: 30px;
	color: #f5f5f5;
	opacity: .7;
}
.form-opened .aside-close{color: #000000;}
.aside-close:hover{opacity: 1;}
.radio-group{margin-bottom: 30px;}
.aside-form{
	z-index: 40;
	background-color: #fafafa;
	color: #141414;
	opacity: 1;
}
.form-opened .aside-content{
	opacity: 0;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}
.form-opened .aside-form{
	-webkit-transition-delay: .35s;
	transition-delay: .35s;
	-webkit-transform: translateX(0);
	transform: translateX(0);
	opacity: 1;
}
.form-note{margin-bottom: 20px;}
.portfolio-block-title + .border-link{margin-top: 35px;}
.portfolio-block .portfolio-block-title{display: block;}
.portfolio-block .portfolio-block-title + .portfolio-block-title{margin-top: 30px;}
.portfolio-block h3{line-height: 1;}

.success-message{
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 900;
	width: 100%;
	max-width: 400px;
	padding: 50px;
	background-color: #141414;
	color: #ffffff;
	font-size: 16px;
	-webkit-transition: all .45s cubic-bezier(.7,.14,.45,.96);
	transition: all .45s cubic-bezier(.7,.14,.45,.96);
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
}
.success-message.active{
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
.success-close{
	position: absolute;
	right: 20px;
	top: 20px;
	font-size: 30px;
	color: #ffffff;
	outline: none;
	background: none;
	border: 0;
	opacity: .7;
	line-height: 30px;
	cursor: pointer;
	-webkit-transition: all .2s ease-out;
	transition: all .2s ease-out;
}
.success-close:hover,.success-close:active{opacity: 1;}
.image-border{border: 1px solid #F0F0F0;}

.border-link-icon{margin-left: 52px;}
.icon-wrap{
	position: absolute;
	left: -52px;
	top: 50%;
	margin-top: -32px;
	display: inline-block;
	vertical-align: middle;
	width: 53px;
	height: 53px;
	border-radius: 100%;
	background: transparent url('../images/checkbox.svg') 0 50% no-repeat;
	background-size: cover;
	margin-right: 5px;
}
.border-link-icon .icon-wrap + .label{padding-left: 10px;}
.icon-wrap .icon{
	width: 40px;
	height: 40px;
	border-radius: 100%;
	background: #141414;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	border-radius: 100%;
	z-index: 10;
}
.icon-wrap .icon:before{
	 z-index: 11;
	 content: "";
	 position: absolute;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 background-size: contain;
	background-image: url('../images/pdf.svg');
	 background-repeat: no-repeat;
	 background-position: 50% 50%;
 }
.border-link-icon.border-link:before,
.border-link-icon.border-link:after{width: auto;right: 0;left: 10px;}


span.label{display: inline-block;vertical-align: middle;}
.fs-block{cursor: default;}

.greeting{
	padding-top: 40px;
	max-width: 1260px;
	margin: 0 auto;
}
.greeting-top{
	font-size: 24px;
	letter-spacing: 0.4em;
	font-weight: 800;
	max-width: 1125px;
	margin-bottom: 20px;
	text-align: right;
	text-transform: uppercase;
}
.greeting-top span{font-weight: 700;font-size: 260px;line-height: 50px;}
.greeting-text{
	font-weight: 700;
	letter-spacing: 0;
	font-size: 100px;
	line-height: .9;
	margin-bottom: 50px;
}
.greeting-info{text-transform: uppercase;letter-spacing: 0.07em;font-weight: 800;}
.greeting-info .border-link{font-size: inherit;}
.greeting-info .greeting-adress{margin-left: 40px;}
.anchor-link.border-link:before,
.anchor-link.border-link:after{background-color: transparent;border-bottom: 1px dashed #141414;}
.info-section{
	margin: 170px 0 150px;
	overflow: hidden;
	background: transparent url('../images/info-bck.svg') -100px 0 repeat;
	background-size: auto 565px;
	padding: 70px 0;
}
.info-section-bck{
	padding: 60px;
	background-color: #ffffff;
	max-width: 1260px;
	margin: 0 auto;
}
.info-section-content{
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding-left: 135px;
	font-size: 18px;
	line-height: 1.5;
}
.info-section-logo{
	position: absolute;
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	line-height: 1.3;
	left: 0;
	top: 0;
}
.info-section-top-text{
	margin-bottom: 20px;
	font-weight: 700;
}
.info-section-bottom-text{
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 800;
	position: relative;
	letter-spacing: 0.2em;
	margin-top: 45px;
	padding-top: 50px;
	border-top: 2px solid #141414;
}
.info-section-bottom-text:before,.section-form:before{
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 100%;
	height: 2px;
	background-color: #141414;
}
.schedule-section{margin-bottom: 200px;}
.schedule-section-content{max-width: 1260px;margin: 0 auto;}
.schedule-row + .schedule-row{margin-top: 150px;}
.schedule-row{position: relative;max-width: 1135px;}
.schedule-row:before{
	content: '';
	position: absolute;
	height: 6px;
	right: 100%;
	width: 3000px;
	top: 8px;
	margin-right: -11px;
	border-top: 2px solid #141414;
	border-bottom: 2px solid #141414;
}
.schedule-row-header{
	position: relative;
	padding-left: 130px;
	line-height: 1.1;
}
.schedule-time{
	position: absolute;
	left: 0;
	top: 0;
	width: 100px;
	text-align: right;
	font-size: 24px;
	letter-spacing: 0.2em;
	font-weight: 800;
}
.schedule-row-title{
	font-size: 24px;
	letter-spacing: 0.2em;
	font-weight: 800;
	text-transform: uppercase;
}
.schedule-row-title-caption{
	margin-top: 10px;
	font-size: 20px;
	font-weight: 700;
}
.schedule-row-quote-text{
	position: relative;
	margin-top: 65px;
	padding: 0 130px;
	font-size: 18px;
	letter-spacing: 0.02em;
	line-height: 1.5;
}
.schedule-row-quote-text:before,
.schedule-row-quote-text:after{
	content: '';
	position: absolute;
	width: 55px;
	height: 38px;
	background: transparent url('../images/quotes.png') 50% 50% no-repeat;
	background-size: contain;
	left: 40px;
	top: 0;
}
.schedule-row-quote-text:after{left: auto;top: auto;right: 40px;bottom: 0;}
.schedule-row-person{
	position: relative;
	margin-top: 30px;
	padding-left: 130px;
}
.schedule-row-person .person-img{
	position: absolute;
	left: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 100px;
	text-align: right;
}
.person-post{font-size: 16px;letter-spacing: 0.02em;}
.person-name{
	font-size: 18px;
	margin-top: 2px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 800;
}
.contacts-section-content{max-width: 1260px;margin: 0 auto;}
.map-adress{
	min-height: 270px;
	font-size: 16px;
	letter-spacing: 0.2em;
	font-weight: 800;
	text-transform: uppercase;
}
.map-contants-info .map-adress{min-height: 10px;}
.map-contants{margin-bottom: 30px;height: 540px;background-color: #efefef;}
.contacts-img{
	position: relative;
	background-color: transparent;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}
.contacts-img img{display: none;}
.contacts-img-small{height: 270px;}
.contacts-img-large{height: 500px;}
.map-contants-info{padding-top: 55px;max-width: 410px;}
.section-form{
	padding: 135px 0 70px;
	margin-top: 200px;
	position: relative;
	border-top: 2px solid #141414;
}
.section-form.form{margin-bottom: 0;}
.section-form.form:after{display: none;}
.section-form h2{
	font-size: 24px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1;
	margin-bottom: 45px;
	letter-spacing: 0.2em;
}
.guests-form{max-width: 1100px;margin-bottom: 0!important;}
.form-announce{
	max-width: 810px;
	margin-bottom: 50px;
	letter-spacing: 0.02em;
	font-size: 18px;
	line-height: 1.5;
}
.person-form-data{margin-bottom: 20px;}
.form-submit-wrap{margin-top: 55px;}
.form-submit-wrap .button{margin-top: 20px;}
.checkbox-default{position: relative;}
.checkbox-default input{position: absolute;left: 0;top: 0;opacity: 0;}
.checkbox-default label{
	position: relative;
	display: inline-block;
	padding-left: 20px;
	z-index: 5;
	color: #141414;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}
.checkbox-default a{
	color: #141414;
	border-bottom: 1px solid #141414;
	display: inline-block;
}
.checkbox-default a:hover,
.checkbox-default a:focus{border-color: transparent;}
.checkbox-default label:before{
	content: '';
	position: absolute;
	left: 0;
	top: 1px;
	width: 12px;
	height: 12px;
	border: 2px solid #141414;
	-webkit-transition: all .3s ease-out;
	transition: all .3s ease-out;
}
.checkbox-default label:hover:before{border-color: #5b5b5b;}
.checkbox-default input.error + label:before{border-color: red;}
.checkbox-default input:checked+label:before{background-color: #141414;}
.person-data-section + .person-data-section{margin-top: 40px;padding-top: 40px;border-top: 2px solid #141414;}
.heart-icon{display: inline-block;max-width: 15px;margin-left: 5px;width: 100%;}
.contacts-person{
	position: relative;
	padding-left: 75px;
	margin-top: 35px;
}
.map-contants-info .border-link{text-transform: none;}
.map-contants-info br+.border-link{margin-top: 10px;}
.contacts-person-img{
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -27px;
	width: 54px;
	height: 54px;
	background-color: #d9d9d9;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}
.portfolio-block .title{letter-spacing: 0.1em;}
.agima-logo{padding-bottom: 30px;}
.agima-logo a{margin: 0;max-width:120px;display: block;}
.agima-logo .adress{
	position: absolute;
	top: 50%;
	right: 100px;
	margin-top: -11px;
}

@keyframes line-width {
	0%   {
		width: 0;
	}
	100%{
		width: 100%;
	}
}
@media (max-width: 992px){
	.greeting-text{font-size: 60px;}
	.greeting-top span{font-size: 160px;}
	.info-section{margin: 100px 0;}
	.schedule-row + .schedule-row{margin-top: 100px;}
}
@media (max-width: 767px){
	.portfolio-block .row>div{display: block;width: auto;}
	.portfolio-block h3{line-height: 1.2;}
	.info-section-content{padding-left: 0;}
	.info-section-logo.visible-xs{display: inline!important;position: relative;}
	.greeting-top{font-size: 16px;}
	.greeting-top span{font-size: 70px;}
	.greeting-text{font-size: 24px;line-height: 1.2;}
	.greeting{padding-top: 0;}
	.greeting-info .greeting-adress{margin-left: 0;margin-top: 10px;display: block;}
	.info-section{margin: 50px 0;padding: 20px 0;}
	.info-section-bck{padding: 30px;}
	.info-section-content{font-size: 14px;}
	.info-section-bottom-text{margin-top: 25px;padding-top: 25px;font-size: 12px;}
	.section-form h2{font-size: 16px;line-height: 1.3;margin-bottom: 20px;}
	.section-form{padding: 30px 0;margin-top: 40px;}
	.contacts-img img{display: block;width: 100%;}
	.info-section-bck{margin-left: -10px;margin-right: -10px;}
	.schedule-row-header{padding-left: 0;padding-top: 40px;}
	.schedule-time{width: 100%;max-width: 220px;font-size: 20px;top: 2px;}
	.schedule-row:before{margin-right: -120px;}
	.schedule-row-title{font-size: 20px;}
	.schedule-row-title-caption{font-size: 16px;line-height: 1.2;}
	.schedule-row-quote-text{padding: 0 30px;margin-top: 20px;}
	.schedule-row-quote-text:before,
	.schedule-row-quote-text:after{width: 30px;height: 40px;}
	.schedule-row-quote-text:before{left: -10px;top: -5px;}
	.schedule-row-quote-text:after{right: -10px;bottom: -5px;}
	.schedule-row-quote-text{font-size: 13px;}
	.schedule-row-person .person-img{width: 55px;}
	.schedule-row-person{padding-left: 75px;}
	.person-post{font-size: 13px;}
	.person-name{font-size: 15px;}
	.schedule-row + .schedule-row{margin-top: 50px;}
	.schedule-section{margin-bottom: 50px;}
	.map-contants{height: 250px;margin-left: -20px;margin-right: -20px;}
	.map-adress{font-size: 12px;min-height: 50px;margin-bottom: 20px;}
	.contacts-img-small,.contacts-img-large{height: auto;margin: 10px -20px;}
	.map-contants-info{padding-top: 10px;}
	.contacts-person{margin-top: 20px;margin-bottom: 20px;}
	.form-announce{font-size: 13px;line-height: 1.3;margin-bottom: 25px;}
	.form-submit-wrap{margin-top: 35px;}
	.agima-logo .adress{
		position: relative;
		margin-top: 15px;
		top: 0;
		right: auto;
	}
}
@media (min-width: 520px){
	.portfolio-block+.portfolio-block{margin-top: 150px;}
	.fs-block.active:before{
		animation: line-width 6s;
		animation-timing-function: linear;
		animation-iteration-count: 1;
		backface-visibility: hidden;
	}
}
@media (max-width: 520px){
	.aside-content,.aside-form{padding: 40px 20px 40px 20px;}
	.aside-close{right: 0;top: 5px;}
	.fs-block .text{max-height: none;left: 30px;font-size: 12px;}
	.fs-block .title{padding: 0;font-size: 28px;margin-bottom: 10px;}
	.fs-block.active:before{display: none;}
	.icon-wrap{margin-top: -28px;}
	.agima-logo{padding-bottom: 60px;margin-top: -40px;}
	.radio-switch .label{font-size: 15px;}
}




/* Вторая вечеринка */
.greeting-text-p2{
	font-weight: 300;
	text-transform: uppercase;
	font-size: 40px;
	letter-spacing: 0.1em;
	margin-bottom: 90px;
}
.greeting-p2{
	font-weight: 800;
	font-size: 140px;
	line-height: 1.1;
	margin-bottom: 20px;
}
.greeting-image-p2{
	height: 160px;
	margin-bottom: 30px;
	background-size: auto 100%;
	background-position: 0 100%;
}
.no-padding{
	padding: 0;
}
.reg-link,
.info-section-content a{
	color: #141414;
	border-bottom: 1px solid #141414;
	position: relative;
	padding-bottom: 2px;
	transition: all 0.25s cubic-bezier(0.75, 0.28, 0.42, 0.93);
	backface-visibility: hidden;
}

.no-touchevents .reg-link:hover,
.reg-link:active,
.no-touchevents .info-section-content a:hover,
.info-section-content a:active{
	padding-bottom: 0;
}
.portfolio-block .image.b{border: 1px solid #e0e0e0;}

@media(max-width: 1200px){
	.greeting-p2{
		font-size: 120px;
	}
}
@media(max-width: 992px){
	.greeting-p2{
		font-size: 100px;
	}
	.greeting-text-p2{
		font-size: 35px;
		margin-bottom: 70px;
	}
	.greeting-image-p2{
		height: 120px;
		margin-bottom: 0;
	}
}
@media(max-width: 767px){
	.greeting-p2{
		font-size: 80px;
		margin-bottom: 10px;
	}
	.greeting-text-p2{
		font-size: 28px;
		margin-bottom: 50px;
	}
	.greeting-image-p2{
		height: 90px;
		margin-bottom: 30px;
	}

	.reg-link,
	.info-section-content a{
		padding-bottom: 0;
	}
	.no-touchevents .reg-link:hover,
	.reg-link:active,
	.no-touchevents .info-section-content a:hover,
	.info-section-content a:active{
		border-color: #aeaeae;
	}
}
@media (max-width: 520px){
	.greeting-p2{
		font-size: 60px;
		margin-bottom: 5px;
	}
	.greeting-text-p2{
		font-size: 24px;
		margin-bottom: 30px;
	}
	.greeting-image-p2{
		height: 70px;
		margin-bottom: 30px;
	}
}
@media (max-width: 420px){
	.greeting-p2{
		font-size: 50px;
		margin-bottom: 5px;
	}
	.greeting-text-p2{
		font-size: 18px;
	}
	.greeting-image-p2{
		height: 50px;
		margin-bottom: 20px;
	}
}
