/* ===========================================================
   Internal (common styles)
   =========================================================== */

.int-article p,
.int-event p,
.int-standard p {
  font-size: 18px;
}

.int-event p.page-description,
.int-article p.page-description,
.int-standard p.page-description {
  font-size: 1.4em;
}

.page-header {
  border-bottom: 2px solid #cbc9cc;
  padding: 1.5em 0;
  margin-bottom: 2.5rem;
}

.page-header h1 {
  padding-top: 0.2em;
  margin-bottom: 0px !important;
}

.internal h3 {
  border-bottom: 4px solid #005eb8;
  padding: 0.5em 0;
  margin-bottom: 2rem;
}

.internal .main-content {
  padding-right: 2.5em;
}

.internal img {
  padding: 1em 0;
}

.int-cta-box {
  background: #3abff080;
  padding: 2em;
  margin: 2em 0;
  border-radius: 0.5em;
}

.int-cta-btn:hover {
  background: #005eb8;
  color: #fff;
}

.int-cta-box p {
  margin-bottom: 1.5em !important;
  border-radius: 0.5em;
}

.int-cta-btn {
  background-color: #00033d;
  color: white;
  padding: 1em;
  display: inline-block;
}

.int-feature-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.int-feature-box.border-top{
    padding: 2em 0;
}

/* ===========================================================
   SECTION HEADERS
   =========================================================== */

.int-section-header h2 {
  font-size: 2.0625rem;
  line-height: 1.2;
}

.int-section-header {
  border-top: 4px solid #005eb8;
  border-bottom: 2px solid #cbc9cc;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.int-section-header + .gre-accented {
    margin-top: -.7rem;
}

/* ===========================================================
   LAYOUT
   =========================================================== */

.row.collections {
  padding-top: 2em;
}

.medium-3 {
  padding: 0 2em !important;
}

/* ===========================================================
   MAIN NAVIGATION
   =========================================================== */

.top-bar .menu {
  background-color: #3abff0 !important;
}

.top-bar ul.int-main-menu {
  background-color: #3abff0 !important;
}

.main-menu {
  display: flex;
  font-size: 16px;
}

ul.main-menu {
  font-weight: 700;
  list-style: none;
}

.main-menu li {
  margin-left: 20px;
}

.main-menu > li > a {
  color: black;
}

.main-menu a:hover,
.main-menu a:active {
  text-decoration: underline;
  text-underline-offset: 20%;
  text-decoration-thickness: 0.15rem;
  color: black;
}

.main-menu a:active {
  color: #000000;
}

.vertical-menu a {
  padding-left: 0px !important;
}


/* ===========================================================
   BREADCRUMBS
   =========================================================== */

nav.gre-breadcrumb {
  font-size: 81%;
}

nav.gre-breadcrumb ol {
  margin: 0;
  padding: 1ex 0.5ex;
}

nav.gre-breadcrumb a {
  padding: 0.5ex;
  display: inline-block;
  white-space: normal;
}

nav.gre-breadcrumb li {
  display: inline-block;
  white-space: nowrap;
}

nav.gre-breadcrumb li::before {
  content: "/";
}

nav.gre-breadcrumb li:first-of-type::before {
  content: "";
}

nav.gre-breadcrumb li.reveal-content {
  display: none;
  display: inline-block;
}

nav.gre-breadcrumb li.reveal-element::before {
  content: "";
}

nav.gre-breadcrumb.reveal-section:target .reveal-content {
  display: inline-block;
}

nav.gre-breadcrumb.reveal-section:target .reveal-element {
  display: none;
}

nav.gre-breadcrumb .reveal-element {
  display: none;
}


/* ===========================================================
   MAIN SEARCH
   =========================================================== */

.search-full-width {
  background-color: #e4e4e6;
}

.row .search-full-width {
  margin-left: 0.1em !important;
  margin-right: 0.1em !important;
  padding: 1em !important;
  margin-bottom: 2em !important;
}

.row .search-full-width a {
  text-decoration: underline !important;
  text-underline-offset: 12.5% !important;
  text-decoration-color: #005eb8 !important;
}

.row .search-full-width a:hover {
  text-decoration-thickness: 0.15rem !important;
}

.search-full-width-links {
  padding-top: 3em !important;
}

/* ===========================================================
   JOURNEY BOXES
   =========================================================== */

/* ----- Shared ----- */

.int-journey-listing .int-journey-box-large,
.int-journey-listing .int-journey-box-medium,
.int-journey-listing .int-journey-box-small {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ----- Small journeys ----- */

.thumbnail {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
}

.thumbnail:hover,
.thumbnail:focus {
  box-shadow: none !important;
}

.int-journey-box-small {
  border-bottom: 1px solid #cbc9cc;
}

.int-journey-box-small:last-child {
border-bottom: none;
}

.int-journey-box-small .int-long-title {
  text-decoration: underline !important;
  text-decoration-thickness: 0.1em !important;
  text-decoration-color: #005eb8 !important;
  text-underline-offset: 12.5%;
}

.int-journey-box-small:hover {
  color: #000000 !important;
}

.int-journey-box-small:hover .int-long-title {
  text-decoration-thickness: 0.15em !important;
}

.int-journey-box-small:hover img {
  opacity: 0.5;
}

/* ----- Medium journeys ----- */

.int-journey-listing .int-journey-box-medium {
  display: flex;
  flex: 1;
  width: 100%;
}

.int-journey-box-medium .content {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #3abff0 !important;
  color: #000000;
  border-radius: 0.5em;
}

.int-journey-box-medium img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  border-radius: 0.5em 0.5em 0 0;
}

.int-journey-box-medium .int-journey-info {
  padding: 1em;
  border-radius: 0 0 0.5em 0.5em;
}

.int-journey-box-medium h5 {
  text-decoration: underline #005eb8;
  text-underline-offset: 12.5%;
}

.int-journey-box-medium p {
  margin-bottom: 0;
}

.int-journey-box-medium:hover {
  color: #000000 !important;
}

.int-journey-box-medium:hover .int-journey-info {
  background: #ace0f9;
  color: black;
}

.int-journey-box-medium:hover .int-journey-info h5 {
  text-decoration-thickness: 0.15em;
}

.int-journey-box-medium:hover img {
  opacity: 0.5;
}

/* ----- Large journeys ----- */

.int-journey-box-large .content {
  position: relative;
}

.int-journey-box-large img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  object-position: center;
  display: block;
}

.int-journey-box-large:hover img {
  opacity: 0.5;
}

.int-journey-box-large .int-journey-info .int-long-title {
  color: white;
  background-color: #222222;
  padding: 1rem;
  text-decoration: underline;
  font-size: 16px !important;
  text-underline-offset: 12.5%;
  display: block;
}

.int-journey-box-large:hover .int-journey-info .int-long-title {
  text-decoration-thickness: 0.15em;
  background: #8fadd6;
  color: black;
}

/* ===========================================================
   ACCORDION
   =========================================================== */
   
.accordion__heading{
    text-decoration: underline;
    text-decoration-color: #005eb8 !important;
    text-underline-offset: 12.5% !important;
}

.accordion__content {
    padding-top: 1em;
}

.accordion__item {
  padding: 1em 0;
  border-bottom: 1px solid #cbc9cc;

}

.accordion__item:hover{
  text-decoration-thickness: 0.15rem;
}

/* ===========================================================
   STAFF PORTAL MENU
   =========================================================== */

i.fa-solid.fa-magnifying-glass {
  font-size: medium;
}

i.fa-solid.fa-magnifying-glass:hover {
  text-decoration: underline;
  text-underline-offset: 20%;
}

/* ===========================================================
   PAGE HEADER
   =========================================================== */

.page-header-search {
  background: #00033d;
  color: #ffffff;
  padding: 2em 0 1em;
  margin-bottom: 3em;
}

div > h1 {
  font-family: "Cooper Hewitt", Calibri, Tahoma, sans-serif !important;
  font-weight: 700;
  font-style: normal;
}

/* ===========================================================
   BUTTONS & INPUTS
   =========================================================== */

.btn.btn-default {
  height: 38px;
  line-height: 38px;
  border: 0;
  color: #fff;
  background: #005eb8;
  border-radius: 0;
  padding: 0 12px;
}

.input-group-btn {
  display: table-cell;
}

/* ===========================================================
   DOCUMENT HEADER / COLLECTION HEADER
   =========================================================== */

.header-listing {
  padding-bottom: 1em;
}

.collection-header {
  border-bottom: 3px solid #cbc9cc;
}

/* ===========================================================
   DOCUMENT LISTING & LIST ITEMS
   =========================================================== */

/* ----- Primary links----- */

.primary-link h4,
.media-object-section h4 {
  text-decoration: underline;
  text-decoration-color: #005eb8 !important;
  text-underline-offset: 12.5%;
  font-size: 131%;
}

.primary-link h4:hover,
.listing-item h4:hover {
  text-decoration-thickness: 0.15em;
}

.primary-link a:hover {
  color: #000000 !important;
}

.primary-link .media-object-section {
  background-color: #3abff080;
  height: 50px;
  width: 50px;
  padding: 0.8em !important;
}

.primary-link .media-object-section.linkedin-learning {
  background-color: #0d65c680;
}

.primary-link .media-object-section.studiosity {
  background-color: #e0e32780;
}

.primary-link .media-object-section.moodle {
  background-color: #f9801280;
}

.primary-link .media-object-section.digital-student-centre {
  background-color: #1e59ac80;
}

.primary-link .media-object-section.microsoft-office {
  background-color: #dc614180;
}
/* ----- listings ----- */

.listing-item {
  border-bottom: 1px solid #cbc9cc !important;
  padding: 1em 0;
}

.listing-item:last-child {
  border-bottom: 0px !important;
}

.listing-item a {
  text-decoration: underline;
  text-decoration-color: #005eb8 !important;
  text-underline-offset: 12.5% !important;
}

.listing-item a:hover {
  text-decoration-thickness: 0.15em;
  color: #000000 !important;
}

.listing-item p {
  padding-top: .5rem;
  margin-bottom: 0;
}

.split-link-panel .icon-journey {
  padding-top: 1em;
}

.int-journey-listing a{
  padding-left: 0px !important;
}

/* ----- CTA links ----- */

.cta-link {
  font-size: 14px;
}

.cta-link:hover {
  color: #005eb8 !important;
  text-decoration: underline;
  text-decoration-color: #005eb8 !important;
  text-underline-offset: 12.5% !important;
}

/* ----- header links ----- */

.list-item-header {
  padding-bottom: 0.2em;
}

/* Font Awesome icons */

.fa-solid {
  color: black;
  font-size: 1.2rem;
}

.fa-circle-arrow-right {
  font-size: 1em;
  padding-left: 0.5em;
}

/* List item layout */

.list-item {
  padding-left: 1.5em;
}

.listing-description {
  padding-top: 1em;
}

.media-object-section {
  padding: 1rem 0;
}

div.media-object.collection-row {
  border-bottom: 1px solid #cbc9cc;
  padding-bottom: 1em;
}

.collection-row .media-object-section {
  padding-right: 2em !important;
  padding-top: 0.5em;
}

.collection-listing-all {
  padding-left: 0.9375em;
}

.menu.simple {
  padding: 1rem 0;
}

.grey-border {
  border-bottom: 1px solid #2e2e2e !important;
}

/* ===========================================================
   ALERT BAR
   =========================================================== */

.alert-label {
  font-weight: 700;
  
}
.int-alert-bar {
  padding: 1rem;
}

.int-alert-bar i {
  padding-right: 0.2rem;
  padding-left: 0.9375rem;
}

.int-alert-bar p {
  font-size: small;
  margin-bottom: 0;
}

.int-alert-bar a {
  text-decoration: underline;
  text-decoration-color: #005eb8 !important;
  text-underline-offset: 12.5% !important;
}

.int-alert-bar.information {
  background: #b0f1e7;
  font-size: small;
}

/* ===========================================================
   SECTIONS & MEDIA
   =========================================================== */

.border-top {
  border-top: 4px solid #005eb8;
  padding: 1em 0 1em;
}

.media-section i {
  font-size: 1em;
}

/* ===========================================================
   FEATURE BOX - Standard
   =========================================================== */
.int-feature-box {
  border-top: 4px solid #005eb8;
  padding: 2rem 3rem;
}

.int-feature-box h2 {
  line-height: 1.1;
    padding-bottom: .46875rem;
}

/* ===========================================================
   FEATURE BOX - xlight variant
   =========================================================== */
.int-feature-box.xlight {
    background: #3abff080 !important;
    margin-bottom: 2rem;
}

.int-section-header-border-top {
  border-top: 4px solid #005eb8;
  padding: 1em 0; 
}

/* ===========================================================
   LIBRARY SEARCH
   =========================================================== */

.library-search {
  margin-bottom: 2em;
  margin-top: 2rem;
}

.library-search-field {
  padding: 2em 1.5em;
  background-color: #e4e4e6;
  margin-bottom: 2rem !important;
}

.library-search .list-item h4 {
  text-decoration: underline !important;
  text-decoration-color: #005eb8 !important;
  text-underline-offset: 12.5%;
}

.library-search .list-item h4:hover {
  text-decoration-thickness: 0.15rem !important;
  color: #000;
}

.library-search a:hover {
  color: #000000 !important;
}

.library-search .media-object-section.bg-grey {
  background-color: #e4e4e6;
  height: 50px;
  width: 50px;
  padding: 0.8em !important;
}

.input-group-btn .btn .fa-search {
  color: #ffffff !important;
  display: flex !important;
  font-size: 1.2em;
}

/* ----- Quick search ----- */

.lib-search-small {
  background: #e4e4e6;
  padding-bottom: 1rem;
}

.lib-search-small .input-group {
   margin-bottom: 0px !important;
   padding: 0 1rem;
}

.library-search-quick a {
  padding: 1rem;
}

/* ===========================================================
   Article Page
   =========================================================== */

/* ----- Quote ----- */

.int-quote {
  border-left: 6px solid #9a979c;
  padding: 0.5em 1.5em;
  font-style: italic;
  color: grey;
  line-height: 1.6;
  margin: 2em 0;
}

.int-quote .quote-author {
  font-weight: 700;
}

.int-article-date {
  font-size: 1.2rem;
}

.int-article-date i {
  padding-right: 0.5em;
}

/* ===========================================================
   Event Page
   =========================================================== */

.main-content .event-details {
  background: #a5dad5;
  padding: 2em;
  border-radius: 0.5em;
}

.main-content .event-details p {
  line-height: 1.5rem;
}

.main-content .event-details h4 {
  padding-bottom: 1rem;
}

.int-event-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* ----- Date block ----- */

.int-event-date i {
  padding-right: 0.5em;
}

.int-event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: #005eb8;
  color: #fff;
  flex-shrink: 0;
}

.int-event-date-block .month {
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.int-event-date-block .day {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}

.int-event-duration {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
  white-space: nowrap;
}

/* ----- Maps ----- */

.int-location-maps a {
  text-decoration: underline !important;
  text-underline-offset: 12.5%;
  text-decoration-color: #005eb8 !important;
}

.int-location-maps a:hover {
  text-decoration-thickness: 0.15em !important;
}

/* ===========================================================
   SUB-COLUMN (SIDEBAR)
   =========================================================== */

/* ----- Sub-column (entire sidebar) ----- */

.int-sub-column h3 {
  font-size: 1.3rem;
  font-weight: 700;
  padding-top: .9375rem  !important;
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}

.int-sub-column a {
  text-decoration: underline !important;
  text-underline-offset: 12.5%;
  text-decoration-color: #005eb8 !important;
  line-height: 1.5rem !important;
}

.int-sub-column a:hover {
  text-decoration-thickness: 0.15em !important;
}

.int-sub-column p,
.int-sub-column ul {
  font-size: 14px !important ;
}

.int-sub-content p {
  padding: 0 1rem;
}

/* ----- Sub-content (sections within sidebar) ----- */

.int-sub-content {
  border-top: solid 2px #cbc9cc !important;
}

.int-sub-content.sub-nav {
    background: #eeedee;
    border-top: 4px solid #00033d !important;
}

.int-sub-content.sub-nav a:hover {
   color: #fff;
   background:#00033d;
   text-decoration-color: #fff !important;
}

/* ----- styles for templates ----- */

.int-article .int-sub-content,
.int-event .int-sub-content,
.int-standard .int-sub-content {
  border-top: none !important;
}

.int-article .int-sub-column h4,
.int-event .int-sub-column h4,
.int-standard .int-sub-column h4 {
  padding-top: 0;
}

/* ----- sub column for events pages ----- */

.int-sub-column .event-details {
  background: #a5dad5;
  padding: 1em;
  border-radius: 0.5em;
  line-height: 1.2rem;
  margin-bottom: 1rem;
}

.int-sub-column .int-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 1.2rem;
}

.int-sub-column p,
.int-sub-column ul {
  font-size: 14px !important ;
}

/* ===========================================================
   Footer
   =========================================================== */

footer {
  padding: 2.5em;
  margin-bottom: 0.9375rem;
  margin-top: 0.9375rem;
  background: #2e2e2e;
  color: #fefefe;
}

footer a {
  color: #fefefe;
}

.int-footer-section {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.int-footer-section ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.int-footer-section li + li::before {
  content: "|";
  margin: 0 0.75rem;
  color: #666;
}

.int-footer-section a:hover {
  color: white;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-thickness: 0.15em !important;
  text-underline-offset: 20%;
}

.int-footer-badges {
  border-top: 1px solid;
  margin-top: 2.5em;
}

/* ===========================================================
  DOCUMENTS - test on other pages before updating
   =========================================================== */

p.doc-type {
  margin-bottom: 0;
  font-size: small;
  color: #9a979c;
  padding-top: .5rem;
}

.primary-link .media-object {
  padding-top:1rem;
}

/* ===========================================================
   MEDIA QUERIES
   =========================================================== */

@media screen and (max-width: 640px) {
  .grid-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .main-content {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media screen and (max-width: 640px) {
  .int-article p,
  .int-event p,
  .int-standard p {
    font-size: 16px;
  }
}

/*Need help alert box on small screens*/
@media screen and (max-width: 640px) {
  .grid-x.main-content {
    display: flex;
    flex-direction: column;
  }

  .int-sub-column .sticky {
    display: none;
  }

  .int-subnav {
    order: -1;
  }
}