/* ------------------------------------------------------------------ 
   OxLaw Content
   ------------------------------------------------------------------ */
   
/* following styles for autocomplete used to be in default.css, but no longer */

.t-autocomplete-menu {
    z-index: 9999;
	/* seems that IE doesn't want to position this correctly so just forcing the top to always be in the same spot for all. */
    top: 30px !important;
    left: auto !important;
    right: 39px;
}

.t-autocomplete-menu ul {
    background-color: #eeeeee;
	border: 0px outset #CC9933;
	font-size: 12px;
	font-weight: normal;
    line-height: 14px;
    overflow: auto;
    margin:0;
    padding: 10px;
}

.t-autocomplete-menu li {
    border-bottom: 1px solid black;
    color: #333333;
    cursor: pointer;
    list-style-type: none;
    margin: 0 0 7px 0;
    padding: 0;
}

.t-autocomplete-menu li.selected {
    color: #134EA4;
    font-weight: bold;
}


/* override for when hit highlighting turned off */
#readPanel.hhOff .hi { background-color: inherit; color: inherit; padding:0; font-weight:normal; }
#readPanel.hhOff h1 .hi,
#readPanel.hhOff h2 .hi,
#readPanel.hhOff h3 .hi,
#readPanel.hhOff h4 .hi,
#readPanel.hhOff h5 .hi { font-weight:bold; }

/*Author: Kalen J. Turner*/
/*Ticket: #1652 on ouplawprogramme Trac: h1-h4 should use the following CSS settings, provided by OUP (with the exception 
/*        of substituting our variable name for hard-coded version of #266162), so that there is*/
/*        differentiation between the heading levels */
#readPanel h1 {
	margin: 1.5em 0 0.5em 0;
	color: #22366f;
	font-size: 1.3em;
	line-height: 1.3em;
	font-weight: bold;
}

#readPanel h2 {
	color: #22366f;
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.25em;
	padding: 0em;
	margin: 1.5em 0 0.5em 0;
}

#readPanel h3 {
	color: #22366f;
	font-size: 1.05em;
	line-height: 1.25em;
	font-weight: bold;
	font-style: italic;
	margin: 1.5em 0 0.5em 0;
}

#readPanel h4 {
	color: #22366f;
	font-size: 1.05em;
	line-height: 1em;
	font-weight: normal;
	margin: 1.5em 0 0.5em 0;
}

#readPanel h5 {
	color: #22366f;
	font-size: 0.9em;
	line-height: 1.25em;
	font-weight: bold;
	font-style:italic;
	margin: 1.5em 0 0.5em 0;
}

#readPanel .tocHeader h3 { font-size:1.5em; font-weight:normal; }
#readPanel .citedSubGrp h4 { font-style:italic; }

#readPanel .factsHeldFooter { margin-bottom:1em; }
#readPanel .factsHeldFooter dl.reporters dt { display:inline; font-weight:bold; }
#readPanel .factsHeldFooter dl.reporters dd { display:inline; margin-left:0; }
#readPanel .factsHeldFooter dl.reporters dd:before { content:" "; }

.enumerator { margin-top:1em; }
#readPanel .enumerator { color: #22366f; font-weight:bold; }


/* #readPanel .customEnumerator { list-style:none; } */
#readPanel .customEnumerator .enumerator { font-weight:normal; }
#readPanel .customEnumerator .enumerator:before,
#readPanel .customEnumerator .enumerator:after { content: ""}
#readPanel .customEnumerator a:not(.refArticle):before,
#readPanel .customEnumerator a:not(.refArticle):after { content: " "; }
/* 1742 OUP-1052 */
#readPanel .customEnumerator a.localReference:before,
#readPanel .customEnumerator a.localReference:after { content: ""; }

/* Ticket: OUP-1053 / 1745 on the OUPLawProgramme Trac ticket */
/* Objective: Prevent additional spaces before and after citatorlink links */
#readPanel .customEnumerator a.citatorlink:not(.refArticle):before,
#readPanel .customEnumerator a.citatorlink:not(.refArticle):after { content: ""; }

ol.customEnumerator { margin: 1em 1em 1em 2em; }
ol.customEnumerator li { margin: 0em 0em 0.5em 0em; }



#readPanel .partialTranslation { background-color: #e2e2e2; }

/* Headnotes */
.headNote { 
	border-bottom:1px solid #CCD0D3; 
	margin-bottom:1.5em; 
	padding-bottom:1.25em; 
	page-break-after:always; 
	font-size:0.875em;
	line-height:1.35em;
}
.headNote dl { }
.headNote dt { font-weight:bold; display:inline; margin-top:1em; margin-right:.2em; }
.headNote dd { display:inline; margin-left:0; }
.headNote dd:before { content:";\00A0"; }
.headNote dt + dd:before { content:" "; }

.headNote dl.lawPartiesMain dt { width: 3.9em; }
.headNote dl.lawPartiesMain dd:before { content:"" }
.headNote dl.lawPartiesMain dd.lawPartyTwo { display: block; margin-left: 3.9em; }
.headNote dl.coreIssues dd:before { content:"" }

.headNote .callout { background-color:#eeeeee; padding-top:1px; padding-bottom:10px; margin-bottom:1.5em; }
.headNote .callout dl { padding:0 20px; margin: 0 0 1em; }
.headNote .callout dl:first-child { padding-top:18px; }

.headNote dl.coreIssues dd {
	margin-bottom: 0.5em;
	display: list-item;
    list-style-type: decimal;
    list-style-position: inside;
}

/* ------------------------------------------------------------------ 
  Section Controls - Prev/Next within Index Cards
   ------------------------------------------------------------------ */

#section-controls {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 0 6px;
	height: 20px;
    font-size: 0.8em;
	font-weight: bold;
	color:#22366f;
}
#section-controls span { color: #bfbfbf; } /* Not hyperlinked state */



/* metadata in index card */
div.bibliography dl.metadata.citations dd.metadataValue.extra {
	display: block;
	margin-left: 5.5em;
}

.pageBreakBefore { page-break-before: always; }

/* don't show adv search link, unless logged in */
.unauthenticated .advSearchOptions {
    display: none;
}

/* hit highlighting toggle */
#hhToggleForm {
    display: inline-block;
    float: left;
    position: relative;
    left: 58%;
}



div.chunklink {
    margin: 0 0 1em;
    font-weight: bold;
}




/* ------------------------------------------------------------------ 
  #593 - double bullets in lists
   ------------------------------------------------------------------ */
ul { list-style: none }
ol { list-style: none }

/* ------------------------------------------------------------------ 
  #1060 - turning off Citation Export Tool
   ------------------------------------------------------------------ */
div.pageLinks ul.actions li.cite { display: none; }   

.newsArticle ul { list-style: disc; }

#usageLoggingDiv {
  display: none;
}

.oupRefId { font-size: 0.9em; }

/* ------------------------------------------------------------------ 
  Figure Groups
   ------------------------------------------------------------------ */
.figureGroup .image {
    float: left;
    margin: 3px 20px 20px 0;
}

.figureGroup .links a {
    padding-left: 12px;
    background: url("../img/blue-arrow.png") no-repeat left center;
    text-decoration: underline;
}

.figureGroup .caption {
    clear: both;
}

/* ------------------------------------------------------------------ 
  Further Commentary
  
  ++ elements with these classes generated by oxlaw-case.xsl
   ------------------------------------------------------------------ */
#readPanel .furtherCommentary h1 {
	font-size: 1em;
    font-weight: bold;
    line-height: 1.25em;
	margin: 1.5em 0 0.5em;
}

#readPanel .furtherCommentary ul {
    margin: 0 1em 1em 0em;
}

/* ------------------------------------------------------------------ 
  Amendments and Extracts
  
  ++ elements with these classes generated by oxlaw-common.xsl
   ------------------------------------------------------------------ */
.amendment {
	background-color:#EBEBEB;
	font-size:90%;
	margin:1em 0 1em 0;
	padding: 1em 1em 0.5em 1em;
}

#readPanel .amendment h1 {
    margin: 0em 0 0.5em;
}

#readPanel .amendment h2 {
    margin: 0em 0 0.5em;
}

.extract {
	font-size:90%;
	margin:1em 0 1em 0;
	padding: 1em 1em 0.5em 1em;
	border: 1px solid #CCD0D3;
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
}

.extract .div1 .div2 {
	margin-left: 2em;
}

/* ------------------------------------------------------------------ 
  Index Items
  
  ++ elements with these classes generated by xhtml2fo.xsl
   ------------------------------------------------------------------ */
   
.indexItemLevel1 span.indexHeadword {
	font-weight: bold;
}

.indexItemLevel1 {
	font-weight: normal;
}

.indexItemLevel1 a {
	font-weight:normal;
}

.indexItemLevel2, .indexItemLevel3, .indexItemLevel2 span.indexHeadword, .indexItemLevel3 span.indexHeadword {
	font-weight:normal;
	margin:0 0 0 1.5em;
}

.indexItemLevel1 a:before {
    content: " ";
}

/* ------------------------------------------------------------------ 
  Book Content
   ------------------------------------------------------------------ */
.BookContent p, .Bookcontent p {
    margin: 0 0 0.5em 0;
}
.BookContent .title > p, .Bookcontent .title > p {
	margin: 0 0 0.5em 0;
}

/* ------------------------------------------------------------------ 
  Miscellaneous Matter
  
  ++ elements with these classes generated by oxlaw-common.xsl
   ------------------------------------------------------------------ */
.miscMatter p {
	margin: 0.5 0 0 0;
}
.miscMatter li {
	margin: 0 0 1em 0;
}
.miscMatter .sc {
	text-transform: capitalize;
}
.miscMatter .sc:after {
    content: " ";
	text-transform: capitalize;
}

/* OUP-1053/1745 on the OUPLawProgramme Trac: removed rules that were adding " " before and after #readPanel .miscMatter a */

/* #1423 make <sc> elements in entry view small-caps */
#readPanel .sc {
	font-variant: small-caps;
}

/* #1155 make the "more news" link after rss feed go to bottom of list of feed items */
#rssItems + .more {
	clear: left;
}

/* Citator reference panel styles - adapted from: http://design.us.oup.com/matttest/law/ */
#readPanel .citatorRefPanel {
	display:block;
	line-height: 1em;
    margin-bottom: 1em;
    margin-top: 1em;
    font-weight: normal;
    font-size: 14px;
}
#readPanel .citatorRefLinks {
	display: block;
	border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-image: url(../img/citator-logo.svg);
    background-position: 5px 5px;
    background-repeat: no-repeat;
    -webkit-background-size: 20px;
    background-size: 20px;
    padding-left: 33px;
}
#readPanel .citatorRefLinks a {
	text-decoration: none;
    display: inline-block;
    margin-right: 0px;
    padding: 8px;
    color: #333;
}
#readPanel .citatorRefLinks a.active {
    background-color: #ccc;
}
#readPanel .citatorRefLinks a:hover, 
#readPanel .citatorRefLinks a:focus {
    background-color: #eee;
}
#readPanel .citatorRefLinks a:active {
    background-color: #ccc;
}
#readPanel .citatorRefLinks a.active:hover, 
#readPanel .citatorRefLinks a.active:focus {
    background-color: #ccc;
}

#readPanel .citatorRefList {
	display:block;
	border-bottom: 1px solid #ccc;
	padding-left: 0.5em;
    padding-right: 0.5em;
}
#readPanel .citatorRefList .refRoot,
#readPanel .citatorRefList .refProv
 {
    display: block;
	color: #333;
	line-height: 1.4em;
    margin: 10px 0 10px 0;
}

#readPanel .citatorRefList .refProv {
	margin-left: 1em;
}

.citatorRefList .sourceButton {
    padding-left: 3px;
    padding-right: 3px;
}
.citatorRefList .sourceButton:hover, 
.citatorRefList .sourceButton:focus {
    text-decoration: none;
}

/* #1543 */
div.tdata table p {
	line-height: 1.3em;
}

/* #1651 */
span[lang=ita], span[lang=lat] {
	font-style: italic;
}

#utilityNav a[href="#utilityNav"]
{
	display:none;
}

#loginNav a.ico-user
{
	display:none;
}

#columnOne div.resizer-controls
{
	display:none;
}

#columnOne
{
	clear:left;
}
.ui-dialog
{
    top:auto;
}
.search-entry-whole-jurisdiction
{
    font-weight:bold;
}
.collapsed .initially-hidden
{
    display:none;
}

#shareLinkModalBody div { margin: 12px 0; }
#shareLinkModalBody textarea { margin-bottom:15px; resize:none; }
#shareLinkModalBody a, #shareLinkModalBody button { display:inline-block; padding:7px; border-radius:3px; background-color:#22366f; color:#eeeeee; font-weight:bold; font-size:12px; text-decoration:none; border-width:0; }
#shareLinkModalBody h2 { margin-top:0; }

[data-error-block-for] {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.visibility-hidden {
    visibility:hidden;
}

[data-role="shareLinkCopyConfirmation"] {
    display:block;
    position:absolute;
    bottom:50px;
    background-color:#bebebe;
    color:black;
    width:100%;
    border-radius:3px;
    text-align:center;
    padding-top:5px;
}

[data-role="shareLinkCopyConfirmation"]::after {
    transform:rotate(45deg);
    position:relative;
    display:block;
    background-color:#bebebe;
    height:10px;
    bottom:-5px;
    width:10px;
    margin:auto;
    content:"";
}

.fade-out-supported {
    opacity:1;
    transition: opacity .5s ease-out;
}

.fade-out {
    opacity:0;
}

.fade-out-hidden {
    z-index:-1;
}

.position-relative {
    position:relative;
}

.width-fit-content {
    width:fit-content;
}

a[data-afl-trigger] {
    display:none;
}

html:not([data-debug-enabled]) .exception-container {
    display:none;
}

.micromodaljs-modal-close-button .c-IconButton {
    padding: 7px;
    top: 6px;
    left: 0px;
}