/*!
 * Madison Metro School District - custom css changes for Finalsite - www publication BPA theme
 * Updates By: Brad Mackey - bmackey@madison.k12.wi.us
 * 2022-10-28
 */
 
/* Added back secondary card color which was missing from bpa code */
.card-secondary.fsContent, body.fsHasTheme3 .card-secondary.fsContent {
  background-color: #8f4497;
}

/* tab and accordion color correction */
.fsPanelGroup .fsTabsNav li.fsStateSelected a {
 background-color:#8f4497 !important;
}

.fsTabs .fsTabsNav li.fsStateSelected a:before {
 border-top:8px solid #8f4497 !important;
}

.fsAccordion .fsPanel.fsStateOpen>header h2 a,
.fsTabs .fsPanel.fsStateOpen>header h2 a {
 background:#8f4497 !important;
}

/* Change to filter box to match height of search box */
.fsCategoryFilter.bpa-post-filter-1 .category_trigger {
 line-height: 60px;
}

/* custom post color options (school colors) */  
.fsGrid.bpa-post-filter-1.dark article.post-green:before {
 background-color:#00562c
}

.fsGrid.bpa-post-filter-1.dark article.post-red:before {
 background-color:#861a1d
}

.fsGrid.bpa-post-filter-1.dark article.post-purple:before {
 background-color:#4c3889
}

.fsGrid.bpa-post-filter-1.dark article.post-blue:before {
 background-color:#293491
}

/* button style correction on Publication pages */
.fsStyleUpdateButton {
 background-color:#007faa !important;
 color: #fff;
}

.fsStyleUpdateButton:hover {
 background-color:#fff !important;
 color: #007faa;
}

/* Removed some underline styles on text for non link items */
body:not(.fsComposeMode).publications-2 .fsPostElement.fsGrid article .fsCategory,
body:not(.fsComposeMode).publications-2 .fsPostElement.fsGrid article .fsDateTime {
 text-decoration:none;
}
body:not(.fsComposeMode).publications-2.pub2-home .top-stories article .top-story-caption .caption-inner .fsTitle:before {
 text-decoration:none;
}
body:not(.fsComposeMode).publications-2.post-page .fsCategories li.fsCategory {
 color:#9d9fa5;
 text-decoration:none;
}
body:not(.fsComposeMode).publications-2.pub2-home .issue-description .fsDescription:before {
 text-decoration:none;
}
body:not(.fsComposeMode).publications-2 .related-articles .fsElementTitle {
 text-decoration:none;
}
body:not(.fsComposeMode).publications-2 .publication2-search .fsStyleSearchField {
 color:#656567;
}

/* added border around category drop down for secondary pages */
body:not(.fsComposeMode).publications-2 .pub-categories .fsNavLevel1 {
 border: 1px solid #636363;
}

body:not(.fsComposeMode).publications-2 #fsHeader .fsSlideshow.issue-browser>.fsElementContent {
 border: 1px solid #636363;
}

/* change top story background opacity */
body:not(.fsComposeMode).publications-2.pub2-home .top-stories article .fsThumbnail:before {
	background:radial-gradient(circle,hsla(0,0%,0%,0) 0,rgba(0,0,0,0) 0%)
}

@media (min-width:700px) {
	body:not(.fsComposeMode).publications-2.pub2-home .top-stories article .top-story-caption {
		background:linear-gradient(0deg,rgba(0,0,0,0) 0%,hsla(0,0%,0%,0));
	}
}

@media (min-width:700px) {
	.caption-inner {
		background: linear-gradient(90deg, transparent 38%, rgba(0, 0, 0, 0.5) 38%);
		padding: 20px;
	}
}

@media (min-width:700px) and (max-width:999px) {
	.caption-inner {
		background: none;
		background-color: rgba(0, 0, 0, 0.5);
		padding: 20px;
	}
}

/* Change to fix search button on BPA page - Publication fixes moved to new stylesheet */
.fsElementToolsSearchButton.fsStyleUpdateButton {
	background-color: #555555 !important;
}

.fsStyleUpdateButton:hover {
	box-shadow: 0 0 0 0 hsla(0,0%,100%,0);
}