/**********************************************************************/
/**********************************************************************/
.portinfo {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	justify-content: space-between;
	width: 1140px;
	height: 500px;
	max-width: calc(100vw - 40px);
	max-height: calc(100vh - 40px);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s;
	z-index: 200;
}
body.admin-bar .portinfo {
	top: calc(50% + 16px);
	max-height: calc(100vh - 72px);
}
.portinfo.show {
	pointer-events: initial;
	opacity: 1;
}

/**********************************************************************/
.portinfo-slider {
	position: relative;
	width: 57%;
	max-height: 100%;
	margin-bottom: auto;
	overflow: auto;
}
.portinfo-slider__nav {
	position: absolute;
	left: 20px;
	bottom: 20px;
	display: flex;
	flex-wrap: wrap;
}
.portinfo-slider__nav p {
	width: 32px;
	height: 32px;
	margin: 6px 0 0 6px;
	background-color: #000000;
	font: normal 700 16px / 32px "Oswald", sans-serif;
    color: #FFFFFF;
	text-align: center;
	transition: background-color 0.3s;
	cursor: pointer;
}
.portinfo-slider__nav p.active, .portinfo-slider__nav p:hover {
	background-color: #007EFF;
}

/**********************************************************************/
.portinfo__content {
	width: calc(43% - 30px);
}

/**********************************************************************/
.portinfo__head {
	position: relative;
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}
.portinfo__nav {
	display: flex;
	margin-right: auto;
}
.portinfo__btn {
	position: relative;
	width: 100px;
	height: 40px;
	margin-right: 15px;
	background-color: #007EFF;
	transition: opacity 0.3s;
	cursor: pointer;
}
.portinfo__btn:before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 14px;
	border-right: 3px solid #FFFFFF;
	border-bottom: 3px solid #FFFFFF;
}
.portinfo__prev:before {
	transform: translate(calc(-50% + 2px), -50%) rotate(135deg);
}
.portinfo__next:before {
	transform: translate(calc(-50% - 2px), -50%) rotate(-45deg);
}
.portinfo__btn:hover {
	opacity: 0.6;
}
.portinfo__btn.disabled {
	pointer-events: none;
	opacity: 0.3 !important;
}

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

/**********************************************************************/
.portinfo__body {
	display: flex;
	flex-direction: column;
	height: calc(100% - 50px);
	padding: 30px 30px 40px 40px;
	background-color: #FFFFFF;
}
body.dark .portinfo__body {
	background-color: #1C1D21;
}
.portinfo__name {
	margin-bottom: 20px;
	font: normal 700 28px / 40px "Oswald", sans-serif;
    color: #000000;
	text-transform: uppercase;
}
body.dark .portinfo__name {
	color: #FFFFFF;
}
.portinfo__subtitle {
	margin-bottom: 15px;
	font-size: 14px;
	line-height: 20px;
	color: #D9D9D9;
	text-transform: uppercase;
}
.portinfo__price {
	margin-bottom: 20px;
	font-weight: 700;
	font-size: 32px;
	line-height: 100%;
	color: #000000;
}
body.dark .portinfo__price {
	color: #FFFFFF;
}
.portinfo__descr {
	padding-right: 20px;
	overflow: auto;
}
.portinfo__descr::-webkit-scrollbar {
	width: 2px;
}
.portinfo__descr::-webkit-scrollbar-track {
	background: #FFFFFF;
}
body.dark .portinfo__descr::-webkit-scrollbar-track {
	background: #000000;
}
.portinfo__descr::-webkit-scrollbar-button {
	display: none;
}
.portinfo__descr::-webkit-scrollbar-thumb {
	background-color: #000000;
}
body.dark .portinfo__descr::-webkit-scrollbar-thumb {
	background-color: #FFFFFF;
}
.portinfo__descr p {
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 24px;
	color: #1C1D21;
}
body.dark .portinfo__descr p {
	color: rgba(255, 255, 255, 0.9);
}
.portinfo__descr p:last-child {
	margin-bottom: 0;
}




/**********************************************************************/
/*********************         RESPONSIVE         *********************/
/**********************************************************************/
@media screen and (max-width: 782px) {
	/******************************************************************/
	/******************************************************************/
	body.admin-bar .portinfo {
		top: calc(50% + 23px);
		max-height: calc(100vh - 86px);
	}
}


@media screen and (max-width: 767px) {
	/******************************************************************/
	/******************************************************************/
	.portinfo {
		flex-direction: column;
		justify-content: flex-start;
		width: 450px;
		height: initial;
		max-width: 100vw;
		max-height: 100vh;
		overflow: auto;
	}
	body.admin-bar .portinfo {
		max-height: calc(100vh - 46px);
	}

	/******************************************************************/
	.portinfo-slider {
		width: 100%;
		margin-bottom: 0;
		overflow: initial;
	}
	.portinfo-slider__nav {
		left: 50%;
		transform: translateX(-50%);
		justify-content: center;
	}
	.portinfo-slider__nav p {
		width: 12px;
		height: 12px;
		margin: 12px 12px 0;
		border: 1px solid #FFFFFF;
		font-size: 0;
		line-height: 0;
	}

	/******************************************************************/
	.portinfo__content {
		width: 100%;
		padding: 20px 20px 30px;
		background-color: #FFFFFF;
	}
	body.dark .portinfo__content {
		background-color: #1C1D21;
	}

	/******************************************************************/
	.portinfo__head {
		margin-bottom: 25px;
	}
	.portinfo__btn {
		width: 70px;
	}
	.portinfo__btn:hover {
		opacity: 1;
	}

	/******************************************************************/
	.portinfo__close {
		right: 0;
		width: 70px;
		height: 40px;
		background-color: #FFFFFF;
	}
	.portinfo__close:before, .portinfo__close:after {
		background-color: #007EFF;
	}

	/******************************************************************/
	.portinfo__body {
		height: initial;
		padding: 0;
		background-color: transparent;
	}
	.portinfo__name {
		font-size: 26px;
	}
	.portinfo__subtitle {
		margin-bottom: 10px;
	}
	.portinfo__descr {
		padding-right: 0;
		overflow: initial;
	}
	.portinfo__descr p {
		font-size: 14px;
		line-height: 20px;
		color: #1C1D21;
	}
	body.dark .portinfo__descr p {
		color: #D9D9D9;
	}
}