﻿/*#region PRODUCT DETAIL  */

.groupedProductDetailPage .groupedProductDetails {
    display: none;
}

/*hides the ribbon on group products*/
.NoRibbon + .ribbon-position {
    display: none;
}

/*image*/
.groupedProductDetailPage.product-details-page .gallery .picture {
    display: none;
}
.product-details-page .gallery .picture {
    
    border: 1px solid #ccc;
    border-radius: 5px;
    justify-content: space-around;
}

    .product-details-page .gallery .picture img {
        padding: 4rem;
        width: 100%;
    }
.picture-thumbs {
    margin-top:2rem;
}

    .picture-thumbs .thumb-item {
        display: inline-block;
        margin-right: 2rem;
        cursor: pointer;
    }
    .picture-thumbs .thumb-item img {
        max-height:80px;
    }


.takeALookExtrasButton:before,
.file-attachments .video li .attachmentImg,
.productDetailVideoWrapper:before,
.file-attachments li .attachmentImg {
    cursor: pointer;
    display: inline-block;
    width: 8rem;
    min-width: 8rem;
    height: 8rem;
    cursor: pointer;
    border-radius: var(--element-border-radius);
    border: var(--element-border);
    content: "";
}
    .file-attachments li .attachmentImg {
        background: url('/Themes/Cokesbury/Content/images/product_detail_download_icon_default.svg') center center;
    }

    .file-attachments li:hover .attachmentImg {
        background: url('/Themes/Cokesbury/Content/images/product_detail_download_icon_rollover.svg') center center;
    }
    .takeALookExtrasButton:before {
        background: url('/Themes/Cokesbury/Content/images/product_detail_seeInside_icon_default.svg') center center no-repeat;
    }
    .takeALookExtrasButton:hover:before {
        background: url('/Themes/Cokesbury/Content/images/product_detail_seeInside_icon_rollover.svg') center center no-repeat;
    }
    .file-attachments .video li .attachmentImg,
    .productDetailVideoWrapper:before {
        background: url('/Themes/Cokesbury/Content/images/product_detail_video_icon_default.svg') center center no-repeat;
    }
.file-attachments .video li:hover .attachmentImg,
.productDetailVideoWrapper:hover:before {
    background: url('/Themes/Cokesbury/Content/images/product_detail_video_icon_rollover.svg') center center no-repeat;
}
.ProductExtrasButton {
    display:flex;
    margin:1rem 0;
    cursor:pointer;
}
    .ProductExtrasButton:hover .ProductExtrasButtonText {
        text-decoration:underline;
    }
    .ProductExtrasButtonTextWrapper {
        display: flex;
        line-height: 8rem;
        height: 8rem;
        flex-direction: column;
        margin-left: 2rem;
        justify-content: space-around;
    }
.ProductExtrasButtonText {
    line-height: normal;
}

.file-attachments ul {
    margin: 0;
    padding: 0;
}
.file-attachments .name {
    display:none;
}





/* content */
/* description */


.full-description:before {
    content: '';
    transition: all 0.3s ease;
    pointer-events: none;
}
.full-description.hideContent:before,
.full-description.showContent:before {
    background: linear-gradient( rgba(255, 255, 255, 0.001), 70px, white );
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom:0;
    right:0;
}
.full-description.hideContent:before {
    opacity: 1;
}
    .full-description.showContent:before {
        opacity:0;
    }
.full-description {
    position: relative;
    overflow: hidden;
    height: auto;
}
    .full-description.hideContent {
        height: 13rem;
    }

    .full-description ul, .full-description ul li {
        list-style-type: disc;
    }

    .full-description ol, .full-description ol li {
        list-style-type: decimal;
    }

.readMore { /* this displays when the the height of .full-description reaches 13rem */
    margin-top: 1rem;
    display: none;
}
    .readMore:hover .l2 {
        text-decoration: underline;
        cursor: pointer;
    }

.shippingPredictability .shipping-message.warning {
    display: block;
    color: #767676;
    font-style: italic;
}
.shippingPredictabilityMessage {
    margin: 0;
}
.shippingIcons {
    display:flex;
}
    .shippingIcons > div {
        display: flex;
        height: 4rem;
        margin: auto 3rem auto 0;
    }
    .shippingIcons > div span {
        font-size: 1.4rem;
        width: 12rem;
        line-height: 1.6rem;
        margin: auto;
    }
    .shippingIcons .FreeShippingIconWrapper span {
        width: 12rem;
    }
    .shippingIcons .SubscriptionShippingIconWrapper span {
        width: 18rem;
    }
    .shippingIcons > div img {
        max-height: 100%;
        margin-right:1rem;
    }

    /*SHOW TITLE WHEN ACTIVE*/
.shippingIcons [data-title] {
 position: relative;
}

.shippingIcons [data-title]:hover::before {
  content: attr(data-title);
  position: absolute;
  bottom: -26px;
  left: 15px;
  display: inline-block;
  padding: 3px 6px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #666;
  color: #000;
  font-size: 1.25REM;
  white-space: nowrap;
}



/* end description */

.automatic-shipment-radio-container {
    display:flex;
}
    .automatic-shipment-radio-container label {
        margin:0;
    }

    .automatic-shipment-radio-container .p3 {
        font-weight: 700;
        margin: 0 3rem 0 1rem;
        line-height: 2.2rem;
        vertical-align: top;
    }
.autoShipSelectWrapper {
    margin-top:2rem
}
.autoShipSelectWrapper select {
    width: 268px;
}
.addToCartWrapper .product-variant-options {
    margin-right: 3rem;
}
.product-variant-options .productOptionsWrapper {
    position:relative;
    min-width:28rem;
}
    .product-variant-options .toggleControl {
        color: #333;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-weight: 600;
        font-family: 'Open Sans', sans-serif;
        transition: all 0.3s ease;
        position: relative;
        display: block;
        cursor: pointer;
        font-size: 1.6rem;
        padding: 1.3rem 6rem 1.3rem 2rem;
        background-color: #fff;
        transition: all 0.3s ease;
        font-weight: 600;
    }
        .product-variant-options .toggleControl:hover,
        .product-variant-options .toggleControl:active,
        .product-variant-options .toggleControl:focus {
            -webkit-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
            -moz-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
            box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
        }
    .product-variant-options .toggleControl:after {
        content: url('/Themes/Cokesbury/Content/images/filter_dropdown_arrow.svg');
        transform: rotate(0deg);
        transition: transform 200ms linear;
        position: absolute;
        right: 2rem;
        top: 1.3rem;
        max-width: 14px;
        display: block;
    }

.product-variant-options .toggleControl {
display: none;
}

.ajaxCart .product-variant-options .toggleControl {
display: block;
}

    .product-variant-options .productSelector {
        background-color: #fff;
        border-radius: 5px;
        border: 1px solid #ccc;
        padding: 1rem 0;
        margin: 1rem 0 0;
        cursor: pointer;
        -webkit-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
        -moz-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
        box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
        width: 100%;
        position: absolute;
        transition: all 0.3s ease;
        z-index: 11;
        opacity: 0;
        visibility: hidden;
        top: 2rem;
    }
        .product-variant-options .productSelector.active {
            top: 5.2rem;
            transition: all 0.3s ease;
            opacity: 1;
            visibility: visible;
        }
        .product-variant-options .productSelector li {
            padding: 0rem 2rem;
            line-height: 3rem;
        }
        .product-variant-options .productSelector li:hover {
            background:#eee;
        }

.gridPurchaseSection > * {
    margin: 1rem 0 0;
}
.gridPurchaseSection .addToCartWrapper {
    margin-bottom: 2rem;
}

.addToCartWrapper,
.shippingDetailsWrapper,
.productDetailSecondaryButtons {
    display: flex;
    flex-flow: row wrap;
}
    .productDetailSecondaryButtons .button-2 {
        margin: auto 0;
    }
    .productDetailSecondaryButtons > *,
    .shippingDetailsWrapper .shippingPredictability .shipping-message {
        margin: auto 0;
        padding: 1rem 0;
    }
.product-share-button {
    margin-left:auto;
}
.shippingDetailsWrapper .shippingPredictability {
    flex-grow: 1;
    flex-basis: 40rem;
}
.product-details-page .addToCartWrapper > * {
    margin: auto 2rem 0 0;
}

.addToCartWrapper .labelWrapper,
.addToCartWrapper .add-to-cart-button {
    margin: 0;
}


.overview .compare-products {
    margin-left: 2rem;
}

.overview .productDetailFormat {
    font-weight: 600;
    font-size: 2rem;
}
.overview .prices > .product-price,
.overview .prices > .old-product-price {
    margin-right: 1rem;
    display:inline-block;
}
.overview .product-price.call-for-price span {
    font-style: italic;
    color: #767676;
}
    .overview .product-name h5 {
        margin-bottom: 0;
    }
    .overview .product-name .addthis_toolbox addthis_default_style {
        display: flex;
    }
   
.overview .availability {
    margin: 2rem 0 0;
    /*display: none !important;*/
}
.product-contributors-list > ul {
    padding: 0;
}
    .free-shipping:before {
        content: url('/Themes/Cokesbury/Content/images/free_shipping_icon.svg');
        display: inline-block;
    }
    .free-shipping span {
        vertical-align: top;
        text-transform: uppercase;
        display: inline-block;
        margin: 1.5rem 0 0 2rem;
    }


/* tiered pricing */
.tier-prices table td {
    padding: 1REM;
    border-collapse: initial;
    border: 1px solid #dedede;
}

.tier-prices .field-header {
    font-weight: 600;
}

.tier-prices {
    margin-bottom: 1REM;

}


/* styles */
.attributes dd {
    margin-bottom:2rem;
}
.attributes dd select {
    min-width: 268px;
}

.attributes .option-list {
    display: flex;
    margin: 0;
    padding: 0;
}

.attributes .option-list .customInputWrapper {
    margin: 0 4rem 0 0;
}
.attributes .option-list .customInputWrapper > * {
    vertical-align:middle;
}
    .attributes .option-list .customInputWrapper > .radioButton {
        margin-right:1rem;
    }

.productDetailTabMenu {
    background:var(--main-color);
    display: flex;
    justify-content: center;
    margin: 8rem 0 6rem;
    padding: 0;
}
    .productDetailTabMenu li {
        background:var(--main-color);
        padding: 2rem 0;
        color: #fff;
        font-weight: 600;
        font-size: 2rem;
        text-transform: uppercase;
        transition: background .3s ease-in-out;
        position: relative;
        cursor:pointer;
    }
        .productDetailTabMenu li:hover {
            background:var(--main-color-darken) 
        }
        
        .productDetailTabMenu li span {
            padding: .5rem 4rem;
        }
        .productDetailTabMenu li:not(:last-child) span {
            border-right: 1px solid #fff;
        }

        .productDetailTabMenu li.active {
            background: var(--main-color-darken);
            border: solid #fff;
            border-width: 0 1px;
        }
        /*
        .productDetailTabMenu li::after {
            content: '';
            position: absolute;
            left: calc(50% - 2rem);
            bottom: 0;
            width: 0;
            height: 0;
            border-left: 2rem solid transparent;
            border-right: 2rem solid transparent;
            border-top: 2rem solid var(--main-color-darken);
            transition: all .3s ease-in-out;
            z-index: -1;
        }
        .productDetailTabMenu li.active::after {
            bottom: -2rem;
        } */
            .productDetailTabMenu li.active > span,
            .productDetailTabMenu li.sibling > span {
                border: none;
            }

       

.tabsWrapper > * {
    display: none;
}

.additionalDetailsWrapper .hiddenProductDetails {
    display: flex;
    padding: 0 3%;
}
    .additionalDetailsWrapper .hiddenProductDetails > div {
        flex: 1;
    }
    .additionalDetailsWrapper .hiddenProductDetails > div:first-child {
        border-right: 1px solid #ccc;
        margin: 0 3% 0 0;
    }

.additionalDetailsWrapper ul {
    padding: 0;
    column-count: 2;
}

    .additionalDetailsWrapper ul > li {
        padding: .3rem 0;
    }

        .hiddenProductDetails  ul > li > span:first-child,
        .availability .stock .label {
            font-weight: 600;
        }

.shippingMessage {
    margin-top:2rem;
    display:block;
}
/* social icons */
/*.addthis_toolbox {
    display: flex;
    width: auto;
}
    .addthis_toolbox > a {
        margin:0 .6rem;
    }
        .addthis_toolbox > a.addthis_button_email svg {
            height:2.1rem;
        }
    .addthis_toolbox svg {
        width: auto;
        height: 2.4rem;
    }
        .addthis_toolbox svg .socialIcon,
        .addthis_toolbox svg .socialIcon2 {
            fill: none;
            stroke-width: 1.4px;
            stroke:var(--main-color);
        }
        .addthis_toolbox svg:hover .socialIcon {
            stroke:var(--main-color);
            fill:var(--main-color);
        }
            .addthis_toolbox svg:hover .socialIcon2 {
                stroke: #fff;
            }

.addthis_button_email svg {
    width: 3.4rem;
    margin-top: 0.3rem;
    max-width:3.4rem;
}
.addthis_button_facebook svg {
    max-width: 1.6rem;
}
.addthis_button_twitter  svg {
    max-width: 2.8rem;
}*/
/* product reviews 
.product-review-box {
    margin: 2rem 0;
}

.rating {
    background: url('/Themes/Cokesbury/Content/images/star_empty.svg') repeat-x;
    width: 160px;
    height: 30px;
}

    .rating div {
        background: url('/Themes/Cokesbury/Content/images/star_filled.svg') repeat-x;
        height: 30px;
    }

.item-box .rating {
    width: 105px;
    height: 20px;
}

    .item-box .rating div {
        height: 20px;
    }*/
.product-details-page .product-grid {
    padding: 0 4.5%;
}
    .product-details-page .product-grid .item-grid {
        padding: 3% 0;
    }

.productUnavailable {
    opacity: .4;
}
.product-variant-options.productUnavailable > label,
.product-variant-options.productUnavailable > select {
    display:none;
}

.no-associated-products {
    font-style:italic;
}
.overview .discontinued-product {
    display: inline-block;
    padding: 1rem 2rem;
    background: #cc0d33;
    margin: 1.5rem 0;
    color: #fff;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
}
.overview .discontinued-product h4 {
    font-size:3rem;
    margin-bottom:0;
}

    .overview .discontinued-product:after {
        bottom: 100%;
        left: -20px;
        top: 2rem;
        border: solid transparent;
        content: " ";
        position: absolute;
        border-color: rgba(204, 13, 51, 0);
        border-bottom-color: #cc0d33;
        border-width: 10px;
        transition: all 0.3s ease;
        transform: rotate(-90deg);
    }

/*#endregion*/
/* grouped product detail page */
.groupedProductDetailPage .productDetailWrapper .prices {
    display: none;
}






    .contributorDisplay {
        white-space: nowrap;
    }




.gallery {
    grid-area: gallery;
}

.gridRowTitleContributor {
    grid-area: gridRowTitleContributor;
}

.gridRowPriceDescription {
    grid-area: gridRowPriceDescription;
}

.priceWrapper {
    grid-area: priceWrapper;
}

.gridDescriptionWrapper {
    grid-area: gridDescriptionWrapper;
}
.qtyWrapper {
    grid-area: qtyWrapper;
}
.prodDetailATC2 { /* add to cart on simple pages, format dropdown on grouped */
    grid-area: prodDetailATC2;
}
.prodDetailATC3 { /* add to cart on grouped pages, blank on simple */
    grid-area: prodDetailATC3;
}
.shippingDetails {
    grid-area: shippingDetails;
}
.productDetailSecondaryButtons {
    grid-area: productDetailSecondaryButtons;
}
.optionalProductFields {
    grid-area: optionalProductFields;
}

.product-details-page .product-essential {
    display: grid;
    column-gap: 3rem;
    row-gap: 2rem;
    align-items: flex-start;
    grid-template-areas: 'gallery gridRowTitleContributor' 'gallery gridRowPriceDescription';
    grid-template-columns: minmax(300px, 30%) 1fr;
    grid-template-rows: minmax(auto, auto) 1fr;
    transform: var(--transition);
}

.product-details-page .gridRowPriceDescription {
    display: grid;
    row-gap: 2rem;
    column-gap: 2rem;
    align-items: flex-end;
    grid-template-columns: max-content auto 1fr;
    grid-template-areas: 'priceWrapper priceWrapper priceWrapper' 'gridDescriptionWrapper gridDescriptionWrapper gridDescriptionWrapper' 'optionalProductFields optionalProductFields optionalProductFields' 'qtyWrapper prodDetailATC2 prodDetailATC3' 'shippingDetails shippingDetails shippingDetails' 'productDetailSecondaryButtons productDetailSecondaryButtons productDetailSecondaryButtons';
}

.product-details-page .attribute-description {display: inline-block;font-size: 1.5REM;font-style: italic;}


/* MODIFIED DISPLAY FORMAT*/
.groupedProductDetailPage .product-variant-options .productSelector {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.groupedProductDetailPage .productSelector li.selected .radioButton:after {
    content: '';
    color: transparent;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--main-color);
}

.groupedProductDetailPage .product-variant-options .productSelector.active {
    position: relative;
    top: 0px;
    margin: 0px;
}

.groupedProductDetailPage .product-variant-options .productSelector li {
    padding: 1rem 1rem;
    display: flex;
}

.groupedProductDetailPage .productSelector.expandable {
    height: 320px;
    overflow-y: scroll;
}

.groupedProductDetailPage .product-details-page .gridRowPriceDescription {
    grid-template-columns: 75px 2fr 1fr
}

.groupedProductDetailPage .productSelector li.selected {
    background-color: rgba(229, 153, 17,0.1);
}

.pricingDisclaimer {
display: inline-block;
}

.divCurrAutoShipDetailMore {
    background-color: rgb(0,85,150);
    text-align: center;
    padding: 10px;
    margin-top: -2REM;
    margin-bottom: 2REM;
}

.divCurrAutoShipDetailMore a {
    color: #fff;
    font-size: 1.5REM;
}

.divCurrAutoShipDetailSubscribe {
    background-color: #fff;
    border: 2px solid rgb(255, 179, 44);
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    margin-top: -2REM;
    margin-bottom: 2REM;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

    .divCurrAutoShipDetailSubscribe:hover {
        background-color: #de910a;
        border: 2px solid #de910a;
    }

    .divCurrAutoShipDetailSubscribe a {
        color: #000;
        font-size: 1.5REM;
        line-height: 1.5;
        text-decoration: none;
        font-weight: bold;
    }

        .divCurrAutoShipDetailSubscribe a:hover {
            color: #fff;
            font-size: 1.5REM;
            line-height: 1.5;
            text-decoration: none;
            font-weight: bold;
        }


.product-details-page .gridRowPriceDescription {
    display: grid;
    row-gap: 2rem;
    column-gap: 2rem;
    align-items: flex-end;
    grid-template-columns: max-content auto 1fr;
    grid-template-areas:
        'priceWrapper priceWrapper priceWrapper'
        'gridDescriptionWrapper gridDescriptionWrapper gridDescriptionWrapper'
        'optionalProductFields optionalProductFields optionalProductFields'
        'qtyWrapper prodDetailATC2 prodDetailATC3'
        'shippingDetails shippingDetails shippingDetails'
        'productDetailSecondaryButtons productDetailSecondaryButtons productDetailSecondaryButtons'
        'productDetailsKitComponentWrapper productDetailsKitComponentWrapper productDetailsKitComponentWrapper';
}


.productDetailsKitComponentWrapper {
    grid-area: productDetailsKitComponentWrapper;

}

.productDetailsKitComponent {
    display: flex;
    flex-flow: row wrap;
    border-top: 1px solid #cecece;
    padding: 20px;
    flex-basis: 100%;
    justify-content: flex-end;
}

.productDetailsKitComponentSmallGrid {
    display: block;
    border-bottom: 1px solid #cecece;
    width: calc(100% - 190px);
}

.KitthumbnailWrapper {
    display: inline-block;
    vertical-align: top;
    padding: 10px;
}

.KitthumbnailWrapper img {
    max-width: 48px;
    max-height: 48px;
}

.KitURLWrapper {
    display: inline-block;
    vertical-align: top;
    padding: 10px;
}

.KitPriceWrapper {
    display: inline-block;
    vertical-align: top;
    float: right;
    padding: 10px;
}

.tblKitContents {
    border: none;
}

    .tblKitContents tr {
        border-bottom: 1px solid #ccc;
    }

    .tblKitContents th {
        border-top: 1px solid #cccccc;
        border-bottom: 1px solid #cccccc;
        background-color: #f6f6f6;
        height: 60px;
        text-align: center;
    }

    .tblKitContents td {
        padding: 5px;
        text-align: center;
        border-right: none;
    }

    .tblKitContents td a img {
        max-height: 180px;
        border: none;
    }

.additionalDetailsWrapper .hiddenProductDetails > div:first-child {
    border: none;
}

.productDetailsKitComponent .FreeShippingIconWrapper {margin: 0px 30px 0px 0px;}
.productDetailsKitComponent .FreeShippingIconWrapper img {float: left; margin: 0px 10px 0px 0px;}
.productDetailsKitComponent .thumbnailWrapper img {max-height: 60px;}