root, [data-bs-theme=light] {
  --bs-black-color: #2f6fa7;
  --bs-super-black-color: #2a6497;
  --bs-light-black-color: #3784c7;
  --bs-dark-rgb: 42,100,151;
  --bs-footer-color: #275970;
  --bs-white-color: #FFF;
  --bs-white-color-rgb: 255,255,255;
  --bs-black-color-rgb: 47,111,167;
  --bs-super-black-color-rgb: 42,100,151;
  --bs-primary-rgb: 47,111,167;
  --bs-green-color: #63A088;
  --bs-green-color-rgb: 104,120,100;
  --bs-green-color-hover: #76ac96;
  --bs-green-color-hover-rgb: 114,131,109;
  --bs-super-green-color: #114124;
  --swiper-navigation-size-doctor: 18px;
  --bs-yellow-color: #fc0;
  --bs-link-color-rgb: 18,42,64;
 
}

.fit-cover {
  object-fit: cover;
}

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

header {
  background: linear-gradient(90deg, #2f6fa7 32%, white 32%);
}

@media (max-width : 1024px) {
  header {
    background: linear-gradient(90deg, #2f6fa7 32%, white 32%);
  }
}

 @media (max-width : 800px) and (min-width : 769px){
  header {
    background: linear-gradient(90deg, #2f6fa7 42%, white 32%);
  }
 
 }
  @media (max-width : 800px) and (min-width : 768px){
  .size-800 .card-img-overlay {
  min-height: 230px;
  }
  
 .size-800 .card img {
        object-fit: cover;
        height: 240px;
  }
  }
  
@media (max-width : 768px) {
  header {
    background: linear-gradient(90deg, #2f6fa7 43%, white 43%);
  }
}

@media (max-width : 576px) {
  header {
    background: linear-gradient(90deg, #2f6fa7 75%, white 75%);
  }
}

header {
  flex: 0 0 auto;
  color: var(--bs-white-color);
  font-size: 1.25rem;
  padding-bottom: 0.5em;
}

header .top-contacts {
  background-color: var(--bs-black-color );
}

header .top-contacts a, header .top-contacts a span {
  color: var(--bs-white-color);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Jost", sans-serif;
}

.section-second-page {
  flex: 1 0 auto;
}

footer {
  flex: 0 0 auto;
}

body {
  font-family: "Commissioner", sans-serif;
}

a {
  transition: 0.33s;
  color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
  text-decoration: none;
}

a:hover {
  color: rgba(var(--bs-green-color-hover-rgb), var(--bs-link-opacity, 1));
}

@media (min-width : 450px) and (max-width : 767px) {
  h1 {
    font-size: 1.7rem;
  }
}

.phone-header {
  font-size: 1.1rem;
  color: var(--bs-black-color);
  text-decoration: none;
  opacity: 0.95;
}

.phone-header:hover {
  opacity: 1;
  color: var(--bs-black-color);
}

.adress-header, .adress-header a {
  font-size: 0.9rem;
  color: rgba(var(--bs-black-color-rgb), 1);
}

@media (max-width : 768px) {
  .phone-header {
    font-size: 1.15rem;
  }
}

@media (max-width : 576px) {
  .phone-header {
    font-size: 1.05rem;
  }
}

.logo-bg {
  height: 80px;
  margin-top: -10px;
  position: absolute;
}

@media (max-width : 1024px) {
  .logo-bg {
    margin-top: 0;
    height: 70px;
    position: relative;
  }
}

.navbar {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2847, 111, 167, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  --bs-navbar-color: rgba(var(--bs-black-color-rgb), 0.75);
  --bs-navbar-hover-color: rgba(var(--bs-super-black-color-rgb), 0.99);
  --bs-navbar-nav-link-padding-x: 0.75rem;
  font-size: 1.10rem;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: rgba(var(--bs-white-color-rgb), 1);
  font-family: "Jost", sans-serif;
}

.dropdown-menu {
  --bs-dropdown-inner-border-radius: 0;
  --bs-dropdown-link-color: var(--bs-body-color);
  --bs-dropdown-link-hover-color: var(--bs-body-color);
  --bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: var(--bs-turquoise-super-light);
  border-radius: var(--bs-dropdown-border-radius);
  border: none;
}

.dropdown-toggle::after {
  display: inline-block;
  width: .3em;
  height: .3em;
  margin: -.1em 0 0 .4em;
  vertical-align: middle;
  content: "";
  border: .3em solid;
  border-width: 0 .15em .15em 0;
  transform: rotateZ(45deg);
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  clear: both;
  font-weight: 400;
  color: var(--bs-turquoise-black);
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  border-radius: var(--bs-dropdown-item-border-radius,0);
}

.dropdown-item:focus:hover {
  color: var(--bs-super-black-color);
}

.dropdown-item:hover {
  color: var(--bs-turquoise-super-black);
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-super-black-color);
    text-decoration: none;
    background-color: var(--bs-dropdown-link-active-bg);
}


@media (min-width : 1200px) {
  .offcanvas {
    visibility: visible;
    position: relative;
    background: none;
    border: none;
    justify-content: end;
    color: #22494b;
  }
}

/* Выпадающее по наведению */

@media (min-width : 1200px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

@media (min-width : 1200px) {
  .dropdown > .dropdown-toggle:active {
    pointer-events: none;
  }
}

@media (max-width : 1200px) {
  .offcanvas {
    width: 310px !important;
    background-color: var(--bs-black-color);
  }
}

@media (max-width : 1200px) {
  .bg-navigation {
    background-color: var(--bs-turquoise-black);
  }
}

@media (max-width : 1200px) {
  .dropdown-menu {
    --bs-dropdown-bg: inherit;
    --bs-dropdown-border-color: inherit;
    --bs-dropdown-box-shadow: inherit;
  }
}

@media (max-width : 1200px) {
  .offcanvas-start-xl {
    top: 0;
    left: 0;
    border-right: 1px solid rgba(0, 0, 0, .2);
    transform: translateX(-100%);
  }
}

@media (max-width : 1200px) {
  .navbar-nav li a {
    color: white !important;
  }
}

.smaller {
  font-size: 0.8rem;
}

.background-fone {
  background-color: rgba(31,74,111, 0.5);
}

.card-img-overlay {
  background-color: rgba(40,95,143, 0.85);
}
/*
@media (max-width : 575px) {
  .parallax-bg {
    background: url("fon444.jpg") center / cover !important;
  }
}
*/
.table {
  --bs-table-color: var(--bs-turquoise-dark);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-color-type: var(--bs-turquoise-dark);
  --bs-table-bg-type: #edefec;
}

.table-hover > tbody > tr:hover > * {
  --bs-table-color-state: #FFF;
  --bs-table-bg-state: var(--bs-black-color);
}

.table.table-code {
  font-size: 1rem;
  color: var(--bs-turquoise-dark);
}

td.name {
  text-align: left;
}

td.price {
  text-align: center;
}

.btn-primary {
  border-radius: 0.5rem;
  padding: 0.75rem 2.5rem;
  line-height: 1;
  color: #FFF;
  border: 1px solid var(--bs-green-color);
  margin: 10px;
  text-decoration: none;
  position: relative;
  text-align: center;
  --bs-btn-bg: var(--bs-green-color);
  --bs-btn-border-color: var(--bs-green-color);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--bs-green-color-hover);
  --bs-btn-hover-border-color: var(--bs-green-color-hover);
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-focus-shadow-rgba: 47,100,103, 0.5;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-green-color-hover);
  --bs-btn-active-border-color: var(--bs-green-color-hover);
  text-decoration: none;
  font-weight: 600;
}

.btn-primary:hover {
  text-decoration: none;
}

.navbar .megamenu {
  padding: 1rem;
}

.popular-service {
  position: relative;
  border: 1px solid var(--bs-green-color);
  border-radius: 0.25rem;
  padding: 1rem 1.5rem;
  margin: 0.33rem 0.25rem;
  background: var(--bs-green-color);
  transition: 0.2s;
  background: var(--bs-green-color) url("sector.svg") bottom right / 16px no-repeat;
}

.popular-service a {
  text-decoration: none;
  color: white;
}

.popular-service a h3 {
  line-height: 1;
  margin-bottom: 0 !important;
  font-size: 0.9rem !important;
}

.popular-service:hover {
  position: relative;
  border: 1px solid var(--bs-green-color-hover);
  background: var(--bs-green-color-hover) url("sector-hover.svg") bottom right / 20px no-repeat;
}

@media all and (max-width: 768px) {
  .popular-service a h3 {
    font-size: 0.85rem !important;
  }
}

@media all and (max-width: 768px) {
  .popular-service {
    padding: 0.9rem 1.15rem;
    margin: 0.25rem 0.175rem;
  }
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.top-photo {
  filter: grayscale(50%);
  border-radius: .25rem .25rem 0 0;
}

.top-photo:hover {
  filter: grayscale(0%);
}

.bs-icon.bs-icon-primary {
  color: var(--bs-white);
  background: var(--bs-light-black-color) !important;
}

/* **** */

.item-project {
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  column-gap: 5px;
}

.item-name, .item-info {
  background-color: #FFF;
}

.item-info {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  text-align: end;
}

.item-dotted {
  border-bottom: 1px dotted #ccc;
  flex-grow: 1;
  margin-left: 0.5rem;
}

.model-articul .item-project, .model-articul .item-info {
  font-weight: bolder;
}

.row-hover:hover {
  background: var(--bs-black-color);
  color: #FFF;
  border-radius: 0.375rem;
}

.row-hover .col {
  padding: 0.5rem;
}

.row-hover .item-project {
  margin-bottom: 0;
}

.table.table-code {
  margin-bottom: 0;
}

.btn-outline-primary {
  --bs-btn-color: #FFF;
  --bs-btn-border-color: #FFF;
  --bs-btn-hover-color: #2f6fa7;
  --bs-btn-hover-bg: #FFF;
  --bs-btn-hover-border-color: #FFF;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0d6efd;
  --bs-btn-active-border-color: #0d6efd;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #0d6efd;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #0d6efd;
  --bs-gradient: none;
}

.btn-outline-secondary {
  --bs-btn-color: #63A088;
  --bs-btn-border-color: #63A088;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #63A088;
  --bs-btn-hover-border-color: #63A088;
  --bs-btn-focus-shadow-rgb: 108, 117, 125;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #63A088;
  --bs-btn-active-border-color: #63A088;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #63A088;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #63A088;
  --bs-gradient: none;
}

.service-item {
  padding: 25px 15px 15px;
  margin: 0 -15px;
  display: flex;
  border-bottom: 1px solid #e8e8e8;
}

.service-item__divider:first-child {
  flex: 1 0 60%;
}

.service-item__label, .service-item__price, .service-item__info, .service-item__description {
  font-size: 1rem;
  line-height: 19px;
}

.service-item__label {
  font-weight: 400;
}

.service-item__description {
  margin: 0;
  color: gray;
}

.service-item.js-service-item:hover {
  background-color: #eff5fb;
}

