:root {
	/*	--SphereSearchBg: rgb(216,211,241);
		--SphereSearchColor: rgb(193,184,239);*/
	--SphereSearchBg: #d3eae6;
	--SphereSearchColor: #00a585;

	--MISMASearchBg: rgb(247,216,205);
	--MISMASearchColor: #C81619;

	--MERSSearchBg: rgb(217,235,224);
	--MERSSearchColor: rgb(1, 139, 62);

	--CPMSSearchBg: #d3e7f8;
	--CPMSSearchColor: #113454;

	--LEGSSearchBg: rgb(253 244 229);
	--LEGSSearchColor: #985E00;

	--INEESearchBg: rgb(217,223,235);
	--INEESearchColor: #002D62;

	--HISSearchBg: rgb(255 230 250);
	--HISSearchColor: rgb(107, 55, 96);

	--CAMPSearchBg: #ffe8d0;
	--CAMPSearchColor: #e0821b;

	--SEADSSearchBg: #D9D8D9;
	--SEADSSearchColor: #DB6D27;

	--ULSSearchBg: #f3e6e1;
	--ULSSearchColor: #F3642C;

	--searchSecTitlecolor : black;
}
.result_count_selector
{
	display: flex;
	font-size: 1.2rem !important;
}
.header-search-div h2
{
	font-size: 2rem  !important;
	margin-bottom: 1rem  !important;
}
.search_results_div, .header-search-div{
	max-width: 850px;
	margin: auto;
}
.filter_btns
{
	display: inline-flex;
    border: 1px solid #ababab !important;
    border-radius: 5px;
}
.search_algolia_powered
{
	text-align: right;
    padding: 0px 10px;
	color: #2c2e2f !important;
}
.search_algolia_powered img
{
	width:65px;
}
.white_bg_btn_filter.selected
{
	background: var(--separatorLNClr);
}
.filter_btns [data-type="relevance"]
{
	border-right: 1px solid #ababab !important;
    border-radius: 5px 0px 0px 5px;
}
.btn-primary:focus
{
	color: #000000b5;
}
.filter_btns [data-type="book"]
{
	border-radius: 0px 5px 5px 0px;
}
.filter_results
{
	display: flex;
}

.white_bg_btn_filter
{
	background-color: white;
    color: #000000b5;
	border:0px;
}
.matchitem em {
    font-style: inherit;
    background: yellow;
}
a.matchitem_link * {
    font-size: var(--generalFontSize) !important;
	color:black !important;
}
a.matchitem_link boxed-text[content-type='standard']
{
	border: 0;
    padding: 0;
	background: none !important;
}


/*start --- general style for search items*/
.mapped_theme_title a {
    color: var(--darkColor) !important;
}
.content_area .mpst a{

    color: var(--darkColor) !important;
}
.content_area .matchitem {
    background-color: var(--LightestColor);
}
body:not([data-lang="ar"]) .content_area .matchitem {
    border-left: 4px solid var(--darkColor);
}
body[data-lang="ar"] .content_area .matchitem {
    border-right: 4px solid var(--darkColor);
}
/*end --- general style for search items*/

/*start --- Sphere style for search items*/
.mapped_theme_title.Sphere a {
    color: var(--SphereSearchColor) !important;
}
.content_area .mpst.Sphere a{

    /*color: var(--SphereSearchColor);*/
	color: var(--searchSecTitlecolor) !important;
}
.content_area .matchitem.Sphere {
    background-color: var(--SphereSearchBg);
}
body:not([data-lang="ar"]) .content_area .matchitem.Sphere {
    border-left: 4px solid var(--SphereSearchColor);
}
body[data-lang="ar"] .content_area .matchitem.Sphere {
    border-right: 4px solid var(--SphereSearchColor);
}
/*end --- Sphere style for search items*/

/*start --- MISMA style for search items*/
.mapped_theme_title.MISMA a {
    color: var(--MISMASearchColor) !important;
}
.content_area .mpst.MISMA a{

    color: var(--MISMASearchColor) !important;
}
.content_area .matchitem.MISMA {
    background-color: var(--MISMASearchBg);
}
body:not([data-lang="ar"]) .content_area .matchitem.MISMA {
    border-left: 4px solid var(--MISMASearchColor);
}
body[data-lang="ar"] .content_area .matchitem.MISMA {
    border-right: 4px solid var(--MISMASearchColor) !important;
}
/*end --- MISMA style for search items*/

/*start --- MERS style for search items*/
.mapped_theme_title.MERS a {
    color: var(--MERSSearchColor) !important;
}
.content_area .mpst.MERS a{

    color: var(--MERSSearchColor) !important;
}
.content_area .matchitem.MERS {
    background-color: var(--MERSSearchBg);
}
body:not([data-lang="ar"]) .content_area .matchitem.MERS {
    border-left: 4px solid var(--MERSSearchColor);
}
body[data-lang="ar"] .content_area .matchitem.MERS {
    border-right: 4px solid var(--MERSSearchColor);
}
/*end --- MERS style for search items*/

/*start --- CPMS style for search items*/
.mapped_theme_title.CPMS a {
    color: var(--CPMSSearchColor) !important;
}
.content_area .mpst.CPMS a{

    color: var(--CPMSSearchColor) !important;
}
.content_area .matchitem.CPMS {
    background-color: var(--CPMSSearchBg);
}
body:not([data-lang="ar"]) .content_area .matchitem.CPMS {
    border-left: 4px solid var(--CPMSSearchColor);
}
body[data-lang="ar"] .content_area .matchitem.CPMS {
    border-right: 4px solid var(--CPMSSearchColor);
}
/*end --- CPMS style for search items*/

/*start --- LEGS style for search items*/
.mapped_theme_title.LEGS a {
    color: var(--LEGSSearchColor) !important;
}
.content_area .mpst.LEGS a{

    color: var(--LEGSSearchColor) !important;
}
.content_area .matchitem.LEGS {
    background-color: var(--LEGSSearchBg);
}
body:not([data-lang="ar"]) .content_area .matchitem.LEGS {
    border-left: 4px solid var(--LEGSSearchColor);
}
body[data-lang="ar"] .content_area .matchitem.LEGS {
    border-right: 4px solid var(--LEGSSearchColor);
}
/*end --- LEGS style for search items*/

/*start --- INEE style for search items*/
.mapped_theme_title.INEE a {
    color: var(--INEESearchColor) !important;
}
.content_area .mpst.INEE a{

    color: var(--INEESearchColor) !important;
}
.content_area .matchitem.INEE {
    background-color: var(--INEESearchBg);
}
body:not([data-lang="ar"]) .content_area .matchitem.INEE {
    border-left: 4px solid var(--INEESearchColor);
}
body[data-lang="ar"] .content_area .matchitem.INEE {
    border-right: 4px solid var(--INEESearchColor);
}
/*end --- INEE style for search items*/

/*start --- HIS style for search items*/
.mapped_theme_title.HIS a {
    color: var(--HISSearchColor) !important;
}
.content_area .mpst.HIS a{

    color: var(--HISSearchColor) !important;
}
.content_area .matchitem.HIS {
    background-color: var(--HISSearchBg);
}
body:not([data-lang="ar"]) .content_area .matchitem.HIS {
    border-left: 4px solid var(--HISSearchColor);
}
body[data-lang="ar"] .content_area .matchitem.HIS {
    border-right: 4px solid var(--HISSearchColor);
}
body.HIS .sidebar-nav .nav-link:not(.fm) img {
    background-color: #6B3760;
    border-radius: 5px;
    padding: 5px;
}
/*end --- HIS style for search items*/

/*start --- CAMP style for search items*/
.mapped_theme_title.CAMP a {
    color: var(--CAMPSearchColor) !important;
}
.content_area .mpst.CAMP a{

    /*color: var(--CAMPSearchColor);*/
	color: var(--searchSecTitlecolor) !important;
}
.content_area .matchitem.CAMP {
    background-color: var(--CAMPSearchBg);
}
body:not([data-lang="ar"]) .content_area .matchitem.CAMP {
    border-left: 4px solid var(--CAMPSearchColor);
}
body[data-lang="ar"] .content_area .matchitem.CAMP {
    border-right: 4px solid var(--CAMPSearchColor);
}
/*end --- CAMP style for search items*/

/*start --- SEADS style for search items*/
.mapped_theme_title.SEADS a {
    color: var(--SEADSSearchColor) !important;
}
.content_area .mpst.SEADS a{

    color: var(--SEADSSearchColor) !important;
}
.content_area .matchitem.SEADS {
    background-color: var(--SEADSSearchBg);
}
body:not([data-lang="ar"]) .content_area .matchitem.SEADS {
    border-left: 4px solid var(--SEADSSearchColor);
}
body[data-lang="ar"] .content_area .matchitem.SEADS {
    border-right: 4px solid var(--SEADSSearchColor);
}
/*end --- SEADS style for search items*/

/*start --- ULS style for search items*/
.mapped_theme_title.ULS a {
    color: var(--ULSSearchColor) !important;
}
.content_area .mpst.ULS a{

    color: var(--ULSSearchColor) !important;
}
.content_area .matchitem.ULS {
    background-color: var(--ULSSearchBg);
}
body:not([data-lang="ar"]) .content_area .matchitem.ULS {
    border-left: 4px solid var(--ULSSearchColor);
}
body[data-lang="ar"] .content_area .matchitem.ULS {
    border-right: 4px solid var(--ULSSearchColor);
}
/*end --- ULS style for search items*/


.mapped_theme_title a {
    font-size: 1.5rem;
    font-weight: 800;
}
.content_area .mpst a{

	text-decoration: underline;
}

.content_area .matchitem {
    padding: 1rem 1rem;
    margin-bottom: 0.5rem;
}
/*.content_area
{
	margin: auto;
}
@media (min-width: 768px) {
	.content_area
	{
		max-width: 75%;
	}
}*/
.item_popdown
{
	padding-bottom: 10px;
}
.content_area .mpst
{
	font-size: 1rem;
	margin: 1rem 0;
}
.content_area .matchitem .matchitem_link
{
	color: black;
	text-decoration: none;
	display:block;
}
.content_area .matchitem .matchitem_link:hover
{
	text-decoration: none !important;
}
.card-title
{
	/*padding: 1rem;*/
    /*text-align: center;*/
	flex:1;
	padding:0px !important;
}
.content_area .marked_match
{
	background: yellow;
}
.no_match_error
{
	color: red;
}
.search_parameters
{
	background-color: var(--sidePanelBgColor);
}
.matchitem_link p
{
	margin: 0;
}
.matchitem_link> li
{
	list-style-type: none;
}
.search_count_message
{
	font-size: 1.2rem;
	color: var(--darkColor);
}



html {
	scroll-behavior: smooth;
}
.action-menu li.active > a {
	color: var(--darkColor);
	font-weight: 500;
	border-color: var(--darkColor);
}
.action-menu a {
	text-decoration: none;
	display: flex;
	padding: .125rem 0;
	color: #666;
	transition: all 50ms ease-in-out; 
	border-left: 3px solid #eae8e8;
	padding-left: 5px;
}
span.bkcode {
    flex: 1;
}
.action-menu a:hover,
.action-menu a:focus {
	color: black;
}

.action-menu ul, .action-menu ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
.floating-action-menu.active .bi-check-circle, .floating-action-menu:not(.active) .bi-x-circle
{
	display: none;

}
div.floating-action-menu
{
	top: 120px;
	position: fixed;
}
body[data-lang='ar'] div.floating-action-menu
{
	left:0;
}
body:not([data-lang='ar']) div.floating-action-menu
{
	right: 0px;
}
div.floating-action-menu > .action-menu {
	visibility: hidden;
	transform: translateY(-65px);
	opacity: 0;
	max-height: 0;
	overflow: hidden;

	transition: all 300ms linear;

	padding: 1rem;
	background-color: white;
	box-shadow: 0 5px 11px 0 rgb(0 0 0 / 18%), 0 4px 15px 0 rgb(0 0 0 / 15%);
}
div.floating-action-menu.active > .action-menu {
	visibility: visible;
	transform: translate(0);
	opacity: 1;
	padding-bottom: 5px;
	max-height: 1000px;
}

div.floating-action-menu > .action-button > .btn-floating {
	transition: all 500ms linear;
	color: black;
	position: relative;
	z-index: 1;
	display: inline-block;
	padding: 10px !important;
	margin: 10px;
	overflow: hidden;
	vertical-align: middle;
	cursor: pointer;
	-webkit-box-shadow: 0 5px 11px 0 rgb(0 0 0 / 18%), 0 4px 15px 0 rgb(0 0 0 / 15%);
	box-shadow: 0 5px 11px 0 rgb(0 0 0 / 18%), 0 4px 15px 0 rgb(0 0 0 / 15%);
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	text-decoration: none;
	background: #ffc107;
}
div.floating-action-menu.active > .action-button > .btn-floating {
	background-color: green;
	border-color: #dc3545;
	color: white !important;
}
div.floating-action-menu.active > .action-button > .btn-floating:hover {
	background-color: green;
	border-color: #bd2130;

}

.search_results_display_container
{
	margin-top:40px;
	/*padding-top:20px;*/
}
h1, h2, h3, h4, h5, h6
{
	font-size: 1.2rem;
}
.matchitem_link ul>li
{
	/*display:flex;*/
}
.matchitem_link ul>li>.label
{
	width: 1.5rem;
}

.matchitem_link ul:not([list-type ='disc']):not([list-type='square']):not([list-type='circle'])>li, .matchitem_link ol:not([list-type='lower-alpha']):not([list-type='upper-alpha']):not([list-type='lower-roman']):not([list-type='upper-roman']):not([list-type='decimal'])>li
{
	display:table-row;
    align-items: baseline;
}
.matchitem_link ul[list-type='simple']
{
	list-style-type: none;
}

.matchitem_link li>span+p
{
	display: table-cell;
	padding-left:1rem;
}
.matchitem_link li>span
{
	display: table-cell;
}
.item_provenance
{
	margin-bottom: 0px !important;
    margin-top: 1rem !important;
    font-size: 1rem !important;
}
.item_provenance a
{
	color: #666;
}
	
.chapter_content .matchitem_link *, .chapter_content .matchitem_link boxed-text>.title
{
	color: black !important;
	padding:0px !important;
}
.chapter_content .matchitem_link *
{
	
	margin:0px !important;
}