html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  color: #223A66;
  font-family: 'Montserrat Alternates', sans-serif;
  background: url('/images/bg.svg') no-repeat fixed;
  background-color: rgba(128, 214, 247, 0.1);
  background-size: cover;
}

.content {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #223A66;
}

a {
  color: #558dCA;
}

strong {
  font-weight: 700;
}

img {
  max-width: 100%;
}

.text-blue {
  color: #558dCA;
}

.text-darkblue {
  color: #223A66;
}

.text-dark {
  color: #413080;
}

a:hover {
  text-decoration: none;
  color: #413080;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.nowrap {
  white-space: nowrap;
}

.navbar-light .navbar-nav .nav-link {
  color: #223A66;
  white-space: nowrap;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.nav-link-sub {
  background-color: #FFFFFF;
}

.nav-link-sub:hover {
  background-color: #223A66;
  color: #FFFFFF !important;
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.navbar-nav.navbar-center {
  position: relative;
  left: 50%;
  transform: translatex(-50%);
}

.active_link a {
  color: #558dCA !important;
}

.cookie-consent {
  font-size: 0.9em;
  padding: 1em;
  background: #FFFFFF;
  text-align: center;
  position: fixed;
  bottom: 15px;
  right: 15px;
  border: 2px solid #558dCA;
  z-index: 999;
}

.cookie-consent__message {
  display: inline-block;
  color: #223A66;
}

.cookie-consent__message p {
  margin: 0;
}

.cookie-consent__agree {
  font-weight: bold;
  margin: 0 1em;
  padding: 0.5em 1em;
  color: #FFFFFF;
  background-color: #558dCA;
  border: 0;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.cookie-consent__agree:hover {
  background-color: #223A66;
}

.cookie-consent__agree:active {
  top: 1px;
}

/* Medium devices (tablets, 48em and up)*/
@media (min-width: 48em) {
  h1 {
    font-size: 1.725em;
  }

  h2 {
    font-size: 1.525em;
  }

  h3 {
    font-size: 1.325em;
  }

  h4 {
    font-size: 1.175em;
  }

  h5 {
    font-size: 1.025em;
  }

  h6 {
    font-size: 1.01em;
  }
}

/* Extra large devices (large desktops, 75em and up) */
@media (min-width: 75em) {

  html,
  body {
    font-size: 20px;
  }
}

@media (max-width: 1200px) {
  .navbar-light .navbar-nav .nav-link {
    font-size: 1em;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  p {
    font-size: 18px;
    line-height: 30px;
  }

  h2 {
    font-size: 1.4em;
  }

  h4 {
    font-size: 1.3em;
  }
}

/* carousel classses */
.carousel-caption-text {
  font-size: 42px;
  font-style: none;
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, 0.3);
  vertical-align: center;
}

.nav-item {
  text-transform: uppercase;
}

.header {
  width: 100vw;
  height: 100px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(85, 141, 202, 0.6);
}

.data-content {
  margin-top: 100px;
}

.header.smaller {
  background-color: #FFFFFF;
  box-shadow: 0 4px 4px rgb(0 0 0 / 20%);
  -moz-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 4px 4px rgb(0 0 0 / 20%);
}

.header-logo,
.header-smaller,
.header-menu,
.header {
  -webkit-transition: height 0.5s;
  -moz-transition: height 0.5s;
  -ms-transition: height 0.5s;
  -o-transition: height 0.5s;
  transition: height 0.5s;
}

.header-logo {
  height: 100px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.header-menu-block {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-menu ul {
  justify-content: space-between;
  align-content: right;
  width: 100%;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.nav-item,
footer {
  font-family: Play;
}

footer a {
  color: #223A66;
}

.footer {
  background: url('/images/gradient.svg') no-repeat;
  background-size: cover;
  color: #558dCA;
  font-size: .9em;
}

#about-page,
#article-content {
  line-height: 1.95em;
}

.about-img img,
.contacts-img {
  max-height: 400;
}

.certificates-block {
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.item {
  padding: 15px 15px;
  border-right: 1px solid #FFFFFF;
}

.first-item {
  border-left: 1px solid #FFFFFF;
}

.owl-dots {
  display: none;
}

.owl-prev,
.owl-next {
  width: 40px;
  height: 40px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-color: #FFFFFF !important;
  border: 0;
  text-align: center;
  margin-right: 15px;
  color: #B3B3B3 !important;
  box-shadow: 0 5px 8px #CCCCCC;
  -moz-box-shadow: 0 5px 8px #CCCCCC;
  -webkit-box-shadow: 0 5px 8px #CCCCCC;
}

.owl-prev:hover,
.owl-next:hover {
  background-color: #223A66 !important;
  color: #FFFFFF !important;
}

.owl-prev.disabled,
.owl-next.disabled {
  background-color: #f3f3f3 !important;
  color: #FFFFFF !important;
}

/* modal */
.modal-content {
  z-index: 999;
}

.modal-header {
  background: url('/images/gradient.svg');
  background-size: cover;
  color: #223A66;
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 200;
  line-height: 1;
  color: #FFFFFF;
  opacity: 1;
}

.article-box {
  background: url('/images/icons/star.svg') left center no-repeat;
}

.article-box:hover {
  background: url('/images/icons/star_hover.svg') left center no-repeat;
}

.article-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-content h4 {
  font-weight: 200 !important;
}

.article-button {
  height: 100%;
  text-transform: uppercase;
  background-color: #558dCA;
  -webkit-border-radius: 0 8px 8px 0;
  -moz-border-radius: 0 8px 8px 0;
  border-radius: 0 8px 8px 0;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  align-self: flex-end;
  color: #FFFFFF;
}

.article-button:hover {
  background-color: #FFFFFF;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.service-card {
  border: 0;
  margin: 2px;
}

.services-menu {
  display: flex;
  flex-direction: column;
}

.services-menu-item {
  font-weight: 500;
  font-size: 20px;
}

.tr-bg {
  background-color: rgba(255, 255, 255, 0.5);
}

.tr-bg:hover {
  background-color: #FFFFFF;
  box-shadow: 0 0 10px rgb(0 0 0 / 0.1);
  -moz-box-shadow: 0 0 10px rgb(0 0 0 / 0.1);
  -webkit-box-shadow: 0 0 10px rgb(0 0 0 / 0.1);
}

.tr-bg-nh {
  background-color: rgba(255, 255, 255, 0.5);
}

.page-title {
  background-color: rgba(85, 141, 202, 0.2);
  margin-bottom: 20px;
}

.insLogosBlock {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
  overflow-x: hidden;
}

.ins-logo-element {
  margin-right: 5px;
  margin-left: 5px;
}

.ins-logo {
  max-height: 35px;
}

.services-menu-item:hover {
  color: #558dCA;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }
  .header {
    height: 70px;
    background-color: #FFFFFF;
  }
  .header-logo {
    height: 70px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .header-menu {
    display: block;
    align-items: center;
    text-align: right;
  }
  .header-menu ul {
    text-align: center;
  }
  .navbar-collapse {
    background-color: #FFFFFF;
    border: 1px solid #223A66;
  }
  .home-content-text {
    display: flex;
    align-items: center;
    padding: 1em;
    z-index: 3;
    background-image: none;
  }
  .about-img img {
    padding: 15px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
  .certificates-block {
    min-height: 160px;
  }
  .owl-prev {
    position: absolute;
    top: -45px;
    left: 25px;
    display: block !important;
  }
  .owl-next {
    position: absolute;
    top: -45px;
    left: 85px;
    display: block !important;
  }
}

@media (min-width: 576px) {
  .certificates-block {
    min-height: 160px;
  }
  .owl-prev {
    position: absolute;
    top: -50px;
    left: 25px;
    display: block !important;
  }
  .owl-next {
    position: absolute;
    top: -50px;
    left: 85px;
    display: block !important;
  }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
  .header.smaller {
    height: 75px;
  }
  .smaller .header-logo {
    height: 75px;
  }
  .certificates-block {
    min-height: 170px;
  }
  .owl-prev {
    position: absolute;
    top: -50px;
    left: 25px;
    display: block !important;
  }
  .owl-next {
    position: absolute;
    top: -50px;
    left: 85px;
    display: block !important;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .certificates-block {
    min-height: 250px;
  }
  .owl-prev {
    position: absolute;
    top: 115px;
    left: -210px;
    display: block !important;
  }
  .owl-next {
    position: absolute;
    top: 115px;
    left: -150px;
    display: block !important;
  }
}

.marker {
  background-image: url('/images/marker.svg');
  background-size: cover;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.mapboxgl-popup {
  max-width: 300px !important;
}

.mapboxgl-popup-content {
  font-size: 14px;
  text-align: center;
  padding: 20px;
  font-family: 'Play', sans-serif;
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.navbar {
  padding: 0 !important;
}

.address-card {
  background-color: rgba(128, 214, 247, 0.1);
}
.phone-cell {
  font-family: 'Play', Courier, monospace;
}



.address-card,
.article-content-header,
.article-box,
.article-image,
.carousel .item,
.carousel-inner,
.carousel,
.cookie-consent__agree,
.cookie-consent,
.footer,
.modal-content,
.page-title,
.service-card,
.service-header,
.services-menu-item,
#about-page img,
#certificates,
#contacts-page img,
#map {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}
