/*
Theme Name: NADP
Author: Justin Janisch
Version: 1.1.3
License: MIT
Text Domain: nadp
*/
@import "css/header.css";
@import "css/menu.css";
@import "css/networks.css";
@import "css/sidebar.css";
@import "css/footer.css";
@import "css/committees.css";
@import "css/maps.css";
@import "css/animate.css";
@import "css/sites.css";
/*@import "css/data-tables.css";*/
@import "css/plot.css";
@import "css/precipitation.css";
@import "css/tooltips.css";

:root {
    --color-green: #127862;
    --color-light-green: #c5d96c;
    --color-light: #FFFFFF;
    --color-light-grey: rgb(233,236,239);
    --color-medium: #6c7781;
    --color-dark-tint: #343840;
    /*--color-dark: #1e1f26;*/
    --color-dark: #191b2c;
    --color-black: #000000;
    --color-red: #DC3545;
    --color-burnt-yellow: #F8AD30;
    --color-orange: #F90;
    --color-light-blue: #8CD2ED;
    --color-blue: #6CADDF;
    --color-dark-blue: #3399CC;
    /*--color-blue-tint: #006ba1;*/
    --color-blue-tint: #003468;
}

html {
    scroll-behavior: smooth;
}

body, html {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: var(--color-light);
    text-align: left;
    font-weight: 300;
    font-size: 1em;
    line-height: 1.75em;
    color: var(--color-black);
}

.body-inner {
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-size: 48px;
    line-height: 54px;
    font-weight: 700;
    color: var(--color-blue);
    margin: 0.75em 0 0.5em 0;
}

h2 {
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    text-align: left;
    margin: 0.75em 0 0.5em 0;
    color: var(--color-blue);
}

h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    margin: 0.75em 0 0.5em 0;
}

h4 {
    color: var(--color-blue);
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
}

h5 {
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 0.1em;
}

h6 {
    color: var(--color-blue);
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    text-align: left;
    margin-top: 1.5em;
    margin-bottom: 0.1em;
}

p {
    text-align: left;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    color: var(--color-dark);
    -webkit-font-smoothing: antialiased;
}

a {
    text-align: left;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    color: var(--color-blue-tint);
}

ul {
    padding-left: 80px;
}

li {
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    color: var(--color-dark);
    margin-top: 10px;
}

.wp-blockquote p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.entry-content {
    padding: 0 140px;
}

.entry-title {
    margin-bottom: 25px;
}

.content-with-sidebar {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding-bottom: 50px;
}

.content-with-sidebar .content {
    width: 70%;
}

.content-with-sidebar aside {
    width: 25%;
}

.mega-sub-menu li a {
    line-height: 20px !important;
}

.alignleft {
    float: left;
    margin-right: 10px;
}

.alignright {
    float: right;
    margin-left: 10px;
}

#map {
    height: 100%;
    min-height: 600px;
}

.breadcrumbs a {
    font-weight: 300;
    font-size: 16px;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--color-light-green);
}

#content, #news-content {
    padding: 0 70px 10px 70px;
}

.search-entry {
    margin: 10px 20px 10px 40px;
}

/* ACCORDIONS */
.accordion {
    margin-bottom: 20px;
}

.accordion-title {
    /*font-family: "Open Sans", sans-serif;*/
    font-size: 32px;
    line-height: 50px;
    font-weight: 700;
    text-align: left;
    margin: 0.75em 0 0.5em 0;
    color: var(--color-dark);
}

details {
    margin-bottom: 4px;
}

.details-inner {
    padding: 10px 25px;
    color: var(--color-light);
    border-left: 1px solid var(--color-light-grey);
    border-right: 1px solid var(--color-light-grey);
    border-bottom: 2px solid var(--color-dark);
}

summary {
    font-size: 28px;
    line-height: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-blue);
    padding: 6px 15px !important;
}

details[open] summary {
    color: var(--color-orange);
    outline: none !important;
    transition: color 250ms, background 250ms;
    border-bottom: 2px solid var(--color-light);
}


/*MAP OVERLAY*/
#infowrap h2 {
    color: var(--color-blue-tint) !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    line-height: 22px !important;
    text-align: center !important;
    font-weight: 700;
}

#infowrap {
    min-width: 150px;
    min-height: 160px;
}


#infowrap a {
    font-size: 13px !important;
}


/* FORMS */
.fieldset {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.network-label {
    color: var(--color-light);
    font-weight: 300;
}

.network-field {
    min-width: 120px;
}

.network-field-small {
    min-width: 50px;
}

.form-submit, .form-reset {
    margin: 15px auto 10px auto;
    background: transparent;
    color: var(--color-blue);
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    min-width: 100px;
    border: 2px solid var(--color-blue);
    border-radius: 5px;
}

#kml-data-submit, #network-data-submit {
    margin: 15px 5px 10px 5px;
    padding: 8px 10px;
}

.form-reset {
    background: transparent;
    color: var(--color-red);
    border: 2px solid var(--color-red);
}

.form-submit:hover {
    color: var(--color-light);
    background: var(--color-blue);
    transition: color 300ms, background 300ms;
}

.form-reset:hover {
    background: var(--color-red);
    color: var(--color-light);
    transition: color 300ms, background 300ms;
}

#download-link, #kml-download {
    display: none;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    padding: 8px 20px;
    background: transparent;
    color: var(--color-blue);
    border: 2px solid var(--color-blue);
    border-radius: 5px;
    text-decoration: none;
}

#download-link:hover, #kml-download:hover {
    background: var(--color-blue);
    color: var(--color-light);
    transition: color 300ms, background 300ms;
}


.spinner {
    display: none;
    height: 25px;
    max-height: 25px;
    width: 25px;
    max-width: 25px;
    margin-top: 3px;
}

.loading-site-info {
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100px;
}

.loading-site-info .spinner {
    display: block;
    height: 40px;
    max-height: 40px;
    width: 40px;
    max-width: 40px;
    margin: 0;
}

#export-data-reset, #kml-reset {
    display: none;
    margin: 0;
}

#export-data-submit {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    min-width: 175px !important;
}


#period-type-field {
    display: none;
}

#site-table-header {
    visibility: hidden;
}

.hidden {
    visibility: hidden !important;
    max-height: 2px;
}

.removed {
    display: none;
}

.add {
    display: flex;
}

.show {
    visibility: visible;
}

.fadeIn, .slideInRight, .fadeInUp {
    animation-duration: 1250ms;
}

.form-error, .form-error-widget {
    color: var(--color-red) !important;
    font-size: 12px !important;
    line-height: 16px !important;
}

.form-error-widget {
    font-size: 20px !important;
}

.trend-message {
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 32px !important;
    color: var(--color-burnt-yellow) !important;
}

    /*DATA TABLES*/
.nadp-table {
    width: 100%;
    max-width: 100%;
    overflow-x: scroll;
}

#site-table {
    border: 1px solid var(--color-dark);
}

#site-table th {
    background-color: var(--color-dark);
    color: var(--color-light);
    font-size: 14px !important;
    font-weight: 300 !important;
}

.dataTables_length, .dataTables_filter {
    margin-bottom: 6px !important;
}

.paginate_button {
    font-size: 14px !important;
    padding: 5px 15px !important;
}

#site-table a, #site-table td {
    font-size: 14px !important;
    white-space: nowrap;
}

#site-table td {
    border-bottom: 1px solid rgba(25, 27, 44, 0.25) !important;
}

.even {
    background: #d4f1ff !important;
}

aside {
    min-width: 300px !important;
}

.breadcrumb-spacer {
    margin-left: 4px;
}

tfoot td {
    padding: 10px 10px 6px 10px !important;
}

.precip-form-error {
    color: var(--color-red);
    font-size: 16px;
    font-weight: 700;
}

.center {
    text-align: center !important;
}

.right-justify {
    text-align: right !important;
}

@media only screen and (max-width: 1500px) {
    .entry-content {
        padding: 0 100px;
    }
}


@media only screen and (max-width: 1250px) {
    body {
        background: var(--color-light);
    }

    .body-inner {
        margin: 0;
    }

    #content, #news-content {
        padding: 0 60px 10px 60px;
    }

    .entry-content {
        padding: 0 50px;
    }
}

@media only screen and (max-width: 1000px) {
    #content, #news-content {
        padding: 0 50px 10px 50px;
    }

    .entry-content {
        padding: 0 30px;
    }
}

@media only screen and (max-width: 950px) {
    .content-with-sidebar {
        flex-flow: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .content-with-sidebar .content {
        width: 100%;
    }

    .content-with-sidebar aside {
        width: 100%;
    }

    .entry-content {
        padding: 0 20px;
    }
}

@media only screen and (max-width: 700px) {
    #content, #news-content {
        padding: 0 25px 10px 25px;
    }

    .entry-content {
        padding: 0 5px;
    }
}
