:root {
    --note-admonition-icon: url('/sfsites/c/resource/BDISO_Danger');
    --tip-admonition-icon: url('/sfsites/c/resource/BDTip');
    --important-admonition-icon: url('/sfsites/c/resource/BDISO_Danger');
    --notice-admonition-icon: url('/sfsites/c/resource/BDISO_Notice');
    --warning-admonition-icon: url('/sfsites/c/resource/BDISO_Warning');
    --danger-admonition-icon: url('/sfsites/c/resource/BDISO_Danger');
    --caution-admonition-icon: url('/sfsites/c/resource/BDISO_Caution');
    --downloads-admonition-icon: url('/sfsites/c/resource/BDDownloads');
}

/* Apply smooth scrolling to anywhere in the article when clicking on a link to the same page. */
html {
    scroll-behavior: smooth;
}

/* Default spacing around all text line*/
div.section > p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
/* Space above all images and videos */
div.section.sub-topic > .mediaobject {
    margin-top: 1rem;
}
/* No space below image so caption is tight*/
div.mediaobject > img {
   	height: auto;
    margin-bottom: 0;
    max-width: 650px !important;  /* images cannot be greater than 650px */
    width: auto !important;  /* ensure aspect ratio */
}
    
@media screen and (max-width: 722px) {
	div.mediaobject > img {
        height: auto;
        max-width: 90% !important; /* once the screen is smaller than 722px, images can only be 90% width of their container (90% of 722 = 650) */
		width: auto !important;
    }
}

/* hide the glossary-definitions, we don't use them (Paligo bug?) */
div.glossary-definitions {
    display: none;
}

/* ensure that bold p's are "bold" */
p span.bold {
    font-family: 'GothamMedium', sans-serif;
}
    
p span.bold strong {
    font-weight: normal;
}

/* hide the "subtitle" (non-breaking space) element that Paligo inserts */
/*div > h2.subtitle {
    display: none;
}*/

/* Headings used by the article. */
div.outer-flex h2.title {
    font-size: 2.2rem;
    font-weight: bold;
    font-family: 'GothamBook', sans-serif;
    margin-top: 2rem;
    color: #363845;
}
    
div.outer-flex h3.title {
    font-size: 1.953rem;
	font-weight: bold;
	font-family: 'GothamBook', sans-serif;
    margin-top: 2rem;
    color: #363845;
}
    
div.outer-flex div.warning h3.title,
    div.outer-flex div.note h3.title,
    div.outer-flex div.important h3.title,
    div.outer-flex div.caution h3.title,
    div.outer-flex div.tip h3.title,
    div.outer-flex div.downloads-view h4.title {
    margin-top: 0;
}

/* set the scroll anchor to be where it's supposed to be */
div.outer-flex h2:target, div.outer-flex h3:target, div.outer-flex h4:target, div.outer-flex h5:target {
    scroll-margin-top: 100px;
}

div#top:target {
    scroll-margin-top: 500px;  /* overkill, workaround to ensure relative links to this ID brings you to top of page */
}

div.outer-flex h4.title {
    font-size: 1.563rem;
	font-weight: 500;
	font-family: 'GothamBook', sans-serif;
    margin-top: 2rem;
    color: #363845;
}

div.outer-flex h5.title {
    font-size: 1.25rem;
	font-weight: 400;
	font-family: 'GothamBook', sans-serif;
    margin-top: 2rem;
	color: #363845;
}

div.outer-flex h6.title {
    font-family: 'GothamBook', sans-serif;
    font-size: 14px;
    color: #363845;
}
/* Caption styling */
div.caption {
    font-style: italic;
    color: #696B78;
    font-size: 0.8rem;
    margin-top: 0rem;
    margin-bottom: 1rem;
    line-height: 1.5rem;
}
/* Don't let phrases word wrap*/
/* Commenting out per Ted - see PLD-1900 */
/* span.phrase {
    white-space: nowrap;
} */

/* Smaller text for footnote*/
div.footnote {
    font-size: 0.8rem;
}

/* PALIGO ADMONITIONS */
.caution, .important, .note, .notice, .tip, .warning, .downloads-view {
    border: 1px solid black;
    border-radius: 0.5rem;
    display: block;
    padding: 12px 18px 12px 80px;
    line-height: 1.4em;
    margin: 18px 0px 18px 0px;
    position: relative;
}
    
.caution, .important, .note, .notice, .tip, .warning {
    margin-left: 3% !important;
    margin-right: 3% !important;
}
            
/*.downloads-view {
    width: 91%;
    left: 0.8%;
	position: center;
}*/
            
.warning > *,
.note > *,
.important > *,
.caution > *,
.tip > *,
.downloads-view > * {
    margin-left: 0px;
    -webkit-margin-before: 0;
    padding-left: 0;
    padding-bottom: 0;
    padding-right: 40px;
}

.warning h3,
.note h3,
.important h3,
.caution h3,
.tip h3,
.downloads-view h4 {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 10px 30px 0px 0px;
    background-color: transparent;
    color: inherit;
    font-weight: 700;
    font-size: 1.563em;
    text-transform: capitalize;
}
    
.warning h3,
.note h3,
.important h3,
.caution h3,
.tip h3 {
    font-family: 'GothamMedium', sans-serif;
    text-transform: uppercase;
}
    
.caution h3.title,
.important h3.title,
.note h3.title,
.notice h3.title,
.tip h3.title,
.warning h3.title {
    white-space: nowrap;
}

.warning p,
.note p,
.important p,
.caution p,
.tip p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.note::before,
.tip::before,
.warning::before,
.caution::before,
.important::before,
.downloads-view::before {
    position: absolute;
    left: 20px;
    /*margin-top: 14px;*/
    padding-top: 10px;
    content: "";
    width: 40px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
}

.note::before {
    background-image: var(--notes-admonition-icon); /*url('/sfsites/c/resource/BDISO_Danger'); */
    color: #2ab27b;
}

.tip::before {
    background-image: var(--tip-admonition-icon); /*url('/sfsites/c/resource/BDISO_Danger');*/
    color: #3aa3e3;
    left: 12px;
    top: 0px;
    width: 60px;
}

.important::before {
    background-image: var(--important-admonition-icon); /*url('/sfsites/c/resource/BDISO_Danger');*/
}

.notice::before {
    background-image: var(--notice-admonition-icon); /*url('/sfsites/c/resource/BDISO_Notice');*/
    color: #3aa3e3;
}

.warning::before{
    background-image: var(--warning-admonition-icon); /* url('/sfsites/c/resource/BDISO_Warning');*/
    color: #ffb74d;
}

.warning.danger::before{
    background-image: var(--danger-admonition-icon); /*url('/sfsites/c/resource/BDISO_Danger');*/
    color: #ef5350;
}

.caution::before {
    background-image: var(--caution-admonition-icon); /*url('/sfsites/c/resource/BDISO_Caution'); */
    color: #2ab27b;
}
            
.downloads-view::before {
    background-image: var(--downloads-admonition-icon); /*url('/sfsites/c/resource/BDDownloads'); */
    color: #696B78;
}

.note {
    background-color: rgba(58, 163, 227, 0.08);
    border: 2px solid rgba(58, 163, 227, 1); 
}

.notice {
    background-color: rgba(58, 163, 227, 0.08);
    border: 2px solid rgba(58, 163, 227, 1); 
}

.tip {
    background-color: rgba(42, 178, 123, 0.08);
    border: 2px solid rgba(42, 178, 123, 1);                                                    
}

.warning {
    background-color: rgba(255, 183, 77, 0.08);
    border: 2px solid rgba(255, 183, 77, 1); 
}
                                    
.warning.danger {
    background-color: rgba(239, 83, 80, 0.05);
    border: 2px solid rgba(239, 83, 80, 1);                                                                     
}

.caution {
    background-color: rgba(255, 232, 26, 0.05);
    border: 2px solid rgba(255, 232, 26, 1);
}
            
.downloads-view {
    background-color: rgba(105, 107, 120, 0.05);
    border: 2px solid rgba(105, 107, 120, 1);          
}
            
.downloads-view h4 {
	padding-bottom: 2%;
}
            
.downloads-view p {
	padding-top: 1%;
    font-size: 1rem;
}
            
.downloads-view p a:hover {
	text-decoration: underline;
}
            
/* END PALIGO ADMONITIONS */
                                  
/* Set coolor of procedure numbers */
.procedure > li::before {
    color: black;
}
/* Article table styling */                                 
.informaltable.table-responsive td, th, tr {
	border: 1px solid rgba(105, 107, 120);
    line-height: 1.4em;
}
.table-responsive-contents.table td, th, tr {
	border: 1px solid rgba(105, 107, 120);
    line-height: 1.4em;
}

.informaltable.table-responsive p {
	margin-top: 0.5rem;
}
.table-responsive-contents.table p {
	margin-top: 0.5rem;
}

div.table-responsive p.title {
    margin-top: 0.5rem;
}
/* Space above and below tables */
.informaltable.table-responsive table {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Bold title heads */                                    
div.informaltable.table-responsive.table thead {
	font-weight: bold;
}

/* Make table header row light gray */
.informaltable.table-responsive table thead tr, .table.table-responsive-contents table thead tr {
    background: #F7F7F8;
}
/* All guilables bold */
span.guilabel {
    font-weight: bold;
}
/* Code blocks */
.programlisting {
    border: 0px;
    margin-left: 2rem
}
/*Inline images like icons should fit the height, and get shifted down a bit for alignment.*/
.inlinemediaobject {
    display: inline-block;
    height: 1rem;
    vertical-align: -0.275em;
}

.inlinemediaobject img:not([height]):not([width]) {
    height: 100%;
    width: auto;
}
/* Inline Code and Program listing styles*/
code, pre {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace
}

code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px
}

pre {
    display: block;
    padding: 0.8rem;
    margin: 1rem;
    font-size: 16px;
	line-height: 1.4;
    color: #333333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid black;
    border-radius: 4px
}

pre code {
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

pre, code.code {
    border: 1px solid black;
    white-space: pre-line;
}
                                                                                                                                        
/* ensure that links within code blocks aren't styled */
code a, code a:hover, code a:any-link, code a:link, code a:visited {
    all: inherit;
}

/* this has to be separate for some reason? */
code a:local-link {
    all: inherit;
}
                                                                    
code.code code.code {
	all: inherit;
}

/* Block quote styling */
blockquote {
    padding: 12px 22px;
    margin: 0 0 22px;
    font-size: 20px;
    border-left: 5px solid #eeeeee
}

blockquote ol:last-child, blockquote p:last-child, blockquote ul:last-child {
    margin-bottom: 0
}

blockquote .small, blockquote footer, blockquote small {
    display: block;
    font-size: 80%;
    line-height: 1.4;
    color: #777777
}

blockquote .small:before, blockquote footer:before, blockquote small:before {
    content: "\2014 \00A0"
}

.blockquote-reverse, blockquote.pull-right {
    padding-right: 16px;
    padding-left: 0;
    text-align: right;
    border-right: 4px solid #eeeeee;
    border-left: 0
}

.blockquote-reverse .small:before, .blockquote-reverse footer:before, .blockquote-reverse small:before, blockquote.pull-right .small:before, blockquote.pull-right footer:before, blockquote.pull-right small:before {
    content: ""
}

.blockquote-reverse .small:after, .blockquote-reverse footer:after, .blockquote-reverse small:after, blockquote.pull-right .small:after, blockquote.pull-right footer:after, blockquote.pull-right small:after {
    content: "\00A0 \2014"
}

/* Remove initial text for tables and images */
span.formal-label {
    display: none;
}                                                              

