/* Product description links */

#attr_productdetails\.tab a {
    font-weight: bold;
    color: var(--red_color);
    text-decoration: underline;
}

/* Price Transparency */

.price-transparency-container {
    position: relative;
    margin-top: 1em;
}

.price-transparency-foreground {
    width: 300px;
    padding: calc(1em - 5px);
}

.price-transparency-background {
    width: calc(100% - 300px);
    position: relative;
    border-radius: 8px 0 0 8px;
    background: #fff url(../images/Solutions-PriceTransparencyGraph.png) no-repeat;
    background-size: cover;
}

.price-transparency-tag {
    position: absolute;
    top: 20px;
    left: 15px;
    background: #0000007d;
    color: #fff;
    border-radius: 2px;
    font-size: 7px;
    line-height: 8px;
    padding: 3px;
    text-align: center;
}

.price-transparency-tag::after {
    position: absolute;
    content: "";
    right: calc(50% - 4px);
    border-bottom: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top: 5px solid #0000007d;
    border-right: 5px solid transparent;
    bottom: -10px;
}

.price-transparency-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-transparency-content {
    text-align: center;
}

.price-transparency-background::after {
    position: absolute;
    content: "";
    border-bottom: 50px solid var(--light_grey);
    border-left: 25px solid transparent;
    border-top: 50px solid transparent;
    border-right: 25px solid var(--light_grey);
    right: 0px;
    top: 0;
}

.price-transparency-wrapper {
    background-color: var(--light_grey);
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    cursor: pointer;
    border: 5px solid var(--light_grey);
}

.price-transparency-title {
    font-size: 18px;
    text-align: center;
    color: var(--secondary_color);
    font-family: var(--title_font);
    font-weight: 700;
}

.price-transparency-cta-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.price-transparency-cta-button {
    background: #fff;
    padding: 8px;
    border-radius: 40px;
    font-size: 14px;
    text-align: center;
    width: 38px;
    box-shadow: 0px 1px 3px 0px #00000020;
}

@media (max-width: 480px) {
    .price-transparency-foreground {
        width: 215px;
    }
    .price-transparency-background {
        width: calc(100% - 215px);
    }
    .price-transparency-background::after {
        border-bottom: 45px solid var(--light_grey);
        border-top: 45px solid transparent;
    }
    .price-transparency-content {
        font-size: 12px;
    }
    .price-transparency-tag {
        top: 16px;
        left: 11px;
    }
    .price-transparency-cta-wrapper {
        top: 6px;
        right: 6px;
    }
    .price-transparency-cta {
        align-items: flex-start;
    }
    .price-transparency-content {
        text-align: left;
    }
}

/* Price Transparency Modal */

.modal-slide.pricecompare-sidebar{
	left: auto;
	right: 0;
	width: 100%;
}

.modal-slide.pricecompare-sidebar {
	max-width:816px;
}

.modal-slide.pricecompare-sidebar .modal-title{
	text-align: center !important;
}

.price-compare-container {
    display: flex;
    flex-direction: row;
    margin-bottom: 2em;
    column-gap: 1em;
}

.price-compare-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
}

.price-compare-svg {
    margin-bottom: 10px;
}

.price-compare-svg svg {
    max-width: 100px;
    max-height: 100px;
}

.price-compare-title {
    font-family: var(--title_font);
    font-weight: bold;
    font-size: 18px;
}

.price-compare-summary-container {
    margin-bottom: 2em;
}

.price-compare-summary-wrapper {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    padding: 1em;
    background-color: var(--light_grey);
    border-radius: 12px;
    column-gap: 1em;
}

.price-compare-summary {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-right: 1px solid #afafaf;
    align-content: center;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.compare-column-1, 
.compare-column-2 {
    padding-right: 1em;
}

.price-compare-summary:last-child {
    border: none; /* remove border */
}

.price-compare-mobile {
    display: none;
}

.price-compare-summary-title {
    font-size: 18px;
    line-height: 22px;
    color: var(--secondary_color);
    font-family: var(--title_font);
    font-weight: 700;
    text-align: center;
    margin-bottom: 5px;
}

.price-compare-solutions {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    color: #4CAF50;
}

.price-compare-average {
    color: #FF9800;
}

.price-compare-high {
    color: #F44336;
}

.price-compare-average,
.price-compare-high {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
}

.price-compare-disclaimer {
    color: #adadad;
    font-size: 9px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.price-compare-disclaimer a {
    display: contents;
}

@media (max-width: 480px) {
    .price-compare-container {
        margin-bottom: 15px;
    }
    .price-compare-svg svg {
        max-width: 75px;
        max-height: 75px;
    }
    .price-compare-mobile {
        display: inline;
    }
    .price-compare-title {
        font-family: var(--title_font);
        font-weight: bold;
        font-size: 16px;
        line-height: 18px;
        text-align: center;
        margin-bottom: 10px;
    }
    .price-compare-content {
        font-size: 12px;
    }
    .price-compare-summary-container {
        column-gap: 10px;
        margin-bottom: 15px;
    }
    .price-compare-summary-title {
        margin-bottom: 8px;
    }
    .chart-container {
        margin-bottom: 15px;
    }
}

/* Product Compatibility */

.product-compat-container {
    position: relative;
    grid-area: 2 / 1 / 2 / 4;
    z-index: 1;
    align-self: end;
    margin: 0 20px 20px 20px;
}

.product-compat-wrapper {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    padding: 1em;
    background-color: var(--light_green);
    border-radius: 12px;
    column-gap: 1em;
    cursor: pointer;
}

.product-compat {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-right: 1px solid var(--green_color);
    align-content: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.compat-column-1, 
.compat-column-2 {
    padding-right: 1em;
}

.product-compat:last-child {
    border: none; /* remove border */
  }

.price-compat-title {
    font-size: 18px;
    color: var(--secondary_color);
    font-family: var(--title_font);
    font-weight: 700;
    text-align: center;
}

.price-compat-title .mobile {
    display: none;
}

.price-compat-analysis {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
    justify-content: center;
}

.price-compat-analysis-column {
    display: flex;
    flex-direction: column;
}

.product-compat-home-siding,
.product-compat-grass-type,
.product-compat-property-char,
.product-compat-child-pet {
    display: flex;
    flex-direction: row;
}

i.fas.fa-minus-circle {
    color: #757575;
}

i.fas.fa-check-circle {
    color: #4caf50;
}

i.fas.fa-times-circle {
    color: #f44336;
}

.price-compat-svg {
    padding-right: 5px;
    width: 21px;
}

.price-compat-info {
    padding-left: 5px;
    font-size: 11px;
    display: flex;
    align-items: center;
    color: #797979;
}

.product-compat-amt-needed,
.product-compat-price-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-compat-amt-needed,
.product-compat-price-app {
    justify-content: center;
    height: calc(100% - 27px);
}

.product-compat-mobile {
    display: none;
}

.product-compat-use-per-unit,
.product-compat-price,
.product-compat-label,
.product-compat-sds {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    color: var(--green_color);
}

.product-compat-wrapper.product-compat-wrapper-professional {
    cursor: unset;
}

.product-compat-documents {
    display: flex;
    column-gap: 1em;
    height: calc(100% - 27px);
    align-items: center;
}

.product-compat-divider {
    font-weight: bold;
    color: var(--green_color);
    font-size: 24px;
}

.product-compat-label a {
    color: var(--green_color);
}

.product-compat-pro-columns {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
    justify-content: center;
}

.product-compat-pro-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pro-column-1 {
    border-right: 1px solid var(--green_color);
    padding-right: 1em;
}

.product-compat-cta-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.product-compat-cta-button {
    background: var(--light_grey);
    padding: 8px;
    border-radius: 40px;
    font-size: 14px;
    text-align: center;
    width: 38px;
    box-shadow: 0px 1px 3px 0px #00000020;
}

@media (max-width: 615px) {
    .product-compat-wrapper {
        column-gap: 10px;
        row-gap: 10px;
        flex-wrap: wrap;
        font-size: 14px;
    }
    .product-compat {
        border: none;
        justify-content: flex-start;
    }
    .compat-column-1 {
        flex: 1 1 100%;
        padding-bottom: 10px;
        padding-right: 0;
        border-bottom: 1px solid var(--green_color);
    }
    .compat-column-2,
    .compat-column-3 {
        flex: 1 1 calc(50% - 5px);
    }
    .compat-column-2 {
        border-right: 1px solid var(--green_color);
    }
    .product-compat-amt-needed,
    .product-compat-price-app {
        height: calc(100% - 32px);
    }
    .compat-column-2 .price-compat-title,
    .compat-column-3 .price-compat-title {
        margin-bottom: 5px;
    }
    .price-compat-title .desktop {
        display: none;
    }
    .price-compat-title .mobile {
        display: inline;
    }
    .product-compat-mobile {
        display: inline;
    }
    .product-compat-label,
    .product-compat-sds {
        font-size: 17px;
        line-height: 19px;
    }
}

@media (max-width: 480px) {
    .product-compat-cta-wrapper {
        top: 6px;
        right: 6px;
    }
}
@media (max-width: 405px) {
    .product-compat-pro-columns {
        column-gap: 7px;
    }
    .pro-column-1 {
        padding-right: 7px;
    }
    .product-compat-label,
    .product-compat-sds {
        font-size: 16px;
        line-height: 18px;
    }
}

@media (max-width: 363px) {
    .product-compat-wrapper {
        padding: 13px;
    }
}

/* Logged out */
.product-compat-create {
    display: none;
}

.product-logged-out .product-compat-wrapper,
.product-logged-out .product-match-wrapper {
    filter: blur(1px);
    -webkit-filter: blur(1px);
}

.product-compat-create.product-logged-out {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translatex(-50%) translateY(-50%);
    text-align: center;
    min-width: 300px;
    cursor: pointer;
}

.product-logged-out .product-match-type {
    filter: blur(1px);
    -webkit-filter: blur(1px);
}

.product-logged-out .product-compat-home-siding,
.product-logged-out .product-compat-amt-needed,
.product-logged-out .product-compat-price-app,
.product-logged-out .product-match-rate,
.product-logged-out .product-match-price,
.product-logged-out .product-match-type-content-col,
.product-logged-out .product-match-type-content {
    filter: blur(4px);
    -webkit-filter: blur(4px);
}

.product-logged-out .product-compat-create-button {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 4px 0px #00000033;
}

.product-logged-out .product-compat-create-button span {
    text-decoration: underline;
    font-weight: bold;
    color: var(--green_color);
}

/* Product Compat Modal */

.product-match-container {
    position: relative;
}

.product-match-wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 1em;
    background-color: var(--light_grey);
    border-radius: 12px;
    column-gap: 1em;
}

.product-match-type-header {
    display: flex;
    flex-direction: row;
}

.product-match-type-svg {
    padding-right: 7px;
}

.product-match-title {
    font-size: 20px;
    color: var(--secondary_color);
    font-family: var(--title_font);
    font-weight: 700;
    text-align: center;
}

.product-match-type {
    margin-bottom: 1em;
}

.product-match-type-title {
    font-weight: bold;
}

.product-match-type-content {
    padding-left: 23px;
}

.product-match-learn {
    text-decoration: underline;
    color: var(--green_color);
    padding-left: 4px;
}

.product-match-columns {
    display: flex;
    column-gap: 1em;
    flex-direction: row;
}

.product-match-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-content: center;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.match-column-1 {
    padding-right: 1em;
    border-right: 1px solid var(--green_color);
}

.product-match-rate,
.product-match-price {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    color: var(--green_color);
}

.product-match-type-content-col {
    text-align: center;
}

.product-match-disclaimer {
    color: #adadad;
    font-size: 9px;
    margin-top: 2em;
    text-align: center;
}

@media (max-width: 615px) {
    .product-match-wrapper {
        font-size: 14px;
    }
    .product-match-title {
        font-size: 18px;
    }
    .product-match-type-content {
        padding-left: 21px;
    }
}

/* Product Brand Wrapper */

.product-brand-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    column-gap: 1em;
}

@media (max-width: 767px) {
    .product-brand-wrapper {
        justify-content: center;
    }
}

/** Add To Cart button */
#product-addtocart-button {
    opacity: 1 !important;
}