/* Data-Table */
@media only screen and (max-width: 740px) {
    .data-table .separator { display:none; }
    .data-table .nobr { white-space:normal; }
}
@media only screen and (max-width: 440px) {
    .data-table tbody:last-child tr:last-child td { border-bottom:0px; }
}


/* Block */
@media only screen and (max-width: 770px) {
    .sidebar .block:last-of-type { border-bottom:1px solid #cccccc; }
    .sidebar .block:not(.block-layered-nav) { margin-bottom:0px; }
    .sidebar .block:not(.block-layered-nav) .block-title { border-top:0px; margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; }
    .sidebar .block:not(.block-layered-nav) .block-title > strong { background:#f4f4f4; color:#636363; cursor:pointer; display:block; font-weight:normal; border-color:#cccccc; border-style:solid; border-width:1px 1px 0px 1px; margin:0px 0px 0px 0px; padding:5px 10px 5px 20px; position:relative; text-rendering:optimizeSpeed; width:100%; user-select:none; -moz-user-select:none; -ms-user-select:none; -webkit-user-select:none; -o-user-select:none; }
    .sidebar .block:not(.block-layered-nav) .block-title.active > strong { border-width:1px 1px 1px 1px; }
    .sidebar .block:not(.block-layered-nav) .block-title > strong:after { border-top:4px solid transparent; border-right:0px; border-bottom:4px solid transparent; border-left:4px solid #deae4c; content:" "; display:block; left:10px; height:0px; margin:-4px 0px 0px 0px; position:absolute; top:50%; width:0px; }
    .sidebar .block:not(.block-layered-nav) .block-title.active > strong:after { border-top:4px solid #deae4c; border-right:4px solid transparent; border-bottom:0px; border-left:4px solid transparent; left:7px; margin-top:-2px; }
    .sidebar .block:not(.block-layered-nav) .block-content { border-color:#cccccc; border-style:solid; border-width:0px 1px 0px 1px; margin:0px 0px 0px 0px; padding:10px 10px 10px 10px; }

    .sidebar .block.block-account .block-title > strong span:after { content:" Menu"; }
}

/* Cart */
@media only screen and (max-width: 769px) {
    .cart .cart-forms .discount .form-group { margin-bottom:0px; vertical-align:middle; }
    .cart .cart-forms .discount .form-group,
    .cart .cart-forms .discount .form-group label,
    .cart .cart-forms .discount .form-group input { display:inline-block; }
}
@media only screen and (max-width: 599px) {
    .cart ul.checkout-types { float:none; }
    .cart ul.checkout-types li { margin:0px 0px 5px 0px; }
    .cart ul.checkout-types li .btn { width:100%; }

    .cart .cart-table {  }
    .cart .cart-table colgroup,
    .cart .cart-table thead { display:none; }

    .cart .cart-table tbody {  }
    .cart .cart-table tbody tr,
    .cart .cart-table tbody td { border-bottom:0px; display:block; }
    .cart .cart-table tbody tr { border-bottom:1px solid #c0c0c0; margin-bottom:5px; }
    .cart .cart-table tbody tr:last-child { margin-bottom:0px !important; }
    .cart .cart-table tbody td { text-align:left !important; }

    .cart .cart-table tbody td.product-cart-image { float:left; width:20%; }
    .cart .cart-table tbody td.product-cart-info,
    .cart .cart-table tbody td[data-rwd-label] { float:right; width:80%; }
    .cart .cart-table tbody td[data-rwd-label]:before { content: attr(data-rwd-label) ":"; font-weight:500; text-transform:uppercase; padding-right:5px; }

    .cart .cart-table tbody td.product-cart-image .cart-links { padding-top:5px; }
    .cart .cart-table tbody td.product-cart-image .cart-links,
    .cart .cart-table tbody td.product-cart-info a.btn-remove { display:block; }
    .cart .cart-table tbody td.product-cart-actions .cart-links,
    .cart .cart-table tbody td.product-cart-remove,
    .cart .cart-table tbody td.product-cart-total { display:none; }
    .cart .cart-table tbody tr:after,
    .cart .cart-table tbody td:after { display:block; content:"."; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
    .cart .cart-table tfoot td.cart-actions .btn { margin:0px 0px 5px 0px; width:100%; }
}
@media only screen and (max-width: 440px) {
    .cart .cart-forms .discount .form-group { display:block; float:left; }
    .cart .cart-forms .discount .form-group label { display:block; margin-bottom:5px; }
    .cart .cart-forms .discount button { margin-top:22px; }
}


/* Section Styling */
@media only screen and (max-width: 599px) {
    .checkout .opc .section .step .buttons-set .back-link { display:none; }
    .checkout .opc .section .step .buttons-set .please-wait { margin:5px 0px 5px 0px; text-align:center; width:100%; }
    .checkout .opc .section .step .buttons-set .btn { width:100%; }
}


/* Review */
@media only screen and (max-width: 599px) {
    .checkout .order-review #checkout-review-table {  }
    .checkout .order-review #checkout-review-table th:nth-child(n+2) { display:none; }
    .checkout .order-review #checkout-review-table tr,
    .checkout .order-review #checkout-review-table td,
    .checkout .order-review #checkout-review-table th { display:block; }
    .checkout .order-review #checkout-review-table tbody td { border-bottom:0px; text-align:left !important; }
    .checkout .order-review #checkout-review-table tbody tr { border-bottom:1px solid #c0c0c0; margin-bottom:5px; }
    .checkout .order-review #checkout-review-table tbody tr:last-child { margin-bottom:0px !important; }

    .checkout .order-review #checkout-review-table tbody td[data-rwd-label]:before { content: attr(data-rwd-label) ":"; font-weight:500; text-transform:uppercase; padding-right:5px; }

    .checkout .order-review #checkout-review-table tfoot td:first-child { float:left; width:70%; }
    .checkout .order-review #checkout-review-table tfoot td:last-child { float:right; width:30%; }

    .checkout .order-review #checkout-review-table tr:after,
    .checkout .order-review #checkout-review-table td:after { display:block; content:"."; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
}


/* Wishlist */
@media only screen and (max-width: 700px) {
    .my-wishlist #wishlist-table {  }
    .my-wishlist #wishlist-table tbody td.customer-wishlist-item-image { max-width:80px; }
    .my-wishlist #wishlist-table tbody td.customer-wishlist-item-info { min-width:180px; }
    .my-wishlist #wishlist-table tbody td.customer-wishlist-item-info textarea { height:90px; }
}
@media only screen and (max-width: 599px) {
    .my-wishlist #wishlist-table {  }
    .my-wishlist #wishlist-table thead { display:none; }

    .my-wishlist #wishlist-table tbody {  }
    .my-wishlist #wishlist-table tbody tr,
    .my-wishlist #wishlist-table tbody td { display:block; }
    .my-wishlist #wishlist-table tbody tr { border-bottom:1px solid #CCCCCC; margin-bottom:5px; position:relative; }
    .my-wishlist #wishlist-table tbody tr:last-child { margin-bottom:0px !important; }
    .my-wishlist #wishlist-table tbody td { border-bottom:0px; text-align:left !important; padding-left:0px; padding-right:0px; }

    .my-wishlist #wishlist-table tbody td[data-rwd-label]:before { content: attr(data-rwd-label) ":"; font-weight:500; text-transform:uppercase; padding-right:5px; }

    .my-wishlist #wishlist-table tbody td.customer-wishlist-item-image { max-width:120px; }
    .my-wishlist #wishlist-table tbody td.customer-wishlist-item-cart .cart-cell { float:left; width:48%; }
    .my-wishlist #wishlist-table tbody td.customer-wishlist-item-cart .cart-cell .btn { width:100%; }
    .my-wishlist #wishlist-table tbody td.customer-wishlist-item-cart > p { float:right; width:48%; }
    .my-wishlist #wishlist-table tbody td.customer-wishlist-item-cart .link-edit { display:block; }
    .my-wishlist #wishlist-table tbody td.customer-wishlist-item-remove { position:absolute; top:0px; right:0px; text-align:right !important; }
    .my-wishlist #wishlist-table tbody td.customer-wishlist-item-remove .link-edit { display:none; }

    .my-wishlist #wishlist-table tbody td.customer-wishlist-item-quantity:before,
    .my-wishlist #wishlist-table tbody td.customer-wishlist-item-price:before { float:left; margin:3px 10px 0px 0px; }
    .my-wishlist #wishlist-table tbody tr:after,
    .my-wishlist #wishlist-table tbody td:after { display:block; content:"."; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }

    .my-wishlist .buttons-set { border-top:0px; }
    .my-wishlist .buttons-set .btn { margin:0px 0px 5px 0px; width:100%; }

    .my-wishlist .buttons-set .back-link { display:none; }
}


/* Orders */
@media only screen and (max-width: 700px) {
    #my-orders-table {  }
    #my-orders-table th.ship,
    #my-orders-table td.ship { display:none; }
}
@media only screen and (max-width: 500px) {
    #my-orders-table th.status,
    #my-orders-table td.status { display:none; }
}
@media only screen and (max-width: 440px) {
    #my-orders-table th.date,
    #my-orders-table td.date,
    #my-orders-table td.view .link-reorder{ display:none; }
    #my-orders-table td.view { text-align:right; }
}


/* Sales Order View */
@media only screen and (max-width: 767px) {
    .order-info dt { display:none; }

    .order-info-box { margin:0px 0px 0px 0px; }
    .order-info-box + .order-info-box { border-bottom:0px; }
    .order-info-box .box { border-bottom:1px solid #ededed; padding:15px 0px 15px 0px; }
    .order-info-box .box .box-title { float:none; width:100%; }
    .order-info-box .box .box-content { float:none; }
}
@media only screen and (max-width: 599px) {
    .order-items #my-orders-table {  }
    .order-items #my-orders-table thead th:nth-child(n+2) { display:none; }
    .order-items #my-orders-table tr,
    .order-items #my-orders-table th,
    .order-items #my-orders-table td { display:block; }
    .order-items #my-orders-table tbody tr { border-bottom:1px solid #cccccc; position:relative; }
    .order-items #my-orders-table tbody td { border-bottom:0px; text-align:left !important; }
    .order-items #my-orders-table tbody td:first-child {  }
    .order-items #my-orders-table tbody td:first-child h3 { font-weight:600; }

    .order-items #my-orders-table tbody td[data-rwd-label]:before { content: attr(data-rwd-label) ":"; font-weight:500; font-size:11px; text-transform:uppercase; padding-right:5px; }
    .order-items #my-orders-table tbody td[data-rwd-label] { padding-top:0px; padding-left:30px; }

    .order-items #my-orders-table tfoot td:first-child { float:left; width:70%; }
    .order-items #my-orders-table tfoot td:last-child { float:right; width:30%; }

    .order-items #my-orders-table tr:after,
    .order-items #my-orders-table td:after{ display:block; content:"."; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
}

.col-xs-2-dot-4,
.col-sm-2-dot-4,
.col-md-2-dot-4,
.col-lg-2-dot-4 { position: relative; min-height: 1px; padding-right: 10px; padding-left: 10px; }

.header .header-center .slogan-and-links ul { display: none; }
.header .header-center .slogan-and-links p { text-align: center; }

.col-xs-2-dot-4 { width: 20%; float: left; }
@media (min-width: 768px) {
    .col-sm-2-dot-4 { width: 20%; float: left; }
    .header .header-center .slogan-and-links ul { display: block; }
    .header .header-center .slogan-and-links p { text-align: left; }
    .consulting-boxes > div { border-left: 1px solid #ededed; }
    .consulting-boxes > div:first-child { border-left: none; }
}
@media (min-width: 992px) {
    .col-md-2-dot-4 { width: 20%; float: left; }
}

@media (min-width: 1200px) {
    .col-lg-2-dot-4 { width: 20%; float: left; }
}

@media only screen and (max-width: 991px) {
    .header .header-center p { font-size: 18px; }
}

@media (max-width: 767px) {
    .toolbar .limiter,
    .toolbar .pagination,
    .toolbar .toolbar-info { margin-top: 20px; }
}

/* Gridview overflow bugfix */
@media screen and (max-width: 991px){
    .products-grid .item-wrapper {
        height: 455px;
        /*min-height: 455px;*/
        /*max-height: 455px;*/
    }
}

@media (min-width: 992px){
    .products-grid .item-wrapper {
        height: 380px;
        /*min-height: 380px;*/
        /*max-height: 380px;*/
    }
}

@media (max-width: 767px) {
    .cbp-hsmenu-wrapper {
        margin-left: 0 !important;
    }
}

@media (max-width: 767px) {
    .sidebar-left {
        margin-bottom: 15px;
    }
}

@media (max-width: 991px) {
    #quoteModal .modal-content {
        background: white !important;
    }
}

@media (max-width: 991px) {
    #quoteModal .modal-body {
        top: 10px !important;
        width: 95% !important;
    }
}

@media (min-width: 768px) {
    .nav-container { margin-right: -30px; }
}

@media (min-width: 768px) {
    .cbp-hsmenu-wrapper {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .cbp-hsmenu-wrapper {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .cbp-hsmenu-wrapper {
        width: 1170px;
    }
}
