@media only screen and (max-width:1250px) {
.autoFull>div:first-child {
  margin-right: 40px;
}

.abbb h2 {
  font-size: 18px;
  line-height: 22px;
}
}

@media (max-width: 960px) {
  .prrrb {
    grid-template-columns: repeat(2, 1fr); /*два в ряд */
  }
  /*находим нужный блок и в нем меняем местами дивы*/
  .prrrb>div:nth-child(5),
  .prrrb>div:nth-child(6),
  .prrrb>div:nth-child(3) {
    flex-direction: row-reverse; /*если в блоке два дива и надо поменять местами, меняет*/
  }
}
@media (max-width: 630px) {
  .prrrb {
    grid-template-columns: repeat(1, 1fr); /*один в ряд */
  }
  .prrrb>div:nth-child(2),
  .prrrb>div:nth-child(5) {
    flex-direction: row-reverse;
  }
    .prrrb>div:nth-child(3),
    .prrrb>div:nth-child(6) {
      flex-direction: row; /*делаем как по стандарту идет*/
    }
}
@media (max-width: 500px) {
.prbg p {
  left: 20px;
  bottom: 20px;
  right: 20px;
}
}


@media only screen and (max-width:1160px) {
.glaut>div {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(33.333333% - 0px);
  flex: 0 0 calc(33.333333% - 0px);
  border-right: 1px solid #F0F0F0;
padding: 0 30px 0 30px;
}
.glaut>div:nth-child(4n+4) {
  border-right: 1px solid #F0F0F0;
}
.glaut>div:nth-child(3n+3) {
  border-right: none;
}
.glaut>div:last-child{
  border-right: none;
}
.glaut {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.abbb {
  font-size: 14px;
}
}

@media only screen and (max-width:1100px) {
.ftt>div {
  width: 80%;
}
}

@media only screen and (max-width:1060px) {
.abbb>div:first-child {
  width: 40%;
  min-width: 350px;
}
.abbb>div:last-child {
  width: 60%;
  margin-left: 40px;
}
}

@media only screen and (max-width:1000px) {
.bggl,
.bgtcont,
.bgtnews,
.bgtabau {
  min-height: 300px;
}
.bggl {
  max-height: 500px;
}

.gth {
  padding: 130px 0 180px 0;
}

.serchdf{
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.sercha>div {
  width: 30%;
}

.sercha>div:nth-child(4),
.sercha>div:nth-child(5) {
  margin-top:0;
}
.sercha>div:nth-child(3) {
  margin-right:0;
}
.sercha>div:nth-child(5) {
  border-right: 1px solid #d1d1d1;
}

.glaut {
  margin: 40px -20px -50px -20px;
}
.glautt {
  margin-top: 60px;
}
.glaut>div {
  padding: 0 20px 0 20px;
}

.abbb {
  padding: 50px 0 50px 0;
  margin-top: 20px;
}
.abbb h2 {
  font-size: 16px;
  line-height: 20px;
}
.abbb p {
  margin: 0 0 15px 0;
}

.p67{
    padding-top: 40px;
    margin-bottom:50px;
}
.nww {
  margin-top: 35px;
}

.p66,
.p666 {
    padding-top: 40px;
    margin-bottom: 40px;
}
.ftt>div {
  width: 90%;
}

.p60{
  padding-top: 40px;
}
.abbb1 {
  padding: 0 0 40px 0;
  margin-top: 40px;
}

.flnew {
  margin: 40px 0 -30px -30px;
}

.p76 {
  padding-top: 40px;
  padding-bottom: 30px;
}

.pagination {
  margin: 45px -6px 0 -6px;
}
}

@media only screen and (max-width:950px) {
  .flnew {
 -ms-flex-wrap: wrap;
 flex-wrap: wrap;
  }
.flnewb>div {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(33.333333% - 30px);
  flex: 0 0 calc(33.333333% - 30px);
}

.pagination {
  margin: 40px -6px 0 -6px;
}
.pagination li {
  margin: 0 6px 20px 6px;
}
.pagination li a,
.pagination .current {
  font-size: 13px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 8px;
  padding-bottom: 8px;
}
}

@media only screen and (max-width:900px) {
.glcon>a:last-child {
  display:none;
}

.ftt>div {
  width: 100%;
}

}

@media only screen and (max-width:850px) {
.glaut>div {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(50% - 0px);
  flex: 0 0 calc(50% - 0px);
  padding: 0 50px 0 50px;
  margin: 0 0 30px 0;
  border-right: none;
}
.glaut>div:nth-child(4n+4) {
  border-right: none;
}
.glaut>div:nth-child(2n+1) {
  border-right: 1px solid #F0F0F0;
}
.glaut {
  margin: 40px -50px -30px -50px;
}
.glautt {
  margin-top: 50px;
}
}

@media only screen and (max-width:810px) {
.flnewb>div {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(50% - 30px);
  flex: 0 0 calc(50% - 30px);
}
}

@media only screen and (max-width:800px) {
  .abbb{
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding: 30px 0 30px 0;
  }
.abbb>div:first-child {
  width: 100%;
  min-width: 100%;
}
.abbb>div:last-child {
  width: 100%;
  margin-left: 0;
  margin-top: 30px;
}

.p60 {
  padding-top: 30px;
}
.abbb1 {
  padding: 0 0 40px 0;
  margin-top: 30px;
}

.h2 h2,
.h1 h1{
    font-size: 18px;
    line-height: 22px;
}
}

@media only screen and (max-width:720px) {
.glaut>div {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(50% - 0px);
  flex: 0 0 calc(50% - 0px);
  padding: 0 20px 0 20px;
}
.glaut {
  margin: 30px -20px -30px -20px;
}
.glautt {
  margin-top: 40px;
}

.pagination li {
  margin: 0 4px 17px 4px;
}
.pagination li a,
.pagination .current {
  font-size: 13px;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
}
}

@media only screen and (max-width:700px) {
.bggl {
  max-height: 400px;
}
.gth {
  padding: 60px 0 110px 0;
}

.gth h1{
font-size:28px;
line-height: 35px;
}
.gth p {
  font-size: 16px;
  line-height: 22px;
}

.ftt>div{
-ms-flex-wrap: wrap;
flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align:center;
}
.ftt>div>div {
  width: 100%;
}
.ftt>div>div:first-child {
  margin-bottom: 20px;
  padding-bottom:20px;
  border-bottom: 1px solid #5a5252;
}
.ftt>div>div:last-child {
margin-top: 20px;
padding-top:20px;
border-top: 1px solid #5a5252;
}

.p666 {
  padding-top: 35px;
  margin-bottom: 30px;
}
}

@media only screen and (max-width:670px) {
.sercha>div {
  width: 45%;
}
.sercha>div:nth-child(3),
.sercha>div:nth-child(4),
.sercha>div:nth-child(5) {
  margin-top: 0;
}
.sercha>div:nth-child(3) {
  margin-right: 20px;
}
.sercha>div:nth-child(2),
.sercha>div:nth-child(4) {
  margin-right: 0;
}

.serch>button {
  min-width: 50px;
}
.serch>button b {
  display: none;
}
}

@media only screen and (max-width:600px) {
.gth h1 {
  font-size: 22px;
  line-height: 26px;
}
.gth {
  padding: 60px 0 90px 0;
}
.gth p {
  width: 70%;
  margin: 10px auto;
}
}

@media only screen and (max-width:550px) {
  .glcon{
    display: none;
  }

  .glaut>div {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(100% - 0px);
  flex: 0 0 calc(100% - 0px);
  border-right: none;
  padding: 0 95px 20px 95px;
  margin: 0 0 20px 0;
  border-bottom: 1px solid #F0F0F0;
}
  .glaut>div:last-child{
      border-bottom: none;
      margin-bottom: 0;
  }
  .glaut>div:nth-child(3n+3) {
    border-right: none;
  }
  .glaut>div:nth-child(2n+1) {
    border-right: none;
  }
.glaut {
  margin: 30px 0 -30px 0;
}
.glautt {
  margin-top: 45px;
}
.parm>div p {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

}

@media only screen and (max-width:500px) {
  .glaut>div {
    padding: 0 75px 20px 75px;
  }

.glautt {
  margin-top: 25px;
}
.glpol{
  display:none
  }
.glzf {
  width:100%;
  padding: 12px 20px 15px 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
  .glzf>div {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
     -webkit-box-pack: center;
     -ms-flex-pack: center;
     justify-content: center;
         text-align:center;
  }
  .glzf>div div {
    width: 100%;
    margin-top: 5px;
margin-left:0;
  }
}

@media only screen and (max-width:450px) {
  .glaut>div {
    padding: 0 55px 20px 55px;
  }

.flnew {
  margin: 35px 0 -20px -20px;
}
  .flnewb>div {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(50% - 20px);
    flex: 0 0 calc(50% - 20px);
    margin: 0 0 20px 20px;
  }
}

@media only screen and (max-width:400px) {
  .ttop a img {
    width: 170px;
  }
  .ttop {
    padding: 20px 0 20px 0;
  }
  .gth p {
    width: 85%;
  }

  .sercha>div {
  width: 100%;
}
.sercha>div:nth-child(1){
  margin-right: 0;
  border-right:0;
}
.sercha>div:nth-child(1),
.sercha>div:nth-child(2),
.sercha>div:nth-child(3),
.sercha>div:nth-child(4) {
margin-bottom: 10px;
}
.sercha>div:nth-child(2),
.sercha>div:nth-child(3),
.sercha>div:nth-child(4),
.sercha>div:nth-child(5) {
  margin-right: 0;
  margin-top: 0;
  border-right:0;
}

  .glaut>div {
    padding: 0 30px 20px 30px;
  }

  .flnew {
    margin: 35px 0 -20px 0;
  }
  .flnewb>div {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(100% - 0px);
    flex: 0 0 calc(100% - 0px);
    margin: 0 0 20px 0;
  }
}

@media only screen and (max-width:350px) {
  .glaut>div {
    padding: 0 10px 20px 10px;
  }
}
@media only screen and (max-width:330px) {
  .glaut>div {
    padding: 0 0 20px 0;
  }
}


@media only screen and (max-width:1130px) {
.autoFull>div:last-child {
  width: 40%;
}
.autoFull>div:first-child {
  width: 60%;
}
}

@media only screen and (max-width:1100px) {
.param span:last-child {
  margin-left: 20px;
  padding-left: 20px;
}

.autoFull>div:last-child h1 {
  font-size: 18px;
  line-height: 20px;
}
.fullParam {
  margin-top: 20px;
}
}

@media only screen and (max-width:1000px) {


.auto {
  margin-top: 40px;
}

.param span:last-child {
  width: 53%;
}
.param span:first-child {
  width: 47%;
}

.nahrb {
  margin: 40px auto 0;
}
.p08{
  padding: 0 0 40px 0;
}
.p88{
  padding: 40px 0 40px 0;
}
.sort {
  margin-bottom: 25px;
}
.mtt {
  margin-top: 25px;
}
.mbb {
  margin-bottom: 25px;
}



.autoFull>div:last-child {
  width: 45%;
}
.autoFull>div:first-child {
  width: 55%;
}

.catinf {
  margin: 20px 0 10px 0;
}
}

@media only screen and (max-width:950px) {
.param{
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.param span:first-child,
.param span:last-child {
  width: 100%;
}
.param span:last-child {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}
.auto>div>div {
  height: auto;
}

.auto>div>div>a {
  width: 38%;
  min-width: auto;
}
.auto>div>div {
  padding: 20px 20px 15px 20px;
}
.auto>div>div>div {
  width: 62%;
}
.auto>div>div>div>a {
display: none;
}
.auto h2 {
  height: auto;
margin-bottom: 15px;
}


.p88 {
  padding: 40px 0 20px 0;
}
}

@media only screen and (max-width:930px) {
  .autoFull>div:last-child h1 {
    font-size: 16px;
    line-height: 18px;
  }
  .fullParam {
    margin-top: 10px;
  }
  .autoFull>div:last-child {
    width: 50%;
  }
  .autoFull>div:first-child {
    width: 50%;
     margin-right: 20px;
  }
  .autoFull>div>p {
    margin-top: 15px;
  }
}



@media only screen and (max-width:800px) {
  #toTop {
    position: fixed;
    z-index: 9999;
    bottom: 0;
    right: 0;
    background: url(/media/img/topm.png) no-repeat;
    width: 60px;
    height: 60px;
    cursor: pointer;
    color: transparent;
    text-decoration: none;
  }

.nahrb a {
  width: 240px;
}
.nahrb a:first-child {
  margin-right: 10px;
}
.nahrb a:last-child {
  margin-left: 10px;
}

h3.caunta,
.h1 h1 {
  font-size: 18px;
  line-height: 20px;
}
.sort{
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.sol,
.sort>div {
  width: 100%;
  text-align: center;
  margin-right: 0;
}
.stil {
   min-width: 100%;
   width: 100%;
  text-align: center;
}
}

@media only screen and (max-width:780px) {
  .autoFull{
     -ms-flex-wrap: wrap;
     flex-wrap: wrap;
  }
  .autoFull>div:last-child {
    width: 100%;
    margin-top: 20px;
  }
  .autoFull>div:first-child {
    width: 100%;
    margin-right: 0;
  }
}




@media only screen and (max-width:620px) {
.nahrb a {
  width: 200px;
}
}

@media only screen and (max-width:570px) {
.auto>div>div{
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.auto>div>div>a {
  max-width: 300px;
  width: 100%;
  margin: 0 auto 20px;
}
.auto>div>div>a img {
  max-width: 100%;
  min-width: 100%;
}
.auto>div>div>div {
  width: 100%;
  margin-left: 0;
}
}

@media only screen and (max-width:540px) {
  .nahrb{
-ms-flex-wrap: wrap;
flex-wrap: wrap;
  }
.nahrb a {
  width: 100%;
}
.nahrb a:first-child {
  margin-right: 0;
}
.nahrb a:last-child {
  margin-left: 0;
  margin-top: 20px;
}

.sort {
  padding: 10px 15px 10px 15px;
}
h3.caunta{
  font-size: 14px;
  line-height: 16px;
}


}

@media only screen and (max-width:500px) {
.fullParam p {
  font-size: 13px;
}
.autoFull>div:last-child h1 {
  text-align: center;
  font-size: 16px;
  line-height: 18px;
}
.autoFull>div>p{
  text-align: center;
}
}



@media only screen and (max-width:380px) {
.auto>div>div {
  padding: 10px 10px 10px 10px;
}
.auto h2 {
text-align: center;
}
.param span{
font-size: 13px;
}
.param i:before {
  width: 30px;
}
.fullParam p i:before {
  width: 30px;
}
.auto>div>div>div>a {
  display: block;
  position:relative;
  width:100%;
  border-radius: 15px;
  margin-top: 20px;
  left:0;
  right:0;
  bottom:0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.fullParam p strong{
  font-size:13px;
}
.prdo b,
.prdo b strong {
font-size:18px;
}
.prdo b strong {
  font-size: 18px;
}
.prob b,
.prob b strong{
font-size:16px;
}

}
