/* SHADOW BLOCKER */
.cart-shadow-blocker {
    height: 5px;
    background: #FFF;
}

/* SHIFT CART BUTTON STYLES */
button.cart-button {
    position: relative;
}

button.cart-button {
    padding: 0px 30px 3px;
}

button.cart-button .cart-counter {
    font-size: 24px;
}

button.cart-button.cart-counter-inuse::after {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    background: #EE4A5D;
    top: -5px;
    left: -5px;
    border-radius: 50%;
    border: 3px solid #FFF;
}

/* CART STYLES */
#shiftCartPlacement {
    position: fixed;
    width: 25%;
    min-width: 200px;
    max-width: 400px;
    right: 75px;
    
    /* -webkit-transition:bottom 0.75s linear, x-index 0.75s linear;
    -moz-transition:bottom 0.75s linear, x-index 0.75s linear;
    -o-transition:bottom 0.75s linear, x-index 0.75s linear;
    transition:bottom 0.75s linear, x-index 0.75s linear; */
}

.cart-closed {
    bottom: 119px !important;
    z-index: 1039 !important;
}

.cart-open {
    bottom: 120px !important;
    z-index: 1039 !important;
}

.cart-closed .cart-top-tab::after {
    right: -2px !important;
}

.cart-closed .cart-top-tab::before {
    display: none;
}

#shiftCartContainer {
    display: flex;
    flex-direction: column;
}

/* Cart Top Tab */
#shiftCartContainer .cart-top-tab {
    width: 100%;
    position: relative;
}

#shiftCartContainer .cart-top-tab-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: #FFF;
    float: right;
    width: 70%;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:    0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow:         0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 10px 10px 0;
}

#shiftCartContainer .cart-top-tab-content:hover {
    background: #e7e7e7;
}

#shiftCartContainer .cart-top-tab-content.green-tab {
    background: #3F8F24;
}

#shiftCartContainer .cart-top-tab-content.green-tab:hover {
    background: #2F6B1B;
}

#shiftCartContainer .cart-top-tab-content.green-tab div.shift-count-holder h4 {
    color: #FFF;
}

#shiftCartContainer .cart-top-tab::after {
    content:'';
    width: 85%;
    background: #FFF;
    height: 5px;
    position: absolute;
    bottom: -5px;
    right: 0;
}

#shiftCartContainer .cart-top-tab.green-tab::before {
    content:'';
    width: 85%;
    background: #3F8F24;
    height: 2px;
    position: absolute;
    bottom: -2px;
    right: 0;
    z-index: 1;
}

#shiftCartContainer .cart-top-tab-content div.shift-count-holder {
    flex: auto;
    flex-grow: 2;
    text-align: center;
}

#shiftCartContainer .cart-top-tab-content div.shift-count-holder h4 {
    font-weight: 700;
    font-size: 24px;
    margin: 0;
}

#shiftCartContainer .cart-top-tab-content div.shift-count-holder h4 span {
    font-size: 24px;
}

#shiftCartContainer .cart-top-tab-content div.shift-count-holder h4 span.count {
    font-size: 24px;
}

#shiftCartContainer .cart-top-tab-content div.shift-count-holder h4.empty {
    color: #cccccc;
}

#shiftCartContainer .cart-top-tab-content div.icon-holder {
    flex: 1;
}

#shiftCartContainer .cart-top-tab-content .icon-holder:first-child {
    font-size: 28px;
    color: #999999;
}

#shiftCartContainer .cart-top-tab-content .icon-holder:last-child {
    font-size: 25px;
    color: #999999;
    flex: 1;
}

#shiftCartContainer .cart-top-tab-content .icon-holder:last-child {
    vertical-align: top;
}

#shiftCartContainer .cart-top-tab-content:hover > .icon-holder:last-child {
    color: #666666;
}

#shiftCartContainer .cart-top-tab-content.green-tab .icon-holder {
    color: #1d4d0d;
}

#shiftCartContainer .cart-top-tab-content.green-tab:hover > .icon-holder:last-child {
    color: #003333;
}

.btn-init-green .fa-shopping-cart {
    color: #1d4d0d;
}

.btn-init-green:hover .fa-shopping-cart {
    color: #003333;
}

/* MAIN CART CONTENT */

#shiftCartContainer .cart-wrapper.empty {
    padding-top: 0;
}

#shiftCartContainer .cart-wrapper.empty::after {
    content:'';
    width: 104%;
    background: #FFF;
    height: 5px;
    position: absolute;
    bottom: -5px;
    right: -2%;
}

#shiftCartContainer .cart-wrapper.full {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    border-top: 2px solid #70B300;
    border-left: 2px solid #70B300;
    border-right: 2px solid #70B300;
}

#shiftCartContainer .cart-wrapper:not(.empty):after {
    content:'';
    width: 104%;
    background: #FFF;
    height: 5px;
    position: absolute;
    bottom: -5px;
    right: -2%;
}

#shiftCartContainer .cart-wrapper:not(.empty) .cart-title h3:after {
    content:'';
    width: 2px;
    background: #3F8F24;
    height: 4px;
    position: absolute;
    top: -21px;
    right: -17px;
    z-index: 1;
}

#shiftCartContainer .cart-wrapper {
    background: #FFF;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:    0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow:         0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    padding: 15px 15px 35px;
    /* border-top-right-radius: 10px; */
    border-top-left-radius: 10px;
}

#shiftCartContainer .cart-wrapper .cart-row {
    -webkit-flex-direction: row;
    flex-direction: row;
}

#shiftCartContainer .cart-wrapper .cart-title {
    padding: 0;
    position: relative;
}

#shiftCartContainer .cart-wrapper .cart-title h3 {
    font-weight: 700;
}

#shiftCartContainer .cart-wrapper .cart-items-title {
    padding: 15px 0 5px;
    position: relative;
}

#shiftCartContainer .cart-wrapper .cart-items-title i {
    position: absolute;
    right: 0;
    /* color: #999999; */
    font-size: 20px;
}

#shiftCartContainer .cart-wrapper .cart-items-title h3 {
    font-weight: 700;
    font-size: 16px;
}

#shiftCartContainer .cart-wrapper .cart-items-title-ii {
    padding: 15px 0 5px;
    display: flex;
    align-items: center;
}

#shiftCartContainer .cart-wrapper .cart-items-title-ii i {
    font-size: 16px;
}

#shiftCartContainer .cart-wrapper .cart-items-title-ii .h3-span {
    font-weight: 700;
    font-size: 16px;
}

#shiftCartContainer .cart-wrapper .cart-items-title-ii .cart-items-title-ii-right {
    margin-left: auto;
}

#shiftCartContainer .cart-wrapper .cart-items-title-ii .cart-items-title-ii-right button {
    background: none;
    border: none;
    color: #EE4A5D;
    font-size: 12px !important;
    padding: 0;
    margin-top: 10px;
}

#shiftCartContainer .cart-wrapper .cart-items-title-ii .cart-items-title-ii-right button:hover {
    color: #cc3333;
}

#shiftCartContainer .cart-wrapper.empty .cart-content-placeholder {
    height: 200px;
    width: 100%;
    background: #eeeeee;
    border: 2px solid rgb(204, 204, 204);
    position: relative;
    margin-top: 15px;
}

#shiftCartContainer .cart-wrapper.empty .cart-content-placeholder i {
    font-size: 120px;
    color: #cccccc;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#shiftCartContainer .cart-wrapper .cart-sub-heading {
    padding: 0;
    margin: 0;
}

#shiftCartContainer .cart-wrapper .cart-sub-heading h4 {
    color: #999;
    font-size: 14px;
    margin: 0;
}

#shiftCartContainer .cart-wrapper .cart-sub-heading h4:last-child {
    padding: 0;
    margin: 0;
}

#shiftCartContainer .cart-wrapper .cart-divider {
    height: 10px;
}

#shiftCartContainer .cart-wrapper .cart-items {
    max-height: 400px;
    overflow-y: auto;
    background: #eeeeee;
    border: 1px solid #cccccc;
    margin: 0;
    padding: 0 8px;
    padding-top: 10px;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item:not(:first-child) {
    margin-top: 0;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item {
    margin: 10px 3px;
    /* border-top: 1px solid #dfdfdf; */
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    background: #FFF;
    padding: 12px 15px;
    border-radius: 10px;
    position: relative;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item .cart-item-diff {
    flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
    padding-bottom: 10px;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item .cart-item-diff span {
    font-weight: 600;
    color: #333;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item .cart-diff-count-holder {
    position: absolute;
    right: 12px;
    top: 12px;
    color: #333;
    font-weight: 700;
}

#shiftCartContainer .cart-wrapper .cart-items .removing-shift-heading i {
    color: #EE4A5D;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item-desc {
    color: #999;
    font-size: 14px;
    flex: 3;
    -webkit-flex: 3;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item-desc p {
    margin: 0 0 0 15px;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item-action {
    flex: 1; 
    -webkit-flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 5px;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item-action .cart-action-holder {
    /* flex: 1; */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 15px;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item-action .cart-action-holder button {
    background: none;
    border: none;
    color: #EE4A5D;
    font-size: 12px !important;
    padding: 0;
    margin-top: 10px;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item-action .cart-action-holder button.undo {
    margin-right: 40px;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item-action .cart-action-holder button.disabled,
#shiftCartContainer .cart-wrapper .cart-items .cart-item-action .cart-action-holder button.disabled:hover {
    color: #cccccc;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item-action .cart-action-holder button.remove {
    margin-right: 25px;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item-action .cart-action-holder button:hover {
    color: #cc3333;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item-action .cart-action-holder button i {
    font-weight: 700;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item-action .cart-action-holder button.details {
    color: #3F8F24;
}

#shiftCartContainer .cart-wrapper .cart-items .cart-item-action .cart-action-holder button.details:hover {
    color: #2F6B1B;
}

/* SCROLLBAR */
/* Let's get this party started */

/* width */
.cart-scroll-body::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.cart-scroll-body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #999999;
    border-radius: 4px;
}

/* Handle */
.cart-scroll-body::-webkit-scrollbar-thumb {
    background: #cccccc;
}

/* Handle on hover */
.cart-scroll-body::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

@media (max-width: 1250px) {
    #shiftCartContainer .cart-top-tab-content {
        width: 80%;
    }
}

@media (min-width: 1101px) {
    #shiftCartPlacement {
        width: 25%;
    }
}

@media (max-width: 1101px) {
    #shiftCartPlacement {
        width: 30%;
    }
}

@media (max-width: 850px) {
    #shiftCartPlacement {
        width: 35%;
    }
}

@media (max-width: 767px) {
    #shiftCartPlacement {
        width: 50%;
    }
    .cart-open {
        bottom: 150px !important;
        z-index: 1004 !important;
    }
    .cart-closed {
        bottom: 96px !important;
        z-index: 1004 !important;
    }
    #shiftCartContainer .cart-wrapper:not(.empty):after {
        /* display: none; */
    }

    #shiftCartContainer .cart-top-tab-content {
        margin: 0;
    }

    #shiftCartContainer .cart-top-tab-content div.shift-count-holder h4 {
        font-size: 20px;
    }

    #shiftCartContainer .cart-top-tab-content div.shift-count-holder h4 span.count {
        font-size: 24px;
    }

    #shiftCartContainer .cart-top-tab-content div.icon-holder:first-child > i {
        font-size: 24px;
        margin-top: 8px;
        margin-left: 8px;
    }

    #shiftCartContainer .cart-top-tab-content div.icon-holder:last-child > i {
        margin-top: 8px;
        font-size: 24px;
    }
}

@media (min-width: 581px) and (max-width: 768px) {
    .cart-open {
        bottom: 111px !important;
    }
    .cart-closed {
        bottom: 111px !important;
    }
}

@media (max-width: 580px) {
    .cart-closed {
        bottom: 124px !important;
    }
    .cart-open {
        bottom: 123px !important;
    }
    #shiftCartContainer .cart-top-tab::after {
        width: 81%;
    }
}

@media (max-width: 500px) {
    #shiftCartPlacement {
        width: 80%;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    .cart-open {
        bottom: 187px !important;
    }
    .cart-closed {
        bottom: 187px !important;
    }
}

@media (max-height: 800px) {
    #shiftCartContainer .cart-wrapper .cart-items {
        max-height: 250px;
    }
}

@media (max-height: 600px) {
    #shiftCartContainer .cart-wrapper .cart-items {
        max-height: 200px;
    }
}

@media (max-height: 500px) {
    #shiftCartContainer .cart-wrapper .cart-items {
        max-height: 120px;
    }
}