
:root {
  --blue: #15bace;
  --color-main: #000;
  --color-orange: #f26d1f;
  --color-carrot: #ff8562;
  
}


body {
  margin: 0;
  -webkit-font-smoothing: auto;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: var(--color-main);
}
.form-allowed-tags, 
.alert.alert-info {
  display: none;
}
.error-404 h1 {
  text-align: center;
  padding: 100px 0;
}

html, body, #page {
  height: 100%;
}
footer {
  flex: 0 0 auto;
}
#content {
  flex: 1 0 auto;
}
#page {
  display: flex;
  flex-direction: column;
}
body.modal-open {
  overflow: inherit;
  padding: 0!important;
}
div#modal1,
div#modal2 {
  padding: 0!important;
}

body {
  padding: 0!important;
}

.page-template-default article {
  padding: 50px 0;
}

.first-anim {
  opacity: 0;
}

.container {
  max-width: 1200px;
}

.admin-bar .header {
  top: 32px;
}
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1;
  background: #fff;
}

#content {
  padding-top: 100px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.top .top__logo img {
  max-height: 46px;
  width: auto;
}


.top a {
  color: var(--color-main);
}

.top a:hover {
  color: var(--blue);
}
 
a {
  transition: .25s;
}

a,
a:hover {
  text-decoration: none;
}

button {
  transition: .25s;
}

button:focus {
  outline: none;
  box-shadow: none;
}


.btn-border:hover {
  color: #fff;
  background: var(--blue);
}
.btn-border {
  border: 2px solid var(--blue);
  font-weight: 400;
  padding: 0 30px;
  background: transparent;
  height: 40px;
}

.top__contact a:nth-last-child(2) {
  margin-left: 10px;
}
.top__contact button, .top__contact a {
  margin-left: 30px;
}

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

.banner__content {
  max-width: 550px;
}

.first-block {
  padding: 75px 0;
}

.banner__content h1 {
  font-size: 35px;
  line-height: 47px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 55px;
}

.banner__content p {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 55px;
}

.banner__content p span {
  color: var(--color-orange);
  margin-left: 15px;
}
.btn-blue {
  font-size: 19px;
  line-height: 1.55;
  font-weight: 600;
  border-radius: 5px;
  background-color: #15bace;
  border: 0;
  height: 55px;
  text-transform: uppercase;
  width: 355px;
  color: #fff;
  letter-spacing: 0.03em;
  border: 2px solid var(--blue);
}

.btn-blue:hover {
  
  background: #fff;
  color: #000;
}

.banner__img {
  flex: 1 0 auto;
  position: relative;
}

.edge {
  max-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.edges {
  display: flex;
  justify-content: space-between;
}

.edge__img img {
  max-height: 50px;
  width: auto;
}
.edge__img {
  height: 50px;
  margin: 0 0 10px;
}

.edge__title {
  text-align: center;
  font-weight: 700;
  opacity: .5;
  margin: 0;
}



.director__title {
  font-size: 35px;
  line-height: 47px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 20px;
}


.director__subtitle {
  font-size: 16px;
  line-height: 1.55;
  color: #666;
  font-weight: 700;
  margin: 0;
}

.director__subtitle:after {
  margin: 30px auto;
  width: 50px;
  height: 3px;
  content: '';
  display: block;
  background: #666;
}

.director {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}


.director__img {
  position: relative;
}

.director__img img {
  position: absolute;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.director__title, .director__subtitle {
  text-align: center;
}

.editor {
  line-height: 1.55;
  font-size: 16px;
  font-weight: 300;
}

.editor strong {
  font-weight: 900;
}


.editor p:last-child {
  margin: 0;
}

.editor-btn {
  margin-top: 45px;
}
.editor-btn button {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.director__content {
  padding: 25px 0;
}

#modal2 .modal-dialog.modal-dialog-centered {
  max-width: 960px;
}

#modal2 .modal-body {
  padding: 45px;
}

.home .container h2 {
  font-size: 35px;
  font-weight: 700;
  text-align: center;
}


.block,
.block__title {
  margin: 0 0 80px;
}

.clients-block .block__title {
  margin: 0 0 40px;
}

.declaration-item {
  background-color: rgb(255, 255, 255);
  border-radius: 5px;
  box-shadow: rgb(0 0 0 / 10%) 0px 0px 10px 0px;
  padding: 30px 30px 40px;
  height: 100%;
}
.declaration-items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  
}

.btn-carrot:hover:before {
  right: -10px;
}
.btn-carrot:before {
  content: " →";
  font-family: Arial, Helvetica, sans-serif;
  position: absolute;
  top: 50%;
  transform: translate(125%, -55%);
  right: 0;
  transition: .25s;
}
.btn-carrot {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-carrot);
  text-transform: uppercase;
  position: relative;
  margin-top: auto;
  display: inline-flex;
}

.declaration-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.declaration-item__desc {
  font-weight: 300;
  font-size: 16px;
}
.declaration-item__title {
  font-size: 22px;
  font-weight: 700;
}

.clients__logo > div {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clients__logo {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.clients__logo img {
  max-height: 150px;
  width: auto;
}

footer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
}

footer a {
  font-size: 20px;
  font-weight: 500;
  color: #000;
}
footer a:nth-child(2) {
  margin: 15px 0;
}

footer .mail--link  {
  color: var(--color-orange);
}



.modal-header {
  border: 0;
  padding: 0;

}


.iti.iti--allow-dropdown {
  width: 100%;
}

#modal1 h2 {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 24px;
}

#modal1 .modal-body {
  padding: 0;
}

#modal1 .modal-content {
  padding: 45px;
  position: relative;
}

.modal-header .close {
  padding: 0;
  margin: 0;
  position: absolute;
  top: 15px;
  right: 15px;
  font-weight: 400;
  opacity: 1;
  z-index: 1;
}

.field {
  margin: 0 0 25px;
}
.field p {
  margin: 0;
}
.field > p > label {
  font-weight: 33;
  font-size: 14px;
  padding: 0 0 0px;
  margin: 0 0 15px!important;
  display: block;
}

.field input {
  height: 60px;
  padding: 0 20px;
  font-size: 16px;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
}

.field--check .wpcf7-checkbox {
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: auto;
}

.field--check .wpcf7-checkbox > span label {
  display: flex;
  align-items: center;
  margin: 0 0 10px;
}

.field--check .wpcf7-checkbox > span {
  margin: 0;
}

.field--check .wpcf7-checkbox > span label > span {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 400;
  color: #000;
}

.field--check .wpcf7-checkbox > span label > span:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid #000;
  position: absolute;
  left: 0;
  top: 2px;
}

.field--check .wpcf7-checkbox > span label > input:checked ~ span:after {
  content: '';
  position: absolute;
  left: 7px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.field--check .wpcf7-checkbox input {
  display: none;
}
input.wpcf7-not-valid {
  border-color: red;
}
span.wpcf7-not-valid-tip {
  font-size: 12px;
  color: red;
}

form.wpcf7-form.sent .field {
  display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: 0;
  text-align: center;
  color: #46b450;
  font-size: 18px;
}

input:focus,
input.form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #c9c9c9;
}

.field.field--submit input:focus {
  border-color: var(--blue);
}
.field.field--submit input:hover {
  background: transparent!important;
  color: #000;
}
.field.field--submit input,
.field.field--submit input:active,
.field.field--submit input:focus {
  font-size: 19px;
  line-height: 1.55;
  font-weight: 600;
  border-radius: 5px;
  background-color: #15bace!important;
  height: 55px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.03em;
  border: 2px solid var(--blue)!important;
  width: 100%;
  box-shadow: none!important;
}

.field.field--submit {
  margin: 0;
}

.wpcf7 form.invalid .wpcf7-response-output {
  display: none;
}


#modal1 .modal-dialog.modal-dialog-centered {
  max-width: 560px;
}
span.wpcf7-spinner {
  display: none;
}


.faq__answer {
  display: none;
}

.faq__items {
  border-bottom: 1px solid rgb(238, 238, 238);
  max-width: 760px;
  margin: 0 auto;
}
.faq__question a {
  padding: 27px 50px 27px 0;
  display: block;
  font-size: 24px;
  color: #000;
  font-weight: 600;
  border-top: 1px solid rgb(238, 238, 238);
  position: relative;
}

.faq__answer .editor {
  padding-bottom: 27px;
}


.faq__question a:hover .faq__item-arrow {
  background: var(--blue);
  transform: translate(0px, -50%) rotate(45deg);
}

.open-item a .faq__item-arrow {
  transform: translate(0px, -50%) rotate(45deg);
}


.faq__item-arrow {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0px, -50%) rotate(0deg);
  transition: .25s;
}

.faq__item-arrow:before, .faq__item-arrow:after {
  content: '';
  display: block;
  position: absolute;
  background: var(--blue);
  top: 50%;
}

.faq__item-arrow:after {
  width: 2px;
  height: 24px;
  transform: translate(0px, -50%);
  left: 0;
  right: 0;
  margin: 0 auto;
}
.faq__item-arrow:before {
  width: 24px;
  height: 2px;
  transform: translate(0px, -50%);
  left: 0;
  right: 0;
  margin: 0 auto;
}

.faq__question a:hover .faq__item-arrow:before,
.faq__question a:hover .faq__item-arrow:after {
  background: #fff;
}


article,
aside,
details,
figcaption,
figure,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

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

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

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

figure {
  margin: 1em 2.5rem;
}

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

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

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

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

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

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {

}
h1 {

}
h2 {

}
h3 {

}
h4 {

}
h5 {

}

p {
 
}


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
 
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {

}

.navbar-brand > a {
 
}

.navbar-brand > a:visited, .navbar-brand > a:hover {
  text-decoration: none;
}

#page-sub-header {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 0;
  text-align: center;
  font-size: 1.25rem;
  background-size: cover !important;
}

body:not(.theme-preset-active) #page-sub-header h1 {
  line-height: 1.6;
  font-size: 4rem;
  color: #563e7c;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}

#page-sub-header p {
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 1.25rem;
  font-weight: 300;
}
body:not(.theme-preset-active) #page-sub-header p {
color: #212529;
}
a.page-scroller {
  color: #333;
  font-size: 2.6rem;
  display: inline-block;
  margin-top: 2rem;
}

@media screen and (min-width: 768px) {
  body:not(.theme-preset-active) #page-sub-header h1 {
    font-size: 3.750rem;
  }
  body:not(.theme-preset-active) #page-sub-header {
    font-size: 1.25rem;
  }
}
@media screen and (min-width: 992px) {
  #page-sub-header p {
    max-width: 43rem;
    margin: 0 auto;
  }
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead nav {
  padding-left: 0;
  padding-right: 0;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {

}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {

}

.navbar-brand {
  height: auto;
}

.navbar-toggle .icon-bar {
  background: #000 none repeat scroll 0 0;
}

.dropdown-menu .dropdown-toggle::after {
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
  border-top: 0.3em solid transparent;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children {
    position: relative;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}
.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover>.dropdown-menu {
    display: block;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover>a:after {
    border-left-color: #fff;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left {
    float: none;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.dropdown-item {
  line-height: 1.2;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
}

.dropdown-menu {
  min-width: 12.500rem;
}

.dropdown .open .dropdown-menu {
  display: block;
  left: 12.250em;
  top: 0;
}

.dropdown-menu .dropdown-item {
  white-space: normal;
  background: transparent;
  line-height: 1.6;
}
.dropdown-menu .dropdown-item:hover {
  background: transparent;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .dropdown-menu li > .dropdown-menu {
    right: -9.875rem;
    top: 1.375rem;
  }
}
@media screen and (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    border: medium none;
    margin-left: 1.250rem;
    padding: 0;
  }

  .dropdown-menu li a {
    padding: 0;
  }

  #masthead .navbar-nav > li > a {
    padding-bottom: 0.625rem;
    padding-top: 0.313rem;
  }

  .navbar-light .navbar-toggler {
    border: medium none;
    outline: none;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}
.comment-content.card-block {
  padding: 20px;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0.938rem;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #eee none repeat scroll 0 0;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a img.alignright {
  float: right;
  margin: 0.313rem 0 1.25rem 1.25rem;
}

a img.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.alignleft {
  float: left;
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignleft {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignright {
  margin: 0.313rem 0 1.25rem 1.25rem;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  font-size: 0.875rem;
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}

.widget_search .search-form input[type="submit"] {
  display: none;
}

.nav > li > a:focus,
.nav > li > a:hover {
  background-color: #eee;
  text-decoration: none;
}
.half-rule {
  width: 6rem;
  margin: 2.5rem 0;
}
.widget_categories .nav-link {
  display: inline-block;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {

}

.sticky .entry-title::before {
  content: '\f08d';
  font-family: "Font Awesome\ 5 Free";
  font-size: 1.563rem;
  left: -2.5rem;
  position: absolute;
  top: 0.375rem;
  font-weight: 900;
}

.sticky .entry-title {
  position: relative;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
  margin-top: 0;
}

.post.hentry {
  margin-bottom: 4rem;
}

.posted-on, .byline, .comments-link {
  color: #9a9a9a;
}

.entry-title > a {
  color: inherit;
}



/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  background: #f1f1f1 none repeat scroll 0 0;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 0.313rem 0.313rem 0;
  text-align: center;
}
.wp-caption img[class*="wp-image-"] {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
}
.wp-caption .wp-caption-text {
  font-size: 0.688rem;
  line-height: 1.063rem;
  margin: 0;
  padding: 0.625rem;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-item .gallery-columns-2 {
  max-width: 50%;
}
.gallery-item .gallery-columns-3 {
  max-width: 33.33333%;
}
.gallery-item .gallery-columns-4 {
  max-width: 25%;
}
.gallery-item .gallery-columns-5 {
  max-width: 20%;
}
.gallery-item .gallery-columns-6 {
  max-width: 16.66667%;
}
.gallery-item .gallery-columns-7 {
  max-width: 14.28571%;
}
.gallery-item .gallery-columns-8 {
  max-width: 12.5%;
}
.gallery-item .gallery-columns-9 {
  max-width: 11.11111%;
}

.gallery-caption {
  display: block;
}

.top__icon span {
  display: none;
}



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

  .first-anim {
    opacity: 1;
}

  #modal1 h2 {
    font-size: 24px;
    margin: 0 0 20px;
  }

  #modal1 .modal-content {
    padding: 20px 15px;
    position: relative;
  }

  #modal2 .modal-body {
    padding: 20px 15px;
  }

  .field input {
    height: 45px;
    padding: 0 15px;
  }

  .field {
    margin: 0 0 20px;
  }

  .field > p > label {
    margin: 0 0 5px!important;
  }

  .clients__logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }



  .clients__logo > div {
    padding: 15px;
  }

  .clients__logo img {
    max-height: 50px;
    width: auto;
  }

  .block {
    margin: 0 0 60px;
  }

  .block__title {
    margin: 0 0 40px;
  }

  .home .container h2 {
    font-size: 32px;
  }

  .declaration-items {
    gap: 15px;
}

  .director {
    gap: 15px;
  }

  .top__icon span {
    display: block;
  }

  .top__icon  {
    font-size: 0;
  }

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

  .top__contact a:nth-last-child(2) {
    margin-left: auto;
  }

  .top__contact a {
    margin: 0 0 0 25px!important;
  }
 
  .banner__content h1 {
    font-size: 32px;
    line-height: 1.3;
  }





  .banner > div {
    max-width: 50%;
    flex: 0 0 50%;
  }

  .top__logo {
    min-width: 220px;
  }
/*
  .top__contact {
    display: grid;
  }

  .top__contact button, .top__contact a,
  .top__contact a:nth-last-child(2) {
    margin-left: 0px;
  }*/

  .top__contact button {
    display: none;
  }

  .edge p {
    max-width: 200px;
  }
  .edges {
      flex-wrap: wrap;
      gap: 15px;
  }
  .edge {
      max-width: 100%;
      flex: 0 0 calc((100%/3) - 15px);
  }
}


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

  .declaration-items {
    grid-template-columns: 1fr 1fr;
  }

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

  .director__img img {
    position: relative;
    height: auto;
    width: auto;
    object-fit: none;
    margin: 0 auto;
    display: block;
}


  .banner__content h1 {
    font-size: 28px;
    margin: 0 0 35px;
  }

  

  .banner__content p {
    font-size: 18px;
    margin: 0 0 35px;
  }

  .banner__content .btn-blue {
    width: 100%;
  }

  .banner__img {
    padding-left: 30px;
    display: flex;
    align-items: center;
  }
  
}


@media only screen and (max-width: 767px) {
  .declaration-items {
    grid-template-columns: 1fr;
  }

  .declaration-item {
    padding: 20px 20px 30px;
  }

  .faq__question a {
    padding: 15px 50px 15px 0;
    font-size: 20px;
  }
}

.btn-mobile {
  display: none;
}

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

  .btn-mobile {
    display: block;
    margin: 30px auto 0;
  }

  .banner__img {
    flex-direction: column;
}

  .edge {
    flex: 0 0 calc((100%/2) - 15px);
  }

  .edges {
    flex-wrap: wrap;
    column-gap: 15px;
    row-gap: 30px;
  } 

  .top__contact a {
    margin: 0 0 0 15px!important;
  }

  .top {
    height: 80px;
  }

  
  #content {
    padding-top: 80px;
  }

  .top__contact img {
    width: 24px;
    height: 24px;
  }

  .top__logo {
    min-width: 120px;
    max-width: 185px;
  }

  .first-block {
    padding: 40px 0 80px;
  }

  .banner__content p {
    font-size: 16px;
    margin: 0 0 35px;
  }
  .banner {
    flex-direction: column;
  }

  .banner > div {
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0;
  }

  .banner > div.banner__content {
    max-width: 450px;
  }

  .banner__content .btn-blue {
    max-width: 355px;
  }

  .banner > div.banner__content {
    margin: 0 0 0px;
  }

  .banner__content button {
    display: none;
}

  .banner__img img {
    max-height: 200px;
    width: auto;
  }

  .banner__img {
    justify-content: center;
  }
}


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


  .clients__logo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .clients__logo > div {
    padding: 0px;
  }

  .clients__logo > div:nth-child(1) {
    grid-area: 1 / 1 / 2 / 3;
  }

  .clients__logo img {
    max-height: 100px;
    width: auto;
  }

  .editor-btn button {
    width: 100%;
  }
}

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



  .banner__content h1 {
    font-size: 24px;
  }

  footer .btn-blue {
    width: 100%;
  }

  .banner__content .btn-blue {
    max-width: 100%;
  }

  footer {
    padding: 30px 15px;
  }

  .edge p {
    max-width: 200px;
    font-size: 14px;
}

}