﻿

@font-face {
    font-family: "proxima-nova-condensed";
    src: url("/wp-content/themes/agrigold/content/fonts/Proxima Nova Regular.ttf") format("truetype")
}

@font-face {
    font-family: "proxima-nova-condensed-bold";
    src: url("/wp-content/themes/agrigold/content/fonts/Proxima Nova Condensed Bold.ttf") format("truetype")
}



[data-section="local-data-summary-section"] {
    font-family: "proxima-nova-condensed";
}

    [data-section="local-data-summary-section"] h2 {
        font-family: "proxima-nova-condensed";
        font-style: bold;

        @font-face {
            font-family: "proxima-nova";
            src: url("/wp-content/themes/agrigold/content/fonts/Proxima Nova Regular.ttf") format("truetype")
        }
    }



    [data-section="local-data-summary-section"] .button-bar {
        margin-bottom: 20px;
    }




    [data-section="local-data-summary-section"] .instruction-bar {
        margin-top: 10px;
        margin-bottom: 20px;
        font-size: .875rem;
    }

        [data-section="local-data-summary-section"] .instruction-bar h3 {
            color: #84bd00;
            margin-bottom: 10px;
            font-size: 1.125rem;
        }

.local-data-summary-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: center;
    max-width: 63.75rem;
}

.pdf .local-data-summary-container {
    max-width: 98%;
}

.local-data-summary-container .back-header {
    width: 100%;
    text-align: left;
    margin-top: 25px;
}


    .local-data-summary-container .back-header a, .local-data-summary-container .back-header a:visited {
        font-family: Proxima Nova Condensed;
        font-size: 14px;
        font-size: .875rem;
        font-weight: 600;
        line-height: 12px;
        line-height: .75rem;
        color: #343333;
        text-decoration: none;
        cursor: pointer;
    }


.local-data-summary-container .button-bar {
    display: flex;
    gap: 8px;
    flex-direction: row;
    margin-top: 5px;
    margin-bottom: 25px;
    text-transform: uppercase;
    width: 100%;
}

        .local-data-summary-container .button-bar #btnAddToYieldGuide {
            width: auto;
            padding-left: 20px;
            padding-right: 20px;
        }


.local-data-summary-container.read-only .button-bar {
    display: none;
}

table.local-data-summary {
     width:100%; 
    text-align: left;
    font-size: .75rem;
    border-spacing: 0px;
  /*  table-layout: fixed;*/
    border-collapse: collapse;
    font-family: "proxima-nova";

}

.pdf table.local-data-summary.less-than-seven {
    width: 100%;
}

col.locked {
    border: 1px solid #000;
}

th.locked {
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

td.locked {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.less-than-seven th.locked {
    border-top: none;
    border-left: none;
    border-right: none;
}

.less-than-seven td.locked {
    border-left: none;
    border-right: none;
}


td {
    border-top: 1px solid black;
    border-bottom: none;
    padding: 4px;
    font-family: "proxima-nova-condensed";
}

.pdf td {
    word-break: break-word;
}

th {
    color: #FFF;
    text-transform: uppercase;
    padding: 4px;
    font-family: "proxima-nova-condensed";
}



tr.original-plot-averages td {
    border-top: 4px solid #ffc72c;
    border-left: none;
    border-right: none;
    border-bottom: none;
    font-weight: bold;
}

tr.plot-averages td {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    font-weight: bold;
}

.pdf table.local-data-summary th.logo {
    width: 130px;
    vertical-align: bottom;
    background-image: url(/ResourcePackages/Bootstrap5/assets/dist/images/agrigold/Logos/Stacked.png);
    background-repeat: no-repeat;
    background-position: center;
}

    table.local-data-summary th.logo .crop-header {
        width: 65px;
        height: 65px;
        background-repeat: no-repeat;
        background-position: center;
        margin: 5px auto;
        background-size: 100% 100%;
        float: right;
    }

.pdf table.local-data-summary th.logo .crop-header,
table.local-data-summary.less-than-seven th.logo .crop-header {
    float: none;
}


th.result-header .pin-marker {
    background-image: url('/ResourcePackages/Bootstrap5/assets/dist/images/agrigold/local_data_summary_marker_icon.png');
    width: 21.7px;
    height: 29px;
    background-repeat: no-repeat;
    background-position: center;
    margin: 5px auto;
    background-size: 100% 100%;
    color: #FFF;
    text-align: center;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
}

th.result-header table.header-info {
    font-size: 12px;
    font-weight: normal;
    padding: 0;
    border-collapse: collapse;
    margin: 1px;
}

.pdf th.result-header table.header-info, .less-than-seven th.result-header table.header-info {
    width: 100%;
}

th.result-header table.header-info-hidden {
    display: none;
}

.pdf th.result-header table.header-info-hidden {
    display: table;
}

.pdf th.result-header .label, .less-than-seven th.result-header .label {
    display: none;
}

th.result-header .main-header .label {
    display: none;
}

.pdf th.result-header .main-header .label, .less-than-seven th.result-header .main-header .label {
    display: table-cell;
    vertical-align: bottom;
}



th.result-header table.header-info td {
    margin: 0;
    padding: 2px;
    border: none;
    white-space: nowrap;
}

th.result-header table.header-info tr:nth-child(even) {
    background: rgb(224, 224, 224)
}

th.result-header table.header-info .label {
    font-weight: 700;
    text-transform: none;
    text-align: right;
    height: 20px;
    vertical-align: bottom;
    padding-bottom: 4px;
}

th.result-header table.header-info .value {
    text-transform: none;
    text-align: center;
    height: 20px;
    vertical-align: bottom;
    white-space: break-spaces;
    padding-bottom: 4px;
    min-width: 75px;
}

.pdf th.result-header table.header-info .value {
    text-align: center;
}


table.local-data-summary.corn-summary th.logo .crop-header {
    background-image: url("/wp-content/themes/agrigold/content/img/iconography/Icon-Corn-BrightGreen.png");
}

table.local-data-summary.soybeans-summary th.logo .crop-header {
    background-image: url("/wp-content/themes/agrigold/content/img/iconography/Icon-Soybean-Orange.png");
}


.plot-selection-box {
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 5px;
}

.local-data-summary-container.read-only .plot-selection-box {
    display: none;
}


tr.details-header th {
    color: black;
}

tr.header {
    background: #0c2340;
}

th.row-selection-box {
    background: #FFF;
}

th.row-selection-box, td.row-selection-box {
    width: 10px;
}

td.row-selection-box {
    border-top: none;
    cursor: pointer;
}

.local-data-summary-container.read-only .row-selection-box {
    display: none;
}




.local-data-summary td.above-average .result-value {
    background-color: #84bd41;
    padding: 5px;
}



.local-data-summary th.result, .local-data-summary td.result, .local-data-summary th.result-header, .local-data-summary td.result-header {
    width: 75px;
    font-family: "proxima-nova-condensed";
}

.local-data-summary th.result-header {
    min-width: 75px;
    text-align: center;
    padding: 0;
    vertical-align: bottom;
}


    .local-data-summary th.result-header.detail {
        vertical-align: top;
    }

    .local-data-summary th.result-header .caret-marker {
        color: #FFF;
        display: flex;
        justify-content: center;
        margin-top: -10px;
    }





    .local-data-summary th.result-header .column-top {
        position: relative;
    }

.local-data-summary th.brand, .local-data-summary th.product, .local-data-summary th.avg {
    vertical-align: middle;
    width: 50px;
    font-family: "proxima-nova-condensed-bold";
}

.local-data-summary .result {
    text-align: center;
}

.local-data-summary .plot-avg {
    text-align: center;
}

.local-data-summary .product-avg {
    background-color: rgb(224,224,224);
    padding: 5px;
}

.local-data-summary .hidden-row {
    display: none;
}

.local-data-summary .hidden-column {
    display: none;
}

[data-section="local-data-summary-section"] h2 {
    color: #0c2340;
}

    [data-section="local-data-summary-section"] h2.corn:after {
        background: #ffc72c;
    }

    [data-section="local-data-summary-section"] h2.soy:after {
        background: #be4d00;
    }

[data-section="local-data-summary-section"].pdf .content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 40px;
}

.pdf .plot-selection-box, .pdf .row-selection-box {
    display: none;
}

.local-data-summary-container #legal p {
    font-size: .8125rem;
    line-height: 1.5;
    margin-top: .6875rem;
    margin-bottom: 0;
}

.local-data-summary-container #legal {
    margin-top: .625rem;
}






#nameModal form .form-field {
    display: block;
    width: 95%;
    position: relative;
    padding-top: 1.25rem;
    border: 1px solid #c8c9c7;
    margin-bottom: 1rem;
}

#nameModal form .submit-container {
    width: 95%;
}

.summary-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.agrigold-logo {
    display: none;
    margin-bottom: 30px;
}

    .agrigold-logo img {
        max-height: 75px;
    }

.pdf .agrigold-logo {
    display: block;
    float: right;
}
