@media only screen and (max-width: 1400px) {
    .block2b p, .footer li, .footer p {font-size: 16px}

    .footer a {line-height: 1.6}

    #mother > .block {width: 100%;padding-bottom: 32px}

    .footer > .inner {width: 100%}

    .productdetail .product .info p.buy .plusminus {line-height: 40px}

    .productdetail .product .info p.buy button {padding: 0 7px}
}

@media only screen and (max-width: 1300px) {
    .bx-wrapper .bx-controls-auto, .bx-wrapper .bx-pager {width: calc(100% - 32px)}

    #o-nas .slide1 .text-content-outer, #o-nas .slide4 .text-content-outer, #o-nas .slide5 .text-content-outer, #o-nas .slide6 .text-content-outer {left: unset;right: 32px}
}

@media only screen and (max-width: 1260px) {
    #o-nas .slide1 .text-content-outer, #o-nas .slide2 .text-content-outer, #o-nas .slide3 .text-content-outer, #o-nas .slide4 .text-content-outer, #o-nas .slide5 .text-content-outer, #o-nas .slide6 .text-content-outer, #o-nas .slide7 .text-content-outer {left: calc(50% - 303px);right: unset}

    #o-nas .bx-wrapper .bx-prev {left: 0}

    #o-nas .bx-wrapper .bx-next {right: 0}
}

@media only screen and (max-width: 1054px) {
    #mother > .block > .inner, #o-nas .slide > .inner {width: calc(100% - 64px)}

    .productlist .product {width: calc(50% - 54px);margin: 0 4px 8px 4px}

    .block6 .text-content {width: calc(100% - 32px);max-height: 800px;margin-top: -44px}

    .gallery {padding: 30px 0 12px 0}

    .gallery a {margin: 4px;width: calc(33% - 7px);height: auto}
}



@media only screen and (max-width: 1000px) {
    .top-line {display: none}

    /*#header {background: url(images/bg-menu.png) center scroll no-repeat transparent;background-size: auto 128px;height: 84px}*/

    /*#header > .content {width: calc(100% - 40px)}

    #header > .content .logo {left: 20px;top: 10px}

    #header > .content .menu {display: none}*/

    .top-line {height: 150px;float: right;z-index: 150;width: 0}

    .top-line > .inner {width: 210px}

    .top-line .external-menu ul li a {padding: 0 17px}

    /*#header > .content .menu {top: 150px;right: auto;width: 210px;height: 342px;background-color: #702350;left: 100%}*/
    /*#header > .content .menu {top: 86px;right: 0;width: 230px;height: auto; padding: 10px 0 30px 0; background-color: #702350;left: auto}

    .menu ul {padding: 0;margin-top: 0}

    .menu ul li {width: 100%; box-sizing: border-box;}

    .menu ul li a {padding: 0 4px 0 4px;text-align: left}

    .menu ul li.fb {padding: 12px 0 0 10px}*/

    #mother {padding-top: 86px}

    #o-nas .bx-wrapper .bx-controls {width: 100%}

    .bx-wrapper .bx-pager {width: 210px;right: 50px}

    #o-nas .bx-wrapper .bx-prev {left: 20px}

    #o-nas .bx-wrapper .bx-next {right: 20px}

    .productdetail .product .img {width: 22%;margin-left: 3%}

    .productdetail .product .img img {max-width: unset;width: 100%}

    .productdetail .product .description, .productdetail .product .info {width: 62%}
}

@media only screen and (max-width: 885px) {
    .mfp-close-btn-in .mfp-close {display: none}

    .mfp-bottom-bar {left: calc(50% - 65px);width: 130px}

    .mfp-arrow {-webkit-transform: scale(1.4);transform: scale(1.4)}

    .productdetail .product {font-size: 14px}

    .productdetail .product .info p.buy .plusminus .amount-minus, .productdetail .product .info p.buy .plusminus .amount-plus {width: 27px;font-size: 16px}

    .mfp-arrow-left {left: -6px}

    .mfp-arrow-right {right: -6px}

    .footer > .inner .footer-parts {flex-direction: column}

    .footer > .inner .footer-parts .footer-part {width: 100%;padding: 0 20px}

    .footer > .inner .footer-parts .footer-part1 h3 {margin: 0}
}

@media only screen and (max-width: 800px) {
    .block1 {height: 590px}

    #o-nas .slide {height: 590px}

    #o-nas .slide1 .text-content-outer, #o-nas .slide2 .text-content-outer, #o-nas .slide3 .text-content-outer, #o-nas .slide4 .text-content-outer, #o-nas .slide5 .text-content-outer, #o-nas .slide6 .text-content-outer, #o-nas .slide7 .text-content-outer {top: 250px}

    .bx-wrapper .bx-pager {display: none}

    #o-nas .bx-wrapper .bx-controls-direction a {top: -402px}
}

@media only screen and (max-width: 740px) {
    .productlist .product {height: 167px}

    .productlist .product .info {width: 180px}

    .productlist .product .info p.buy button {margin-top: 4px}
}

@media only screen and (max-width: 700px) {
    .productdetail .product .img {width: 30%;margin-left: 0}
}

@media only screen and (max-width: 670px) {
    #o-nas .slide1 .text-content-outer, #o-nas .slide2 .text-content-outer, #o-nas .slide3 .text-content-outer, #o-nas .slide4 .text-content-outer, #o-nas .slide5 .text-content-outer, #o-nas .slide6 .text-content-outer, #o-nas .slide7 .text-content-outer {width: 100%;left: unset;height: 400px;top: 150px}

    #o-nas .bx-wrapper .bx-controls-direction a {top: -510px}
}

@media only screen and (max-width: 690px) {
    .block2b .products-page {width: 100%;margin-left: auto;margin-right: auto;margin-top: 20px}

    .products-page h2 {margin-top: -7px}

    .productlist .product {display: flex;justify-content: center;flex-direction: column;padding: 20px 20px 18px 20px;width: calc(50% - 48px);height: 316px}

    .productlist .product .info h3 {font-size: 20px}

    .productlist .product .img {height: auto;margin: 0 auto;float: unset}

    .productlist .product .info {width: 100%;height: auto;margin-top: 13px;display: flex;flex-direction: column}

    .productlist .product .info h3 {font-size: 16px}

    .productlist .product .info p {overflow: unset;height: 38px;flex-grow: 1}

    .productlist .product .info .subtitle, .productlist .product .info h3, .productlist .product .info p {text-align: left}

    .productlist .product .info p.buy .plusminus .amount-minus, .productlist .product .info p.buy .plusminus .amount-plus {width: 27px}

    .productlist .product .info p.buy {margin-top: 0}

    .productlist .product .info p.buy button {margin-left: 0;width: 100%;padding: 0 8px 0;margin-top: 8px}

    .basket-info {width: 100%;margin-top: -2px}

    .basket-info a.basket-link {float: left;margin-right: 12px;vertical-align: top;display: inline-block}

    #basket-text {height: 25px;line-height: initial;margin-bottom: 20px;width: calc(100% - 92px);vertical-align: top;display: inline-block}
}
@media only screen and (max-width: 630px) {
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #ddd;
}

th, td {
  text-align: left;
  padding: 8px;
}
.inner {/*overflow-x: auto; - text on slider mobile view gone when on*/}
/*.block {
    overflow-x: auto;
}*/

/* pokud se tabulka nevleze na šířku stránky */
.table-wrapper { max-width: 100%; overflow-x: auto; }


input[type="text"], input[type="password"], select, textarea, input[type=submit], input[type=reset] { width: 95%; }

#checkout textarea {
    width: 95%;
}
}


@media only screen and (max-width: 630px) {
   /* table {margin-top: -37px}

    td {display: block;padding: 0}

    tr {display: block}

    .simple form {margin-top: 55px}

    .simple form thead, tbody, tfoot {display: block}

    .simple form thead {width: 80px;float: left}

    .simple form thead tr {display: flex;flex-flow: column;height: 372px;padding: 0}

    .simple form thead tr th {display: block;padding: 0;flex-grow: 1}

    .simple form tbody {width: calc(100% - 85px);margin-top: -417px;display: inline-block;float: right;overflow-x: scroll}

    .simple form tbody tr {display: flex;width: 96px;float: left;height: 376px;flex-flow: column}

    .simple form tfoot {width: 100%;margin-top: 378px}

    .simple form .basket tfoot th {display: inline-block}

    .simple form tfoot tr td {display: inline-block;vertical-align: initial}

    .simple form td:nth-child(1) {display: none}

    .simple form tbody tr td:nth-child(2) {height: 36px}

    .simple form tbody tr td:nth-child(3) {height: 55px}

    .simple form tbody tr td:nth-child(4) {height: 36px}

    .simple form tbody tr td:nth-child(5) {height: 36px}

    .simple form tbody tr td:nth-child(6) {height: 36px}

    .simple form tbody tr td:nth-child(7) {height: 55px}

    .simple form tbody tr td:nth-child(8) {height: 36px}

    .simple form tbody tr td:nth-child(8) input[type=text] {padding: 9px}

    .simple form tbody tr td:nth-child(9) {height: 71px}

    .simple form .basket td.price {text-align: unset}

    .simple form p.buttons {margin-top: 0;margin-bottom: 51px}

    .simple form input[type=submit] {width: calc(50% - 4px)}

    .simple form p.buttons input:nth-child(1) {float: left}

    .simple form p.buttons input:nth-child(2) {float: right}*/
}

@media only screen and (max-width: 560px) {
    #o-nas .slide1 .text-content-outer, #o-nas .slide2 .text-content-outer, #o-nas .slide3 .text-content-outer, #o-nas .slide4 .text-content-outer, #o-nas .slide5 .text-content-outer, #o-nas .slide6 .text-content-outer, #o-nas .slide7 .text-content-outer {width: 100%;left: unset;height: 475px;top: 100px}

    #o-nas .bx-wrapper .bx-controls-direction a {top: -570px}
}

@media only screen and (max-width: 550px) {
    .productlist .product {height: 334px}

    .productlist .product .info h3 {height: 44px;line-height: 20px}

    .productdetail .product .info form, .productdetail .product .info p.buy {height: 100px}

    .productdetail .product .info p.buy .plusminus {display: block}

    .productdetail .product .info p.buy button {display: block;margin-left: 0;margin-top: 20px}

    .productdetail .product .description {padding-top: 40px}
}

@media only screen and (max-width: 500px) {
    .productlist .product {height: 358px}

    .productlist .product .info p {height: 64px}
}

@media only screen and (max-width: 450px) {
    #mother {padding-top: 85px}

    #mother > .block {padding-bottom: 4px}

    #mother > .block > .inner {width: calc(100% - 40px);padding: 0 20px}

    #o-nas .slide > .inner {width: 100%}

    .block1 {height: auto;background-color: #ffffff}

    .home #mother > .block1 {padding-bottom: 12px}

    #o-nas .slide .text-content {padding: 20px 20px}

    h2 {font-size: 6vw}

    #o-nas .slide .text-content h2 {margin-top: -5px}

    #o-nas .slide .text-content-outer {width: 100%;height: auto;top: 200px}

    #o-nas .slide1, #o-nas .slide2, #o-nas .slide3, #o-nas .slide4, #o-nas .slide5, #o-nas .slide6, #o-nas .slide7 {background-size: auto 200px; height: auto; padding-top: 200px; }

    #o-nas .slide1 .text-content-outer, #o-nas .slide2 .text-content-outer, #o-nas .slide3 .text-content-outer, #o-nas .slide4 .text-content-outer, #o-nas .slide5 .text-content-outer, #o-nas .slide6 .text-content-outer, #o-nas .slide7 .text-content-outer {left: unset;right: unset; top: auto; position: relative; }

    #o-nas .bx-wrapper .bx-controls { position: absolute; top: 0; }

    #o-nas .bx-wrapper .bx-controls-direction a {top: 70px}

    .block6 {
        background-size: cover;
        height: auto;
        padding-bottom: 30px;
    }
    .home #mother > .block6 { padding-bottom: 30px; }
    .block6 .text-content {
        overflow: visible;
        top: auto;
        bottom: auto;
        height: auto;
        width: calc(100% - 40px);
        padding: 10px;
        margin-left: 10px;
        position: relative;
        margin-top: 30px;
        max-height: none;
        left: auto;
    }
    /*

    .block6 {display: flex;justify-content: center;align-items: center;background-size: auto 100%;height: 890px}

    .block6 .inner {height: 100%}

    .block6 .text-content {overflow: unset;top: 55px;bottom: 0;max-height: calc(100% - 43px);flex: 1;width: calc(100% - 40px);padding: 10px;margin-left: 10px}*/

    .gallery {width: calc(100% + 8px);margin-left: -4px;padding: 0 0 12px 0}

    .gallery a {margin: 4px;width: calc(50% - 8px);height: auto}

    /*table {margin-top: -37px}

    td {display: block;padding: 0}*/

    .productdetail .product .img {width: 26%}

    .productdetail .product .info {padding-top: 20px}

    .productdetail .product .description {padding-top: 20px;padding-bottom: 20px}

    .footer > .inner {width: 100%}

    .footer > .inner .footer-parts {flex-direction: column}

    .footer > .inner .footer-parts .footer-part {width: 100%;padding: 0 20px}

    .footer > .inner .footer-parts .footer-part1 h3 {margin: 0}
}

@media only screen and (max-width: 320px) {
    .productlist {margin: 20px 0 0 0}

    .productlist .product {width: calc(100% - 40px);height: 310px;margin-left: auto;margin-right: auto}

    .productlist .product .img {margin-top: 12px}

    .productlist .product .info {margin-top: 8px}

    .productlist .product .info h3 {height: 28px;line-height: 26px}

    .productlist .product .info hr {margin: 8px 0 2px 0;width: 100%}

    .productlist .product .info p {height: 32px}

    .productlist .product .info p.buy {padding-bottom: 12px}

    .productdetail .product .img {width: 100%}

    .productdetail .product .img img {max-width: 60px}

    .productdetail .product .description, .productdetail .product .info {width: 100%}
}

@media only screen and (max-width: 270px) {
    .productlist .product {height: 358px}

    .productlist .product .info h3 {height: 44px;line-height: 20px}

    .productlist .product .info p {height: 64px}
}