/*

Theme Name: perevod.spb
Description: Тема для агрегатора бюро переводов в Санкт-Петербурге 
Author: CTR99
Author URI: https://ctr99.ru
Version: 1.0.0

*/
/*Цвета*/
body{
	--white: #FFFFFF;
	--light-gray: #F1EFF1;
	--smoke-gray: #8C8B8C;
	--gray: #D9D9D9;
	--asphalt-gray: #292A2A;
	--blue: #11385B;
	
	--red-line: #bd2035;
	--blue-line: #4f80b8;
	--green-line: #60a467;
	--purple-line: #6910a0;
	--orange-line: #cd7513;
}
/*/Цвета*/

body{
	color: var(--asphalt-gray);
}


h1, h2, h3, h4, h5, h6 {
    color: var(--blue);
}

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

/*Карточка бюро и общий список*/
.bureau-description {
	color: var(--smoke-gray);
}

/*Дополнительные услуги на странице бюро*/
.wrapper-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; 
  align-items: center;
}

.services-marker {
	background-color: var(--gray);
	border-radius: 32px;
	padding: 5px 10px;
	white-space: nowrap;
	font-size: 12px;
	text-wrap: auto;
}

.services-marker a {
	text-decoration: none;
	color: var(--blue);
	font-weight: bold;
}


.bureau-block-info {
	background-color: var(--light-gray);
	border-radius: 32px;
	padding: 15px 40px 60px 40px;
	box-shadow: 3px 3px 10px 0px #00000033;
}


.bureau-block-info.list {
	padding: 15px 40px 30px 15px;
}

@media screen and (max-width: 769px) {
	.bureau-block-info.list {
		padding: 15px 15px 20px 15px;
	}
}


.bureau-block-info {
	margin: 3rem 0;
}

.bureau-block-info:first-of-type, .bureau-block-info:last-of-type {
	margin-top: 0;
}

.grade-blue-block {
	background-color: var(--blue);
	height: 43px;
	width: 45px;
	color: var(--white);
	font-weight: bold;
	display: flex;
	align-items: center;
    justify-content: center;
	padding: 5px;
}

.grade-blue-block.text {
	width: fit-content;
	height: fit-content;
} 

.intermediary {
	margin-top: -16px;
}

.none-grade-block {
	background-color: var(--smoke-gray);
	width: fit-content;
	height: fit-content;
	text-align: center;
	padding: 5px;
	color: var(--white);
	font-weight: bold;
}

.bureau-block-info img {
	 border-radius: 30px;
}

section.bureau-list-el a {
	text-decoration: none;
}

section.bureau-list-el div.grade-blue-block {
	min-width: 60px;
	width: 60px;
    height: 58px;
	font-size: x-large;
	margin-top: -16px;
}

@media screen and (max-width: 769px) {
	section.bureau-list-el div.grade-blue-block  {
		margin-top: 0;
	}
}

.btn-blue {
	background-color: var(--blue);
	color: var(--white);
	font-weight: bold;
	padding: 15px 35px;
	border-radius: 30px;
}

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

/*Стиль для дефолтного аватара*/
.img-none {
	border: 10px solid #11385B;
    border-radius: 30px;
	
}

section.bureau-list-el a.phone {
	text-decoration: underline;
}

/* Иконки через PspbIconRenderer: SVG с fill="currentColor", стилизация через .icon */
.icon {
	color: var(--blue);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.icon svg {
	width: 30px;
	height: 30px;
	fill: currentColor;
}
.icon--metro svg {
	width: 15px;
	height: 12px;
}
.icon--star-rating {
	color: #FF9500;
}
.icon--star-rating svg {
	width: 16px;
	height: 16px;
}
.icon--site svg {
	width: 16px;
	height: 16px;
}
.icon--bureau-confirmed svg,
.icon-bureau-confirmed-information svg {
	width: 26px;
	height: 26px;
}
/* Круг — currentColor (синий), галочка — белая */
.icon--bureau-confirmed svg path,
.icon-bureau-confirmed-information svg path {
	fill: #fff;
}
.icon--bureau-priority svg {
	width: 99px;
	height: 27px;
}
/* Иконка Промо: трапеция и круг — синий #11385B, галочка в круге и текст «Промо» — белые */
.icon--bureau-priority svg > path:nth-of-type(1),
.icon--bureau-priority svg > path:nth-of-type(2) {
	fill: #11385B;
}
.icon--bureau-priority svg g[clip-path],
.icon--bureau-priority svg g[clip-path] path {
	fill: #fff;
}
.icon--bureau-priority svg > path:nth-of-type(3) {
	fill: #fff;
}

.bureau-card img {
	max-width: 96px;
	max-height: 96px;
}

.bureau-card svg {
	max-width: 96px;
	max-height: 96px;
}

/* В карточке списка: галочка «подтверждено» — 10×10, бейдж Промо — 99×27 */
.bureau-card .icon--bureau-confirmed svg,
.bureau-card .icon-bureau-confirmed-information svg {
	width: 10px;
	height: 10px;
	max-width: 10px;
	max-height: 10px;
}
.bureau-card .icon--bureau-priority svg {
	width: 99px;
	height: 27px;
	max-width: 99px;
	max-height: 27px;
}

.wrapper-title-card {
	display: flex;
	align-items: start;
	gap: 2px;
	flex-wrap: wrap;
}

.bureau-card a.card-more-tags {
	font-size: 14px;
	text-decoration: underline;
}

.bureau-card {
	position: relative;
}

.icon-bureau-priority-placement {
	position: absolute;
    top: 6%;
    right: 0%;
}

div.address-information a {
	text-decoration: underline;
}

button.accordion-button {
	background-color: rgba(217, 217, 217, 1);
	color: var(--blue);
}

.bd-example .tooltip-demo .tooltip-inner {
  background-color: #007bff;
  color: #fff;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  /* Другие необходимые стили */
}

.tooltip-inner {
    max-width: 325px;
    background:white;
    border:1px solid var(--gray);
	color:#000;
	margin:0;
	padding:5px;
}

.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-bottom-color: var(--gray);
  border-width: 0 5px 5px;
}

.bs-tooltip-bottom .tooltip-arrow:before {
	border-bottom-color: var(--gray);
}

.bureau-not-working {
	opacity: 0.5;
}

a {cursor:pointer;}

/*Кнопка показать еще*/
a.btn-show-all {
  font-weight: bold;
  text-decoration: underline;
}

select {
	color: var(--blue);
	border: 1px solid var(--gray);
	border-radius: 5px;
	padding: 3px;
}

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


select:focus-visible {
		 outline: none;
}

footer {
background-color: var(--light-gray);
}


.wrapper-progress-rating {
	align-items: center;
	max-width: 530px;
	margin-top: -12px;
}


div.flex-grow-1 div.progress {
	height: 10px;
	width: 100%;
}

div.progress-bar {
	background-color: var(--blue)
}

div.wrapper-progress {
	align-items: center;
}

span.progressbar-text {
	color: var(--blue);
	font-weight: 700;
}



@media screen and (max-width: 575px) {
	.wrapper-progress {
		width: 100%;
	}

	.wrapper-progress-rating {
		align-items: start;
		margin-top: -3px;
	}
}
