.node-package h2 {
  padding-bottom: 18px;
}

/*******packages*******/

/*.field-name-field-feature-intro {visibility: hidden;}*/

.field-name-field-feature-intro h2 {
	margin-bottom: 26px;
	font-size: 26px;
}

.field-name-field-feature-intro p,
.field-name-field-feature-intro .p{
	margin-bottom: 39px;
}

@media (min-width: 992px) {
	.field-name-field-feature-intro h2 {
		font-size: 39px;
	}
	.field-name-field-feature-intro h2::before {left: 3px;}
}

/* Fix Reference RU */
.page-node-1:lang(ru) .feature li:first-of-type {
  display: flex;
  font-size: 15px;
  margin-bottom: 25px;
  padding-right: 0;
  width: 55%;
}
/* References */

.reference { position: relative; }

.reference .reference-title {
	cursor: pointer;
	font-weight: bold;
}

.reference .reference-hover-offset {
	bottom: 100%;
	height: 0;
	left: 0;
	opacity: 0;
	position: absolute;
	width: 510px;
}

.reference .reference-title:hover + .reference-hover-offset,
.reference .reference-hover-offset:hover { height: 20px; }

.reference .reference-content {
	background-color: white;
	bottom: calc(100% + 20px);
	box-shadow: 0 3px 26px rgba(0, 0, 0, 0.08);
	height: 300px;
	left: 0;
	opacity: 0;
	overflow: hidden;
	padding: 25px 15px;
	pointer-events: none;
	position: absolute;
	transition: opacity .3s ease;
	transition-delay: 1s;
	width: 510px;
}

@media (min-width: 992px) {
	.reference .reference-title:hover + * + .reference-content,
	.reference .reference-hover-offset:hover + .reference-content,
	.reference .reference-content:hover {
		opacity: 1;
		pointer-events: auto;
		transition: opacity .3s ease;
	}
}

.reference .reference-content .reference-content-close {
	content: 'X';
	cursor: pointer;
	display: none;
	font-size: 45px;
	font-weight: 300;
	height: 20px;
	line-height: 20px;
	position: absolute;
	text-align: center;
	top: 17px;
	right: 15px;
	width: 20px;
}

.reference .reference-content .reference-content-title {
	border-bottom: 1px solid rgba(214, 214, 214, 1);
	color: rgba(9, 30, 41, 1);
	font-family: 'Josefin Sans', sans-serif;
	font-size: 17px;
	letter-spacing: 0.12px;
	line-height: 17px;
	margin-bottom: 20px;
	padding-bottom: 12px;
}

.reference .reference-content .reference-content-title span { font-weight: bold; }

.reference .reference-content ul {
	display: block;
	height: 200px;
	margin: 0;
	overflow-y: scroll;
}

.reference .reference-content ul li {
	display: block;
	margin: 0 0 25px;
	width: 100%;
}

.reference .reference-content ul li:last-child { margin: 0; }

@media (max-width: 991.98px) {
	.reference .reference-hover-offset { display: none; }

	.reference .reference-content {
		bottom: auto;
		left: 50%;
		position: fixed;
		top: 50%;
		transform: translate(-50%, -50%);
		transition-delay: 0s;
		width: 345px;
		z-index: 9999999999;
	}

	.reference .reference-content.active {
		opacity: 1;
		pointer-events: auto;
		transition: opacity .3s ease;
	}

	.reference .reference-content ul li { margin: 0 0 20px; }

	.reference .reference-content .reference-content-close { display: block; }
}
