/*   
Theme Name: trip-sochi.ru
Description: Сайт агрегатор мест, которые можно посетить: рестораны, бары, кафе, музеи.
Author: Руслан Шкарбан
Author URI: ваш-URI
Template:
Version: 1.0
*/


body {
	--ffffff: #ffffff;
	--000000: #000000;
	--eceff1: #eceff1;
	--dce1e6: #dce1e6;
	--efe16e: #efe16e;
	--efe16e: #efe16e;
	--ebc96a: #ebc96a;
	--efe8ad: #efe8ad;
	/**/

	--text-normal: #151515;
	--text-seo: #9E9E9E;
	--text-secondary: #8D8D8D;
	--yellow-normal: #F9CF5A;
	--yellow-hover: #FFE36E;
	--yellow-active: #F8C12A;
	--yellow-disabled: #FBE4B3;
	--gray-normal: #EEEEEE;
	--gray-hover: #D6D6D6;
	--gray-active: #BEBEBE;
	--gray-disabled: #EEEEEE;
	--bg-place: #F5F5F5;
	--white: #ffffff;

	font-family: 'Roboto', serif;


}



h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 550;
}

h1.town-title {
	font-size: 3.5rem;
}

a {
	color: var(--000000);
}

.card a {
	text-decoration: none;
}


/*Новые стиди*/
header {
	border-bottom: 3px solid var(--yellow-normal);
}

.img-404 {
	max-height: 350px;
}

.wrapper-place {
	background-color: var(--bg-place);
	padding-top: 48px;
	padding-bottom: 48px;
	border-radius: 30px;
}

.wrapper-place h2 {
	padding-top: 32px;
	padding-bottom: 32px;
	margin: 0;
}

.wrapper-place div.carousel-inner {
	border-radius: 10px;
}

.place-info {
	padding: 32px;
	margin-top: 32px;
	margin-bottom: 32px;
	border-radius: 10px;
	background-color: var(--white);
}

.place-info a {
	text-decoration: none;
}

.place-info a:hover {
	color: var(--yellow-active);
}

.item-info {
	color: var(--text-secondary);
	margin-bottom: 8px;
}

.nav-place {
	display: flex;
	gap: 24px;
	padding-bottom: 24px;
	border-bottom: 2px solid var(--yellow-normal);
}

@media (max-width: 992px) {
	.nav-place {
		display: none;
	}
}


.nav-place a {
	font-size: 20px;
	color: var(--text-secondary);
	text-decoration: none;
}

.nav-place a:hover {
	color: var(--text-normal);
}


.name-place {
	color: var(--text-seo);
}

.title-restaurant {
	margin-top: 32px;
	color: var(--text-normal);
}


.wrapper-type-restaurant {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

ol.breadcrumb a {
	text-decoration: none;
}

.type-restaurant {
	color: var(--text-secondary);
	text-decoration: none;
}

.type-restaurant:hover,
ol.breadcrumb a {
	color: var(--text-normal);
}

.wrapper-speed-info {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 24px;
	margin-bottom: 32px;
}

.wrapper-speed-info p {
	margin: 0;
}


a.btn.btn-yellow {
	background-color: var(--yellow-normal);
	color: var(--text-normal);
}

a.btn.btn-yellow:hover {
	background-color: var(--yellow-hover);
}

a.btn.btn-yellow:active {
	background-color: var(--yellow-active);
	border: none;
}


a.btn.btn-gray {
	background-color: var(--gray-normal);
	color: var(--text-normal);
}

a.btn.btn-gray:hover {
	background-color: var(--gray-hover);
}

a.btn.btn-gray:active {
	background-color: var(--gray-active);
	border: none;
}


.wrapper-menu-link {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wrapper-menu-link a {
	text-decoration: underline;
}

.wrapper-rating-el {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.wrapper-rating-el>div {
	flex: 1 1 calc(25% - 10px);
	/* По умолчанию 4 элемента в ряд (25%) */
	box-sizing: border-box;
}

.wrapper-rating-el a {
	text-decoration: underline;
	font-weight: bold;
}

.wrapper-rating-el p {
	margin: 0;
}


@media (max-width: 480px) {
	.wrapper-rating-el>div {
		flex: 1 1 calc(50%);
		margin-bottom: 10px;
	}
}




/*старые*/
.shadow-block {
	padding-right: 1.5rem;
	padding-left: 1.5rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
	background-color: var(--ffffff);
	border-radius: 0.5rem;
	border: 1px solid var(--dce1e6);
	box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.shadow-block .accordion-header .accordion-button:not(.collapsed) {
	background-color: var(--efe8ad);
	color: var(--000000);
}

.shadow-block .accordion-header .accordion-button:focus {
	border-color: var(--efe8ad);
	box-shadow: var(--efe8ad);
}



.background-yellow {
	background-color: var(--efe8ad);
	color: var(--000000);
}

.btn-yellow:hover {
	background-color: var(--ebc96a);
}


.grade-yellow-block {
	background-color: var(--efe8ad);
	height: 60px;
	width: 60px;
	color: var(--000000);
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px;
	border-radius: 5px;

}

section.block-el div.grade-yellow-block {
	margin-top: -26px;
	margin-right: -12px;
	font-size: x-large;
}

.title-card-block {
	display: flex;
	align-items: center;
	gap: 16px;
}

.wrapper-title-restaurant {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 32px;
	margin-bottom: 8px;
}

.wrapper-title-restaurant h1 {
	margin: 0
}

.block-el {
	background-color: var(--ffffff);
	border-radius: 0.5rem;
	border: 1px solid var(--dce1e6);
	box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

/*
.block-el:first-of-type, .block-el:last-of-type {
    margin-top: 0;
	margin-bottom: 0;
}*/

img.img-card-taxonomy {
	border-radius: 0.5rem 0% 0% 0.5rem;
	width: 100%;
	
	object-fit: cover;
	object-position: center;
}

.description-card {
	margin-top: 0.25rem;
	margin-bottom: 0.5rem;
	display: block;
}

@media screen and (max-width: 1024px) {
	.description-card {
		display: none;
	}
}


@media screen and (max-width: 768px) {
	section.block-el div.grade-yellow-block {
		margin-top: -24px;
		margin-right: -12px;
		font-size: large;
	}

	img.img-card-taxonomy {
		border-radius: 0.5rem 0.5rem 0% 0%;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}


}



.card-restaurant a {
	text-decoration: none;
}

.icon svg,
footer svg {
	width: 40px;
	height: 40px;
	fill: #3D3D3D;
}


.icon svg:hover,
footer svg:hover {
	fill: var(--yellow-hover);
}

.front-page-title {
	color: var(--efe16e);
}

section.angled {
	position: relative;
	border: 0;
	z-index: 1;
}



.bg {
	width: 100%;
	background-image: url(https://via.placeholder.com/150);
	background-repeat: repeat;
}

.svg-wave {
	position: relative;
	bottom: 0;
	width: 100%;
	height: 150px;
	overflow: hidden;
}

.svg-wave svg {
	height: 100%;
	width: 100%;
}

.wrapper-badge-terms a {
	text-decoration: none;
}

.badge-terms {
	background-color: var(--ffffff);
	color: var(--000000);
	padding: 4px 10px;
	border-radius: 15px;
	font-weight: bold;
	border: 1px solid var(--dce1e6);
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075);
	font-size: x-large;
}


footer {
	background-color: #eceff1;
}


.front-page-bg {
	background-image: url(/wp-content/uploads/2024/03/front-page-wall.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #ffffff;
}

.front-page-bg h1 {
	color: #ffffff;
}

.front-page-bg svg {
	fill: #ffffff;
	width: 50px;
	height: 50px;
}


.indent-anchor {
	position: absolute;
	margin-top: -150px;
}

#sorting-select {
	width: fit-content;
	height: 35px;
	padding-left: 15px;
}


@media screen and (min-width: 768px) {
	div.row select#sorting-select {
		width: 100%;
		margin-top: 1rem;
	}

	div.col-lg-3 div div.d-flex.justify-content-end {
		justify-content: start !important;
	}
}

.title-page {
	margin-bottom: 32px;
}

.rounded-10 {
	border-radius: 10px;
}

.image-credit {
	font-size: 12px;
	color: var(--text-seo);
}


.text-footer {
	font-size: 12px;
}

.wrapper-info-site {
	font-size: 12px;
    color: var(--text-secondary);
    margin-top: 24px;
}

.wrapper-link-footer {
	font-size: 14px;
}

.wrapper-link-footer p {
	margin-bottom: 10px;
}

.wrapper-link-footer a {
	text-decoration: none;
}

.wrapper-link-footer a:hover {
	text-decoration: underline;
}

ol.breadcrumb {
	margin: 0;
	font-size: 0.875rem;
}

ol.breadcrumb li.breadcrumb-item {
	padding: 0;
	margin: 0 10px 2px 0;
	display: flex;
	gap: 10px;
}

ol.breadcrumb li.breadcrumb-item:before {
	content: none;
}

ol.breadcrumb li.breadcrumb-item:not(:last-child):after {
	content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='11' height='19' fill='none' version='1.1' viewBox='0 0 11 19' style='&%2310;'%3e%3cpath d='M2 2L9.5 9.5L2 17' stroke='%23FBE4B3' stroke-linecap='round' stroke-linejoin='round' stroke-width='3'/%3e%3c/svg%3e");
}