/*=====================================================
    
    TABLETS PORTRAIT & SMARTPHONES LANDSCAPE

=====================================================*/

@media screen and (max-width: 768px) and (min-width: 481px) {

    body {
        background-position: left 60px;
    }

    .header-links-wrapper,
    .header,
    .footer-bottom .center,
    .master-wrapper-main,
    .master-wrapper-content {
        margin: 0 auto;
        width: 95%;
    }
    select {
        height: 32px;
        border-radius: 0;
        max-width: 100%;
		padding: 5px;
    }
    input[type="text"], input[type="password"],
    .inputs input[type="text"], .inputs input[type="password"] {
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
	    box-sizing: border-box;
        height: 32px !important;
        border-radius: 0;
    }
    .side-2, .center-2 {
        margin-top: 20px;
        width: 100%;
    }
    .search-page {
        text-align: center;
    }
    .inputs {
        margin: 0 0 12px;
        width: 100%;
    }
    .inputs label {
        display: block;
        margin: 0 0 8px;
        width: 100%;
        text-align: left;
    }


    .topic-html-content {
        margin-bottom: 0;
    }
    .topic-html-content-title {
        background: none;
        margin-bottom: 0;
        padding-bottom: 0;
        text-align: center;
    }
    .topic-html-content-body {
        text-align: center;
    }
    
/* Fix for Error and validation messages */
    .inputs .message-error,
    .inputs .field-validation-error,
    .inputs .not-available-status,
    .inputs .password-error {
        display: block;
    }
    
/* BAR NOTIFICATION */
    
    .bar-notification {
	    height: 37px;
	    line-height: 37px;
    }
    .bar-notification .close {
        width: 32px;
        height: 32px;
        margin: 2px 5px;
    }
    .bar-notification a {
        display: inline-block;
        line-height: 32px;
    }

/* HEADER */

    .admin-header-links {
        position: static;
        width: 100%;
    }
    .admin-header-links a {
        padding: 0;
        width: 100%;
        text-align: center;
    }
    .flyout-cart.active {
        display: none;
    }
    .header-links-wrapper {
        height: auto;
        text-align: center;
    }
    .header-links-wrapper > * {
        float: none;
        text-align: center;
    }
    .header-links-wrapper .header-links ul {
        display: inline-block;
        float: none;
        overflow: hidden;
        text-align: center;
    }
    .header {
        text-align: center;
    }
    .header > * {
        display: inline-block;
    }
    .header-logo {
        float: none;
        width: 100%;
    }
    .header-logo a img{
        max-width: 100%;
    }
    .header-selectors-wrapper {
        margin: 12px 0;
        float: none;
        width: auto;
    }

    .language-list li,
    .language-list li:first-child {
        margin: 0;
    }
    .language-list a {
        width: 32px;
        height: 32px;
    }

    .search-box {
        margin: 0 0 20px 0;
        width: 100%;
    }
    .header-selectors-wrapper > * ,
    .search-box > * {
        display: inline-block;
        margin: 0 7px;
    }
    .search-box input.search-box-text {
        height: 30px !important;
    }
    .search-box input[type=submit] {
        margin-left: -1px;
        border-radius: 0;
    }

/* HEADER MENU */
    
    .header-menu {
        margin: 40px auto 30px;
        padding: 0;
        background: none;
        text-align: left;
        width: 70%;
    }
    .header-menu .menu-title {
        display: block !important;
        cursor: pointer;
        font-size: 21px !important;
    }
    .header-menu .menu-title span {
        display: block;
        margin: 8px auto;
        width: 93%;
        background: url('../img/responsive-nav-icon.png') no-repeat right center;
        overflow: hidden;
    }
    .header-menu .menu-title:hover,
    .header-menu ul li:hover > a {
        background-position: left bottom;
    }
    .header-menu .plus-button {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        border-left: 1px solid #c0c0c0;
        width: 56px;
        height: 43px;
        background: url('../img/responsive-plus.png') no-repeat center;
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
	    box-sizing: border-box;
        cursor: pointer;
    }
    .header-menu .plus-button.close {
        background: url('../img/responsive-minus.png') no-repeat center;
    }
    .header-menu .plus-button:hover {
        background-color: rgba(0,0,0,0.08);
    }
    .header-menu > ul {
        display: none;
        width: 100%;
    }
    .header-menu ul li {
        position: relative;
        float: none !important;
    }
    .header-menu > ul > li > a {
        border-top: none;
        font: normal 15px/38px Sylfaen, sylfaen_ff, serif;
    }
    .header-menu > ul > li > a,
    .header-menu > ul > li > span {
        padding: 9px 20px;
        background-color: #fff !important;
    }

    .header-menu .dropdown {
        display: none;
    }
    .dropdown li a {
        padding: 11px 20px;
    }
    .header-menu .dropdown > ul > li > a,
    .header-menu .dropdown > ul > li > span,
    .header-menu .top-menu .sublist.sublevel-1 li a {
		border-top: none;
        padding-left: 35px;
        background: #fff;
        font-size: 15px;
		text-shadow: none;
    }
    .header-menu .dropdown .inner-dropdown > ul > li > a,
    .header-menu .top-menu .sublist.sublevel-2 li a {
        padding-left: 50px;
        background: #f6f6f6;
        font-size: 14px;
    }
    .header-menu .top-menu .sublist.sublist.sublevel-3 li a {
        padding-left: 60px;
        background: #fff;
		font-size: 13px;
    }
    .header-menu .menu-title,
    .header-menu ul li a,
    .header-menu ul li span,
    .header-menu .top-menu .sublist li a {
        display: block;
        border-width: 1px;
        border-style: solid;
        border-color: #d0d0d0 #c6c6c6 #c0c0c0;
        background: #ccc url('../img/button1.png') top repeat-x;
        box-shadow: inset 0 1px 0 #fff;
        font: normal 17px Sylfaen, sylfaen_ff, serif;
        color: #333;
        text-transform: uppercase;
        text-shadow: 1px 1px #eee;
    }

    .header-menu .sublist,
    .header-menu .sublist .sublist {
        position: static;
        padding: 0;
        background: none;
        border: none;
        box-shadow: none;
    }
    .header-menu .sublist li > a,
    .header-menu .sublist li:hover > a {
        padding: 11px 25px 11px 30px;
        background: none;
    }

/* ITEM GRIDS & CATEGORY PAGE */

    .breadcrumb ul li a,
    .breadcrumb ul li strong {
        display: inline-block;
        line-height: 32px;
    }
    .product-selectors {
        padding: 0;
    }
    .product-selectors > div {
        margin: 4px 0;
        width: 100%;
        text-align: center;
    }
    .product-selectors .product-viewmode,
    .product-selectors .product-page-size {
        display: none;
    }
    .product-selectors > div > * {
        float: none;
    }
    .product-selectors select {
        margin-top: 0;
    }
    .product-selectors .product-sorting select {
        width: 150px;
    }
    .product-filters {
        margin: 0 0 2% 2%;
        width: 32%;
        text-align: center;
    }
    .product-filters:nth-child(3n+1) {
        margin-left: 0 !important;
    }
    .filter-content li a {
        display: block;
        margin: 2px 0;
        line-height: 32px;
    }
    .filter-content .group {
        margin: 0;
        width: 100%;
    }
    .remove-filter a {
        margin-top: 8px;
        padding: 8px 12px;
    }

    .product-grid .title,
    .news-list-homepage .title {
        text-align: center;
        line-height: 36px;
    }
    .item-box,
    .home-page .item-box,
    .product-details-page .product-grid .item-box:nth-child(3n+1)
    .manufacturer-list-page .manufacturer-grid .item-box:nth-child(3n+1),
    .product-tag-page .product-grid .item-box:nth-child(3n+1),
    .recently-added-products-page .product-grid .item-box:nth-child(3n+1),
    .cross-sells .item-box:nth-child(4n+1) {
        margin: 0 0 4% 4%;
        width: 48%;
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
	    box-sizing: border-box;
    }
    .product-grid .item-box {
        height: 523px;
    }
    .category-page .product-grid .item-box:nth-child(3n+1) {
        margin-left: 4%;
        clear: none;
    }
    .item-grid .item-box:nth-child(2n+1),    
    .product-grid .item-box:nth-child(2n+1){
        margin-left: 0 !important;
        clear: both;
    }
    .item-grid .item-box:nth-child(3n+1),    
    .product-grid .item-box:nth-child(3n+1){
        clear: none;
    }
    .item-grid .item-box .picture {
        width: auto;
    }
    .item-box input[type="button"] {
        width: 100%;
        height: 46px;
        font-size: 24px;
    }
    .item-box .details > * {
        margin: 0 0 5px;
    }
        .item-box .details > *:last-child {
            margin: 0;
        }
    .item-box .product-title {
        height: 24px;
    }
    .item-box .prices {
        margin-bottom: 5px;
    }
    .home-page-category-grid {
        margin: 10px 0 20px 0;
    }
    .sub-category-grid, .manufacturer-grid {
        padding-bottom: 30px;
    }
    .home-page-category-grid .item-box,
    .sub-category-grid .item-box {
        margin: 0 0 2% 2% !important;
        width: 49% !important;
        border-width: 1px;
        border-style: solid;
        border-color: #d0d0d0 #c6c6c6 #c0c0c0;
        background: #eee url('../img/button1.png') top repeat-x;
        box-shadow: inset 0 1px 0 #fff;
        text-align: center;
        text-shadow: 1px 1px #eee;
    }
    .category-item .title,
    .sub-category-item .category-title {
        height: auto;
        line-height: 40px;
        font-size: 20px;
    }
    .category-item .title a,
    .sub-category-item .category-title a {
        display: block;
        border: none;
        background: none;
        padding: 0;
    }
    .category-item .picture,
    .sub-category-item .picture,
    .manufacturer-item .picture {
        display: none;
    }
    .sub-category-item .category-title, .manufacturer-item .title {
        position: static;
    }
    .pager li * {
        padding: 8px 11px;
    }

/* BLOCKS */

    .block {
        float: left;
        margin: 1% 0 0 1%;
        width: 49.5%;
    }
    .block:nth-of-type(2n+1) {
        margin-left: 0%;
        clear: both;
    }
    .block .title {
        padding: 0;
        background: #333 url('../img/arrow2.png') no-repeat 95% center;
        cursor: pointer;
    }
    .block .title strong {
        display: block;
        padding: 10px 0 10px 10px;
        height: 100%;
    }
    .block .title:hover {
        color: #9a0;
    }
    .block .listbox {
        display: none;
    }
    .listbox .view-all,
    .poll .buttons {
        padding: 0 5px;
    }
    .listbox .view-all a,
    .poll .buttons input {
        display: inline-block;
        line-height: 32px;
    }

/* PRODUCT PAGE */

    .gallery {
        text-align: center;
        margin-bottom: 15px;
    }
    .product-details-page .product-details > * {
        float: none;
        width: 100%;
    }
    .product-details-page .product-details .gallery .picture {
        width: auto;
        height: auto;
        min-width: 338px;
        display: inline-block;
    }
    .product-variant-line .variant-picture img,
    .product-details-page .product-details .gallery .picture img {
        max-width: 100%;
    }
    .gallery .picture-thumbs a {
        float: none;
        display: inline-block;
        margin: 0 4px 8px !important;
    }
    .product-details-page .product-details .overview .buttons input {
        height: 32px;
    }
    .write-review .review-rating label {
        display: block;
        width: 314px;
        margin-right: 0px;
        text-align: center;
    }

    .manufacturers .value a,
    .product-review-links a,
    .product-no-reviews a,
    .product-tags-list li,
    .product-tags-list li > * {
        line-height: 32px;
        display: inline-block;
    }
    .overview .qty-label, .variant-overview .qty-label {
        line-height: 36px;
    }
    .overview .add-to-cart-button, .variant-overview .add-to-cart-button {
        height: 36px;
    }
    .overview .qty-input, .variant-overview .qty-input {
        height: 36px !important;
        width: 36px !important;
    }

    .product-variant-list {
        overflow: hidden;
    }
    .product-variant-line {
        float: left;
        margin: 0 0 4% 4%;
        width: 48%;
        overflow: hidden;
        text-align: center;
    }
    .product-variant-line:nth-child(2n+1) {
        margin-left: 0 !important;
        clear: both;
    }
    .product-variant-line .variant-picture,
    .product-variant-line .variant-overview  {
        float: none;
        width: 100%;
        margin: 0 0 10px;
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
	    box-sizing: border-box;
    }
    .variant-overview .prices > *,
    .variant-overview .add-to-cart-panel > * {
        float: none !important;
    }
    .variant-overview .qty-input {
        margin: 0;
    }
    .product-variant-line .variant-overview .add-to-cart-button {
        display: inline-block;
        margin: 10px 0 0 0 !important;
        height: 36px;
    }
    .product-variant-line .variant-overview .add-to-wishlist-button {
        height: 32px;
    }

/* QUICK TABS */

    .ui-tabs .ui-tabs-nav li a {
        padding: 10px 12px;
    }

/* ATTRIBUTES & COLOR SQUARES */

    .attributes dd label {
        display: inline-block;
        height: 32px;
        line-height: 32px;
    }
    .color-squares li {
        margin-left: 3px;
    }
    .color-squares li:first-child {
        margin-left: 0;
    }
    .color-squares label {
        line-height: 28px;
    }
    .color-squares .color {
        width: 28px;
        height: 28px;
    }

/* MY ACCOUNT PAGE */
    
    .avatar-page .info {
        width: 65%;
    }
    .account-page .button-1 {
        height: 38px;
        padding: 0 32px;
    }
    .account-page .button-2 {
        padding: 8px 16px;
    }
    .order-list-page .info {
        padding: 15px 15px 15px 245px;
    }

/* REGISTER PAGE */

    .registration-page .button-1 {
        margin-top: 5px;
    }
    .registration-page .buttons .button-1, 
    .password-recovery-page .buttons .button-1 {
        height: 39px;
    }

/* SHOPPING CART */
    
    .order-progress li {
        margin-bottom: 10px;
        width: 15%;
    }
    .order-summary-content .buttons {
        float: none;
        text-align: center;
    }
    .order-summary-content .buttons .common-buttons {
        text-align: center;
    }
    .order-summary-content .buttons input[type=submit] {
        margin: 0 5px;
        height: 32px;
    }
    .cart-footer {
        text-align: center;
    }
    .cart-footer .cart-collaterals {
        width: 100%;
        float: none;
    }
    .cart-footer .cart-collaterals > div {
        margin: 0 0 15px 0;
        padding: 0 0 15px 0;
        width: 100%;
        min-height: inherit;
        border: none;
        border-bottom: 1px dotted #ccc;
        float: none;
    }
        .cart-footer .coupon-code {
            display: inline-block;
            width: 265px;
        }
        .cart-footer .shipping .inputs label {
            width: 100%;
            text-align: center;
        }
        .cart-footer .shipping .button-2 {
            margin-left: 0;
        }
    .cart-footer input[type=submit] {
        height: 32px;
    }
    .cart-footer .totals {
        float: none;
        display: inline-block;
    }
    .cart-footer .totals .button-1 {
        height: 41px;
    }

    .shopping-cart-page .addon-buttons {
        margin: 0;
        width: auto;
        float: none;
        text-align: center;
        background: #F6F6F6;
    }
    
/* LOGIN PAGE */

    .login-page .topic-html-content-title h2,
    .login-page .title strong,
    .login-page .topic-html-content-body {
        padding-left: 0;
        text-align: center;
    }
    .login-page .page-title h1 {
        float: none;
        text-align: center;
    }
    .login-page .title,
    .login-page .form-fields .inputs {
        text-align: center !important;
    }
    .login-page .topic-html-content-body ul {
        display: inline-block;
        margin: 0;
        padding-left: 85px;
        text-align: left;
    }
    .login-page .form-fields .inputs > *{
        display: inline-block;
        margin: 0;
        padding: 0;
    }
    .login-page .button-1 {
        height: 39px;
    }
    .login-page .form-fields .inputs label{
        width: auto;
    }
    
/* CHECKOUT */

    .checkout-page .button-1 {
        padding: 0 8px;
        height: 32px;
        font-size: 16px;
    }
    .shopping-cart-page .button-2, 
    .checkout-page .button-2 {
        padding: 8px 12px;
    }
    .checkout-page .edit-address .inputs label {
        display: block;
        margin: 0;
        padding: 0 0 3px 0px;
        width: auto;
        text-align: left;
    }
    .checkout-page .edit-address .inputs input[type=text] {
        height: 32px;
    }
    .checkout-page .edit-address .inputs select {
        width: 314px;
        height: 34px;
    }
    .checkout-page .edit-address .inputs .field-validation-error {
        display: block;
    }
    .checkout-page .address-item,
    .checkout-page .address-item:first-child,
    .checkout-page .address-item:nth-child(3n+1) {
        margin-left: 4% !important;
        margin-bottom: 10px;
        padding-top: 0;
        width: 48%;
    }
    .checkout-page .address-item:nth-child(2n+1) {
        margin-left: 0% !important;
        clear: both;
    }
    .shipping-method .method-list li label, 
    .payment-method .method-list li label {
        display:inline-block;
        line-height: 32px;
    }
    .order-review-data ul {
        float: left;
        margin: 0 0 0 4%;
        padding: 0 0 10px 0;
        width: 48%;
        border-bottom: 1px dotted #ccc;
    }
    .order-review-data ul:nth-child(2n+1){
        margin: 0 !important;
        clear: both;
    }
    .opc .order-review-data ul {
        padding: 1%;
        width: 46%;
    }
    .order-details-page .page-title a {
        height: 20px;
        line-height: 20px;
    }
    .back-link a {
        display: inline-block;
        line-height: 32px;
    }
    
/* SEARCH PAGE */
    
    .registration-result-page * ,
    .registration-result-page .page-title h1,
    .search-page .page-title h1 {
        float: none;
        text-align: center;
    }
    .search-page .inputs {
        display: inline-block;
        width: 325px;
        text-align: center;
    }
    .search-page .inputs label {
        text-align: center;
    }
    .search-page .inputs input[type=text] {
        width: 100%;
    }
    .search-page input[type=checkbox] ~ label {
        display: inline-block;
        line-height: 32px;
    }
    .search-page .button-1 {
        height: 38px;
        padding: 0 32px;
    }
    .search-page .price-range {
        width: 100%;
    }
    .search-page .price-range input {
        width: 60px !important;
        height: 32px !important;
    }
    .search-page .product-list {
        
    }
    .search-page .product-list .item-box {
        float: left;
        margin-left: 2%;
        width: 49%;
    }
    .search-page .product-list .item-box:nth-child(2n+1) {
        margin-left: 0 !important;
    }
    .search-page .product-list .item-box .picture,
    .search-page .product-list .item-box .details {
        float: none;
        margin: 0;
        width: 100%;
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
	    box-sizing: border-box;
    }
        .search-page .product-list .item-box .description {
            height: 28px;
            overflow: hidden;
        }

/* EMAIL A FRIEND, CATALOG REQUEST, CONTACT US */
    
    .contact-page .button-1, 
    .email-a-friend-page .button-1 {
        height: 39px;
    }
    
/* COMPARE PRODUCTS PAGE & WISHLIST PAGE */

    .wishlist-content .button-2, .compare-products-table .button-2 {
        padding: 7px 12px;
    }
    .wishlist-page .share-info a {
        padding: 9px 0;
    }
    
/* SITEMAP */

    .sitemap-page .entity {
        overflow: hidden;
        margin-bottom: 20px;
    }
    .sitemap-page .entity-body ul li {
        float: left;
        margin-right: 10px;
    }
    .sitemap-page .entity-body ul li a {
        display: block;
        line-height: 32px;
    }

/* EU COOKIE LAW */

    [aria-describedby="dialog-eu-cookie-law"] {
        width: 380px !important;
        margin-left: -190px !important;
    }
    [aria-describedby="dialog-eu-cookie-law"] button {
        padding: 7px 21px;
    }
    [aria-describedby="dialog-eu-cookie-law"] .ui-dialog-titlebar button {
        padding: 12px;
    }

/* BLOG & NEWS */

    .news-items .item {
        padding: 0 10px 20px 10px;
    }
    .news-list-homepage .view-all {
        padding-right: 10px;
    }
    .news-items .read-more {
        padding: 8px 14px;
    }
    .new-comment textarea {
        width: 95% !important;
        resize: none;
    }

    .blog-page .tags li,
    .blog-page .tags li a {
        display: inline-block;
        line-height: 32px;
    }
    .block-blog-archive a {
        line-height: 32px !important;
    }

/* PRODUCT TAGS PAGE */

    .product-tags-all-page .product-tags-list li {
        height: 34px;
    }

/* FOOTER */

    .footer-top {
        padding: 10px 0 0 0;
        width: 100%;
        background: #f7f7f7 url('../img/separator.png') top repeat-x;
    }
    .footer-block,
    .footer-block-last {
        float: none;
        margin: 15px auto;
        padding: 0 0 5px 0;
        width: 90%;
        min-height: inherit;
        border: none;
        border-bottom: 1px dotted #ccc;
        text-align: center;
    }
    .footer-top .footer-block:first-child {
        margin-left: auto;
    }
    .footer-block h3 {
        margin: 5px 0;
    }
    .footer-block .footer-menu {
        display: inline-block;
        overflow: hidden;
    }
    .footer-block .footer-menu li {
        display: inline-block;
        margin: 0 5px 0 0;
    }
    .footer-block .footer-menu a {
        display: inline-block;
        line-height: 32px;
    }
    .footer-block-last {
        border-bottom: none;
    }
    .footer-block-last .buttons input[type=button]{
        margin-left: -1px;
        border-radius: 0;
    }
    .newsletter-subscribe-block,
    .newsletter-result-block {
        margin: 0 auto 10px auto;
        width: 358px;
        text-align: center;
    }
        .newsletter-subscribe-block input[type="text"] {
            height: 30px !important;
        }
    .accepted-payment-methods ul {
        display: inline-block;        
    }

    .footer-bottom {
        height: auto;
    }
        .footer-bottom .center {
            padding: 50px 0 10px;
        }
    .footer-bottom .center > * {
        display: block;
        float: none;
        position: static;
        text-align: center;
        line-height: normal;
        margin: 0 0 10px;
    }
        .footer-bottom .center > *:last-child {
            margin: 0;
        }
    .footer-bottom .center .footer-social{
        position: absolute;
        top: 10px;
        width: 100%;
        text-align: center;
        padding: 0;
    }
	/* Logo-Squares*/
	ul.logo-squares label{cursor:pointer;padding:0;margin:0;line-height:1px;}



    
/* *****BCLABS Search btn***** */


.search-box {
    width: 100%;
    /*clear: right;*/
}
.search-box > * {
     margin: 0 !important;

 }


.product-essential-bclabs .zoom-section {
    float: left;
    width: 65%;
}


.overview {
    float: right;
    position: relative;
    width: 100%;
}

}