﻿.product-qty-select {
    height: 0px;
    position: absolute;
    z-index: 99;
    max-width: 25em;
    width: 100%;
    max-height: 29em;
    overflow: auto;
    margin-top: 0;
    border-radius: 0 0 10px 10px;
    /*Resolves Issue with iOS Safari touch issue ignoring z-index*/
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translate3d(0,0,0);
}

.cartSelector {
    position: relative;
    margin-bottom: 2em;
    /*max-width: 25em;*/
    width: 100%;
    margin-top: auto;
    margin-right: .4em;
}

.product-qty.product-qty-selector{
    width:90px !important;
}

.product-qty-addToCart {
    width: 150px !important;
}

.backorder-help-text {
    float: none;
    display: inline-block;
    margin-left: 15px;
    margin-top: 10px;
}

.hover-bubble #hoverTip {
    position: absolute;
    top: 60px;
    right: 90px;
    z-index: 30;
    display: none;
}

.hover-bubble #hoverTip .hover-container.top-right::before {
    right: 58px;
    top: -20px;
}

.hover-bubble #hoverTip .hover-container {
    padding: 15px 20px 15px;
    text-align:left;
}

.product-pack-size-disclaimer {
    margin-bottom: 1em;
}

.product-pack-size-disclaimer div {
    font-size: 13px;
    font-weight: 300;
    font-family: Oswald, Helvetica, Arial, Sans-Serif, sans, clean;
}

.product-qty-hover {
    height: 3.4em;
    width: 3.4em;
    position: absolute;
}
    /*.product-qty-hover .chev {
    margin-top: 8px;
    border: solid #848485;
    border-width: 0 3.5px 3.5px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
}*/

    .product-qty-hover i {
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.rotateUp {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
}

/*.down{
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}*/

.product-qty {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
    -moz-box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.1);
    -webkit-padding-start: 2px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -moz-background-position: right;
    background-position: right;
    background-repeat: no-repeat;
    border: 1px solid #c5c5c5;
    color: #848485;
    font-size: inherit;
    overflow: auto;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-padding-end: 20px;
    -moz-padding-start: 2px;
    padding: 1em;
    height: 3.4em;
    padding-left: 6px;
    z-index: 2;
    width: 100%;
    margin-top: .7em;
    text-align: center;
}

    .product-qty::-ms-clear {
        display: none;
    }

.hideQty .product-qty {
    display: inline-block !important;
    margin: 0 !important;
}

.product-qty-validation {
    width: 100%;
    display: block;
    font-size: 9pt;
    color: rgba(0,102,204,1);
    float: left;
}

.corner-all {
    border-radius: 10px !important;
    -webkit-border-radius: 10px !important;
}

    .corner-all.top {
        border-radius: 10px 10px 0 0 !important;
        -webkit-border-radius: 10px 10px 0 0 !important;
    }

    .corner-all.bottom {
        border-radius: 0 10px !important;
        -webkit-border-radius: 0 10px !important;
    }

.corner-right {
    border-radius: 0 10px 10px 0 !important;
    -webkit-border-radius: 0 10px 10px 0 !important;
}

    .corner-right.top {
        border-radius: 0 10px 0 0 !important;
        -webkit-border-radius: 0 10px 0 0 !important;
    }

.corner-left {
    border-radius: 10px 0 0 10px !important;
    -webkit-border-radius: 10px 0 0 10px !important;
}

    .corner-left.top {
        border-radius: 10px 0 0 0 !important;
    }

.cartSelector:before,
.cartSelector::before {
    content: 'Qty';
    display: block;
    position: absolute;
    top: 0;
    left: 11px;
    z-index: 3;
    padding: 0 4px;
    background-color: rgba(255,255,255,1);
}

.cartSelector legend {
    display: none;
}

.product-qty.product-qty-selector {
    /*background-image: url(/content/images/dropdowngray.png);*/
    /*background: url(/content/images/dropdowngray.png) right no-repeat;*/
}

.cartSelector.hideQty:before,
.cartSelector.hideQty::before {
    content: '' !important;
    display: none !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.cartSelector.hideQty {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.product-qty-addToCart {
    display: inline-block;
    font-size: 19px;
    color: rgba(255,255,255,1) !important;
    background-color: rgba(0,102,204,1);
    border-radius: 0;
    border: none;
    /* line-height: 3.0em; */
    height: 2.15em;
    margin-top: 0.44em;
    padding: .33em 10px;
    cursor: pointer;
    width: 50%;
    text-align: center;
}

    .product-qty-addToCart:hover {
        background-color: rgba(0,51,102,1);
    }

    .product-qty-addToCart:active {
        background-color: rgba(51,102,153,1);
    }

.hideQty .product-qty-addToCart {
    margin-top: 0 !important;
}

.product-qty-btn-group {
    width: 50%;
}

.productSelectFamily {
    background-color: #d1d1d1;
    color: #3f3d3d;
    cursor: default;
    min-height: 1.5em;
    line-height: 1.5em;
    padding: 4px 7px 4px 7px;
    font-size: 11pt;
    font-weight: 500;
    width: 100%;
    /*text-wrap: avoid;*/
    text-overflow: ellipsis;
    overflow: hidden;
}

.qtyOption {
    border: 1px solid #efefef;
    background-color: #f8f8f8;
    min-height: 1.5em;
    line-height: 1.5em;
    padding: 4px 7px 4px 7px;
    font-size: 11pt;
    overflow: hidden;
    width: 100%;
}

    .qtyOption.hover {
        background-color: rgba(0,51,102,1);
        /*color:rgba(255,255,255,1);*/
        cursor: pointer;
        -webkit-transition: background-color 250ms linear;
        -ms-transition: background-color 250ms linear;
        transition: background-color 250ms linear;
    }

    .qtyOption.selected {
        background-color: rgba(0,102,204,1);
        color: rgba(255,255,255,1);
    }

.qtySelectTouchBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeat rgba(0, 0, 0, 0.03);
    z-index: 2;
    object-fit: fill;
}

.iosFixInput {
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 999 !important;
    margin-bottom: 2em;
    max-width: 100% !important;
    margin-top: auto !important;
    margin-right: 0 !important;
}

    .iosFixInput .product-qty {
        /*width:50% !important;*/
        text-align: initial !important;
        /*-webkit-text-size-adjust: 60% !important;*/
    }

    .iosFixInput .product-qty-select {
        max-width: 100% !important;
        /*z-index: 99 !important;*/
    }

    .iosFixInput .product-qty-validation {
        max-width: 100% !important;
        /*z-index: 100 !important;*/
    }

@media (max-width: 767px) {
    .cartSelector {
        max-width: 25em;
    }

    .product-qty.product-qty-selector {
        width: 30% !important;
    }

    .product-qty-addToCart {
        width: 50% !important;
    }

    .backorder-help-text {
        float: right;
    }

    .hover-bubble #hoverTip {
        top: 90px;
        right: 0px;
    }

    .hover-bubble #hoverTip .hover-container {
        padding: 15px !important;
        text-align: left;
    }
}