/*НАВИГАЦИЯ СПРАВА*/
/*система поиска---------------------------------------*/

/*затемнение фона модального окна*/
.modal-backdrop {
	background: #000000 !important;
}

.modal-backdrop.show {
	opacity: .9 !important;
}

/*сброс стиля модального окна*/
#search-modal .modal-content {
	background: none;
	border: none;
	border-radius: 0;
}

/*кнопка закрытия модального окна*/
#search-modal .modal-header {
	padding: 8px;
}

#search-modal .btn-close {
	border-radius: 0;
}

#search-modal .btn-close:hover,
#search-modal .btn-close:focus,
#search-modal .btn-close:active {
	outline: 0;
	outline-offset: 0;
}

/*фон тела модального окна*/
#search-modal .modal-body {
	background-color: rgb(255, 255, 255);
}

/*форма системы поиска*/
.search-form {
	display: flex;
	gap: 20px;

}

.search-container__input {
	width: 100%;
	display: block;
	border: 0;
	border-bottom: 2px solid rgba(0, 0, 0, 0.7);
	font-size: 20px;
	color: rgb(0, 0, 0);
	margin-top: 20px;
	margin-bottom: 20px;
}

.search-container__input:hover,
.search-container__input:focus,
.search-container__input:active {
	outline: 0;
	outline-offset: 0;
	border: 0;
	border-bottom: 2px solid rgba(0, 0, 0, 1);
}

.search-container__button {
	display: block;
	background-color: rgb(0, 0, 0);
	border: none;
	color: rgb(255, 255, 255);
	padding: 12px 24px;
	margin: 12px auto;
}

.search-container__button:hover,
.search-container__button:focus,
.search-container__button:active {
	background-color: rgb(37, 115, 134);
	outline: 0;
	outline-offset: 0;
	color: rgb(255, 255, 255);
}

/*карточки выдаваемые при живом поиске*/
.search-posts {
	margin-top: 12px;
	margin-bottom: 12px;
}

.search-posts .post-item {
	position: relative;
	min-height: 300px;
}

.search-posts .post-thumb {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

.search-posts .post-thumb_bg {
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0), rgb(0, 0, 0));
}

.search-posts .post-title {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
}

.search-posts .post-date {
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
}

.search-posts .post-category {
	position: absolute;
	top: 0;
	right: 0;
}

.search-posts .posts-notfound {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 2rem;
	font-weight: 700;
}