﻿.clear {
    clear: both;
}

.hidden {
    display: none;
}


/* Generic message boxes */


div.message {
    padding: 8px;
    border: dotted 1px #999;
    font-weight: bold;
}

    div.message.warning {
        background-color: #ffef77;
    }

/* Header image (Store logo) */

.header-logo a img {
    max-width: 310px;
    max-height: 80px;
    opacity: 1;
}

/* Message alerts */

.info-msg,
.success-msg,
.warning-msg,
.error-msg {
    margin: 10px 0;
    padding: 10px;
    border-radius: 3px 3px 3px 3px;
}

.info-msg {
    color: #059;
    background-color: #BEF;
}

.success-msg {
    color: #270;
    background-color: #DFF2BF;
}

.warning-msg {
    color: #9F6000;
    background-color: #FEEFB3;
}

.error-msg {
    color: #D8000C;
    background-color: #FFBABA;
}

.list-title {
    border-bottom: solid 1px #999;
}

/* GENERAL ELEMENTS */

div.radio.readonly input[type="radio"],
div.radio.readonly label[for] {
    opacity: 0.5;
    pointer-events: none;
}

/* BULK ORDER LISTING */

#load-more-element {
    display: inline-block;
}

.pager-section {
    text-align: center;
}

.html-bulk-order-page body { /* This rule will avoid page "jumping" to the beginning when bulk order progress dialog pops up  */
    height: initial !important;
}

#bulk-orders-list-wrapper {    
    position: relative;
}

#bulk-products-content {
}

#bulk-orders-list-wrapper.no-results #bulk-products-content {
    min-height: initial;
}

#bulk-pagination .pagination .current-page {
    background-color: #e56363;
}

#bulk-pagination .pagination .current-page a {
    color: #fff;
}

#bulk-pagination .pagination .disabled a {
    cursor: not-allowed;
}

    #bulk-pagination .pagination .disabled a:hover {
        background-color: unset !important;
        color: #8d8d8d;
    }

.content-header.bulk-order {
    height: auto !important;
}

.bulk-order-list {
    margin-top: 3em;
}

    .bulk-order-list.actions-expanded {
        margin-top: 10em !important;
    }

    .bulk-order-list .product-price {
        margin-top: 0.5em;
    }

    .bulk-order-list .product-details {
        width: 100%;
        border-bottom: dashed 1px #999;
        margin-bottom: 15px;
        padding: 15px;
        display: flex;
        position: relative;
    }

        .bulk-order-list .product-details.error {
            border: solid 2px red !important;
        }

        .bulk-order-list .product-details .product-pictures {
            float: left;
            border-right: solid 1px #999;
            padding-right: 10px;
        }

            .bulk-order-list .product-details .product-pictures .gallery {
                width: 240px;
                margin-bottom: 0;
            }


                .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs {
                    padding-bottom: 10px;
                    width: 100%;
                }


                    .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs .thumb-item {
                        max-width: 70px;
                        margin: 10px 15px 0px 0;
                        max-height: 70px;
                    }

                        .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs .thumb-item img {
                            margin: 0;
                            border: solid 1px #999;
                        }

                        .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs .thumb-item:last-child {
                            margin: 0;
                        }

    .bulk-order-list .product-attrs-wrapper {
        position: relative;
    }

        .bulk-order-list .product-attrs-wrapper .product-attrs {
            float: left;
            margin-bottom: 20px;
            margin-top: 10px;
        }

    .bulk-order-list .color-matrix .color-row {
        clear: both;
        border-bottom: solid 1px #CCC;
        padding: 0 0 10px 0;
        position: relative;
    }

        .bulk-order-list .color-matrix .color-row .color-indicator {
            float: left;
            transform: translate(0%, 60%);
        }

        .bulk-order-list .color-matrix .color-row .color-text {
            float: left;
            transform: translate(0%, 100%);
            height: 32px;
            min-width: 85px;
        }

        .bulk-order-list .color-matrix .color-row .main-attribute {
            float: left;
            margin-left: 15px;
        }

    .bulk-order-list .bulk-attributes-wrapper .attribute-value {
        float: left;
        margin-bottom: 7px;
    }

        .bulk-order-list .bulk-attributes-wrapper .attribute-value .attribute-label {
            text-align: center;
            width: 50px;
            margin: 0 0 4px 0;
        }

        .bulk-order-list .bulk-attributes-wrapper .attribute-value .attribute-value-input span {
            text-align: center;
            display: inline-block;
            line-height: 32px;
            width: 100%;
        }

        .bulk-order-list .bulk-attributes-wrapper .attribute-value .attribute-value-input input {
            width: 50px;
            min-width: 50px !important;
            margin-right: 7px;
        }

    .bulk-order-list .product-details .product-info {
        margin-left: 30px;
        float: none;
        margin-bottom: 25px;
        width: 100%;
    }

    .bulk-order-list .product-details .colapse-wrapper {
        position: absolute;
        top: 10px;
        right: 10px;
        height: 24px;
        width: 24px;
        z-index: 1010;
    }

        .bulk-order-list .product-details .colapse-wrapper .colapse-indicator {
            background: url(../images/down.png);
            background-size: cover;
            width: 24px;
            height: 24px;
            cursor: pointer;
        }

.product-details .product-minified {
    display: none;
}

.product-details .spinner,
.product-details.colapsed.updating .spinner {
    display: none;
}

.product-details .product-minified .spinner {
    margin-top: 0;
    margin-right: 30px;
}

.product-details.updating .product-minified .spinner,
.product-details.updating:not(.colapsed) .spinner {
    display: block;
}

.product-details.updating:not(.colapsed) .spinner {
    position: absolute;
    right: 40px
}

.no-results-message {
    display: none;
    background: #F7F7F7;
    padding: 1em;
    border: double 4px #CCC;
    text-align: center;
}

    .no-results-message.active {
        display: block;
    }


.unsupported-bulk-order {
    background: #F7F7F7;
    padding: 1.5em;
    font-weight: normal;
    border: dotted 1px #aaa;
}

    .unsupported-bulk-order a {
        color: #169aff;
        font-weight: bold;
        text-decoration: underline;
    }

        .unsupported-bulk-order a:hover {
            color: #e56363;
            text-decoration: underline;
        }

/* BULK ORDERS LIST PERSON VIEW */

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.bulk-order-list.person-view {
    position: relative;
}

    .bulk-order-list.person-view .product-details {
        width: 23%;
        float: none;
        display: inline-block;
        padding: 0;
        margin-right: 15px;
        margin-bottom: 50px;
        border-bottom: solid 1px #999;
        margin-left: 0;
    }

        .bulk-order-list.person-view .product-details .product-info > .product-price {
            border-top: 1px dotted #333;
            padding-top: 10px;
        }

        .bulk-order-list.person-view .product-details .product-minified {
            display: none !important;
        }

        .bulk-order-list:not(.person-view) .product-details .product-desc.full,
        .bulk-order-list.person-view .product-details .product-desc.short {
            display: block;
        }

        .bulk-order-list.person-view .product-details .product-desc.short {
            cursor: help;
            min-height: 2.3em;
            margin-bottom: 15px;
            position: relative;
            padding-right: 1.5em;
            border: none;
            max-width: 248px;
        }

        .bulk-order-list:not(.person-view) .product-details .product-desc.short,
        .bulk-order-list.person-view .product-details .product-desc.full {
            display: none !important;
        }

        /* This is to hide items not related to the current gender mode */
        .bulk-order-list .product-details.hidden-by-filters,
        .bulk-order-list.person-view .product-details.hidden-by-filters {
            display: none !important;
        }

    .bulk-order-list.person-view .product-details .colapse-wrapper {
        display: none;
    }

    .bulk-order-list.person-view .product-details .product-attrs {
        float: none;
    }

        .bulk-order-list.person-view .product-details .product-attrs .attributes dl {
            width: 100%;
        }


    .bulk-order-list.person-view .product-details .bulk-attributes-wrapper {
        display: none;
    }

    .bulk-order-list.person-view .product-details .product-pictures {
        float: none;
        border: none;
    }

    .bulk-order-list.person-view .product-details.colapsed .product-pictures {
        display: block;
    }


    .bulk-order-list.person-view .product-details .product-pictures .gallery {
        float: none;
    }

        .bulk-order-list.person-view .product-details .product-pictures .gallery .picture {
            height: 150px;
            margin-bottom: 2em;
        }

    .bulk-order-list.person-view .product-details .product-pictures .picture-thumbs {
        display: none;
    }

    .bulk-order-list.person-view .product-details .product-info {
        display: block;
        margin: auto;
        width: 90%;
    }

        .bulk-order-list.person-view .product-details .product-info.overview .product-name {
            min-height: 60px;
            text-align: center;
            font-size: 0.9em;
        }

.bulk-order-list .product-details .core-attrs {
    display: block;
}

.bulk-order-list:not(.person-view) .product-details .core-attrs.supports-bulk {
    display: none;
}

.bulk-order-list.person-view .product-details .core-attrs .attributes {
    max-height: 40px;
}

    .bulk-order-list.person-view .product-details .core-attrs .attributes dt {
        display: none;
    }

.bulk-order-list.person-view .product-details .core-attrs .core-product-qty input {
    width: 25%;
    min-width: 25% !important;
}

.bulk-order-list.person-view .product-details .core-attrs .attributes dd {
    display: inline-block;
}

.bulk-order-list.person-view .product-details .core-attrs .attributes select {
    margin-top: 5px;
}

.bulk-order-list.person-view .product-details .core-attrs .attribute-squares {
    margin-left: 5px;
}

    .bulk-order-list.person-view .product-details .core-attrs .attribute-squares label {
        display: inline-block;
    }

.bulk-order-list.person-view .product-details .core-attrs .attributes dl dd:nth-of-type(1) .attribute-squares {
    margin-left: 0;
}

.bulk-order-list.person-view .product-details .core-attrs .attribute-squares li {
    margin-right: 0;
}

    .bulk-order-list.person-view .product-details .core-attrs .attribute-squares li label {
        margin: 0 5px 0 0 !important;
    }

.bulk-order-list.native-theme.person-view .product-details .core-attrs .attribute-squares li label {
    margin: 0 2px 0 0 !important;
}


/* COLAPSED STATE */

.product-details.colapsed .colapse-wrapper {
    top: 32px;
    right: 28px;
}

    .product-details.colapsed .colapse-wrapper .colapse-indicator {
        background-image: url(../images/up.png);
    }

.product-details.colapsed .product-pictures,
.product-details.colapsed .product-info {
    display: none;
}

.product-details.colapsed .product-minified {
    display: block !important;
    width: 100%;
    padding: 20px;
    background-color: #EFEFEF;
    border: solid 1px #DDD;
    margin-top: 0;
}

/* END COLAPSED STATE */


/* BULK ORDERS LIST FILTER */

#bulk-filter {
    position: relative;
}

#bulk-order-filters {
    margin-top: 1em;
    z-index: 1001;
}

#bulk-order-filters .filter-container {
    background: #F7F7F7;
    border: solid 1px #ddd;
    border-top: solid 1px #aaa;
    padding: 1.5em;
    width: 100% !important;
    max-width: initial;
}

#bulk-order-filters .filter-actions {
    text-align: center;
}

.filter-container .filter-title {
    border-bottom: double 4px #ccc;
    padding: 5px 0;
    margin-bottom: 1em;
    font-weight: bold;
    text-transform: uppercase;
}

#bulk-order-filters .is-sticky .filter-container {
    position: fixed;
    left: 0;
    max-width: 16%;
    padding: 10px;
    z-index: 1001 !important;
}

#bulk-filter-sticky-wrapper {
    min-height: 88px;
}

#bulk-filter-sticky-wrapper,
#bulk-order-filters {
    height: auto !important;
}

#bulk-order-filters .is-sticky .filter-container .filter-section {
    width: 95%;
}

/* END BULK ORDERS LIST FILTER */

#flyout-cart.sticky-cart {
    right: 10px;
    position: fixed;
    top: 50px;
}


#topcartlink-sticky-wrapper {
    display: inline-block;
    width: 100px;
}

#topcartlink .ico-cart.ghost-copy {
    display: none;
}

#topcartlink.sticky-parent .ico-cart.ghost-copy {
    display: inherit;
}

#topcartlink .sticky-wrapper.is-sticky {
    position: absolute;
    top: 0;
}

    #topcartlink .is-sticky .cart-link-wrapper {
        background-color: #DEDEDE;
        padding: 0 1em;
        width: 180px !important;
        right: 10px;
        margin-top: 5px;
    }

    #topcartlink .is-sticky .cart-link-wrapper .ico-cart:hover span {
        color: #333;
    }

    .bulk-actions input[type="button"], .bulk-actions button,
    #clear-bulk-filters, .load-more-link {
        display: inline-block;
        height: 40px;
        border: none;
        vertical-align: middle;
    }

.bulk-actions {
    width: 100%;
    clear: both;
    padding: 15px 15px 10px 0;
    background: #F7F7F7;
    border: solid 1px #DDD;
}

    .bulk-actions .buttons-wrapper {
        padding-top: 3px;
        float: right;
    }

    .bulk-actions .action-button {
        float: right;
    }

    .bulk-actions .bulk-add-all,
    #clear-bulk-filters, .load-more-link {
        background-color: #6BB287;
        color: white;
        font-size: 15px;
        text-transform: uppercase;
        text-align: center;
        padding: 0 1em;
        width: 170px !important;
    }

    #clear-bulk-filters,
    .load-more-link {
        background-color: #E5635B;
        font-size: 12px;
        width: 130px !important;
    }

    .load-more-link {
        width: 185px !important;
    }

    .bulk-actions.no-packnames .is-sticky .bulk-add-all {
        margin-left: 10px;
        margin-top: 10px;
        right: 10px;
    }

    .welcomepack-actions .buttons-wrapper {
        padding-top: 3px;
        float: right;
    }

    .welcomepack-actions input[type="button"], .welcomepack-actions button {
        display: inline-block;
        height: 40px;
        border: none;
        vertical-align: middle;
    }

    .welcomepack-actions .form-control {
        display: block;
        width: 100%;
        height: 34px;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        color: #555;
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
        -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    }

    .welcomepack-actions {
        width: 100%;
        clear: both;
        padding: 15px 15px 0;
    
    }
    .welcomepack-actions .welcomepack-import {
        background-color: #2e2e2e;
        color: white;
        font-size: 12px;
        text-transform: uppercase;
        text-align: center;
        padding: 0 1em;
        width: 170px !important;
    }

        .welcomepack-actions .welcomepack-green {
            background-color: limegreen;
            color: white;
            font-size: 12px;
            text-transform: uppercase;
            text-align: center;
            padding: 0 1em;
            width: 170px !important;
        }

        .welcomepack-actions .welcomepack-red {
            background-color: indianred;
            color: white;
            font-size: 12px;
            text-transform: uppercase;
            text-align: center;
            padding: 0 1em;
            width: 170px !important;
        }

        .welcomepack-actions .wel-button {
            display: block;
            width: 115px;
            height: 25px;
            background: #4E9CAF;
            padding: 10px;
            text-align: center;
            border-radius: 5px;
            color: white;
            font-weight: bold;
        }

    .welcomepack-actions .welcome-add-all {
        background-color: #6BB287;
        color: white;
        font-size: 15px;
        text-transform: uppercase;
        text-align: center;
        padding: 0 1em;
        width: 170px !important;
    }

    #bulk-order-actions-sticky-wrapper {
        z-index: 1015;
        position: relative;
	height: auto !important;
    }

    #bulk-order-actions-sticky-wrapper.is-sticky {
        width: 830px;
        margin: auto;
    }

        #bulk-order-actions-sticky-wrapper.is-sticky #bulk-order-actions {
            width: 860px !important;
        }

#add-all-modal.remodal .confirm-btn {
    display: none;
}

#add-all-modal.remodal.completed .confirm-btn {
    display: inline;
}

.remodal .confirm-btn {
    padding: 12px;
}

.remodal.completed .spinner {
    display: none;
}

.remodal .error-wrapper {
    display: none;
}

.remodal.with-error .error-wrapper {
    display: block;
}

.remodal .progress-bar-wrapper {
    margin: 20px auto;
    width: 100px;
    height: 100px;
    position: relative;
}

.remodal .status-wrapper {
    padding: 10px;
    background: #EFEFEF;
    border: solid 1px #DDD;
    border-radius: 5px;
    margin-bottom: 20px;
}

.remodal h2 {
    text-decoration: underline;
}

.remodal .loading-overlay {
    display: none;
}

.remodal.loading .loading-overlay {
    display: block;
}

.remodal .modal-content {
    padding: 1em;
}

.remodal .modal-actions {
    display: block;
}

.remodal.loading .modal-actions {
    display: none;
}

.remodal.big {
    max-width: 1000px;
}

#subsidy-confirmation-modal .amount,
#no-subsidy-modal .amount {
    font-weight: bold;
    font-size: 1.2em;
}

/* SHOPPING CART */
.cart.bulk .product-picture {
    vertical-align: middle;
    text-align: center;
    width: 200px;
}

.cart.bulk .product .item-name {
    margin-bottom: 25px;
}

.cart.bulk .product .item-section {
    float: left;
    line-height: 40px;
    width: 20%;
}

.cart.bulk .product .item-variant {
    margin-bottom: 10px;
    border-bottom: solid 1px #EEE;
    padding-bottom: 10px;
}

    .cart.bulk .product .item-variant:last-child {
        border-bottom: none;
    }

    .cart.bulk .product .item-variant .attribute-info {
        width: 27%;
        vertical-align: middle;
    }

        .cart.bulk .product .item-variant .attribute-info .value-text {
            display: inline-block;
            margin-right: 7px;
        }

    .cart.bulk .product .item-variant .item-quantity {
        width: 130px;
    }

        .cart.bulk .product .item-variant .item-quantity input {
            width: 50px;
            height: 40px;
        }

    .cart.bulk .product .item-variant .item-subtotal {
        vertical-align: middle;
        width: 150px;
    }

    .cart.bulk .product .item-variant .item-remove {
        border-left: solid 1px #CCC;
        padding-left: 10px;
        margin-left: 10px;
        width: 140px;
    }

        .cart.bulk .product .item-variant .item-remove label {
            display: inline-block;
            cursor: pointer;
        }

    .cart.bulk .product .item-variant .item-packname {
        margin-left: 15px;
        margin-top: 6px;
    }


.packname-view .cart.bulk .product .item-section.item-packname,
.branch-view .cart.bulk .product .item-section.item-packname {
    clear: both;
    margin-left: 0;
    width: 30%;
    margin-top: 10px;
}

.order-summary-content .cart-items-wrapper {
    display: none;
}

    .order-summary-content .cart-items-wrapper.active {
        display: block;
    }

.order-summary-content .view-mode-wrapper {
    width: 100%;
    text-align: right;
    clear: both;
}

    .order-summary-content .view-mode-wrapper .view-mode-actions {
        padding: 10px 0;
        text-align: right;
        width: 100%;
    }

        .order-summary-content .view-mode-wrapper .view-mode-actions .view-mode-button {
            display: inline-block;
            cursor: pointer;
            height: 36px;
            width: 36px;
            border: solid 1px #DDD;
            background-color: #EDEDED;
            margin-right: 7px;
            border-radius: 4px;
            line-height: 36px;
            text-align: center;
        }

            .order-summary-content .view-mode-wrapper .view-mode-actions .view-mode-button.active {
                background-color: #ABABAB;
            }

            .order-summary-content .view-mode-wrapper .view-mode-actions .view-mode-button:hover {
                background-color: #CCC;
                border-color: #999;
            }

table.cart td.packname {
    width: 150px;
    text-align: center;
}

.cart.bulk .packname-subtotal .sub-total-label,
.cart.bulk .packname-subtotal .sub-total-value {
    display: inline-block;
    font-size: 1.3em;
}

.cart.bulk .packname-subtotal .sub-total-label {
    margin-right: 7px;
    font-weight: bold;
}


/* This is to force the same styling on all themes when viewing the standard/classic cart view */

.classic-view .cart tr th,
.bulk-view .cart tr th,
.packname-view .cart tr th,
.branch-view .cart tr th {
    background-color: #000 !important;
    color: #fff !important;
    font-weight: bold !important;
}

.cart td .item-name {
    font-weight: bold
}


.cart-footer .total-info-section {
    margin: 0 0 20px;
    border-bottom: 1px solid #ddd;
    padding: 5px 30px 15px;
}

.total-info .cart-total .cart-total-right .message-text {
    font-size: 14px !important;
}

/* END SHOPPING CART */

/* SPINNERS AND LOADING INDICATORS */

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #07d;
    border-bottom-color: #07d;
    animation: spinner .8s ease infinite;
}

.spinner {
    width: 25px;
    height: 25px;
    position: relative;
    float: right;
    margin-top: -5px;
}


.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 15px;
}

    .lds-ellipsis div {
        position: absolute;
        top: 5px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #E5635B;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1) {
            left: 8px;
            animation: lds-ellipsis1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2) {
            left: 8px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3) {
            left: 32px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4) {
            left: 56px;
            animation: lds-ellipsis3 0.6s infinite;
        }

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}


/* FORMS */

.form .form-group {
    margin-bottom: 10px;
    min-height: 45px;
}

    .form .form-group label {
        font-weight: bold;
        cursor: pointer;
        width: 25%;
        display: inline-block;
        max-width: 130px;
    }

        .form .form-group label.small {
            width: 18%;
        }

    .form .form-group input.spaced {
        margin-left: 15px;
    }

    .form .form-group .sub-label {
        font-weight: normal;
        width: auto;
        max-width: unset;
        font-size: 12px;
    }

.grid .form .row {
    margin-bottom: 10px;
}

.grid .form .group.flex-center {
    display: flex;
    align-items: center;
}

.grid .form .group label {
    font-weight: bold;
    cursor: pointer;
    width: 25%;
    display: inline-block;
    max-width: 130px;
}

.grid .form .group .sub-label {
    font-weight: normal;
    width: auto;
    max-width: unset;
    font-size: 12px;
}



/* END FORMS */


/* PACKNAMES */


.packname-sticky-wrapper {
    float: left;
    width: 50%;
    height: auto !important;
}

.packnames-wrapper {
    float: left;
    padding: 0px;
    width: 650px;
}

    .packnames-wrapper #packname {
        width: 60%;
    }

.packname-sticky-wrapper.is-sticky {
    position: relative;
    z-index: 1000;
    left: 50%;
    margin-left: -365px;
    width: 730px;
}

    .packname-sticky-wrapper.is-sticky .packnames-wrapper {
        background-color: #F7F7F7;
        border: solid 1px #CCC;
        width: 730px !important;
        float: none;
    }


/* END PACKNAMES */

/* PACKNAME SELECTOR CONTROL */

#packname-selector {
    position: relative;
}

    #packname-selector .chosen-search-input {
        width: 100% !important;
    }

    #packname-selector .toggle-container {
        display: none;
        width: 24px;
        height: 24px;
        margin-left: 10px;
    }

    #packname-selector.staff-item.allow-subsidy .toggle-container,
    #packname-selector.edit-mode .toggle-container,
    #packname-selector.custom-mode .toggle-container,
    #packname-selector.allow-pocomment .toggle-container,
    #packname-selector.allow-branchcode .toggle-container {
        display: inline-block;
    }

    #packname-selector .pocomment .radio-or-check-wrapper {
        margin-bottom: 1.25em;
        margin-left: 25%;
    }

        #packname-selector .pocomment .radio-or-check-wrapper label {
            font-size: 0.8em;
        }

    #packname-selector .toggle-container .lbl-toggle {
        font-weight: bold;
        font-family: monospace;
        text-transform: uppercase;
        text-align: center;
        color: #000;
        cursor: pointer;
        transition: all 0.25s ease-out;
        width: 24px;
        height: 24px;
        display: inline-block;
        padding-top: 5px;
    }

        #packname-selector .toggle-container .lbl-toggle:hover {
            color: #7C5A0B;
        }

        #packname-selector .toggle-container .lbl-toggle::before {
            content: ' ';
            display: inline-block;
            border-top: 7px solid transparent;
            border-bottom: 7px solid transparent;
            border-left: 7px solid currentColor;
            vertical-align: middle;
            transform: translateY(-2px);
            transition: transform .2s ease-out;
        }

    #packname-selector.no-selection .toggle-container {
        display: none;
    }

    #packname-selector.expanded .toggle-container .lbl-toggle::before {
        transform: rotate(90deg) translateX(-3px);
    }

    #packname-selector .collapsible-content,
    #packname-selector.collapsed .collapsible-content {
        max-height: 0px;
        overflow: hidden;
        transition: max-height .25s ease-in-out;
    }

    #packname-selector.expanded .collapsible-content {
        max-height: 500px;
        overflow: visible;
    }

    #packname-selector.expanded .toggle-container .lbl-toggle {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    #packname-selector .subsidy-display {
        display: none;
        border: dotted 2px #AAA;
        padding: 0.6em;
        font-weight: bold;
		cursor: help;
    }

#packname-custom {
    display: none;
}

#packname_entries_chosen {
    min-width: 170px;
    max-width: 250px;
}

#packname-selector.no-selection.grid .row {
    margin-bottom: 0;
}

#packname-selector.grid .row [class^="col"] {
    margin: 0.5rem 1%;
}

#packname-selector.grid .form > .row {
    margin-bottom: 0;
}


#packname-selector .loading-overlay,
#bulk-orders-list-wrapper .loading-overlay,
#bulk-filter .loading-overlay,
#bulk-orders-list-wrapper .loading-indicator {
    display: none;
}

#bulk-orders-list-wrapper.loading #load-more-element,
#bulk-orders-list-wrapper.loading .no-results-message {
    display: none !important;
}

#packname-selector.loading .loading-overlay,
#bulk-orders-list-wrapper.loading .loading-overlay,
#bulk-filter.loading .loading-overlay {
    display: block;
}

#bulk-orders-list-wrapper.loading .loading-overlay {
    background-color: rgba(0,0,0,.6);
    z-index: 1000;
}

#bulk-orders-list-wrapper.loading .loading-indicator {
    display: inline-block;
}

#packname-selector .radio-or-check-wrapper {
    width: 100%;
    padding-top: 12px;
}

    #packname-selector .radio-or-check-wrapper .radio {
        display: inline-block;
        margin-right: 10px;
    }

#packname-selector .action-links a {
    color: #00bfff;
    text-decoration: underline;
    cursor: pointer;
}

#packname-selector .icon-button {
    display: inline-block;
    margin: 0 10px;
}

#packname-selector #extra-data-section .is-group {
    margin-top: 10px;
}

#packname-selector .packname-color-picker,
#packname-selector .custom-packname-switch {
    display: inline-block;
}

#packname-selector .custom-packname-switch {
    margin-left: 5px;
}

#packname-selector #packnames-list {
    max-width: 200px;
}

#packname-selector .icon-button.cancel,
#packname-selector .icon-button.edit {
    display: none;
}


#packname-selector .printname,
#packname-selector .is-group,
#packname-selector .gender-section,
#packname-selector .subsidy-mode,
#packname-selector #packnames-list-section,
#packname-selector.custom-mode #packnames-list-section .packnames-color-label,
#packname-selector.custom-mode #packname_entries_chosen,
#packname-selector.edit-mode .custom-packname-switch,
#packname-selector.staff-item.edit-mode #packnames-list-section .packnames-list-label,
#packname-selector.staff-item.edit-mode #packnames-list-section #packnames-list,
#packname-selector.packname-item.edit-mode #packnames-list-section .packnames-color-label {
    display: none;
}


#packname-selector.edit-mode .icon-button.cancel {
    display: inline-block;
}


#packname-selector.custom-mode #packname-custom {
    display: inline;
}

#packname-selector.edit-mode #packnames-list-section .packname-color-picker,
#packname-selector.custom-mode #packnames-list-section .packname-color-picker,
#packname-selector.edit-mode.packname-item #packnames-list-section .packnames-list-label,
#packname-selector.custom-mode #packnames-list-section .packnames-list-label,
#packname-selector.edit-mode.staff-item #packnames-list-section .packnames-color-label,
#packname-selector.edit-mode.packname-item #packnames-list-section .custom-select,
#packname-selector.custom-mode #packnames-list-section .custom-select {
    display: inline-block;
}

#packname-selector.staff-item.has-subsidy .subsidy-display,
#packname-selector.staff-item.has-departments .subsidy-display {
    display: inline-block;
    margin-left: 1em;
}

#packname-selector.custom-mode .is-group,
#packname-selector.custom-mode .gender-section,
#packname-selector.edit-mode .printname,
#packname-selector.custom-mode .printname,
#packname-selector.staff-item .subsidy-mode,
#packname-selector.custom-mode #packnames-list-section,
#packname-selector.edit-mode #packnames-list-section {
    display: block;
}

.subsidy-popup {
	background-color: #fff;
}

.subsidy-popup .caption {
	color: #fff;
	background-color: #E56363;
	text-align: center;
	padding: 10px;
	font-size: 1.15em;
	font-weight: bold;
}

.subsidy-popup .global-subsidy {
    background-color: #EDEDED;
    padding: 10px;
	color: #333;
	min-width: 350px;
}

.subsidy-popup .global-subsidy .subsidy-section {
    border-top: dotted 1px #999;
    padding: 5px 0;
}

.subsidy-popup .global-subsidy .subsidy-section:first-child {
    border-top: none;
}

.subsidy-popup .global-subsidy .subsidy-section .section-label {
    display: inline-block;
    width: 55%;
    font-weight: bold;
}

/* Table */
.subsidy-popup .product-groups-table {
	border-collapse: collapse;
	font-size: 14px;
	min-width: 350px;
	border-top: solid 2px #CCC
}
.subsidy-popup .product-groups-table th {
	color: #E56363
}

.subsidy-popup .product-groups-table th, 
.subsidy-popup .product-groups-table td {
	padding: 7px 17px;
	text-align: left;
}
.subsidy-popup .product-groups-table caption {
	margin: 7px;
}

/* Table Header */
.subsidy-popup .product-groups-table thead th {
    border-bottom: 2px solid #CCCCCC;
}

/* Table Body */
.subsidy-popup .product-groups-table tbody td {
	color: #353535;
	border-bottom: 1px solid #dcdcdc;
}

.subsidy-popup .product-groups-table tbody tr:last-child td {
	border: 0;
}

.subsidy-popup .product-groups-table tbody tr:hover td {
	background-color: #f7f7f7;
	transition: all .2s;
}

/* Table Footer */
.subsidy-popup .product-groups-table tfoot th {
	border-top: 1px solid #c7c7c7;
	text-align: right;
}


/* END PACKNAME SELECTOR CONTROL */

.loading-overlay {
    background-color: rgba(0,0,0,.3);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

    .loading-overlay .spinner {
        float: none;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -10px;
        margin-left: -10px;
    }

        .loading-overlay .spinner:before {
            border-top-color: #fff;
            border-bottom-color: #fff;
        }

table.cart .tooltip.packname-indicator {
    left: 0;
    margin-left: 0;
}


/* MISC OVERRIDES AND FIXES */

.block .list .active {
    color: #4ab2f1;
    font-weight: bold;
    border-bottom: dotted 1px;
}

.centered-text {
    text-align: center;
}

/* styles for '...' */
.block-with-text {
    /* hide text if it more than N lines  */
    overflow: hidden;
    /* for set '...' in absolute position */
    position: relative;
    /* use this value to count block height */
    line-height: 1.2em;
    /* max-height = line-height (1.2) * lines max number (3) */
    max-height: 3.5em;
    /* fix problem when last visible word doesn't adjoin right side  */
    text-align: justify;
    /* place for '...' */
    margin-right: -1em;
    padding-right: 1em;
}

    /* hide ... if we have text, which is less than or equal to max lines */
    .block-with-text:after {
        content: '...';
        position: absolute;
        top: 0;
        right: 0;
    }

    .block-with-text.short {
        max-height: 2.3em;
    }

.chosen-wrapper-fix {
    overflow: visible !important;
}

    /*.chosen-wrapper-fix .chosen-container {
        width: initial !important;
    }*/

    .chosen-wrapper-fix.centered,
    .shipping-addresses .chosen-wrapper-fix {
        text-align: center;
    }

        .chosen-wrapper-fix.centered .chosen-container .chosen-drop,
        .shipping-addresses .chosen-wrapper-fix .chosen-container .chosen-drop {
            text-align: left;
        }

    .chosen-wrapper-fix .chosen-container .chosen-drop .chosen-results {
        width: 100%;
    }

/** SUBSIDY FILTER ON CATEGORY PAGE ON FRONTEND **/

.category-page .subsidy-filters {
    height: 3em;
    margin-bottom: 2em;
}

    .category-page .subsidy-filters label {
        cursor: pointer;
    }


/** SUBSIDY SECTION ON FLYOUT CART **/

.flyout-cart .mini-shopping-cart .subsidy-remains-totals {
    text-align: center;
}

    .flyout-cart .mini-shopping-cart .subsidy-remains-totals h5 {
        background-color: #EDEDED;
        line-height: 2em;
        font-size: 14px;
        margin-bottom: 1em;
    }

    .flyout-cart .mini-shopping-cart .subsidy-remains-totals table.details tr th,
    .flyout-cart .mini-shopping-cart .subsidy-remains-totals table.details tr td,
    .flyout-cart .mini-shopping-cart .subsidy-remains-totals table.details tr strong {
        font-size: 14px;
    }


/******** THIRD PARTY THEMES FIXES ***********/

/* NOP TEMPLATES NATIVE THEME */

.sub-header .header-menu-parent {
    position: relative;
}

#topcartlink.native-theme .is-sticky .cart-link-wrapper {
    width: 200px !important;
    z-index: 2000;
}

#bulk-order-actions-sticky-wrapper.is-sticky #bulk-order-actions.native-theme {
    top: 50px !important;
}

.bulk-order-list.native-theme .attributes {
    margin-bottom: 0;
}

    .bulk-order-list.native-theme .attributes dl .custom-select {
        width: auto !important;
    }

.native-theme .shipping-addresses .chosen-wrapper-fix {
    text-align: left;
}

/* END NOP TEMPLATES NATIVE THEME */

/* CUSTOMER RETURNS SCREEN */

.request-item ul li label {
    font-weight: bold;
}

.request-item ul li.exchange-request {
    margin: 10px 0;
}

    .request-item ul li.exchange-request ul li.exchange-product-attrs label {
        display: block;
    }

    .request-item ul li.exchange-request ul li.exchange-product-attrs span {
        display: inline-block;
        font-style: italic;
    }

.remodal .list {
    text-align: left;
    margin-top: 1.5em;
}

.list .item {
    border-bottom: solid 1px #CCC;
    margin-bottom: 1em;
}

.list .item-title {
    font-size: 1.25em;
    float: left;
}

.list .item-actions {
    float: right;
}

.list .item-content {
    margin-top: 1.5em;
}

    .list .item-content .details .row {
        clear: both;
        float: left;
        margin-bottom: 10px;
    }

    .list .item-content .details .label {
        float: left;
        min-width: 170px;
        font-weight: bold;
    }

    .list .item-content .details .text {
        float: left;
    }

.remodal .buttons {
    margin-bottom: 0;
}

.remodal .return-requests-confirmations .message-template {
    float: left;
    margin-top: 1.25em;
    margin-bottom: 1.5em;
    border: dotted 1px #333;
    padding: 0.75em;
}


/* FASHION NOP-THEME FIXES */

.fashion-theme .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs .thumb-item {
    display: inline-block;
    margin: 10px 5px 0 0;
}

    .fashion-theme .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs .thumb-item:last-child {
        margin-right: 0;
    }

/* END FASHION NOP-THEME FIXES */

/* MINIMAL NOP-THEME FIXES */

.minimal-theme #packname-selector .entries .select-wrap,
.minimal-theme .account-page #custom-templates .select-wrap,
.minimal-theme .chosen-wrapper-fix .select-wrap {
    overflow: initial;
    background: none;
    border: none;
}

    .minimal-theme #packname-selector .entries .select-wrap:before,
    .minimal-theme #packname-selector .entries .select-wrap:after,
    .minimal-theme .account-page #custom-templates .select-wrap:before,
    .minimal-theme .account-page #custom-templates .select-wrap:after,
    .minimal-theme .chosen-wrapper-fix .select-wrap:before,
    .minimal-theme .chosen-wrapper-fix .select-wrap:after,
    .minimal-theme .account-page #custom-templates:before,
    .minimal-theme .account-page #custom-templates:after {
        content: none;
    }

.minimal-theme #packname-selector .entries .chosen-container,
.minimal-theme .account-page #custom-templates .chosen-container,
.minimal-theme .chosen-wrapper-fix .chosen-container {
    z-index: 10000;
    margin-top: 5px;
}

.minimal-theme .bulk-actions,
.minimal-theme .bulk-order-list {
    max-width: 1200px;
    margin: auto;
}

.minimal-theme .bulk-actions {
    background-color: #fff;
}

.minimal-theme .bulk-order-list {
    margin-top: 3em;
}

    .minimal-theme .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs {
        width: 100%;
        max-width: initial;
        height: auto;
    }

    .minimal-theme .bulk-order-list .product-details {
        background-color: #fff;
    }

        .minimal-theme .bulk-order-list .product-details.colapsed {
            background-color: transparent;
        }

        .minimal-theme .bulk-order-list .product-details .product-name {
            color: #333;
        }

            .minimal-theme .bulk-order-list .product-details .product-name:after {
                content: none;
            }

    .minimal-theme .bulk-order-list .color-matrix .color-row {
        border-bottom: none
    }

        .minimal-theme .bulk-order-list .color-matrix .color-row .main-attribute {
            margin-top: 10px;
        }

    .minimal-theme .bulk-order-list .product-price {
        margin-bottom: 10px;
    }

    .minimal-theme .bulk-order-list .product-details .product-info {
        max-width: initial;
    }

    .minimal-theme .bulk-order-list .bulk-attributes-wrapper .attribute-value .attribute-label,
    .minimal-theme .bulk-order-list .color-matrix .color-row .color-text .text-container {
        color: #333;
    }

.minimal-theme .packnames-wrapper {
    width: 650px;
}

.minimal-theme .bulk-order-list .product-details .attributes .attribute-square {
    width: 30px !important;
    height: 30px !important;
}

.minimal-theme .bulk-order-list .product-details .attributes dd {
    margin: initial;
}

.minimal-theme .bulk-order-list.person-view .product-details .product-info.overview .product-name {
    min-height: 70px;
}

.minimal-theme .bulk-order-list.person-view .core-product-qty {
    margin-top: 20px;
}

    .minimal-theme .bulk-order-list.person-view .core-product-qty label {
        width: 35%;
    }

.minimal-theme table.cart.core tr td label {
    display: none;
}

.minimal-theme .opc {
    max-width: 1200px;
}

.minimal-theme .return-request-page .page-body {
    max-width: 1200px;
    margin: auto;
}

.minimal-theme .return-request-page .inputs:before,
.minimal-theme .return-request-page .inputs:after {
    content: none;
}

.minimal-theme .return-modes-wrapper .form-fields {
    width: 80%;
}

.minimal-theme .return-request-page .data-table select.exchange-mode {
    width: 100%;
}

.minimal-theme .step-container .step-text,
.minimal-theme .data-summary,
.minimal-theme .disclaimer,
.minimal-theme .return-request-page .data-table tr td {
    color: #333;
}


.minimal-theme a.button {
    padding: 0 30px;
    display: inline-block;
    line-height: 48px !important;
    background-color: transparent !important;
    color: #333 !important;
    margin-top: 0px;
}

    .minimal-theme a.button.cancel-button:hover {
        background-color: red !important;
        color: white !important;
    }

.minimal-theme .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs .thumb-item {
    margin-right: 5px;
}

    .minimal-theme .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs .thumb-item:last-child {
        margin-right: 0;
    }

/* END MINIMAL NOP-THEME FIXES */

/* TIFFANY NOP-THEME FIXES */

.tiffany-theme #bulk-order-actions-sticky-wrapper.is-sticky #bulk-order-actions {
    top: 40px !important;
}

.tiffany-theme .bulk-order-list.person-view .product-details .product-pictures .gallery img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.tiffany-theme .bulk-order-list.person-view .product-details .core-attrs .attribute-squares {
    top: 12px;
}

.tiffany-theme .bulk-order-list .product-details .attributes .attribute-square {
    width: 30px !important;
    height: 30px !important;
}

.tiffany-theme .bulk-order-list.person-view .product-details .core-attrs .attribute-squares li label {
    margin-right: 2px !important;
}

.tiffany-theme .bulk-order-list.person-view .product-details .core-attrs .core-product-qty .form-group label {
    width: auto;
}

.tiffany-theme .bulk-order-list.person-view .product-details .core-attrs .core-product-qty .form-group input {
    margin-left: 5px;
}

.tiffany-theme .input-container .loading-wrapper {
    right: 0;
}

.tiffany-theme a.button {
    padding: 0 30px;
    display: inline-block;
    line-height: 43px !important;
    background-color: #a69c97 !important;
    color: #fff !important;
    margin-top: 0px;
}

    .tiffany-theme a.button.cancel-button:hover {
        background-color: red !important;
    }

.tiffany-theme .return-request-list-page .request-item:nth-child(2n+1) {
    clear: left;
}

/* END TIFFANY NOP-THEME FIXES */


/* UPTOWN NOP-THEME FIXES */

.uptown-theme .bulk-order-list .product-details .product-pictures .gallery .picture {
    height: 240px;
}

    .uptown-theme .bulk-order-list .product-details .product-pictures .gallery .picture img {
        max-height: 240px;
    }

.uptown-theme .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs {
    position: inherit;
    bottom: initial;
    overflow: hidden;
}

    .uptown-theme .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs .thumb-item {
        display: inline-block;
        position: relative;
        width: 100px;
        height: 100px;
        overflow: hidden;
        cursor: pointer;
        margin: 10px 6px 0px 0;
    }

.uptown-theme .bulk-order-list .product-details .product-price {
    float: none;
}

.uptown-theme .bulk-order-list .color-matrix .color-row .color-indicator {
    transform: translate(0%, 100%);
}

.uptown-theme #bulk-order-actions .buttons-wrapper .sticky-wrapper.is-sticky .bulk-add-all {
    top: 105px !important;
}

.uptown-theme #bulk-order-actions-sticky-wrapper.is-sticky {
    margin: initial;
}

    .uptown-theme #bulk-order-actions-sticky-wrapper.is-sticky #bulk-order-actions {
        width: 1200px !important;
    }

.uptown-theme #bulk-order-actions .entries .custom-select-text {
    display: none;
}

.uptown-theme #bulk-order-actions .packnames-wrapper {
    width: 980px;
}

.uptown-theme .bulk-order-list.person-view .product-details .core-attrs .attributes {
    max-height: 70px;
}

    .uptown-theme .bulk-order-list.person-view .product-details .core-attrs .attributes dd {
        width: initial;
    }

        .uptown-theme .bulk-order-list.person-view .product-details .core-attrs .attributes dd select {
            min-width: unset;
            width: auto;
        }

        .uptown-theme .bulk-order-list.person-view .product-details .core-attrs .attributes dd .custom-select,
        .uptown-theme .chosen-wrapper-fix .custom-select {
            max-width: 100%;
            width: initial;
        }

            .uptown-theme .chosen-wrapper-fix .custom-select .custom-select-text {
                display: none;
            }

            .uptown-theme .bulk-order-list.person-view .product-details .core-attrs .attributes dd .custom-select .custom-select-text,
            .uptown-theme .bulk-order-list.person-view .product-details .core-attrs .attributes dd .custom-select select {
                width: initial;
                min-width: 100px;
            }

.uptown-theme .bulk-order-list.person-view .product-details .core-attrs .attribute-squares {
    min-height: 44px;
    margin-top: 10px;
}

.uptown-theme .bulk-order-list .product-details .product-attrs .core-attrs .attributes {
}

.uptown-theme .bulk-order-list .color-matrix .color-row {
    padding: 10px 0 10px 0;
}

.uptown-theme .input-container .loading-wrapper {
    margin-left: 15px;
    top: 35px;
}

.uptown-theme .submit-return-request-button.hidden {
    display: none;
}

.uptown-theme .return-request-page .buttons a.button {
    line-height: 16px;
}

.uptown-theme .return-request-list-page .request-item .details {
    text-align: left;
}

.uptown-theme .header .header-lower .header-menu-wrapper {
    margin: 0 500px;
}

.uptown-theme .header .header-lower .header-right-logo {
    float: right;
    margin: 0 0 0 15px;
}

    .uptown-theme .header .header-lower .header-right-logo img {
        max-height: 80px;
        max-width: 168px;
        margin-top: 13px;
    }

.uptown-theme .header-1 .header-lower .header-centering.stick .header-right-logo a img {
    max-height: 50px;
    max-width: 105px;
}

.uptown-theme .header .header-lower .header-cart-search-wrapper {
    margin-right: 15px;
}

.uptown-theme .flyout-cart .mini-shopping-cart .subsidy-remains-totals {
    margin-top: -20px;
}

    .uptown-theme .flyout-cart .mini-shopping-cart .subsidy-remains-totals h5 {
        background-color: #DDD;
    }

.uptown-theme .category-page .subsidy-filters {
    border-bottom: 4px double #f1f1f1;
}

.html-customer-info-page .uptown-theme .inputs .readonly-text {
    margin: 0 5px 5px;
    font-size: 14px;
    display: inline-block;
}

.uptown-theme #packname-selector #packname_entries_chosen {
    height: 35px;
    margin-top: 10px;
}

.uptown-theme #packname-selector .packname-color-picker {
    min-height: 44px;
    padding-top: 7px;
}

.uptown-theme .grid .form .row.group {
    min-height: 44px;
}

.uptown-theme .order-summary-content .cart-footer .subsidy-summary {
    clear: both;
    width: 99.5%;
    outline: 1px solid #f1f1f1;
    border: 3px solid #fff;
    background: #f8f8f8;
    margin: 39px 0 20px 1px;
    max-width: unset;
    padding: 0 70px 50px;
}

.uptown-theme .order-summary-content .cart-footer .subsidy-summary-wrapper .subsidy-summary {
    width: 65%;
    margin: 0 auto 20px;
}

    .uptown-theme .order-summary-content .cart-footer .subsidy-summary .main-title {
        background: #454545;
        color: #fff;
        padding: 10px;
        margin: 15px 0 25px;
        text-align: center;
    }

    .uptown-theme .order-summary-content .cart-footer .subsidy-summary .regular-subsidy {
        margin-bottom: 1.5em;
    }

    .uptown-theme .order-summary-content .cart-footer .subsidy-summary table thead tr {
        border-bottom: solid 2px #ccc;
    }

    .uptown-theme .order-summary-content .cart-footer .subsidy-summary table tbody tr {
        border-bottom: solid 1px #ccc;
    }

        .uptown-theme .order-summary-content .cart-footer .subsidy-summary table tbody tr:last-child {
            border-bottom: none;
        }

    .uptown-theme .order-summary-content .cart-footer .subsidy-summary table td {
        padding: 8px 0;
    }

    .uptown-theme .order-summary-content .cart-footer .subsidy-summary table th {
        padding: 5px 0;
    }

    .uptown-theme .order-summary-content .cart-footer .subsidy-summary table td.number {
        text-align: center;
    }

    .uptown-theme .order-summary-content .cart-footer .subsidy-summary table tr .text-hint {
        cursor: help;
    }

        .uptown-theme .order-summary-content .cart-footer .subsidy-summary table tr .text-hint:hover {
            color: #e56363;
            border-bottom: dotted 1px #e56363;
            padding-bottom: 1px;
        }

/* END UPTOWN NOP-THEME FIXES */


/* URBAN NOP-THEME FIXES */

.urban-theme .header .header-strip {
    z-index: 1011;
}

.urban-theme .bulk-actions,
.urban-theme .bulk-order-list {
    max-width: 1200px;
}

.urban-theme .bulk-actions {
    margin: auto;
}

.urban-theme .bulk-order-list {
    margin: 3em auto;
}


    .urban-theme .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs .thumb-item {
        margin: 10px 5px 0px 0;
        cursor: pointer;
    }

    .urban-theme .bulk-order-list .product-details .product-pictures .gallery .picture-thumbs {
        margin-top: 2em;
    }

    .urban-theme .bulk-order-list .color-matrix .color-row .color-indicator {
        transform: translate(0%, 40%);
    }

.urban-theme .submit-return-request-button.hidden {
    display: none;
}

.urban-theme .input-container .loading-wrapper {
    top: 30px;
}

.urban-theme .return-request-page .buttons a.button {
    line-height: 16px;
}

.urban-theme .bulk-order-list.person-view .product-details .product-pictures .gallery .picture {
    height: initial;
}

    .urban-theme .bulk-order-list.person-view .product-details .product-pictures .gallery .picture img {
        max-height: 240px;
    }

.urban-theme .bulk-order-list.person-view .product-details .product-info.overview .product-name {
    margin-top: 10px;
}

.urban-theme .bulk-order-list.person-view .product-price {
    font-size: 36px;
}


/* END URBAN NOP-THEME FIXES */


/* BROOKLYN NOP-THEME FIXES */

.brooklyn-theme table.cart.core tr td label {
    display: none;
}

.brooklyn-theme .bulk-order-list .product-details .product-price {
    font-size: 1.5em;
}

.brooklyn-theme .bulk-order-list .color-matrix .color-row .color-indicator {
    transform: translate(0%, 40%);
}

.brooklyn-theme .bulk-order-list .color-matrix .color-row {
    padding: 15px 0 10px 0;
}

.brooklyn-theme .bulk-order-list.person-view .product-details .core-attrs .attribute-squares li {
    margin-top: 20px;
}

.brooklyn-theme .bulk-order-list.person-view .product-details .product-pictures .gallery .picture img {
    max-height: 100%;
}


/* END BROOKLYN NOP-THEME FIXES */


/* MOBILE/RESPONSIVE STYLES */

/* row-toggle columns will be hidden by default*/
.order-summary-content .cart-items-wrapper .cart .row-toggle-col {
    display: none !important;
}

.order-review-data .checkout-address-title {
    color: rgb(42, 22, 22);
    font-weight: 600;
}

.order-review-data .branch {
    color: rgb(42, 22, 22);
}

.bundle-quantity-box {
    margin-bottom: 5px !important;
}

.bundle-quantity-label {
    margin-left: 5px;
    font-weight: 700;
}

@media screen and (max-width: 1750px) {
    #bulk-order-filters .is-sticky .filter-container {
        max-width: 18%;
    }

    #bulk-order-actions-sticky-wrapper.is-sticky #bulk-order-actions {
        margin-left: 6em;
    }
}

@media screen and (max-width: 1280px) {

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-packname {
        float: none;
        margin: 0;
        padding: 1em 0 0;
        clear: both;
    }
}

@media screen and (max-width: 1024px) {

    .uptown-theme .header .header-lower .header-right-logo {
        float: none;
        margin: 0;
        text-align: center;
    }

    /* Hide the packname cart view mode (button and cart items list) because it is not supported on mobile devices */
    .order-summary-content .view-mode-wrapper .view-mode-button.packname,
    .order-summary-content .cart-items-wrapper.packname-view {
        display: none !important;
    }

    /* only display row-toggle columns when mobile devices are in a breakpoint measure */
    .order-summary-content .cart-items-wrapper .cart.breakpoint .row-toggle-col {
        display: table-cell !important;
        width: 33%;
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .item-section {
        text-align: center;
        width: 25%;
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .attribute-info {
        width: 50%;
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .item-remove,
    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .item-packname {
        float: left;
        clear: none;
        width: 50%;
        padding: 0;
        margin-top: 2em;
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .item-remove {
        border: none;
        text-align: left;
        margin-left: 0;
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .item-remove,
    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .attribute-info {
        text-align: left;
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .item-packname,
    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .item-subtotal {
        text-align: right;
    }

    .chosen-wrapper-fix .chosen-container {
        width: 100% !important;
    }
}


@media screen and (max-width: 768px) {


    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .item-subtotal {
        float: none;
        clear: both;
        padding: 1em 0 0;
        margin: 0;
        text-align: left;
        width: 100%;
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .attribute-info {
        width: 60%;
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .item-quantity {
        width: 40%;
        text-align: right;
    }
}

@media screen and (max-width: 650px) {

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .attribute-info {
        width: 100%;
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .item-quantity {
        float: left;
        clear: left;
        padding: 1em 0 0;
        margin: 0;
        text-align: left;
        width: 50%;
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .item-subtotal {
        width: 50%;
        text-align: right;
        float: left;
        clear: right;
    }
}


@media screen and (max-width: 580px) {

    .order-summary-content .cart-items-wrapper.bulk-view .cart .item-variant .item-remove {
        clear: both;
        width: 100%
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-name {
        margin-bottom: 2em;
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant {
        margin-bottom: 2.5em;
        border-bottom: dotted 1px #999;
        padding-bottom: 1.5em;
    }

        .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant:last-child {
            border: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant .attribute-info {
            margin-bottom: 0.5em;
        }

        .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant .item-quantity,
        .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant .item-remove {
            clear: left;
            width: 50%;
            float: left;
        }

        .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant .item-subtotal,
        .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant .item-packname {
            float: left;
            clear: right;
            width: 50%;
            margin-top: 1.5em;
        }

        .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant .item-subtotal {
            margin-top: 1em;
        }
}

@media screen and (max-width: 480px) {

    .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant .item-quantity,
    .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant .item-remove,
    .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant .item-subtotal,
    .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant .item-packname {
        clear: both;
        width: 100%;
        float: none;
    }

    .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant .item-packname,
    .order-summary-content .cart-items-wrapper.bulk-view .cart.footable.breakpoint .footable-row-detail .item-variant .item-subtotal {
        text-align: left;
    }
}

/* END MOBILE/RESPONSIVE STYLES */


@media screen and (min-width: 1024px) {
    .header-menu-wrapper {
        width: auto !important;
        padding-bottom: 10px;
    }
}

@media (min-width: 1281px) {
    .header-1 .header-menu {
        width: auto !important;
        margin: 0 auto;
    }
}

@media (min-width: 1025px) {
    .header-menu > ul > li > a, .header-menu > ul > li > span {
        padding: 10px 15px !important;
    }
}


.howto-measure-new {
    margin: 0 auto;
    font-size: 18px;
    text-align: left;
}

.howto-measure-new ul {
    margin-left: 15px;
}

.howto-measure-new .underline {
    text-decoration: underline;
}

.howto-measure-new .video-title {
    padding: 24px;
}

.howto-measure-new .video-panel {
    text-align: center;
}

.howto-measure-new .video {
    width: 100%;
    height: 351px;
}

.howto-measure-new-image {
    width: 100%;
}

.howto-measure-new .title {
    font-size: 24px;
    font-weight: 600;
    padding: 20px;
}

.howto-measure-new .underline {
    text-decoration: underline;
}

.howto-measure-new .content-bold {
    font-size: 18px;
    font-weight: 600 !important;
    padding-right: 5px !important;
}

.howto-measure-new .content-item {
    padding: 15px;
    margin-left: 5px;
}

.howto-measure-new .content-panel {
    display: flex;
}

.howto-measure-new .content-footer {
    text-align: center;
    padding: 30px;
    word-break:break-word;
}

.howto-measure-new .ml-10 {
    margin-left: 20px;
}

.howto-measure-new .garment-measurements-panel img {
    height: 270px;
}

@media screen and (max-width: 768px) {
    .howto-measure-new .content-panel {
        display: block;
    }

    .howto-measure-new .image-panel {
        text-align: center;
    }

        .howto-measure-new .image-panel img {
            width: 100%;
            height: 100%;
        }
}