@font-face {
  font-family: 'FontAwesome';
  src: url('assets/fonts/FontAwesome/fontawesome-webfont.eot?v=4.7.0');
  src: url('assets/fonts/FontAwesome/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),
    url('assets/fonts/FontAwesome/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
    url('assets/fonts/FontAwesome/fontawesome-webfont.woff?v=4.7.0') format('woff'),
    url('assets/fonts/FontAwesome/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),
    url('assets/fonts/FontAwesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal
}


@font-face {
  font-family: "Pe-icon-7-stroke";
  src: url("assets/fonts/Pe-icon-7-stroke.eot"),
    url("assets/fonts/Pe-icon-7-stroke.woff")format("woff"),
    url("assets/fonts/Pe-icon-7-stroke.ttf")format("truetype"),
    url("assets/fonts/Pe-icon-7-stroke.svg")format("svg");
}

:root {
  --r1: #ad2486;
  --r2: #d78437;
  --r3: #f2bc09;
  --r4: #aaaf44;
  --r5: #5da183;
  --r6: #1d96b9;
  --r7: #1c61c2;
  --r8: #ee692c;
  --font1: #1d1d1e;
  --bg1: #f0e3da;
  --bg2: #eacfbc;
  --bg3: #d1ae8e;
  --bg4: #b68c6e;
  --rd1: #cd2122;
  --rd2: red;
  --cc1: #0a142f;
  --cc2: #d4a661;
}

/*================ common elements ============== */

html {
  box-sizing: border-box;
  /* Nicer looking fonts for OS X and iOS */
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: 'Gilroy', sans-serif;
  font-weight: normal;
  font-style: normal;
  margin: 0;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

svg {
  display: block;
}

img {
  max-width: 100%;
  display: block;
}

input,
textarea {
  border: none;
}

ul,
li {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

main {
  padding-top: 62px;
}

.container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.common-text {
  font-size: 1.1rem;
  letter-spacing: .7px;
}

.section-text {
  /*font-size: 1.1rem;
  letter-spacing: 1px;*/
  padding-bottom: 20px;
  text-align: left;
}

.section-text li {
  padding: 5px 0;
}

.section-text li::before {
  content: "\f0a3";
  font-family: 'FontAwesome';
  font-size: 14px;
  color: #d4a661;
  padding-right: 20px;
}

.section-head {
  font-family: '21 Cent';
  font-weight: bold;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1;
}

.list-title {
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: .7px;
}

.article-title {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.3;
  color: #cd2122;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 30px 0;
  border-top: 2px solid #cd2122;
}

.article-title span {
  color: #222;
  font-weight: 600;
}

.align-left {
  text-align: left;
}

@media (min-width: 990px) {
  /*main {
    padding-top: 140px
  }*/

  /*.container {
    padding: 80px 20px;
  }*/

  .section-title {
    padding: 0 0 40px 0;
    font-size: 3.2rem;
  }

  .article-title {
    border-top: none;
  }
}

@media (min-width: 1100px) {
  .article-title {
    font-size: 2rem;
  }
}

@media (min-width: 1900px) {
  .container {
    max-width: 1600px;
    padding: 100px 20px;
  }
}

.container-max {
  width: 100%;
  padding: 0;
  margin: 0;
}

.container-max-center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hide {
  display: none;
}

.color-red {
  color: #cd2122;
}

.color-gold {
  color: #d4a661;
}

.color-red-bright {
  color: red;
}

.bold {
  font-weight: bold;
}

/*.is-bg-image {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}*/

.link-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  color: var(--rd1);
  font-weight: bold;
  font-style: italic;
}

/*.link-arrow::after {
  position: relative;
  content: '';
  background-image: url("../templates/assets/svg/link-arrow.svg");
  background-size: contain;
  background-position: center;
}*/

/*----------------Header--------------------*/

header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  width: 100%;
  background-color: #fff;
  border-bottom: 3px solid #cd2122;
  z-index: 100;
  transition: all ease-in-out 1s;
}

.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 0 20px 0 10px;
  height: 60px;
  background-color: #fff;
}

.logo-small {
  width: 60px;
}

.header-title-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.header-title-container p {
  text-transform: uppercase;
  font-size: 9px;
  font-family: 'FontAwesome';
  letter-spacing: 2px;
  text-align: left;
}

.header-contacts-container,
.header-socials-container,
.header-love-container {
  display: none;
}

.navbar-toggle svg {
  width: 30px;
  height: 30px;
  fill: #cd2122;
}

.navbar-toggle:hover {
  cursor: pointer;
}

@media (min-width:990px) {
  header {
    height: 80px;
    /*position: static;
      border-bottom: none;*/
  }

  .container-header {
    gap: 15px;
    padding: 0 20px;
  }

  .logo-small {
    width: 100%;
  }

  .header-title-container p {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .header-socials-container,
  .header-love-container {
    display: flex;
  }

  .header-contacts-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .header-contacts-container p {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
  }

  .header-love-container {
    width: 50px;
    height: 50px;
  }

  .header-love-image {
    opacity: 1;
    animation: flashing-heart 3s infinite;
  }

  .navbar-toggle {
    display: none;
  }

  @keyframes flashing-heart {

    0%,
    100% {
      opacity: 1;
      width: 50px;
      height: 50px;
    }

    50% {
      opacity: 0.1;
      width: 45px;
      height: 45px;
    }
  }
}

/*---------------- Navbar --------------------*/

.navbar {
  display: none;
  z-index: 100;
}

.container-navbar {
  height: 100%;
  display: grid;
  grid-auto-flow: row;
  background-color: #fff;
  padding: 20px 10px;
}

.openNavbar {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 63px;
  width: 100%;
  height: 1px;
  min-height: calc(100% - 63px);
  background-color: #fff;
}

.nav-link,
.nav-link button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  transition: all 0.5s ease 0s;
  padding: 8px 0;
  font-size: 1.6rem;
}

.navbar button {
  background-color: inherit;
  border: 0;
}

.navbar .dropdown-toggle {
  display: grid;
  grid-auto-flow: row;
  justify-content: center;
}

.navbar .dropdown-menu {
  display: none;
}

.navbar button.dropdown-show {
  font-weight: bold;
}

.navbar button.dropdown-show+.dropdown-menu {
  display: grid;
  grid-auto-flow: row;
  border-top: 1px solid var(--font1);
  border-bottom: 1px solid var(--font1);
}

.navbar button.dropdown-show+.dropdown-menu a {
  font-size: 1.2rem;
  line-height: 2;
}

.navbar button.dropdown-hover+.dropdown-menu {
  display: grid;
  grid-auto-flow: row;
}

.navbar .dropdown-item {
  display: inline-block;
}

.navbar button:hover,
.navbar a:hover {
  cursor: pointer;
  color: var(--rd1);
}

@media (min-width:990px) {

  .navbar {
    display: block;
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    height: 60px;
    z-index: 100;
  }

  .container-navbar {
    display: grid;
    grid-auto-flow: column;
    gap: 0;
    background-color: transparent;
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar button:hover,
  .navbar a:hover {
    color: #000;
  }

  .dropdown-menu a {
    padding: 20px 30px;
    text-align: left;
  }

  .navbar .dropdown-item {
    padding: 15px 30px;
  }

  .navbar button.dropdown-show+.dropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 0;
    box-shadow: -1px 1px 8px -3px;
    z-index: 100;
  }

  .navbar button.dropdown-show+.dropdown-menu a {
    font-size: 1rem;
    line-height: 1.2;
  }

  .sticky {
    top: 0;
  }

  .sticky+main {
    padding-top: 60px;
  }

}

/*============= button btn-up ============*/
.btn-up {
  position: fixed;
  bottom: 40px;
  right: 25px;
  z-index: 32;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  opacity: 1;
  transform: translateY(0);
  cursor: pointer;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.btn-up svg {
  width: 40px;
  height: 40px;
  fill: var(--rd2);
}

.btn-up-hide {
  display: none;
}

.btn-up-hiding {
  opacity: 0;
  transform: translateY(100px);
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background-color: var(--rd2);
  }

  .btn-up:hover svg {
    fill: #fff;
  }
}

/*============ Section aestheticsPageTitle ===========*/

.aestheticsPageTitle {
  position: relative;
  background-color: var(--cc1);
  overflow: hidden;
}

.aestheticsPageTitle p {
  font-family: '21 Cent Condensed';
  font-weight: 200;
  font-style: normal;
  font-size: 70px;
  line-height: 0.8;
  text-transform: uppercase;
  color: rgba(212, 166, 97, 0.3);
  text-wrap: nowrap;
}

.aestheticsPageTitle .section-title {
  color: #fff;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  padding: 0;
  text-wrap: wrap;
}

/*@media (min-width: 990px) {
  .aestheticsPageTitle {
    margin-top: 60px;
  }
}*/

/*============= Section aesthetics appointment =================*/

#appointment {
  color: #fff;
  position: relative;
}

.appointment-bg {
  position: absolute;
inset: 0;
  z-index: -1;
  overflow: hidden;
}

#aesthetics .appointment-bg {
  background: url("assets/img/bg_aesth_appointment_800_bw_port.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#neuro .appointment-bg {
  background: url("assets/img/bg_neuro_appointment_800_port_bw.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.appointment-bg-mask {
  position: absolute;
inset: 0;
  background: url("assets/img/video-mask.png") center center;
}

.container-appointment-form {
  display: flex;
  position: relative;
  flex-direction: column;
  padding: 20px 0;
  /*z-index: 2;*/
}

#appointment .section-title {
  color: #fff;
}

#appointment .section-head {
  padding-bottom: 20px;
}

.appointment-description-area {
  padding: 0 20px 20px 20px;
}

.appointment-form-area {
  display: flex;
}

#appointment form {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  backdrop-filter: blur(1px);
}

#appointment input {
  background-color: transparent;
  border-radius: 4px;
}

#appointment input::placeholder {
  color: #fff;
}

#appointment .form-submit-btn {
  border-radius: 4px;
}

@media (min-width: 500px) {
  .appointment-bg {
    top: -49%;
  }
}

@media (min-width: 800px) {
  #aesthetics .appointment-bg {
    background: url("assets/img/bg_aesth_appointment_1280_bw.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  #neuro .appointment-bg {
    background: url("assets/img/bg_neuro_appointment_1280_bw.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  .container-appointment-form {
    padding: 30px 20px;
  }
}

@media (min-width: 990px) {

  .appointment-bg {
    top: -75%;
  }

  .container-appointment-form {
    flex-direction: row;
    padding: 100px 20px;
  }

  .appointment-description-area {
    padding: 20px;
  }

  .appointment-form-area {
    flex: 0 0 50%;
  }

  #appointment .section-title {
    font-size: 2.6rem;
  }
}

@media (min-width: 1280px) {
  #aesthetics .appointment-bg {
    background: url("assets/img/bg_aesth_appointment_1920_bw.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  #neuro .appointment-bg {
    background: url("assets/img/bg_neuro_appointment_1920_bw.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  .container-appointment-form {
    padding: 160px 20px;
  }
}

@media (min-width: 1920px) {
  #aesthetics .appointment-bg {
    background: url("assets/img/bg_aesth_appointment_2560_bw.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  #neuro .appointment-bg {
    background: url("assets/img/bg_neuro_appointment_2560_bw.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  .container-appointment-form {
    padding: 200px 20px;
  }
}

@media (min-width: 2560px) {
  #aesthetics .appointment-bg {
    background: url("assets/img/bg_aesth_appointment_3840_bw.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  #neuro .appointment-bg {
    background: url("assets/img/bg_neuro_appointment_3840_bw.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  .container-appointment-form {
    padding: 300px 20px;
  }
}

/* ========== section useful-tips ======= */

.container-useful-tips {
  overflow: hidden;
  padding-bottom: 60px;
  background-color: #000;
  color: #fff;
}

.header-useful-tips {
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.useful-tips .section-title {
  padding: 40px 0;
}

/*.header-useful-tips .section-head {
  padding-bottom: 20px;
  text-align: left;
}*/

.wrapper-crslUsefulTips {
  position: relative;
  margin: 0 auto;
  max-width: 1600px;
}

.usefulTips-item {
  background-color: #000;
  overflow: hidden;
  padding: 0 10px;
}

.slick-slide img {
  margin: auto;
}

.crslUsefulTips-arrows {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.crslUsefulTips-arrow {
  display: inline-block;
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

@media (min-width: 500px) {
  .useful-tips .section-title {
    padding: 60px 20px;
  }
}

@media (min-width: 770px) {
  .container-useful-tips {
    padding-bottom: 80px;
  }

  .usefulTips-item {
    padding: 0 20px;
  }

  .useful-tips .section-title {
    position: relative;
    display: inline-block;
    font-size: 2.4rem;
  }

  .useful-tips .section-title::before,
  .useful-tips .section-title::after {
    content: "";
    position: absolute;
    width: 8vw;
    height: 2px;
    background-color: #cd2122;
  }

  .useful-tips .section-title::before {
    left: 100%;
    bottom: 50%;
  }

  .useful-tips .section-title::after {
    right: 100%;
    bottom: 50%;
  }

  /*.useful-tips .section-head {
    width: 60%;
    padding-bottom: 40px;
    text-align: left;
  }*/
}

@media (min-width: 990px) {
  .container-useful-tips {
    padding-bottom: 100px;
  }

  .useful-tips .section-title {
    padding: 80px 20px;
  }
}

@media (min-width: 1500px) {
  .container-useful-tips {
    padding-bottom: 120px;
  }

  .useful-tips .section-title {
    padding: 100px 20px;
    font-size: 3rem;
  }
}

/*========== section welcomeInstagram ========*/

.welcomeInstagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #fff;
}

.welcomeInstagram .article-title {
  text-align: center;
}

.welcomeInstagram img {
  max-width: 250px;
}

.welcomeInstagram p {
  text-align: center;
  line-height: 1.4;
  padding-top: 20px;
}

.welcomeInstagram a {
  border-radius: 4px;
  cursor: pointer;
}

.welcomeInstagram a:hover {
  background-color: red;
}

@media (min-width: 770px) {
  .welcomeInstagram {
    padding: 0 0 60px 0;
  }

  .welcomeInstagram .article-title {
    border: none;
    padding: 20px 0;
  }

}

/*=============== section crslReviews ==============*/

.reviewsCrsl .container {
  /*margin: 0 auto;
  max-width: 1400px;*/
  overflow: hidden;
}

.header-reviewsCrsl {
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reviewsCrsl .section-title {
  padding: 40px 20px;
}

.wrapper-reviewsCrsl {
  position: relative;
  display: flex;
  flex-direction: column;
}

.wrapper-reviewsCrsl::before {
  content: "";
  position: absolute;
  top: 52px;
  left: -20px;
  right: -20px;
  height: 200px;
}

.crslReviews-item {
  padding: 0 20px;
}

.crslReviews-controls {
  position: relative;
}

.reviewsCrsl .container-link-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 140px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.crslReviews-arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 140px;
}

.crslReviews-arrow {
  display: inline-block;
  width: 48px;
  height: 48px;
  padding: 5px;
  cursor: pointer;
}

@media (max-width: 450px) {
  .reviewsCrsl .link-button {
    padding: 0 10px;
    text-wrap: nowrap;
  }
}

@media (min-width: 500px) {

  .reviewsCrsl .container-link-button {
    height: 160px;
  }

  .reviewsCrsl .crslReviews-arrows {
    height: 160px;
    padding: 0 20px;
  }
}

@media (min-width: 770px) {

  .wrapper-reviewsCrsl {
    align-items: flex-end;
  }

  .reviewsCrsl .slider {
    width: 65%;
  }
  .crslReviews-controls {
    position: absolute;
    top: 52px;
    left: 0;
    width: 35%;
  }

  .reviewsCrsl .container-link-button {
    position: relative;
    height: 80px;
    padding: 0 30px;
  }

  .reviewsCrsl .crslReviews-arrows {
    height: 80px;
    padding: 0 20px;
  }
}

@media (min-width: 910px) {

  .reviewsCrsl .slider {
    width: calc(100% - 300px);
  }
  .crslReviews-controls {
    width: 300px;
  }
}

/*==== Section aestheticsDirectionDescription ====*/

.container-aestheticsDirectionDescription {
  display: flex;
  flex-direction: column;
}

.asside-aestheticsDirectionDescription {
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/

  img {
    border-radius: 8px;
  }
}

.aestheticsDirectionDescription .section-head {
  text-align: left;
  padding: 20px 0;
  line-height: 1.3;
}

.section-description {
  text-align: left;
  padding-bottom: 20px;
}

.section-description li {
  padding: 10px 0;
}

.section-description a {
  display: block;
  position: relative;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #000;
}

.section-description a::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-color: var(--bg1);
  transition: all ease 0.5s;
  z-index: -1;
}

.section-description a:hover {
  border: 2px solid #cd2122;
}

.section-description a:hover::before {
  top: 0;
  left: 0;
}

/*.section-description span {
  font-weight: bold;
  color: var(--bg4);
}*/

.aestheticsDirectionWarning {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: 0 20px 20px 20px;
  font-weight: 500;
}

.aestheticsDirectionWarning::before {
  content: url(assets/svg/triangle-warning.svg);
  padding: 11px 5px 5px 5px;
}

@media (min-width: 990px) {
  .container-aestheticsDirectionDescription:nth-child(odd) {
    flex-direction: row-reverse;
    gap: 60px;
  }

  .container-aestheticsDirectionDescription:nth-child(even) {
    flex-direction: row;
    gap: 60px;
  }

  .container-aestheticsDirectionDescription:not(:first-child) {
    padding-top: 0;
  }

  .asside-aestheticsDirectionDescription {
    position: relative;
    flex: 0 0 35%;
    align-items: flex-start;
    padding: 20px;
  }

  .asside-aestheticsDirectionDescription::before {
    content: "";
    /*background-color: #d2ecde;*/
    /*background-color: #d4a661;*/
    background-color: var(--bg1);
    border-radius: 8px;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 80%;
    z-index: -1;
  }

  .section-description li {
    padding: 20px 0;
  }

  .aestheticsDirectionWarning {
    flex-direction: row;
    gap: 20px;
    align-items: center;
    padding: 0 20px 50px 20px;
    font-weight: 500;
  }
}

/*==== Section aestheticsDirectionsAdd ====*/

.aestheticsDirectionAdd {
  background:
    linear-gradient(63deg, #262626 23%, transparent 23%) 7px 0,
    linear-gradient(63deg, transparent 74%, #262626 78%),
    linear-gradient(63deg, transparent 34%, #262626 38%, #262626 58%, transparent 62%),
    #222;
  background-size: 16px 48px;
  color: #eee;

  .article-title span {
    color: var(--bg4);
  }
}

.aestheticsDirectionAdd .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

  img {
    border: 2px solid #aaa;
    border-radius: 8px;
  }
}

.aestheticsDirectionAdd .container-link-button {
  margin: 20px 0;
}

@media (min-width: 770px) {

  .aestheticsDirectionAdd .container {
    padding: 80px 20px;
  }

  .aestheticsDirectionAdd .wrapper {
    flex-direction: row-reverse;

    /*align-items: flex-start;*/
    img {
      max-width: 30%;
      flex: 1 1 30%;
    }

    p {
      flex: 1 1 70%;
    }
  }
}

@media (min-width: 990px) {
  .aestheticsDirectionAdd .container {
    padding: 120px 20px;
  }

  .decor-line {
    height: 2px;
    width: 85%;
    background-color: var(--bg4);
    margin: 60px 0;
  }
}


/*======== section online-appointment ============*/

.container-online-appointment {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 20px 40px 20px;
  align-items: center;

}

.text-online-appointment {
  text-align: center;
  font-family: '21 Cent';
  font-weight: normal;
  font-style: italic;
  font-size: 1.8rem;
  color: var(--font1);

  /*a:hover {
    color: red;
  }*/

  span {
    font-family: 'Gilroy';
    font-weight: 600;
    font-style: normal;
    font-size: 1.3rem;
    color: var(--bg4);
  }
}

.link-online-appointment {
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  padding: 15px;
  border: 2px solid #fff;
  border-radius: 8px;
  background-color: #000;
  color: #fff;
  font-size: 1.2rem;
  width: 270px;
  cursor: pointer;
  transition: all ease .5s;
}

.link-online-appointment:hover {
  background-color: var(--bg4);
}

@media (min-width: 770px) {
  .container-online-appointment {
    padding-bottom: 80px;
  }
}


/* ============ section contacts ============ */

.contacts {
  background-color: #f3f3f3;
}

.container-contacts {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media (max-width: 769px) {
  .contacts video {
    width: 100%;
    max-width: 400px;
  }
}

@media (min-width: 770px) {
  .container-contacts {
    flex-direction: row-reverse;
  }

  .contacts video {
    max-height: 600px;
    width: auto;
  }
}

/*=================== footer =======================*/

footer {
  bottom: 0;
  width: 100%;
  background-color: #555;
  color: #ddd;
  border-top: 3px solid var(--rd1);
}

.footer-contacts,
.footer-text,
.footer-socials {
  display: flex;
  padding: 20px 0;
}

.footer {
  display: flex;
  flex-direction: column;
}

.footer-contacts {

  flex-direction: column;
  align-items: center;

}

.footer-address {
  display: flex;
  justify-content: center;
}

.footer-address-content {
  display: flex;
  flex-direction: column;
  padding: 10px 30px;
  background-color: #222;
  color: #fff;
}

.footer-address-icon {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #cd2122;
  border-right: 2px solid #555;
  transition: all 0.5s ease 0s;
}

.footer-address-icon:hover {
  background-color: #ddd;
}

.footer-address-icon:hover svg {
  fill: #cd2122;
}

.footer-address svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  transition: all 0.5s ease 0s;
}

.container-contacts-table {
  padding-top: 20px;
}

.container-contacts-table a:hover {
  color: red;
}

.contacts-table-item {
  padding: 5px 0;
}

.contacts-table-item:nth-child(2) {
  color: dodgerblue;
}

.contacts-item-icon {
  padding-right: 15px;
}

.contacts-item-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.contacts-table-item td {
  text-align: left;
}

.footer-text {
  flex-direction: column;
}

.footer-text p {
  color: #fff;
  padding: 8px 0;
}

.footer-socials {
  position: relative;
  justify-content: center;
}

.footer-socials::before {
  position: absolute;
  content: " ";
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background-color: #fff;
}

.footer-socials a {
  margin: 0 15px;
}

.footer-socials a:hover svg {
  fill: red;
}

.footer-socials svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

.footer-bottom {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-around;
  padding: 10px 20px;
  align-items: center;
  background-color: #222;
  font-size: 0.75em;
  color: #aaa;
}

.footer-agreement {
  display: flex;
  flex-direction: column;
  padding: 5px;
}

.footer-copyright {
  padding: 5px;
}

.cms_link {
  display: flex;
  align-items: center;
}

@media (min-width: 600px) {
  .footer-contacts {
    align-self: flex-start;
  }

  .footer-text {
    text-align: left;
  }
}

@media (min-width: 990px) {
  footer .container {
    padding: 40px 20px;
  }
}

@media (min-width: 1100px) {
  .footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

  }

  .footer-contacts {
    padding-top: 30px;
  }

  .footer-socials {
    align-items: center;
  }

  .footer-socials::before {
    top: calc(50% - 40px);
  }

  .footer-bottom {
    flex-direction: row-reverse;
    justify-content: space-around;
    flex-wrap: wrap;
  }
}