/************************************************************************************
MEDIA QUERIES
*************************************************************************************/

@media (max-width: 1350px) {
    .adsense { display: none; }
}

@media (max-width: 1020px) {

    /* Header */

    .search-form { width: 320px; }
    .search-form input.text { width: 125px; }

    /*.service-nav { width: 200px; }
    .service-nav .link { background-image: none !important; }
    .service-nav .link .text-link { height: 28px; padding: 4px 0; }
    .service-nav .link .sub-nav { top: 28px; }*/

    .account-nav .label { display: none; }

    .main-nav ul li.home { width: 11px; }
    .main-nav ul li.home .text { display: none; }
    .main-nav ul li { padding-left: 5px; }
    .main-nav ul li a { padding: 0; background: none; }

    .category-nav ul li a { font-size: 19px; }

    .tabs-hl .tab-nav li a { padding-right: 20px; background-image: none; }

    /* Thumbnails */

    .thumbnails ul.set-10 li { width: 12.5%; }

    /* Showroom */

    .showroom h1 { float: none; text-align: center; }
    .showroom .block-head { text-align: left; }

    /* Message */

    .message .btn-generic.r { float: none; margin-top: 10px; }

    /* Cart */

    .shopping-cart-steps ul { display: table; width: 100%; }
    .shopping-cart-steps li { width: auto; display: table-cell; float: none; }
    .shopping-cart-steps li a { padding-right: 10px; white-space: nowrap; }

    /* Services */

    .services .item { width: 50%; margin-bottom: 20px; }
    .services .item .box .item-list { max-width: 240px; margin-left: auto; margin-right: auto; }

    /* Filter */

    .filters { text-align: left; margin-bottom: 30px; margin-top: 0; }

    .smart-filter-box  .cell-set.set-3 .cell { width: 50%; margin-bottom: 30px; }
    .smart-filter-box  .cell-set.set-3 .cell:last-child { margin-bottom: 0; }

    .block-filter-form label { margin-left: 0; }
    .block-filter-form .controlset { margin-right: 30px; }

    /* Product detail */

    .user-box .saler-infobox { margin-bottom: 20px; }
    .another-products.alt { float: none; width: 100%; display: none; }

    .fan-box .social { width: 100%; padding-top: 20px; }
    .fan-box .social br { display: none; }

    .user-info { display: inline-block; vertical-align: top; }
    .meta-nav { display: inline-block; vertical-align: top; padding-left: 10px; padding-top: 10px; }

    /* Tab nav */

    .tabs .tab-nav ul {  }
    .tabs .tab-nav li { width: 33.333333%; }
    .tabs .tab-nav li a { padding-left: 10px; padding-right: 10px; padding-top: 12px; width: 100%; }

    /* Pagebar */

    .pagebar a.first { display: none; }
    .pagebar a.last { display: none; }

    /* Footer */

    .fb-like-box { width: 240px; height: 65px; overflow: hidden; }

    .footer-category .col-set .col { width: 25%; }

    /* Top bar */

    .account-nav .label { margin-bottom: 10px; }

    /* Profile */

    .sidebox-set .sidebox-1 { float: none; width: 100%; }
    .sidebox-set .sidebox-2 { float: none; width: 100%; }

    /* Product list */

    /*.products-list-grid .item .info {  visibility: visible; }*/
    .products-list-grid .item .text { margin: 0; }
    .products-list-grid .item .text h3 { float: none; margin-bottom: 10px; }
    .products-list-grid .item .text .price { float: none; }
}

@media (max-width: 768px) {

    h1 { font-size: 28px; line-height: 1.3em; }

    /* Header */

    .header {
        height: 60px;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: 1px 1px 1px #e5e5e5;
        padding-bottom: 2px;
    }
    .header .col-md-12 { height: 60px; }

    /* a.text-link {
        background-color: white;
    } */

    .breadcrumb-nav { display: none; }

    .logo { width: 120px; height: 51px; position: relative; top: 8px; left: 0; }

    .search-form { display: none; }
    body.hp .search-form { width: 100%; max-width: 450px; padding-right: 180px; left: 50%; top: 90px; display: block; margin-left: auto; margin-right: auto;
        -webkit-transform: translate(-50%,0);
        -moz-transform: translate(-50%,0);
        -ms-transform: translate(-50%,0);
        -o-transform: translate(-50%,0);
        transform: translate(-50%,0);
    }
    body.hp .search-form form { padding-left: 15px; padding-right: 15px; }
    body.hp .search-form input.text { width: 100%; }
    body.hp .search-form select.select { width: 100px; position: absolute; right: 85px; top: 0; }
    body.hp .search-form input.submit { width: 70px; position: absolute; right: 15px; top: 0; }
    body.hp .content { padding-top: 90px; }

    .service-nav { display: none; }
    .service-nav .item { width: 50%; }
    .service-nav .item.service { display: none; }

    .main-nav { display: none; }
    .mobile-nav { display: block; }
    .mobile-nav-overlay {  }

    .category-nav { display: none; }

    .mobile-links { display: block; }
    .mobile-links .service-nav { display: inline-block; vertical-align: top; width: auto; position: static; margin-right: -4px; }
    .mobile-links .service-nav .item { width: 80px; background: #DBF5F6 url('../img/line-dot-vert-g.png') 0 0 repeat-y; padding-left: 1px; padding-right: 0; }
    .mobile-links .service-nav .item.login .link { background-position: center 10px; }
    .mobile-links .service-nav .item.login:hover .link { background-position: center 10px; }
    .mobile-links .service-nav .item.cart .link { background-position: center 10px; }
    .mobile-links .service-nav .item.cart:hover .link { background-position: center 10px; }
    .mobile-links .service-nav .link .text-link { height: 60px; padding-top: 35px; }

    .top-bar-wrapper { display: block; }
    .top-bar { height: auto; }
    .top-bar .user-login { position: absolute; right: 15px; top: 15px; }
    .top-bar .fav-stuff { background: none; padding: 0; display: block; }
    .top-bar .fav-stuff a:before { content: ''; margin-right: 5px; display: inline-block; vertical-align: top; background: url('../img/icons/favorite-service.png') 0 0 no-repeat; width: 11px; height: 13px; position: relative; top: 2px; }
    .top-bar .fav-users { background: none; padding: 0; display: block; }
    .top-bar .fav-users a:before { content: ''; margin-right: 5px; display: inline-block; vertical-align: top; background: url('../img/icons/favorite-service.png') 0 0 no-repeat; width: 11px; height: 13px; position: relative; top: 2px; }

    .account-nav .label { display: block; cursor: pointer; margin-bottom: 0; text-decoration: underline; }
    .account-nav .label:hover { text-decoration: none; }
    .account-nav ul { display: none;  margin-top: 20px; }
    .account-nav ul.active { display: block; }
    .account-nav ul li { display: block; background: none; padding: 0; margin: 0; }
    .account-nav ul li a { padding: 10px 20px; border: none; display: block; border-bottom: 1px solid rgba(255,255,255,0.3); }
    .account-nav ul li:last-child a { border: none; }

    /* Thumbnails */

    .products-list-grid .item { width: 33.33333%; }

    .thumbnails ul li { width: 25%; }
    .thumbnails ul li.more { text-align: center; display: block; width: 100%; height: auto; position: static; margin: 20px 0 0 0; padding: 0; }
    .thumbnails ul li.more a, .thumbnails ul li.more a:hover { font-size: 16px; position: static; background: none; border: none; display: inline-block; vertical-align: top; color: #0f8ca0; opacity: 1; text-align: center; padding: 0; width: auto; }
    .thumbnails ul li.more a:after { content: none; }
    .thumbnails ul li.more a:hover { text-decoration: underline; }
    .thumbnails ul li.more a br { display: none; }

    .thumbnails ul.set-10 li { width: 16.66666%; }

    /* Cart */

    .shopping-cart-steps ul { display: block; height: auto; }
    .shopping-cart-steps li { display: block; width: 100%; }
    .shopping-cart-steps li a { padding-right: 10px !important; padding-left: 10px !important; text-align: center; white-space: nowrap; border: 1px solid #d3d3d3; border-top: none; }
    .shopping-cart-steps li a span.arrow { display: none; }
    .shopping-cart-steps li.last a { background: none; }
    .shopping-cart-steps li.active a { border: 1px solid #378ca0; }

    .shopping-list { display: block; width: 100%; }
    .shopping-list tbody { display: block; width: 100%; }
    .shopping-list tfoot { display: block; width: 100%; }
    .shopping-list tr { display: block; width: 100%; }
    .shopping-list td { display: inline-block; vertical-align: top; }
    .shopping-list td.title { width: 50%; }
    .shopping-list tbody td.img { width: 115px; height: auto; border: none; padding-bottom: 0; padding-right: 0; }
    .shopping-list tbody td.title { width: 70%; height: auto; border: none; padding-bottom: 0; }
    .shopping-list tbody td.price { width: 30%; height: 50px; line-height: 36px; padding-top: 0; text-align: left; padding-left: 115px; }
    .shopping-list tbody td.amount { width: 25%; height: 50px; padding-top: 0; }
    .shopping-list tbody td.total-price { width: 30%; height: 50px; line-height: 36px; padding-top: 0; }
    .shopping-list tbody td.delete { width: 15%; height: 50px; padding-top: 0; }
    .shopping-list tfoot td.price { width: 35%; text-align: right; }

    .shopping-list.recapitulation tbody td.total-price { width: 45%; }

    .shopping-list tr { letter-spacing: -0.31em; *letter-spacing: normal; *word-spacing: -0.43em; font-family: nimbus-sans,Helvetica,sans-serif; }
    .shopping-list tr > * { font-family: nimbus-sans,Helvetica,sans-serif; display: inline-block; *display: inline; zoom: 1; vertical-align: top; letter-spacing: normal; word-spacing: normal; }

    .orders-total { font-size: 18px; }
    .orders-total .price { margin-right: 0; margin-left: 20px; }

    .action-blocks .item { width: 100%; border: none !important; margin-bottom: 30px; text-align: center; }
    .action-blocks .item:last-child { margin-bottom: 0; }

    .delivery-address tbody { display: block; width: 100%; }
    .delivery-address tr { display: block; width: 100%; }
    .delivery-address td { display: block; width: 100%; padding-top: 4px; text-align: left; }
    .delivery-address td.label { width: 100%; padding-bottom: 0; text-align: left; }

    /* Filter */

    .smart-filter-box  .cell-set.set-3 .cell { width: 100%; }

    /* News */

    .latest-news .head { position: static; margin-bottom: 20px; }
    .latest-news .item { padding-left: 0; }
    .latest-news .item p.date { float: none; width: auto; margin: 0 0 10px 0; }

    /* Tabs */

    .tabs-hl .tab-nav li a { font-size: 16px; padding-left: 10px; padding-right: 10px; }

    /* Heureka */

    #hw-87kwowifjjowiklsadh666left { display: none !important; }

    /* Pagebar */

    .pagebar .paging { width: 100%; height: 24px; }
    .pagebar .paging .counter-wrapper { width: auto; }
    .pagebar input.page-numbering-submit { display: none; }

    .pagebar .paging a.previous { font-size: 15px; line-height: 1.5em; float: left; height: auto; width: auto; padding: 6px 15px; }
    .pagebar .paging a.next { font-size: 15px; line-height: 1.5em; float: right; height: auto; width: auto; padding: 6px 15px; }

    .pagebar .paging a.previous:hover,
    .pagebar .paging a.next:hover { text-decoration: none; background: none; color: #0f8ca0; }

    .pagebar .paging a.previous span { background: none; padding: 0; margin: 0; height: auto; }
    .pagebar .paging a.next span { background: none; padding: 0; margin: 0; height: auto; }

    /* Product detail */

    .user-box .saler-infobox { width: 100%; /*max-width: 480px;*/ display: block; margin: 0 auto; }

    .another-products.alt { /*max-width: 480px;*/ margin-left: auto; margin-right: auto;/* display: none !important;*/ }

    /* Footer */

    .footer { margin-bottom: 20px; }
    .footer .f_2 { text-align: center; }

    .appendix .a-1, .appendix .a-2 { /*max-width: 480px;*/ margin-left: auto; margin-right: auto; }
    .appendix .a-2 .head { text-align: center; }
    .appendix .a-2 .head h3 { float: none; margin: 0 0 10px 0; }
    .appendix .a-2 .head .link {  }

    .partners ul { text-align: center; }

    .socials-box { margin-bottom: 10px; }
    .fb-like-box { display: block; width: 100%; margin-bottom: 10px; margin-left: 0; }
    .newsletter-box { width: 100%; float: none; }

    .footer-category { display: none !important; }
    .footer-category .col-set .col { width: 100%; }
    .footer-category .col-set .col ul { margin-left: -30px; }
    .footer-category .col-set .col ul li { width: 33.33333%; padding-left: 30px; display: inline-block; vertical-align: top; }

    .footer-category .col-set .col ul { letter-spacing: -0.31em; *letter-spacing: normal; *word-spacing: -0.43em; font-family: nimbus-sans,Helvetica,sans-serif; }
    .footer-category .col-set .col ul li { font-family: nimbus-sans,Helvetica,sans-serif; display: inline-block; *display: inline; zoom: 1; vertical-align: top; letter-spacing: normal; word-spacing: normal; }

    .porta { position: static; display: inline-block; vertical-align: top; }

    /* Top bar */

    /*.account-nav { text-align: center; }
    .account-nav ul { display: block; }
    .account-nav ul li { margin-bottom: 8px; }
    .account-nav .label { display: inline-block; }*/

    .user-login { position: static; margin-bottom: 20px; text-align: center; display: inline-block; vertical-align: top; }

    /* Revue */

    .revue .col3-set .col-1 { width: 250px; float: left; display: block; }
    .revue .col3-set .col-2 { width: 100%; padding-left: 280px; display: block; }
    .revue .col3-set .col-3 { width: 100%; display: none; }
}

@media (max-width: 600px) {

     /* Columns */

    .col2-alt-set { max-width: 480px; margin-left: auto; margin-right: auto; }
    .col2-alt-set .col-1 { width: 100%; padding: 0; }
    .col2-alt-set .col-2 { width: 100%; padding: 0; }

    /* Product detail */

    .user-box .saler-infobox { max-width: 480px; }
    .another-products.alt { max-width: 480px; }

    .sidebox-set { margin: 0 0 0 -20px; }
    .sidebox-set .sidebox-1 { width: 50%; float: left; }
    .sidebox-set .sidebox-2 { width: 50%; float: left; }

    /* Revue */

    .revue .col3-set .col-1 { width: 100%; height: auto !important; float: none; }
    .revue .col3-set .col-2 { width: 100%; height: auto !important; padding-left: 30px; }
}

@media (max-width: 540px) {

    .container { max-width: 384px; }

    /* Product list */

    .products-list-grid .item { width: 50%; }
    .products-list-grid .item .info { text-align: left; }
    .products-list-grid .item .info .author { float: none; }
    .products-list-grid .item .info .meta-nav { padding-left: 0; padding-top: 0; }

    /* Thumbnails */

    .thumbnails ul li { width: 50%; }

    .thumbnails ul.set-10 li { width: 25%; }

    /* Showroom */

    .showroom .block-head { text-align: center; }
    .showroom .block-head .title { display: block; }

    .showroom .thumbnails { margin-left: auto; margin-right: auto; }
    .showroom .thumbnails ul { height: auto !important; }
    .showroom .thumbnails ul li { float: left !important; width: 50%; }
    .showroom .thumbnails ul li.big { width: 100%; }
    .showroom .thumbnails ul li.alt { float: left !important; }
    .section.showroom .thumbnails ul li:last-child { display: none; }

    /* Sudo slider */

    /*.another-products .sudo-slider { float: none; padding: 0; }
    .another-products .sudo-slider ul { width: 100% !important; margin: 0 !important; }
    .another-products .sudo-slider li { width: 33.333333% !important; float: none !important; margin-bottom: 1px !important; display: inline-block !important; }
    .another-products .sudo-slider .prevBtn { display: none !important; }
    .another-products .sudo-slider .nextBtn { display: none !important; }*/

    /* Filter */

    .smart-filter-box label { position: static; text-align: left; width: 100%; }
    .smart-filter-box .input { padding-left: 0; }
    .smart-filter-box .input-set .btn-generic { margin-left: 0; }

    .block-filter-form label { position: static; }
    .block-filter-form .controlset { display: block; margin: 0; width: 100%; max-width: 100%; padding: 0; }
    .block-filter-form .color-picker-select { margin-bottom: 5px; }

    .filters label { display: block; margin-bottom: 4px; }
    .filters select { width: 100%; }
    .filters .block-filter { margin-bottom: 5px; width: 100%; }
    .filters .smart-filter .sorting { display: block; margin-bottom: 10px; margin-right: 0; }

    /* Product */

    .fan-box { margin-bottom: 30px; }
    .fan-box .actions { float: none; width: 100%; }
    .fan-box .social { float: none; }

    .tabs .tab-nav { margin-left: 0; }
    .tabs .tab-nav ul { margin-left: 0; }
    .tabs .tab-nav li { width: 100%; padding-left: 0; }
    .tabs .tab-nav li a { border: 1px solid #d3d3d3; border-bottom: none; }
    .tabs .tab-nav li a:hover { border: 1px solid #d3d3d3; border-bottom: none; }
    .tabs .tab-nav li.active a { border-bottom: none; }
    .tabs .tab-nav li:last-child a { border-bottom: none; }

    table.attr td { display: block; }
    .product-info .shopping table td { display: block; }
    .add-to-cart td { display: block; }
    .add-to-cart .text { margin-bottom: 10px; float: none; }

    /* Cart */

    .shopping-list tr { position: relative; }
    .shopping-list td { display: block; vertical-align: top; border: none; padding: 0; text-align: center; }
    .shopping-list td.title { width: 100%; }
    .shopping-list tr.postovne td.price { border-top: none; border-bottom: 1px solid #bdbdbd; padding-top: 0; }
    .shopping-list tbody td.img { width: 100%; height: auto; }
    .shopping-list tbody td.title { width: 100%; height: auto; padding: 0; }
    .shopping-list tbody td.price { width: 100%; height: auto; text-align: center; padding-right: 0; padding-left: 0; }
    .shopping-list tbody td.amount { width: 100%; height: auto; text-align: center; }
    .shopping-list tbody td.total-price { width: 100%; height: auto; text-align: center; border-bottom: 1px solid #bdbdbd; }
    .shopping-list tbody td.delete { width: 100%; height: auto; }
    .shopping-list tbody td.delete .btn-generic { position: absolute; right: 0; top: 0; }
    .shopping-list tfoot td.price { width: 100%; text-align: center; border-top: none; padding-top: 0; }
    .shopping-list tfoot tr.line td.title { padding: 0; text-align: center; }
    .shopping-list tfoot td.empty { display: none; }
    .shopping-list tfoot tr.divider td { padding: 0; text-align: center; }
    .shopping-list tfoot tr.total td { text-align: center; padding-right: 0; }

    .shopping-list.recapitulation tbody td.total-price { width: 100%; }

    .sale-code { margin-left: auto; margin-right: auto; max-width: 250px; }
    .sale-code input.text { width: 100%; }
    .sale-code .btn-generic { width: 100%; }

    .shopping-cart .input-set { margin-left: auto; margin-right: auto; max-width: 280px; }
    .shopping-cart .input-set .btn-generic { width: 100%; margin-bottom: 10px; text-align: center; }
    .shopping-cart .input-set .btn-special { width: 100%; text-align: center; }

    .method-box { display: block; margin-left: auto; margin-right: auto; float: none; margin-bottom: 20px; }

    .box-generic .note-set .item { width: 100%; }

    .orders-total { text-align: left; }

    /* Login */

    form.form-login-page label { float: none; width: 100%; text-align: left; }
    form.form-register label { float: none; width: 100%; text-align: left; }

    form.std .note { display: block; }
    form.std .no-label { padding-left: 0; }

    /* Form */

    form.std p.text,
    form.std p.select { padding-left: 0; }
    form.std p.text label,
    form.std p.select label { position: static; max-width: 100%; }

    /* Top bar */

    .account-nav ul li { padding-right: 0; }

    /* Sidebar */

    .sidebox-set { margin: 0 auto; }
    .sidebox-set .sidebox-1 { float: none; padding: 0; width: 100%; margin-bottom: 20px; }
    .sidebox-set .sidebox-2 { float: none; padding: 0; width: 100%; margin-bottom: 20px; }

    /* Tabs */

    .tabs-hl .tab-nav { height: auto; }
    .tabs-hl .tab-nav ul { margin: 0; }
    .tabs-hl .tab-nav li { width: 100%; display: block; position: static !important; }
    .tabs-hl .tab-nav li a { height: auto !important; padding: 15px 0; text-align: center; }

    /* Pagebar */

    .pagebar .paging { opacity: 1; }
    .pagebar .paging a.previous, .pagebar .paging a.next { background: none; padding: 0; color: #0f8ca0; text-decoration: underline; }
    .pagebar .paging a.previous:hover, .pagebar .paging a.next:hover { text-decoration: none; }

    .btn-generic { margin-bottom: 5px; }
    .btn-special { margin-bottom: 5px; }

    .message.success { padding-left: 20px; background-image: none; }

    .account-nav ul li { margin-bottom: 10px; display: block; text-align: center; background: none; }
    .account-nav ul li a { float: none; }

    /* Revue */

    .revue .post-latest .img { float: none; }
    .revue .post-latest .text { padding-left: 0; }

    .services .item .box .desc { display: none; }
    div.jarmark { height: 430px}
    a.jarmark { display: none}
    h2.jarmark {text-align: center}
    h2.jarmark.sub { display: none}
}

@media (max-width: 380px) {

    h1 { font-size: 24px; }

    .logo { width: 100px; height: 40px; top: 12px; }

    .mobile-links .service-nav .item { width: 60px; background-image: none; }

    /* Product list */

    .products-list-grid .item-list { max-width: 238px; margin-left: auto; margin-right: auto; }
    .products-list-grid .item { width: 100%; }

    .thumbnails ul.set-10 li { width: 33.333333%; }

    /* Services */

    .services .item-list { margin-left: -10px; }
    .services .item { /*width: 100%;*/ padding-left: 10px; }
    .services .item .more { font-size: 14px; }
    .services .item:last-child { margin-bottom: 0; }

}