/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


/* Grid classes */

.anthemag_row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.anthemag_col {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.anthemag_nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .anthemag_col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .anthemag_col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
}


/* Main styles */

.anthemag-usda-nass-charts {
    padding: 25px 0 64px;
    font-weight: 300;
    max-width: 950px;
    margin: 0 auto;
}

.anthemag-usda-nass-charts h1 {
    font-weight: 300;
    margin-bottom: 40px;
}

.anthemag-usda-nass-charts-wrap {
    border-radius: 10px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
    overflow: hidden;
}

.anthemag-usda-nass-charts-wrap .nav-pills {
    flex-direction: row;
    border-bottom: 1px solid #DFE2E7;
    margin-bottom: 0px;
    justify-content: center;
}

.anthemag-usda-nass-charts-wrap .nav-pills li {
    width: 33.333%;
}

.anthemag-usda-nass-charts-wrap .nav-pills li a {
    padding: 16px 20px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: black;
    transition: all .3s ease;
    border-radius: 0;
}

.anthemag-usda-nass-charts-wrap .nav-pills li.active a {
    background: #DFE2E7;
    color: #8a8a8a;
}

.anthemag-usda-nass-charts-wrap .nav-pills li.active a:hover {
    background-color: white;
    color: black;
}

.anthemag-usda-nass-charts-wrap .nav-pills li a.active {
    background: #DFE2E7;
    color: #8a8a8a;
}

.anthemag-usda-nass-charts-wrap .nav-pills li a:hover {
    background: #DFE2E7;
    color: white;
}

.anthemag-usda-nass-charts-wrap .tab-content .entry-content {
    padding-top: 20px;
    padding-left: 0px;
    padding-bottom: 35px;
    position: relative;
}

.anthemag-usda-nass-charts-wrap .tab-content .entry-content .entry-options {
    display: flex;
    flex-flow: wrap column;
}

.anthemag-usda-nass-charts-wrap .tab-content .entry-content .entry-options .select-chart {
    display: inline-block;
    width: auto;
    font-size: 14px;
    font-weight: 400;
    border: 0;
    outline: 0;
    /* margin: 0 15px; */
    padding: 0 10px;
    border: 1px solid;
}

.anthemag-usda-nass-charts-wrap .tab-content .entry-content .entry-options .entry-title {
    display: inline-block;
    font-weight: bold;
    padding: 15px 15px;
}

.anthemag-usda-nass-charts-wrap .tab-content .entry-content .entry-chart {
    padding: 15px;
    padding-top: 30px;
    position: relative;
}

.anthemag-usda-nass-charts-wrap .tab-content .entry-content .entry-chart .zoom-icon {
    position: absolute;
    top: 22px;
    right: 5px;
    z-index: 5;
    max-width: 19px;
    pointer-events: none;
}

.loading-o {
    opacity: 0;
    visibility: hidden;
}

#anthemagLoader {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#anthemagLoader img {
    max-width: 200px;
}

.shake {
    animation: shake 3s infinite;
}


/* Tab styles */

.anthemag-tech_tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.anthemag-tech_tabs a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: var(--12XL, 120px);
    background: var(--base-ghost-default, rgba(255, 255, 255, 0.20));
    text-decoration: none;
    padding: 12px;
}

.anthemag-tech_tabs a.active {
    border-radius: var(--12XL, 120px);
    background: var(--Primary-P300, #DBA10F);
}

.anthemag-tech_tabs a:hover {
    background: var(--base-ghost-default, rgba(255, 255, 255, 0.20));
    color: var(--white)!important;
}


/* .anthemag-tech_tabs a.active:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent #00ad50;
} */


/* 
@keyframes shake {
    from,
    to {
        transform: translate3d(0, 0, 0);
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translate3d(-10px, 0, 0);
    }
    20%,
    40%,
    60%,
    80% {
        transform: translate3d(10px, 0, 0);
    }
} */

@media screen and (min-width: 768px) {
    .anthemag-usda-nass-charts-wrap .nav-pills {
        flex-direction: column;
        border-bottom: 0;
        /* border: 1px solid #000; */
        justify-content: flex-start;
        height: 100%;
    }
    .anthemag-usda-nass-charts-wrap .nav-pills li {
        /* border-bottom: 1px solid #DFE2E7; */
        width: auto;
    }
    .anthemag-usda-nass-charts-wrap .nav-pills li a {
        border-right: 5px solid transparent;
        text-align: left;
    }
    .anthemag-usda-nass-charts-wrap .nav-pills li a:hover {
        border-color: #DFE2E7;
        background: transparent;
        color: black;
    }
    .anthemag-usda-nass-charts-wrap .tab-content .entry-content {
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 40px;
        min-height: 600px;
    }
    .anthemag-usda-nass-charts-wrap .tab-content .entry-content .entry-options {
        display: flex;
        flex-flow: wrap row;
        align-items: center;
    }
    .anthemag-usda-nass-charts-wrap .tab-content .entry-content .entry-options .select-chart {
        margin: 0;
    }
    .anthemag-usda-nass-charts-wrap .tab-content .entry-content .entry-options .entry-title {
        display: inline-block;
        font-weight: bold;
        padding: 15px 0;
        padding-right: 40px;
        margin-right: 20px;
        border-right: 0;
    }
    .anthemag-usda-nass-charts-wrap .tab-content .entry-content .entry-chart {
        padding: 0px;
        padding-top: 30px;
        /* max-width: 564px; */
        margin: 0 auto;
    }
    .anthemag-usda-nass-charts-wrap .tab-content .entry-content .entry-chart .zoom-icon {
        top: 34px;
        /* right: 0px; */
    }
}

@media screen and (min-width: 992px) {}

@media screen and (min-width: 1200px) {}