/* USER VARIABLES */

:root {
  --index: calc(1vw + 1vh); 
	--accent-colour: #DEBB91;
	--secondary-colour: #343C43;
  --neutral-dark-colour: #ADB5BD;
	--backgrnd-colour: #343C43;
	--text: #757575;
	--regular-text: 16px;
	--lineheight: 1.65;
	--userfont: Roboto-Light-S;
	--systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --swiper-theme-color: #DEBB91 !important;
}

/*Обнуление START*/
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

a{
  text-decoration: none;
}

ul,
ol,
li{
  list-style: none;
}

img{
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

h1 {
  font-family: Inter-S;
  text-transform: uppercase;
  color: var(--secondary-colour);
  font-size: calc(var(--index) * 1.95); /*23px*/
}

h2 {
  font-family: Inter-S;
  color: var(--accent-colour);
  font-size: calc(var(--index) * 1.35); /*16px*/
}

button {
  font-family: Inter-S;
  display: inline-block;
  padding: 10px 16px;
  text-transform: uppercase;
  border: 2px solid #CED4DA;
  border-radius: 20px;
  background-color: #fff; 
  color: var(--secondary-colour);
  cursor: pointer;
  transition: background-color 0.3s ease; 
}

/* FONTS*/

@font-face {
	font-family: Inter-S; 
	src: url(../fonts/Inter-Bold.woff2);
}

@font-face {
	font-family: Roboto-Light-S; 
	src: url(../fonts/Roboto-Light.woff2);
}

@font-face {
	font-family: Roboto-Bold-S; 
	src: url(../fonts/Roboto-Bold.woff);
}

@font-face {
	font-family: Roboto-Regular-S; 
	src: url(../fonts/Roboto-Regular.woff2);
}

/* GENERAL CSS SETTINGS */

body {
	font-family: var(--userfont);
	font-size: var(--regular-text);
	color: var(--text);
	min-width: 320px;
	position: relative;
	overflow-x: hidden;
}
/* Container Chameleon */
 .container { 
  width: 100%; 
  margin-left: auto; 
  margin-right: auto; 
  padding-left: 0.5rem; 
  padding-right: 0.5rem; 
  }  

/* USER STYLES */

/*HEADER Start*/
.header__container{
  max-width: 1180px;
  margin: 0px auto;
  padding: 0px 10px; /*верх-низ/слева-справа*/
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background-color: white;
}


.header:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 2;
}

.header__body {
  position: relative;
  display: flex;
  justify-content: space-between;
  height: 80px;
  align-items: center;
}
.header__logo {
  flex: 0 0 75px;
  overflow: hidden;
  z-index: 3;
}
.header__logo img {
  max-width: 100%;
  display: block; /*чтобы не подрезалась картинка*/
}

.header__icons {
z-index: 2;
margin-left: calc(var(--index) * 4);
}

.header__icons img {
  width: 1.6rem;
}

.header__icons .header-locations{
  margin-right: calc(var(--index) * 1.4); 
}

.header__burger {
  display: none;
}

.header__list {
  display: flex;
  position: relative;
  z-index: 2;
}

.header__list li {
  list-style: none;
  margin: 0px 0px 0px 20px;
}

.header__list a {
  color: var(--secondary-colour);
  font-family: Inter-S; 
}

.header__link {
  color: #fff;
  text-transform: uppercase;
  font-size: 18px;
  text-decoration: none;
}

.header__menu.active .header__contacts {
  background: #F1F3F5;
  width: 100%;
  height: 90vw;
}

.header__menu.active .header__contacts  {
  position: fixed;
  bottom: 0;
}

.header__contacts img {
  width: 25px;
}

.header__contacts-adress,
.header__contacts-phone,
.header__contacts-mail {
  display: flex;
  padding-top: 30px;
  padding-top: calc(var(--index) * 2.2); /*30px*/
}

.header__contacts-phone,
.header__contacts-mail {
  align-items: center;
}

.header__contacts-mode p,
.header__contacts-phone p,
.header__contacts-mail p {
  margin-left: calc(var(--index) * 0.8);
}

.header__contacts-adress a {
  pointer-events: none;
}


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

body.lock {
  overflow: hidden; /*запрет скрола при открытом меню*/
}

.header__body {
  height: 50px;
}

.header__burger {
  display: block;
  position: relative;
  width: 25px;
  height: 25px;
  z-index: 3;
  cursor: pointer;
  /* padding: 10px 35px 16px 0px; */
  padding: 12px 30px 16px 0px;
}

/* Кнопка Бургер Анимированная START*/
.header__burger span,
.header__burger span:before,
.header__burger span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 3px;
  width: 30px;
  background: var(--neutral-dark-colour);
  position: absolute;
  display: inline-block;
  content: '';
}

.header__burger span:before {
  top: -10px;
}

.header__burger span:after {
  bottom: -10px;
}

.header__burger span,
.header__burger span:before,
.header__burger span:after {
  -webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -moz-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -o-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.header__burger.active span {
  background-color: transparent;
}

.header__burger.active span:before,
.header__burger.active span:after {
  top: 0;
}

.header__burger.active span:before {
  transform: rotate(45deg);
}

.header__burger.active span:after {
  transform: translateY(-10px) rotate(-45deg);
  top: 10px;
}
/* Кнопка Бургер Анимированная END*/

.header__menu{
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: white;
  transition: all 0.3s ease 0s;
}
.header__menu.active {
  top:0;
  padding-top: calc(var(--index) * 6.2); 
}

.header__list {
  display: block;
  padding-bottom: calc(var(--index) * 2.2);
}
.header__list li {
  margin: 0px 0px 20px 0px;
}
.header__link {
  font-size: 24px;
}
}

.content {
padding: 100px 0px 0px 0px; 
}
.content__text {
font-size: 16px;
line-height: 25px;
}

.content__text p {
margin: 0px 0px 20px 0px;
}

@media screen and (max-width: 767px){
.content {
  padding: 70px 0px 0px 0px;
}
}

@media screen and (min-width : 768px) {
  .header__contacts {
    display: none;
  }
}
/*HEADER End*/

/*Hero-section Start*/
.hero-section {
  position: relative;
  margin-top: calc(var(--index) * 5.4);
  width: 100vw;
}

.hero-section_image {
  width: 100%;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

.hero-section_image div:not(:last-child) {
  margin-right: 4px;

}

.hero-section_image img {
  width: 100%;
}

.hero-section_logo {
  position: relative;
  margin-top: 0.5rem;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-section_logo-image img {
  width: 100%;
}

.hero-section h3 {
  margin-top: calc(var(--index) * 0.4);
}

.hero-section_button button {
  margin-top: calc(var(--index) * 1.4); 
}

.hero-section .social {
  position: relative;
  width: 100vw;
}

.social_container {
 padding-top: 20px;
 padding-bottom: 6px;
 display: flex;
 justify-content: space-between;
}

.social_icons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social_icons a:not(:last-child) {
  margin-right: 0.5rem;
}

.social_icons img {
  width: 2.2rem; /*35px*/
}

.social_icons_icons-whatsapp img {
  width: 1.8rem;
}

/*Hero-section End*/

/*Услуги Start*/
.main-title h1 {
  margin-top: calc(var(--index) * 2.2); /*30px*/
  margin-bottom: calc(var(--index) * 2.2); /*30px*/
}

.hidden {
  display: none;
} 

.open {
  display: block;
}

.dimmer {
  animation-name: dimmer;
  animation-duration: 1.5s;
}

@keyframes dimmer {
  from {opacity: 0;} 
  to {opacity: 1;}
}

.services-accordeon-title {
  width: 100vw;
  height: 80px;
  height: calc(var(--index) * 6.8); 
  border-top: 2px solid #CED4DA;
  border-bottom: 2px solid #CED4DA;
}

.services-accordeon-title:not(:last-child){
  border-bottom: 1px solid #CED4DA;
  border-top: 1px solid #CED4DA;
}

.services-accordeon-title:first-child {
  border-top: 2px solid #CED4DA;
}

.services-accordeon-title:last-child {
  border-bottom: 2px solid #CED4DA;
}

.services-accordeon-title.opened {
  background-color: #F8F9FA;
  border-top: 1px solid #CED4DA;
  border-bottom: none;
}

.services-accordeon-title.opened:first-child {
  border-top: none;
}

.accordeon-title-active {
  border-bottom: none !important;
}

.services-accordeon-title p {
  font-family: Inter-S;
  color: var(--secondary-colour);
  text-transform: uppercase;
  font-size: 1.2rem;
  
}

.services-accordeon-title .container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.accordeon-title-active {
  background-image: url('../images/background/dentalTreatment-mobile.png');
  background-size: 65%; 
  background-position: right bottom; 
  background-repeat: no-repeat; 
}

.services-accordeon> *:nth-child(9) {
  background-image: url('../images/background/microscope-mobile.png') !important;
}

.services-accordeon> *:nth-child(10) {
  border-bottom: 2px solid #CED4DA;
}

.toggleButton {
  margin-right: calc(var(--index) * 3.5);
}

.toggleButton img {
  width: 1.6rem;
}

.toggleButton img {
  transition: transform 0.3s ease; 
}

.toggleButton.clicked img {
  transform: rotate(180deg); 
}

.services-accordeon-descr .container {
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #CED4DA;
  background-image: url('../images/background/implantation-background.png');
  background-size: 60%; 
  background-position: right bottom; 
  background-repeat: no-repeat; 
}

.services-accordeon-descr .open-container {
  background-image: none;
}

.open-container {
  background-image: none;
}

.open-container ul {
  font-family: Inter-S;
  color: #757575;
  margin-bottom: calc(var(--index) * 1.4);
}
/*Услуги End*/

/*Акции Start*/
.slider_item {
  display: flex;
  width: 100vw;
  background-color: #F1F3F5;
}

.slider_img {
  height: 100%;
  position: relative;
}

.slider_img img {
  height: calc(var(--index) * 14.7);
}

.slider_content {
  padding: 1.3rem 0.5rem 1rem 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slider_content-title p {
  font-family: Inter-S;
  color: var(--secondary-colour);
}

.slider_content-date {
  font-family: Roboto-Regular-S;
  color: var(--accent-colour);
}

.swiper-space {
  height: calc(var(--index) * 3.5);
} 

.swiper-pagination-bullet {
  background: var(--accent-colour) !important;
}
/*Акции End*/

/*О нас Start*/
.about .main-title h1,
.advantages .main-title h1 {
  margin-bottom: calc(var(--index) * 1.1);
}

.about_container {
  position: relative;
}

.about_content p {
  font-family: Roboto-Bold-S; 
  color: var(--text);
  margin-bottom: calc(var(--index) * 1.1);
}

.about_video {
  position: relative; 
  width: 100%; 
  max-width: 100%; 
}

.about_video video {
  width: 100%; 
  height: auto; 
}
/*О нас End*/

/*Преимущества Start*/
.advantages_subtitle p {
  font-family: Roboto-Bold-S;
  color: var(--accent-colour);
  margin-bottom: calc(var(--index) * 1.1);
}

.advantages_item {
  margin-bottom: calc(var(--index) * 2.2); /*30px*/
}

.advantages_content {
  margin-left: calc(var(--index) * 6.8); /*30px*/
}

.advantages_extend {
  border-top: 2px solid #CED4DA;
  padding-top: calc(var(--index) * 1.4); /*20px*/
}

.advantages_extend {
  position: relative;
  width: 100vw;
}

.advantages_extend .advantages_content {
  margin-bottom: calc(var(--index) * 1.4); /*20px*/
} 

.advantages_extend img {
  width: 100%;
}
/*Преимущества End*/

/*До/После Start*/
/* Цвет разделителя и ручки */
.colored-slider { 
  --divider-color: #fff; 
  --default-handle-color: #fff; 
} 
/* Лейблы Before/After */
.before,
.after {
  margin: 0;
}

.before figcaption,
.after figcaption {
  font-family: Roboto-Regular-S; 
  background: var(--secondary-colour);
  color: #fff;
  opacity: 0.5;
  padding: 6px;
  position: absolute;
  top: 7%; /*50%*/
  transform: translateY(-50%);
  line-height: 100%;
}

.before figcaption {
  left: 0px;
}

.after figcaption {
  right: 0px;
}

img-comparison-slider:focus {
  outline: none; 
}

/*До/После End*/

/*Отзывы Start*/
.reviews_item {
 position: relative;
 background: #F1F3F5;
 padding: calc(var(--index) * 1.4); /*20px*/;
 margin-top: calc(var(--index) * 1.4);
}

.reviews_head {
 position: relative;
 display: flex;
 justify-content: space-around;
 align-items: center;
 border-bottom: 2px solid #CED4DA;
}

.next_button {
  width: 70px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: calc(var(--index) * 0.6);
}

.reviews_name {
  margin-bottom: calc(var(--index) * 0.8);
}

.reviews_name p {
  font-family: Roboto-Bold-S; 
  color: var(--secondary-colour);
}

.reviews_content {
  margin-bottom: calc(var(--index) * 1.2);
}

.reviews_date p {
  color: var(--accent-colour);
  font-family: Roboto-Regular-S;
}

.reviews_signature {
display: flex;
justify-content: space-between;
align-items: center;

}
/* Рейтинг START*/
.rating-result {
	width: 50vw;
  display: flex;
  justify-content: end;
  align-items: center;
}
.rating-result span {
	padding: 0;
	font-size: 32px;
	color: lightgrey;
}
.rating-result > span:before {
	content: '★';
}
.rating-result > span.active {
	color: var(--accent-colour);
}
/* Рейтинг END*/

/* Классы для Java Script*/
.reviews_item {
  display: none;
}

.reviews_active {
  display: block;
}

.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: 0.1;} 
  to {opacity: 1;}
}
/*Отзывы End*/

/*Документы Start*/
.documents {
  margin-bottom: calc(var(--index) * 2.4); /*30px*/
}

.documents a,
.adress-item a,
.footer_menu_column a {
  text-decoration: none; 
  color: inherit; 
}

.documents_license {
  width: calc(var(--index) * 25.4);
  border: 2px solid #DEBB91;
  border-radius: 20px;
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  margin-bottom: calc(var(--index) * 1.2);
}

.documents_license a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  display: inline-block; /*ширина по содержимому*/
}

.documents_license a > *:nth-child(1) {
  font-family: Roboto-Bold-S;
}

.documents_item img {
  width: 2.2rem;
}

.documents_item {
  display: flex;
  align-items: start;
  margin-bottom: calc(var(--index) * 0.6);
}

.documents_list {
  margin-bottom: calc(var(--index) * 1.2);
}

.documents_list > *:nth-child(3) {
  align-items: center;
}

.documents_item a {
  margin-left: 15px;
  margin-left: calc(var(--index) * 1.2);
  font-size: 14px;
}
/*Документы End*/

/*Контакты Start*/
.contacts .social {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contacts .social-text h2 {
  color: var(--secondary-colour);
}

.contacts form {
  margin-bottom: calc(var(--index) * 2.4);
}

/*Контакты Форма Start*/
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 5px;
  border-bottom: 2px solid #CED4DA;
}

.form-group input:focus {
  outline: none; 
  border-bottom: 2px solid var(--accent-colour);
}

.form-group input::placeholder {
  color: var(--neutral-dark-colour); 
}

form button {
  margin-top: calc(var(--index) * 1.2);
}
/*Контакты Форма End*/

.contacts .social {
  margin-bottom: calc(var(--index) * 1);
}

.contacts_adress {
  background: #F8F9FA;
}

.adress-item {
  padding-bottom: calc(var(--index) * 1);
  display: flex;
}

.adress-item:last-child{
  padding-bottom: calc(var(--index) * 2.3);

}

.contacts_adress_title {
  padding-top: calc(var(--index) * 1.4);
  padding-bottom: calc(var(--index) * 1.4);
}

.contacts_adress_title p{
  font-family: Inter-S; 
  color: var(--secondary-colour);
  font-size: 1.4rem;
}

.adress-item > :nth-child(2){
  padding-left: 10px;
}

.adress-item > p:not(:nth-of-type(2)) {
  font-family: Inter-S; 
  color: var(--secondary-colour);
  white-space: nowrap; 
}

.contacts_adress_item .adress-item:first-child p:nth-child(2) {
  display: block;
}

.item-mode {
display: flex;
flex-direction: column;
}

.contacts_map {
  overflow: hidden;
  background: #F8F9FA;
} 

/*Footer(Подвал) Start*/
.footer {
  background: #F8F9FA;
  position: relative;
}
.footer_head {
  display: flex;
  justify-content: space-between;
  padding-top: calc(var(--index) * 1.4); 
  margin-bottom: calc(var(--index) * 1.2); /*20px*/
}

.footer_menu {
  display: flex;
  justify-content: space-between;
}

.footer_logo {
  border-bottom: 2px solid #CED4DA;
  width: 180px;
  width: calc(var(--index) * 15.1); 
}

.footer_logo img {
  fill: var(--secondary-colour);
  width: 80px;
}

.footer_button button {
  background: transparent;
}

.footer_menu_column {
  margin-bottom: calc(var(--index) * 2.4); /*30px*/
}

.footer_menu_column li {
  font-family: Inter-S; 
  color: var(--accent-colour);
}

.footer_menu_column li:not(:last-child) {
  padding-bottom: 0.6rem;
}

.footer button {
  padding: 10px 18px;
}
/*Footer(Подвал) End*/
