/*
Theme Name: MTS
Theme URI: 
Author: Konstantin Lapushkin
Author URI: https://lapushkin.ru/
Description: Designed for MTS
Version: 3.3
*/


/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
}

a:hover,
a:focus {
	text-decoration-style: dashed;
}

a:active {
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 0;
	border: none;
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--medium);
	padding: calc(.667em + 2px) calc(1.333em + 2px);
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
	opacity: 0.90;
}

/*
 * Alignment styles.
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */

.wp-site-blocks,
body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
}

.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
	margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	width: unset;
}

/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
/* We also want to avoid stacking negative margins. */
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
	margin-left: auto !important;
	margin-right: auto !important;
	width: inherit;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: var(--wp--custom--spacing--outer);
	padding-bottom: var(--wp--custom--spacing--large);
	padding-right: var(--wp--custom--spacing--outer);
	padding-left: var(--wp--custom--spacing--outer);
}


/* *******************************************************************
                           MTS custom styles
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************/


* {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* cookies button color */
.lwpcngNotice-dark .lwpcngNotice_accept {
    color: var(--wp--preset--color--primary);
}

mark {
	background-color: rgba(0, 0, 0, 0);
}

h2::before {
	content: "/ ";
}

ul {
	list-style: '> ';
}

li {	
  	margin-block-start: 1em;
}

li::marker {	
  	color: var(--wp--preset--color--primary);
}

sup {
	color: var(--wp--preset--color--primary);
}

a {
	color: inherit;
	text-decoration-style: dashed;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	text-decoration-color: var(--wp--preset--color--primary);
}

a:hover {
	text-decoration-style: solid;
}

.is-style-mts-grey { 
	background-color: var(--wp--preset--color--tertiary);
	padding-top: 50px;
	padding-bottom: 50px;
}

.wp-block-group h2,
.wp-block-group h3,
.wp-block-group h4,
.wp-block-group h5,
.wp-block-group h6 {
	margin-block-start: 3em;
}

.wp-block-group h2 + h3, .wp-block-group h2 + h4, .wp-block-group h2 + h5, .wp-block-group h2 + h6, 
.wp-block-group h3 + h4, .wp-block-group h3 + h5, .wp-block-group h3 + h6,
.wp-block-group h4 + h5, .wp-block-group h3 + h6  { 
	margin-block-start: 1.5em;
}

.wp-block-post-content *:first-child {
	margin-block-start: 0;
}

.is-style-mts-grey h2:first-child, 
.is-style-mts-grey h3:first-child, 
.is-style-mts-grey h4:first-child, 
.is-style-mts-grey h5:first-child, 
.is-style-mts-grey h6:first-child { 
	margin-block-start: 0;
}


.is-style-mts-grey-round-shadow,
.is-style-mts-red-round-shadow { 
	border: 2px solid white;
	padding: 1em;
	border-radius: 10px;
	box-shadow: 0 0 30px rgba(0,0,0,0.3);
}


.is-style-mts-grey-round-shadow { 
	background-color: var(--wp--preset--color--tertiary);
}

.is-style-mts-red-round-shadow { 
	background-color: var(--wp--preset--color--primary);
}

.is-style-mts-red-round-shadow li::marker { 
	color: var(--wp--preset--color--background)  !important;
}

main .is-style-mts-red-round-shadow * {
	color: var(--wp--preset--color--background)  !important;
}

.is-style-mts-grey-circle-shadow {
	border: 2px solid white;
	padding: 1em;
	border-radius: 50%;
	width: 100px;
	height: 100px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
	background-color: var(--wp--preset--color--tertiary);
	position: relative;
}

.is-style-mts-grey-circle-shadow + .is-style-mts-grey-round-shadow,
.is-style-mts-grey-circle-shadow + .is-style-mts-red-round-shadow {
	margin-top: -50px;
	padding-top: 60px;
	padding-bottom: 2em;
	padding-left: 1em;
	padding-right: 1em;
	height: calc(100% - 60px);
}

p.is-style-mts-units-grey {
	margin-block-start: 0;
	color: var(--wp--preset--color--secondary);
}

/* врез */
.is-style-mts-emphasis {
	color: var(--wp--preset--color--primary);
	font-size: 1.2em;
	font-weight: 700;	
}

.is-style-mts-emphasis-small {
	color: var(--wp--preset--color--primary);
	font-weight: 700;	
}

.is-style-mts-bio-position {
	color: var(--wp--preset--color--secondary);
	font-weight: 700;	
}
.is-style-mts-bio-position + .is-style-mts-bio-position {
	margin-block-start: 0.5em;
}

.is-style-mts-bio-photo img { 
	border: 2px solid white;
	border-radius: 10px !important;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.is-style-mts-footnote { 
	font-size: 0.8em;
	color: var(--wp--preset--color--secondary);
}

.is-style-mts-footnote + .is-style-mts-footnote {
	margin-block-start: 0.5em;
}

.wp-block-group .is-style-mts-bold-list {
	font-size: 1.1em;
	font-weight: 700;
	margin-block-end: 4em;
}

.is-style-mts-quote,
.is-style-mts-quote-name {
	margin-left: 125px;
	font-weight: 700;
}

.is-style-mts-quote {	
	color: var(--wp--preset--color--secondary);
}

.is-style-mts-quote-name {
	color: var(--wp--preset--color--primary);
}

.is-style-mts-case-value {
	font-weight: 900;
	font-size: 0em;
	line-height: 1em;
	color: var(--wp--preset--color--primary);
}

.is-style-mts-case-value.element-show {
	transition: all 1s;
	font-size: 4em;
}


p.is-style-mts-case-unit {
	margin-block-start: 0;
	font-weight: 900;
	font-size: 1.5em;
	line-height: 1em;
	color: var(--wp--preset--color--primary);	
}

.is-style-mts-case-indicator {
	font-weight: 700;
	font-size: 1.3em;
	line-height: 1em;
}

.is-style-mts-case-percent {
	font-weight: 900;
	font-size: 3em;
	line-height: 1em;
	color: var(--wp--preset--color--secondary);	
}

p.is-style-mts-case-value-small {
	margin-block-start: 1em;
	font-weight: 900;
	font-size: 2em;
	line-height: 1em;
	color: var(--wp--preset--color--primary);	
}

p.is-style-mts-case-indicator-small {
	margin-block-start: 0.5em;
	margin-block-end: 1em;
	font-weight: 700;
	font-size: 1.1em;
}

.wp-block-table.is-style-mts-table {
	overflow-x: auto;
}

.wp-block-table.is-style-mts-table table {
	border-bottom: 1px solid var(--wp--preset--color--primary);
	border-top: 1px solid var(--wp--preset--color--primary);
	font-size: 0.9em;
	min-width: 599px;
    width: 100%;
    box-sizing: border-box;
	border-collapse: collapse;
    margin: 0 0 1em;
}

.wp-block-table.is-style-mts-table td,
.wp-block-table.is-style-mts-table th {
    border: none;
    padding: 0.5em;
}

.wp-block-table.is-style-mts-table td {
    vertical-align: middle;
}

.wp-block-table.is-style-mts-table table th,
.wp-block-table.is-style-mts-table table thead
{
    border-bottom: 1px solid var(--wp--preset--color--primary);
	text-align: left;
		vertical-align: bottom;
}

.wp-block-table.is-style-mts-table tbody tr:nth-child(odd) {
    background-color: var(--wp--preset--color--tertiary);
}

.wp-site-blocks .mts-full-page-wrapper {
	margin: 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--wp--preset--color--tertiary);
	overflow: hidden;	
}

/* header */

header {
	padding: 20px;
	position: relative;
	z-index: 4;	
}

.bordered-link {
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	padding-top: 5px;
	border: 2px solid white;
	text-align: center;
	vertical-align: middle;
	border-radius: 5px;
}

.bordered-link:hover {
	transform: scale(1.1, 1.1);
}

.download-menu button.wp-block-navigation__responsive-container-open.always-shown svg {
	display: none;
}

.desktop-only .download-menu button.wp-block-navigation__responsive-container-open.always-shown {	
	background-image: url('/wp-content/uploads/2022/09/icon-download.svg');
    background-size: 40px 40px;
	width: 40px;
	height: 40px;
}

.mobile-only .download-menu button.wp-block-navigation__responsive-container-open.always-shown {	
	background-image: url('/wp-content/uploads/2022/09/icon-download.svg');
   	background-size: 26px 26px;
	width: 26px;
	height: 26px;
}

.desktop-only .download-menu button.wp-block-navigation__responsive-container-open.always-shown:hover {
	transform: scale(1.1, 1.1);
}

.download-menu.rus .wp-block-navigation__submenu-container:before {	
	content: "Загрузить PDF";
	color: red;
	font-weight: 900;
	font-size: 2em;
}

.download-menu.eng .wp-block-navigation__submenu-container:before {	
	content: "PDF Download";
	color: red;
	font-weight: 900;
	font-size: 2em;
}

.download-menu .has-child > a.wp-block-navigation-item__content {
	color: red;
	font-weight: 900;
}

.download-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__label img {
	float: none;
	margin: 20px 20px 20px 0;
	vertical-align: middle;
}

.desktop-only .download-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__label img {
	float: none;
	margin: 20px 20px 20px 0;
	vertical-align: middle;
}

.mobile-only .download-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__label img {
	display: none;
}

.wp-block-navigation__responsive-container {
    padding: 25px !important;
}

/* footer */

footer {
	padding: 20px 20px 20px 20px;
	position: relative;
	z-index: 3;	
}

.mts-nav-buttons {
	border: 2px solid white;
	position: fixed;
	right: 20px;
	bottom: 20px;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	background-color: rgba(240, 240, 240, 0.5);	
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	padding: 14px;
	z-index: 500;
}

.mts-nav-buttons .mts-up-button a,
.mts-nav-buttons .mts-previous-button a,
.mts-nav-buttons .mts-next-button a {
	content: url("assets/images/arrow.svg");
	display: block;	
	width: 25px;
	height: 25px;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	background-color: rgba(255, 255, 255, 0.8);	
	padding: 5px;
}

.mts-nav-buttons .mts-previous-button a {
	transform: rotate(-90deg);
}

.mts-nav-buttons .mts-next-button a {
	transform: rotate(90deg);
}

.mts-nav-buttons .mts-up-button a:hover {
	transform: scale(1.2);
}

.mts-nav-buttons .mts-previous-button a:hover {
	transform: scale(1.2) rotate(-90deg);
}

.mts-nav-buttons .mts-next-button a:hover {
	transform: scale(1.2) rotate(90deg);
}

/* Аккордеон  */
details.wp-block-details.accordion {
	position: relative;
	display: block;
	border: solid 2px var(--wp--preset--color--tertiary);
	border-radius: 20px;
	transition: .4s;
	overflow: hidden;
}

details.wp-block-details.accordion[open] {
  padding-bottom: 180px;
}


details.wp-block-details.accordion summary {
	color: #333333;
    background-color: #ececed;
	min-height: 50px;
	box-sizing: border-box;
	margin-bottom: 0px;
    padding: 10px 25px;
	font-weight: 700;
	transition: .4s;
}


details.wp-block-details.accordion div {
	margin-top: 0;
	padding: 8px;
	margin-bottom: -180px;
}


/* конец аккордеон */

/* только для десктопа */
@media screen and (min-width: 761px)
{
	.mobile-only {
		display: none;	
	}
	.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container,
	.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container,
	.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container {
		min-width: 300px;
		box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
		border-radius: 10px;
		padding-bottom: 25px;
		background-color: rgba(245, 245, 245, 0.9);
		backdrop-filter: blur(5px);
		-webkit-backdrop-filter: blur(5px);		
	}
	
	.wp-block-navigation .wp-block-navigation-item {
		background: none;
	}
	
	.desktop-only .wp-block-navigation {
		row-gap: 0;
	}	
}

/* только для мобильного */

@media screen and (max-width: 760px) 
{

	.desktop-only {
		display: none;	
	}

	html {
		scroll-padding-top: 100px;
	}
	
	main.wp-block-group {
		margin-block-start: 100px;
	}
	
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
		padding-top: 0;	
	}
	
	.has-child > a.wp-block-navigation-item__content {
		color: red;
		font-weight: 900;
	}
	
	header {
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		padding: 10px;
		z-index: 1000;
	}
	
	.is-style-mts-quote,
	.is-style-mts-quote-name {
		margin-left: 0;
	}
	
	.mts-nav-buttons {
		bottom: 10px;
		right: calc(50% - 86px);
		padding: 10px;			
	}

}

@media screen and (max-width: 1020px) {
	.desktop-only .wp-block-site-title {
		display:none;
	}
}

@media screen and (max-width: 850px) {
	.desktop-only .wp-block-navigation {
		font-size: 0.85em;
	}	
}






/* ***********************************************************************************************************************************************************************
Главная страница 
*************************************************************************************************************************************************************************** 
*/

@keyframes change-color_full-page-wrapper { 
	0%{
		background-color: black;
	}
	33%{
		background-color: black;		
	}
	66%{
		background-color: var(--wp--preset--color--tertiary);
	}	
}

.wp-site-blocks .mts-full-page-wrapper.animated {
	animation: 4s ease-in 0s change-color_full-page-wrapper;
}


@keyframes move_home-image { 
	0%{
		top: 100vh;
	}
	50%{
		top: 100vh;
	}
	88%{
		top: 20vh;
	}	
}

.mts-home-image {
	position: absolute;
	left: 0;
	top: 20vh;
	transition: all 2s;
	animation: 4s ease-in-out 0s normal move_home-image;
}

@media (hover: hover) and (pointer: fine) {
	.mts-home-image:hover {
		top: 40vh;
		transform: scale(1.2);
	}
}

.wp-site-blocks .mts-glass-grey,
.wp-site-blocks .mts-glass-red {
	border: 2px solid white;
	padding: 1em;
	border-radius: 10px;
	box-shadow: 0 0 30px rgba(0,0,0,0.2);	
	position: absolute;
	width: 60vw;
	height: 60vh;
	margin: 0;
	padding: 5vmin;
}

.mts-glass-grey .home-logo img,
.mts-glass-red .home-logo img {
	height: 5vmin;
}

.mts-glass-grey {
	background-color: rgba(237,237,237, 0.6);	
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
}

.mts-glass-red {
	background-color: var(--wp--preset--color--primary);
}

@keyframes move_glass1 { 
	0%{
		left: 20vw; 
		top: 15vh;
	}
	33%{
		left: 20vw; 
		top: 15vh;
	}
	66%{
		top: 15vh;
		left: calc(0px - 40vw - 50px); 
	}
	100%{
		top: calc(0px - 45vh - 50px);
	}
}

.mts-glass1 {
	left: calc(0px - 40vw - 50px);
	top: calc(0px - 45vh - 50px);
	animation: 4s ease-in 0s normal move_glass1;

}

@keyframes move_glass2 { 
	0%{
		top: 15vh;
	}
	33%{
		top: 15vh;
	}
	66%{
		top: calc(0px - 45vh - 50px);
	}
}

.mts-glass2 {
	left: 20vw;
	top: calc(0px - 45vh - 50px);
	animation: 4s ease-in 0s normal move_glass2;
}

@keyframes move_glass3 { 
	0%{	
		background-color: var(--wp--preset--color--foreground);
		left: 20vw; 
		top: 15vh;
	}
	33%{
		background-color: var(--wp--preset--color--primary);		
		left: 20vw; 
		top: 15vh;
	}
	66%{		
		top: 15vh;
		left: calc(80vw + 50px);
	}
	100%{		
		top: calc(0px - 45vh - 50px);
	}
}

.mts-glass3 {
	left: calc(80vw + 50px);
	top: calc(0px - 45vh - 50px);
	animation: 4s ease-in 0s normal move_glass3;
}

@keyframes scale_h1_glass3 { 
	0%{	
		transform: scale(1);
	}
	35%{
		transform: scale(1);
	}
	66%{
		transform: scale(0);
	}
}

.mts-full-page-wrapper .mts-glass3 h1 {
	transform: scale(0) translate(-100%, -100%);
	font-size: 6vmin;
	animation: 4s ease-in 0s normal scale_h1_glass3;
	color: var(--wp--preset--color--foreground);

}

.mts-full-page-wrapper .mts-glass3 h1.h1-2021 {
	font-size: 8vmin;
	color: var(--wp--preset--color--primary);
}

@keyframes move_glass4 { 
	0%{
		background-color: rgba(237,237,237, 0.5);
		left: 20vw; 
	}
	33%{
		left: 20vw; 
	}
	66%{
		left: calc(0px - 40vw - 50px);
	}
	85% {
		background-color: rgba(237,237,237, 0.5);
	}
}

.mts-glass4 {
	left: calc(0px - 40vw - 50px);
	top: 15vh;
	animation: 4s ease-in 0s normal move_glass4;
}

@keyframes show_header-block { 
	0%{
		transform: scale(0);
	}	
	50%{
		transform: scale(0);
	}	
	66%{
		transform: scale(1);
	}
}

.mts-main-header-block {
	left: 20vw;
	top: 15vh;
	animation: 4s ease-in 0s normal show_header-block;
}

.mts-full-page-wrapper .mts-main-header-block h1 {
	font-size: 7vmin;
}

.mts-full-page-wrapper .mts-main-header-block h1.h1-2021 {
	font-size: 10vmin;
}

.mts-full-page-wrapper .mts-main-header-block .mts-home-buttons {
	position: absolute;
	bottom: 5vmin;
}

@keyframes move_glass6 { 
	0%{
		left: 20vw; 
	}
	33%{
		left: 20vw; 
	}
	66%{
		left: calc(80vw + 50px);
	}
}

.mts-glass6 {
	left: calc(80vw + 50px);
	top: 15vh;
	animation: 4s ease-in 0s normal move_glass6;
}

@keyframes move_glass7 { 
	0%{
		left: 20vw; 
		top: 15vh;
	}
	33%{
		left: 20vw; 
		top: 15vh;
	}
	66%{
		top: 15vh;
		left: calc(0px - 40vw - 50px);
	}
	100%{
		top: calc(75vh + 50px);
	}
}

.mts-glass7 {
	left: calc(0px - 40vw - 50px);
	top: calc(75vh + 50px);
	animation: 4s ease-in 0s normal move_glass7;
}

@keyframes move_glass8 { 
	0%{
		top: 15vh;
	}
	33%{
		top: 15vh;
	}
	66%{
		top: calc(75vh + 50px);
	}
}

.mts-glass8 {
	left: 20vw;
	top: calc(75vh + 50px);
	animation: 4s ease-in 0s normal move_glass8;
}

@keyframes move_glass9 { 
	0%{
		left: 20vw; 
		top: 15vh;

	}
	33%{
		left: 20vw; 
		top: 15vh;
	}
	66%{
		top: 15vh;
		left: calc(80vw + 50px);		
	}

	100%{
		top: calc(75vh + 50px);
	}
}

.mts-glass9 {
	left: calc(80vw + 50px);
	top: calc(75vh + 50px);
	animation: 4s ease-in 0s normal move_glass9;
}


/* узкий экран*/

@media screen and ((max-width: 700px) or (max-height: 600px))
{	

	.mts-full-page-wrapper .mts-glass-grey,
	.mts-full-page-wrapper .mts-glass-red {
		width: 80vw;
		height: 70vh;
		padding: 5vmin;
	}
	
	@keyframes move_home-image { 
		0%{
			top: 100vh;
		}
		50%{
			top: 100vh;
		}
		100%{
			top: 60vh;
		}	
	}
	
	.mts-full-page-wrapper .mts-home-image {
		top: 60vh;
	}
	
	.mts-full-page-wrapper .mts-glass-grey .home-logo img,
	.mts-full-page-wrapper .mts-glass-red .home-logo img {
		height: 5vmin;
	}

	@keyframes move_glass1 { 
		0%{
			left: 10vw; 
			top: 10vh;
		}
		33%{
			left: 10vw;  
			top: 10vh;
		}
		66%{
			top: 15vh;
			left: calc(10vw - 3vh - 80vw); 
		}
		100%{
			top: -63vh;
		}
	}

	.mts-glass1 {
		left: calc(10vw - 3vh - 80vw); 
		top: -63vh;
	}

	@keyframes move_glass2 { 
		0%{
			top: 10vh;
		}
		33%{
			top: 10vh;
		}
		66%{
			top: -63vh;
		}
	}

	.mts-glass2 {
		left: 10vw; 
		top: -63vh;
	}

	@keyframes move_glass3 { 
		0%{	
			background-color: var(--wp--preset--color--foreground);
			left: 10vw; 
			top: 10vh;
		}
		33%{
			background-color: var(--wp--preset--color--primary);		
			left: 10vw; 
			top: 10vh;
		}
		66%{		
			top: 10vh;
			left: calc(10vw + 3vh + 80vw);
		}
		100%{		
			top: -63vh;
		}
	}

	.mts-glass3 {
		left: calc(10vw + 3vh + 80vw);
		top: -63vh;
	}

	@keyframes scale_h1_glass3 { 
		0%{	
			transform: scale(1);
		}
		35%{
			transform: scale(1);
		}
		66%{
			transform: scale(0);
		}
	}

	.mts-full-page-wrapper .mts-glass3 h1 {
		transform: scale(0) translate(-100%, -100%);
		font-size: 6vmin;
		color: var(--wp--preset--color--foreground);

	}

	.mts-full-page-wrapper .mts-glass3 h1.h1-2021 {
		font-size: 18vw;
		color: var(--wp--preset--color--primary);
	}

	@keyframes move_glass4 { 
		0%{
			background-color: rgba(237,237,237, 0.5);
			left: 10vw; 
		}
		33%{
			left: 10vw;  
		}
		66%{
			left: calc(10vw - 3vh - 80vw);
		}
		85% {
			background-color: rgba(237,237,237, 0.5);
		}
	}

	.mts-glass4 {
		left: calc(10vw - 3vh - 80vw);
		top: 10vh;
	}

	@keyframes show_header-block { 
		0%{
			transform: scale(0);
		}	
		50%{
			transform: scale(0);
		}	
		66%{
			transform: scale(1);
		}
	}

	.mts-main-header-block {
		left: 10vw; 
		top: 10vh;
	}

	.mts-full-page-wrapper .mts-main-header-block h1 {
		font-size: 7vmin;
	}

	.mts-full-page-wrapper .mts-main-header-block h1.h1-2021 {
		font-size: 18vw;
	}

	.mts-full-page-wrapper .mts-main-header-block .mts-home-buttons {
		position: static;
		margin-top: 30px;
	}

	@keyframes move_glass6 { 
		0%{
			left: 10vw; 
		}
		33%{
			left: 10vw; 
		}
		66%{
			left: calc(10vw + 3vh + 80vw);
		}
	}

	.mts-glass6 {
		left: calc(10vw + 3vh + 80vw);
		top: 10vh;
	}

	@keyframes move_glass7 { 
		0%{
			left: 10vw; 
			top: 10vh;
		}
		33%{
			left: 10vw; 
			top: 10vh;
		}
		66%{
			top: 10vh;
			left: calc(10vw - 3vh - 80vw);
		}
		100%{
			top: 83vh;
		}
	}

	.mts-glass7 {
		left: calc(10vw - 3vh - 80vw);
		top: 83vh;
	}

	@keyframes move_glass8 { 
		0%{
			top: 10vh;
		}
		33%{
			top: 10vh;
		}
		66%{
			top: 83vh;
		}
	}

	.mts-glass8 {
		left: 10vw;
		top: 83vh;
	}

	@keyframes move_glass9 { 
		0%{
			left: 10vw; 
			top: 10vh;

		}
		33%{
			left: 10vw;  
			top: 10vh;
		}
		66%{
			left: calc(10vw + 3vh + 80vw);
			top: 10vh;	
		}
		100%{
			top: 83vh;
		}
	}

	.mts-glass9 {
		left: calc(10vw + 3vh + 80vw);
		top: 83vh;
	}
}

@media screen and (max-height: 650px)
{
	.mts-full-page-wrapper .mts-main-header-block h1.h1-2021 {
		font-size: 12vh;
		margin: 0;
	}
	
	.mts-full-page-wrapper .mts-glass3 h1.h1-2021 {
		font-size: 22vh;
		margin: 0;
	}
	
	@keyframes move_home-image { 
		0%{
			top: 100vh;
		}
		50%{
			top: 100vh;
		}
		100%{
			top: 10vh;
		}	
	}
	
	.mts-full-page-wrapper .mts-home-image {
		top: 10vh;
	}

}	
/*конец Главная страница */


/* ***********************************************************************************************************************************************************************
Страницы разделов 
*************************************************************************************************************************************************************************** 
*/


.fullpage-grey-background {
	position: fixed;
	margin-top: 0;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: var(--wp--preset--color--tertiary);
	z-index: -100;
}

.mts-chapter-glass-container {
	min-height: calc(100vh - 500px);
}

.mts-chapter-glass-container .mts-left {
	border-left: none;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;	
}

.mts-chapter-glass-container .mts-right {
	border-right: none;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;	
}

.wp-site-blocks .wp-block-column.mts-center {
	padding: 3vmin;
	flex-basis: 75%;
	background-color: rgba(237,237,237, 0.5);	
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	z-index: 1;
}

.wp-site-blocks .mts-center h1.wp-block-post-title {
	font-size: 4vmin;
}

.wp-site-blocks .mts-center ul.is-style-mts-bold-list {
	margin-bottom: 0;
	margin-left: 0 !important;
}


@media screen and (max-height: 600px), (max-width: 800px) {
	.wp-site-blocks .mts-center h1.wp-block-post-title {
		font-size: 1.3em;	
	}
	.wp-site-blocks .mts-center ul.is-style-mts-bold-list li {
		font-size: 0.8em;	
	}	
}

@keyframes show_chapter-image { 
	0%{
		transform: scale(0.5);
		bottom: -20vh;
	}		
	100%{
		transform: scale(1);
		bottom: 0;
	}
} 

.mts-chapter-image img {
	position: fixed;
	transform: scale(1);
	bottom: 0;
	transition: all 1s;
	animation: 0.5s ease-in 0s normal show_chapter-image;
}

.mts-chapter-image img[alt="Добро пожаловать!"],
.mts-chapter-image img[alt="Welcome!"] {
	width: 80vh;
	right: -15vh;
}

.mts-chapter-image img[alt="Обзор трансформации экосистемы"],
.mts-chapter-image img[alt="Ecosystem Transformation Overview"] {
	width: 50vh;
	right: 0;
}

.mts-chapter-image img[alt="Финансовый обзор"],
.mts-chapter-image img[alt="Financial Overview"] {
	width: 90vh;
	right: 0;
}

.mts-chapter-image img[alt="Корпоративное управление"],
.mts-chapter-image img[alt="Corporate Governance"] {
	width: 60vh;
	right: 0;
}

.mts-chapter-image img[alt="Устойчивое развитие"],
.mts-chapter-image img[alt="Sustainability"] {
	width: 50vh;
	right: -10vh;
}

.mts-chapter-image img[alt="Дополнительная информация"],
.mts-chapter-image img[alt="Additional Information"] {
	width: 80vh;
	right: -10vh;
}

/* ховер только на десктопе на мобильном */

@media (hover: hover) and (pointer: fine) {
	.mts-chapter-image img[alt="Финансовый обзор"]:hover,
	.mts-chapter-image img[alt="Financial Overview"]:hover,
	.mts-chapter-image img[alt="Устойчивое развитие"]:hover,
	.mts-chapter-image img[alt="Sustainability"]:hover {
		transform: scale(1.5) rotate(30deg);
		right: 10vw;
	}

	.mts-chapter-image img[alt="Добро пожаловать!"]:hover,
	.mts-chapter-image img[alt="Welcome!"]:hover,
	.mts-chapter-image img[alt="Дополнительная информация"]:hover,
	.mts-chapter-image img[alt="Additional Information"]:hover {
		transform: scale(1.5);
		right: 10vw;
	}

	.mts-chapter-image img[alt="Обзор трансформации экосистемы"]:hover,
	.mts-chapter-image img[alt="Ecosystem Transformation Overview"]:hover {
		transform: scale(1.5) rotate(180deg);
		right: 10vw;
	}

	.mts-chapter-image img[alt="Корпоративное управление"]:hover,
	.mts-chapter-image img[alt="Corporate Governance"]:hover {
		transform: scale(1.5) rotate(30deg);
		right: 10vw;
	}
}


/* только для мобильного */
	
@media screen and (max-width: 761px)
{
	.mts-chapter-glass-container {
		min-height: calc(100vh - 300px);
	}
	
	.wp-site-blocks .mts-center ul.is-style-mts-bold-list {
		padding-left: 20px;
	}
}

/*конец Страницы разделов */