/**********************************************************************/
/**********************************************************************/
.matinfo {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
	flex-direction: column;
	width: 100vw;
	height: 100vh;
	padding: 30px 0;
	background-color: #FFFFFF;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s;
	z-index: 200;
}
body.dark .matinfo {
	background-color: #1C1D21;
}
body.admin-bar .matinfo {
	top: calc(50% + 23px);
	max-height: calc(100vh - 46px);
}
.matinfo.show {
	pointer-events: initial;
	opacity: 1;
}

/**********************************************************************/
.matinfo__head {
	position: relative;
	display: flex;
	justify-content: space-between;
	width: 400px;
	max-width: calc(100% - 40px);
	margin: 0 auto 50px;
}
.matinfo__nameline {
	display: flex;
}
.matinfo__name {
	font: normal 700 28px / 40px "Oswald", sans-serif;
	color: #000000;
}
body.dark .matinfo__name {
	color: #FFFFFF;
}
.matinfo__stars {
	display: flex;
	margin: 0 0 auto;
}
.matinfo__stars img {
	width: 11px;
	margin: auto 0 auto 3px;
}

/**********************************************************************/
.matinfo__close {
	position: absolute;
	right: 0;
	top: 0;
	width: 25px;
	height: 25px;
	cursor: pointer;
	transition: opacity 0.3s;
	z-index: 1300;
}
.matinfo__close:before, .matinfo__close:after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 32px;
	height: 3px;
	background-color: #007EFF;
	transition: opacity 0.3s;
}
.matinfo__close:before {
	transform: translate(-50%, -50%) rotate(45deg);
}
.matinfo__close:after {
	transform: translate(-50%, -50%) rotate(-45deg);
}
.matinfo__close:hover {
	opacity: 0.6;
}

/**********************************************************************/
.matinfo__body {
	display: flex;
	flex-direction: column;
	width: 400px;
	height: calc(100% - 90px);
	max-width: calc(100% - 40px);
	margin: 0 auto;
	padding-right: 20px;
	overflow: auto;
}
.matinfo__subtitle {
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 20px;
    color: #D9D9D9;
	text-transform: uppercase;
}
.matinfo__life, .matinfo__price {
	margin-bottom: 30px;
	font-weight: 700;
	font-size: 28px;
	line-height: 38px;
	color: #000000;
}
body.dark .matinfo__life, body.dark .matinfo__price {
	color: #FFFFFF;
}
.matinfo__descr p {
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 24px;
	color: #1C1D21;
}
body.dark .matinfo__descr p {
	color: rgba(255, 255, 255, 0.9);
}
.matinfo__descr p:last-child {
	margin-bottom: 0;
}




/**********************************************************************/
/*********************         RESPONSIVE         *********************/
/**********************************************************************/
@media screen and (max-width: 767px) {
	/******************************************************************/
	/******************************************************************/
	.matinfo {
		display: flex;
	}
}