.page-id-48 .main_form.desktop {
    display: none;
}
.page-id-33 .vacancy_form {
    display: none;
}
.youtube_text svg {
    width: 85px; height: 34px;
}
.yrc-banner.pb-relative {
    display: none;
}
li.yrc-load-more-button.yrc-button.yrc-nextpage span {
    font-size: 18px;
}
li.yrc-load-more-button.yrc-button.yrc-nextpage {
    font-size: 0px;
}
.yrc-pagination {
    width: 200px;
    margin: 0 auto!important;
}
span.yrc-video-date {
    display: none;
}
.yrc-item-desc.yrc-video-desc {
    font-size: 14px;
    font-weight: 100;
}
.yrc-thumb img {
    border-radius: 8px;
    margin-bottom: 8px;
}
li.yrc-load-more-button.yrc-button.yrc-nextpage {
    border-radius: 5px;
    padding-top: 10px; 
    padding-bottom: 10px;
}
.yrc-uploads.yrc-video-list.yrc-sub-section.__grid.yrc-loading-overlay li.yrc-load-more-button.yrc-button.yrc-nextpage {
    font-size: 18px;
}
.yrc-loading-overlay:after{
	display:none;
}

body {
  margin: 0;
  -webkit-font-smoothing: auto;
  font-family: 'Roboto', serif!improtant;
}

article,
aside,
details,
figcaption,
figure,
footer,
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 {
  clear: both;
  margin-top: 24px;
  margin-bottom: 15px;
  color: #24292e;
  font-weight: 600;
  line-height: 1.25;
}
h1 {
  font-size: 32px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 18px;
  line-height: 1.39;
  margin-bottom:0;
}
h4 {
  font-size: 16px;
  margin-bottom:0;
}
h5 {
  font-size: 16px;
  line-height: 17.5px;
  margin-bottom:0;
}

p {
  margin-bottom: 1.5em;
}
h1.entry-title {
  font-size: 1.31rem;
  border-bottom: 1px solid #eaecef;
}
h2.entry-title {
  border-bottom: 1px solid #eaecef;
}
h3.widget-title {
  font-size: 1.2rem;
}
/* Раздел "Карьеры" */
#titleBT{
	font-size: 22px;
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}
.partners_box{
	text-align: center;
}
.partners_box>* {
    align-self: center;
}
@media (max-width: 600px) {
	.partners_pic {
		max-height: 60px;
	}	
}

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

table {
  margin: 0 0 1.5em;
  width: 100%;
}
/* Главная страница, горизонтальный скролл */
.titler {
    left: -1px !important;
    right: 1px !important;
}
/* Раздел "Карьеры", настройка карт */
.quarries_map {
	position: relative;
    height: 75vh;
}
.quarries_map .filter, .quarries_map .baloon_container {
    position: absolute;
    z-index: 999;
    bottom: 0%;
}
@media (max-width: 600px) {
	.quarries_map {
		position: static;
		height: auto;
	}
	.quarries_map .filter, .quarries_map .baloon_container {
		position: static;
	}
}
.yamap_outer{
	position: absolute;
    width: 100%;
}
/* Раздел "Медиа" */
.yrc-desktop .yrc-banner {
    min-height: 200px !important;
}
.yrc-brand {
    height: 180px !important;
}

.youtube_text{
	margin-bottom: 1%;
	font-size: 1.2em;
}
.inst_text{
	margin-top: 5%;
	font-size: 1.2em;
}
.inst_header_text {
	display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
	margin: 2% 0;
}
.inst_header_text_p {
display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-flex: 0;
    -webkit-flex: 0 auto;
    -ms-flex: 0 auto;
    flex: 0 auto;
	margin-left: 10px;
}
.inst_header_text_p p {
	margin-bottom: 0px;
}
.inst_img {
	-webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
}
.inst_bio {
	font-size: 0.8em;
}
.wpmi-item {
	padding: 5px;
}
.wpmi-item:hover {
	opacity: 0.8;
	transition: 0.2s;
}
@media (max-width: 767px) {
	.wpmi-item {
		width: 50% !important;
	}
	.yrc-name{
		display: none;
	}
	#videoBlock {
		display: block !important;
		max-width: 740px;
	}
	.youtube_text{
		margin-bottom: 5%;
		font-size: 1.25em;
	}
	.inst_text{
		margin-top: 10%;
		font-size: 1.25em;
	}
}
@media (max-width: 481px) {
	.yrc-brand {
		height: 80px !important;
		margin-bottom: 5% !important;
	}
	.yrc-name{
		display: none;
	}
}

/*  Раздел "Вакансии" */
@media (max-width: 481px) {
	.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
		width: 100%;
	}
	.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
    margin: 10px 0;
	}
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.page_form_box .agreement,
.vacancy_form .agreement{
   font-size:80%;
}

.page_form_box h3,
.vacancy_form h3,
.page_form_box h4,
.vacancy_form h4
{
   margin-bottom:0.6em;
}

@media (max-width:1030px) {
   .page_image+.page_content_box:not(:last-child) {
      margin-right:0;
   }
   .page_image+.page_content_box+.page_form_box {
      flex:1 1 100%;
   }
}

.form-control {
   border-radius:.25rem .25rem 0 0;
   border-top:none;
   border-left:none;
   border-right:none;
   border-bottom:1px solid #ACB2BE;
}
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {
  margin-bottom: 0;
  background-color: #563d7c ;
  padding: 0.74rem 0;
}

.navbar-brand > a {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1.1rem;
  outline: medium none;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.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 {
  color: #cdbfe3;
  padding: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
  color: #fff;
  font-weight: 600;
  /*background: #f9f9f9;*/
}

.navbar-brand {
  height: auto;
}

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

.dropdown-toggle {
   white-space:nowrap;
}

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

/* 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;
  padding-left:1rem;
  padding-right:1rem;
}

.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
--------------------------------------------------------------*/

.entry-header {
   margin-left:0px;
}
@media (max-width:1500px) {
   .entry-header {
      margin-left:0px;
   }
}
@media(max-width:930px) {
   .entry-header {
      margin-left:0px;
   }
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {
  padding-bottom: 3.75rem;
  padding-top: 2rem;
}

#content.site-content>.wrapper>.row
{
   margin-left:0!important;
   margin-right:0!important;
}

.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;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comment-body .pull-left {
  padding-right: 0.625rem;
}

.comment-list .comment {
  display: block;
}

.comment-list {
  padding-left: 0;
}

.comments-title {
  font-size: 1.125rem;
}

.comment-list .pingback {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.563rem 0;
}

.comment-list .pingback:first-child {
  border: medium none;
}

/*--------------------------------------------------------------
# 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;
}

.page_content_box #gallery-1.gallery {
   display:flex;
   flex-flow:row wrap;
   justify-content:space-around;
   align-items:center;
   margin:-1em;
}

.page_content_box #gallery-1.gallery .gallery-item {
   flex:0 1 17em;
   width:auto;
   margin:1em;
}

/*--------------------------------------------------------------
# Plugin Compatibility
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Woocommerce
--------------------------------------------------------------*/
.woocommerce-cart-form .shop_table .coupon .input-text {
  width: 8.313rem !important;
}

.variations_form .variations .value > select {
  margin-bottom: 0.625rem;
}

.woocommerce-MyAccount-content .col-1,
.woocommerce-MyAccount-content .col-2 {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Elementor
--------------------------------------------------------------*/
.elementor-page article .entry-footer {
  display: none;
}

.elementor-page.page-template-fullwidth #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.elementor-page .entry-content {
  margin-top: 0;
}

/*--------------------------------------------------------------
## Visual Composer
--------------------------------------------------------------*/
.vc_desktop article .entry-footer {
  display: none;
}

.vc_desktop #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.vc_desktop .entry-content {
  margin-top: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer#colophon {
  font-size: 85%;
}
body:not(.theme-preset-active) footer#colophon {
  color: #99979c;
  background-color: #f7f7f7;
}
.navbar-dark .site-info {
  color: #fff;
}
.copyright {
  font-size: 0.875rem;
  margin-bottom: 0;
  text-align: center;
}

.copyright a, footer#colophon a {
  color: inherit;
}

@media screen and (max-width: 767px) {
  #masthead .navbar-nav > li > a {
    padding-bottom: 0.938rem;
    padding-top: 0.938rem;
  }
}
/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/
@media only screen and (max-width: 1280px) {
  html {
    font-size: 95%;
  }
}

@media screen and (max-width: 1199px) {
  .navbar-dark .dropdown-item {
    color: #fff;
  }
  .navbar-nav .dropdown-menu {
    background: transparent;
    box-shadow: none;
    border: none;
  }
}
/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  html {
    font-size: 90%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
  html {
    font-size: 85%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  html {
    font-size: 80%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
  html {
    font-size: 75%;
  }
}


/* UPGRADE  #343E51 */

.header_logo {
  width: 220px;
}

header#masthead {
  background-color: #fff;
}

.header_menu .nav-link {
  color: #000!important;
  border-bottom: 2px #FFFFFF solid;
  font-size: 18px!important;
  margin-right: 20px;
}

.header_menu .nav-link:hover {
  color: #343E51!important;
}

.navbar-collapse {
   margin:1em 0;
	text-align: center;
}

.header_phone {
   white-space:nowrap;
}
.header_phone p {
  display: inline-block;
  margin: 0;
  font-size: 16px;
  padding-right: 10px;
}

.header_phone h3 {
  display: inline-block;
  margin: 0;
  font-size: 22px;
  font-weight:bold;
}

.header_phone_box {
  text-align: right;
}
@media(max-width:750px)
{
   .header_phone_box {
     display:none !important;
   }
   .navbar-collapse.show+.header_phone_box {
      display:block;
      flex:1 1 auto;
   }
}

#footer-widget,
#footer-widget a,
#footer-widget h2,
#footer-widget h3,
#footer-widget h4 {
   color:#FFFFFF;
}

#footer-widget .footer_widget_1 {
   flex:0 0 20em;
}
#footer-widget .footer_widget_2 {
   flex:1 1 38em;
   margin:0 2.5em;
}
#footer-widget .footer_widget_3 {
   flex:0 0 auto;
}
@media(max-width:1387px) {
   #footer-widget .footer_widget_1 {
      flex:0 0 auto;
   }
}
@media(max-width:1320px) {
   #footer-widget .footer_widget_2 {
      display:none;
   }
}

#footer-widget .footer_widget_1 * {
   text-align:left;
}

#footer-widget .footer_widget_1 h3 {
   margin-bottom:0.25em;
}

#footer-widget .footer_widget_1 p {
   margin-bottom:0.1em;
}

#footer-widget {
  background-color: #343E51!important;
  padding-top: 20px!important;
}

#footer-widget .nav-link {
  color: #fff!important;
}
#footer_widget :not(.sub-menu) .nav-link {
   font-weight:bold;
}

#footer-widget .menu-item:hover {
  color: #343E51!important;
}

#footer-widget .sub-menu .nav-link {
  font-size: 12px;
}

#footer-widget .sub-menu .menu-item {
  padding: 0;
}

#footer-widget .sub-menu .menu-item .nav-link {
   padding:0 1rem 0.2rem 1rem;
}

#footer-widget .callforward {
   display:none;
}

#footer-widget .callforward button {
   width:100%;
}
#footer-widget .callforward.expanded button {
   display:none;
}

#footer-widget .callforward .selector {
   color:#000000;
   border-radius:4px;
   border:1px #F3D539 solid;
   background-color:#F3D539;
   box-shadow:0 0 25px #000000;
}
#footer-widget .callforward:not(.expanded) .selector {
   display:none;
}

#footer-widget .callforward .selector a {
   display:block;
   padding:0.25em 1em;
   font-size:130%;
   font-weight:bold;
   color:#000000;
}
#footer-widget .callforward .selector a:not(:last-child) {
   border-bottom:1px solid rgba(0,0,0,0.4);
}

.socials a {
  color: #fff;
  font-size: 35px;
  margin:0 5px;
}

.textwidget {
  text-align: center;
}

.socials a:hover {
  color: #F3D539;
}

.nav  li  a:hover {
  background-color: #343E51!important;
  color: #F3D539!important;
}

@media (min-width:500px)
{
   #footer-widget .menu {
     flex-direction: row!important;
   }
}

@media (max-width:480px)
{
   .footer_widget .container .row {
      flex-flow:column;
      justify-content:flex-start;
      align-items:center;
   }
   #footer-widget .footer_widget_1 *,
   #footer-widget .footer_widget_3 * {
      text-align:center;
   }
   
   
   #footer-widget .callforward {
      display:block;
   }

   #footer-widget .socials {
      margin-bottom:9em;
   }
   
   #footer-widget .calls {
      position:fixed;
      bottom:0;
      left:0;
      right:0;
      min-height:5em;
      display:none;
      flex-flow:row wrap;
      justify-content:space-between;
      align-items:flex-end;
      padding:0.5em 2.5vw;
      background:none #343E51;
      z-index:100;
   }
   #footer-widget .calls>* {
      flex:1 1 12em;
      margin:0.5em 2.5vw;
   }

}


#manepage header#masthead {
  box-shadow: none;
}

#mainpage .container {
   /*max-width: 1280px!important;*/
}

.wrapper {
  width: 90vw;
  margin: 0 auto;
}

#masthead .navbar-nav>li a {
  padding: 0!important;
  text-transform: none!important;
}

.site-main {
  width: 100%;
}

.page_image {
  flex:0 0 21em;
  margin:0.4em 3em 3em 0;
}
@media (max-width:1500px) {
   .page_image {
      flex-basis:17em;
   }
}
@media (max-width:600px) {
   .page_image {
      display:none;
   }
}

.navbar-brand {
  width: 18.5em;
}
@media (max-width:500px) {
   .navbar-brand {
     width:auto;
   }
}

.entry-content {
  
}

/* proportions keeper */
.proportions_keeper {
   position:relative;
   max-height:90vh;
}
.proportions_keeper>img.proportion {
   width:100%;
}
.proportions_keeper>*:not(.proportion) {
   position:absolute;
   top:0;
   left:0;
   width:100%;
   height:100%;
}

.captcha {
   display:flex;
   flex-flow:row wrap;
   justify-content:flex-start;
   align-items:stretch;
   margin-bottom:0.857rem;
}

.captcha img {
   flex:0 1 5em;
   padding:0;
}
.captcha span {
   flex:1 1 5em;
}

.footer_widget .container {
   max-width:none;
   margin:0 5vw;
}
@media(max-width:1199px)
{
   .footer_widget .container {
      margin-left:5vw;
   }
}

.footer_widget .container .row {
   justify-content:space-between;
}

/* scroller */
.scroll_box
{
   position:relative;
   display:flex;
   flex-flow:row;
   justify-content:center;
}

.scroll_box>.button
{
   cursor:pointer;
   position:absolute;
   top:0;
   width:3.5em;
   height:100%;
   background:none center/contain no-repeat transparent;
}
.scroll_box>.button.left {left:0; background-image:url('/wp-content/themes/wp-bootstrap-starter/img/arrow_left.svg');}
.scroll_box>.button.right {right:0; background-image:url('/wp-content/themes/wp-bootstrap-starter/img/arrow_right.svg');}
.scroll_box>.button.left.disabled,
.scroll_box>.button.right.disabled
{
   opacity:0.25;
}
@media(max-width:1000px)
{
   .scroll_box>.button
   {
      width:5vw;
   }
}

.scroll_box .area
{
   position:absolute;
   top:0;
   left:5%;
   height:100%;
   width:90%;
   overflow:hidden;
}

.scroll_box .content
{
   /*position:absolute;*/
   display:flex;
   flex-flow:row;
   align-items:stretch;
   height:100%;
   min-width:100%; /*js fallback*/
   transition:margin-left 0.3s ease-in-out;
}

.scroll_box .item
{
   display:flex;
   flex-flow:column;
   justify-content:flex-start;
   align-items:stretch;
}

.scroll_box .item .image
{
   flex:1 1 auto;
   background:none center no-repeat transparent;
}
.scroll_box.cover .item .image
{
   background-size:cover;
}
.scroll_box.contain .item .image
{
   background-size:contain;
}

/* specific gallery styles */
.reviews .scroll_box
{
   height:36vw;
   max-height:80vh;
}

.reviews .scroll_box .content
{
   justify-content:space-around;
}

.reviews .scroll_box .area
{
   left:calc(3.2em - 2vw);
   width:calc(100% - 6.4em + 4vw)
}

.reviews .scroll_box .item
{
   flex:0 0 25vw;
   margin:0 2vw;
}

@media(max-width:600px)
{
   .reviews .scroll_box
   {
      height:57vw;
   }
   .reviews .scroll_box .item
   {
      flex:0 0 41vw;
   }
}
@media(max-width:350px)
{
   .reviews .scroll_box
   {
      height:119vw;
   }
   .reviews .scroll_box .item
   {
      flex:0 0 86vw;
   }
}


.projects_car .scroll_box
{
   margin:0 -5vw;
}

.projects_car .scroll_box .area
{
   position:static;
   left:3vw;
   width:90vw;
}

.projects_car .scroll_box .content
{
   justify-content:space-around;
}

.projects_car .scroll_box .item
{
   flex:0 0 13.9vw;
   margin:0 2vw;
}
.projects_car .scroll_box .item .image
{
   flex:0 1 13.9vw;
   margin-bottom:1em;
}

@media(max-width:700px)
{
   .projects_car .scroll_box .item
   {
      flex:0 0 43vw;
   }
   .projects_car .scroll_box .item .image
   {
      flex:0 0 43vw;
   }
}
@media(max-width:350px)
{
   .projects_car .scroll_box .item
   {
      flex:0 0 89vw;
   }
   .projects_car .scroll_box .item .image
   {
      flex:0 0 89vw;
   }
}


#gallery_319.scroll_box
{
   height:6em;
   width:calc(100% + 2em);
   margin:0 -1em;
}

#gallery_319.scroll_box .button
{
   width:1em;
   background-size:contain;
}
#gallery_319.scroll_box .button.disabled
{
   opacity:0;
}

@media (max-width:500px)
{
   #gallery_319.scroll_box .area
   {
      left:7%;
      width:86%;
   }
   #gallery_319.scroll_box .button
   {
      width:7%;
   }
}

#gallery_319.scroll_box .item
{
   flex:0 1 12vw;
   margin:0 1em;
}

@media(max-width:800px)
{
   #gallery_319.scroll_box .item
   {
      flex:1 0 25vw !important;
      margin:0 1em;
   }
	.main_form.mobile {
		display: none !important;
	}
}
@media(max-width:350px)
{
   #gallery_319.scroll_box .item
   {
      flex:1 0 45vw !important;
      margin:0 1em;
   }
}

.hidden {
   display:none!important;
}

.contacts-page_text p+h2 {
   margin-top:40px;
}

.contacts-page_text h2>img {
   width: 2em!important;
   height:auto!important;
   margin: 0 0.5em 0 0!important;
   vertical-align: bottom!important;
}

.hh-widget-,
.hh-widget-:hover,
.hh-widget-:first-child,
.hh-header-,
.hh-header-:hover,
.hh-header-:first-child,
.hh-vacancies-,
.hh-vacancies-:hover,
.hh-vacancies-:first-child,
.hh-vacancy-,
.hh-vacancy-:hover,
.hh-vacancy-:first-child,
.hh-vacancy__link-,
.hh-vacancy__link-:visited,
.hh-vacancy__link-:active,
.hh-vacancy__link-:hover,
.hh-vacancy__link-:first-child,
.hh-vacancy__description-,
.hh-vacancy__description-:hover,
.hh-vacancy__description-:first-child,
.hh-footer-,
.hh-footer-:hover,
.hh-footer-:first-child,
.hh-footer__link-,
.hh-footer__link-:visited,
.hh-footer__link-:active,
.hh-footer__link-:hover,
.hh-footer__link-:first-child,
.hh-error-link-,
.hh-error-link-:visited,
.hh-error-link-:active,
.hh-error-link-:hover,
.hh-error-link-:first-child,
.hh-logo-,
.hh-logo-:visited,
.hh-logo-:active,
.hh-logo-:hover,
.hh-logo-:first-child,
.hh-logo-wrapper,
.hh-logo-wrapper:hover,
.hh-logo-wrapper:first-child {
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: normal !important;
    text-decoration: none !important;
    text-align: left !important;
    vertical-align: baseline !important;
    line-height: normal !important;
    letter-spacing: normal !important;

    display: block !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    visibility: visible !important;
    float: none !important;

    color: #000 !important;
    background: #fff !important;
    background-color: #fff !important;
    border: none !important;
    border-color: transparent !important;
}

.hh-widget-:before,
.hh-widget-:after,
.hh-header-:before,
.hh-header-:after,
.hh-vacancy-:before,
.hh-vacancy-:after,
.hh-vacancy__link-:before,
.hh-vacancy__link-:after,
.hh-vacancy__description-:before,
.hh-vacancy__description-:after,
.hh-footer-:before,
.hh-footer-:after,
.hh-footer__link-:before,
.hh-footer__link-:after,
.hh-error-link-:before,
.hh-error-link-:after,
.hh-logo-:before,
.hh-logo-:after {
    content: none !important;
}

.hh-widget-,
.hh-widget-:hover,
.hh-widget-:first-child {
    min-width: 200px !important;
    padding: 15px !important;
    border: 1px solid #1560b2 !important;
}

.hh-widget-_column,
.hh-widget-_column:hover,
.hh-widget-_column:first-child {
    max-width: 300px !important;
}

.hh-widget_3-,
.hh-widget_3-:hover,
.hh-widget_3-:first-child {
    height: 400px !important;
}

.hh-header-,
.hh-header-:hover,
.hh-header-:first-child {
    font-weight: bold !important;
    margin: 0 0 10px 0 !important;
}

    .hh-header-_empty,
    .hh-header-_empty:hover,
    .hh-header-_empty:first-child {
        margin: 0 !important;
    }

    .hh-widget_3- .hh-vacancies-,
    .hh-widget_3- .hh-vacancies-:hover,
    .hh-widget_3- .hh-vacancies-:first-child {
        overflow: hidden !important;
        max-height: 240px !important;
        margin-bottom: 10px !important;
        position: relative !important;
    }

.hh-vacancy-,
.hh-vacancy-:hover,
.hh-vacancy-:first-child {
    margin: 0 0 10px 0 !important;
}

    .hh-widget_3- .hh-vacancy-:last-child {
        margin-bottom: 0px !important;
    }

    .hh-vacancy__link-,
    .hh-vacancy__link-:visited,
    .hh-vacancy__link-:active,
    .hh-vacancy__link-:hover,
    .hh-vacancy__link-:first-child {
        font-weight: bold !important;
        text-overflow: ellipsis !important;
        margin-bottom: 2px !important;
        color: #1560b2 !important;
    }

        .hh-vacancy__link-:active,
        .hh-vacancy__link-:hover {
            text-decoration: underline !important;
        }

    .hh-vacancy__description-,
    .hh-vacancy__description-:hover,
    .hh-vacancy__description-:first-child {
        font-size: 12px !important;
        color: #858585 !important;
        line-height: 18px !important;
    }

.hh-footer-,
.hh-footer-:hover,
.hh-footer-:first-child {
    margin-bottom: 15px !important;
    z-index: 100 !important;
}

    .hh-footer__link-,
    .hh-footer__link-:visited,
    .hh-footer__link-:hover,
    .hh-footer__link-:first-child {
        font-size: 12px !important;
        color: #858585 !important;
        text-decoration: underline !important;
    }

    .hh-footer__link-:active,
    .hh-footer__link-:hover {
        color: #303030 !important;
    }

.hh-error-link-,
.hh-error-link-:visited,
.hh-error-link-:active,
.hh-error-link-:hover,
.hh-error-link-:first-child {
    font-weight: bold !important;
    margin: 0 0 15px 0 !important;
    color: #1560b2 !important;
}

    .hh-error-link-:hover {
        text-decoration: underline !important;
    }

.hh-logo-wrapper-,
.hh-logo-wrapper-:hover,
.hh-logo-wrapper-:first-child {
    left: 15px !important;
    right: 15px !important;
}

.hh-logo-,
.hh-logo-:visited,
.hh-logo-:active,
.hh-logo-:hover,
.hh-logo-:first-child {
    display: block !important;
}

    .hh-logo-_hh-ru,
    .hh-logo-_hh-kz,
    .hh-logo-_jobs-day-az,
    .hh-logo-_career-ru,
    .hh-logo-_headhunter-com-kz,
    .hh-logo-_hh-ru:hover,
    .hh-logo-_hh-kz:hover,
    .hh-logo-_jobs-day-az:hover,
    .hh-logo-_career-ru:hover,
    .hh-logo-_headhunter-com-kz:hover,
    .hh-logo-_hh-ru:first-child,
    .hh-logo-_hh-kz:first-child,
    .hh-logo-_jobs-day-az:first-child,
    .hh-logo-_career-ru:first-child,
    .hh-logo-_headhunter-com-kz:first-child {
        width: 50px !important;
        height: 50px !important;
        background: url(https://i-api.hh.ru/static/images/hh.png?utm_source=dev.hh.ru&utm_term=%2Fadmin%2Fwidgets%2Femployer) !important;
        background-image: url(https://i-api.hh.ru/static/images/hh.svg?utm_source=dev.hh.ru&utm_term=%2Fadmin%2Fwidgets%2Femployer), none !important;
    }

    .hh-logo-_jobs-tut-by,
    .hh-logo-_jobs-tut-by:hover,
    .hh-logo-_jobs-tut-by:first-child {
        width: 100px !important;
        height: 37px !important;
        background: url(https://i-api.hh.ru/static/images/jobs.tut.by.png?utm_source=dev.hh.ru&utm_term=%2Fadmin%2Fwidgets%2Femployer) !important;
        background-image: url(https://i-api.hh.ru/static/images/jobs.tut.by.svg?utm_source=dev.hh.ru&utm_term=%2Fadmin%2Fwidgets%2Femployer), none !important;
    }

    .hh-logo-_hh-ua,
    .hh-logo-_hh-ua:hover,
    .hh-logo-_hh-ua:first-child {
        width: 139px !important;
        height: 55px !important;
        background: url(https://i-api.hh.ru/static/images/grc.ua.png?utm_source=dev.hh.ru&utm_term=%2Fadmin%2Fwidgets%2Femployer) !important;
        background-image: url(https://i-api.hh.ru/static/images/grc.ua.svg?utm_source=dev.hh.ru&utm_term=%2Fadmin%2Fwidgets%2Femployer), none !important;
    }

    .hh-widget_3- .hh-logo-wrapper-,
    .hh-widget_3- .hh-logo-wrapper-:visited,
    .hh-widget_3- .hh-logo-wrapper-:active,
    .hh-widget_3- .hh-logo-wrapper-:hover,
    .hh-widget_3- .hh-logo-wrapper-:first-child {
        position: absolute !important;
        bottom: 15px !important;
    }

    .hh-widget_3- .hh-logo-wrapper-:before {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        top: -70px !important;
        width: 100% !important;
        height: 20px !important;
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)) !important;
    }
