/* Правка к подписи на кнопке - начало */

.header-block .float .links .link a {
  padding: 5px 30px 7px 30px;
}

/* Правка к подписи на кнопке - конец */

/* Правки к галерее фото клиники - начало */

@media screen and (max-width: 500px) {
}

@media screen and (min-width: 501px) and (max-width: 800px) {
  .gallery-block .images {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 20px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
  .gallery-block .images {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 20px;
  }
}

@media screen and (min-width: 1201px) {
}

/* Правки к галерее фото клиники - конец */

/* Правки на значок скролла наверх - начало */

@media screen and (max-width: 1200px) {
  #back-2-top {
    display: flex;
    bottom: 60px;
    right: 20px;
    width: 35px;
    height: 35px;
  }
}

/* Правки на значок скролла наверх - конец */

/* Правка к блоку "Почему нам доверяют?" - начало */

@media screen and (min-width: 680px) {
  .why-trust-block .inner .items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Правка к блоку "Почему нам доверяют?" - конец */

/* Правка к блоку "Комфортное и безопасное лечение" - начало */

@media screen and (min-width: 780px) and (max-width: 1200px) {
  .advantages-block .advantages .advantage {
    display: grid;
    gap: 60px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantages-block .advantages .advantage .img img {
    height: auto;
  }

  .advantages-block .advantages .advantage .img::before {
    height: auto;
  }
}

/* Правка к блоку "Комфортное и безопасное лечение" - конец */

/* Правка к блоку Независимые рейтинги - начало */

@media screen and (min-width: 360px) and (max-width: 700px) {
  .ratings-block .ratings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (min-width: 701px) and (max-width: 900px) {
  .ratings-block .ratings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (min-width: 901px) and (max-width: 1200px) {
  .ratings-block .ratings {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Правка к блоку Независимые рейтинги - конец */

/* Правка для серой звездочки в рейтингах - начало */
.ratings-block .ratings .rating .stars .star:not(.active) {
  filter: grayscale(100%);
}
/* Правка для серой звездочки в рейтингах - конец */

/* бирюзовый цвет шрифта */
.bir {
  color: rgb(88, 187, 202);
}
.bir-d {
  color: rgb(42, 134, 153) !important;
}

.promo-block .inner .title span {
  color: rgb(42, 134, 153) !important;
}

@media screen and (max-width: 1200px) {
  .contacts-and-work-time-block {
    margin-top: 110px;
  }
}

/* Правка блока "Обратившись в клинику "Медцель", Вы получите услуги наиболее высокого..." слева текст и 3 блока - начало */
@media screen and (min-width: 801px) and (max-width: 1200px) {
  .services-block .inner .info {
    width: 300px;
  }
}
/* Правка блока "Обратившись в клинику "Медцель", Вы получите услуги наиболее высокого..." слева текст и 3 блока - конец */

.order-form textarea,
.resume-form textarea {
  border-left: none;
  border-radius: 0;
  border-right: none;
  border-top: none;
  padding: 0;
}

.order-form textarea,
.resume-form textarea {
  background: #fff;
  border-bottom: 1px solid #c9c9c9;
  box-sizing: border-box;
  display: block;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  height: 60px;
  margin: 0;
  outline: 0;
  width: 100%;
}

.order-form textarea::placeholder,
.resume-form textarea::placeholder {
  color: #9f9d9d;
}

.cnt {
  text-align: center !important;
}

.lft {
  text-align: left !important;
}

.blk {
  color: #000000 !important;
}

.f600 {
  font-weight: normal;
}

@media screen and (min-width: 800px) and (max-width: 1200px) {
  form button,
  .order-block a.button {
    max-width: 300px;
  }
}

/* Доработки по кнопкам в форме картинка + текст + кнопка (service-block) - начало*/

@media screen and (min-width: 800px) and (max-width: 1200px) {
  .service-block .content .img {
    max-width: 600px;
  }

  .service-block .order-form div.item-actions {
    display: flex;
    justify-content: center;
  }
}

/* Доработки по кнопкам в форме картинка + текст + кнопка - конец*/

/* Заголовки - начало*/

.html-text h1 {
  margin-bottom: 40px;
  font-size: 44px;
  line-height: 1.1;
  text-align: center;
  font-weight: 600;
  display: block;
}

@media screen and (max-width: 1200px) {
  .html-text h1 {
    margin-bottom: 20px;
    font-size: 24px;
  }
}

.html-text h2 {
  margin-top: 25px;
  margin-bottom: 20px;
  font-size: 34px;
  line-height: 1.1;
  text-align: center;
  font-weight: 500;
  display: block;
}

@media screen and (max-width: 1200px) {
  .html-text h2 {
    margin-bottom: 20px;
    font-size: 22px;
  }
}

.html-text h3 {
  margin-top: 25px;
  margin-bottom: 20px;
  font-size: 28px;
  line-height: 1.1;
  text-align: center;
  font-weight: 500;
  display: block;
}

@media screen and (max-width: 1200px) {
  .html-text h3 {
    margin-bottom: 20px;
    font-size: 20px;
  }
}

/* Заголовки - конец*/

@media screen and (min-width: 601px) {
  .take-care-block .slider .detail .doctor .img img {
    max-height: 400px;
  }
}

@media screen and (min-width: 769px) {
  .method-block .method .img img {
    height: auto;
  }
  .method-block .method .img::before {
    height: auto;
  }
}

/* фон для страницы с патологиями - начало */
body.is-page-pathologies #header .bg {
  background-image: url(../img/bg4-2.jpg);
  background-position: 100%;
  background-size: cover;
}
/* фон для страницы с патологиями - конец */

/* фон для страницы с диагностикой - начало */
body.is-page-diagnostics #header .bg {
  /*background-image: url(../img/bg_diag.jpg);*/
  background-image: url(../img/bg8.jpg);
  background-position: 100%;
  background-size: cover;
}
/* фон для страницы с диагностикой - конец */

/* фон для страницы тест-1 */
body.is-page-main1 #header .bg {
  background-image: url(../img/bg_main_1.jpg);
  background-position: 100%;
  background-size: cover;
}
/* фон для страницы тест-1 */

/* фон для страницы тест-2 */
body.is-page-main2 #header .bg {
  background-image: url(../img/bg_recep_c.jpg);
  background-position: 100%;
  background-size: cover;
}
/* фон для страницы тест-2 */

/* фон для страницы с УЗИ - начало */
body.is-page-uzi #header .bg {
  background-image: url(../img/bg7.jpg);
  background-position: 100%;
  background-size: cover;
}
/* фон для страницы с УЗИ - конец */

/* фон для страницы с анализами - начало */
body.is-page-analiz #header .bg {
  background-image: url(../img/bg9.jpg);
  background-position: 100%;
  background-size: cover;
}
/* фон для страницы с анализами - конец */

/* фон для страницы с анализами - начало */
body.is-page-surg #header .bg {
  background-image: url(../img/bg10.jpg);
  background-position: 100%;
  background-size: cover;
}
/* фон для страницы с анализами - конец */

/* фон для страницы с анализами - начало */
body.is-page-lazer #header .bg {
  background-image: url(../img/bg11.jpg);
  background-position: 100%;
  background-size: cover;
}
/* фон для страницы с анализами - конец */

/* фон для страницы по контрацепции - начало */
body.is-page-contraception #header .bg {
  background-image: url(../img/bg_contraception_1.jpg);
  background-position: 100%;
  background-size: cover;
}
/* фон для страницы по контрацепции - конец */

.block p.text {
  margin-top: 15px;
  margin-bottom: 20px;
}

#center .top30 {
  margin-top: 30px !important;
}

#center .top20 {
  margin-top: 20px !important;
}

#center .top10 {
  margin-top: 10px !important;
}

.mob-adress {
  font-size: 14px;
  line-height: 1.1;
  color: #706d6d;
}

.mob-adress .phone-num {
  font-size: 16px;
}

.breadcrumb {
  font-size: 13px;
  margin: 20px 0px 15px 0px;
  color: #706d6d;
}

.breadcrumb a {
  color: rgb(88, 187, 202);
}

.breadcrumb ul,
.breadcrumb ul li {
  display: flex;
  text-align: center;
}

.breadcrumb ul {
  list-style: none;
}

.breadcrumb ul li:not(:last-child)::after {
  content: "|";
  display: block;
  margin: 0 8px;
}

.html-text img.rside {
  margin: 8px 0px 15px 20px;
}
.html-text img.lside {
  margin: 8px 20px 15px 0px;
}
.html-text img.cside {
  margin: 8px 0px 15px 0px;
}

/* media-запрос для растяжки картинок на малых и миди экранах */
@media (min-width: 320px) and (max-width: 650px) {
  .html-text img.rside,
  .html-text img.lside,
  .html-text img.cside {
    width: 100% !important;
  }
}

.text-block img.round,
.columns-block .html-text img.round {
  border-radius: 20px !important;
}

.nowrap {
  white-space: nowrap;
}
.red {
  color: #ff0000;
}
.cross {
  text-decoration: line-through;
}
.less95 {
  font-size: 95%;
}
.less80 {
  font-size: 80%;
}
.less60 {
  font-size: 60%;
}
.less50 {
  font-size: 50% !important;
}

.lh1 {
  line-height: 0.9 !important;
}

.service-block .content .info {
  padding-bottom: 15px;
}

.btm10 {
  margin-bottom: 10px;
}
.btm20 {
  margin-bottom: 20px;
}

.top10 {
  margin-top: 10px;
}
.top20 {
  margin-top: 20px;
}

.info .text a,
.testimony-2-block .item .text a,
.prices-block .text a,
.works .work .text a,
.results-block .item .text a {
  color: var(--color-main);
  text-decoration: underline;
}

ol,
ul {
  margin-bottom: 10px;
}

hr {
  border: 0;
  height: 1px;
  background: rgb(88, 187, 202);
  opacity: 0.7;
  margin: 15px 0px 20px 0px;
}

div.infoframe {
  display: block;
  margin: 5px 0px 15px 0px;
  padding: 15px 15px 15px 15px;
  border-radius: 20px;
  border: 3px solid rgba(88, 187, 202, 0.5);
}

.html-text .clearfix:before,
body .html-text .clearfix:after {
  content: " " !important;
  display: table !important;
}

body .html-text .clearfix:after {
  clear: both !important;
}

.html-text a.nodecor {
  text-decoration: none !important;
}

.pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 40px;
}

.pagination li a {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 30px;
  justify-content: center;
  letter-spacing: 2px;
  min-width: 30px;
  padding: 0 10px;
  text-align: center;
  font-size: 14px;
}

.pagination li {
  margin-right: 5px;
  border-radius: 20px;
}

.pagination li.active a {
  background: rgb(88, 187, 202, 1);
  border-radius: 5px;
  color: #ffffff;
}

.news_date {
  color: rgb(42, 134, 153);
  font-weight: 600;
  font-size: 90%;
}

body.contact-page .contacts-block .content::after {
  background-image: none;
}

/* tbs */

.tbs {
  /*border-bottom: 1px solid #92c0f3;*/
  display: block !important;
  width: 100% !important;
  padding: 0px 0px 0px 0px;
  margin: 15px 0px 10px 0px;
}

.tbs:before,
.tbs:after {
  content: " ";
  display: table;
}

.tbs:after {
  clear: both;
}

.tbs ul {
  list-style: none;
}

.html-text ul.tbs li::before {
  display: none;
}

.tbs li {
  display: inline-block;
  text-align: center;
  padding: 6px 12px 8px 12px !important;
  margin: 0px 4px 4px 0px;
  float: left;
  background-color: #777777;
  border: 1px solid #777777;
  color: #ffffff !important;
  font-size: 14px !important;
}

.tbs li a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 16px;
}

.tbs > li.active > span {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 16px;
}

.tbs > li.active > a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 16px;
}

.tbs > li > a:hover {
  text-decoration: none;
  color: #ffffff !important;
}

.tbs > li:hover > a {
  text-decoration: none;
  color: #ffffff !important;
}

.tbs > li {
  border-radius: 10px;
}

.html-text ul.tbs li:not(:last-child) {
  margin-bottom: 5px;
}

.tbs > li:hover {
  text-decoration: none;
  color: #fff !important;
  background-color: rgba(42, 134, 153, 0.9);
  border: 1px solid rgba(42, 134, 153, 0.9);
}

.tbs > li.active {
  display: inline-block;
  background-color: rgba(42, 134, 153, 0.9);
  border: 1px solid rgba(42, 134, 153, 0.9);
  color: #ffffff;
}

/* -- tbs */

#center .doctors-grid .doctor .img {
  height: auto;
}

/*.testimony-block .items .item .order a {text-decoration: none!important;}*/

.sidebar-menu-block .block-title {
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
  display: block;
  padding: 10px 16px;
  color: #00aaba;
  font: inherit;
}

#specialButton {
  width: 35px;
}

@media screen and (max-width: 800px) {
  #specialButton {
    width: 25px;
  }
}

#special .special-panel button,
#special-settings-body button {
  display: inline-block;
  min-height: auto;
  height: auto;
  border-radius: 0px;
}

body.no-header-bg #header .bg {
  background-image: none !important;
}

.grey_c {
  color: #666666;
}

.RatingBadgeWidget {
  width: 200px !important;
  height: 50px;
}

.cap {
  text-transform: uppercase;
}
.articl-block {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 10px 0 hsla(0, 0%, 8%, 0.2);
  padding: 5px 20px 20px 20px;
  margin: 15px 0;
}
