@charset "UTF-8";
@import url('../css/reset.css');
@import url('../css/header.css');
@import url('../css/footer.css');
@import url('../css/pagination.css');
@import url('../css/ui.css');
@import url('../css/slick.css');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&display=swap');
@import url('https://maxst.icons8.com/vue-static/landings/line-awesome/line-awesome/1.3.0/css/line-awesome.min.css');

:root {
    --red: #df0b11;
    --blue: #0f254e;
    --light-grey: #ebebeb;
}
html, body {
    width: 100%;
    height: 100%;
    font-size: 14px;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /*background: #fffdf9;*/
}
.main-wrapper {
    display: flex;
    flex-direction: column;
}
main {
    flex-grow: 1;
}
header, main, footer {
    flex-shrink: 0;
}
.text-center {
    text-align: center;
}
._container {
    max-width: 1300px;
    margin: 0px auto;
    padding: 0px 15px;
}
.main-slider {
    margin-bottom: 30px;
    overflow: hidden;
}
.main-slider img {
    width: 100%;
}
.section__title {
    font-size: 30px;
    font-family: 'PT Sans Narrow', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--blue);
}
.page__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--blue);
    font-family: 'PT Sans Narrow', sans-serif;
}
.content-block {
    font-size: 14px;
    line-height: 1.5;
}
.content-block p {
    margin-bottom: 15px;
    text-align: justify;
}
.content-block h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 10px;
}
.content-block h2 {
    font-size: 1.3rem;
}
.content-block table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.content-block table th {
    text-align: left;
    font-weight: 700;
}
.content-block table td {
    padding: 5px 0;
}
.content-block table th,
.content-block table td {
    border-bottom: 1px solid #ddd;
    padding: 5px;
    vertical-align: middle;
}
.content-block table tbody tr:hover {
    background-color: #ddd;
}
.content-block .table .thead-dark {
    background: var(--blue);
    color: #fff;
    vertical-align: middle;
}
.personal-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.personal-cards .card {
    padding: 20px;
    display: flex;
    gap: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 5px 10px rgba(63, 63, 63, 0.1);
}
.personal-cards .card__photo {
    flex: 0 0 190px;
    width: 190px;
    height: 230px;
    border-radius: 5px;
    overflow: hidden;
}
.personal-cards .card__position {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
}
.personal-cards .card__name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}
.personal-cards .card__phone {
    margin-bottom: 10px;
}
.personal-cards .card__scientific_level {
    margin-bottom: 10px;
}
.beadcrumbs {
    margin-bottom: 30px;
}
.beadcrumbs .breabcrumbs__list {
    display: flex;
    gap: 10px;
}
.page-with-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}
.page-with-sidebar .page-sidebar {
    flex-basis: 22rem;
    flex-grow: 1;
}
.page-with-sidebar .page-content {
    flex-basis: 0;
    flex-grow: 999;
    min-inline-size: 50%;
}
.page-content .image-wrapper {
    margin-bottom: 20px;
}
.page-content .text-wrapper {
    line-height: 1.5;
    margin-bottom: 30px;
}
.page-content .text-wrapper b {
    font-weight: 700;
}
.page-content .text-wrapper strong {
    font-weight: 700;
    margin-bottom: 15px;
}
.page-content .text-wrapper ul {
    list-style-type: disc;
    list-style-position: inside;
    margin: 10px 0;
}
.page-with-sidebar .page-nav {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 5px 10px rgba(63, 63, 63, 0.1);
}
.page-with-sidebar .page-nav__item {
    margin-bottom: 10px;
}
.page-with-sidebar .page-nav__link {
    line-height: 1.3;
    transition: .3s;
}
.page-with-sidebar .page-nav__link:hover,
.page-with-sidebar .page-nav__link.active {
    color: var(--blue);
}
.page-with-sidebar .page-nav__title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--blue);
}
/* news page */
.news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.news-cards__card {
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 5px 10px rgba(63, 63, 63, 0.1);
    overflow: hidden;
    transition: all .3s ease;
}
.news-cards__card .news-cards__photo-wrapper img {
    transition: all .3s linear;
}
.news-cards__card:hover .news-cards__photo-wrapper img {
    transform: scale(1.1);
    transition: all .3s linear;
}
.news-cards__photo-wrapper {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.news-cards__body {
    padding: 20px;
}
.news-cards__date-views {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #565656;
    margin-bottom: 10px;
}
.news-cards__date-views > span {
    display: flex;
    gap: 5px;
    align-items: center;
}
.news-cards__date-views .icon {
    font-size: 25px;
    color: var(--blue);
}
.news-cards__title {
    font-weight: 500;
    line-height: 1.5;
}
.news-cards__cta {
    transition: .3s;
}
.news-cards__cta:hover {
    color: var(--blue);
    border-bottom: 1px dashed var(--blue);
    transition: all .3s linear; 
}
.news-single__header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
}
.news-single__image {
    height: 500px;
    margin-bottom: 15px;
}
/* / news page */
.content-wrapper {
    font-size: 14px;
    line-height: 1.5;
    color: #000;
}
.content-wrapper .content-description {
    font-weight: 700;
    margin-bottom: 20px;
}
.content-wrapper p {
    margin-bottom: 15px;
}
/* galleries page */
.page-section .galleries {
    display: grid;
    gap: 30px 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.page-section .galleries .card {
    position: relative;
}
.page-section .galleries .card__image-wrapper {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}
.page-section .galleries .card__info {
    margin-bottom: 10px;
}
.page-section .galleries .card__info i {
    font-size: 20px;
}
.page-section .galleries .card__title {
    font-weight: 600;
    line-height: 1.5;
}
.page-section .galleries .card__title a:hover {
    color: var(--blue);
    border-bottom: 1px dashed var(--blue);
}
/* / galleries page */
/* steps-section */
.steps-section {
    margin-bottom: 50px;
}
.steps-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}
.steps-cards .card {
    flex: 1 1 250px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--blue);
}
.steps-cards .card__icon > * {
    height: 35px;
    width: 35px;
    stroke: var(--red);
    /* animation: pulse 1.5s ease-in-out infinite; */
}
.steps-action {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
}
.steps-action .steps-btn {
    padding: 13px 30px;
    border-radius: 10px;
    font-weight: 500;
    color: #fff;
    background: var(--red);
}
/* --------- */
.news-section {
    margin-bottom: 50px;
}
@keyframes pulse {
	0% {
		opacity: 1;
		transform: scale(1);
	}

	30% {
		opacity: 1;
		transform: scale(1.1);
	}

	60% {
		opacity: 1;
		transform: scale(1.2);
	}

	100% {
		opacity: 0;
		transform: scale(1.2);
	}
}
.steps-cards .card__text {
    font-size: 16px;
    font-weight: 600;
    max-width: 80%;
}
/* / steps-section */
/* contacts page branchs list */
.branchs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}
.branchs-list .branchs-list__item {
    padding: 20px;
    border: 1px solid #ebebeb;
}
.branchs-list .branchs-list__item > * {
    margin-bottom: 5px;
}
.branchs-list .branchs-list__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.branchs-list .branchs-list__item strong {
    font-weight: 600;
}
/* / contacts page branchs list */
.nav-cards-section {
	margin-bottom: 50px;
}
.nav-cards-section .nav-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.nav-cards-section .nav-cards .nav-cards__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	justify-content: center;
	padding: 40px 0;
	color: #fff;
	border-radius: 10px;
}
.nav-cards-section .nav-cards .nav-cards__card .nav-cards__icon svg {
	width: 60px;
	height: 60px;
	transition: transform 0.3s linear;
}
.nav-cards-section .nav-cards .nav-cards__card .nav-cards__title {
	font-size: 16px;
	font-weight: 600;
}
.nav-cards-section .nav-cards .nav-cards__card:hover .nav-cards__icon svg {
	transform: scale(1.2);
}
/* ------------------- */
.useful-section {
	margin-bottom: 30px;
}
.useful-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.useful-cards .useful-cards__card {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 20px;
}
.useful-cards .useful-cards__image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 90px;
}
.useful-cards .useful-cards__title {
	text-align: center;
}
.ymaps-layers-pane {
	filter: grayscale(1);
	-ms-filter: grayscale(1);
	-webkit-filter: grayscale(1);
	-moz-filter: grayscale(1);
	-o-filter: grayscale(1);
}
/* ----------------------- */
.hero-section {
    height: 300px;
    background-image: url('/img/animated_bg.svg');
    background-size: cover;
    color: #fff;
    overflow: hidden;
    position: relative;
    margin-bottom: 50px;
}
.hero-section ._container {
    height: 100%;
    width: 100%;
}
.hero-section .slider {
    height: 100%;
    width: 100%;
}
.hero-section .slider .slick-list {
    height: 100%;
}
.hero-section .slider .slick-track {
    height: 100%;
}
.hero-section .slider .slider__slide {
    height: 100% !important;
    display: flex;
    align-items: center;
}   
.hero-section .slider .slider__heading {
    font-size: 60px;
    font-weight: 600;
    line-height: 1.2;
    transition: all .3s linear;
    max-width: 800px;
}
/* Blood reserves page */
.plasma-reserves .branch {
    margin-bottom: 50px;
}
.plasma-reserves .branch__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.plasma-reserves .branch__reserve-date {
    margin-bottom: 10px;
}
.blood-graph {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.blood-graph .blood-meter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.blood-graph .blood-meter-wrapper {
    border: 3px solid #bebebe;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.blood-graph .blood-meter-inner {
    display: flex;
}
.blood-graph .blood-type {
    padding: 10px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    width: 60px;
    text-align: center;
}
.blood-graph .blood-count {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
}
.blood-graph .fill {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: #ff060c;
}
.branch__reserve-title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}
/* / Blood reserves page */
.visits-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.visits-wrapper .visit {
    border: 1px solid var(--light-grey);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-wrap: wrap;
}
.visits-wrapper .visit__body {
    flex: 1 1 auto;
}
.visits-wrapper .visit h2 {
    font-family: 'PS Sans Narrow', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--blue);
    display: inline-block;
}
.visits-wrapper .visit .visit__location {

    margin-bottom: 10px;
}
.visits-wrapper .visit .visit__body p {
    margin-bottom: 10px;
}
.visits-wrapper .visit__action {
    flex-shrink: 1;
}
.visits-wrapper .visit__action .cta {
    padding: 10px 15px;
    border-radius: 10px;
    color: #fff;
    background: var(--blue);
    display: flex;
    justify-content: center;
    font-weight: 600;
}
.visits-wrapper .visit__action .cta.outline {
    padding: 10px 15px;
    border-radius: 10px;
    color: var(--blue);
    background: #fff;
    border: 1px solid var(--blue);
    display: flex;
    justify-content: center;
    font-weight: 600;
}
.visits-wrapper .visit__title {
    font-family: 'PS Sans Narrow', sans-serif;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 5px;
}
/* ---------------------- */
.profile-section {
    padding: 30px 0;
    background: #ebebeb;
}
.cabinet-sidebar {

}
.cabinet-sidebar .cabinet-sidebar__title {
    font-size: 24px;
    font-weight: 400;
    font-family: 'PS Sans Narrow', sans-serif;
}
.profile-info__item {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 8px 0;
}
.profile-content {
    padding: 20px;
    border-radius: 10px;
    background: #fff;
}
.profile-nav {
    margin-top: 20px;
    border-top: 1px solid #858585;
}
.profile-nav__link {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    padding: 10px;
    color: #565656;
    font-family: 'PS Sans Narrow', sans-serif;
}
.profile-nav__link.active,
.profile-nav__link:hover {
    background: #cccccc;
}
.profile-nav__link .icon {
    font-size: 2rem;
    margin-right: 5px;
    color: var(--red);
}
.profile__title {
    font-family: 'PS Sans Narrow', sans-serif;
}
/* .page-top */
.page-top {
    background-image: url('/img/animated_bg.svg');
    background-size: cover;
    color: #fff;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}
.page-top .page-top__title {
    padding: 50px 0;
    font-size: 40px;
    font-family: 'PS Sans Narrow', sans-serif;
}
/* / .page-top */
.form__title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}
.form__group {
    margin-bottom: 15px;
}
.form .form__label {
    display: flex;
    align-items: flex-end;
    font-weight: 500;
    margin-bottom: 10px;
}
.form .form__label span {
    color: #ff0000;
    font-size: 20px;
    line-height: 22px;
}
.form__control {
    border-radius: 6px;
    background: #fff;
    padding: 10px 15px;
    width: 100%;
    position: relative;
    border: 1px solid var(--light-grey);
}
.form .invalid-feedback {
    color: #ff0000;
    line-height: 22px;
}
.form .form__buttons {
    display: flex;
    gap: 15px;
}
.form hr {
    height: 2px;
    background: var(--light-grey);
    margin: 30px 0;
}
.form .birthdate__inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}
.form .form__date-time {
    display: flex;
    align-items: center;
    gap: 20px;
}
.form .form__date-time > * {
    flex: 1;
}
.application-wrapper {
    padding: 20px 40px;
    max-width: 600px;
    margin: 0 auto;
    background: #fff1f1;
    border-radius: 10px;
}
.form .btn {
    padding: 10px 20px;
    color: #000;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--blue);
}
.form .btn-main {
    border: 1px solid var(--blue);
    background-color: var(--blue);
    color: #fff;
}
.form .btn-outline {
    border: 1px solid var(--blue);
    background: #fff;
    color: var(--blue);
}
.form .btn-outline:hover {
    border: 1px solid var(--blue);
    background: #fff;
    color: var(--blue);
}
.form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 10px;
}
/* --------------- */
.login-wrapper,
.register-wrapper {
    padding: 20px 40px;
    max-width: 600px;
    margin: 0 auto;
    background: #fff1f1;
    border-radius: 10px;
}
/* / --------------- */
/* photos */
.page-content .photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}
.page-content .photos .card__image-wrapper {
    height: 200px;
}
/* / photos */
/*----------------------------------------------------------*/
.popup {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.8);
	top: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	overflow-x: hidden;
	overflow-y: auto;
	transition: all 0.8s ease 0s;
	z-index: 10000;
}
.popup.open {
	opacity: 1;
	visibility: visible;
}
.popup.open .popup__content {
	transform: translate(0px, 0px);
	opacity: 1;
}
.popup__body {
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 10px;
}
.popup__content {
	font-size: 16px;
	color: #707070;
	background-color: var(--white);
	width: 100%;
	max-width: 900px;
	padding: 30px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	position: relative;
	transition: all 0.8s ease 0s;
	opacity: 0;
	transform: translate(0px, -100%);
}
.popup .popup__content_image {
	padding: 0;
}
.popup .popup__image img {
	max-width: 100%;
	vertical-align: top;
}
.popup__column {
	padding: 30px 10px;
}
.popup__close {
	position: absolute;
	right: -30px;
	top: -30px;
	font-size: 25px;
	color: #fff;
}
.popup .order__title {
	font-size: 21px;
    font-weight: bold;
    color: #707070;
    margin-bottom: 20px;
}
.popup .order__back-link a {
	color: var(--main-text);
}
.popup .order__info {
	width: 400px;
	flex-grow: 1;
}
.popup .order__form {
	  /* ↓ Grow from nothing */
	  flex-basis: 0;
	  flex-grow: 999;
	  /* ↓ Wrap when the elements are of equal width */
	  min-inline-size: 50%;
}
.popup .order__text {
	line-height: 1.2;
    color: #707070;
    margin-top: 16px;
    margin-bottom: 16px;
}
.website {
	display: flex;
	justify-content: flex-end;
	padding: 10px 0;
}
.website a {
	color: #fff;
}
.website a:hover {
	color: var(--red);
}
@media (max-width: 1200px) {

}
@media (max-width: 992px) {

}
@media (max-width: 768px) {
    .page-with-sidebar {
        flex-direction: column;
    }
    .page-with-sidebar .page-content {
        flex-basis: auto;
    }
	.nav-cards-section .nav-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
}
@media (max-width: 576px) {
    .personal-cards .card {
        flex-direction: column;
    }
    .personal-cards .card__photo {
        flex: 1 1 auto;
        align-self: center;
    }
    .news-single__image {
        height: 200px;
    }
    .page-with-sidebar .page-content {
        flex-basis: auto;
    }
    .branchs-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
	.nav-cards-section .nav-cards {
		grid-template-columns: repeat(1, 1fr);
	}
	.nav-cards-section .nav-cards .nav-cards__card {
		padding: 20px 0;
	}
	.nav-cards-section .nav-cards .nav-cards__icon svg {
		width: 30px;
		height: 30px;
	}
	.nav-cards-section .nav-cards .nav-cards__title {
		font-size: 14px;
	}
	.useful-cards {
		grid-template-columns: repeat(1, 1fr);
	}
    .hero-section {
        height: 150px;
    }
    .hero-section .slider .slider__heading {
        font-size: 20px;
        max-width: 100%;
    }
    .form .form__buttons {
        flex-direction: column;
    }
    .login-wrapper, .register-wrapper {
        padding: 15px;
    }
}