@media (min-width: 350px) {
table tr td{width: auto; float: none;}
table .one{text-align: right;}
table .two{text-align: left;}
.regkola .three{text-align: left;}

.btn{display: block; margin-top: 0;}

  .photogallery .thumb{display: inline-block; width: 48%; margin: 0 4% 12px 0; }
    .photogallery .thumb img{width: 100%;}
    .photogallery .thumb:nth-child(2n+2){margin-right: 0;}

}


@media (max-width: 455px) {
  .greybottom .btn { position: relative; top: 10px; }
  .greybottom .btn {display: table; margin: 0 auto;}
  .bike_detail.contacts td.one {
    display: none;
  }
  .bike_detail.contacts td.two {
    text-align: center;
  }
}

@media (min-width: 455px) {
.logo{display: block; float: left; margin: 12px 0 10px 7px;}
.langs{float: right; width: auto; margin-top: 16px;}
.langs a{float: left; display: block;}
.btn.kdestitek{float: right; display: block;}
.btn.novareg{float: left; display: block;}
.btn.odhlasit{float: right; display: block;}
}

@media (min-width: 520px) {

.boxwrap{width: 490px; margin: 130px 0 150px 0;}
 article{padding: 0 45px 50px 45px;}
.twoinputs{padding: 20px 70px;}
.twoinputs:before{left: 45px;}
.twoinputs:after{right: 45px;}
.selectwrap{padding: 0 70px;}
.submitwrap{padding: 0 70px; } 
.stoblock img{width: auto;}

input[type="submit"], .cta{height: 58px; padding: 0; line-height: 58px;}
.regmaj, .regobch{padding-left: 60px;}

  .photogallery .thumb{display: inline-block; width: 30%; margin: 0 5% 12px 0; }
    .photogallery .thumb img{width: 100%; }
    .photogallery .thumb:nth-child(2n+2){margin: 0 5% 12px 0;}
    .photogallery .thumb:nth-child(3n+3){margin-right: 0;}

}


@media (min-width: 700px) {
	body{background-attachment: fixed;}
}
