root, [data-bs-theme=light] {
  --bs-black-color: #2e6b87;
  --bs-super-black-color: #275970;
  --bs-light-black-color: #5085A5;
  --bs-dark-rgb: 39,89,112;
  --bs-light-rgb: 247, 249, 251;
  --bs-footer-color: #275970;
  --bs-white-color: #FFF;
  --bs-white-color-rgb: 255,255,255;
  --bs-black-color-rgb: 49,43,68;
  --bs-super-black-color-rgb: 18,15,24;
  --bs-green-color: #687864;
  --bs-green-color-rgb: 104,120,100;
  --bs-green-color-hover: #72836d;
  --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: 104,120,100;
  /*--bs-green-color: #477161;*/
  /*--bs-green-color-rgb: 71,113,97;*/
}

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

html {
  height: 100%;
}

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

header {
  flex: 0 0 auto;
}

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

footer {
  flex: 0 0 auto;
}

body {
  font-family: 'Open Sans';
}

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: #FFF;
  text-decoration: none;
  opacity: 0.95;
}

.phone-header:hover {
  opacity: 1;
  color: #FFF;
}

.adress-header {
  font-size: 0.9rem;
}

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

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

.logo-bg {
  height: 111px;
  margin-top: 0.65rem;
  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%28255, 255, 255, 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-white-color-rgb), 0.75);
  --bs-navbar-hover-color: rgba(var(--bs-white-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);
}

.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-turquoise-super-black);
}

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

header {
  background: rgb(44,101,127);
  background: linear-gradient(300deg, rgba(44,101,127,1) 0%, rgba(49,112,142,1) 100%);
  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;
}

@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-super-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: #FFF;
  }
}

.smaller {
  font-size: 0.8rem;
}

.background-fone {
  background-color: rgba(23,53,66, 0.5);
}

@media (max-width : 575px) {
  .parallax-bg {
    background: url("../../assets/img/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;
}

.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("../../assets/img/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("../../assets/img/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;
  }
}

.doctors {
  background: rgba(var(--bs-black-color-rgb),0.033);
}

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;
}

.img-kzro {
  max-height: 370px !important;
  width: fit-content !important;
  margin: 0 auto !important;
  max-width: 100% !important;
}

.img-kzro-cat {
  height: 232px !important;
  width: fit-content !important;
  margin: 0 auto !important;
  max-width: 100% !important;
}


/**************/



.modal-content {
   background-color: rgba(var(--bs-light-rgb), 1) !important;
}
.modal-header {
 
    border-bottom: none;
}

.btn-close {
 transition: transform .25s, opacity .25s;
}

.btn-close:hover {
  transform: rotate(270deg);
}

textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
	height: 45px;
	font-size:1rem;
	/*border-radius:0;*/
	padding: 15px;
	color: #333333;
    font-weight: 600;
	
}

textarea.form-control {
    min-height: calc(5.5em + 0.75rem + 2px);
}


.form-group label {
	font-size:0.85rem;
	text-align: left !important;
	padding-bottom: 3px;
	line-height: 1.15;
	}

.input-group {
  margin-bottom: 1rem;
}

.input-group-text {
	background-color: #2e6b87;
	color: #FFF;
	height: 100%;
	border-radius: 0.375rem 0 0 0.375rem;
	padding: .6rem 0.8rem;
	
}

.input-group-text svg {
	width: 1.1rem;
	height: auto;
}

.input-group-addon {
    background-color: #2e6b87;
    color: #FFF;
   /* padding: 6px 10px;*/
    min-width: 43px;
    border-radius: 0.375rem 0 0 0.375rem;
    display: table-cell;
}

select::-moz-placeholder,
textarea::-moz-placeholder,
input[type="text"]::-moz-placeholder,
input[type="password"]::-moz-placeholder,
input[type="datetime"]::-moz-placeholder,
input[type="datetime-local"]::-moz-placeholder,
input[type="date"]::-moz-placeholder,
input[type="month"]::-moz-placeholder,
input[type="time"]::-moz-placeholder,
input[type="week"]::-moz-placeholder,
input[type="number"]::-moz-placeholder,
input[type="email"]::-moz-placeholder,
input[type="url"]::-moz-placeholder,
input[type="search"]::-moz-placeholder,
input[type="tel"]::-moz-placeholder,
input[type="color"]::-moz-placeholder
 {
  color: #ADADAD !important;
  opacity: 1;
  font-weight:normal;
}
select:-ms-input-placeholder,
textarea:-ms-input-placeholder,
input[type="text"]:-ms-input-placeholder,
input[type="password"]:-ms-input-placeholder,
input[type="datetime"]:-ms-input-placeholder,
input[type="datetime-local"]:-ms-input-placeholder,
input[type="date"]:-ms-input-placeholder,
input[type="month"]:-ms-input-placeholder,
input[type="time"]:-ms-input-placeholder,
input[type="week"]:-ms-input-placeholder,
input[type="number"]:-ms-input-placeholder,
input[type="email"]:-ms-input-placeholder,
input[type="url"]:-ms-input-placeholder,
input[type="search"]:-ms-input-placeholder,
input[type="tel"]:-ms-input-placeholder,
input[type="color"]:-ms-input-placeholder {
  color: #ADADAD;
  font-weight:normal;
}
select::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
input[type="text"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder,
input[type="datetime"]::-webkit-input-placeholder,
input[type="datetime-local"]::-webkit-input-placeholder,
input[type="date"]::-webkit-input-placeholder,
input[type="month"]::-webkit-input-placeholder,
input[type="time"]::-webkit-input-placeholder,
input[type="week"]::-webkit-input-placeholder,
input[type="number"]::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder,
input[type="url"]::-webkit-input-placeholder,
input[type="search"]::-webkit-input-placeholder,
input[type="tel"]::-webkit-input-placeholder,
input[type="color"]::-webkit-input-placeholder {
  color: #ADADAD;
  font-weight:normal;
}
/*************/
@media (max-width : 576px) {
.home-page .carousel-item img {
    right: -250px;
    margin:0 auto;
    width:auto !important;
}
}
