:root {
  --trasparcolor: rgba(7, 57, 103, .7);
  --main: #254B75;
  --newstext: #1371C7;
  --lighttone: #F0F0F0;
  --maintext: #151515;
  --greytext: #808080;
  --darkbackground: #272727;
  --bordercolor: #c5c5c5;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--lighttone);
  font-family: Roboto, sans-serif;
  min-width: 320px;
}

.rating-header {
  top: 0;
  background: rgba(37, 75, 117, 1);
  box-shadow: 0 2px 2px #000;
}

.rating-container {
  padding-top: 70px;
  padding-bottom: 60px;
  width: 1154px;
  background-color: var(--lighttone);
  margin: 20px auto;
}

.main-title {
  text-align: center;
  font-size: 28px;
  padding: 20px 0;
}

.rat-categories {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
}

.rat-cat a {
  text-decoration: none;
  color: var(--main);
  padding: 20px;
}

.rat-cat {
  border: 3px solid var(--main);
  border-radius: 10px;
  transition: .3s;
  font-size: 24px;
  font-weight: 700;
  color: var(--main);
}

.rat-cat:hover {
  background-color: #dfedfc;
  box-shadow: 0 2px 2px #000;
}

.active-cat {
  color: #ffffff;
  background-color: var(--main);
}

.active-cat a {
  color: #ffffff;
}

.active-cat:hover {
  background-color: #3a597e;
  box-shadow: 0 2px 2px #000;
}

.list-info {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.choose-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 400px;
  margin-left: 20px;
}

.input-block {
  padding-top: 20px;
  padding-left: 20px;
}

.img-list,
.text-list {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-color: var(--trasparcolor);
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
}

.list-inactive {
  background-color: var(--main);
  cursor: pointer;
}

.img-list.list-inactive:hover,
.text-list.list-inactive:hover {
  box-shadow: 0 2px 2px #000;
}

.img-list img,
.text-list img {
  width: 30px;
  height: 30px;
}

.list-length {
  padding: 20px;
}

.main-list {
  width: 100%;
  position: relative;
  padding-top: 0px;
  padding-bottom: 20px;
}

.orgContainer {
  width: 100%;
  overflow: hidden;
  height: 55px;
  display: flex;
  flex-direction: column;
  align-items: start;
  position: relative;
  transition: .5s;
  margin-top: 5px;
}

.org-block {
  display: flex;
}

.rating-num {
  width: 40px;
  font-size: 20px;
  text-align: right;
  padding-right: 10px;
}

.org-info {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 470px;
}

.org-info .org-logo {
  width: 100px;
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.org-info .org-logo img {
  max-height: 46px;
  max-width: 100px;
}

.org-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--main);
  text-transform: uppercase;
}

.org-info .org-title {
  color: var(--main);
  font-weight: 700;
  width: 330px;
  padding-left: 10px;
  padding-right: 10px;
  line-height: 1rem;
}

.org-title-min {
  display: none;
}

.org-rating-block {
  width: 630px;
  display: flex;
  justify-content: start;
  align-items: center;
}

.org-rating {
  display: flex;
  justify-content: start;
  align-items: center;
}

.rating-number {
  font-size: 20px;
  margin: 0;
  margin-left: 5px;
  background-color: var(--lighttone);
  z-index: 10;
}

.full-info-open {
  opacity: .5;
  position: absolute;
  right: 10px;
  top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
  transition: .5s;
}

.full-info-open:hover {
  opacity: 1;
  cursor: pointer;
}

.anime {
  transform: rotateX(180deg);
  opacity: 1;
  transition: .5s;
}

.open-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #d3d3d3;
  border: 1px solid #767676;
  display: flex;
  justify-content: center;
  align-items: center;
}

.triangle {
  margin-top: 3px;
  width: 10px;
  height: 10px;
  border-top: 10px solid #767676;
  border-left: 8px solid #d3d3d3;
  border-right: 8px solid #d3d3d3;
}

.add-info {
  margin: 20px auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 18px;
}

.add-info span {
  font-weight: 700;
}

.orgContainer.active {
  background-color: #e7e7e7;
  border: 1px solid #807d7d;
  height: 100px;
  transition: .5s;
  z-index: 97;
}

.gridline-main {
  position: absolute;
  left: 470px;
  top: 0;
  border-left: 1px solid var(--greytext);
  border-right: 1px solid var(--greytext);
  z-index: 0;
  width: 600px;
  height: 100%;
  display: flex;
  justify-content: start;
}

.gridmark-main {
  position: absolute;
  z-index: 98;
  border-left: 1px solid var(--greytext);
  border-right: 1px solid var(--greytext);
  width: 600px;
  display: flex;
  position: sticky;
  top: 80px;
  border-bottom: 1px solid var(--greytext);
}

.gridmark {
  font-size: 24px;
  text-align: center;
  background-color: var(--lighttone);
  margin: 0px;
  border-left: 1px solid var(--greytext);
}

.gridline {
  border-left: 1px solid var(--greytext);
  height: 100%;
  font-size: 24px;
  text-align: center;
}

.gridline1 {
  width: 10%;
  border-left: none;
}

.gridline2 {
  width: 30%;
}

.gridline3 {
  width: 20%;
}

.gridline4 {
  width: 20%;
}

.gridline5 {
  width: 20%;
  border-right: none;
}

.f-main-list {
  width: 100%;
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
  display: none;
}

.f-cont-title-min {
  display: none;
}

.f-orgContainer {
  width: 100%;
  border-bottom: 1px solid var(--greytext);
  display: flex;
  justify-content: start;
  padding-top: 5px;
  padding-bottom: 5px;
}

.f-orgContainer:last-child {
  border-bottom: none;
}

.f-rating-num {
  width: 40px;
  font-size: 20px;
  text-align: right;
  margin: auto 0;
}

.f-org-logo {
  width: 160px;
  margin-left: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-org-info-block {
  display: flex;
  flex-direction: column;
  width: 804px;
  padding-left: 20px;
}

.f-org-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--main);
  height: 60px;
  display: flex;
  justify-content: start;
  align-items: center;
}

.f-info-block {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 20px;
  font-size: 16px;
}

.f-info-block span {
  font-weight: 700;
}

.f-org-mark {
  width: 50px;
  font-size: 32px;
  text-align: center;
  margin: auto 0;
}

.f-rating-number {
  width: 100px;
  font-size: 24px;
  text-align: center;
  margin: auto 0;
}

.hide {
  display: none !important;
}

#f-search {
  display: none;
}

mark {
  background-color: transparent;
  color: red;
}

.no-rating h4 {
  font-size: 14px;
  font-weight: 400;
  color: var(--greytext);
  padding-left: 10px;
}

.rating-empty {
  padding: 28px 0;
  font-size: 18px;
  color: var(--greytext);
}

.rating-track {
  width: 600px;
  height: 20px;
  overflow: hidden;
  flex: 0 0 600px;
  position: relative;
}

.rating-img {
  display: block;
  border: 1px solid var(--greytext);
  background-image: url(../rating/color_scale800х50-2.png);
  background-repeat: no-repeat;
  background-size: 600px 20px;
  background-position: left center;
  height: 20px;
  max-width: 100%;
  box-sizing: border-box;
}