/*
Theme Name: Datcom
Theme URI: 
Author: Eutem
Author URI: http://eutem.by/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, two-columns, right-sidebar, flexible-width, custom-menu, editor-style, featured-images, flexible-header, rtl-language-support, sticky-post, translation-ready
Text Domain: datcom
*/


/* =Reset
-------------------------------------------------------------- */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

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

caption,
th,
td {
    font-weight: normal;
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    clear: both;
}


/*html {
    overflow-y: scroll;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
*/

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
}

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

del {
    color: #333;
}

ins {
    background: #fff9c0;
    text-decoration: none;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin: 24px;
    margin-bottom: 1.714285714rem;
}

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

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

small {
    font-size: smaller;
}

b,
strong {
    font-weight: 700;
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
}

a {
    color: #0091d8;
    outline: none;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.read-more {
    white-space: nowrap;
}

p {
    padding: 10px 0px;
}


/*bootstrap margins*/

.m-0 {
    margin: 0 !important;
}

.mt-0,
.my-0 {
    margin-top: 0 !important;
}

.mr-0,
.mx-0 {
    margin-right: 0 !important;
}

.mb-0,
.my-0 {
    margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
    margin-left: 0 !important;
}

.m-1 {
    margin: 0.25rem !important;
}

.mt-1,
.my-1 {
    margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
    margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
    margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
    margin-left: 0.25rem !important;
}

.m-2 {
    margin: 0.5rem !important;
}

.mt-2,
.my-2 {
    margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
    margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
    margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
    margin-left: 0.5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.mt-3,
.my-3 {
    margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
    margin-right: 1rem !important;
}

.mb-3,
.my-3 {
    margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
    margin-left: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.mt-4,
.my-4 {
    margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
    margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
    margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
    margin-left: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

.mt-5,
.my-5 {
    margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
    margin-right: 3rem !important;
}

.mb-5,
.my-5 {
    margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
    margin-left: 3rem !important;
}

.site-content ul,
.site-content ol {
    padding: 10px 0px;
}


/* Clearing floats */

.clear {
    height: 1px;
    font-size: 1px;
    line-height: 1px;
    clear: both;
}


/* Images */

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

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

.entry-content img {
    max-width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    height: auto;
    padding: 1px;
    background: #fff;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .15), inset 0 0 0 1px rgba(255, 255, 255, .8);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .15), inset 0 0 0 1px rgba(255, 255, 255, .8);
    box-shadow: 0 0 10px rgba(0, 0, 0, .15), inset 0 0 0 1px rgba(255, 255, 255, .8);
}

.entry-content h3 img,
.entry-content .h3 img {
    padding: none;
    background: none;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .0), inset 0 0 0 1px rgba(255, 255, 255, .0);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .0), inset 0 0 0 1px rgba(255, 255, 255, .0);
    box-shadow: 0 0 10px rgba(0, 0, 0, .0), inset 0 0 0 1px rgba(255, 255, 255, .0);
    display: inline-block;
    vertical-align: top;
    margin: 0px 10px 0px 0px;
}

img.alignleft {
    display: inline;
    float: left;
    margin: 10px 20px 10px 0;
}

img.alignright {
    display: inline;
    float: right;
    margin: 10px 0 10px 20x;
}

img.aligncenter {
    clear: both;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.entry-content img.icon,
td.icon img {
    display: inline-block;
    vertical-align: middle;
    padding: 0;
    background-color: transparent;
    -webkit-box-shadow: none;
    -mozs-box-shadow: none;
    box-shadow: none;
    margin: 0 35px 0 0;
}

.with-icon {
    display: inline-block;
    vertical-align: middle;
}

table.with-bg {
    border: 1px solid #b6bcc4;
    margin: 10px 0px;
}

table.with-bg.small-font {
    margin: 5px 0px;
}

table.with-bg td,
table.with-bg th {
    border-left: 1px solid #b6bcc4;
    border-right: 1px solid #b6bcc4;
    padding: 10px 20px;
    background: #d2d6db;
}

table.with-bg td {
    vertical-align: top;
}

table.with-bg.small-font td,
table.with-bg.small-font th {
    font-size: 13px;
    padding: 5px 10px;
    line-height: 18px;
}

table.with-bg th {
    font-weight: bold;
    background: #c5cbd2;
}

table.with-bg tr:nth-child(odd) td {
    background: #dbdee2;
}


/* Editor Styles */

.subtitle {
    font-size: 18px;
    font-weight: 600px;
    color: #111111;
}


/*  Structure  */

body,
input,
textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
    color: #485057;
}

.ie8 body,
.ie8 input,
.ie8 textarea {
    font-family: Arial;
}

body {
    background: url(img/bg.jpg);
    /*min-width: 960px;*/
}

.clearfix:after {
    clear: both;
    display: block;
    content: "";
    min-height: 1px;
}

.wrapper {
    overflow: hidden;
    max-width: 2000px;
    margin: auto;
    background: url(img/footer_bg.jpg) center bottom no-repeat;
}

.site {
    padding-top: 460px;
    background: url(img/header_bg.jpg) center top no-repeat;
}

.site-header .header-container,
.site-main,
.site-footer {
    max-width: 960px;
    width: 100%;
    margin: auto;
}

.site-header .header-container {
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 15px;
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 9999;
    transition: .2s ease-in-out;
}

.site-header.sticky {
    background: #fff;
    transition: .2s ease-in-out;
}

.site-header.sticky .logo {
    padding: 19px 0 15px;
}

.site-header.sticky .navbar {
    padding: 15px 0 15px;
}

.site-main {
    background: url(img/content_bg.jpg);
}


/*.site-footer {
    height: 227px;
}*/

.site-content {
    padding: 45px 50px 50px;
    min-height: 250px;
}

.primary {
    width: 542px;
    float: left;
}

.secondary {
    width: 235px;
    float: right;
}


/* Content */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 700;
    color: #111;
    padding: 15px 0px 10px;
    letter-spacing: -1px;
}

h1,
.h1 {
    font-size: 26px;
    padding: 0 0 20px;
}

h2,
h3,
.h2,
.h3 {
    font-size: 18px;
    padding: 20px 0px 10px;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-size: 15px;
}

.entry-content ol {
    list-style: decimal;
    list-style-position: outside;
    padding: 10px 0px 10px 20px;
    margin-left: 30px;
}

.entry-content table ol {
    margin-left: 0;
    padding: 0px 0px 0px 20px;
}

.entry-content ul {
    padding: 5px 0px;
}

.entry-content li {
    padding: 5px 0px;
}

.entry-content ul li {
    padding-left: 35px;
    background: url(img/marker.png) 2px 11px no-repeat;
}

a.anchor {
    border-bottom: 1px dashed #0091d8;
}

a.anchor:hover {
    text-decoration: none;
    border-bottom: none;
}

a.doc,
a.pdf {
    display: inline-block;
    margin-left: 20px;
}

a.doc:first-child,
a.pdf:first-child {
    margin-left: 0;
}

a.doc:before,
a.pdf:before {
    display: inline-block;
    content: "";
    width: 27px;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin-right: 10px;
}

a.doc:before {
    background: url(img/doc.png) no-repeat;
}

a.pdf:before {
    background: url(img/pdf.png) no-repeat;
}

div.grey-bg,
p.grey-bg {
    background: #d2d6db;
    padding: 5px 10px;
    margin: 10px 0px;
}


/* ==== Header === */

.site-header .logo {
    overflow: hidden;
    padding: 40px 10px 0 0;
    transition: .2s ease-in-out;
}

.navbar {
    padding: 37px 0 15px;
    transition: .2s ease-in-out;
}

.site-header .phones-container {
    float: right;
    font-size: 20px;
    line-height: 20px;
    color: #2b2a29;
    font-weight: 600;
    margin-right: 25px;
    position: relative;
}

.site-header .phones-container .phones-icon {
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    background: #0091D8;
}

.site-header .phones .code {
    font-size: 17px;
    font-weight: 700;
    color: #7d92a3;
}

.site-header .phones b {
    display: none;
}

.site-header .phones b+br {
    display: none;
}


/* Book Call */

.book-call {
    position: relative;
    float: right;
}

.book-call-button {
    padding: 0px 12px 0px 10px;
}

.book-call-button .icon {
    display: inline-block;
    width: 14px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    background: url(img/phone.png) no-repeat;
    margin-right: 10px;
}

.book-call .wpcf7 {
    position: absolute;
    right: 0;
    top: 42px;
    display: none;
    z-index: 99;
}

.book-call .wpcf7-form {
    background: #fff;
    padding: 30px 40px;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .07);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, .07);
    box-shadow: 0 0 1px rgba(0, 0, 0, .07);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width: 462px;
}

.book-call-wpcf7 .wpcf7-form {
    background: #fff;
    padding: 30px 40px;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .07);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, .07);
    box-shadow: 0 0 1px rgba(0, 0, 0, .07);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width: 520px;
}

.book-call label,
.book-call-wpcf7 label,
.entry-content label {
    display: inline-block;
    text-align: right;
    width: 125px;
    vertical-align: middle;
    margin-right: 25px;
    font-size: 15px;
    line-height: 18px;
    color: #000000;
    font-weight: 700;
}

.book-call label .red,
.book-call-wpcf7 label .red,
.entry-content label .red,
.entry-content .red {
    color: #db4a37;
}

.book-call input[type="text"],
.book-call input[type="email"],
.book-call input[type="tel"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="text"] {
    display: inline-block;
    vertical-align: middle;
    width: 290px;
    height: 25px;
    line-height: 25px;
    padding: 5px 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #fdfdfd;
    border: 1px solid #999da0;
    font-size: 13px;
}

.book-call-wpcf7 input[type="text"],
.book-call-wpcf7 input[type="email"],
.book-call-wpcf7 input[type="tel"] {
    display: inline-block;
    vertical-align: middle;
    width: 290px;
    height: 37px;
    line-height: 25px;
    padding: 5px 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #fdfdfd;
    border: 1px solid #999da0;
    font-size: 13px;
}

.entry-content textarea {
    display: inline-block;
    vertical-align: middle;
    width: 290px;
    line-height: 25px;
    padding: 5px 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #fdfdfd;
    border: 1px solid #999da0;
    font-size: 13px;
}

.book-call input.wpcf7-not-valid,
.book-call-wpcf7 input.wpcf7-not-valid {
    border-color: #ff0000;
}

.site-content input[type="submit"],
.site-header input[type="submit"],
.book-call-wpcf7 input[type="submit"],
button {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #ff7e00;
    border: solid 1px #fe8816;
    background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, .09), rgba(255, 255, 255, .09));
    background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, .09), rgba(255, 255, 255, .09));
    background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, .09), rgba(255, 255, 255, .09));
    background-image: linear-gradient(to top, rgba(0, 0, 0, .09), rgba(255, 255, 255, .09));
    height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px rgba(0, 0, 0, .25);
    cursor: pointer;
}

.site-content input#searchsubmit {
    width: 42px;
    height: 37px;
    background-image: url(img/search.png);
    background-position: center center;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-left: 5px;
}

.book-call input[type="submit"],
.book-call-wpcf7 input[type="submit"] {
    width: 139px;
}

.book-call p.submit-button,
.book-call-wpcf7 p.submit-button {
    padding-left: 150px;
}

.book-call p.submit-button a,
.book-call-wpcf7 p.submit-button a {
    font-size: 15px;
    color: #008dd2;
    font-weight: 700;
}

div.wpcf7-response-output {
    font-size: 13px;
    line-height: 16px;
    margin: 10px 0 0;
    padding: 0 0 0 150px;
    border: none;
}

div.wpcf7-response-output.wpcf7-mail-sent-ok {
    font-size: 16px;
    line-height: 25px;
    font-weight: bold;
    color: #398f14;
    padding: 20px 0px;
    margin: 0;
}

div.wpcf7-validation-errors {
    color: #ff0000;
}

.wpcf7-form-control-wrap {
    height: 100%;
    display: inline-block !important;
}

span.wpcf7-not-valid-tip {
    position: absolute;
    font-size: 12px;
    line-height: 14px;
    top: -16px;
    left: 0;
}


/* Navigation */

.nav-menu {
    margin-right: -11px;
}

.nav-menu>li.with-sub-nav>a {
    padding: 5px 6px;
}

.nav-menu>li {
    float: left;
    height: 30px;
}

.nav-menu>li:not(.menu-item-has-children) {
    padding: 0 6px;
}

.nav-menu>li:last-child {
    padding-right: 12px;
}

.nav-menu>li.with-sub-nav {
    padding: 0;
}

.nav-menu>li.with-sub-nav>a {
    position: relative;
    z-index: 1100;
    margin-bottom: -2px;
    -webkit-border-radius: 3px 3px 0px 0px;
    -moz-border-radius: 3px 3px 0px 0px;
    border-radius: 3px 3px 0px 0px;
}

.nav-menu>li.with-sub-nav:hover {
    background: #fff;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .07);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, .07);
    box-shadow: 0 0 1px rgba(0, 0, 0, .07);
    -webkit-border-radius: 3px 3px 0px 0px;
    -moz-border-radius: 3px 3px 0px 0px;
    border-radius: 3px 3px 0px 0px;
}

.nav-menu a {
    display: block;
    color: #008dd2;
    font-size: 15px;
    font-weight: 700;
    padding: 5px 0px;
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-menu a:hover,
.nav-menu .current-menu-item>a,
.nav-menu .current-menu-ancestor>a,
.nav-menu .current_page_item>a,
.nav-menu .current_page_ancestor>a {
    color: #111;
}

.nav-menu>li.with-sub-nav:hover>a {
    background: #fff;
}

.nav-menu .sub-menu {
    position: absolute;
    background: #fff;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .07);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, .07);
    box-shadow: 0 0 1px rgba(0, 0, 0, .07);
    -webkit-border-radius: 0px 3px 3px 3px;
    -moz-border-radius: 0px 3px 3px 3px;
    border-radius: 0px 3px 3px 3px;
    z-index: 1000;
    padding: 0px 12px 10px;
    display: none;
}

.nav-menu>li:hover .sub-menu {
    display: block;
}

.paging-navigation {
    text-align: center;
    font-size: 15px;
    line-height: 18px;
    font-weight: 700;
    padding: 40px 0px;
}

.paging-navigation a,
.paging-navigation span {
    margin-left: 25px;
}

.paging-navigation a:first-child,
.paging-navigation span:first-child {
    margin-left: 0;
}

.breadcrumbs {
    font-size: 12px;
    line-height: 14px;
    padding-bottom: 30px;
    margin-top: -10px;
}


/* Front Page */

.home .site-content {
    background: url(img/front_bg.png) 410px top no-repeat;
}

.home-block p {
    padding: 0;
}

.home-blocks {
    width: 100%;
    padding-top: 30px;
    clear: both;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}

.home-block {
    width: 418px;
    height: 269px;
    padding: 1px 1px 1px;
    background: #fff;
    position: relative;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .15), inset 0 0 0 1px rgba(255, 255, 255, .8);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .15), inset 0 0 0 1px rgba(255, 255, 255, .8);
    box-shadow: 0 0 10px rgba(0, 0, 0, .15), inset 0 0 0 1px rgba(255, 255, 255, .8);
}

.home-block h3,
.home-block .h3 {
    width: 390px;
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 26px;
    color: #008bcf;
    font-weight: 800;
    text-shadow: 1px 1px #fff;
}


/* Content */

ul.justify {
    text-align: justify;
    line-height: 1px;
}

ul.justify li {
    display: inline-block;
    vertical-align: top;
    line-height: 22px;
    padding: 0;
    background-image: none;
}

ul.justify:after {
    display: inline-block;
    height: 1px;
    line-height: 1px;
    content: "";
    width: 100%;
}

ul.justify strong {
    color: #111;
}


/* Pages */

.content-list {
    padding-bottom: 20px;
}

.content-list:after {
    clear: both;
    display: block;
    content: "";
}

.content-list .list-item {
    padding: 20px 0px;
}

.content-list .list-item a {
    font-size: 18px;
    font-weight: 600;
}

.content-list .list-item img {
    margin-bottom: 10px;
}


/* News */

.news-block h3,
.news-block .h3 {
    padding: 0 0 15px;
    margin: 0;
    font-size: 22px;
}

.news-block ul {
    padding: 0px;
}

.news-block ul li {
    padding: 10px 0px 15px;
}

.news-block .date,
div.date {
    display: block;
    font-style: italic;
    color: #717b83;
    font-size: 13px;
}

div.date {
    line-height: 13px;
}

.news-block h4,
.news-block .h4 {
    padding: 0;
    font-size: 15px;
}

.news-block h4 a,
.news-block .h4 a {
    color: #0091d8;
}

.news-block h4 a:hover,
.news-list h3 a:hover,
.news-block .h4 a:hover,
.news-list .h3 a:hover {
    color: #34ace7;
    text-decoration: none;
}

.news-block p {
    padding: 0;
}

.news-block .bottom-link {
    padding: 10px 0px;
}

.news-block .bottom-link a {
    font-size: 13px;
    color: #0091d8;
}


/* Footer */

.site-footer {
    color: #fff;
}

.footer-top {
    padding: 60px 0px 7px;
    height: 80px;
}

.footer-top ul.sections {
    width: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-top ul.sections:after {
    display: inline-block;
    height: 1px;
    line-height: 1px;
    content: "";
    width: 100%;
    display: none;
}

.footer-bottom__container,
.footer-bottom__block,
.footer-bottom ul.sections {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.footer-bottom__container,
.footer-bottom__block {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.footer-bottom__block {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
}

.footer-bottom__contact {
    text-align: right;
}

.footer-bottom__contact:nth-child(1) {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}

.footer-bottom__contact:nth-child(3),
.footer-bottom__contact:nth-child(2) {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
}

.footer-bottom ul.sections {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.footer-bottom ul.sections img {
    max-width: 100%;
}

.footer-top ul.sections li b {
    color: #fff;
    font-weight: 700;
}

.sections form {
    width: 185px;
    height: 40px;
    position: relative;
}

.sections form input[type="text"] {
    color: #fff;
    height: 20px;
    width: 140px;
    line-height: 20px;
    border: none;
    padding: 10px 40px 10px 10px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0);
    -webkit-box-shadow: inset 3px 4px 45px rgba(0, 0, 0, .35);
    -moz-box-shadow: inset 3px 4px 45px rgba(0, 0, 0, .35);
    box-shadow: inset 3px 4px 45px rgba(0, 0, 0, .35);
}

.ie8 .sections form input[type="text"] {
    background: #1e1e1e;
}

.sections input.field::-webkit-input-placeholder {
    font-style: italic;
    color: #a2aab0;
}

.sections input.field::-moz-placeholder {
    font-style: italic;
    color: #a2aab0;
}

.sections input[type="submit"] {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    background: url(img/search.png) center center no-repeat;
    cursor: pointer;
}

.footer-bottom {
    font-size: 13px;
    color: #a2aab0;
}

.footer-bottom a {
    color: #a2aab0;
}

.footer-bottom .counters {
    text-align: center;
    padding: 0px 10px;
    overflow: hidden;
}

.footer-bottom .footer-prodvizhenie {
    overflow: hidden;
}

#button-menu {
    margin: 15px auto;
    width: 30px;
    height: 30px;
    display: none;
    position: relative;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

#button-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #0091d8;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}

#button-menu span:nth-child(1) {
    top: 0;
    -webkit-transform-origin: left center;
    transform-origin: left center;
}

#button-menu span:nth-child(2) {
    top: 13px;
    -webkit-transform-origin: left center;
    transform-origin: left center;
}

#button-menu span:nth-child(3) {
    top: 26px;
    -webkit-transform-origin: left center;
    transform-origin: left center;
}

#button-menu.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 3px;
    left: 0;
}

#button-menu.open span:nth-child(2) {
    width: 0;
    opacity: 0;
}

#button-menu.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 24px;
    left: 0;
}

.arrow-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 55px;
    height: 32px;
    padding: 7px 6px;
    cursor: pointer;
}

.arrow-menu .icon {
    width: 18px;
    height: 20px;
    margin: 0 auto;
    background-image: url(/wp-content/themes/datcom/img/right-arrow.svg);
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all .3s;
}

.arrow-menu.open .icon {
    transform: rotate(90deg);
}

.container-table table tr:first-child {
    border-top: none;
    font-weight: 600;
}

.container-table table tr:first-child a {
    border-top: none;
    font-weight: 600;
}

.container-table table a:hover {
    text-decoration: none;
}

.container-table table {
    width: 100%;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
    cursor: default;
}

.container-table table td,
.container-table table th {
    padding: 10px;
    text-align: left;
    background: rgba(210, 214, 219, 0.24);
}

table.with-bg tr:nth-child(odd) td {
    background: rgba(219, 222, 226, 0.22);
}

.container-table table tr:nth-child(even),
.container-table table th {
    background-color: rgba(197, 203, 210, 0.22);
}

.container-table {
    width: 100%;
    overflow: auto;
    margin: 0 auto;
}

.container-table.scrollRight {
    background: linear-gradient(to right, rgba(187, 187, 187, 0) 95%, rgba(187, 187, 187, 1) 100%);
    z-index: 10;
}

.container-table.scrollLeft {
    background: linear-gradient(to right, rgba(187, 187, 187, 1) 0%, rgba(187, 187, 187, 0) 5%);
    z-index: 10;
}

.container-table.scrollLeft.scrollRight {
    background: linear-gradient(to right, rgba(187, 187, 187, 1) 0%, rgba(187, 187, 187, 0) 5%, rgba(187, 187, 187, 0) 95%, rgba(187, 187, 187, 1) 100%);
    z-index: 10;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.float-none {
    float: none;
}

body .float-none .wpcf7 {
    right: auto;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.order-entry-content.entry-content img {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: none;
}

.order-breadcrumbs {
    padding-bottom: 3px;
}

.order-entry-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.order-entry-header>h1 {
    letter-spacing: 0;
}

.order-entry-content {
    padding-top: 16px;
    font-size: 15px;
    line-height: 1.4;
}

.order-block__title {
    padding: 30px 0 15px;
    letter-spacing: 0;
}

.order-block__text {
    font-size: 15px;
    line-height: 1.35;
    padding: 5px 0 0 0;
    letter-spacing: 0;
}

.order-properties {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding: 7px 0 0;
}

.order-select,
.order-inputs {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
}

.order-inputs__block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.order-inputs__block:nth-child(6) {
    margin-bottom: 13px
}

.order-inputs__block:nth-child(7) {
    margin-bottom: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.order-inputs__block:first-child {
    margin-top: 22px
}

input[type="tel"].order-inputs__field,
input[type="email"].order-inputs__field,
input[type="text"].order-inputs__field {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: auto;
    height: 33px;
}

textarea.order-inputs__field {
    width: auto;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    height: 72px;
    min-width: 156px;
    resize: none;
}

input.order-inputs__cb-field {
    margin: 0 6px 0 0;
    height: 20px;
    width: 20px;
}

label.order-inputs__cb-title {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    font-size: 13px;
    letter-spacing: -1.1px;
    margin-right: 0;
    text-align: left;
}

label.order-inputs__block-title {
    -ms-flex-preferred-size: 34.8%;
    flex-basis: 34.8%;
    margin-right: 0;
    width: auto;
    min-width: 150px;
    text-align: left;
}

.order-properties__title {
    letter-spacing: 0;
    padding-bottom: 29px;
}

.order-property .order-properties__title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.order-property__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.order-property__conditions {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
}

.order-submit {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    display: flex;
    justify-content: flex-end;
}

.order-submit form {
    padding-right: 10%;
}

.order-property__conditions-link {
    color: #000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.order-property__conditions-link:hover {
    text-decoration: none;
}

.order-property__conditions-title {
    margin: 2px 0 0px 13px;
    max-width: 165px;
    font-size: 12px;
}

.order-property__descr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}

.order-property__methods {
    margin: 15px 0 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.order-property__descr-methods {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    font-size: 15px
}

.order-property__methods-icons {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
}

.order-property__methods-icons img {
    max-width: 100%;
}

.order-property__text-block {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%
}

.order-property__paragraph {
    font-size: 15px;
    padding: 10px 16px 4px 0px;
}

.order-select__block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

label.order-select__radio {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-width: 322px;
    text-align: left;
    padding: 0 73px 0 34px;
    margin: 0 0 24px;
    font-weight: normal;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

label.order-select__radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

label.order-select__radio .radiobtn {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid black;
}

label.order-select__radio .radiobtn:after {
    display: none;
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

label.order-select__radio input:checked~.radiobtn:after {
    background-color: #2196F3;
}

input:checked~.radiobtn:after {
    display: block;
}

.order-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.order-block__description {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
}

.order-select__descr {
    display: block;
    letter-spacing: 0;
    padding: 4px 0;
    min-width: 100px;
}

.order-select__descr-title {
    display: block;
    padding: 3px 0;
    color: #485057;
}

.order-select__descr-text {
    display: block;
    padding: 2px 0;
}

.order-select__image {}

.order-block__image {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    padding: 25px 0 0;
}

.order-block__image img {
    -o-object-fit: contain;
    object-fit: contain;
    max-width: 100%;
}


/* footer new styles */

.footer-bottom__container {
    margin-bottom: 10px;
}

.footer-bottom__container__first {
    padding: 25px 30px;
    background: url(img/content_bg.jpg);
}

.footer-bottom__block__rekvizity {
    flex-basis: 25%;
    line-height: 1.3;
    font-size: 12px;
    color: #666666;
    justify-content: flex-start;
}

.footer-bottom__block__rekvizity p {
    padding: 0 0 10px;
}

.footer-bottom__block__tree {
    flex-basis: 75%;
    line-height: 1.3;
    justify-content: flex-start;
}

.footer-menu {
    margin-right: 30px;
}

.footer-menu a {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.footer-menu>li>a {
    margin-bottom: 15px;
    display: block;
}

.footer-menu .sub-menu a {
    font-weight: 400;
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
}

.footer-bottom__block__tree>div {
    display: flex;
    flex-basis: 30%;
}

.footer-bottom__block__tree>div:last-child {
    border-right: 1px solid #ccc;
    padding-right: 25px;
}

.order__bottom input.order-inputs__cb-field {
    margin: 0 15px 0 0;
}

.order-property-result .order-inputs__block {
    margin: 12px 0 0 32px;
}

.order-property-result {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.order-property-result .order-property__container {
    margin: 13px auto 0;
}

@media (max-width: 970px) {
    .footer-bottom__contact:nth-child(1),
    .footer-bottom__contact:nth-child(3),
    .footer-bottom__contact:nth-child(2),
    .footer-bottom__block {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%
    }
    .footer-bottom__block {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .footer-bottom__contact {
        text-align: center;
    }
    .book-call .wpcf7-form {
        padding: 15px 15px;
    }
    .contact-map ymaps {
        width: 100% !important;
    }
    img.alignnone {
        max-width: 100%;
        height: auto;
    }
    .content-block {
        width: 48% !important;
    }
    .content-block img {
        width: 100%;
        height: auto;
    }
    #content {
        padding-bottom: 15px;
    }
    .breadcrumbs {
        padding-top: 15px;
        margin-top: 0;
    }
    .footer-top {
        height: auto;
        padding-top: 0;
        padding-bottom: 65px;
    }
    .footer-top ul.sections {
        margin-top: 15px;
    }
    .sections form input[type="text"] {
        margin: 0;
        display: block;
    }
    .footer-top ul.sections li {
        width: 24%;
        margin-bottom: 15px;
    }
    .footer-top ul.sections li.last {
        display: block;
        float: none;
        margin-bottom: 0;
    }
    .footer-bottom:before,
    .footer-bottom:after {
        content: "";
        width: 100%;
        display: table;
        clear: both;
    }
    .wrapper {
        width: 100%;
    }
    .site-header .header-container,
    .site-main,
    .site-footer {
        padding: 0 15px;
        box-sizing: border-box;
    }
    .nav-menu>li {
        padding: 0 8px;
    }
    .nav-menu a {
        font-size: 14px;
    }
    .navbar {
        padding: 35px 0 5px;
    }
    .home-link img {
        width: 186px;
    }
    .site-content {
        padding: 0;
    }
    .home .site-content {
        background: none;
    }
    .primary {
        width: 66%;
        padding-right: 15px;
        padding-top: 15px;
        background-image: url(img/front_bg.png);
        background-position: 300px center;
        background-repeat: no-repeat;
        -webkit-background-size: cover;
        background-size: cover;
        box-sizing: border-box;
    }
    .secondary {
        width: 33%;
        box-sizing: border-box;
        padding-top: 15px;
        padding-left: 15px;
    }
    .home-block {
        width: 48%;
        margin-bottom: 15px;
    }
    .home-block img {
        width: 100%;
    }
    .home-block h3,
    .home-block .h3 {
        width: 100%;
        text-align: center;
        left: 0;
        top: 15px;
    }
    .order-property__methods-icons {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }
    .order-property__descr-methods {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }
    .footer-bottom__container__first {
        padding: 15px 20px;
    }
    .footer-bottom__block__rekvizity {
        justify-content: flex-start;
        flex-flow: column;
    }
    .footer-bottom__block__tree {
        justify-content: flex-start;
        padding-bottom: 10px;
        border-bottom: 1px solid #ccc;
        margin-bottom: 20px;
    }
    .footer-bottom__block__tree>div {
        flex-basis: 33.333333%;
    }
    .footer-bottom__block__tree>div:last-child {
        border-right: 0;
        padding-right: 0;
    }
}

@media (min-width: 861px) {
    #site-navigation {
        display: block !important;
    }
}

@media (max-width: 860px) {
    .site-header .phones-container {
        position: relative;
        margin-right: 12px;
    }
    .site-header .phones-container .phones-icon {
        display: flex;
    }
    .site-header .phones-container .phones {
        padding: 10px;
        margin-top: 9px;
        display: none;
        flex-direction: column;
        gap: 10px;
        width: max-content;
        right: 0;
        position: absolute;
        background: rgba(178, 219, 240, .85);
        transition: .2s ease-in-out;
    }
    .site-header .phones-container .phones:after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        top: -8px;
        right: 12px;
        position: absolute;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid rgba(178, 219, 240, .85);
    }
    .site-header .phones-container .phones.open {
        display: flex;
        transition: .2s ease-in-out;
    }
    .site-header .phones-container .phones br {
        display: none;
    }
    .site-header.sticky .logo {
        padding: 5px 0 0 0
    }
    .site-header.sticky .navbar {
        padding: 4px 0 0 0;
    }
    .site-header .header-container {
        padding: 0
    }
    table.with-bg td,
    table.with-bg th {
        padding: 10px !important;
        font-size: 13px;
    }
    .entry-content table td {
        vertical-align: top;
    }
    .entry-content table td.icon {
        padding-right: 15px;
    }
    .entry-content table td p {
        padding: 0 0 15px 0;
    }
    .entry-content table {
        width: 100%;
        height: auto !important;
        display: block;
        margin-bottom: 15px;
    }
    .entry-content table td,
    {
        .entry-content table th font-size: 13px;
        padding: 10px;
    }
    .entry-content table tbody {
        width: 100%;
    }
    .entry-content img.alignright {
        float: none;
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
    .nav-menu .sub-menu {
        position: relative;
        width: 100%;
        padding-left: 20px;
    }
    .nav-menu .sub-menu:before,
    .nav-menu .sub-menu:after {
        content: "";
        clear: both;
        width: 100%;
        display: table;
    }
    .arrow-menu {
        display: block;
    }
    .nav-menu>li:hover .sub-menu {
        display: none;
    }
    #site-navigation {
        position: absolute;
        top: 60px;
        left: calc(100% + 15px);
        width: 305px;
        z-index: 3;
        transition: left .3s;
        background-color: #fff;
        border-radius: 4px;
    }
    #site-navigation>ul {
        width: 100%;
    }
    #site-navigation * {
        box-sizing: border-box;
    }
    .nav-menu>li.with-sub-nav {
        position: relative;
        padding-right: 55px;
        height: auto;
    }
    .menu-item-has-children ul {
        display: none;
    }
    .footer-menu .menu-item-has-children ul {
        display: block;
    }
    #site-navigation li {
        display: block;
        width: 100%;
    }
    #site-navigation li a {
        width: 100%;
    }
    #site-navigation.on {
        left: -260px;
    }
    #button-menu {
        display: block;
        float: right;
        margin: 0;
    }
    #navbar:after {
        content: "";
        width: 100%;
        clear: both;
        display: table;
    }
    .site-header .logo {
        padding: 5px 0 0 0;
    }
    .site-header {
        padding: 15px;
    }
    .navbar {
        position: relative;
        padding: 4px 0 0 0;
        margin-left: 15px;
    }
    .site-header .phones .code {
        line-height: 1;
    }
    .site-header .header-action {
        display: flex;
        gap: 12px
    }
    .site-header .header-action .phones-container {
        margin: 0
    }
}

@media (max-width: 730px) {
    .entry-content img.alignleft {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
    .content-block {
        width: 100% !important;
    }
    .home-block {
        width: 100%;
        height: auto;
    }
    .home-block img {
        height: auto;
    }
    .order-properties {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: center;
    }
    .order-select,
    .order-inputs {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }
}

@media (max-width: 650px) {
    .logo-desktop {
        display: none;
    }
    body header .logo-mobile {
        display: block;
    }
    .book-call .wpcf7-form {
        max-width: 255px;
        box-shadow: 9px 12px 58px -11px rgba(0, 0, 0, 0.58);
    }
    .book-call label,
    .book-call input[type="text"],
    .book-call input[type="tel"] {
        width: 100% !important;
        display: block;
        margin-bottom: 4px;
        text-align: left;
        box-sizing: border-box;
    }
    .book-call p.submit-button {
        padding: 10px 0;
    }
    .contact-list li {
        width: 100%;
        float: none;
        display: block;
        margin-bottom: 15px;
    }
    .entry-content .wpcf7-form .wpcf7-form-control-wrap,
    .entry-content .wpcf7-form label,
    .entry-content .wpcf7-form input,
    .entry-content .wpcf7-form textarea {
        width: 100% !important;
        box-sizing: border-box;
        display: block;
        text-align: left;
    }
    .entry-content .wpcf7-form .wpcf7-form-control.wpcf7-submit {
        text-align: center;
    }
    .entry-content .wpcf7-form label {
        margin-bottom: 4px;
    }
    .entry-content table {
        width: 100% !important;
    }
    .book-call input[type="text"],
    .book-call input[type="email"],
    .book-call input[type="tel"],
    .entry-content input[type="email"],
    .entry-content input[type="text"] {
        width: auto;
    }
    /*    .site-footer {
        height: auto;
    }
*/
    .footer-top {
        padding-top: 15px;
        padding-bottom: 10px;
    }
    .wrapper {
        background: none;
    }
    .footer-top ul.sections li {
        width: 50%;
        float: none;
        display: block;
    }
    .footer-top ul.sections li.last,
    .footer-top ul.sections li.last>form,
    .footer-top ul.sections li.last>form input[type="text"] {
        width: 100%;
    }
    .footer-top ul.sections li.last>form {
        display: flex;
    }
    .footer-bottom .alignleft,
    .footer-bottom .alignright {
        float: none;
        width: 100%;
        display: block;
        text-align: left;
    }
    .primary,
    .secondary {
        width: 100%;
        float: none;
        margin-bottom: 15px;
        padding-left: 0;
        padding-right: 0;
    }
    .home-block h3,
    .home-block .h3 {
        font-size: 18px;
    }
    .site-header #site-navigation {
        top: 50px;
    }
    #site-navigation.on {
        left: calc(100% - 280px);
        top: 50px;
        max-height: calc(100vh - 125px);
        overflow-y: auto;
    }




    .site-header .phones-container {
        margin-right: 15px;
    }
    .site-header .phones .code {
        font-size: 14px;
    }
    .site-header .book-call button {
        padding: 0 12px;
    }
    .site-content input[type="submit"],
    .site-header input[type="submit"],
    button {
        font-size: 13px;
    }
    .order-entry-header {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .order-entry-header>h1 {
        line-height: 1.4;
        margin-top: 18px;
    }
    .order-entry-content {
        padding-top: 0;
        font-size: 14px;
        letter-spacing: 0.5px;
        line-height: 1.45;
    }
    .order-block {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .order-block__text {
        padding: 0px 0 0 0;
    }
    .order-block__image {
        padding: 9px 0 0;
    }
    .order-block__image img {
        height: auto;
    }
    .order-properties__title {
        max-width: 210px;
        text-align: center;
        margin: 0 auto;
        padding-top: 9px;
        padding-bottom: 18px;
    }
    .order-select__descr-title {
        font-size: 12px;
        letter-spacing: 0;
    }
    .order-select__descr-text {
        font-size: 12px;
        max-width: 86px;
        letter-spacing: 0;
    }
    label.order-select__radio {
        padding: 0 10px 0 29px;
        margin: 0 0 9px;
        min-width: 257px;
    }
    .order-property__methods {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: 18px 0 5px;
    }
    .order-property__conditions {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }
    .order-submit {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .order-submit form {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding-right: 0
    }
    .order-submit input[type="submit"] {
        width: 100%;
        max-width: 290px;
    }
    .order-property__descr {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }
    .order-property__conditions-link {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .order-property__conditions-title {
        margin: 2px -38px 0px 14px;
        max-width: 164px;
        font-size: 11px;
    }
    .order-property__methods-icons {
        margin: 12px 0 0;
    }
    .order-property__paragraph {
        padding: 8px 2px 2px 0px;
        letter-spacing: 0;
        line-height: 1.35;
    }
}

@media (max-width: 500px) {
    .footer-bottom__block__tree>div {
        flex-basis: 100%;
        margin-bottom: 10px;
    }
}

.prenews-image-link {
    padding: 10px 4px;
    margin-bottom: 20px;
    border-radius: 4px;
    width: 104%;
    background-color: #ff7e00;
    border: solid 1px #fe8816;
    background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, .09), rgba(255, 255, 255, .09));
    background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, .09), rgba(255, 255, 255, .09));
    background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, .09), rgba(255, 255, 255, .09));
    background-image: linear-gradient(to top, rgba(0, 0, 0, .09), rgba(255, 255, 255, .09));
    height: 62px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prenews-image-link:hover {
    text-decoration: none
}

.prenews-image-link img {
    display: block;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
}

.prenews-image-text {
    width: 76%;
    text-align: center;
    font-weight: bold;
    color: white;
}

@media (max-width: 970px) {
    .prenews-image-link {
        width: 96%;
    }
}

@media (max-width: 650px) {
    .prenews-image-link img {
        max-width: 100%;
    }
}

[itemprop="position"] {
    display: none;
}

.footer-info {
    margin-top: 30px;
}

.order__left {}

.order__right {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.order__result {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.order__result-descr {
    font-weight: normal;
    font-size: 18px;
    line-height: 25px;
    color: #000000;
    max-width: 220px;
}

.order__result-block {
    font-weight: normal;
    font-size: 15px;
    line-height: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    color: #485057;
    background: #FEFEFF;
    border: 1px solid #111111;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 3px;
    padding: 17px 21px 16px 21px;
    white-space: nowrap;
}

.order-select+.order-select {
    margin: 20px 0 0;
}

.order-select+.order-select .order-select__descr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.order-select+.order-select .order-select__descr-title {
    max-width: 110px;
    text-align: center;
}

.order-select+.order-select label.order-select__radio .radiobtn {
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.order-select+.order-select label.order-select__radio {
    margin-bottom: 0;
}

.order__bottom .order-property__descr-methods {
    -ms-flex-preferred-size: 23.7%;
    flex-basis: 23.7%;
    border-left: 1px solid #485057;
    padding: 8px 0 11px 12px;
}

.order__bottom .order-property__methods-icons {
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
    margin: 9px 0 0;
}

.order-select+.order-select .order-select__descr-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.order-property {
    margin: 47px 0 0;
}

.order__bottom .order-property__conditions {
    -ms-flex-preferred-size: 24.5%;
    flex-basis: 24.5%;
}

.order__bottom .order-property__conditions-link {
    padding: 9px 0 0px;
}

.order__bottom .order-property__conditions img {
    padding: 0
}

.order__bottom .order-property__container {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.order__bottom .order-inputs__block {
    margin: 12px 0 0 32px;
}

@media (max-width: 784px) {
    label.order-select__radio {
        margin: 0 0 52px;
    }
    label.order-select__radio:last-child {
        margin: 0;
    }
    input[type="tel"].order-inputs__field,
    input[type="email"].order-inputs__field,
    input[type="text"].order-inputs__field {
        height: 25px;
    }
    textarea.order-inputs__field {
        height: 55px;
    }
    .order-property {
        margin: 30px 0 0;
    }
    .order__bottom .order-property__conditions {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }
    .order__bottom .order-property__descr-methods {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        border-left: unset;
        max-width: 318px;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        padding: 8px 0 11px 0px;
    }
    .order__bottom .order-property__methods-icons {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }
}

.excerpt {
    padding: 10px 10px 5px;
    text-align: justify;
}

.home-block.home-block-excerpt {
    height: auto;
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 20px;
}

.home-blocks>div.h1 {
    width: 100%;
    text-align: center;
}

header .logo-mobile {
    height: 33px;
    width: auto;
    display: none;
}

@media (min-width: 861px) {
    header .logo .home-link img {
        height: 28px;
        width: auto;
    }
    .nav-menu>li.menu-item-has-children {
        padding: 0
    }
    .nav-menu>li.menu-item-has-children>a {
        padding-left: 6px;
        padding-right: 17px;
    }
    .nav-menu>li.menu-item-has-children>a::after {
        content: "";
        display: flex;
        height: 16px;
        width: 16px;
        margin: auto;
        top: 52%;
        right: 0;
        position: absolute;
        -webkit-background-size: cover;
        background-size: 16px;
        background-position: center;
        background-repeat: no-repeat;
        transform: translateY(-50%);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23008dd2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    }
    .nav-menu>li.menu-item-has-children.current-menu-item>a::after,
    .nav-menu>li.menu-item-has-children.current-menu-parent>a::after,
    .nav-menu>li.menu-item-has-children>a:hover::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    }
}

@media (min-width: 971px) {
    header .logo .home-link img {
        height: 36px;
        width: auto;
    }
    .nav-menu>li.menu-item-has-children>a {
        padding-left: 6px;
        padding-right: 20px;
    }
    .nav-menu>li.menu-item-has-children>a::after {
        top: 55%;
        right: 3px;
    }
}


/* Button Up */

.btn-up {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 20px;
    bottom: 90px;
    position: fixed;
    opacity: 1;
    background-color: #c7cbcf;
    transition: opacity 0.15s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(0);
    z-index: 999;
    cursor: pointer;
}

.btn-up-icon {
    width: 20px;
    height: 20px;
}

.btn-up-icon path {
    fill: #111111;
}

.btn-up_hide {
    display: none;
}

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

@media (max-width: 380px) {
    header .logo-mobile {
        height: 30px;
    }
    .site-header.sticky .logo,
    .site-header .logo {
        padding: 1px 0 0
    }
    .site-header .book-call button {
        padding: 0 12px;
        height: 32px;
    }
    .site-header .header-action {
        gap: 6px
    }
    .site-header .phones-container .phones-icon {
        width: 32px;
        height: 32px;
    }
    .site-header .phones-container .phones-icon svg {
        width: 16px;
        height: 16px;
    }
    .site-header #button-menu {
        transform: scale(.75);
    }
    .site-header .navbar {
        padding: 2px 0 0 !important;
        margin-left: 6px
    }
    .site-header #site-navigation,
    #site-navigation.on {
        top: 40px;
    }
}

#menu-glavnoe-menyu p {
    padding: 0;
}



/* popup */
@media (max-width: 768px) {
    .wpcf7-form{
        width: auto !important;
    }
    #book-call-wpcf7-f57-o1 {
        width: 100%;
        max-width: 400px;
        padding: 20px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    #contactform p {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    #contactform label {
        display: block;
        text-align: left;
        margin-bottom: 8px;
        width: 100%;
    }

    #contactform input[type="text"],
    #contactform input[type="tel"],
    #contactform input[type="submit"] {
        width: 100%;
        box-sizing: border-box;
    }

    .submit-button {
        margin-top: 10px;
    }

    .fancybox-close-small {
        top: 10px;
        right: 10px;
    }

    .book-call p.submit-button, .book-call-wpcf7 p.submit-button{
        padding-left: inherit;
    }
    span.wpcf7-not-valid-tip{
        position: relative;
        top: 0;
    }
}




.service-callback-box {
    box-sizing: border-box;
    margin: 20px 0;
    padding: 20px 15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: transparent;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .15), inset 0 0 0 1px rgba(255, 255, 255, .8);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .15), inset 0 0 0 1px rgba(255, 255, 255, .8);
    box-shadow: 0 0 10px rgba(0, 0, 0, .15), inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.service-callback-box__text {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 600;
}
.service-callback-box__buttons {
    width: 100%;
    max-width: 400px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.service-callback-box__button {
    box-sizing: border-box;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #ff7e00;
    border: solid 1px #fe8816;
    background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, .09), rgba(255, 255, 255, .09));
    background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, .09), rgba(255, 255, 255, .09));
    background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, .09), rgba(255, 255, 255, .09));
    background-image: linear-gradient(to top, rgba(0, 0, 0, .09), rgba(255, 255, 255, .09));
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 1px 1px rgba(0, 0, 0, .25);
    cursor: pointer;
}

@media (max-width: 767px) {
    .service-callback-box--hide-text-on-mobiles .service-callback-box__text {
        display: none;
    }
    .service-callback-box__buttons {
        max-width: 100%;
    }
}
@media (max-width: 450px) {
    .service-callback-box__buttons {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
}