.tests__section {
  padding-top: 0; }
.tests__body {
  display: flex; }
.tests__sidebar {
  width: 444px;
  margin-right: 34px; }
.tests-sidebar {
  padding-top: 18px;
  padding-bottom: 18px;
  position: sticky;
  top: 80px; }
  .tests-sidebar__item {
    display: block;
    min-height: 43px;
    padding: 12px 34px 8px;
    font-size: 17px;
    cursor: pointer;
    transition: var(--transition-delay); }
    .tests-sidebar__item:hover, .tests-sidebar__item_active {
      background: var(--color-violet);
      color: #fff; }
    .tests-sidebar__item_wait {
      cursor: wait; }
.tests__main {
  flex: 1; }
.tests__search {
  height: 218px;
  padding: 26px 35px;
  background: url(../img/tests/1.png) center center no-repeat;
  background-size: cover;
  margin-bottom: 34px; }
  .tests__search-row {
    display: flex;
    width: 100%; }
  .tests__search-input-wrap {
    flex: 1;
    margin-right: 25px; }
  .tests__search-input {
    background: #fff;
    width: 100%; }
    .tests__search-input + .placeholder {
      color: var(--color-gray); }
.tests__order {
  margin-bottom: 34px; }
.tests-order__row {
  padding: 22px 32px; }
.tests-order__title span:nth-child(1) {
  display: none; }
.tests-order__title span:nth-child(2) {
  display: inline; }
.tests-order .tests-item {
  display: flex;
  font-size: 17px;
  border-top: 1px solid #fff;
  padding: 23px 40px 21px; }
  .tests-order .tests-item__name {
    margin-right: auto; }
  .tests-order .tests-item__price {
    white-space: nowrap;
    font-weight: bold;
    margin-left: 1em; }
  .tests-order .tests-item__delete {
    width: 20px;
    height: 20px;
    background: url(../img/close.svg) center center no-repeat;
    background-size: contain;
    margin-left: 45px;
    cursor: pointer;
    margin-bottom: 2px;
    flex-shrink: 0; }
.tests-order__total {
  display: flex;
  justify-content: space-between;
  color: #fff;
  background: var(--color-blue);
  align-items: center;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding: 19px 89px 19px 32px;
  max-height: 100px;
  transition: var(--transition-delay);
  overflow: hidden; }
  .tests-order__total-price {
    font-size: 22px;
    font-weight: bold;
    margin-top: 7px; }
.tests-order_empty .tests-order__title span:nth-child(1) {
  display: inline; }
.tests-order_empty .tests-order__title span:nth-child(2) {
  display: none; }
.tests-order_empty .tests-order__total {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0; }
.tests__category {
  margin-bottom: 55px; }
  .tests__category-title {
    margin-bottom: 0.7em; }
  .tests__category-grid {
    display: grid;
    grid-gap: 24px 35px;
    grid-template-columns: 1fr 1fr; }
    .tests__category-grid .tests-item {
      min-height: 116px;
      padding: 36px 65px 12px 32px;
      font-size: 17px;
      display: flex;
      position: relative;
      cursor: pointer;
      border: 3px solid var(--color-gray-bg);
      border-radius: var(--border-radius);
      transition: var(--transition-delay); }
      .tests__category-grid .tests-item__name {
        margin-right: auto; }
      .tests__category-grid .tests-item__price {
        font-weight: bold;
        white-space: nowrap;
        margin-left: 2em; }
      .tests__category-grid .tests-item__delete {
        display: none; }
      .tests__category-grid .tests-item__checkbox {
        width: 24px;
        height: 24px;
        position: absolute;
        border-radius: 5px;
        background-color: var(--color-gray-bg);
        right: 20px;
        top: 20px; }
      .tests__category-grid .tests-item__checked {
        border-color: var(--color-violet);
        background: var(--color-violet);
        color: #fff; }
        .tests__category-grid .tests-item__checked .tests-item__checkbox {
          background-position: 55% center;
          background-repeat: no-repeat;
          background-size: 65%;
          background-image: url(../img/checkbox.svg); }

@media (max-width: 1399px) {
  .tests__sidebar {
    width: 344px;
    flex-shrink: 0; } }
@media (max-width: 1199px) {
  .tests__category-grid .tests-item {
    flex-direction: column;
    padding: 20px 65px 12px 20px;
    font-size: 16px; }
    .tests__category-grid .tests-item__price {
      margin-left: 0;
      margin-top: 1em; } }
@media (max-width: 991px) {
  .tests__sidebar {
    width: 300px;
    margin-right: 20px; }
  .tests-sidebar {
    position: static; }
    .tests-sidebar__item {
      padding: 12px 20px 8px; }
  .tests__search-row {
    flex-direction: column; }
  .tests__search-input-wrap {
    margin-right: 0; }
  .tests__search-submit {
    background: var(--color-accent);
    color: #fff; }
    .tests__search-submit:before {
      filter: brightness(5); }
  .tests-order__title {
    font-size: 32px; }
  .tests-order .tests-item {
    padding: 20px 30px 18px; }
  .tests-order__total {
    padding-right: 30px; }
  .tests__category-title {
    font-size: 32px; }
  .tests__category-grid {
    display: block; }
    .tests__category-grid .tests-item {
      margin-bottom: 20px;
      min-height: auto; } }
@media (max-width: 767px) {
  .tests__body {
    flex-direction: column; }
  .tests__sidebar {
    width: 100%;
    margin-right: 0;
    margin-bottom: 14px; }
  .tests__search {
    padding: 26px 18px;
    height: auto;
    margin-bottom: 18px; }
  .tests-order .tests-item {
    padding: 18px; }
  .tests-order__total {
    padding: 18px; }
  .tests__category-grid .tests-item {
    margin-bottom: 14px; } }
@media (max-width: 575px) {
  .tests__body {
    flex-direction: column; }
  .tests__sidebar {
    width: 100%;
    margin-right: 0;
    margin-bottom: 14px; }
  .tests__search {
    padding: 26px 18px;
    height: auto;
    margin-bottom: 18px; }
  .tests-order .tests-item {
    padding: 18px 50px 18px 18px;
    flex-direction: column;
    position: relative; }
    .tests-order .tests-item__name {
      font-size: 16px; }
    .tests-order .tests-item__price {
      margin-left: 0;
      margin-top: 0.5em; }
    .tests-order .tests-item__delete {
      position: absolute;
      top: 18px;
      right: 18px; }
  .tests-order__total {
    padding: 18px; }
  .tests__category-grid .tests-item {
    margin-bottom: 14px; } }

/*# sourceMappingURL=tests.css.map */
