
/* Page Layout */
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }

/*Alternative color palette, much better for contrast */
:root{
    --primary-000: #e6f0eb;
    /* --primary-100: #b3d2c3; */
    --primary-100: hsl(151, 26%, 96%);
    --primary-200: hsl(152, 32%, 75%);
    --primary-300: #358760;
    --primary-400: #1b784c;
    --primary-500: #02693a;
    --primary-700: #02542d;
    --primary-800: #013f22;
    --primary-900: #011f11;
    --font-family-sans-serif: 'Calibri', sans-serif;

    --background-400: #dbebdf;
    /* --font-family-sans-serif: "Verdana", sans-serif; */
    --primary-green-200: #B4D48E;
    --primary-green-400: #7EBA3D;
    --primary-green-600: #005122;

    --primary-blue-100: #a9dcec;
    --primary-blue-200: #5ac6de;
    --primary-blue-300: #65c9e0; 
    --primary-blue-400: #003560;

    --primary-tan: #fcfaf1;
    --black: #000000;
}

/* CSS reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, button {
	margin: 0;
	padding: 0;
	border: 0;
    font-size: 100%;
    vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
    line-height: 1;
    font-family: var(--font-family-sans-serif);
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
    color:inherit;
}

* {
    box-sizing:border-box;
}


.sr-only {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    margin: -1px !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.r {
    text-align:right;
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Calibri", sans-serif;
    font-size: 0.8rem;
}

body>main {
    flex: 1;
}

main > *:last-child{
    margin-bottom: 0rem;
}


footer {
    margin-top:auto; 
    padding:1rem;
    padding-bottom: 4.5rem;
    padding-top: 2.5rem;
    font-size:0.8rem;
    text-align: center;
    background-color:var(--primary-blue-400);
    color:#fff;
    display: flex;
    justify-content: center;

}
footer img {
    margin-bottom: 0.4rem;
}

footer .footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    width: max(300px,85%);
    margin: auto;
}


@media only screen and (max-width:400px) {
    footer .footer-content {
        flex-wrap: wrap;
    }
}

header {
    background-color: #fff;
    text-align: right;
}

header section.header-section {
    max-width: 1600px;
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* New Defaults*/
i {
    font-style: italic;
}

section{
    background-color: #fff;
    position: relative;
}

section.content  {
    width: min(1200px, calc(100% - 2rem));
    margin: auto;
    background-color: inherit;
}

section.content-wide  {
    width: min(1600px, calc(100% - 2rem));
    margin: auto;
    background-color: inherit;
}


section.content-narrow {
    width: min(600px, calc(100% - 2rem));
    margin: auto;
}


.side-image-container {
    position: relative;
    min-height: 445px
}

.side-image {
    position: absolute;
    right:0;
    top: 0;
}

.side-image picture, .side-image img {
    max-width: inherit;
}


@media only screen and (max-width:768px) {
    section.content-wide.glue-right, section.content-wide.glue-left {
        margin: auto;
    }
}

@media only screen and (max-width:1470px) {
    .side-image {
        position: relative;
        max-width: 100%;
        margin: auto;
        display: flex;
        justify-content: center;
    }
}

.filled {
    background-color: #eee;
}

.filled section.content {
    background-color: #eee;
}

div.featured-resources {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    position: relative;
}

div.featured-resources h2 * {
    font-family: "Alegreya";
    font-size: 2.5rem;
    color: #fff;
    text-transform: uppercase;
}

div.featured-resources.filled, div.featured-resources.filled section.content {
    background-color: #eee;
}

div.featured-resources.filled.green, div.featured-resources.filled.green section.content {
    background-color: var(--primary-green-400);
}

div.featured-resources.filled.blue, div.featured-resources.filled.blue section.content {
    background-color: var(--primary-blue-200);
}

div.featured-resources section {
    z-index: 10;
    position: relative;
}

.featured-resources-underlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 0;
    opacity: 0.7;
}

.featured-resources-underlay img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.filled .resource-card {
    background-color: #fff;
}

.filled.stripe{
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.featured-resources h2 {
    text-align: center;
}

.featured-resources h2 a:hover {
    text-decoration: none;
    border-bottom: 0;
}

@media only screen and (min-width: 768px) {
    div.featured-resources h2 *{
        font-size: 3rem;
    }
}

/* Headings  */
h1 {
    display: block;
    font-size: 2em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
    font-family: 'Alegreya';
}


h2 {
    display: block;
    font-size: 1.5em;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}


h3 {
    display: block;
    font-size: 1.17em;
    margin-top: 1em;
    margin-bottom: 1em; 
    margin-left: 0; 
    margin-right: 0;
    font-weight: bold;
}

/*H1 modifiers */
h1 span {
    font-family: "Alegreya";
}


span.green {
    color: var(--primary-green-400);
}

span.dark-green {
    color: var(--primary-green-600);
}

.main-heading {
    color: var(--primary-blue-400);
    font-size: 3rem;
    text-transform: uppercase;
}


.secondary-heading {
    color: var(--primary-blue-400);
    font-size: 1.8rem;
    text-transform: uppercase;
    font-family: "Alegreya";
}

h1.split-lines span.line {
    display: block;
}


hr.solid {
    height: 4px;
    border: none;
}

hr.green {
    color: var(--primary-green-400);
    background-color: var(--primary-green-400);
}

/* P tag */
p {
    display: block; 
    margin-top: 1em; 
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
}

p.large-text{
    font-size: 1.2rem;
}

/*form error */
.form-error {
    margin-left: 1rem;
}

.form-error.notification {
    text-align: center;
    margin-top: 1rem;
    margin-left: 0;
}


a.register-link {
    width: fit-content;
}

/* Definition list */

dl {
    
}

dt {
    font-weight: bold;
}

dd {
    font-size: 1.2em;
    margin-bottom: 1em;
}


/* Forms */

input, select {
    border: solid 1px #333;
    padding: 0.25rem 0.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1em;
}

label span.detail {
    font-size: 0.7rem;
    color: gray;
}

/* login-register form */
.login-register-form {
    padding: 1rem;
    background-color: var(--primary-tan);
}

.login-register-form a {
    border-bottom: 1px solid transparent;
    font-size: 1rem;
}

/* header */

.nav-item {
    display: flex;
    color: var(--primary-blue-400);
    align-items: center;
    height: 100%;
}

.nav-item.lead-item {
    margin-left: 1rem;
    width: fit-content;
}


.nav-item a{
    text-decoration: none;
    color:var(--primary-blue-400)
}
.nav-item a img{
    max-height: 35px;
    vertical-align: middle;
    width: auto;
    height: auto;
    object-fit: contain;
    max-width: 200px;
}

.nav-item a:visited{
    color:var(--primary-blue-400);
}

.nav-item:hover a{
    border-bottom: 0;
}

.nav-item:hover {
    /* background-color: var(--primary-300); */
}

.nav-item .nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 0.8rem;
    padding: 0.5rem;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

header ul{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
}

header ul.main-navigation{
    gap: 1rem;
}

.nav-link-image {
    display: flex;
}

.nav-link-image .title {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    justify-content: center;
}

.nav-link-image .title p{
    margin: 0;
    text-align: left;
    font-size: 0.9rem;
}

.nav-link-image .title p b {
    font-size: 1rem;
}

@media only screen and (min-width: 1400px ){
    .nav-item .nav-link, .nav-item button {
        font-size: 1rem;
    }
    #main-navigation {
        margin-right: 1rem;
    }

}

@media only screen and (min-width: 1100px) {
    .nav-link-image .title {
        display: flex;
    }

    header {
        padding: 1rem;
    }
}

@media only screen and (min-width: 425px) {
    
    .nav-item a img {
        max-width: 100%;
    }
}



/* Registration view*/
fieldset>input, fieldset>label, fieldset>select, #email-check-form>input, #email-check-form>label, .registration-email-validation button{
    display: block;
    width: 100%;
}

fieldset label{
    font-weight: bold;
    margin-bottom: 0.2rem;
}

fieldset>input:required:valid {
    border-color: #393;
    background-color: white;
    background-image: url(/svg/check.svg);
    background-position: right;
    background-repeat: no-repeat;
}

fieldset>input:required:invalid {
    border-color: #933;
    background-color: white;
    background-image: url(/svg/close.svg);
    background-position: right;
    background-repeat: no-repeat;
}

fieldset>legend{
    margin-bottom: 1.5rem;
}

fieldset>input[type=checkbox] {
    width: auto;
    margin-left: 0;
    margin-right: 0;
}

fieldset.flex {
    display: flex;
    gap: 1em;
}

th fieldset.radio input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

th fieldset label {
    margin-top: -15px;
    margin-bottom: -15px;
    padding: 15px;
    cursor: pointer;
}


th fieldset.hidden-checkbox input[type=checkbox]{
    opacity: 0;
    position: fixed;
    width: 0;
}

th fieldset.hidden-checkbox label{
    background-color: #f1f1f1;
}

th fieldset.hidden-checkbox label .indicator{
    display: inline-block;
}

th fieldset.hidden-checkbox input[type=checkbox]:checked+label .indicator{
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg)
}

th select {
    border: solid 1px black;
    padding: 0.2em 0.5em;
}

/* Pagination */

nav:has(ul.pagination) {
    position: relative;
    z-index: 10;
}

ul.pagination {
    list-style-type: none;
    display: block;
    margin: 1rem 0;
    text-align: center;

    
}

ul.pagination li {
    display: inline;
}

ul.pagination li> * {
    text-align: center;
    display: inline-block;
    min-width: 2rem;
    height: 2rem;
    background-color: var(--primary-500);
    line-height: 1.5rem;
    color: #fff;
}

ul.pagination li.active> * {
    background-color: var(--primary-800);

}

ul.pagination a:hover {
    background-color: var(--primary-300);
}


/* Tables */
.form-table{
}

form table{
   overflow: hidden;
}

table {
    width: 100%;
}
  
tr:nth-child(even) {
    background-color: #f2f2f2;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

tbody tr {
    cursor: pointer;
}

tbody tr:hover {
    background-color: var(--primary-000);
}

/*Green Table*/

table.green {
    color: var(--primary-green-600);
}

table.green th {
    text-transform: uppercase;
    font-size: 1rem;
    background-color: var(--primary-green-200);
}

table.green tr {
    background-color: #faf9ef;
}

/* buttons */
.btn, [class^=btn-] {
    display: inline-block;
    border:solid 1px var(--primary-green-200);
    color: var(--primary-green-600);
    text-decoration: none;
    cursor: pointer;
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    font-weight:600;
    line-height: 0.8rem;
    text-transform: uppercase;
    background-color: var(--primary-green-200);
    text-align: center;
    user-select: none;
    font-family: var(--font-family-sans-serif);
}
.btn-text {
    border: solid 1px transparent;
    color: inherit;
    background-color:transparent;
    font-weight: normal;
    font-size: 1rem;
}
.btn-text:hover {
    border:solid 1px #0002;
}
summary.btn-text {
    display:list-item;
}
.btn-danger {

}

.btn:hover {
    background-color: transparent;
    color: var(--primary-green-600);
    border-color: var(--primary-green-600);

}

a.btn:hover {
    text-decoration: none;
}

.btn:disabled,
.btn[disabled]{
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}


.btn-group {
    margin-top: 1rem;
}

.btn.dark {
    background-color: #222;
}

.btn.secondary {
    background-color: #757575;;
}

.btn-border {
    background-color: #fff;
    color: var(--primary-blue-400);
    border-color: var(--primary-blue-400);
}

.btn-border:hover {
    background-color: var(--primary-green-400);
    color: #fff;
    border-color: var(--primary-green-400);
}

.btn-large-text {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6rem;
}


.group {
    display:flex;
    gap:0.5rem;
}
.group.r {
    justify-content: flex-end;
}

form.form-button{
    display: inline;
    margin: 0;
}

.alert {
    background-color: firebrick !important;
    border: 1px solid firebrick !important;
    color: #fff;
}

.btn.alert:hover {
    background-color: maroon !important;
    border: 1px solid maroon !important;
    color: #fff;
}

.admin-dashboard-button {
    margin-bottom: 0.5rem;
}

/* Definition lists */
dl {
    border-left:solid 4px var(--primary-100);
    padding-top:0.5em;
    display: flex;
    flex-flow: row wrap;
}
dt {
    text-align: right;
    font-weight: bold;
    line-height: 1.5em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-left: 1rem;

    flex-basis: 12%;
}
dt::after {
    content: " :";
    white-space: nowrap;
}
dd {
    padding: 0 0 0.5em 1rem;
    flex-basis: 80%;
    flex-grow: 1;
    margin: 0;
}

dl.registration-info-list dt {
    flex-basis: 25%;
}

dl.registration-info-list dd {
    flex-basis: 65%;
}


/* Navigation lists */
nav ul {
    list-style-type: none;
    display: block;
    margin: 1rem 0;
}

nav ul li {
    margin: 1rem 0;
    padding: 0.3rem 0;
    display: block;
}

nav ul li> * {
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    padding: 0.3rem 0rem;
    font-size: 0.8rem;
    line-height: 0.8rem;
    text-transform: uppercase;
}

nav ul a:hover {
    border-bottom:solid 1px var(--primary-400);
}

main a {
    color: var(--primary-blue-400);
    text-decoration: none;
    cursor: pointer;
    border: none;
}
a:hover {
    border-bottom:solid 1px var(--primary-800);
}

a.beanz-link {
    font-size: 1.2rem;
}

/*Admin Navbar*/

nav.admin-nav {
    padding-left: 1rem;
}

nav.admin-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
}

nav.admin-nav ul li {
    margin-top: 0.4rem;
}


/*Unordered list */

ul{
    margin-bottom: 1rem;
}


/*detail summary */
summary{
    padding: 0.5em;
}

summary h2 {
    display: inline;
}

summary h3 {
    display: inline;
}

/* Stripe Payment */
#card-element {
    margin-top: 1em;
}

.payment-breakdown {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    gap: 0.5rem;
}

.payment-breakdown .payment-line {
    font-size: 1rem;
    margin: 0;
    padding: 1rem;
    border-bottom: 1px solid black;
    display: flex;
    justify-content: space-between;
}

.payment-breakdown .large-text {
    font-size: 1.5rem;
}

/* flex boxes */
.flex-box {
    display: flex;
    gap: 2rem;
    justify-content: space-around;
    flex-direction: column;
}

.flex-box div{
    width: 100%;
}

/*Media query for flex boxes */

@media (min-width: 800px) {
    .flex-box{
        flex-direction: row;
    }
}

/* Ul for listing */
ul.subscription-list li, ul.price-breakdown li{
    margin-bottom: 1em;
}


.inessential {
    display: none;
}

@media only screen and (min-width: 500px) {
    .inessential {
        display: inherit;
    }
}

.welcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

dialog[open]#payment-message {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(80,80,80,0.7);
    border: 4px solid rgb(80,80,80,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

dialog#payment-message .inner-dialog {
    width: max(500px, 80%);
    height: max(400px,40%);
    background-color: #fff;
    border: 2px solid black;
    padding: 2rem;
}

dialog#payment-message form{
    gap: 0;
}

dialog#payment-message p {
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

dialog#payment-message h2, dialog#payment-message h3 {
    color: #D0342C;
    font-size: 1.2rem;
}

dialog#payment-message .button-bar button {
    margin-top: 0.25rem;
}


.page-alert {
    width: min(80%,1200px);
    margin: 1rem auto;
}


.alert-box {
    
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    border: 1px solid transparent;
    border-radius: .25rem;    
    padding: .75rem 1.25rem;
}

.alert-box.info {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
    font-size: 0.9rem;
}

.alert-box.warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
    font-size: 0.9rem;
}

.alert-box.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    font-size: 0.9rem;
}

.alert-box ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tag-area {
    display: flex;
    gap: 0.5rem;
    /* flex-wrap: wrap; */
    align-items: center;
    justify-content: center;
}

.overlay-bottom .tag-area {
    justify-content: flex-start;
}

.tag-bubble {
    background-color: var(--primary-green-200);
    font-weight: normal;
    color: var(--primary-green-600);
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    white-space: nowrap;
}

a.tag-bubble:hover {
    text-decoration: none;
    border-bottom: none;
    background-color: #9abfae;
    border-bottom: none;
}

.band.blue .tag-bubble {
    background-color: var(--primary-blue-200);
    color: var(--primary-blue-400);
}

.band.blue .tag-bubble:hover {
    background-color: var(--primary-blue-100);
}

.tox-notifications-container {
    display: none !important;
}

/** Admin user detail bubbles **/

.detail-bubble {
    background-color: var(--background-400);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* My details page */

.my-details-list {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 2rem;
}

.details-card {
    background-color: var(--primary-tan);
    text-align: center;
    flex-basis: 100%;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.details-card h2 {
    color: var(--primary-green-600);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.details-card .details-header {
    display: flex;
    flex-direction: column;
}

.details-card .details-image {
    background-color: #fff;
    fill: #fff;
    color: var(--primary-blue-200);
    border-radius: 100%;
    padding: 0rem;
    display: flex;
    margin: auto;
    aspect-ratio: 1;
    flex-basis: 96px;
    
}

.details-card .details-image svg {
    max-height: 100%;
    max-height: inherit;
}

.details-card:nth-child(even) .details-image  {
    background-color: #fff;
    color: var(--primary-green-200);
}

.details-card .btn {
    border: none;
    color: var(--primary-blue-400);
    background-color: var(--primary-blue-200);
    width: 100%;
    font-size: 0.9rem;
}

.details-card:nth-child(even) .btn {
    color: var(--primary-green-600);
    background-color: var(--primary-green-200);
}

.details-card .details-content p {
    font-size: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

@media only screen and (min-width: 768px) {
    .my-details-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (min-width: 1024px) {
    .my-details-list {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}


/** Resource Effects **/
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #000;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }  


/**Statement of work thread**/
.thread-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.response-list {
    display: flex;
    flex-direction: column;
}

.thread-list a {
    width: fit-content;
}

.thread-head, .thread-response{
    background-color: lightgray;
    padding: 1rem;
    margin-bottom: 0.25rem;
}

.thread-head small, .thread-response small {
    font-size: 0.5rem;
    font-weight: bold;
}



/** Homepage banner stuff **/
html, body {
    scroll-behavior: smooth;
}

.homepage-banner, .homepage-banner picture {
    max-width: 100%;
}

.homepage-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    position: relative;
    height: 85vh;
}

.homepage-banner picture{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.homepage-banner picture img {
    height: 100%;
    width: auto;
    max-width: 100%;
    width: 100%;
    object-fit: cover;
}

.homepage-banner .banner-overlay {
    color: #fff;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: rgb(80,80,80,0.1);
}


.homepage-banner .banner-overlay .flex-section  {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: transparent;
}

.homepage-banner .banner-overlay .flex-section>div {
    flex-basis: 100%;
}

.homepage-banner .banner-overlay .flex-section>.placeholder {
    flex-basis: 0;
    padding: 0;
} 

.homepage-banner .banner-overlay .flex-section>.banner-content {
    max-width: 575px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.homepage-banner .banner-overlay .banner-content h1 {
    font-family: "Alegreya";
    font-size: 3.5rem;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
}


.homepage-banner .scroll-link {
    position: absolute;
    bottom: 5%;
    color: #fff;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
}

.homepage-banner .scroll-link:hover, .homepage-banner .scroll-link:hover svg {
    text-decoration: none;
    border-bottom: none;
    color: #eee;
}

.homepage-banner .scroll-link svg {
    width: 24px;
    color: #fff;
}

.homepage-banner .resource-search input {
    border: 0;
}

/**Homepage content stuff**/

.homepage-header h2 {
    display: flex;
    flex-direction: column;
}

.homepage-header h2 * {
    font-family: "Alegreya";
    font-size: 3rem;
    text-transform: uppercase;
    color: var(--primary-blue-400);
}

.homepage-header h2 span.green {
    color: var(--primary-green-400);
}

.two-column {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.two-column>div {
    margin-bottom: 1rem;
}

/**
* Oh no, we've made bootstreap again, re-think what I'm doing
*/

.padding-bottom-large {
    padding-bottom: 4.5rem;
}

.padding-top-large {
    padding-top: 4.5rem;
}

/**
*
**/

.two-column div:has(picture) {
    max-width: 100%;
    flex-basis: 100%;
}

.two-column div:has(picture) picture img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-newsletter-list {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.homepage-newsletter-list .btn-border {
    font-size: 1.2rem;
    line-height: 1.5rem;
    font-weight: 500;
    flex-basis: 100%;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media screen and (min-width:768px) {
    .homepage-banner .banner-overlay .banner-content h1 {
        font-size: 5rem;
    }

    .homepage-banner .banner-overlay .flex-section>div.placeholder {
        flex-basis: 100%;
    } 

    .two-column {
        flex-wrap: nowrap;
    }

    .two-column>div {
        margin-bottom: unset;
    }

    .two-column div:has(picture) {
        flex-basis: 35%;
    }


    .homepage-newsletter-list {
        flex-wrap: nowrap;
        gap: 2rem;
    }
}


/**All resource list has some banding**/
.resource-type-list {
    display: flex;
    flex-direction: column;
    
}

.band {
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
}

.band {
    background-color: var(--primary-green-400);
}

.band span.color {
    color: var(--primary-green-600); 
}

.band.blue {
    background-color: var(--primary-blue-200);
}

.band.blue span.color {
    color: var(--primary-blue-600); 
}

.band a {
    color: var(--primary-green-600);
}

.band.blue a {
    color: var(--primary-blue-400);
}

.band.blue a:hover {
    color: var(--primary-blue-200);
}


.band.blue .tag-bubble {
    background-color: var(--primary-blue-200);
    color: var(--primary-blue-400);
}

.band.blue .tag-bubble:hover {
    background-color: var(--primary-blue-100);
}

.band.blue .tag-bubble:hover a {
    color: var(--primary-blue-400);
}



.resource-type-list .band .btn.view-all {
    background-color: var(--primary-blue-400);
    color: #fff;
    border: 1px solid var(--primary-blue-400);
}

.resource-type-list .band .btn.view-all:hover {
    background-color: #fff;
    color: var(--primary-blue-400);
    border: 1px solid var(--primary-blue-400);
}

.resource-type-list .resource-card {
    background-color: #fff;
}

.resource-type-list .band .main-heading {
    text-align: center;
    position: relative;
}

.resource-type-list .band .main-heading a {
    color: #fff;
}

.resource-type-list .band .main-heading a:hover {
    border-bottom: none;
    color: #ddd;
}


.resource-view {
    display: flex;
    flex-direction: column;
}

.resource-view .title-band{
    padding-bottom: 0;
}

.resource-view-title {
    color: #fff;
    text-align: center;
    font-size: 2rem;
    text-transform: uppercase;
}

.resource-view-title a {
    color: #fff;
}

.resource-view-title a:hover {
    border-bottom: none;
    color: #ddd;
}

.resource-view .band {
    padding-bottom: 2rem;
}



.resource-view .resource-raw-content img{
    max-width: 100%;
    height: auto;
}

section.resource-view section.two-column {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

section.resource-view section.two-column .author, section.resource-view section.two-column .tags {
    flex-basis: 50%;
    padding: 0.1rem;
}

.tags.band h3 {
    font-size: 1.2rem;
    color:#fff;
    text-transform: uppercase;
}

.author p, .author a {
    color: #fff;
    font-size: 0.9rem;
}

.tags.band .tag-area {
    flex-wrap: wrap;
    justify-content: flex-start;
}

.resource-list {
    display: grid;
    grid-template-columns: 1fr; 
    grid-template-rows: 425px;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}


.resource-card{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    background-color: #eee;
    position: relative;
    overflow:hidden;
    padding: 0rem;
    max-height: 425px;
}
.resource-card:hover {
    box-shadow: 0.25rem 0.25rem 0.5rem 0 #0001;
}

.resource-card h4 a:hover {
    color: var(--primary-green-400);
    text-decoration: none;
    border-bottom: none;
}

.resource-card .taxonomy-name {
    color: var(--primary-green-600);
    padding-bottom: 0.25rem;
    width: 100%;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
}


.band.blue .resource-card .taxonomy-name {
    color: var(--primary-blue-400);
}

.resource-card .resource-name {
    flex-grow: 1;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.resource-card .thumbnail img {
    max-width: 100%;
    object-fit: cover;
    width: 100%;
    object-position: 50% 40%;
}

.resource-card .thumbnail {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    max-height: 50%;
}

.resource-card .text-content{
    flex-basis: 60%;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.resource-card .text-content h3 {
    flex: 1;
}

.resource-card .hover-overlay{
    display: none;
}

.resource-card:hover .hover-overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color:var(--primary-100);
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

}

.resource-card .hover-overlay .inner{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: black;
    margin: 0.25rem;
    height: 100%;
}

.resource-card .hover-overlay .inner h4 {
    padding: 1rem 1rem 0rem 1rem;
    font-size: 1.3rem;
}

.filled.blue .resource-card .hover-overlay .inner h4 a{
    color: var(--primary-blue-400);
}

.resource-card .hover-overlay .overlay-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 0 1rem 1rem 1rem;
}

.resource-card .hover-overlay .overlay-bottom .overlay-header{
    font-size: 1.1rem;
}

.resource-card .hover-overlay .overlay-bottom .excerpt {
    font-size: 1rem;
}

.resource-card .hover-overlay .overlay-bottom .btn-text{
    font-weight: bold;
}


.resource-card .hover-overlay .inner>*:hover{
    border-bottom: 0;
}


.resource-card .hover-overlay .overlay-header a {
    color: black;
}

.resource-card .hover-overlay .overlay-header a:hover {
    text-decoration: none;
    border-bottom: 0;
}

.resource-card .hover-overlay a>* {
    color: black;
}


.resource-view .resource-card .resource-name {
    font-size: 1rem;
}

/**Statement of works list **/
.statement-list {
    display: grid;
    grid-template-columns: repeat(autofill, minmax(280px, 1fr)); 
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}


.statement-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    justify-content: space-between;
    border-radius: 0.5rem;
    border: 1px solid green;
    padding: 1rem;
    position: relative;
}
.statement-card:hover {
    box-shadow: 0 0 1rem 0 #0001;
}

.statement-card .thumbnail img {
    max-width: 100%;
    object-fit: contain;
}

.statement-card .thumbnail {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    max-height: 20%;
}

.statement-card .status-box{

}


.statement-card .status-box p, .statement-summary .status-box p {
    margin: 0;
    padding: 0.5rem;
}

.statement-card .status-box .archived, .statement-summary .status-box .archived {
    background-color: lightgray;
}

.statement-card .status-box .pending, .statement-summary .status-box .pending {
    background-color: orange;
}

.statement-card .status-box .approved, .statement-summary .status-box .approved {
    background-color: var(--primary-300);
    color: #fff;
}

.statement-card .status-box .rejected, .statement-summary .status-box .rejected {
    background-color: red;
}

.statement-card .leaders-list {
    margin-top: 0.5rem;
}

.statement-summary .stripe {
    background-color: #eee;
}

.statement-summary>div {
    padding: 0.25rem;
}


@media only screen and (min-width: 500px) {
    .resource-list {
        grid-template-columns: 1fr 1fr; 
    }

    section.resource-view section.two-column {
        justify-content: space-evenly;
    }
}

@media only screen and (min-width:1024px) {
    .resource-list {
        grid-template-columns: 1fr 1fr 1fr 1fr; 
    }

    .statement-list {
        grid-template-columns: 1fr 1fr 1fr; 
    }
}


/** File upload component **/
.file-upload-component input[type=file]{
    border: 1px dashed var(--primary-200);
    padding: 1rem;
    border-radius: 5px;
}

/**Resource show page**/

.resource-banner {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.resource-banner-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgb(5,5,5,0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.resource-banner-overlay .overlay-inner {
    backdrop-filter: blur(2px);
    width: 100%;
    padding: 1rem 0;
    color: #fff;
}

.resource-banner-overlay .overlay-inner .titles {
    width: min(1200px, calc(100% - 2rem));
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.resource-banner-overlay .overlay-inner .titles h1 {
    font-size: 2.5rem;
}

.resource-banner-overlay .overlay-inner .titles .banner-edit {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.resource-banner-overlay .overlay-inner .breadcrumbs a {
    color: #fff;
}

.resource-banner-overlay .overlay-inner .breadcrumbs a:hover {
    color: #ddd;
}

.resource-banner img {
    object-fit: contain;
    width: 100%;
}

@media only screen and (max-width:768px) {
    .resource-banner-overlay {
        position: relative;
        background-color: transparent;
    }

    .resource-banner-overlay .overlay-inner {
        color: black;
        padding: 0;
    }

    .resource-banner-overlay .overlay-inner .titles h1 {
        font-size: 1.5rem;
    }

    .resource-banner-overlay .overlay-inner .breadcrumbs a {
        color: var(--primary-800);
    }

    .resource-banner-overlay .overlay-inner .breadcrumbs a:hover {
        color: var(--primary-400);
    }

    .resource-banner {
        max-height: unset;
    }

}


.file-list {
    display: flex;
    flex-direction: column;
}

.file-list .file-list-item {
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 2.5rem;
    padding: 1rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--primary-100);
}

.file-list .file-list-item:nth-child(even) {
    background-color: #f5f5f5;
}

.file-list .file-list-item span {
    display: block;
    flex-basis: 100%;
    flex-grow: 1;
}

.file-list .file-list-item .file-label {
    display: flex;
    white-space: nowrap;
    height: 100%;
    align-items: center;
    gap: 1rem;

}

.file-list .file-list-item svg{
    width: fit-content;
    height: 1.5rem;
}

.file-list .file-list-item .file-label svg {
    flex-basis: 100%;
}

.file-list .file-list-item:hover {
    border-bottom: 1px solid var(--primary-100);
    background-color: var(--primary-100);
}

@media only screen and (max-width: 728px) {
    .file-list .file-list-item {
        flex-wrap: wrap;
        padding: 1rem;
    }
}


/**Video embeds **/

.video-embed-container {
    flex-basis: max(350px, 45%);
    max-width: 100%;
}


.video-embed-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}


/**List input **/
.list-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-input .list-input-item {
    /* border: 1px solid black; */
    background-color:#eee;
    /* border-radius: 5px; */
    padding: 1rem;
    position: relative;
}

.list-input .list-input-item .remove-button {
    background-color: transparent;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}


/**Resource edit page**/

.resource-edit {
    display: flex;
    margin-left: 5%;
    margin-right: 2.5%;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.resource-edit .resource-form {
    flex:3 0 300px;
}



.resource-edit .right-sidebar {
    flex:1 0 300px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100vh;
}

.resource-edit .right-sidebar>details {
    /* border: 1px solid var(--primary-200); */
    padding: 0 1rem 1rem;
}

.resource-edit .right-sidebar>details summary{
    display: flex;
    gap: 0.5rem;
    cursor: pointer;
}

.resource-edit .right-sidebar>details summary::after {
    content: '+';
    float: right;
    text-align: center;
    align-self: center;
    width: 10px;
    font-size: 2rem;
    translate: 0 -0.25rem;
}

.resource-edit .right-sidebar>details[open] summary::after {
    content: '-';
}

@media only screen and (min-width: 768px) {
    .resource-edit {
        flex-wrap: nowrap;
    }

    .resource-edit .right-sidebar {
        flex-basis: 300px;
        /* max-width: 20%; */
        /* background-color: #eee; */
        padding: 0.5rem;
    }
        .resource-edit .right-sidebar >* {
            background-color: #eee;
        }
}

.image-preview, .image-preview img {
    max-width: 200px;
    max-height: 200px;
}


/** Breadcrumbs **/

.breadcrumbs {
    text-transform: uppercase;
}

.page-header {
    background-color: var(--primary-blue-400);
}

.page-header .breadcrumbs {
    max-width: 1600px;
    font-size: 1.2rem;
    padding: 0.25rem;
    margin:auto;
    display: flex;
} 

.page-header .breadcrumbs a {
    color: white;
}

.page-header .header-image {
    max-height: 400px;
}

.page-header .header-image img {
    width: 100%;
    max-height: inherit;
    object-fit: cover;
    object-position: 0 5%;
}


.breadcrumbs {
    display:flex; 
    gap: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0;
}

.breadcrumbs a {
    white-space: nowrap;
}

.breadcrumbs a:first-child {
    margin-left: 1rem;
}

.breadcrumbs a:hover{
    border-bottom: none;
    color: #ddd;
}

.breadcrumbs a:not(:last-child):after {
    content: "»";
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}



@media only screen and (max-width: 768px) {
    .breadcrumbs{
        flex-direction: column;
        padding-bottom: 0.5rem;
    }
    .breadcrumbs a {
        white-space: normal;
        padding: 0.25rem;
        font-size: 0.9rem;
    }

    .breadcrumbs a:first-child {
        margin-left: unset;
    }
}


/**
Using details like a cover over the fire missiles button
*/

details.safety-details  {
    background-color: #eee;
    padding: 1rem;
}

details.safety-details summary {
    cursor: pointer;
}


/**Polls**/

section.poll-page {
    display: flex;
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;

}

.poll-body {
    flex-basis: 100%;
    max-width: 100%;
    background-color: var(--primary-tan);
    padding: 1rem;
}

.poll-panel fieldset{
    display: flex;
    flex-direction: column;
}

.poll-panel .show-results summary{
    cursor: pointer;
}

.poll-panel .question {
    display: flex;
    gap: 0.25rem;
    padding-left: 0.25rem;
}

.poll-panel .question:hover {
    background-color: rgb(5,5,5,0.05);
}

.poll-panel .question label {
    flex-basis: 100%;
    padding: 0.25rem;
}

.poll-results-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: auto;
    margin-bottom: 1rem;
    max-width: 100%;
}

.poll-result, .poll-panel {
    border: 1px solid;
    padding: 1rem;
}

@media only screen and (min-width: 400px) {
    .content.poll-page {
        padding-left: 0;
        padding-right: 0;
    }
}


/** Folder Admin, largely obselete. figure if can delete**/
.resource-folder-breadcrumbs {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    font-size: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.resource-folder-breadcrumbs a {
    padding: 0.25rem;
    display: flex;
    align-items: center;
}

.resource-folder-breadcrumbs a:hover{
    border-bottom: none;
    background-color: rgb(10,10,10,0.2);
}

.resource-folder-breadcrumbs a:not(:first-child)::after {
    content: "»";
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

@media only screen and (max-width: 768px) {
    .resource-folder-breadcrumbs {
        flex-direction: column-reverse;
    }
}

.newsletter-subscribe form {
    display: flex;
    flex-direction: row;
    gap: 0;
    margin-bottom: 0.5rem;
    max-width: 100%;
    width: 100%;
    line-height: 1.5rem;
}

.newsletter-subscribe form input[type=email]{
    font-size: 1.2rem;
    background-color: var(--primary-blue-400);
    color: #fff;
    border: 1px solid #fff;
    border-right: 1px transparent;
    outline: 0;
    flex-grow: 1;
    padding: 0.5rem;
}

.newsletter-subscribe form input[type=email]::placeholder {
    color: #fff;
}

.newsletter-subscribe form input[type=email]:focus {
    border-color: var(--primary-blue-100);
}

.newsletter-subscribe form button {
    border: 1px solid #fff;
    border-left: 0;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
}

.newsletter-subscribe form:has(input[type=email]:focus) button {
    border-color: var(--primary-blue-100);
}

.newsletter-subscribe form button:hover {
    color: #ddd;
}

.newsletter-subscribe .subscribe-header {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}


/** admin newsleter edit area **/
.newsletter-edit-section {
    background-color:#e8e8e8; 
    padding:1rem;
    margin-bottom:1rem;
}