﻿/********************** CSS Targeting HTML Elements Inside Dita-Content - Heretto Housed Dita Processed Through IGX Housed XSLT ***********************/

/**************** BLOCKQUOTE ****************/
/* Dita element is lq */
#dita-content blockquote {
  margin: 10px;
  padding-left: 25px;
  font-weight: 300;
}
/* Dita element is b inside an lq */
#dita-content blockquote b {
  font-weight: 900;
}
/* Longquotes */
#dita-content blockquote.lq {
  border-left: solid #003e74;
  padding-left: 0px;
}

#dita-content blockquote.lq {
  margin-bottom: 10px;
}

#dita-content .lq cite {
    justify-content: flex-start;
    padding-left: 15px;
    margin-bottom: 0px;
    font-size: 13px;
}

#dita-content .lq cite p{
      margin-bottom: 0px;
}

/* Quotes */
#dita-content blockquote .quote {
  font-size: 1.6rem;
  line-height: 2.4rem;
  padding-left: 15px;
  font-weight: 300;
  font-family: 'Roboto', sans-serif;
}
/* Policy Language */

#dita-content .policy-language cite {
    justify-content: flex-start;
    font-size: 12px;
}

#dita-content .policy-language cite p {
    margin-bottom: 0px;
}

#dita-content blockquote.policy-language p cite.SmallText,
#dita-content policy-language p cite.SmallText {
  margin: 10px;
  padding-left: 25px;
  text-align: left;
  display: inline !important;
}

#dita-content policy-language,
#dita-content blockquote.policy-language,
#dita-content blockquote.policy-language p {
  border-left: none;
}

#dita-content blockquote.policy-language,
#dita-content policy-language {
  font-family: Roboto Serif;
  background: #f7f7f7;
  padding: 10px 15px;
  margin: 5px 10px;
}

#dita-content blockquote.policy-language,
#dita-content policy-language,
#dita-content blockquote.policy-language > p {
  font-size: 1.45rem;
}

#dita-content blockquote.policy-language .primary,
#dita-content policy-language .primary {
  display: none;
}

/**************** CITE ****************/
/* Dita element is cite */
#dita-content cite {
  font-family: Roboto Serif;
  font-size: smaller;
}

/**************** CAPTION ****************/
/* Dita element is caption */
#dita-content caption span.title {
  font-weight: bold;
}

/**************** DIV ****************/
/* Dita element is div */

/* .card styling */
#dita-content div.card {
  margin: 0 0 15px;
  line-height: 2.4rem;
}

#dita-content div.card p:last-child {
  margin-bottom: 0;
}

#dita-content div.card ul li:last-child {
  margin-bottom: 0;
}

#dita-content div.card ol li:last-child {
  margin-bottom: 0;
}

#dita-content div.card ol.ol:last-child {
  margin-bottom: 0;
}

#dita-content div.card ul.list-icons:last-child {
  margin-bottom: 0;
}
/* Notes, Warnings, Case Summary */
#dita-content div.note > p {
  margin: 5px 5px 5px 24px;
}

#dita-content div.note-symbol {
  float: left;
  padding-top: 4px;
}

#dita-content div.note {
  border-radius: 3px;
  margin: 10px;
  padding: 1px 10px;
  background-color: #bbd5ea;
}

#dita-content div.warning {
  background-color: #fed16c;
}

#dita-content div.case-summary {
  background-color: #e9e9e9;
}

#dita-content div.note > p:first-of-type:before {
  content: "Note: ";
  font-weight: bold;
}

#dita-content div.warning > p:first-of-type:before {
  content: "Warning: ";
}

#dita-content div.case-summary > p:first-of-type:before {
  content: "Case Summary: ";
}

#dita-content div.note-symbol::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f05a"; /* font-awesome info circle icon */
  font-size: 16px;
  display: inline-block;
}

#dita-content div.note-symbol::before {
  color: #003e74;
}

#dita-content div.warning > div.note-symbol::before {
  content: "\f071  "; /* font-awesome warning triangle icon */
  color: #ea7200;
}

#dita-content div.case-summary > div.note-symbol::before {
  content: "\f0e3  "; /* font-awesome icon */
  color: #626262;
}
/* Footnotes */
#dita-content div.footnote {
  font-size: 1.4rem;
  line-height: 2rem;
  margin: 0 0 10px;
  text-indent: 0em;
  margin-left: 1.1em;
}

#dita-content div.footnote p {
  text-indent: 0;
  line-height: 2rem;
  display: inline-block !important;
}

#dita-content div.footnote ul li {
  text-indent: 0em;
}

#dita-content div.footnote blockquote {
  text-indent: 0em;
}

#dita-content div.footnote blockquote span {
  font-size: 1.4rem;
  line-height: 2rem;
}

#dita-content div.footnote sup::first-child {
  margin-top: 15px;
  float: left;
  text-indent: -1.6em;
}

/**************** Example ****************/
/* Targets the example */
#dita-content .example {
  border-top: 2px solid lightgrey;
  border-bottom: 2px solid lightgrey;
  padding: 6px 0px;
}

/**************** H2 HR ****************/
/* Targets the header rule line under h2 elements conbody/title, lcIntro/title, h2, concept/title, lcObjectives/title */
#dita-content h2,
.hr-bar {
  margin: 0 0 10px;
}

/**************** Italics ****************/
/* Targets the font awesome checkmark and square */
#dita-content i.fa-check--orange {
  color: #ea7200;
}

#dita-content i.fa-square--blue {
  color: #005aaa;
}

/**************** UL OL ****************/
/* Dita element is ul, ol */
#dita-content ul,
ol {
  margin-bottom: 5px;
}

#dita-content ul li,
#dita-content ol li {
  margin: 3px 0px;
}

#dita-content ul ul {
  margin-top: 5px;
}

/**************** P ****************/
#dita-content p {
  margin: 10px 0px;
  line-height: 2.4rem;
}
/* Footnote Header */
#dita-content p.footnoteHeader {
  font-weight: bold;
  margin-top: 20px;
  font-size: small;
}

/**************** Table ****************/
#dita-content .table--title-label {
  display: none;
}

#dita-content .table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#dita-content td.entry,
td.entry p {
  padding: 5px 5px;
}

#dita-content td.entry p,
td.entry li {
  font-size: 1.4rem;
  line-height: 1.7rem;
}

#dita-content th,
.card-header {
  background-color: #bbd5ea;
  border-color: #7daed3 !important;
  color: #626262;
  font-weight: bold;
  text-align: center;
}

th {
  position: sticky;
  top: 0; /* Don't forget this, required for the stickiness */
}

/********************** CSS Targeting HTML Classes Inside Dita-Content - Heretto Housed Dita Processed Through IGX Housed XSLT ***********************/

#dita-content .hideBullet {
  list-style: none;
}

#dita-content .img-fluid {
  max-width: 100%;
  height: auto;
}

#dita-content .Indent1 {
  margin-left: 30px !important;
}

#dita-content .Indent2 {
  margin-left: 60px !important;
}

#dita-content .Indent3 {
  margin-left: 90px !important;
}

#dita-content .Indent4 {
  margin-left: 120px !important;
}

#dita-content .Panel_Policy_Language ul li {
  list-style: none;
}

#dita-content .quote b {
  font-weight: bold;
}

#dita-content .card-body p:first-child,
#dita-content .conbody p:first-child {
  margin-top: 0px;
}

/********************** CSS Targeting HTML Classes Inside Tray-Hero - IGX Housed HTML ***********************/

.tray-hero {
  padding-top: 40px;
  padding-bottom: 40px;
}

.max-wrap-600 {
  margin-right: 0px;
  max-width: 1000px;
}

.tray-hero .content .h1,
.tray-hero .content h1 {
  margin: 0 0 20px;
}

.tray-hero .content p {
  margin-bottom: 10px !important;
  font-size: 2.4rem;
}

.color-b1dfb2-text {
  font-size: 2rem;
  line-height: 2rem;
}

/********************** CSS Targeting HTML Classes Inside #Hero-Content - IGX Housed HTML ***********************/
#hero-content .custom-button-text {
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  font-size: 14px;
  margin: 1px;
  line-height: normal;
  width: 100%;
}

#hero-content .custom-link-text,
#hero-content .custom-link-text:hover,
#hero-content .custom-link-text:active,
#hero-content .custom-link-text:visited {
  color: white;
  text-decoration: none;
}

#hero-content div.col-md-4.col-sm-1 {
  padding-left: 15px;
  padding-right: 0;
}

#hero-content #paragraph-one {
  font-size: 20px;
  line-height: normal;
  margin: 0 0 30px;
}

#hero-content #paragraph-two {
  font-size: 14px;
  line-height: normal;
  margin: 0 0 5px;
}

#hero-content .rollover:hover {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255);
  color: white;
}

/********************** CSS Targeting HTML Universal Card Related Classes - IGX Housed HTML ***********************/

.card-body ul {
  list-style: none;
  margin: 0 0 1.5rem 0;
}

.card-group {
  font-family: "Roboto";
}

.card-title {
  font-family: "Crimson Pro";
}

.card-body ul {
  list-style: none;
  margin: 0 0 1.5rem 0;
}

/********************* CSS targeting dita content published to the dita grid tray. *********************************/
.tray-dita-grid {
    background:none;
}
.tray-dita-grid .body-copy {
    background: white;
    padding: 10px 16px;
    min-width:100%;
}

/********************** CSS Targeting HTML Classes Inside #The Homepage Top Three Trays - IGX Housed HTML ***********************/

#All-Top .card,
#All-Top .list-group-item,
#All-Top .btn {
  color: #ffffff;
  background: rgba(0, 0, 0, 0);
}

#All-Top .card {
  border: 0px;
}

#All-Top .btn,
#All-Top .list-group-item {
  font-size: 19px;
  margin: 0px !important;
  padding: 2px 0px 2px 0px;
  width: 100%;
}
/*Fix for Bootstrap 5 Upgrade*/
#All-Top .list-group-item {
    border: 0;
}
/* End Fix for Bootstrap 5 Upgrade*/
#All-Top p,
#Updates-Latest p,
#Articles-Latest p,
#Featured p {
  line-height: normal !important;
  margin: 0px !important;
}

#WelcomeText-Top .card-title {
  font-size: 44px;
}

#LinkList-Top .card-title {
  font-family: "Roboto Serif";
  color: rgba(125, 175, 211, 1);
}

#Updates-Latest .btn {
  background-color: #bd4700;
  border-color: #bd4700;
}

#Updates-Latest {
  border: rgba(0, 0, 0, 0);
}

#Featured {
  margin: 10px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

#LinkList-Top h5 {
  font-style: italic;
}

#LinkList-Top list-group-flush {
  padding: 0px;
  margin: 0px;
}

#Articles-Featured p {
  margin-bottom: 3px !important;
}

#Definition-Featured h6.card-title,
#Case-Featured h6.card-title {
  font-family: "Roboto";
  font-weight: bold;
  color: #bd4700;
}

#Articles-Featured .list-group-item {
  border-top: 0px;
  padding: 0.15rem;
}

#Updates-Latest a {
  color: white;
  text-decoration: none;
}

/********************** CSS Targeting HTML Classes Inside @Media Screen Widths ***********************/
@media only screen and (min-width: 1025px) {
  #Articles-Latest {
    border: solid rgba(0, 0, 0, 0.125);
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 1px;
  }

  #Featured {
    margin: 10px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
  }

  #Updates-Latest .btn {
    background-color: #bd4700;
    border-color: #bd4700;
    font-size: 19px;
    width: 85%;
  }

  #Updates-Latest div {
    padding: 10%;
  }

  #Updates-Latest .card-text {
    margin-right: 10px !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1025px) {
  #Articles-Latest {
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
  }

  #Featured {
    margin: 10px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
  }

  #Updates-Latest .btn {
    background-color: #bd4700;
    border-color: #bd4700;
    font-size: 19px;
    width: 85%;
  }

  #Updates-Latest div {
    padding: 10%;
  }

  #Updates-Latest .card-text {
    margin-right: 10px !important;
  }
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  /* this effects the hero tray on IRMI online */
  #content .tray-head .img-wrap img {
    display: none;
  }
  /* this effects the hero tray on IRMI online */
  #content .tray-head .col-auto {
    display: none;
  }
  #Articles-Latest {
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
  }

  #Featured {
    margin: 10px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
  }
}
