@media only screen and (max-width: 600px) {
  #main .custom.main-block-four.reg-page .other-service-inner {display: flex;flex-wrap: wrap;justify-content: center;}
  #main .custom.main-block-three.reg-page .img-down::after {top:-40px}
  #main .custom.main-block-four.reg-page ul {display: inline-block;width: auto;padding: 10px;}
  #main .custom.main-block-four.reg-page, #main .custom.main-block-four.reg-page .rgba-background {height:1370px}
  #main .custom.main-block-three.reg-page ul {margin-bottom:20px}
  #main .custom.main-block-three.reg-page ul > li {width:auto}
  #main .custom.main-block-three.reg-page .title-block {width:270px}
  #main .custom.main-block-three.reg-page .span4.center {width: 280px}
  #main .custom.main-block-three.reg-page {height: 830px;}
  body #main .custom.main-block-two.audit-page::after {top:-60px}
  #main .custom.main-block-two.audit-page {height:950px}
  #main .custom.main-block-three.audit-page .img-down::after {top:-40px}
  #main .custom.main-block-three.audit-page {height:690px}
  #main .custom.main-block-three.audit-page ul.prof {height:auto;min-height:auto}
  #main .custom.main-block-one.nalog-page,#main .custom.main-block-one.nalog-page .rgba-background {height: 415px;top: 10px;}
  #main .custom.main-block-one.nalog-page ul {width:auto;margin: 0 0 9px 45px;}
  #main .custom.main-block-one.nalog-page .consul-list {left:0}
  #main .custom.main-block-one.nalog-page h2, #main .custom.main-block-one.nalog-page p {width:530px}
  #main .custom.main-block-two.nalog-page::before{
    content: '';
    width: 100%;
    z-index: 10;
    min-height: 116px;
    background: transparent url(/images/header2.png) no-repeat center top;
    background-size: cover;
    position: absolute;
    top: -30px;
    left: 0;
  }
  #main .custom.main-block-two.nalog-page {height: 955px;top:20px;}
  #main .custom.main-block-six ul > li::after {display:none}
  #main .custom.main-block-four.nalog-page .sale50 p {max-width:520px;min-width:520px;}
  #main .custom.main-block-three.nalog-page {height:1030px;}
  #main .custom.main-block-three.nalog-page ul > li::after {margin-bottom: 0px;height:0}
  #main .custom.main-block-three.nalog-page ul > li {margin: 0;display: inline-block;padding: 10px;}
  #main .custom.main-block-three.nalog-page  .list-block ul {width:100%;padding:0; margin:0}
  #main .custom.main-block-three.nalog-page  .list-block,  {width:100%;padding:0;margin:0}
  #main .custom.main-block-zero.nalog-page::before{ height: 870px;}
  #main .custom.main-block-zero.nalog-page { height: 870px;}
  #main .custom.main-block-zero.nalog-page input {max-width:195px}
  #main .custom.main-block-zero.nalog-page .textarea-inner {padding:0;margin-bottom: 10px;} 
  #main .custom.main-block-zero.nalog-page textarea {width:80%; height:160px;}
  #main .custom.main-block-zero.nalog-page .form-block {width:540px}
  #main .custom.main-block-four.buh-page .rgba-background { height:777px}
  #main .custom.main-block-four.buh-page { height:777px}
  #main .custom.main-block-four.buh-page p.h3 {display: inline-block;width:90%}
  #main .custom.main-block-four.buh-page .span4.center {width:250px;}
  #main .custom.main-block-four.buh-page .row.center {display: flex;flex-direction: row;flex-wrap: wrap;}
  #main .custom.main-block-five.buh-page .calc .calc_result{
    display: inline-block;
    width: 391px;
    line-height: 40px;
    margin-bottom: 0;
  }
  #main .custom.main-block-five.buh-page .calc_slider_wrap ul > li,#main .custom.main-block-five.buh-page .calc_slider_wrap2 ul > li {font-size:15px;}
  #main .custom.main-block-five.buh-page {height: 780px;}
  #main .custom.main-block-five.buh-page .calc .radios{padding-bottom: 5px;}
  #main .custom.main-block-five.buh-page .calc ul > li {padding:10px}
  #main .custom.main-block-two.buh-page .rgba-background {height:1180px}
  #main .custom.main-block-two.buh-page {height:1180px}
  #main .custom.main-block-two.buh-page .flex-row.content-center {flex-wrap:wrap;}
  #main .custom.main-block-three.buh-page {height:1640px}
  #main .custom.main-block-three ul {min-height:auto}
  #main .custom ul > li:last-child::after {display:none}
  #main .custom ul > li::after {
    content: "";
    display: block;
    width: 107%;
    border-top: solid 1px #fff;
    height: 10px;
    position: relative;
    top: 10px;
    padding: 0;
    margin: 0;
    left: -11px;
    margin-bottom: 8px;
  }
  #main .custom ul > li::before {display:none}
  #main .custom.main-block-one .txt-block p.service3 {min-height:75px;}
  footer.footer {text-align: center;}
  #main .custom.main-block-six .title-block {padding-top:10px}
  #main .custom.main-block-five h2 {max-width: 520px;}
  #main .custom.main-block-four .href-block {display: flex; align-items: center;justify-content: center;}
  #main .custom.main-block-five::before {top:-30px}
  #main .custom.main-block-five {top:20px;}
  #main .custom.main-block-four .rgba-background {height:740px}
  #main .custom.main-block-four {height:795px}
  #main .custom.main-block-four .span3.center {width:260px}
  #main .custom.main-block-four .span3.center .block-inner {width:205px;}
  #main .custom.main-block-four .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  #main .custom.main-block-three .img-down::after {top:-20px}
  #main .custom.main-block-three {height:1040px}
  #main .custom.main-block-three ul.prof {min-height:325px}
  #main .custom.main-block-three ul > li::before {color: #495ce0;margin-right: 3px;}
  #main .custom.main-block-three ul.prof li {width:240px;}
  #main .custom.main-block-three ul > li {width:240px;text-align: center;}
  #main .custom.main-block-three ul {width:240px;margin:0;padding: 15px; background: #495ce00f;#min-height: 300px;}
  #main .custom.main-block-three .span6.center{
    display: inline-block;;
    width: 270px;
    flex-wrap: wrap;
  }
  #main .custom.main-block-three::before {
    content: '';
    width: 100%;
    z-index: 10;
    min-height: 116px;
    background: transparent url(/images/header2.png) no-repeat center top;
    background-size: cover;
    position: absolute;
    top: -20px;
  }
  #main .custom.main-block-two .our-clients p {width:512px}
  #main .custom.main-block-two .rgba-background {height:800px}
  #main .custom.main-block-two {height:800px}
  #main .custom.main-block-one .text-block h2{max-width: 540px;}
  #main .custom.main-block-two .our-clients {top: 35px;}
  #main .custom.main-block-one::after{margin-top: -45px;}
  #main .custom.main-block-one {height: 845px;}
  #main .custom.main-block-one .p-top20 {padding:0}
  #main .custom.main-block-one .flex-container {margin-bottom:20px;}
  #main .custom.main-block-one .txt-block p {min-height:100px;}
}