:root {
	--green: #424F48;
	--cream: #EBE1D2;
	--black: #231A15;
	--blue: #DAEAE6;
	--white: #FFFFFF;
	--white07: rgba(255,255,255,0.7);
	--border-green: #174239;


	--main: 400 1rem/150% 'Manrope';
	--main-sbold: 600 1rem/150% 'Manrope';
	--main-bold: 700 1rem/150% 'Manrope';
	--p20: 400 0.8rem/150% 'Manrope';
	--p36: 400 1.5rem/110% 'Manrope';

	--h2: 500 2rem/120% "Playfair Display";
	--h3: 500 1.5rem/120% "Playfair Display";
	--title: 500 3rem/100% "Playfair Display";
}


body, html
{
	padding: 0;
	margin: 0;
	min-height: 100vh;
	background: var(--green);
	font-family: "Manrope";
	color: var(--white);
}

body.omenu
{
	overflow: hidden;
}

a{
	text-decoration: none;
}

h2 {
	font: var(--h2);
	text-transform: uppercase;
}


header
{
	padding: 20px 6.25rem;
}

header .header-super-top
{
	display: flex;
	width: 100%;
	justify-content: center;
}

header .header-top
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0;
}

header .header-top .social
{
	display: flex;
	justify-content: flex-start;
	gap: 20px;
}

header .header-top .social a
{
	color: var(--cream);
	font-size: 40px;

}

header .title
{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	color: var(--cream);
}

header .title span
{
	font: var(--main);
}

header .title .big
{
	font: var(--title);
}

.button
{
	display: block;
	padding: 1rem 1.8rem;
	font: var(--main-sbold);
	color: var(--black) !important;
	background: var(--blue);
	border-radius: 2rem;
	border: none;
}

button.button
{
	background: var(--cream);
}

.menu
{
	display: flex;
	width: 100%;
	justify-content: center;
	gap: 4rem;
	margin-top: 1.7rem;
}

.menu a
{
	color: var(--cream);
	font: var(--main);
}

.block
{
	padding-left: 6.25rem;
	padding-right: 6.25rem;
}

footer .footer-top
{
	padding: 5rem 6.25rem;
	border-bottom: 1px solid var(--border-green);
	display: flex;
	justify-content: space-between;
	gap: 5.8rem;
}

footer .footer-bottom
{
	padding: 2.05rem 6.25rem;
	display: flex;
	justify-content: space-between;
	gap: 5.8rem;
	color: var(--white);
	opacity: 0.5;
}

footer .footer-bottom a
{
	color: var(--white);
}

footer form h2
{
	margin: 0;
	color: var(--cream);
}

footer form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.6rem;
	width: 40%;
}

footer form .fields{
	width: 100%;
	padding-top: 0.45rem;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.contacts-picture
{
	display: block;
	position: relative;
	width: 30%;
	padding-top: 41.5%;
}

.contacts-picture div
{
	background: url('/images/contacts.png') center center no-repeat;
	background-size: cover;
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	bottom: 0;
}

/*.contacts-picture:before
{
	z-index: 1;
	content: "";
	display: block;
	position: absolute;
	left: -1.5rem;
	top: -1.5rem;
	width: 100%;
	bottom: 1.5rem;
	background: var(--border-green);
}*/

.contacts 
{
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding-top: 6.8rem;
}

.contacts a
{
	font: var(--main);
	color: var(--white);
}

.contacts .f-social a
{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.8rem;
	text-transform: uppercase;
}

.contacts .f-social a i
{
	color: var(--cream);
	font-size: 1.8rem;
}

.contacts > div
{
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

input[type=text], textarea
{
	-webkit-appearance:none;
	background: transparent;
	border: 1px solid var(--white07);
	padding: 0.6rem 0.8rem;
	font: var(--main);
	color: var(--cream);
	margin: 0;
	display: block;
	width: 100%;
	box-sizing: border-box;
}

textarea
{
	height: 7.5rem;
}

.main-image
{
	display: block;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	padding-top: 56.25%;
}

.about
{
	padding: 5rem 6.25rem;
	display: flex;
	justify-content: space-between;
	gap: 14.7rem;
}

.concurs
{
	padding: 4rem 6.25rem 2.2rem;
	display: block;
	background: var(--cream);
	color: var(--green);
}

.concurs-list
{
	display: flex;
	position: relative;
	justify-content: flex-start;
	gap: 4rem;
	width: 100vw;
	margin: 0 -6.25rem;
	padding: 0 6.25rem;
	overflow: auto;
	box-sizing: border-box;
}

.concurs-wrapper
{
	display: block;
	position: relative;
	margin-top: 2.5rem;
}

.concurs-wrapper:before
{
	content: "";
	position: absolute;
	left: -6.25rem;
	right: -6.25rem;
	top: 3.76rem;
	height: 1px;
	z-index: 1;
	background: var(--green);
}

.concurs-block
{
	z-index: 2;
	position: relative;
	flex: none;
	width: 16.7rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.concurs-block .cb-year
{
	font: var(--p36);
}

.concurs-block .cb-round
{
	display: block;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	border: 4px solid var(--green);
	box-sizing: border-box;
	background: var(--cream);
}

.cb-item span
{
	opacity: 0.5;
	display: block;
}

.media
{
	padding: 2.05rem 6.25rem 5rem;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-row-gap: 2.9rem;
	grid-column-gap: 5.8rem;
	background: var(--blue);
}

.media h2
{
	color: var(--green);
}

.row2
{
	grid-row: span 2;
}

.linktitle
{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.linktitle a
{
	text-transform: uppercase;
	display: flex;
	align-items: center;
	color: var(--green);
}

.linktitle a span
{
	border-bottom: 1.5px solid var(--green);
	font-weight: 500;
}

.linktitle a:after
{
	font-family: "icomoon";
	content: "\e900";
	font-size: 1.2em;
}

.afisha, .static-content
{
	padding: 2.05rem 6.25rem 4rem;
	display: block;
	background: var(--cream);
}

.static-content 
{
	color: var(--green);
}

.afisha h2
{
	color: var(--green);
}

.calendar
{
	display: block;
	width: 22.5rem;
	padding: 2.5rem 1.6rem;
	background: var(--white);
	color: var(--black);
}

.calendar-top
{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.calendar-top .month
{
	font: var(--h2);
}

.calendar-top .c-buttons
{
	display: flex;
	justify-content: flex-end;
	gap: 0.7rem;
}

.calendar-top .c-buttons a
{
	color: var(--black);
}

.calendar .dates
{
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-column-gap: 0.6rem;
	margin-top: 1.7rem;
}

.calendar .dates div
{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	position: relative;
}

.calendar .dates div.prev
{
	opacity: 0.5;
}

.calendar .dates div.h-event
{
	cursor: pointer;
}

.calendar .dates div.h-event:after
{
	width: 0.25rem;
	height: 0.25rem;
	background: var(--green);
	border-radius: 50%;
	content: "";
	position: absolute;
	bottom: 1px;
	left: 50%;
	margin-left: -0.125rem;
}

.calendar .dates div.current
{
	border: 1px solid var(--green);
	border-radius: 50%;
}

.afisha-block
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.afisha-block>div:nth-child(2)
{
	display: flex;
	justify-content: flex-end;
}

.afisha-item
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.afisha-item .ai-info
{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	padding: 1.7rem 0 1.7rem 1rem;
	color: var(--green);
}

.afisha-item .ai-info a
{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 0.2rem;
	color: var(--green);
}

.afisha-item .ai-info a span
{
	font: var(--main-bold);
	border-bottom: 1px solid var(--green);
}

.afisha-item .ai-info a i
{
	font-size: 1.7rem;
}

.afisha-item .ai-desc
{
	padding-top: 1.15rem;
	font: var(--p20);
}

.afisha-item .ai-info h3
{
	margin: 0;
	font: var(--h3);
}

.afisha-item .ai-info .role
{
	color: rgba(18, 18, 18, 0.5);
}

.afisha-item .ai-image
{
	padding-top: 111%;
	background-size: cover;
	background-position: center;
	position: relative;
}

.afisha-item .ai-image span
{
	display: block;
	position: absolute;
	font: var(--main-sbold);
}

.afisha-item .ai-image span.zhanr
{
	left: 7%;
	top: 5%;
}

.afisha-item .ai-image span.ai-date
{
	bottom: 5%;
	right: 7%;
}

.video-block
{
	display: block;
	position: relative;
	padding-top: 66%;
	background-size: cover;
	background-position: center;
}

.video-block>div
{
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 100%);
	padding: 1.7rem 2rem;
	color: var(--white);
	font: var(--h3);
	box-sizing: border-box;
}

.video-block>div:after
{
	position: absolute;
	content: "\e908";
	font-family: icomoon;
	color: var(--white);
	border: 1px solid var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	font-size: 1rem;
	left: 50%;
	margin-left: -1.75rem;
	top: 50%;
	margin-top: -1.75rem;
	border-radius: 50%;
}

.audio-list
{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	background: rgba(252, 252, 251, 0.5);
	padding: 1.7rem;
	box-sizing: border-box;
	width: 100%;
}

.audio-list > a 
{
	display: grid;
	grid-template-columns: 3.5rem 1fr 1.5rem 1.5rem;
	gap: 0.8rem;
	padding: 1.7rem 0;
	box-sizing: border-box;
	color: var(--green);
	font: var(--p20);
	border-bottom: 1px solid rgba(18, 18, 18, 0.3);
}

.audio-list > a:last-child
{
	border: none;
}

.audio-list > a span
{
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.audio-list > a div
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.audio-list > a div i
{
	display: none;
}

.audio-list > a.playnow div i
{
	display: block;
}

.audio-list > a:before
{
	content: "\e908";
	font-family: icomoon;
	color: var(--green);
	border: 1px solid var(--green);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	font-size: 1rem;
	border-radius: 50%;
}

.afisha-list, .video-list
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 2rem;
}

.col2
{
	grid-column: span 2;
}

.mob-menu
{
	display: none;
}

.main-gallery
{
	display: grid;
	grid-template-rows: max-content 1fr;
}

.gallery-block
{
	display: grid;
	grid-template-rows: 1fr max-content;
	grid-gap: 15px;
}

.gallery-block .images 
{
	position: relative;
	padding-top: 140%;
}

.gallery-block .images>div
{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	width: 100%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0;
	transition: all 0.3s ease;
}

.gallery-block .images>div.current
{
	opacity: 1;
	z-index: 2;
}

.gallery-block .counter
{
	display: flex;
	justify-content: flex-end;
	gap: 1.67rem;
}

.gallery-block .counter span
{
	position: relative;
	font: var(--title);
	color: var(--black);
	font-size: 3.3rem;
	font-weight: 400;
	position: relative;
}

.gallery-block .counter span sup
{
	position: relative;
	font: var(--h3);
	margin-top: 0.5rem;
	margin-left: 0.5rem;
}

.gallery-block .counter div
{
	display: flex;
	justify-content: flex-start;
	gap: 0.83rem;
}

.gallery-block .counter div a
{
	color: var(--black);
	width: 3.3rem;
	height: 3.3rem;
	border-radius: 50%;
	border: 1px solid var(--black);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
}

.album-list
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 3.3rem;
}

.album-list a
{
	display: block;
	color: var(--black);
	font: var(--main);
}

.album-list a .album-cover
{
	display: block;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	padding-top: 130%;
}

.fancylist
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1.65rem;
}

.fancylist a
{
	display: block;
	padding-top: 130%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;

}

.family-list
{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 3rem;
	margin-top: 5rem;
}

.family-item
{
	display: grid;
	grid-template-columns: 1fr 3fr;
	grid-gap: 3rem;
}

.family-item h2
{
	margin-top: 0;
}

.fi-image
{
	display: block;
	padding-top: 130%;
	background-size: cover;
	background-position: center;
}

.smi-item
{
	display: block;
	padding: 1rem 0;
}

.smi-item>a
{
	display: block;
	color: var(--green);
	font: var(--p36);
}

.smi-item>a>span
{
	display: block;
	color: var(--black);
	font: var(--p20);
}

.smi-item .smi-gallery
{
	display: none;
}

.grad
{
	position: absolute;
	top: 60%;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
	z-index: 0;
}

@media all and (min-width: 1601px)
{
	body, html {
		font-size: 22px;
	}
}

@media all and (max-width: 1600px)
{
	body, html
	{
		font-size: 18px;
	}
}

@media all and (min-width: 800px)
{
	.ms
	{
		display: none;
	}
	.social a, .button, .f-social a
	{
		transition: all 0.3s ease;
	}
	.social a:hover
	{
		transform: scale(1.2);
	}
	.button:hover, .f-social a:hover
	{
		transform: scale(1.05);
	}
	.menu a
	{
		border-bottom: 1px solid transparent;
	}
	.menu a:hover
	{
		/*color: var(--white);
		text-decoration: underline;*/
		border-bottom: 1px solid var(--cream);
	}
	.about h2
	{
		margin-top: 0.8rem;
	}
	.linktitle a:hover span, .afisha-item .ai-info a:hover span
	{
		border-color: transparent;
	}
	.contacts>div:first-child a
	{
		border-bottom: 1px solid transparent;
	}
	.contacts>div:first-child a:hover
	{
		border-bottom: 1px solid var(--white);
	}

}

@media all and (max-width: 800px)
{

	:root
	{
		--h2: 500 1.6rem/120% "Playfair Display";
	}

	.col2
	{
		grid-column: span 1;
	}

	body, html
	{
		font-size: 16px;
	}

	.mob-menu
	{
		flex: none;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 56px;
		height: 56px;
		border-radius: 50%;
		border: 2px solid var(--white);
		color: var(--white);
	}

	.mob-menu i
	{
		font-size: 34px;
	}

	header .header-top .social, 
	header .header-top .button
	{
		display: none;
	}

	header
	{
		padding: 20px 1rem;
	}

	header .header-top
	{
		justify-content: space-between;
		align-items: flex-start;
	}

	header .header-super-top
	{
		justify-content: flex-start;
	}

	header .title
	{
		text-align: left;
	}

	.about
	{
		padding: 2rem 1rem;
		flex-direction: column;
		gap: 2rem;
	}

	.about h2, .about p
	{
		margin: 0;
	}

	.concurs
	{
		padding: 2rem 1rem 0.9rem
	}

	.concurs-list
	{
		margin: 0 -1rem;
		padding: 0 1rem;
		gap: 2rem;
	}

	.concurs-wrapper:before
	{
		left: -1rem;
		right: -1rem;
	}

	.media
	{
		padding: 2rem 1rem;
		grid-template-columns: 1fr;
	}

	.afisha, .static-content
	{
		padding: 2rem 1rem;
	}

	footer .footer-top
	{
		padding: 2rem 1rem;
		flex-direction: column-reverse;
		gap: 2.9rem;
	}


	footer .footer-top>*
	{
		width: 100%;
	}

	footer .footer-top .contacts-picture
	{
		display: none;
	}

	.contacts
	{
		padding-top: 0;
	}

	footer .footer-bottom
	{
		padding: 2rem 1rem;
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}

	.menu
	{
		display: none;
	}

	.menu
	{
		position: fixed;
		width: 100vw;
		height: calc(100vh - 7rem);
		top: 9rem;
		background: var(--green);
		flex-direction: column;
		align-items: center;
		gap: 1.5rem;
		left: 0;
		margin-top: 0;
		z-index: 5;
	}

	.omenu .menu
	{
		display: flex;
	}

	.omenu .menu .social
	{
		width: 90%;
		justify-content: space-between;
		gap: 10px;
		display: flex;
		align-items: center;
		border-top: 2px solid var(--border-green);
		padding-top: 1rem;
	}

	.concurs-wrapper
	{
		padding-bottom: 2rem;
	}

	.omenu .menu .social a
	{
		font-size: 42px;

	}

	.concurs-block
	{
		width: 13rem;
	}

	.afisha-block, .afisha-list, .video-list
	{
		grid-template-columns: 1fr;
		grid-gap: 2rem;
	}

	.calendar
	{
		width: 100%;
	}

	.gallery-block .images
	{
		/*height: 60vh;*/
		height: initial;
		aspect-ratio: 3/4;
	}

	.album-list, .fancylist
	{
		grid-template-columns: repeat(2, 1fr);
	}

	.family-item
	{
		display: grid;
		grid-template-columns: 1fr;
		grid-gap: 3rem;
	}
}