﻿/* ----- COMPARE PRODUCTS MODAL ----- */
#productCompareModal {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#bodywrapper {
    height: 100%;
}

#tableWrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}
#productCompareModal #tableWrapper {
    max-height: 70vh;
}
#productCompareModal #tableWrapper {
    max-height: 100%;
}

#scrollPane {
    overflow-y: scroll;
    overflow-x: hidden;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
    flex-grow: 1;
    max-height: 30vh;
}
#productCompareModal #scrollPane {
    max-height: none;
}

.rowStrip {
    display: table;
    table-layout: fixed;
    width: 100%;
    box-sizing: border-box;
    border-left: 1px solid #ccc;
    background: #fff;
    flex-shrink: 0;
}

.rowStrip:nth-child(odd) {
    background: #ededed;
}

.rowStrip.headStrip:hover {
    background: #fff !important;
}
.rowStrip:hover {
    background: #fdfde0 !important;
}

.headStrip {
    border-left: 1px solid transparent;
    background: transparent !important;
}

.stripCell {
    display: table-cell;
    border: 1px solid #ccc;
    border-left: 0px;
    border-top: 0px;
    padding: 5px 15px;
    vertical-align: middle;
    text-align: center;
}

.headStrip .stripCell {
    border-top: 1px solid #ccc;
    background: white;
    padding: 0px 5px 10px;
    position: relative;
}

.headStrip .topLeftCell {
    border-top: 0px;
    background: none;
}

.seperatorStrip {
    border-bottom: 3px solid #ccc;
}

.rowSeperator {
    border-top: 2px solid #ccc;
}

.rowHead {
    text-align: right;
}

.boldRowText {
    font-size: 13px;
    font-weight: bold;
}

.productDiv:hover {
    text-decoration: none;
}

.blueLinkText {
    font-size: 14px;
    color: #005daa;
    font-weight: bold;
    margin: 15px auto 5px;
    height: 30px;
    max-height: 30px;
    line-height: 16px;
    overflow: hidden;
}
.blueLinkText:hover {
    text-decoration: underline;
}

.productDiv img {
    width: 90px;
}

.compareRatings img {
    margin-bottom: -2px;
    width: auto;
}

.compareRatings {
    font-size: 11px;
    margin: -2px 0 8px;
    min-height: 29px;
}

.redBuyButton {
    background: #a63123;
    border: 1px solid #a63123;
    border-radius: 5px;
    width: 85%;
    padding: 4px;
    color: #fff !important;
    display: block;
    margin: 0 auto;
}
.redBuyButton:hover {
    text-decoration: none;
    background: #8e2c20;
}

.productDiv {
    cursor: pointer;
    display: block;
    margin-top: 5px;
}

.removeColumnWrapper {
    position: absolute;
    top: 0px;
    right: 5px;
}

.removeColumn {
    display: inline-block;
    cursor: pointer;
    color: #999;
    font-size: 15px;
}

.removeColumn:hover {
    color: #bbb;
}

.ingredCheck {
    width: 20px;
    margin-top: -10px;
}

.prohibitedSubstance {
    font-weight: bold;
    color: #db9e3b;
    font-size: 16px;
}

/*---------------------------------------------------------------*/

#urlHolder {
    display: none;
    width: 79%;
}
#filterControls {
    display: none;
}
#shareControls {
    margin-bottom: 8px;
    overflow: hidden;
}
.optionsShare {
    float: right;
    color: white;
    font-weight: bold;
    background: #75a3db;
    border: 1px solid #06c;
    padding: 1px 20px;
    border-radius: 3px;
    cursor: pointer;
}

.shareFrame {
    margin-right: 5px;
}
#copyURL {
    width: 86%;
    padding: 4px 6px;
    border-radius: 3px;
    border: 1px solid #bbb;
}
#modalShareCopy {
    width: 87%;
    text-align: right;
    font-size: 11px;
    color: #555;
}
#copyButton {
    display: inline-block;
    height: 20px;
    background: #dedede;
    padding-top: 1px;
    padding-right: 15px;
    padding-left: 14px;
    padding-bottom: 1px;
    margin-left: -10px;
    border-left: 3px double #bbb;
    cursor: pointer;
    font-weight: bold;
    color: #777;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 1px solid #bbb;
}
#copyButton:hover {
    background: #cdcdcd;
    color: #333;
}
#productCompareModal #copyButton {
    padding-top: 0px;
    padding-bottom: 2px;
}

#modalGlossary {
    text-align: center;
    font-size: 12px;
    width: 98%;
    color: #333;
    font-style: normal;
}
.disclaimer {
    font-size: 11px !important;
    width: 100%;
    margin-top: 5px;
    box-sizing: border-box;
    border: none;
}

/*-------------------TABLET/TOUCH-------------------------------*/

.touchy .rowStrip {
    width: 920px;
}
.touchy .bodyWrapper {
    width: 922px;
}

/*-----------------  FOR PRINTING  -----------------------------*/
@media print {
    #printWrapper {
        display: block !important;
    }
    #printThis table tr {
        vertical-align: middle;
    }
    #printThis table tr:nth-child(even) {
        background: #ededed;
    }
    #printThis table td:nth-child(1) {
        padding-right: 2px;
    }
    #printThis table th,
    #printThis table td {
        border: 1px solid #ddd;
        text-align: center;
    }
    #printThis table th:nth-child(1) {
        border: none;
    }
    #tableWrapper {
        display: none;
    }
    .ingredCheck {
        width: 20px;
        margin-top: 0px;
        margin-bottom: 0px;
    }
}
