﻿/* fact sheets */
H2 {
    font-size: 1.5em;
	color: hsl(210, 62%, 33%);
}
.menu-toggle {
    float: right;
    padding-bottom: 10px;
    cursor: pointer;
    margin-top: -5px;
        padding-left: 10px;
}
.readinglevel {
    float: right;
    margin-left: 15px;
    margin-top: -5px;
    font-size: 18px;
    color: hsl(210, 62%, 33%);
    border: 1px solid hsl(210, 62%, 33%);
}

#fstitle {
	width: 100%;
	position: relative;
}

#fstitleborder {
    padding: 20px 0 10px 20px;
    /* border-bottom:5px solid hsl(210, 62%, 33%); rgb(130, 92, 38);*/
}

#fstitle H1 {
    text-transform: none;
    font-size: 2.5em;
    margin: 0px 0px 5px 0px;
    line-height: 1.1em;
}


h1.fsTitle, .fsSuperTitle {
	color: hsl(210, 62%, 33%);
}

h1.fsTitle {
    clear: right;
}

#fstitle .fssupertitle {
	font-size: 16px;
}

h4 {
    margin: .5em 0 !important;
    font-style: italic;
}

h5 { /* italics only */
    margin-block-start: unset;
    margin-block-end: unset;
    font-size: unset;
    font-weight: normal;
    font-style: italic;
}

#expandall {
    float: right;
    margin-right: 15px;
    padding: 6px 12px 6px 6px;
    border: 1px solid hsl(210, 62%, 33%);
    color: hsl(210, 62%, 33%);
    cursor: pointer;
}
.collapsible {
    display: flex;
    cursor: pointer;
    width: fit-content;
    margin: 0.5em 0;
    white-space: pre-wrap; /* keep spaces around tags */
}
    .collapsible::after,
    #expandall::before {
        content: "";
        background-image: url("/images/icon-minus.png");
        display: inline-block;
        align-self: center;
        flex-shrink: 0;
        width: 0.8em;
        height: 0.8em;
        background-size: contain;
        margin: 0 0.4em;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .collapsible.heading-collapsed::after, 
    #expandall.expandall-collapsed::before {
        background-image: url("/images/icon-plus.png");
    }

.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.collapsible + div > .factsheet-summary {
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.factsheet-summary {
    padding: 5px 5px 1rem;
    background-color: #EAEAEA;
    position: relative;
}

.collapsible:not(.heading-collapsed) + div > .factsheet-summary {
    padding: 5px 5px 0;
}

.factsheet-summary::marker {
    content: "";
}

.factsheet-summary::after {
    position: absolute;
    right: 1.5rem;
    bottom: 0.5rem;
    content: "Read More...";
    font-style: italic;
    cursor: pointer;
}

details[open] .factsheet-summary::after {
    content: "";
}

.heading-collapsed + div .factsheet-summary .more {
    display: flex;
    align-self: flex-end;
    cursor: pointer;
    font-style: italic;
}

.collapsible.heading-collapsed + div > :not(.factsheet-summary) {
    display: none;
}

.factsheet-toc {
    padding: 5px;
    float: left;
    clear: left;
    width: 30%;
    max-width: 350px;
    background-color: hsl(210, 17%, 95%);
    border: 1px solid #999;
    margin: 0 15px 10px 0;
    position: relative;
    z-index: 1000;
}

    .factsheet-toc h2 {
        font-size: 1em;
        margin: 5px 0 2px 0;
    }

    .factsheet-toc ul {
        margin-top: .5em;
        padding-left: 25px;
    }

        .factsheet-toc ul li a {
            text-decoration: underline;
        }

    .factsheet-toc.nowrap {
        float: inherit;
        clear: right;
        margin: auto;
        width: auto;
    }

    .factsheet-toc .l2 {
        margin-left: 20px;
    }

    .factsheet-toc .l3 {
        margin-left: 40px;
    }

.hover-content {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px 10px 10px 1.9rem;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: .92rem;
    min-width: 300px;
    max-width: 60%;
}

    .hover-content span {
        text-indent: 2rem;
        margin-left: -1.4rem;
    }
/* showterm.aspx -- Glossary term pop-up */
H2.glossaryterm {
	font-size: 130%;
}

TABLE.glossaryterm TH {
	text-align: right;
	font-weight: bold;
    font-size: 90%;
    line-height: 1.5em;
}

TABLE.glossaryterm TD {
    font-size: 100%;
    line-height: 1.5em;
}

/* --------------------------------------------------- *
/* INGREDIENTS TABLE: color hsl(74, 100%, 29%) (green) *
/* --------------------------------------------------- */
.center TABLE.ingredients {
    width: 100%;
    background: white;
}

.center TABLE.ingredients TH {
    font-weight: bold;
    font-size: 14px;
    background-color: hsl(74, 100%, 29%);
    color: #fff;
    height: 26px;
    width: 190px;
    vertical-align: middle !important;
    padding-left: 10px;    
    border-right: 1px solid #fff !important;
}
    .center TABLE.ingredients TH:last-of-type {
        border-right:none;
    }
.center TABLE.ingredients TR {
    border-bottom: none;
}
.center TABLE.ingredients TD {
    font-size: 1em;
    line-height: 1.5em;
    color: #000;
    height: 18px;
    width: 188px;
    padding:4px 4px 4px 8px;
    /* border-right: 1px solid #fff !important; */
}
.center TABLE.ingredients TD span.title {
    font-weight: bold;
    font-size: 1em;
    color: #20558a;
}

.center UL, .center OL {
	overflow: hidden;
}

.collapsed {
    display:none;
    border-top: 1px solid hsl(74, 100%, 29%);
    border-bottom: 1px solid hsl(74, 100%, 29%) !important;  
}
.open {
    
}
.expand, .collapse {
    padding-left: 20px;
    padding-bottom: 1px;
    cursor:pointer;
}
.expand {
    background: url('/images/icon-plus.png') no-repeat;
}
.collapse {
    background: url('/images/icon-minus.png') no-repeat;
}
.collapsed {
    background-color: #fff !important;
}
.dot {
    background: url('/images/icon-dot.png') no-repeat;
    padding-left: 20px;
    padding-bottom: 1px;
}
.light {
    background-color: hsla(74, 100%, 29%, 0.1) !important;
}
.dark {
    background-color: hsla(74, 100%, 29%, 0.3) !important;
}
.center TABLE.ingredients TD span.h {
    font-weight: bold;
    font-size: 1em;
    color: hsl(74, 100%, 29%);
}

/* end ingredients table */

.download-csv {
    display: block;
    margin-top: -12px;
    margin-bottom: 16px;
    font-size: 0.85em;
}

 

.changedate {
    width: 100%;
    float: left;
    padding: 5px 5px 5px 10px;
    background-color: hsl(210, 62%, 80%);
    font-weight: bold;
    margin: 0;
}
.change {
    float: left;
    padding: 5px 5px 20px 10px;
    margin: 0;
}
.m4 {
    display:none;
}

.old h1.fsTitle, .old .fsSuperTitle {
    color: hsl(0, 0%, 54%);
}
.old a {
    color: hsl(0, 0%, 56%);
}
.reading-level {
    background-color: hsl(210, 62%, 33%);
    width: calc(100% - 330px);
    padding: 3px;
    margin-bottom: 20px;
}

    .reading-level ul {
        padding: 0;
        margin: 0;
    }

    .reading-level li {
        display: inline-block;
        padding: 0px 20px;
    }

        .reading-level li.selected {
            background-color: #fff;
            color: hsl(210, 62%, 33%);
        }

        .reading-level li a {
            color: #fff;
            text-decoration: none;
        }

            .reading-level li a:hover {
                text-decoration: underline;
            }
.fs-right {
    float: right;
    clear: right;
    width: auto;
    max-width: 300px;
    min-width: 200px;
    margin: 0px 0px 10px 10px;
    border: 1px solid hsl(210, 62%, 33%);
}
    .fs-right img {
        max-width: 100% !important;
    }
    .fs-right .ask-faqs {
        border-top: 1px solid hsl(0, 0%, 85%);
        padding: 10px;
    }

@media (max-width: 700px) {
    .fs-right {
        width: 52%;
        min-width: auto;
    }
    .reading-level {
        width: 51%;
        clear: both;
        float: right;
        margin-bottom: 10px;
        margin-left: 15px;
    }
        .reading-level li {
            display: block;
            width: auto;
            width: 100%;
        }
}