/*--------reset css--------*/
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
  max-height: 999999px
}

:root {
  --main-color: #006E84;
  --light-gray-color: #999999;
  --gray-color: #555555;
  --dark-gray-color: #333333;
  --black-color: #000000;
  --green: #009933;
  --red: #ff5555;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block
}

html, body {
  min-width: 320px;
  height: 100%;
}

body {
  position: relative;
  background: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #1b1b1b;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;

}

ol,ul {
  list-style: none
}

blockquote,q {
  quotes: none
}

button {
  font-family: inherit;
  outline: none;
}

blockquote:after,blockquote:before,q:after,q:before {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

select {
  font-family: 'Roboto', sans-serif;
}

button,input,textarea {
  font-family: 'Roboto', sans-serif;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
button:hover,input:hover,select:hover {
  cursor: pointer;
}

input[type="text"]:hover,
input[type="text"]:focus,
textarea:focus,
textarea:hover {
  cursor: text;
}

input[disabled="disabled"]:hover,
input[disabled="disabled"]:focus,
textarea[disabled="disabled"]:focus,
textarea[disabled="disabled"]:hover{
  cursor: not-allowed;
}

input[type="radio"] {
  -webkit-appearance: radio;
  -moz-appearance: radio;
  appearance: radio;
}

textarea[disabled="disabled"] {
  cursor: not-allowed;
}


button::-moz-focus-inner {
  padding: 0;
  border: 0
}

label {
  cursor: pointer
}

a {
  color: #333333;
  color: var(--dark-gray-color);
  font-size: 16px;
  text-decoration: none;
  display: block;
}

a:hover,
a:active,
a:focus {
  text-decoration: underline;
  color: #006E84;
  color: var(--main-color);

}

.clear_fix::after {
  content: "";
  clear: both;
  display: block;
}

a,button,input {
  -webkit-transition: all .3s ease;
  transition: all .3s ease
}

a:hover,button:hover,input:hover {
  cursor: pointer;
}

input,
button,
textarea,
select {
  font: inherit;
}

ul[class],
ol[class] {
  list-style: none;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img {
  max-width: 100%;
  display: block;
}

article > * + * {
  margin-top: 1em;
}

.body-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/*----tab-menu----*/

.__tab-menu {
  width: 100%;
  margin: 0 auto 15px;
  position: relative;
}

.__tab-menu__content {
  border-bottom: 2px solid #ECECEC;
  width: 100%;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

  .__tab-menu__content > * + * {
    margin-left: 15px;
  }

.__tab-menu__item {
  margin-bottom: -2px;
}

.__tab-menu__item:hover .__tab-menu__btn,
.__tab-menu__item:active .__tab-menu__btn,
.__tab-menu__item:focus .__tab-menu__btn {
  color: #006E84;
  color: var(--main-color);
  border-color: #006E84;
  border-color: var(--main-color);
}

.__tab-menu__title {
  color: #000000;
  color: var(--black-color);
  font-size: 14px;
  font-weight: 400;
}

.__tab-menu__btn {
  color: #000000;
  color: var(--black-color);
  font-size: 14px;
  font-weight: 400;
  padding-bottom: 10px;
  background: #fff;
  border-bottom: 2px solid #ececec;
  position: relative;
  max-height: 32px;
}

.__tab-menu__btn-active {
  color: #006E84;
  color: var(--main-color);
  border-color: #006E84;
  border-color: var(--main-color);
  padding-right: 20px;
}

.__tab-menu__btn-active:after {
  display: block;
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  background-size: 14px 14px;
  height: 14px;
  width: 14px;
}

.__tab-menu__more-to-less:after {
  background: url(/resources/img/sorting-more-to-less.svg) no-repeat;
}

.__tab-menu__less-to-more:after {
  background: url(/resources/img/sorting-less-to-more.svg) no-repeat;
}

.__tab-menu__btn[disabled="disabled"] {
  cursor: default;
}

/*----header----*/
.header {
  position: relative;
  background-color: #fff;
  z-index: 15;
}

.header-info {
  height: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-info > * + * {
  margin-left: 30px;
}

.header-info__all-categories {
  background-color: transparent;
  font-size: 15px;
  color: #555555;
  color: var(--gray-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-info__search {
  display: flex;
  flex: 1;
  align-items: center;
  border: 1px solid #ddd;
  height: 40px;
  line-height: 38px;
  border-radius: 8px;
  min-width: 265px;
  position: relative;
}

.header-info__search-input {
  font-family: inherit;
  background-color: #fff;
  height: 38px;
  line-height: 38px;
  padding: 0 10px;
  width: 100%;
  outline: none;
  color: #333333;
  color: var(--dark-gray-color);
  font-size: 15px;
  border-radius: 8px;
}

.header-info__search-block-btn {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  top: 0;
}

.header-info__search-btn-search {
  padding: 0 10px;
  text-align: center;
  height: 38px;
  border-radius: 0 8px 8px 0;
  background-color: #ddd;
  position: relative;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-info__search-word-search {
  margin-left: 8px;
  color: #555555;
  color: var(--gray-color);
  font-size: 15px;
}

.all-categories__btn {
  width: 30px;
  height: 26px;
  position: relative;
  border-radius: 50%;
  background: #fff;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  margin-right: 8px;
}

.all-categories__btn span {
  display: block;
  position: absolute;
  height: 2px;
  width: 25px;
  left: 0px;
  background: #555555;
  background: var(--gray-color);
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.all-categories__btn span:nth-child(1) {
  top: 3px;
}

.all-categories__btn span:nth-child(2),.all-categories__btn span:nth-child(3) {
  top: 11px;
}

.all-categories__btn span:nth-child(4) {
  top: 19px;
}

.all-categories__btn.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.all-categories__btn.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.all-categories__btn.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.all-categories__btn.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.header-info__give-feedback {
  font-size: 14px;
  font-weight: 700;
  color: #006E84;
  color: var(--main-color);
  position: relative;
  padding-left: 28px;
}

.header-info__give-feedback:hover,
.header-info__give-feedback:active,
.header-info__give-feedback:focus {
  text-decoration: underline;
}

.header-info__give-feedback:before {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-55%);
  background: url(/resources/img/give-feedback.svg) no-repeat;
  background-size: 20px 20px;
  height: 20px;
  width: 20px;
}

.header-info__profile {
  display: flex;
  justify-content: space-between;
  background-color: transparent;
  align-items: center;
}

.header-info__profile:hover .header-info__profile-name,
.header-info__profile:active .header-info__profile-name,
.header-info__profile:focus .header-info__profile-name {
  text-decoration: underline;
}

.header-info__profile-img {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  border: 2px solid #006E84;
  border: 2px solid var(--main-color);
  box-sizing: border-box;
}

.header-info__profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.header-info__profile-info {
  height: 33px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.header-info__profile-name {
  font-size: 14px;
  color: #333333;
  color: var(--dark-gray-color);
  font-weight: 700;
  text-align: left;
}

.header-info__profile-rating {
  font-size: 13px;
  color: #555555;
  color: var(--gray-color);
  text-align: left;
}

.header-menu {
  height: 60px;
  background-color: #F4F4F4;
  border: 1px solid #E8E8E8;
}

.top-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.top-menu > * + * {
  margin-left: 10px;
}

.top-menu__link {
  width: 100%;
  max-width: 100px;
  color: #333333;
  color: var(--dark-gray-color);
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.mobile-menu__btn {
  display: none;
  background-color: transparent;
}

.mobile-menu__icon {
  width: 32px;
  height: 32px;
}

.mobile-menu {
  background-color: #fff;
  position: fixed;
  right: 0;
  width: 0;
  z-index: 999;
  height: 100%;
  overflow-x: hidden;
  transition: 0.5s;
}

.active-mobile-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1C1C1C;
  opacity: 0.6;
  z-index: 99;
  position: fixed;
}

.mobile-menu__container {
  padding: 18px 15px 40px;
  display: flex;
  flex-direction: column;
}

.close-menu__icon {
  width: 32px;
  height: 32px;
}

.mobile-menu__container li:first-child {
  padding: 0 0 20px;
  display: flex;
  justify-content: space-between;
}


.mobile-menu__link {
  color: #333;
  color: var(--dark-gray-color);
  padding: .8em 0;
  border-top: 1px solid #eaeaea;
  font-size: 15px;
}

/*----end header----*/
/*----main----*/

.main {
  position: relative;
  padding-top: 30px;
  padding-bottom: 50px;
}

.main-blackout {
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.6);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  position: fixed;
  display: none;
}

.main-blackout--active {
  display: block;
}

.main-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.all-categories {
  position: absolute;
  top: 120px;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #E8E8E8;
  z-index: 15;
  display: none;
}

.all-categories-on-page {
  width: 100%;
  display: block;
  padding-bottom: 30px;
}

.all-categories__open {
  display: block;
}

.all-categories__content {
  display: flex;
}

.all-categories-on-page__content {
  display: block;
}

.all-categories__categories {
  width: 100%;
  max-width: 250px;
  border-right: 2px solid #e8e8e8;
  padding: 30px 0;
}

.all-categories__link {
  color: #000000;
  color: var(--black-color);
  font-size: 16px;
  font-weight: 700;
  box-sizing: border-box;
  transition-property: color,border-color;
  transition-duration: .2s;
  transition-timing-function: ease;
  cursor: pointer;
  padding: 0.75em 0;
  line-height: 1.4;
}

.all-categories__link:hover,
.all-categories__link:active,
.all-categories__link:focus {
  box-shadow: inset -4px 0 0 0 #006E84;
  box-shadow: inset -4px 0 0 0 var(--main-color);
  text-decoration: underline;
}

.subcategories {
  column-count: 3;
  padding-top: 42px;
  margin-left: 30px;
}

.all-categories-on-page__subcategories {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.subcategories-on-page__title:not(:last-child) {
  margin-right: 10px;
}

.subcategories__title {
  color: #000000;
  color: var(--black-color);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0.5em;
}

.subcategories-on-page__title {
  color: #333;
  color: var(--dark-gray-color);
  font-size: 14px;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 8px;
  padding: 4px 8px;
  background-color: #fff;
  margin-bottom: 8px;
}

.subcategories-on-page__title:hover,
.subcategories-on-page__title:active,
.subcategories-on-page__title:focus {
  background-color: #f4f4f4;
  text-decoration: none;
}

.no-subcategories-list .subcategories__title {
  margin-bottom: 1.5em;
}

.subcategories__item {
  overflow: hidden; /* Fix for firefox and IE 10-11  */
  -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
  page-break-inside: avoid; /* Firefox */
  break-inside: avoid; /* IE 10+ */
  break-inside: avoid-column;
}

.subcategories-on-page__item {
  overflow: hidden;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  break-inside: avoid-column;
}

.subcategories__list {
  padding-bottom: 24px
}

.subcategories__list > .subcategories__link + .subcategories__link {
  margin-top: 10px;
} 

.subcategories__link {
  color: #6b6b6b;
  line-height: 1.4;
}

.__title {
  color: #000000;
  color: var(--black-color);
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 700;  
}

.content {
  width: 100%;
  max-width: 870px;
}

.right-block {
  width: 270px;
  min-width: 270px;
  margin-left: 15px;
}

.filter {
  background: #FFFFFF;
  box-shadow: 0px 0px 2px #777;
  border-radius: 8px;
  width: 100%;
  padding: 10px;
  margin-bottom: 30px;
}

.filter__element {
  width: 100%;
}

.filter__property {
  width: 100%;
  background-color: transparent;
  color: #333333;
  color: var(--dark-gray-color);
  font-size: 14px;
  font-weight: 700;
  padding: 0.714em 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.filter__arrow {
  margin-right: 8px;
}

.filter__property-open .filter__arrow {
  transform: scale(1, -1);
}

.filter__property--count {
  background-color: #006E84;
  background-color: var(--main-color);
  color: #fff;
  width: 24px;
  height: 24px;
  font-size: 12px;
  font-weight: 400;
  border-radius: 50%;
  margin-left: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.filter__search {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  height: 40px;
  line-height: 38px;
  border-radius: 8px;
  position: relative;
}

.filter__search-input {
  font-family: inherit;
  background-color: #fff;
  height: 38px;
  line-height: 38px;
  padding: 0 10px;
  width: 100%;
  outline: none;
  color: #333333;
  color: var(--dark-gray-color);
  font-size: 15px;
  border-radius: 8px;
}

.filter__search-block-btn {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
}

.filter__search-btn-search {
  padding: 0 10px;
  text-align: center;
  height: 38px;
  border-radius: 0 8px 8px 0;
  background-color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter__search-btn-search:hover,
.filter__search-btn-search:active,
.filter__search-btn-search:focus {
  background-color: #ddd;
}

.checkbox-list {
  padding: 10px 0; 
}

/* Check */

.check-option {
  display: block;
  margin-bottom: 0.6em;
}

.check {
  padding-left: 1.2em;
  font-size: 14px;
  color: var(--gray-text);
}

.check__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.check__box {
  position: absolute;
  margin-top: 0.2em;
  margin-left: -1.2em;
  width: 0.85em;
  height: 0.85em;
  overflow: hidden;
  border-radius: 0.1em;
  background-color: white;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  box-shadow: 0 0 0 0.1em #999999;
  box-shadow: 0 0 0 0.1em var(--light-gray-color);
}

/* Checked */

.check__input:checked + .check__box {
  background-color: #006E84;
  background-color: var(--main-color);
  background-image: url(/resources/img/check.svg);
  box-shadow: 0 0 0 0.1em #006E84;
  box-shadow: 0 0 0 0.1em var(--main-color);
}

/* Focused */

.check__input:focus + .check__box {
  box-shadow: 0 0 0 0.1em #006E84;
  box-shadow: 0 0 0 0.1em var(--main-color);
}

/* Disabled */

.check__input:disabled + .check__box {
  box-shadow: 0 0 0 0.1em #999999;
  box-shadow: 0 0 0 0.1em var(--light-gray-color);
}

.check__input:checked:disabled + .check__box {
  background-color: #999999;
  background-color: var(--light-gray-color);
}

.checkbox-lisе__show-all {
  background-color: transparent;
  color: #006E84;
  color: var(--main-color);
  text-decoration: none;
  font-size: 15px;
  padding-left: 1.12em;
}

.checkbox-lisе__show-all:hover,
.checkbox-lisе__show-all:active,
.checkbox-lisе__show-all:focus {
  text-decoration: underline;
}

/*----end check----*/

.feedback-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  max-width: 100%;
  margin-bottom: 30px;
}

.feedback-tiles__card {
  background: #FFFFFF;
  box-shadow: 0px 0px 2px #555555;
  box-shadow: 0px 0px 2px var(--gray-color);
  border-radius: 8px;
  width: 100%;
}

  .feedback-tiles__card:hover,
  .feedback-tiles__card:focus,
  .feedback-tiles__card:active {
    box-shadow: 0 2px 25px 0 rgba(0,0,0,.4);
  }

.feedback-tiles__photo-and-rating {
  height: 150px;
  position: relative;
  overflow: hidden;
}

.feedback-tiles__photo {
  width: 100%;
  min-height: 150px;
  height: 100%;
  object-fit: cover;
}

.feedback-tiles__img {
  border-radius: 8px 8px 0 0;
}

.feedback-tiles__rating {
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 0px 8px 0px 0px;
  width: 40px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.feedback-tiles__rating_field {
  width: 55px;
  height: 40px;
  font-size: 16px;
}

.feedback-tiles__rating_bad {
  background: rgba(255, 51, 51, 0.7);
  color: #000000;
  color: var(--black-color);
}

.feedback-tiles__rating_good {
  background: rgba(255, 255, 0, 0.7);
  color: #555555;
  color: var(--gray-color);
}
.feedback-tiles__rating_great {
  background: rgba(115, 223, 48, 0.7);
  color: #555555;
  color: var(--gray-color);
}

.feedback-tiles__text {
  padding: 15px 20px;
}

.feedback-tiles__count-feedback {
  font-size: 13px;
  color: #006E84;
  color: var(--main-color);
  text-align: center;
}

.feedback-tiles__date {
  font-size: 13px;
  color: #333333;
  color: var(--dark-gray-color);
  text-align: center;
}

.feedback-tiles__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  color: #333333;
  color: var(--dark-gray-color);
  margin-top: 0.46em;
  text-align: left;
}

.feedback-tiles__description {
  font-size: 14px;
  line-height: 1.4;
  color: #555555;
  color: var(--gray-color);
  margin-top: 1em;
}

.feedback-tiles__feedback-rate {
  font-size: 13px;
  color: #333333;
  color: var(--dark-gray-color);
  margin-top: 0.77em;
  text-align: center;
}

.feedback__recomendation-2 {
  margin-top: 10px;
}

.__show-more {
  margin: 0 auto 30px;
  width: 250px;
  height: 50px;
  line-height: 48px;
  background: #FFFFFF;
  border: 1px solid #006E84;
  border: 1px solid var(--main-color);
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 15px;
  text-align: center;
  text-transform: uppercase;
  color: #006E84;
  color: var(--main-color);
  display: block;
}

.__show-more:hover,
.__show-more:active,
.__show-more:focus {
  text-decoration: underline;
}

.horizontal-rekl {
  margin-bottom: 30px;
  width: 100%;
  height: 90px;
}

.feedback {
  background: #FFFFFF;
  box-shadow: 0px 0px 2px #555555;
  box-shadow: 0px 0px 2px var(--gray-color);
  border-radius: 8px;
  width: 100%;
  margin-bottom: 30px;
}

.feedback__header {
  height: 46px;
  background: #F5F5F5;
  border-radius: 8px 8px 0px 0px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
}


.feedback__profile {
  display: flex;
  align-items: center;
}

.feedback__profile:hover,
.feedback__profile:active,
.feedback__profile:focus {
  text-decoration: none;
}

.feedback__profile-info {
  height: 33px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.feedback__profile-name {
  font-size: 14px;
  color: #333333;
  color: var(--dark-gray-color);
  font-weight: 700;
  text-align: left;
}

.feedback__profile-rating {
  font-size: 13px;
  color: #555555;
  color: var(--gray-color);
  text-align: left;
}

.feedback__profile:hover .feedback__profile-name,
.feedback__profile:active .feedback__profile-name,
.feedback__profile:focus .feedback__profile-name {
  text-decoration: underline;
}

.feedback__date-and-comments {
  display: flex;
}

.feedback__date,
.feedback__comments {
  margin-left: 20px;
  font-size: 14px;
  color: #555555;
  color: var(--gray-color);
  position: relative;
}

.feedback__date {
  padding-left: 35px;
}

.feedback__comments {
  padding-left: 38px;
}

.feedback__date:before,
.feedback__comments:before {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.feedback__date:before {
  background: url(/resources/img/calendar.svg) no-repeat;
  background-size: 25px 25px;
  height: 25px;
  width: 25px;
}

.feedback__comments:before {
  background: url(/resources/img/feedback-comments.svg) no-repeat;
  background-size: 28px 28px;
  height: 28px;
  width: 28px;
}

.feedback__comments-comments {
  color: var(--main-color);
}

.feedback__content {
  padding: 20px 15px;
  display: flex;
}

.feedback__desc {
  width: 100%;
}

.feedback__profile-img {
  width: 33px;
  min-width: 33px;
  height: 33px;
  min-height: 33px;
  border-radius: 50%;
  margin-right: 10px;
  box-sizing: border-box;
  border: 2px solid #006E84;
  border: 2px solid var(--main-color);
}

.feedback__title-and-rating {
  display: flex;
  margin-bottom: 18px;
  align-items: flex-start;
}

.feedback__title {
  font-size: 24px;
  line-height: 1.4;
  color: #333333;
  color: var(--dark-gray-color);
  font-weight: 700;
  margin-right: 0.5em;
}

.feedback__title-and-rating .rating {
  margin-top: 8px;
}

.feedback__context {
  margin-bottom: 15px;
}

.feedback__text h2 {
  margin-top: 0.6em;
  margin-bottom: 0.2em;
  font-size: 17px;
}

.feedback__text ul {
  list-style: disc;
  padding-left: 35px;
  margin-bottom: .5em;
}

.feedback__text ul li:not(:last-child) {
  margin-bottom: 8px;
}

.feedback__text ol {
  list-style: decimal;
  padding-left: 35px;
  margin-bottom: .5em;
}

.feedback__text ol li:not(:last-child) {
  margin-bottom: 8px;
}

.feedback__text p {
  font-size: 16px;
  line-height: 1.4;
}

.feedback__text p:not(:last-child) {
  margin-bottom: 0.5em;
}

.feedback__text a {
  font-size: 16px;
  color: #006E84;
  color: var(--main-color);
  display: inline-block;
  text-decoration: underline;
}

.feedback__text a:hover,
.feedback__text a:active,
.feedback__text a:focus {
  text-decoration: none;
}

.feedback__subtitle {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  color: var(--dark-gray-color);
  position: relative;
  padding-left: 22px;
  margin-bottom: 0.4em;
}

.advantages .feedback__subtitle:before {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(/resources/img/plus.svg) no-repeat;
  background-size: 17px 17px;
  height: 17px;
  width: 17px;
}

.deficiencies .feedback__subtitle:before {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(/resources/img/minus.svg) no-repeat;
  background-size: 17px 17px;
  height: 17px;
  width: 17px;
}

.comment .feedback__subtitle:before {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(/resources/img/comment.svg) no-repeat;
  background-size: 17px 17px;
  height: 17px;
  width: 17px;
}

.feedback__text {
  font-size: 16px;
  line-height: 1.4;
  color: #333333;
  color: var(--dark-gray-color);
}

.comment__img {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 15px 0;
}

.comment__img > * + * {
  margin-top: 15px;
}

.feedback__footer {
  display: flex;
  justify-content: space-between;
}

.feedback__read-feedback {
  font-size: 14px;
  color: #006E84;
  color: var(--main-color);
  text-decoration: underline;
}

  .feedback__read-feedback:hover,
  .feedback__read-feedback:active,
  .feedback__read-feedback:focus {
    text-decoration: none;
  }

.feedback__recommendations {
  display: flex;
}

.feedback__recommendations {
  margin-right: 0.8em;
  color: #555555;
  color: var(--gray-color);
  font-size: 14px;
}

.feedback__like,
.feedback__dislike {
  position: relative;
  background-color: #fff;
  margin-left: 12px;
  padding-left: 20px;
  height: 14px;
  font-weight: 700;
}

.feedback__like {
  color: #009933;
  color: var(--green);
}

.feedback__dislike {
  color: #ff5555;
  color: var(--red);
}

.feedback__like-recommendations {
  color: #555555;
  color: var(--gray-color);
  font-weight: 400;
}

.feedback__dislike-recommendations {
  color: #555555;
  color: var(--gray-color);
  font-weight: 400;
}

.feedback__like:before {
  background: url(/resources/img/like.svg) no-repeat;
}

.feedback__dislike:before {
  background: url(/resources/img/dislike.svg) no-repeat;
}

.feedback__like:before,
.feedback__dislike:before {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-size: 14px 14px;
  height: 14px;
  width: 14px;
}

.feedback__like:hover,
.feedback__dislike:hover {
  color: #006E84;
  color: var(--main-color);
  text-decoration: underline;
}

.feedback__photo {
  margin-left: 30px;
  min-width: 200px;
}

.feedback__img {
  display: grid;
  grid-template-columns: repeat(auto-fill, 90px);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.feedback__img-link {
  width: 90px;
  height: 90px;
  overflow: hidden;
}

.feedback__img-link > img  {
  max-width: auto;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.feedback__img > img {
  width: 90px;
  height: 90px;
}

.feedback__more-photo {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #555555;
  color: var(--gray-color);
  text-decoration: underline;
}

.feedback__more-photo:hover,
.feedback__more-photo:active,
.feedback__more-photo:focus {
  text-decoration: none;
}

.popular-categories {
  margin-top: 50px;
}

.popular-categories__categories {
  display: flex;
  flex-wrap: wrap;
}

.popular-categories__link {
  font-size: 15px;
  margin-right: 20px;
  margin-bottom: 10px;
  color: #555555;
  color: var(--gray-color);
}

.breadcrumbs {
  display: flex;
  margin-bottom: 15px;
  justify-content: space-between;
  align-items: flex-start;
}

.breadcrumbs__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
}

.breadcrumbs__link {
  font-size: 14px;
  line-height: 1.4;
  color: #565656;
  position: relative;
  margin-right: 8px;
  padding-top: .4em;
  padding-bottom: .4em;
}

.breadcrumbs__link:not(:last-child) {
  padding-right: 14px;
}

.breadcrumbs__link:not(:last-child):after {
  display: block;
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid #565656;
  box-sizing: border-box;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.brebreadcrumbs__subscribe {
  margin-left: 20px;
}

.subscribe__btn {
  background-color: transparent;
  color: #006E84;
  color: var(--main-color);
  font-size: 14px;
  line-height: 1.4;
  padding-top: .4em;
  padding-bottom: .4em;
  padding-left: 2em;
  position: relative;
  white-space: nowrap;
}

.subscribe__btn:before {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-size: 20px 20px;
  height: 20px;
  width: 20px;
  background: url(/resources/img/not-subscribe.svg) no-repeat;
}

.subscribe:before {
  background: url(/resources/img/subscribe.svg) no-repeat;
}

.subscribe__btn:hover,
.subscribe__btn:active,
.subscribe__btn:focus {
  text-decoration: underline;
}

.feedback-page__desc {
  display: flex;
}

.feedback-page__img {
  width: 100%;
  max-width: 340px;
  position: relative;
}

.feedback-page__img img {
  width: 100%;
  border-radius: 8px;
  height: 100%;
  object-fit: cover;
}

.feedback-page__characteristic {
  margin-left: 30px;
  width: 100%;
}

.feedback-page__recommendations {
  font-weight: bold;
  font-size: 15px;
  color: #333333;
  color: var(--dark-gray-color);
  margin-bottom: 8px;
}

.feedback-page__progress-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 50px;
  grid-row-gap: 10px;
}

/*----progress bar----*/

.progress {
  width: 100%;
  max-width: 220px;
}

.progres__info {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.progress__name,
.progress__count {
  font-size: 14px;
  color: #333333;
  color: var(--dark-gray-color);
}

.progress-wrapper {
  background: #E8E8E8;
  border-radius: 8px;
  width: 100%;
  height: 5px;
  position: relative;
  margin-top: 6px;
}

.progress-bar {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 5px;
  border-radius: 8px;
}

/*85-100*/
.progress-bar__great {
  background-color: var(--green);
}
/*70-84*/
.progress-bar__good {
  background-color: #8BB11D;
}
/*60-69*/
.progress-bar__satisfactorily {
  background-color: #FFCC33;
}

/*0-59*/
.progress-bar__bad {
  background-color: #ff5555;
  background-color: var(--red);
}

/*----end progress bar----*/

.average-score {
  display: flex;
  align-items: flex-end;
}

.average-score__title {
  color: #333333;
  color: var(--dark-gray-color);
  font-size: 14px;
  margin-right: 1em;
}

.all-feedback {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
}

.all-feedback__title {
  color: #333333;
  color: var(--dark-gray-color);
  font-size: 14px;
}

.all-feedback__count {
  font-size: 14px;
  color: #006E84;
  color: var(--main-color);
  padding-left: 10px;
  font-weight: 700;
}

.share {
  margin-top: 25px;
  display: flex;
}

.share__title {
  color: #333333;
  color: var(--dark-gray-color);
  font-size: 14px;
}

.share__social-networks {
  display: flex;
}

.share__link {
  margin-left: 10px;
  background: transparent;
}

.recommendation-feedback {
  display: flex;
  margin-top: 10px;
}

.recommendation-feedback__title {
  font-size: 14px;
  color: #333333;
  color: var(--dark-gray-color);
}

.recommendation-feedback__like,
.recommendation-feedback__dislike {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  height: 14px;
  margin-left: 10px;
  font-weight: 700;
  background-color: transparent;
}

.recommendation-feedback__like {
  color: var(--green);
}

.recommendation-feedback__dislike {
  color: #ff5555;
  color: var(--red);
}

.recommendation-feedback__like:before {
  background: url(/resources/img/like.svg) no-repeat;
}

.recommendation-feedback__dislike:before {
  background: url(/resources/img/dislike.svg) no-repeat;
}

.recommendation-feedback__like:before,
.recommendation-feedback__dislike:before {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-size: 14px 14px;
  height: 14px;
  width: 14px;
}


.recommendation-feedback__like:hover,
.recommendation-feedback__dislike:hover {
  text-decoration: underline;
}

.add-feedback {
  margin: 15px 0 0 0;
}

/*----offers-in-your-city----*/
.offers-in-your-city {
  margin-top: 20px;
  width: 100%;
  margin-bottom: 20px;
}

.offers-in-your-city__title {
  font-size: 24px;
  color: #000000;
  color: var(--black-color);
}

/* Rating */

.rating {
  padding: 0;
  border: none; 
}

/* Group */

.rating__group {
  position: relative;
  width: 6.25em;
  height: 1.25em;
  background-image: url(/resources/img/off.svg);
  background-size: 1.25em 1.125em;
  background-repeat: repeat-x;
}

/* Input */

.rating__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Star */

.rating__star {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  height: 1.25em;
  background-size: 1.25em 1.125em;
  background-repeat: repeat-x;
}

.rating__input:checked + .rating__star {
  background-image: url(/resources/img/on.svg);
}

/* Options */

.rating__star:nth-of-type(1) {
  z-index: 5;
  width: 1.25em;
}

.rating__star:nth-of-type(2) {
  z-index: 4;
  width: 2.5em;
}

.rating__star:nth-of-type(3) {
  z-index: 3;
  width: 3.75em;
}

.rating__star:nth-of-type(4) {
  z-index: 2;
  width: 5em;
}

.rating__star:nth-of-type(5) {
  z-index: 1;
  width: 6.25em;
}

.rating__star:hover {
  cursor: default;
}

/*----end rating----*/

.comments {
  background: #FFFFFF;
  box-shadow: 0px 0px 2px #555555;
  box-shadow: 0px 0px 2px var(--gray-color);
  border-radius: 8px;
  width: 100%;
  margin-bottom: 30px;
  margin-top: 30px;
}

.comments__header {
  height: 46px;
  background: #F5F5F5;
  border-radius: 8px 8px 0px 0px;
  padding: 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
}

.comments__title {
  font-size: 14px;
  color: #535F69;
  font-weight: 700;
}

.sorting {
  margin-left: 40px;
  font-size: 14px;
  color: #535F69;
  display: flex;
}

.comment-sorting__media {
  display: none;
  background-color: transparent;
}

.sorting__btn {
  font-size: 14px;
  color: #535F69;
  margin-left: 15px;
  background-color: transparent;
}

.sorting__btn:hover,
.sorting__btn:active,
.sorting__btn:focus {
  color: #006E84;
  color: var(--main-color);
  text-decoration: underline;
}

.sorting__btn-active {
  font-weight: 700;
  color: #006E84;
  color: var(--main-color);
  padding-right: 20px;
  position: relative;
}

.sorting__btn-active:after {
  display: block;
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-size: 14px 14px;
  height: 14px;
  width: 14px;
}

.sorting__more-to-less:after {
  background: url('/resources/img/sorting-more-to-less.svg') no-repeat;
}

.sorting__less-to-more:after {
  background: url('/resources/img/sorting-less-to-more.svg') no-repeat;
}

.comments__content {
  padding: 20px 15px;
  display: flex;
}

.comments__desc {
  width: 100%;
}

.comments__comment {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
}

.comment__profile {
  width: 100%;
  max-width: 26px;
  margin-right: 15px;
}

.write-comment {
  width: 100%;
}

.write-comment__textarea {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid #d6d6d6;
  font-size: 15px;
  color: #555555;
  color: var(--gray-color);
  resize: none;
  height: 26px;
  min-height: 26px;
  overflow: hidden;
  box-sizing: border-box;
}

.write-comment__textarea:hover,
.write-comment__textarea:active,
.write-comment__textarea:focus {
  outline: none;
  border-color: #006E84;
  border-color: var(--main-color);
}

.write-comment__buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.write-comment__cancel {
  background-color: transparent;
  color: #555555;
  color: var(--gray-color);
  font-size: 15px;
  padding: 0.6em 1em;
  text-decoration: none;
}

.write-comment__cancel:hover,
.write-comment__cancel:active,
.write-comment__cancel:focus {
  color: #006E84;
  color: var(--main-color);
  text-decoration: underline;
}

.write-comment__send {
  background-color: #006E84;
  background-color: var(--main-color);
  color: #fff;
  font-size: 15px;
  padding: 0.6em 1em;
  border-radius: 4px;
}

.write-comment__send:hover,
.write-comment__send:active,
.write-comment__send:focus {
  background-color: #005e71;
  text-decoration: underline;
}

.comment-on-feedback {
  display: flex;
  width: 100%;
  margin-bottom: 30px;
}

.comment-on-feedback__profile-name {
  font-size: 14px;
  color: #000000;
  color: var(--black-color);
  font-weight: 700;
  text-align: left;
}

.comment-on-feedback__profile-name:hover,
.comment-on-feedback__profile-name:active,
.comment-on-feedback__profile-name:focus {
  color: #000000;
  color: var(--black-color);
}

.comment-on-feedback__date {
  color: #555555;
  color: var(--gray-color);
  font-size: 13px;
}

.comment-on-feedback__rating {
  font-size: 13px;
  color: #555555;
  color: var(--gray-color);
  text-align: left;
}

.comment-on-feedback__text {
  font-size: 15px;
  line-height: 1.4;
  color: #333333;
  color: var(--dark-gray-color);
  margin-top: 0.71em;
}

.comment-on-feedback__buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.comment-on-feedback__like {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  height: 14px;
  color: #555555;
  color: var(--gray-color);
  background-color: transparent;
}

.comment-on-feedback__like:before {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(/resources/img/like.svg) no-repeat;
  background-size: 14px 14px;
  height: 14px;
  width: 14px;
}

.comment-on-feedback__dislike {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 14px;
  margin-left: 15px;
  color: #555555;
  color: var(--gray-color);
  background-color: transparent;
}

.comment-on-feedback__dislike:before {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(/resources/img/dislike.svg) no-repeat;
  background-size: 14px 14px;
  height: 14px;
  width: 14px;
}

.reply-to-comment {
  margin-left: 15px;
  background-color: transparent;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  color: #555555;
  color: var(--gray-color);
}

.reply-to-comment:hover,
.reply-to-comment:active,
.reply-to-comment:focus {
  color: #006E84;
  text-decoration: underline;
  color: var(--main-color);
}

.comment-on-feedback__complain {
  background-color: transparent;
  font-size: 14px;
  text-decoration: none;
  color: #555555;
  color: var(--gray-color);
}

.comment-on-feedback__complain:hover,
.comment-on-feedback__complain:active,
.comment-on-feedback__complain:focus {
  color: #006E84;
  text-decoration: underline;
  color: var(--main-color);
}

.responses-to-feedback {
  background-color: transparent;
  margin-top: 10px;
  padding-left: 18px;
  color: #006E84;
  font-size: 13px;
  color: var(--main-color);
  text-decoration: none;
  position: relative;
}

.responses-to-feedback:hover, 
.responses-to-feedback:active, 
.responses-to-feedback:focus {
  text-decoration: underline;
} 

.responses-to-feedback:before {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-size: 10px 10px;
  height: 10px;
  width: 10px;
}

.responses-to-feedback__hide:before {
  background-image: url('/resources/img/responses-to-feedback-hide.svg');
}

.responses-to-feedback__active:before {
  background-image: url('/resources/img/responses-to-feedback-active.svg');
}

.subcomment {
  display: flex;
  width: 100%;
  margin: 15px 0;
}

.subcomment__author {
  color: #006E84;
  color: var(--main-color);
  display: inline-block;
}

/*----footer----*/

.footer {
  background: #f4f4f4;
  padding: 60px 0;
  margin-top: auto;
}

.footer__logo-img {
  height: 70px;
}

.footer-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.footer__row {
  display: flex;
  justify-content: flex-end;
}

.footer__row > * + * {
  margin-left: 20px;
}

.footer__row:not(:first-child) {
  margin-top: 15px;
}

.footer__link {
  font-size: 20px;
  line-height: 1.5;
  color: #333333;
  color: var(--dark-gray-color);
  text-decoration: none;
}

@media screen and (max-width: 1060px) {
  .feedback-page__characteristic {
    width: 100%;
  }

  .progress {
    max-width: 100%;
  }

  .header-info > * + * {
    margin-left: 20px;
  }

}

@media screen and (max-width: 930px) {
  .main-container {
    flex-wrap: wrap;
  }

  .content {
    max-width: 100%;
  }

  .right-block {
    margin-left: 0;
    margin-top: 40px;
  }

  .header-info__all-categories,
  .header-info__search,
  .header-info__give-feedback,
  .header-info__profile,
  .header-menu {
    display: none;
  }

  .header {
    background-color: #F4F4F4;
    position: fixed;
    width: 100%;
  }

  .main {
    padding-top: 80px;
  }

  .feedback-page__progress-container {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }

  .feedback-tiles__photo-and-rating {
    height: 190px;
  }

  .breadcrumbs {
    flex-wrap: wrap;
  }

  .brebreadcrumbs__subscribe {
    margin-left: 0;
  }

  .mobile-menu__btn {
    display: block;
  }

}

@media screen and (max-width: 780px) {
  .sorting {
    display: none;
  }

  .__tab-menu {
    display: none;
  }

  .comments__header {
    justify-content: space-between;
  }

  .comment-sorting__media {
    display: block;
  }

  .footer {
    padding: 30px 0;
  }

  .footer-container__column {
    width: 100%;
  }

  .footer__row {
    display: block;
  }

  .footer__link {
    margin-bottom: 0.5em;
  }

  .footer__row > * + * {
    margin-left: 0;
    margin-top: 0;
  }

  .footer__row:not(:first-child) {
    margin-top: 0;
  }
}

@media screen and (max-width: 680px) {
  .feedback-page__desc {
    flex-wrap: wrap;
  }

  .feedback-page__img {
    max-width: 100%;
  }

  .feedback-page__characteristic {
    margin-left: 0;
    margin-top: 30px;
  }

  .header-info__profile-info {
    display: none;
  }

  .feedback__title-and-rating {
    flex-wrap: wrap;
  }

  .footer-container {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer__logo {
    margin-bottom: 30px;
  }

  .feedback-tiles__photo-and-rating {
    height: auto;
    max-height: 230px;
  }

  .feedback__content {
    flex-wrap: wrap;
  }

  .feedback__photo {
    margin-left: 0;
    margin-top: 30px;
    width: 100%;
  }

  .feedback__footer {
    display: block;
  }

  .feedback__date--span,
  .feedback__comments--span {
    display: none;
  }

  .feedback__recommendations {
    margin-left: 0;
    margin-top: 10px;
  }

  .feedback__more-photo {
    text-align: left;
  }

}

@media screen and (max-width: 600px) {
  .feedback-tiles__card {
    max-width: 100%;
  }

  .feedback-tiles__photo {
    width: 100%;
  }

  .feedback__img .feedback__img-link:nth-child(3) img,
  .feedback__img .feedback__img-link:nth-child(4) img {
    margin-top: 0;
  }
}

@media screen and (max-width: 520px) {
  .feedback__date-and-comments {
    flex-wrap: wrap;
    justify-content: flex-end;
    height: 33px;
  }

  .feedback__comments,
  .feedback__date {
    font-size: 12px;
    padding-left: 20px;
    display: flex;
    align-items: center;
  }

  .feedback__profile-name,
  .feedback__profile-rating {
    font-size: 12px;
  }

  .feedback__comments:before {
    background: url(/resources/img/feedback-comments-media.svg) no-repeat;
    background-size: 14px 14px;
    height: 14px;
    width: 14px;
  }

  .feedback__date:before {
    background: url(/resources/img/calendar-media.svg) no-repeat;
    background-size: 14px 14px;
    height: 14px;
    width: 14px;
  }

}