/*********************************************/
/* CUSTOM.CSS                                */
/* For Curator's Choice pages                */
/* Greg Brown                                */
/* April 14, 2026                            */
/*********************************************/

/***** BASE CSS *****/

@import url("https://fonts.googleapis.com/css?family=Montserrat:400,400i,600,700,800,900");

body {
    --bg-main: #a1a1a1;
    --link-color: #b8d1f5;
    --link-color: lightskyblue;
    --link-color: #fb6E09;
    --link-color: #000;    
    --dark-link-color: #fb6E09;
    --font-headings: sans-serif;
    --bg-header-foooter: #ccc;
    --bg-sidebar: #eee;
    --color-footer-text: rgb(242, 241, 240);
    background-image: url(../styles/scribble_light.png);
    background-position: inherit inherit;
    background-repeat: repeat repeat;
    font-size: 14px;
    font-family: 'Montserrat';
    background-color: var(--bg-main);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.page-content {
    line-height: 22px;
    line-height: 1.4;
}

.container {
    padding: 0;
}

form {
    margin-bottom: 0;
}

.form-container {
    position: relative;
    margin-top: 10px;
    background-color: white;
}



/***** DIVS IN MASTER PAGE *****/
header {
    background-image: url(../../egov/img/agencyHeaderBg-HistoricalTrust.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;
}

#divMain {
    padding: 0;
    margin: 0;
    background-color: var(--bg-main);
}

#divSidebar {
    background-color: var(--bg-sidebar);
    padding-left: 10px;
    margin: 10px;
    border-radius: 10px;
    padding: 20px 20px 0 20px;
    font-size: 90%;
}

/***** FOOTER *****/
#divFooter {
    background-color: var(--bg-header-foooter);
    color: var(--color-footer-text);
    text-transform: none;
    font-size: 12px;
    letter-spacing: 0px;
    line-height: 22px;
    line-height: 1.4;
    background-image: url(tactile_noise.png);
    background-repeat: repeat repeat;
    background-color: #000;
    background-image: none;
    padding: 0 20px;
    margin-top: 0;
    margin-bottom: 0;
}

#divFooter #footerArea1,
#divFooter #footerArea2,
#divFooter #footerArea3,
#divFooter #footerArea4,
#divFooter #footerArea5 {
    margin-top: 20px;
}

#divFooter a {
    color: rgb(224, 95, 3);
    color: var(--link-color);
    color: rgb(224, 95, 3);
    font-size: 13px;
}

#divFooter h3 {
    font-family: var(--font-headings);
    font-weight: normal;
    font-style: normal;
    font-size: 23px;
    line-height: 45px;
    color: white;
}

#divFooter ul {
    margin-left: 0;
}

#footerOuterSeparator {
    margin-top: 28px;
    margin-top: 0;
    background-color: black;
    height: 0px;
    background-color: rgb(255, 255, 255);
    border-top-color: rgb(255, 255, 255);
    border-top-width: 0px;
    border-top-style: solid;
}

/***** SIDEBAR *****/
#divSidebar input[type=text] {
    height: 30px;
}

#divSidebar input {
    height: 40px;
}

/***** HEADER *****/
.header-mask {
    display: grid;
    width: 100%;
    grid-template-columns: 100px 1fr 180px;
    padding: 0 20px 20px 20px;
    margin-top: 0;
    background-image: url(../../egov/img/bgBlack65.png);
    height: 100px;
}

.logo-left {
    background-image: url("../images/JPPM-Logo.png");
    background-repeat: no-repeat;
    background-size: 70%;
}

.agency-title {
    margin-top: 1rem;
}

.agency-title a {
    text-decoration: none;
    color: white;
}

.agency-title a:hover,
.agency-title a:focus {
    color: white;
}

h1.header-title {
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 3.5em;
    line-height: 1;
}

h2.header-subtitle {
    padding-top: 0;
    margin-top: 0;
    font-size: 1.5em;
    line-height: 1;
}

.logo-right {
}

/***** GRAY TOP BAR ON INDIV PAGES *****/
.headbar {
padding: 10px 20px;
color: white;
display: flex;
justify-content: space-between;
}

.headbar .CCtitle {
    flex: 1fr;
    font-size: 125%;
    font-weight: bold;
}

.headbar .CCtitle a {
    color: white;
    text-decoration: none;
}

.headbar .CCtitle a:hover {
    text-decoration: underline;
}

.headbar .issuedate {
    flex: 1fr;
    font-size: 125%;
    font-weight: bold;
}

.headbar .linktoPDF {
    flex: 1fr;
}

.headbar .linktoPDF a {
    color: white;
    text-decoration: none;
}

.headbar .linktoPDF a:hover {
    text-decoration: underline;
}

.headbar p {
    margin-bottom: 0;
}

#headbar {
    padding: 10px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
}

#headbar .CCtitle {
    flex: 1fr;
    font-size: 125%;
    font-weight: bold;
}

#headbar .CCtitle a {
    color: white;
    text-decoration: none;
}

#headbar .CCtitle a:hover {
    text-decoration: underline;
}

#headbar .issuedate {
    flex: 1fr;
    font-size: 125%;
    font-weight: bold;
}

#headbar .linktoPDF {
    flex: 1fr;
}

#headbar .linktoPDF a {
    color: white;
    text-decoration: none;
}

#headbar .linktoPDF a:hover {
    text-decoration: underline;
}

#headbar p {
    margin-bottom: 0;
}

/***** ISSUE CONTENT *****/
.column-content {
    column-count: 3;
    column-gap: 2rem;
    column-rule: 1px solid #ccc;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .column-content {
        column-count: 2;
    }
}

@media (max-width: 500px) {
    .column-content {
        column-count: 1;
    }
}

@media print {
    .column-content {
        column-count: 1;
    }
}

article {
    background-color: black;
    color: white;
    margin-bottom: 0;
    padding: 20px;
    min-height:550px;
}

p {
    font-size: 115%;
    font-size: 100%;
    line-height: 1.5;
    margin-bottom: 1.2em;
}

p.author {
    font-style: italic;
}

p.bibauthor {
    margin-bottom: 0;
}

p.bibtext {
    margin-top: 0;
    margin-bottom: 20px;
    margin-left: 70px;
    text-indent: -60px;
}

p.footnote {
    font-size:90%;
    border-top:1px solid white;
}

p.blockquote {
    font-size: 115%;
    line-height: 1.5;
    margin-bottom: 1.2em;
    margin-left: 2rem;
    margin-right: 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: normal;
    font-style: normal;
}

h3, h4, h5, h6 {
    line-height: 1.5 !important
}

h1 {
    letter-spacing: 0px;
    line-height: 65px;
    margin-top: 0px;
    color: rgb(0, 0, 0);
    color: white;
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 35px;
    line-height: 50px;
}

h3, .page-content h3 a {
    font-size: 28px;
    line-height: 50px;
}

h4, .page-content h4 a {
    font-size: 21px;
    line-height: 50px;
}

h5, .page-content h5 a {
    font-size: 17px;
    line-height: 50px;
}

h6, .page-content h6 a {
    font-size: 15px;
    line-height: 50px;
}

span.hilite {
    font-weight: bold;
}

a {
    color: var(--link-color);
    word-wrap: break-word;
}

a.btn, a.btn-large, a.btn-small, a.btn-mini {
    color: #333
}

a.btn-info, a.btn-success, a.btn-warning, a.btn-danger, a.btn-inverse {
    color: #ffffff
}

.page-content a {
    color: #ccc;
    color: rgb(208, 88, 3);
    color: var(--link-color);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

.page-content #divSidebar a {
    color: black;
}

.btn-primary,
.btn-primary:hover,
a.btn-primary,
a.btn-primary:hover {
    color: #ffffff;
}

.btn-primary {
    border: 1px solid #c75503;
    border-bottom: 1px solid #9d4302;
    background-color: #e05f03;
    background-repeat: repeat-x;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e05f03), to(#ca5603));
    background-image: -webkit-linear-gradient(top, #e05f03, #ca5603);
    background-image: -moz-linear-gradient(top, #e05f03, #ca5603);
    background-image: -ms-linear-gradient(top, #e05f03, #ca5603);
    background-image: -o-linear-gradient(top, #e05f03, #ca5603);
    background-image: linear-gradient(top, #e05f03, #ca5603);
}

    .btn-primary:hover,
    .btn-primary:active,
    .btn-primary.active,
    .btn-primary.disabled,
    .btn-primary[disabled] {
        background-color: #c75503;
    }

/***** FIGURES *****/
figure {
    padding: 0;
    margin: 0;
    float: none;
    display: block;
    break-inside: avoid;
}

    figure img {
        max-width: 100%;
        height: auto;
        width: 100%;
    }

img {
    max-width: 100%;
    height: auto;
    width: auto;
}

figcaption {
    font-style: italic;
    font-size: 90%;
    line-height: 1.2;
    margin-bottom: 2rem;
}

/***** FOOTER CONTACT INFO *****/
#divSidebar ul#contact-info {
    margin-left: 0;
}

ul#contact-info .icon {
    font-size: 20px;
    float: left;
    line-height: 25px;
    margin-right: 10px;
}

ul#contact-info .field {
    font-weight: bold;
}

ul#contact-info {
    list-style: none;
}

/*** PRINT SETTINGS */
@media print {
    .noprint {
        display: none;
    }

    a[href]:after {
        content: none;
    }
}


/* ****** CARDS ******* */
.card-deck {
    gap: 1rem;
    border: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
}

    .card-deck .card {
        border: 1px solid white;
        border: none;
        padding: 0.5rem;
        padding: 0;
        overflow: clip;
        background: black;
        color: white;
    }

.card a.galleryLnk {
    color: white;
}

.card a.galleryLnk:hover {
    text-decoration: underline;
}

.card-deck .card-header {
    background: #aaa;
    font-size: 110%;
    line-height: 1.4;
    text-align: center;
    font-weight: bold;
}

.card-deck .card-img {
    object-fit: cover;
}

.card-deck .card img {
    width: 100%;
}

.card-deck .card-footer {
    background: #aaa;
    font-size: 90%;
    line-height: 1.4;
    text-align: center;
    height: 70px;
    text-overflow: ellipsis ellipsis;
    /*
    */
}


/* ****** LIGHT/DARK ******* */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.dark-mode-toggle {
    position: absolute;
    z-index: 100;
    top: 400px;
    top: 1em;
    right: 1em;
    color: var(--foreground);
    color: white;
    border: 2px solid currentColor;
    border: none;
    padding: 4px;
    background: white;
    background: transparent;
    cursor: pointer;
    border-radius: 5px;
    width: 100px;
    height: 30px;
    font-size: 75%;
    font-weight: bold;
}


/***** INDEX PAGE *****/

/***** INDEX PAGE, LIGHT MODE *****/
body .page-content {
    background-color: white;
    border: none;
}

body article > h1 {
    color: black;
}

body .index-table tr {
    background: #ccc;
    border-bottom: 1px solid #ccc;
    color: white;
}

body .index-table tr:nth-child(odd) {
    background: #ccc;
    border-bottom: 1px solid #ccc;
    color: black;
}

    body .index-table tr:nth-child(even) {
        background: #eee;
        border-bottom: 1px solid #ccc;
        color: white;
        color: black;
    }

body .index-table tbody > tr:nth-child(odd) > td, 
body .index-table tbody > tr:nth-child(odd) > th {
    background-color: #ccc;
    color: black;
}

body article {
    background-color: white;
    color: black;
}

body .page-content a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

body .page-content a:hover {
    text-decoration: underline;
}

body .page-content #divSidebar a {
    color: black;
}

/***** INDEX PAGE, DARK MODE *****/
body.darkmode .page-content {
    background-color: black;
    border: none;
}

body.darkmode article {
    background: black;
    color: white;
}

body.darkmode article > h1 {
    color: white;
}

body.darkmode .index-table tr {
    background: black;
    border-bottom: 1px solid #ccc;
    color: white;
}

body.darkmode .index-table tr:nth-child(odd) {
    background: black;
    border-bottom: 1px solid #ccc;
    color: white;
}

body.darkmode .index-table tr:nth-child(even) {
    background: black;
    border-bottom: 1px solid #ccc;
    color: white;
}

body.darkmode .index-table tbody > tr:nth-child(odd) > td,
body.darkmode .index-table tbody > tr:nth-child(odd) > th {
    background-color: black;
    color: white;
}

body.darkmode article {
    background-color: black;
    color: white;
}

body.darkmode .page-content a {
    color: var(--dark-link-color);
    text-decoration: none;
}

body.darkmode .page-content a.galleryLnk {
    color: white;
    text-decoration: none;
}

body.darkmode .page-content a:hover {
    text-decoration: underline;
}

body.darkmode .page-content #divSidebar a {
    color: black;
}

/*** PRINT SETTINGS */
@media print {
    .noprint {
        display: none;
    }

    a[href]:after {
        content: none;
    }
}

.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



.truncate-overflow {
    --lh: 1.4;
    --max-lines: 3;
    position: relative;
    max-height: calc(var(--lh) * var(--max-lines));
    overflow: hidden;
    padding-right: 1rem; /* space for ellipsis */
}

.truncate-overflow::before {
    position: absolute;
    content: "...";
    inset-block-end: 0; /* "bottom" */
    inset-inline-end: 0; /* "right" */
}

.truncate-overflow::after {
    content: "";
    position: absolute;
    inset-inline-end: 0; /* "right" */
    width: 1rem;
    height: 1rem;
    background: white;
}

/*
@media print {
    header,
    #divFooter {
        display:none;
    }
}
*/


