/*!
Theme Name: _fides
Theme URI: https://wtstudio.ru/
Author: wtstudio.ru
Author URI: https://wtstudio.ru/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: _fides
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

_fides is based on Underscores https://wtstudio.ru/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.home-head .title-box .title span:not(:first-child) {
	z-index: 2;
}

.hidden {
	display: none;
}

.modal-success {
	& .modal-title {
		text-align: center;
		margin-top: 0px;
		margin-bottom: 30px !important;
	}

	& .modal-body {
		text-align: center;
		display: block;
	}

	& .modal-header {
		justify-content: end;
	}
}

.more-link {
	display: block;
	margin-top: 5px;
	text-decoration: underline;
	cursor: pointer;

	&:hover {
		text-decoration: none;
	}
}

.modal-body--full {
	grid-template-columns: 1fr;
}

.input[type="date"] {
	max-height: 40.8px;
	border-radius: 10px;
	padding-left: 16px;
	padding-right: 16px;
	color: #6c757d;
}

.breadcrumbs a {
	& span {
		transition: color .4s;
	}

	&:hover span {
		color: #1d6b77;
	}
}

.paginationMy ul span.current {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 8px;
	font-size: 12px;
	line-height: 1.2;
	font-family: "SF Pro Display Regular", sans-serif;
	font-weight: 400;
	color: #fff;
	background: #1d6b77;
	border-radius: 10px;
	transition: background .4s, color .4s;
}

.header-catalog__result {
	display: none;
}

.basket-icon {
	position: relative;
	line-height: 0;
}

.basket-count {
	text-transform: uppercase;
	color: #1d6b77;
	text-align: center;
	background: #dbf0f3;
	border-radius: 16px;
	min-width: 16px;
	height: 16px;
	padding: 0px 3px 0px;
	font-size: 10px;
	line-height: 13px;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 100%;
	position: absolute;
	top: -5px;
	right: -7px;
	transition: 0.3 all;
	opacity: 1;
}

.basket-count.hidden {
	opacity: 0;
}

.header-basket {
	position: relative;
}

.notifications {
	position: absolute;
	top: calc(100% + 17px);
	right: 0px;
	font-family: "SF Pro Display Regular", sans-serif;
}

.notification {
	position: relative;
	background: rgb(0, 0, 0, 0.5);
	color: #fff;
	padding: 15px 30px;
	border-radius: 5px;
	z-index: 1000;
	animation: fadeIn 0.3s;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	width: 400px;
	max-width: 100%;
	text-align: center;
	margin-top: 10px;
}

.basket.basket-empty {
	grid-template-columns: 1fr !important;

	& .basket-sidebar {
		display: none;
	}
}

.basket-product__item._basket-small {
	grid-template-columns: 1fr;

	& .basket-product__content {
		grid-template-areas: "info price";
	}

	& .basket-product__info {
		align-items: center;
		flex-direction: unset;
		font-family: "SF Pro Display Bold", sans-serif;
	}

	& .basket-product__title {
		display: inline-block;
	}
}

div.bbp-template-notice.error,
div.bbp-template-notice.warning {
	border: 0;
}

.field-error,
.field-success,
div.bbp-template-notice.error,
div.bbp-template-notice.warning {
	display: block;
	padding: 10px 20px;
	background: #ffc8c8;
	border-radius: 16px;
	color: #343a40 !important;
	position: relative;
	z-index: 2;

	& a {
		color: #343a40;
		text-decoration: underline;

		&:hover {
			color: #1d6b77;
			text-decoration: none;
		}
	}
}

.field-error {
	background: #ffc8c8;
}

.field-success {
	background: #d9ffc8;
}

.link-not-valid {
	position: relative;
	z-index: 1;
}

.registration-form {
	& .field-error {
		grid-column: 1 / span 2
	}
}

.registration-left {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.account-container {
	& .field-error {
		margin-bottom: 20px;
	}
}

.info404 {
	& .info404-title {
		font-size: clamp(60px, 4.24px + 9.70vw, 140px);
		color: #1d6b77;
		font-weight: normal;
		font-style: normal;
		text-align: center;
		line-height: 130%;
	}

	& .info404-subtitle {
		font-size: clamp(22px, 5.27px + 2.91vw, 46px);
		line-height: 130%;
		text-align: center;
		margin-bottom: 30px;
	}

	& .info404-button {
		display: flex;
		justify-content: center;
	}
}

.registration-form {
	& .sign-form__button {
		display: flex;
		align-items: end;
	}
}

.m20 {
	margin-bottom: 20px;
}

.account-order__buttons {
	opacity: 1;
	pointer-events: unset;
}

.single-order__products>:first-child {
	margin-top: 0;
}

.single-order__products>* {
	margin-top: 10px;
}

.single-order__info {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin-bottom: 20px;
	gap: 10px;

	& .single-order__info-item {
		padding: 20px;
		border-radius: 20px;
		background: #f8f9fa;
	}

	& .single-order__text {
		& span {
			font-family: "SF Pro Display Bold", sans-serif;
			padding-right: 5px;
		}
	}

	& .single-order__text+.single-order__text {
		margin-top: 10px;
	}
}

.single-order__address {
	display: grid;
	grid-template-columns: 1fr;
	align-items: start;
	grid-auto-rows: min-content;

}

.single-order .basket-placement__box {
	border-top: 0px;
}

span.input {
	display: flex;
	align-items: center;
}

.search-inner {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;

	& .input {
		height: 56px;
	}
}

.analyses._white .analyses-icon._svg img {
	object-fit: contain;
	padding: 32px 0px 32px 20px;
}

._sign-big {
	grid-template-columns: 460px 1fr;
	column-gap: 60px;
}

.sign-form textarea#bbp_topic_content {
	width: 100%;
	height: 140px;
}

.bbp-form:has(.bbp-attachments-form) {
	display: none;
}

.bbp_file_download {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.bbp_submit {
	width: 100%;
}

.files-uploaded {
	border: 1px solid #f2f5f6;
	padding: 20px;
	border-radius: 16px;
	backdrop-filter: blur(3px);
	background: rgba(255, 255, 255, 0.7);
	font-family: "SF Pro Display Regular", sans-serif;
	display: none;

	& h4 {
		color: #1d6b77;
		margin-top: 0px;
		margin-bottom: 5px;
	}

	& span {
		color: #1d6b77;
	}

	& .remove-file {
		width: 20px;
		height: 20px;
		display: inline-flex;
		justify-content: center;
		align-items: center;
		border-radius: 50%;
		background: #ae0202;
		color: #fff;
		outline: 0;
		box-shadow: 0;
		border: 0;
		padding: 0px;
		line-height: 0;

		& span {
			color: #fff;
		}
	}

	.file-item+.file-item {
		margin-top: 5px;
	}
}

.files-uploaded:has(.file-item) {
	display: block;
}

.wpulike button.wp_ulike_btn {
	min-height: 20px;
	min-width: 20px;
	padding: 0px;
	background-color: transparent;
}

.wpulike-default button.wp_ulike_btn:focus,
.wpulike-default button.wp_ulike_btn:hover {
	background-color: transparent;
}

.wpulike-default .wp_ulike_put_image::after {
	height: 20px;
	width: 20px;
}

.wpulike-default .count-box {
	font-size: 14px;
	line-height: 1.2;
	color: #6c757d;
	transition: .4s;
	font-family: "SF Pro Display Regular", sans-serif;
	font-weight: 400;
	border-radius: 0;
	background-color: transparent;
	margin-left: 4px;
	padding: 0px;
	box-shadow: unset;
	text-align: left;
	transition: .4s;
}

.wpulike-default .count-box:before {
	display: none;
}

.wpulike-default .wp_ulike_is_liked .count-box {
	color: #7f42e1;
}

.response-author__input {
	resize: none;
	outline: 0;
	font-family: "SF Pro Display Regular", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.2;
}

.response-form {

	& .field-error,
	& .files-uploaded {
		margin-top: 10px;
	}
}

.response-comments .wp_ulike_btn.wp_ulike_put_image::after {
	background-image: url(source/img/like_grey.svg) !important;
}

.response-box .bbp-admin-links {
	& a {
		font-size: 16px;
		line-height: 1.2;
		color: #a32881;
		font-family: "SF Pro Display Medium", sans-serif;
		font-weight: 500;
		transition: .4s;
		padding-left: 10px;
		text-transform: none;
	}

	& a:hover {
		color: #1d6b77;
		cursor: pointer;
	}
}

.bbp-replies-list .response-box {
	margin-top: 10px;
}

.response-box .bbp-admin-links {

	& .bbp-topic-merge-link,
	& .bbp-topic-close-link,
	& .bbp-topic-sticky-link,
	& .bbp-topic-super-sticky-link,
	& .bbp-topic-trash-link,
	& .bbp-topic-spam-link,
	& .bbp-topic-approve-link,
	& .bbp-topic-split-link,
	& .bbp-topic-split-link,
	& .bbp-reply-move-link,
	& .bbp-reply-trash-link,
	& .bbp-reply-spam-link,
	& .bbp-reply-approve-link {
		display: none;
	}
}

.response-docs {
	margin-top: 10px;
	font-family: "SF Pro Display Regular", sans-serif;
	font-size: 14px;
	line-height: 1.2;
}

#bbp-cancel-reply-to-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: fit-content;
	padding: 19px 15px;
	font-size: 16px;
	line-height: 1.4;
	font-family: "SF Pro Display Medium", sans-serif;
	font-weight: 500;
	background: #f2f5f6;
	color: #1d6b77;
	border: 1px solid #f2f5f6;
	border-radius: 16px;
	transition: .4s;
	text-align: center;
	min-height: 56px;
	padding: 10px 22px;
	margin-right: 10px;

	&:hover {
		background: #dbf0f3;
		border-color: #dbf0f3;
	}
}

#bbpress-forums ul.bbp-threaded-replies {
	margin-left: 0px;
}

.response-complain {
	position: relative;

	& .response-complain__tooltip {
		transition: 0.3s all;
		opacity: 0;
		z-index: 0;
		transform: translateY(5px);
		position: absolute;
		right: 0px;
		top: 100%;
	}

	&._active .response-complain__tooltip {
		opacity: 1;
		z-index: 100;
		transform: translateX(0px);
	}

	& .response-complain__button {

		padding-top: 10px;
		padding-bottom: 10px;
	}

	& .response-complain__button.sended {
		background: #1d6b77;
		color: #f2f5f6;
	}
}

.response-item {
	background: transparent;
}

.response-box {
	position: relative;
	z-index: 3;
}

.response-box._expert {
	--offset: 20px;
	padding-top: calc(2*var(--offset));
	margin-top: calc(-1*var(--offset));
	border-radius: 0px 0px 20px 20px;

}

.response-box._expert-doctor {
	background: linear-gradient(5.07deg, #1d6b77, rgb(54.0648956299, 174.5523986816, 193.0889129639) 100%);
	z-index: 2;
}

.response-box._expert-neuronet {
	z-index: 1;
	background: linear-gradient(45deg, rgb(203.200088501, 184.393081665, 233.4145965576), rgb(227.0013122559, 190.5266571045, 242.9733276367) 50%, rgb(250.5639038086, 196.6668395996, 245.1741943359) 100%);
}

.response-container .response-item .response-box._expert-neuronet .response-subtitle {
	color: #442577;
}

.display-inline {
	display: inline-block;
}

.bbp-no-topic {
	position: relative;
	z-index: 3;
}

.response-user+.bbp-no-reply {
	margin-top: 10px;
}

p.response-text,
.sign p.response-text {
	color: #a32881;

	& a {
		color: #7f42e1
	}
}

._modal-content__neuronet {
	background: linear-gradient(23.13deg, #7f42e1, rgb(159.176651001, 109.2991714478, 239.3076629639) 100%);

	& .modal-title {
		color: #fff;
	}

	& .modal-header .btn-close svg {
		stroke: #fff;
	}
}

.wpulike {
	padding-top: 0px;
	padding-bottom: 0px;
}

.search-chekbox {
	cursor: pointer;

	& .search-tag {
		display: block;
	}

	&:hover {
		.search-tag {
			color: #1d6b77;
			transition: 0.3s all;
		}
	}

	.search-input:checked+.search-tag {
		background: #113b41;
		color: #fff;
	}
}

.account-order__download {
	position: relative;

	& .download-status {
		position: absolute;
		right: 0px;
		top: calc(100% + 10px);
		width: max-content;
		transition: 0.3s all;
		opacity: 0;
		z-index: 0;
		transform: translateY(5px);

		&._active {
			opacity: 1;
			z-index: 100;
			transform: translateX(0px);
		}
	}
}

.check__input {
	width: 20px;
	height: 20px;
	left: 2px;
	top: 5px;
}

.description_product a {
	display: inline;
}

.description_product p {
	margin-bottom: 1em;
}

.search-checkbox-inline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	cursor: pointer;
}

.search-checkbox-inline__input {
	width: 16px;
	height: 16px;
	cursor: pointer;
	accent-color: #113b41;
}

.search-checkbox-inline__text {
	font-size: 16px;
	line-height: 1.3;
	color: #fff;
	font-family: "SF Pro Display Medium", sans-serif;
}

.search-warning-note {
	width: 100%;
	grid-column: 1 / -1;
	background: #fff3cd;
	border: 1px solid #ffe08a;
	border-radius: 12px;
	padding: 16px 18px;
	margin: 12px 0;
}

.search-warning-note p {
	margin: 0;
	color: #3b2f00;
	font-family: "SF Pro Display Medium", sans-serif;
	line-height: 1.4;
}

.news-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.news-date {
	margin: 0;
	color: #9aa3ad;
	font-size: 12px;
	font-family: "SF Pro Display Regular", sans-serif;
	font-weight: 400;
	line-height: 1.2;
}

.page-id-70 .content-item,
.page-id-70 .content-item p,
.page-id-70 .content-item li,
.page-id-70 .content-item a {
	font-family: "SF Pro Display Medium", sans-serif;
}

a.header-logo>img {
	cursor: pointer;
}

@-webkit-keyframes fadeIn {
	0% {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

._to_block {
	transition: all .3s linear
}

._to_block.blocked {
	pointer-events: none;
	opacity: 0.5
}

.block-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	pointer-events: none;
	display: flex;
	justify-content: center;
	align-items: center;

	&::before {
		content: '';
		width: 40px;
		height: 40px;
		display: inline-block;
		vertical-align: text-bottom;
		border: .25em solid #1d6b77;
		border-right-color: transparent;
		border-radius: 50%;
		animation: spin 2s linear infinite;
		z-index: 2;
	}
}

._to_block.modal-content.blocked {
	opacity: 1;
	overflow: hidden;

	& .block-overlay {
		&::after {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			filter: blur(4px);
			z-index: 10;
			background: #fff;
			opacity: 0.4;
		}
	}
}

.analyses-name a {
	color: #212529;
}

.analyses-name a:hover {
	color: #1d6b77;
}

._searchSmall {
	min-height: unset;
}

.header-search .button {
	min-height: 56px;
	padding: 10px 15px;
}

.header-catalog__search {
	display: none;

	& a {
		width: 100%;
	}
}

.screening_products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

._marginTop {
	margin-top: 40px;
}

@-webkit-keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@media screen and (max-width: 1399px) {
	.screening_products {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width: 1199px) {
	.analyses._white .analyses-icon._svg img {
		padding: 10px 10px 0px 10px;
	}

	._sign-big {
		grid-template-columns: 1fr;
		row-gap: 30px;
	}
}

@media screen and (max-width: 1023px) {
	.basket-product__item._basket-small {
		& .basket-product__content {
			grid-template-columns: 1fr;
			grid-template-areas:
				"info "
				"price";
		}
	}

	.single-order__info {
		grid-template-columns: 1fr;
	}

	.header-catalog__box {
		border-radius: 0px;

	}

	.header-catalog__result {
		display: block;
		grid-column: 6 span;
		grid-row: 1;
		width: 100%;

		& a {
			width: 100%;
		}
	}

	.breadcrumbs span {
		padding-right: 1px;
	}

}


@media screen and (max-width: 767px) {
	.search-inner {
		grid-template-columns: 1fr;
	}

	.registration-form {
		& .field-error {
			grid-column: unset;
		}
	}

	.header-catalog__result {
		grid-column: unset;
	}

	.header-search .button {
		min-height: 40px;
		padding: 10px;
		border-radius: 10px;
	}

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

@media screen and (max-width: 575px) {
	.search-inner {
		& .input {
			height: 48px;
		}
	}

	.input[type="date"] {
		font-size: 12px;
	}

	.notification {
		padding: 15px 15px;
		max-width: calc(100vw - 56px);
		font-size: 12px;
	}

	.breadcrumbs span {
		padding-right: 2px;
	}

	.response-expert__head {
		grid-template-columns: minmax(195px, 1fr) auto;
	}

	.header-search {
		display: none;
	}

	.header-catalog__search {
		display: block;
		grid-row: 2;
	}

	.screening_products {
		grid-template-columns: 1fr;
	}

	._marginTop {
		margin-top: 30px;
	}
}

@media screen and (min-width: 576px) {
	.home-head .title-box .title span:not(:first-child) {
		padding-left: 16px;
		padding-right: 16px;
	}
}

@-moz-document url-prefix() {
	.trust-title {
		max-width: 705px;
	}

	@media screen and (min-width: 1200px) {
		.record-info {
			max-width: 550px;
		}

	}
}
.requisites-license{margin-top:32px}
.requisites-license .title{margin-bottom:12px}
.requisites-license-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:16px}
.requisites-license-images img{width:100%;height:auto;border-radius:12px;background:#fff}

/* content-fonts-20260923: услуги/статьи = основные шрифты сайта */
.accordionMy-container,
.content,
.content-item,
.ds-markdown-paragraph,
.western,
.accordionMy-container p,
.accordionMy-container li,
.accordionMy-container span,
.accordionMy-container td,
.content p,
.content li,
.content span,
.content td,
.content-item p,
.content-item li,
.content-item span {
	font-family: "SF Pro Display Regular", sans-serif !important;
}
.accordionMy-container h1,
.accordionMy-container h2,
.accordionMy-container h3,
.accordionMy-container h4,
.accordionMy-container h5,
.accordionMy-container h6,
.accordionMy-container strong,
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.content strong,
.content-item h1,
.content-item h2,
.content-item h3,
.content-item h4,
.content-item h5,
.content-item h6,
.content-item strong {
	font-family: "SF Pro Display Medium", sans-serif !important;
}


/* footer-fonts-20260923: подвал = основные шрифты сайта */
.footer,
.footer p,
.footer a,
.footer-info__name,
.footer-info__subname,
.footer-info__subname p,
.footer-legal,
.footer-legal a,
.footer-requisites,
.footer-copyright,
.footer-copyright__text,
.fides-cookie-banner,
.fides-cookie-banner p,
.fides-cookie-banner a {
	font-family: "SF Pro Display Regular", sans-serif !important;
}
.footer-title {
	font-family: "SF Pro Display Medium", sans-serif !important;
}


/* contact-map-h600-20260923: карта лаборатории как в конструкторе */
.contact-map {
	height: 600px;
}
.contact-map iframe {
	height: 100% !important;
}


/* footer-req-up-20260923 */
.footer-info__requisites {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: #6c757d;
	font-family: "SF Pro Display Regular", sans-serif;
}


/* banner-oneline-20260923: плашка «с лабораторией Фидес Лаб» в одну строку */
.home-head .title span:not(:first-child),
.title-box .title span:not(:first-child) {
	font-size: 26px !important;
	line-height: 1.25 !important;
	white-space: nowrap !important;
	display: inline-block !important;
	width: auto !important;
	max-width: 100%;
}
@media screen and (max-width: 767px) {
	.home-head .title span:not(:first-child),
	.title-box .title span:not(:first-child) {
		font-size: 18px !important;
	}
}


/* home-video-20260923 */
.home-video .title {
	margin-bottom: 20px;
}
.home-video-slider {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
}
.home-video-swiper {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}
.home-video-card {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.home-video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #eef2f4;
	border-radius: 16px;
	overflow: hidden;
}
.home-video-frame video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	background: #111;
}
.home-video-name { display: none !important;
	margin: 0;
	font-family: "SF Pro Display Medium", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	color: #343a40;
	text-align: left;
	min-height: 2.6em;
}
.home-video-nav {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #1d6b77;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.home-video-nav:hover {
	opacity: .88;
}
.home-video-nav.swiper-button-disabled {
	opacity: .35;
	cursor: default;
}
@media screen and (max-width: 767px) {
	.home-video-slider {
		flex-wrap: wrap;
		justify-content: center;
	}
	.home-video-swiper {
		order: -1;
		width: 100%;
	}
	.home-video-name {
		font-size: 14px;
		min-height: 0;
	}
}
