/*   
Theme Name: Sparta
Theme URI: 
Version: 1.0
Tags: clean, html5
Description:
Author: 
Author URI:
Text Domain: sparta
Domain Path: /languages/loco/themes/
*/
html,body{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-weight:normal;margin:0;line-height:1em}h1{font-size:2em;margin-bottom:.5em}h2{font-size:1.75em;margin-bottom:.5142em;padding-top:.2em}h3{font-size:1.5em;margin-bottom:.7em;padding-top:.3em}h4{font-size:1.25em;margin-bottom:.6em}h5,h6{font-size:1em;margin-bottom:.5em;font-weight:bold}p,blockquote,ul,ol,dl,form,table,pre{display:block;line-height:inherit;margin:0 0 1.5em 0}article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}ul,ol,dl{padding:0}ul ul,ul ol,ol ol,ol ul,dd{margin:0}li{margin:0 0 0 2em;padding:0;display:list-item;list-style-position:outside}blockquote,dd{padding:0 0 0 2em}pre,code,samp,kbd,var{font:100%mono-space,monospace}pre{overflow:auto}abbr,acronym{text-transform:uppercase;border-bottom:1px dotted#000;letter-spacing:1px}abbr[title],acronym[title]{cursor:help}small{font-size:.9em}sup,sub{font-size:.8em}em,cite,q{font-style:italic}img{border:none}hr{display:block;height:1px;border:0;border-top:1px solid#ccc;margin:0 0 1.5em 0;padding:0}table{width:100%;border-collapse:collapse}th,caption{text-align:left}label{display:block}fieldset{margin:0;padding:0;border:none}legend{font-weight:bold}input,select{vertical-align:middle}input[type="radio"],input[type="checkbox"],.radio,.checkbox{margin:0.25em 0 0}.left{float:left;margin-right:1em}.right{float:right;margin-left:1em}.center{text-align:center}.clear{clear:both}.block{display:block;overflow:hidden;clear:both}.first{margin-left:0!important}.last{margin-right:0!important}.top{margin-top:0!important}.bottom{margin-bottom:0!important}.hidden,.print{display:none}.graphic{margin:0;padding:0;display:block;overflow:hidden;text-indent:-8000px}



html {
  overflow-x: hidden;
  height: 100%;
}

body {
  overflow-x: hidden;
}

img {
  border: none;
  display: block;
  max-width: 100%;
  height: inherit;
}

body,
table,
input,
textarea,
select,
li,
button {
  font: 1em 'Roboto', Arial, Sans-Serif;
  line-height: 24px;
  color: #000;
}

body {
  font-size: 14px;
  background: #fff;
  text-align: center;
}

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

ins {
  text-decoration: none;
  color: #900;
  font-style: italic;
}

code {
  color: #555;
}

pre {
  margin-left: 2em;
  padding-left: 2em;
  border-left: 1px solid #ccc;
}

blockquote {
  margin-left: 2em;
  border-left: 1px solid #ccc;
  font-style: italic;
}

dt {
  font-weight: bold;
}

th,
td {
  padding: .5em 1em;
  line-height: 1.5em;
}

th {
  background: #eee;
}

td {
  border-bottom: 1px solid #eee;
}

caption {
  font-style: italic;
  color: #777;
  margin: .5em 0;
}

fieldset {
  border: 1px solid #ccc;
  padding: 1em 2em;
  margin: 0 0 1.5em 0;
}

legend {
  padding: 2px 5px;
}

form div {
  margin: .5em 0;
  clear: both;
  overflow: hidden;
}

form div.col {
  clear: none;
}

form div.first {
  clear: both;
}

input[type="text"],
input[type="password"],
textarea,
.field,
.area,
select {
  border: 1px solid #aaa;
  padding: 5px;
  background: #fff;
  width: 300px;
  line-height: 1em;
  margin: 0;
}

select {
  width: 312px;
}

textarea,
.area {
  overflow: auto;
  height: 150px;
  width: 400px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus,
.focus {
  background: #f5f5f5;
  outline: none;
}

.submit {}

button {
  border: none;
  background: #555;
  color: #fff;
  cursor: pointer;
}

.container {
  margin: 0 auto;
  max-width: 1010px;
  padding: 0 15px;
  text-align: left;
  position: relative;
}

header {
  position: relative;
  padding: 2em 0 4em;
  background: url(img/header-back.jpg) no-repeat center bottom/cover;
}

footer {
  position: relative;
  clear: both;
  padding: 2em 0;
  background: #000;
}

.cols {
  margin-bottom: 1.5em;
  overflow: hidden;
}

.col,
.col2,
.col3,
.col4,
.col5 {
  float: left;
  display: inline;
  margin-left: 2%;
}

.cols .first,
.col:first-child {
  margin-left: 0 !important;
}

.col {
  width: 49%;
}

.cols3 .col {
  width: 32%;
}

.cols4 .col {
  width: 23.5%;
}

.cols5 .col {
  width: 18.4%;
}

.cols6 .col {
  width: 15%;
}

.cols3 .col2 {
  width: 66%;
}

.cols4 .col2 {
  width: 49%;
}

.cols5 .col2 {
  width: 38.8%;
}

.cols6 .col2 {
  width: 32%;
}

.cols4 .col3 {
  width: 74.5%;
}

.cols5 .col3 {
  width: 59.2%;
}

.cols6 .col3 {
  width: 49%;
}

.cols5 .col4 {
  width: 79.6%;
}

.cols6 .col4 {
  width: 66%;
}

.cols6 .col5 {
  width: 83%;
}

nav ul,
nav li {
  margin: 0;
}

nav ul {}

nav li {
  display: inline;
  position: relative;
  margin-right: 40px;
  list-style: none;
}

nav li:last-child {
  margin-right: 0;
}

nav a,
footer nav a {
  font-size: 12px;
  color: #000;
  text-transform: uppercase;
}

nav a {
  font-size: 17px;
}

footer nav a {
  color: #fff;
}

nav a:hover {
  color: #be132b;
}

header .nameblock {
  line-height: 105px;
  overflow: hidden;
  /* position: relative; */
  z-index: 10;
}

footer .nameblock {
  line-height: 50px;
  overflow: hidden;
}

header .logo,
footer .logo_f {
  float: left;
}

header nav,
footer nav {
  float: right;
}

.sloganblock {
  font-size: 49px;
  color: #1d6887;
  font-weight: 900;
  text-transform: uppercase;
  line-height: normal;
  letter-spacing: 4px;
  padding: 40px 0;
  position: relative;
}

.sloganblock:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(img/header-decor.png) no-repeat 105% center;
  top: 0;
  right: -50px;
  z-index: 0;
}

.sloganblock .widgettitle {
  font-size: 20px;
  color: #588ea5;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.sloganblock button,
a.button,
.announceblock a,
.contacts input.wpcf7-submit {
  border: none;
  background: #1d6887;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  padding: 22px 0;
  line-height: normal;
  height: inherit;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin: 30px 0;
  width: 196px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.sloganblock button:hover,
a.button:hover,
.announceblock a:hover,
.contacts input.wpcf7-submit:hover {
  background: #be132b;
}

.moreblock {
  background: url(img/more-back.jpg) no-repeat center/cover;

}

.moreblock .container {
  text-align: right;
}

.announceblock {
  display: inline-block;
  width: 100%;
  max-width: 470px;
  text-align: left;
  padding: 220px 0 140px;
  position: relative;
}

.announceblock:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(img/more-decor.png) no-repeat center/contain;
  top: 0;
  right: 130%;
  z-index: 0;
}

.announceblock h2 {
  font-size: 49px;
  color: #1d6887;
  font-weight: 900;
  text-transform: uppercase;
  line-height: normal;
  letter-spacing: 4px;
  position: relative;
  padding: 0;
  margin: 0 0 40px;
}

.announceblock h2 span {
  font-weight: 300;
}

.announceblock ul li {
  font-size: 16px;
  text-transform: uppercase;
  color: #1d6887;
  list-style-type: none;
  margin: 0;
  position: relative;
  line-height: normal;
  padding-left: 10px;
}

.announceblock ul li:before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #1d6887;
  border-radius: 50%;
  left: 0;
  top: 0;
  right: auto;
  bottom: 0;
  margin: auto;
}

.infoblock {
  padding: 105px 0;
}

.infoblock h2 {
  font-size: 26px;
  text-transform: uppercase;
  color: #1d6887;
  font-weight: 500;
  margin: 0 0 50px;
  padding: 0;
}

.bx-wrapper {
  -webkit-box-shadow: none;
  box-shadow: none;
  border: none;
  background: #fff;
}

.bx-wrapper .bx-next {
  right: -40px;
  background: url(img/arrow-r.png) no-repeat center;
}

.bx-wrapper .bx-prev {
  left: -40px;
  background: url(img/arrow-l.png) no-repeat center;
}

.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 40%;
  margin-top: -16px;
  outline: 0;
  width: 17px;
  height: 18px;
  text-indent: -9999px;
  z-index: 9999;
}

.bx-wrapper .bx-controls-direction a:hover,
.bx-wrapper .bx-controls-direction a:focus {
  background-position: center;
  opacity: .7;
}

.infoblock .cols {
  margin-bottom: 120px;
  overflow: initial;
  display: inline-block;
  width: 100%;
}

.infoblock a:hover {
  text-decoration: underline;
  color: #000;
}

.ev_item a {
  display: block;
}

.ev_item .meta {
  position: absolute;
  background: #be132b;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  padding: 5px 15px;
  top: 0;
  left: 0;
}

.ev_item .thumb img {
  margin-top: 10px;
  height: 177px;
}

.ev_item h3,
.customers h3 {
  color: #000;
  font-size: 19px;
  font-weight: 300;
  margin: 30px 0 0;
}

.news ul {}

.news li {
  list-style-type: none;
  margin: 0 0 15px;
  border-bottom: 1px solid #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding-bottom: 15px;
}

.news li .thumb {
  display: inline-block;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  overflow: hidden;
}

.news li a {
  display: inline-block;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  max-width: 260px;
  margin-left: 20px;
  vertical-align: top;
}

.news h3 {
  color: #000;
  /* font-size: 14px; */
  font-size: 16px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 1000px) {
  .news h3 {
    font-size: 18px;
  }
}

.cuss_item a {
  display: block;
}
.cuss_item .thumb {
  position: relative;
  max-width: 164px;
  padding-top: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.cuss_item .thumb img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}

header.clients {
  padding-bottom: 0;
}

.client {
  overflow: hidden;
  /* margin-top: -100px; */
  margin-bottom: -100px;
  position: relative;
  z-index: 1;
}

.client_info {
  display: inline-block;
  vertical-align: bottom;
  /* padding-bottom: 100px; */
  padding-bottom: 30px;
  width: 55%;
}

.client_info h1 {
  font-size: 63px;
  color: #1d6887;
  font-weight: bold;
  text-transform: uppercase;
}

.client_info h2 {
  font-size: 18px;
  color: #1d6887;
  font-weight: 300;
  margin-bottom: 30px;
}

.client_info ul {
  margin: 0;
  -webkit-column-count: 2;
          column-count: 2;
}

.client_info ul li {
  font-size: 12px;
  line-height: normal;
  color: #000;
  font-weight: 300;
  list-style-type: none;
  margin: 0 0 15px;
  padding: 5px 0 5px 50px;
  background: url(img/cl_decor.png) no-repeat left center;
  display: inline-block;
  vertical-align: top;
  width: 50%;
}

.cl_photo {
  display: inline-block;
  /* vertical-align: top; */
  vertical-align: bottom;
}

.content {
  margin-top: 80px;
}

.content p {
  /* font-size: 12px; */
  font-size: 16px;
  font-weight: 300;
  color: #000;
  margin-bottom: 20px;
}

.sloganblock.head_cat h1 {
  /* 	font-size: 49px; */
  font-size: 63px;
  color: #1d6887;
  font-weight: 900;
  display: inline-block;
  width: 300px;
  padding: 150px 0 150px;
  line-height: normal;
  z-index: 1;
  position: relative;
}

.sloganblock.head_cat.other h1 {
  font-size: 63px;
}

[class*=category-clients] .sloganblock.head_cat:after {
  background: url(img/hero-clients.png) no-repeat 105% center;
}

[class*=category-news] .sloganblock.head_cat:after {
  background: url(img/news-bg.png) no-repeat 105% center;
}

[class*=category-events] .sloganblock.head_cat:after,
.pages .sloganblock.head_cat:after {
  background: none transparent;
}

[class*=category-events] .sloganblock.head_cat:after {
  background: url(img/hero-events.png) no-repeat 105% center;
}

.page-id-6 .sloganblock.head_cat:after,
.page-id-341 .sloganblock.head_cat:after {
  background: url(img/hero-about.png) no-repeat 105% center;
}

.page-id-8 .sloganblock.head_cat:after,
.page-id-333 .sloganblock.head_cat:after {
  background: url(img/hero-contacts.png) no-repeat 105% center;
}

.cl_cat article {
  display: inline-block;
  width: 48.5%;
  text-align: center;
  margin-right: 1%;
  margin-bottom: 20px;
  position: relative;
}

.cl_cat article img {
  margin: 0 auto;
}

.cl_cat article h3 {
  /* 	    font-size: 18px; */
  font-size: 24px;
  color: #1d6887;
  font-weight: 500;
  text-align: left;
  margin: 30px 0;
  padding: 0;
  text-transform: uppercase;
}

.cl_cnt {
  width: 790px;
  margin: 20px auto 0;
}

.header_other {
  background: none transparent;
  padding-bottom: 0;
}

.infoblock.other {
  padding: 0;
}

.meta {
  margin: 40px 0 30px;
}

.meta,
.meta p,
.meta a {
  color: #1d6887;
  font-size: 10px;
  font-weight: 300;
  margin-bottom: 10px;
  padding: 0;
  line-height: normal;
}

.meta h1 {
  font-size: 26px;
  font-weight: 500;
}

.cl_cnt.othe_r article:first-child,
.cl_cnt.othe_r article:nth-child(4n+4) {
  width: 100%;
}

.cl_cnt.othe_r .thumbs img {
  margin: 0 auto;
  width: 100%;
  height: inherit;
}

.cl_cnt.othe_r .thumbs {
  width: 100%;
  height: 310px;
}

.cl_cnt.othe_r .meta {
  position: absolute;
  bottom: 30px;
  left: 40px;
  color: #fff;
  text-align: left;
}

.cl_cnt.othe_r .meta p,
.cl_cnt.othe_r .meta a,
.cl_cnt.othe_r .meta h3 {
  color: #fff;
  margin: 0;
  line-height: 25px;
  font-size: 14px;
}

.cl_cnt.othe_r .meta h3 {
  font-size: 26px;
  text-transform: none;
}

.cl_cnt.othe_r article:not(:first-child) .meta p,
.cl_cnt.othe_r article:not(:first-child) .meta span {
  display: none;
}

.cl_cnt.othe_r article:not(:first-child) .meta h3 {
  font-size: 20px;
  padding-right: 40px;
}

.cl_cnt.othe_r article:nth-child(3n+3) {
  margin-right: 0;
}

.cols.contacts {
  margin-top: 50px;
}

.contacts h3 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 50px;
  padding: 0;
}

.contacts ul li {
  list-style-type: none;
  margin: 0 0 40px;
  line-height: normal;
  font-size: 26px;
  font-weight: 300;
  padding-left: 40px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.contacts ul li.adr {
  background: url(img/loc.png) no-repeat left center;
}

.contacts ul li.mail {
  background: url(img/mail.png) no-repeat left center;
}

.contacts ul li.tel {
  background: url(img/tel.png) no-repeat left center;
}

.contacts ul li a {
  color: #000;
}

.contacts input,
.contacts textarea {
  border: 1px solid #000;
  padding: 10px 0 10px 15px;
  background: #fff;
  width: calc(100% - 20px);
  line-height: normal;
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  color: #000;
  margin-bottom: 30px;
}

.contacts textarea {
  height: 160px;
  margin-bottom: -10px;
}

.page-template article p {
  /* 	font-size:16px; */
  font-size: 24px;
}

.page-template article p {
  margin-bottom: 45px;
}

.togglenav {
  display: none;
}




@media all and (max-width:1000px) {
  .togglenav {
    display: block;
    width: 20%;
    height: 35px;
    background: url(img/hamburger.png) no-repeat center/contain;
    margin: 10px 0 0 auto;
    position: relative;
    z-index: 999999;
    outline: none;
  }

  .togglenav.active {
    position: fixed;
    top: 28px;
    right: 12px;
    background-image: url(img/close-menu.png);
  }

  .container {
    width: 95%;
    padding: 0;
  }

  .sloganblock:after {
    content: '';
    position: static !important;
    display: block;
    height: 360px !important;
    background-position: 50% 50% !important;
    background-size: contain !important;
    /*     position: absolute; */
    /*     width: 100%; */
    /*     height: 100%; */
    /*     background: url(img/header-decor.png) no-repeat center/contain; */
    /*         top: auto; */
    /*     right: 0; */
    /*     bottom: -35%; */
    z-index: 0;
    /* 	display:none; */
  }

  .home .sloganblock:after {
    display: none;
  }

  header nav,
  footer nav {
    float: none;
    display: none;
    width: 40%;
    line-height: normal;
    margin: 0 0 0 auto;
  }

  .bx-controls {
    display: none;
  }

  header nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 99999;
  }

  header nav.active {
    display: block;
    padding: 90px 5vw;
    width: calc(100% - 10vw);
  }

  header nav ul {
    position: relative;
    top: 0;
    left: 0;
    max-width: 320px;
    -webkit-transform: none;
            transform: none;
    margin: 0 auto;
    width: 100%;
  }

  header nav li {
    width: 100%;
    border-top: 1px solid #1d6887;
    padding: 12px 0;
    line-height: 1;
    display: block;
  }

  header nav li:last-child {
    border-bottom: 1px solid #1d6887;
  }

  header nav li a {
    /* 	font-size:20px; */
    font-size: 36px;
    color: #1d6887;
  }

  .cols3 .col2,
  .col {
    width: 100% !important;
    margin: 0 auto;
  }

  .cols .first {
    margin-bottom: 50px;
  }

  .ev_item .thumb img {
    margin-top: 30px;
    /* height: inherit; */
  }

  .ev_item .meta {
    font-size: 14px;
    font-weight: 300;
    padding: 3px 10px;
  }

  header .logo,
  footer .logo_f {
    float: left;
    width: 105px;
    z-index: 9999;
    position: relative;
  }

  .sloganblock {
    padding: 0;
    text-align: center;
  }

  .home .sloganblock {
    padding: 50px 0 270px;
    text-align: center;
    margin: 0;
  }

  .home header {
    margin-bottom: 0;
    padding-bottom: 3em;
    background-color: #DADEE2;
  }

  .announceblock {
    display: inline-block;
    text-align: center;
    padding: 80px 0 140px;
    position: relative;
    line-height: normal;
  }

  .infoblock {
    padding: 80px 0 0;
  }

  .infoblock .cols {
    margin-bottom: 40px;
    overflow: initial;
    display: inline-block;
    width: 100%;
  }

  .announceblock ul li {
    font-size: 14px;
    text-transform: uppercase;
    color: #1d6887;
    list-style-type: none;
    margin: 0 0 20px;
    position: relative;
    line-height: normal;
    padding: 0 50px;
    text-align: left;
  }

  .announceblock ul li:before {
    display: none;
  }

  .sloganblock.head_cat h1 {
    font-size: 40px !important;
    color: #1d6887;
    font-weight: 900;
    display: inline-block;
    width: 300px;
    padding: 50px 0;
    line-height: normal;
    z-index: 1;
    position: relative;
    margin: 0;
  }

  .cl_cat article {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-right: 0;
    margin-bottom: 20px;
    position: relative;
  }

  /* .cl_cat article h3 {
    text-align: center;
  } */

  .cl_cat article img {
    margin: 0;
  }

  header {
    padding: 2em 0 8em;
    background: url(img/header-back_mob_1.png) no-repeat;
    background-position: center bottom;
    background-size: cover;
  }

  .moreblock {
    background: url(img/more-back.jpg) no-repeat center/cover;
    padding-bottom: 10em;
  }

  .moreblock .container {
    text-align: center;
  }

  .announceblock:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(img/more-decor.png) no-repeat center/contain;
    top: auto;
    right: 0;
    left: 5%;
    bottom: -40%;
    margin: auto;
    z-index: 0;
  }

  .client_info {
    display: inline-block;
    vertical-align: bottom;
    /* padding-bottom: 100px; */
    padding-bottom: 30px;
    width: 100%;
    background: #fff;
    padding: 0 2.5%;
    margin: 0 -2.5%;
  }

  .client_info h1 {
    font-size: 40px;
    color: #1d6887;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 20px 0;
    margin: 0;
  }

  .client {
    overflow: inherit;
  }

  .cl_cnt {
    width: 100%;
    margin: 20px auto 0;
  }

  .news li a {
    max-width: none;
  }
}

@media only screen and (min-width: 768px) {
  .cl_cat article {
    width: 48.5%;
    margin-right: 1%;
  }

  
  .cl_cat article h3 {
    text-align: left;
  }
}

@media only screen and (max-width: 767.98px) {
  .cl_cnt.othe_r .meta {
    left: 25px;
  }
  .contacts ul li {
    font-size: 20px;
  }
}

/*------------------------------------------*/
/*  #MODAL
/*------------------------------------------*/
@-webkit-keyframes appear-center {
  0% {
    -webkit-transform: scale(0.3);
            transform: scale(0.3);
    opacity: 0.3;
  }

  50% {
    -webkit-transform: scale(0.6);
            transform: scale(0.6);
    opacity: 0.6;
  }

  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
@keyframes appear-center {
  0% {
    -webkit-transform: scale(0.3);
            transform: scale(0.3);
    opacity: 0.3;
  }

  50% {
    -webkit-transform: scale(0.6);
            transform: scale(0.6);
    opacity: 0.6;
  }

  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

.modalbox {
  display: none;
  opacity: 0;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  z-index: 99999;
}

.modalbox.is-active {
  display: block;
  -webkit-animation: appear-center 0.3s linear 0.2s forwards;
  animation: appear-center 0.3s linear 0.2s forwards;
}

.modal-container {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #fff;
  min-height: 100vh;
}

.close-form {
  position: absolute;
  top: 30px;
  right: 20px;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  background: url(img/close-menu.png) no-repeat 50% 50% /contain;
  outline: none;
}

.modal-body {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.modal-form {
  padding: 20px;
}

.modal-form input,
.modal-form textarea {
  display: block;
  width: 100%;
  padding: 0.6em 0.8em;
  border: 1px solid #989898;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  font-family: inherit;
  font-size: 1rem;
  color: #000;
  -webkit-transition: border-color 0.3s ease-out;
  transition: border-color 0.3s ease-out;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.modal-form textarea {
  height: 130px;
}

.modalbox--form [type=submit] {
  padding: 1rem 0.5rem;
  border: 0;
  background: #1d6887;
  color: #fff;
  text-transform: uppercase;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.modal-form br {
  content: '';
  display: block;
  margin: 0;
  margin-bottom: 16px;
  line-height: 1;
}

[id$="error"] {
  display: inline-block;
  font-size: 0.875rem;
  color: #DB3131;
  line-height: 1;
  margin-top: 6px;
}

.wpcf7-response-output {
  display: none !important;
}

span.wpcf7-not-valid-tip {
  font-size: 0.8em;
}

div.wpcf7 .ajax-loader {
  display: none;
}

@media only screen and (max-width: 500px) {
  .sloganblock.head_cat h1 {
    font-size: 36px !important;
  }
}

ul.page-numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 24px;
  margin-bottom: 40px;
  list-style: none;
}

ul.page-numbers li {
  margin: 0;
}

ul.page-numbers li > * {
  display: block;
  font-size: 16px;
  line-height: 1.25;
  display: block;
  margin-left: -1px;
  padding: 8px 12px;
  background-color: #fff;
  color: #007bff;
  border: 1px solid #dee2e6;
  -webkit-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

ul.page-numbers li:first-child > a,
ul.page-numbers li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

ul.page-numbers li:last-child > a,
ul.page-numbers li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

ul.page-numbers .current {
  color: #fff;
  background-color: #1d6887;
}

ul.page-numbers a:hover,
ul.page-numbers a:focus {
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.top-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  line-height: 1;
}

.top-sidebar.widget_polylang ul {
  list-style: none;
  margin-bottom: -16px;
}

.top-sidebar.widget_polylang .lang-item {
  display: inline-block;
  line-height: 1;
}

.lang-item a {
  color: #007bff;
  letter-spacing: 0.05em;
  font-weight: bolder;
}

.lang-item img {
  display: inline-block;
}

@media (max-width: 1000px) {
  .top-sidebar.widget_polylang ul {
    margin-bottom: 12px;
  }
}