@media all and (max-width: 520px) {
  #header_hamburger {
    display: block;
    float: right;
  }
  #header_2, #header_3, #header_3_tel_mobile, #header_menu {
    display: none;
  }
  /*Начало*/
  h1 {
    font-size:1.7rem!important;
  }
  h2 {
    font-size: 1.2rem!important;
  }
  .h1_pod {
    font-size:1.1rem!important;
    line-height: 20px!important;
  }
  #slider {
    flex-direction: column;
    justify-content: center;
  }
  .bi-chat-left-quote-fill {
    width:  2em;
    height: 2em;
  }
  #slider_1_zag {
    font-size: 19px;
    margin-top: 15px!important;
  }
  #slider_1_text {
    /*font-size: 19px;*/
    margin-top: 10px!important;
  }
  #slider_1_name {
    font-size: 14px;
  }
  .zagol {
    margin-top: 30px!important;
  }
  .input_slide{
    width: 100%!important;
  }
  #slider_1_name_and_quote{
    margin-top: 10px!important;
  }
  #slider_1_right{
    padding: 10px!important;
  }
  /*расчеты*/
  .block_posled_ras4et_all {
    flex-direction: column;
  }
  .block_posled_ras4et_name, .block_posled_ras4et_sk, .block_posled_ras4et_price {
    justify-content: center;
    text-align: center;
  }
  .block_posled_ras4et_sk {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .bloc_main_text {
    width: 100%!important;
  }
  .bloc_main_news {
    width: 100%!important;
    margin-top: 20px;
  }
  .bloc_main_articles .block_article {
    width: 100%!important;
  }
  .otz_bottom {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .ves_rat{
    margin-bottom: 5px;
  }
  #zapl {
    display: none;
  }
  .block_mininews {
    padding: 0px 0px 0px 0px!important;
  }
  .img_main_text{
    float: none!important;
    margin-right: 0px!important;
    margin-bottom: 10px!important;
  }
}


@media all and (min-width: 521px) and (max-width: 890px) {
 /*hamburger*/
  #header_hamburger {
    display: block;
    float: right;
  }
  #header_2, #header_3, #header_menu {
    display: none;
  }
  #header_3_tel_mobile {
    display: block;
  }
  .dropdown:hover > .dropdown-menu{
      display: block;
  }
  /*Slider*/
  .bi-chat-left-quote-fill {
    width:  2em;
    height: 2em;
  }
  #slider_1_zag {
    font-size: 19px;
    margin-top: 20px!important;
  }
  #slider_1_text {
    /*font-size: 19px;*/
    margin-top: 20px!important;
  }
  #slider_1_name {
    font-size: 11px;
  }
  #slider_1_name_parent {
  position: relative;
  top: 2em!important;
  margin-top: 0px!important;
  }
  .input_slide{
    width: 100%!important;
  }
  /*Начало*/
  h1 {
    font-size:1.7rem!important;
  }
  h2 {
    font-size: 1.2rem!important;
  }
  .h1_pod {
    font-size:1.1rem!important;
    line-height: 20px!important;
  }
  /*последние расчеты*/
  .block_posled_ras4et_name {
    height: auto;
    width: 40%;
  }
  .block_posled_ras4et_sk {
    height: auto;
    width: 30%;
    text-align: center;
  }
  .block_posled_ras4et_price {
    width: 25%;
    text-align: center;
  }
  .bloc_main_text {
    width: 100%!important;
  }
  .bloc_main_news {
    width: 800px!important;
    margin-top: 20px;
  }
  .bloc_main_articles .block_article {
    width: 50%!important;
  }
  #zapl {
    display: none;
  }
  .block_mininews {
    padding: 0px 0px 0px 0px!important;
  }
}

@media all and (min-width: 891px) {
  #header_hamburger, #header_3_tel_mobile {
    display: none;
  }
  /*последние расчеты*/
  .block_posled_ras4et_name {
    height: auto;
    width: 40%;
  }
  .block_posled_ras4et_sk {
    height: auto;
    width: 30%;
    text-align: center;
  }
  .block_posled_ras4et_price {
    width: 25%;
    text-align: center;
  }
}

/*Верхнее Меню*/
.dropdown:hover > .dropdown-menu {
    display: block;
}
.dropdown-menu {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  /*top: 100%!important; начинает скакать при клике*/
  margin: .05rem 0 0;
}
.dropdown-item {
  cursor: pointer;
}


#header_hamburger{
  cursor: pointer;
}
#header_hamburger:hover{
  color: #177edc;
}

header {
	position: relative;
}
/*mobile menu*/
.menu-close {
	display: block;
	width: 28px;
	height: 28px;
	background: url(/img/close.png) 0 0 repeat;
  /*background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z' clip-rule='evenodd'/></svg>") */
	position: absolute;
	right: 20px;
	top: 20px;
	z-index: 100;
}
.menu-popup {
	display: none;
	background: #fff;
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0;
	box-sizing: border-box;
	padding: 30px;
	z-index: 9999;
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.menu-popup ul {
	margin: 0;
	padding: 0;
}
.menu-popup li {
	list-style: none;
	margin: 10px 0;
	padding: 0;
}
.menu-popup li a {
	font-size: 18px;
	line-height: 1.4;
	text-decoration: none;
}
.body_pointer * {
	cursor: pointer;
}

.swiper-container {
      width: 100%;

}
.swiper-container_mininews {
      width: 75%;
      height: auto;
}
.swiper-slide {
      /*text-align: center;
      font-size: 18px;
      background: #fff;*/

      /* Center slide text vertically
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;*/
    }

.bloc_main_text {
  width: 75%;
  background: #fff;
  padding-top: 15px;
  padding-right: 15px;
}



body {
	font: 100%/1.4 Georgia, Arial, Helvetica, sans-serif;
  font-size:0.9rem;
	background:#fff;
	margin: 20px 20px 20px 20px;
	padding: 0px;
	color: #000;

}
h1, h2, h3, h4, h5, h6, p {
  margin-left: -2px;
	margin-top: 0;
	padding-right: 15px;
	color:#3a3a3a;
}
h1 {
	font-size:2.7rem;
}
h2 {
	font-size:1.4rem;
	/*line-height: 1.2rem;*/
}
h3 {
	font-size:1.2rem;
	color:#222;
}
h5 {
	font-size:1.1rem;
}
h6 {
  margin-bottom: 0rem;
}
a img {
	border: none;
}
.red {
	color:#ff0100;
}
.orange {
	color:#ff5c00;
}
.yellow {
	color:#d1d113;
}
.green {
	color:#0aa200;
}
.blue {
	color:#0000f7;
}

.links {
	padding-top:10px;
	font-size:10px;
	padding-left:80px;
	float:left;
}
a:link {
	color: #000;
  text-decoration: none;

}
a:visited {
	color: #42413C;
  text-decoration: none;
}
a:hover, a:active, a:focus {
	text-decoration: none;
  color: black;
}
.bloc_main_text a {
	color: #000;
  text-decoration: underline;
}

.punktir{
  border-bottom: 1px dashed #000;
  cursor: pointer;
}

.h1_pod {
  font-size:28.5px;
  color:#6c6c6c80;
  margin-left:-2px;
  line-height: 30px;
  text-transform: uppercase;
}

#header_main{
  color: #42413C;
}


#slider_1_right{
  background: #fbfbfb;
  /*background: linear-gradient(to right bottom, #ffffff, #f1f1f1);*/
  padding: 20px;
}

.input_slide{
  background: #fee351;
  /* margin: 40px; */
  width: 60%;
  border: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #353535;
}
.bloc_main_news {
  width: 25%;
  background: #fbfbfb;
  padding: 20px;
  height:100%;
  max-width: 100%;
}
.bloc_main_articles .block_article {
  width: 25%;
}
.p_bottom_off {
  margin-bottom: 0rem!important;
}

.mininews_ya_vkl{
  padding:7px 12px 7px 12px;
  background:#fff;
  /*border: 1px dashed black;*/
  text-align: center;
  margin-right: 30px;
  cursor: pointer;
  font-size: 1rem;
}
.mininews_ya_vkl:hover{
background: #fbfbfb;
}

.block_mininews {
  padding: 0px 20px 20px 20px;
}

.shapka-ng {
  position: absolute;
  top: -10px;
  left: 168px;
  width: 24px;
  transform: rotate(14deg);
}

.footer {
  bottom: 0;
  width: 100%;
  height: auto; /* Set the fixed height of the footer here */
  line-height: 30px; /* Vertically center the text there */
  background-color: #f5f5f5;
  padding: 20px;
}

/*calc*/
.form-control {
  background: #f3f3f3;
  border: solid 1px #f3f3f3;
  border-radius: 5px;
  font-size: 0.9rem;
}
.retur_ok {
  cursor: pointer;
}
.form-check-input, .form-check-label {
  cursor: pointer;
}

.grecaptcha-badge {
	visibility: hidden;
}

.calc_spisok {
    display: none;
    width: 400px;
    height: 300px;
    border: solid 1px grey;
    position: absolute;
    z-index: 2;
    overflow: scroll;
    background: white;
    padding: 15px;
    font-size: 1rem;
    line-height: 1.7rem;
}
.qwe {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  background-color: rgba(255, 0, 0, 0.5);
}

.slinky-menu {
  overflow: hidden;
  transform: translateZ(0); }
  .slinky-menu > ul {
    left: 0;
    position: relative;
    transform: translateZ(0); }
  .slinky-menu ul,
  .slinky-menu li {
    list-style: none;
    margin: 0; }
  .slinky-menu ul {
    width: 100%; }
  .slinky-menu a {
    align-items: center;
    display: flex; }
    .slinky-menu a span {
      flex: 1;
      line-height: 1.4; }
  .slinky-menu li ul {
    display: none;
    left: 100%;
    position: absolute;
    top: 0; }
  .slinky-menu .header {
    display: flex; }
    .slinky-menu .header .title {
      flex: 1;
      line-height: 1.4;
      margin: 0;
      order: 1; }

.slinky-theme-default {
  background: #f6f7f8; }
  .slinky-theme-default .title {
    color: #333;
    padding: 1em; }
  .slinky-theme-default li {
    line-height: 1; }
  .slinky-theme-default a:not(.back) {
    color: #333;
    padding: 1em; }
    .slinky-theme-default a:not(.back):hover {
      background: rgba(90, 200, 250, 0.25); }
    .slinky-theme-default a:not(.back):active {
      background: rgba(90, 200, 250, 0.5); }
  .slinky-theme-default .next::after,
  .slinky-theme-default .back::before {
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+ICAgIDxwYXRoIGQ9Ik0xMi4yMTkgMi4yODFMMTAuNzggMy43MiAxOC4wNjIgMTFIMnYyaDE2LjA2M2wtNy4yODIgNy4yODEgMS40MzggMS40MzggOS05IC42ODctLjcxOS0uNjg3LS43MTl6IiAvPjwvc3ZnPg==) center no-repeat;
    background-size: 1em;
    content: '';
    height: 1em;
    opacity: 0.25;
    transition: 200ms;
    width: 1em; }
  .slinky-theme-default .next::after {
    margin-left: 1em; }
  .slinky-theme-default .back::before {
    padding: 1em;
    transform: scaleX(-1); }
  .slinky-theme-default .next:hover::after,
  .slinky-theme-default .back:hover::before {
    opacity: 0.75; }
  .slinky-theme-default .next:active::after,
  .slinky-theme-default .back:active::before {
    opacity: 1;
  }

.text_icons{
  width: 2.5rem;
  margin: 0.5rem;
}
