/* 

Primary | Vibrant Purple | #8547FF
Secondary | Soft Sage Green | #B6CFA0
Text/Titles | Deep Charcoal | #333333
Sub-text | Slate Gray | #707070
Background | Off-White | #F8F9FA

*/ 

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Core Styles */
body { margin: 0; font-family: 'Work Sans', sans-serif; font-size: 18px; line-height: 30px; color: #333333; background: #F8F9FA; }
a { color: #8547FF; }
a:hover, a:active { color: #6A2FFF; }
hr { margin-block-start: 20px; margin-block-end: 20px; border: 0px; border-top: 1px solid #707070 !important; }
h1 { font-size: 45px; line-height: 52px; }
h2 { font-size: 32px; line-height: 40px; }
h3 { font-size: 22px; line-height: 29px; }
.mobileIcon { display: none; }
/* Prevent anchor links from being hidden by header when navigated to via URL(#) */
a[id] {  scroll-margin-top: 130px; }
.hidePrint { display: inline; }
.showPrint, .showPrintIntro { display: none; }

/* Buttons */
a.button { background: #8547FF; display: inline-block; padding: 6px 14px; border-radius: 5px; color: #FFF; text-decoration: none; font-weight: 500; margin: 0 5px 5px 0; }
a.button:hover { background: #6A2FFF; transition: .5s;  }

/* Content - Minimum Height */
.content { width: calc(100% - 40px); max-width: 1440px; margin: 0 auto; min-height: calc(100vh - 237px); }

/* Clear */
.clear { clear: both; }

/* Header */
header { width: 100%; text-align: center; }
header img { display: inline-block; margin: 10px 0; width: 500px; max-width: calc(100% - 40px); height: auto; }
.pageHeaderContainer { padding: 10% 0; }

/* Content Pages - All */
.standardPageIntro { border-bottom: 1px solid #707070; font-size: 22px; line-height: 32px; margin: 0 auto 20px; padding: 0 0 20px; }

/* Resources */
.resourceSearch { display: flex; flex-wrap: wrap; justify-content: space-between; }
.resourceSearch input[type="text"], input[type="text"].fullSearch { width: 100%; font-family: 'Work Sans', sans-serif; font-size: 18px; padding: 6px 8px; margin: 0 0 20px; }
.resourceSearch select { width: calc(50% - 10px); font-family: 'Work Sans', sans-serif; font-size: 18px; padding: 6px 8px; }
.resourceSearch input[type="submit"] { display: inline-block; margin: 20px auto; background: #8547FF; padding: 6px 14px; color: #FFFFFF; text-decoration: none; font-weight: 500; border: 0; font-size: 18px; line-height: 30px; cursor: pointer; font-family: 'Work Sans', sans-serif; }
.resourceSearchButton { width: 100%; }
.resourceSearch input[type="submit"]:hover { background: #6A2FFF; transition: all 1s; }

.resourceCategories { display: flex; flex-wrap: wrap; margin: 0 -5px 20px; width: calc(100% + 10px); }
.resourceCategoryLink { width: calc(50% - 30px); padding: 5px 10px 3px; margin: 5px; background: #B6CFA0; }
.resourceCategoryLink a { display: block; color: #000000; text-decoration: none; position: relative; padding-right: 20px; }
.resourceCategoryLink a .resourceCount { font-weight: 700; right: 0; position: absolute; top: 0; }
.resourceCategoryLink:hover { background: #DCE9D4; }

.resource { margin: 0 0 30px; border: 1px solid #B6CFA0;  }
.resource h2 { background: #B6CFA0; padding: 5px 10px; margin: 0; border-bottom: 2px solid #000000; font-size: 24px; line-height: 36px; }
.resource h2 a { margin-left: 5px; color: #000000; }
.resource h2 a:hover { color: #000000; }

.resourceDetails { padding: 10px 0; margin: 0 10px 10px; border-bottom: 1px solid #B6CFA0; }
.resourceDetails p:first-child { margin-top: 0; }
.resourceDetails p:last-child { margin-bottom: 0; }

.resourceInfo { display: flex; padding: 0 10px; margin: 10px 0; }
.resourceIcon { width: 30px; }
.resourceIcon i { line-height: inherit; }
.resourceFull { width: calc(100% - 30px); }
.resourceOtherCategories { padding: 5px 10px; }

.listFilter { margin-bottom: 10px; }

h2.resourceSubheader { margin-top: 40px; }

.resourceFull.resourceWebsite .websitePrint { display: none; }

@media screen and (max-width: 1250px) { 
    .resourceCategoryLink { width: calc(50% - 30px); }
}

@media screen and (max-width: 850px) {
    .resourceCategoryLink { width: calc(100% - 30px); }
}

@media screen and (max-width: 650px) { 
    .resourceSearch select { width: 100%; margin: 0 0 20px; }
    .resourceSearch input[type="submit"] { margin: 0 0 20px; }
}

/* Forms */
/* Forms */
#contactForm ol { margin: 0; list-style-type: none; padding: 0; }
#contactForm ol label { display: block; font-weight: 700; }
#contactForm ol li .checkboxGroup { margin-bottom: 0.5em; }
#contactForm ol input[type="text"], #contactForm ol input[type="email"], #contactForm ol input.form-input { font-family: 'Work Sans', sans-serif; font-size: 18px; width: 100%; padding: 5px; border: 1px solid rgb(209,213,219); margin-bottom: 1em; box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
#contactForm ol input[type="submit"] { display: block; width: 150px; font-family: 'Work Sans', sans-serif; font-size: 18px; color: #FFFFFF; text-align: center; border: 0; background: #8547FF; padding: 10px 0; margin: 1.5em 0 0; cursor: pointer; }
#contactForm ol select { font-family: 'Work Sans', sans-serif; font-size: 18px; width: 100%; padding: 5px; border: 1px solid #BDBCCB; margin-bottom: 1em; }
#contactForm ol textarea { font-family: 'Work Sans', sans-serif; font-size: 18px; width: 100%; padding: 5px; border: 1px solid #BDBCCB; margin-bottom: 1em; }

#contactForm li.width50 { width: 49%; float: left; margin-right: 1%; }
#contactForm li.width40 { width: 39%; float: left; margin-right: 1%; }
#contactForm li.width33 { width: 32.3%; float: left; margin-right: 1%; }
#contactForm li.width30 { width: 29%; float: left; margin-right: 1%; }
#contactForm li.width25 { width: 24%; float: left; margin-right: 1%; }
#contactForm li.width20 { width: 19%; float: left; margin-right: 1%; }
#contactForm li.width50.right { width: 50%; margin-right: 0%; }
#contactForm li.width40.right { width: 40%; margin-right: 0%; }
#contactForm li.width33.right { width: 33.3%; margin-right: 0%; }
#contactForm li.width30.right { width: 30%; margin-right: 0%; }
#contactForm li.width25.right { width: 25%; margin-right: 0%; }
#contactForm li.width20.right { width: 20%; margin-right: 0%; }
#contactForm hr { margin-block-start: 10px; }

@media screen and (max-width: 600px) {
  #contactForm li.width50, #contactForm li.width40, #contactForm li.width33, #contactForm li.width30, #contactForm li.width25, #contactForm li.width20, #contactForm li.width40.right, #contactForm li.width33.right, #contactForm li.width30.right, #contactForm li.width25.right, #contactForm li.width20.right { width: 100% !important; margin: 0 !important; float: none; }
}

/* Filters */
#myBtnContainer.filterContainer { margin: 20px -2.5px; }
#myBtnContainer.filterContainer b { display: inline-block; margin-left: 2.5px; }
#myBtnContainer.filterContainer .btn { display: inline-block; margin: 2.5px; background: #707070; padding: 2px 10px; cursor: pointer; }
#myBtnContainer.filterContainer a.btn { color: #FFFFFF; }
#myBtnContainer.filterContainer .btn:hover { background: #333333; color: #FFFFFF !important; }
#myBtnContainer.filterContainer .btn.activebtn, #myBtnContainer.filterContainer .btn.activebtn:hover { background: #333333; color: #FFF; font-weight: 700; }

.listHidden { display: none !important; }
.filterDiv { display: none; }
.show { display: block; }

/* Footer */
footer { background: #707070; width: 100%; padding: 10px 0; color: #FFFFFF; }
#credit .container { width: calc(100% - 40px); max-width: 1440px; margin: 0 auto; font-size: 13px; line-height: 30px; display: flex; }
#credit .copyright { width: calc(100% - 125px); text-align: left; }
#credit .poweredBy { width: 125px; text-align: right; }
#credit a, #credit a:hover { color: #FFFFFF; text-decoration: none; }
#credit img { height: 30px; width: auto; margin: 0 0 0 10px; vertical-align: middle; border: none; }

/* Print Styles */

@media print { 
    a { color: #000000; }
    #standardPage { padding-top: 0; padding-bottom: 0; }
    .sectionParent a { padding: 0; }
    footer, .standardPageIntro, .resourceSearch, .allCategories, .filterContainer, h1 a, input[type="text"].fullSearch { display: none; }
    .resource { break-inside: avoid; border: none; }
    .resource h2 { background: none; padding: 5px 0; }
    .resource h2 a { display: none; }
    .resourceDetails { margin: 0; border-bottom: none; }
    .resourceInfo { padding: 0; }
    .resourceInfo.resourceFile { display: none; }
    .resourceIcon { display: none; }
    .resourceFull { width: 100%; }
    .resourceFull.resourceWebsite a { display: none; }
    .resourceFull.resourceWebsite .websitePrint { display: inline; text-decoration: underline; }
    .resourceOtherCategories { display: none; }
    .pageContent p:last-child { display: none; }
}
