@font-face {
  font-family: 'Avenir Next';
  src: url('../fonts/AvenirNextCyr-Regular.woff2') format('woff2'),
    url('../fonts/AvenirNextCyr-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('../fonts/AvenirNextCyr-Italic.woff2') format('woff2'),
    url('../fonts/AvenirNextCyr-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('../fonts/AvenirNextCyr-Demi.woff2') format('woff2'),
    url('../fonts/AvenirNextCyr-Demi.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('../fonts/AvenirNextCyr-DemiItalic.woff2') format('woff2'),
    url('../fonts/AvenirNextCyr-DemiItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('../fonts/AvenirNextCyr-Bold.woff2') format('woff2'),
    url('../fonts/AvenirNextCyr-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('../fonts/AvenirNextCyr-BoldItalic.woff2') format('woff2'),
    url('../fonts/AvenirNextCyr-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}







/* REBOOT */
*,
::after,
::before {
  box-sizing: border-box
}

* {
  padding: 0;
  margin: 0;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent
}

@-ms-viewport {
  width: device-width
}

article,
aside,
dialog,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block
}

[tabindex="-1"]:focus {
  outline: 0 !important
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible
}

abbr[data-original-title],
abbr[title] {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit
}

dt {
  font-weight: 700
}

dd {
  margin-bottom: .5rem;
  margin-left: 0
}

blockquote {
  margin: 0 0 1rem
}

dfn {
  font-style: italic
}

b,
strong {
  font-weight: 700
}

em {
  font-style: italic;
  font-weight: inherit;
  color: inherit;
}

small {
  font-size: 80%
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

a {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects
}

a:hover {
  color: #0056b3;
  text-decoration: underline
}

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none
}

a:not([href]):not([tabindex]):focus,
a:not([href]):not([tabindex]):hover {
  color: inherit;
  text-decoration: none
}

a:not([href]):not([tabindex]):focus {
  outline: 0
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em
}

pre {
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  -ms-overflow-style: scrollbar
}

figure {
  margin: 0 0 1rem
}

img {
  vertical-align: middle;
  border-style: none
}

svg:not(:root) {
  overflow: hidden
}

table {
  border-collapse: collapse
}

caption {
  padding-top: .75rem;
  padding-bottom: .75rem;
  color: #6c757d;
  text-align: left;
  caption-side: bottom
}

th {
  text-align: inherit
}

label {
  display: inline-block;
  margin-bottom: .5rem
}

button {
  border-radius: 0
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit
}

button,
input {
  overflow: visible
}

button,
select {
  text-transform: none
}

[type=reset],
[type=submit],
button,
html [type=button] {
  -webkit-appearance: button
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
  padding: 0;
  border-style: none
}

input[type=checkbox],
input[type=radio] {
  box-sizing: border-box;
  padding: 0
}

input[type=date],
input[type=datetime-local],
input[type=month],
input[type=time] {
  -webkit-appearance: listbox
}

textarea {
  overflow: auto;
  resize: vertical
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0
}

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: .5rem;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal
}

progress {
  vertical-align: baseline
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto
}

[type=search] {
  outline-offset: -2px;
  -webkit-appearance: none
}

[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button
}

output {
  display: inline-block
}

summary {
  display: list-item;
  cursor: pointer
}

template {
  display: none
}

[hidden] {
  display: none !important
}

@media (min-width: 768px) {
  .visible-xs {
    display: none;
  }
}

@media (max-width: 767px) {
  .hidden-xs {
    display: none;
  }
}

::-moz-selection {
  background: #000;
  color: #fff;
  text-shadow: none;
}

::selection {
  background: #000;
  color: #fff;
  text-shadow: none;
}

html,
body {
  font-family: 'Avenir Next', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 1.5;
  background-color: #fff;
  color: #000;
  text-align: left;
  -webkit-overflow-scrolling: touch;
  position: relative;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.home:after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('/assets/img/bg.webp');
  background-size: cover;
  background-position: 70% 25%;
  opacity: 0.5;
  z-index: 1;
}

#complete {
  position: relative;
  z-index: 10;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Avenir Next', sans-serif;
}

@media (max-width: 1179px) {

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

@media (max-width: 1024px) {

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

@media (max-width: 767px) {

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

body {
  overflow-y: scroll;
}

a {
  -webkit-transition: color 0.5s;
  -moz-transition: color 0.5s;
  -o-transition: color 0.5s;
  transition: color 0.5s;
}

a,
a:visited {
  color: inherit;
  outline: none;
  text-decoration: none;
}

a:hover,
a:focus {
  color: inherit;
  outline: none;
  text-decoration: none;
}

input:focus,
button:focus,
textarea:focus {
  outline: none;
}

a:hover {
  color: inherit;
  -webkit-transition: color 0.5s;
  -moz-transition: color 0.5s;
  -o-transition: color 0.5s;
  transition: color 0.5s;
}

#page {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 100vh;
}

#nav {
  width: 100%;
  height: auto;
  padding: 50px;
}

#zangerl img {
  width: auto;
  height: 6em;
}

@media (min-width: 1024px) {
  #nav {
    padding: 50px 75px;
  }
}

@media (min-width: 1280px) {
  #nav {
    padding: 50px 100px;
  }
}

@media (min-width: 1440px) {
  #nav {
    padding: 50px 150px;
  }
}

@media (min-width: 1760px) {
  #nav {
    padding: 50px 9vw;
  }
}


@media (max-width: 991px) {
  #nav {
    padding: 50px 25px;
  }
}

@media (max-width: 767px) {
  #nav {
    padding: 25px 25px;
  }

  #zangerl img {
    width: auto;
    height: 4.5em;
  }
}



#content {
  padding: 0 50px;
  display: flex;
  align-items: center;
  position: relative;
  height: auto;
  flex-grow: 1;
}


#contacts {
  position: fixed;
  top: 50px;
  right: 50px;
  text-align: right;
  z-index: 25;
  font-size: 15px;
}

#contacts ul {
  font-size: 1.5em;
  list-style-type: none;
  margin: 0 -0.25em -0.25em 0;
  padding: 0;
}

#contacts li {
  display: inline-block;
  margin: 0;
  padding: 0 0.25em 0.25em 0;
  width: 1.5em;
  height: auto;
  text-align: center;
}

#contacts li a {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  text-align: center;
  vertical-align: top;
  font-size: 1em;
  line-height: 1.4em;
  color: #fff;
  background: #304352;
  border-radius: 0.25em;
  position: relative;
  -webkit-transition: background-color 0.5s;
  -moz-transition: background-color 0.5s;
  -o-transition: background-color 0.5s;
  transition: background-color 0.5s;
}

#contacts li a svg {
  display: block;
  position: absolute;
  width: 1em;
  height: 1em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


@media (min-width: 1025px) {
  #contacts li a:hover {
    background-color: #506372;
    color: #fff;
    -webkit-transition: background-color 0.5s;
    -moz-transition: background-color 0.5s;
    -o-transition: background-color 0.5s;
    transition: background-color 0.5s;
  }
}

#footer {
  display: flex;
  justify-content: space-between;
  padding: 95px 50px 50px 50px;
  font-size: 12px;
  line-height: 1.25;
  color: #000;
  position: relative;
  z-index: 50;
}

#footer p {
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  margin: 0;
}

#footer ul.nav {
  list-style-type: none;
  margin: 0 -1em 0 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

#footer ul.nav li {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  padding: 0 1em 0 0;
}



@media (min-width: 1024px) {
  #content {
    padding: 0 75px;
  }

  #contacts {
    right: 75px;
  }

  #footer {
    padding: 95px 75px 50px 75px;
  }
}

@media (min-width: 1280px) {
  #content {
    padding: 0 100px;
  }

  #contacts {
    right: 100px;
  }

  #footer {
    padding: 95px 100px 50px 100px;
  }
}

@media (min-width: 1440px) {
  #content {
    padding: 0 150px;
  }

  #contacts {
    right: 150px;
  }

  #footer {
    padding: 95px 150px 50px 150px;
  }
}

@media (min-width: 1760px) {
  #content {
    padding: 0 9vw;
  }

  #contacts {
    right: 9vw;
  }

  #footer {
    padding: 95px 9vw 50px 9vw;
  }
}

@media (max-width: 991px) {
  #content {
    padding: 0 25px;
  }

  #contacts {
    top: 25px;
    right: 25px;
  }

  #footer {
    padding: 45px 25px 25px 25px;
    line-height: 15px;
  }
}


@media (max-width: 600px) {
  #footer {
    display: block;
  }

  #footer p {
    padding: 0 0 10px 0;
  }
}

#introduction {
  width: 100%;
  height: auto;
  position: relative;
}

#introduction .introduction-text h1 {
  color: #000;
  font-size: 1.5em;
  font-size: 2.5vw;
  font-weight: 400;
  line-height: 1.25;
  text-transform: none;
  text-align: left;
}

#introduction .introduction-text h1 strong {
  font-weight: 700;
}

#introduction .introduction-text p {
  font-size: 1em;
  line-height: 25px;
  padding: 10px 0 0 0;
  margin: 0;
}

#introduction .introduction-text p.hours {
  padding: 25px 0 0 0;
}

#introduction .introduction-text p strong {
  font-size: 0.75em;
  text-transform: uppercase;
}

#introduction .introduction-text p span {
  display: inline-block;
  min-width: 4.5em;
}

@media (min-width: 1280px) {
  #introduction .introduction-text h1 {
    font-size: 1.5em;
    font-size: 2.5vw;
  }
}





@media (max-width: 991px) {
  #introduction .introduction-text h1 {
    font-size: 1.5em;
  }
}

@media (max-width: 767px) {
  #introduction .introduction-text h1 {
    font-size: 1.5em;
    padding-right: 50px;
  }
}



@media (max-width: 370px) {
  #introduction .introduction-text h1 {
    font-size: 1.4em;
  }
}



.subpage-content {
  padding: 0 125px 0 0;
  max-width: 1280px;
}

.subpage-content h1 {
  font-size: 1.75em;
  line-height: 1.25;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
  padding: 0 0 10px 0;
  text-align: left;
  color: #000;
}

.subpage-content h1 span {
  display: inline-block;
  position: relative;
  text-transform: none;
  color: #000;
  z-index: 10;
}

.subpage-content h1 span:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.125em;
  width: 100%;
  height: 0.05em;
  background: #304352;
  z-index: -1;
}

.subpage-content h2,
.subpage-content h3 {
  font-size: 1em;
  line-height: 1.25;
  text-transform: none;
  font-weight: 700;
  margin: 0;
  padding: 25px 0 10px 0;
  text-align: left;
  color: #000;
}

.subpage-content p {
  font-size: 1em;
  line-height: 1.5;
  margin: 0;
  padding: 0 0 10px 0;
}

.subpage-content p a {
  text-decoration: underline;
  color: #000;
}

@media (max-width: 991px) {
  .subpage-content {
    padding: 0 100px 0 0;
  }
}

@media (max-width: 767px) {
  .subpage-content {
    padding: 0 50px 0 0;
  }
}