﻿tnt-wrapper
{
    display: grid;
    margin:0;
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-auto-flow: row;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

/*Top Section - Product Data*/
tnt-product-images
{
    display: flex;
    align-content: center;
    align-items: center;
    gap: 1em;
    background: #035A49;
    width: 100%;
    position: relative;
    justify-content: center;
}

tnt-product-images .coffeeLogo
{
}

tnt-product-images .companyLogo
{
    padding: 0.1rem;
    position: absolute;
    vertical-align: top;
    top:0px;
    left:0px;
    width: auto;
    height: auto;
}


tnt-product-details
{
    display:grid;
    grid-template-columns: auto;
    grid-template-rows: min-content min-content min-content;
    grid-auto-flow: row;
    width: 100%;
}

tnt-product-title
{
    color:#8C4F24;
    font-family:Merriweather;
    font-weight: 400;
    word-wrap: break-word;
    font-size: 24px;
    padding: 0.25rem 1rem;
    justify-items: stretch;
    align-items: center;
}

tnt-product-decription
{
    color: #4E3B31;
    font-size: 16px;
    font-family: Merriweather;
    font-weight: 400;
    word-wrap: break-word;
    padding:0.25rem 1rem;
    justify-items: stretch;
    align-items: center;
}

tnt-product-characteristics
{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    width: 100%;
    height: 100%;
    padding: 1rem 1rem;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.10);
    gap: 1rem;
    justify-items: center;
}

tnt-product-characteristic {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: min-content min-content;
    grid-auto-flow: row;
    gap: 0.5em;
    align-content: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

tnt-product-characteristic > tnt-text
{
    font-size:14px;
    font-family: Nunito;
}

tnt-product-characteristic > ImageContainer {
    align-items: center;
    justify-items: center;
    align-content: center;
    justify-content: center;
}

tnt-product-characteristic > dpp-image-container
{
    width: auto;
}

/* Batch Data*/
tnt-batch-section
{
    background: #4E3B31;
    display: grid;
    width: 100%;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
}

tnt-batch-title
{
    color: #FFFBF6;
    font-size: 24px;
    font-family: Merriweather;
    font-weight: 400;
    word-wrap: break-word;
    padding:0.25rem 1rem;
}

tnt-batch-details {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1rem;
}

tnt-batch-characteristic {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: min-content min-content;
    gap: 0.5em;
    align-content: center;
    align-items: center;
    justify-content: start;
}

/*Promo Image Container*/
tnt-image-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: inline-block
}

tnt-batch-characteristic-title, tnt-batch-characteristic-txt
{
    font-size: 16px;
    font-family: Merriweather;
    font-weight: 400;
    word-wrap: break-word;
    color: #fffbf6;
}

tnt-batch-characteristic-txt
{
    font-family: Nunito;
}



tnt-batch-characteristic-title
{
    opacity: 0.6;
}


tnt-image-container > img {
    width: 100%;
    height: 100%;
}

tnt-farms-section {
    display: grid;
    width: 100%;
    padding: 1rem 1rem;
    gap: 1rem;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    align-items: stretch;
}

tnt-farms-section-title {
    width: 100%;
    color: #8C4F24;
    font-family: Merriweather;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

tnt-farm-card {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    gap: 0.5rem;
    width: 100%;
}
tnt-farms-section-carousel {
    height: auto;
    /*overflow-y: scroll;*/

    button.carousel-control-prev
    {
        justify-content: flex-start;
        align-items: baseline;
    }
    button.carousel-control-next
    {
        justify-content: flex-end;
        align-items: baseline;
    }

    span.carousel-control-prev-icon, span.carousel-control-next-icon
    {
        background-color: #8c4f24;
        border-radius: 10%;
        opacity: 105%;
        padding-top: 41px;
        margin-top: 46px;
    }
}


tnt-farm-card-title {
    color: #8C4F24;
    font-family: Merriweather;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

tnt-farms-section-note {
    width: 100%;
    color: #8C4F24;
    text-align: center;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 145%; /* 20.3px */
}
tnt-farm-card-details {
    align-items: stretch;
    display:grid;
    grid-template-columns: auto;
    grid-auto-flow: row;
    tnt-field-label {
        color: rgba(78, 59, 49, 0.60);
        font-family: Nunito;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 145%; /* 23.2px */
    }
    tnt-field-value
    {
        color: #4E3B31;
        font-family: Nunito;
    }
    
    
    tnt-content-value {
        color: #4E3B31;
        font-family: Nunito;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 145%;
    }
}

tnt-supply-chain-section {
    display: grid;
    width: 100%;
    padding: 1rem 1rem;
    gap: 1rem;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
}

tnt-supply-chain-section-title {
    color: #8C4F24;
    font-family: Merriweather;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
tnt-supply-chain-carousel {
    width: 100%;
    /*overflow-y: scroll;*/
}

tnt-supply-chain-event-card {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    gap: 1rem;
    width: 100%;
}

tnt-supply-chain-event-card-title {
    color: #8C4F24;
    font-family: Merriweather;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

tnt-supply-chain-event-card-details {
    align-items: stretch;
    display:grid;
    grid-template-columns: auto;
    grid-auto-flow: row;
    gap: 0.5em;
    tnt-field-label {
        color: rgba(78, 59, 49, 0.60);
        font-family: Nunito;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 145%; /* 23.2px */
    }
    tnt-content-value {
        color: #4E3B31;
        font-family: Nunito;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 145%;
        font-family: Nunito;
    }
    tnt-field-value
    {
        color: #4E3B31;
        font-family: Nunito;
    }
    tnt-text {
        color: #4E3B31;
        font-family: Nunito;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 145%;
    }
}

tnt-supply-chain-carousel
{
    button.carousel-control-prev
    {
        justify-content: flex-start;
        align-items: baseline;
    }
    button.carousel-control-next
    {
        justify-content: flex-end;
        align-items: baseline;
    }

    span.carousel-control-prev-icon, span.carousel-control-next-icon
    {
        background-color: #8c4f24;
        border-radius: 10%;
        opacity: 105%;
        padding-top: 41px;
        margin-top: 46px;
    }
}


/* Track n Trace map */
tnt-map
{
    padding: 1rem 1rem;
}


/*Chart*/


tnt-supply-chain-chart-section {
    display: grid;
    width: 100vw;
    gap: 1rem;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    background-color: #4E3B31;
}


tnt-supply-chain-chart-section-title
{
    color: #FFFBF6;
    font-size: 24px;
    font-family: Merriweather;
    font-weight: 400;
    word-wrap: break-word;
    width: 80%;
    padding-left: 0.5em;
}

tnt-chart {
    display: grid;
    width: 80%;
    gap: 1rem;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    
}

tnt-chart > svg {
    width: 80%;
    --series-1: #8C4F24;
    --series-2: #FFE8CD;
    --series-3: #FFFBF6;
    --series-4: #FFD49E;
    margin-top: -7rem;
    margin-bottom: -7rem;
    margin-left: 0.5rem;

}



tnt-chart .chart-legend-item {
    width: 80%;
    --series-1: #8C4F24;
    --series-2: #FFE8CD;
    --series-3: #FFFBF6;
    --series-4: #FFD49E;
}


tnt-chart > svg.donut-chart text > tspan {
    fill:white;
    font-family: Nunito;
}


tnt-chart-legend {
    justify-content: center;
    align-items: center;
    width: 80%;
    grid-template-columns: repeat(auto-fill, minmax(12em, max-content));
    padding: 1rem 1rem;
}

tnt-chart-legend .chart-legend-item .chart-legend-label
{
    color: white;
    font-family: Nunito;
}

/*Certifications*/
tnt-certifications-section
{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    grid-auto-flow: row;
    gap: 1rem;
    width: 100%;
    align-items: stretch;
    padding: 1rem 1rem;
}

tnt-certification-section-title
{
    color: #8C4F24;
    font-family: Merriweather;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 100%;
}

tnt-certifications
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-template-rows: auto;
    gap: 1rem;
    width: 100%;
}

tnt-certification
{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    gap: 1rem;
    width: 100%;
    align-items: center;
}

tnt-certification-link, tnt-certification-logo
{
    align-self: end;
    justify-self: center;
}

tnt-certification-link, tnt-certification-link a 
{
    color: #05BED6;
    font-size: 14px;
    font-family: Nunito;
    font-weight: 700;
    text-decoration: underline;
    line-height: 20.30px;
    word-wrap: break-word;
}

