<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/********************************************

Applies To            : UHI Site pages &amp; all Partner pages
OLD Colour Main       : #572163
OLD Colour Secondary  : #eee8ef
Description           : Screen styles for all UHI site pages, and partner pages.
Media Type            : Screen
Name &amp; Filename       : build-uhi-main.css

*********************************************/

/****************************************

MAIN #PORTAL-COLUMN LAYOUT

****************************************/

.main {
  display: flex; /* make flex container */
  flex-direction: column; /* for mobile */
  margin: 1rem 5%; /* center container, with top margin */
  text-align: left; /* all left-aligned text within container by default */
  overflow-x: hidden; /* prevents horizontal scrolling */
}

/* all flex items have spacing by default */
.main &gt; aside,
.main &gt; div {
  margin: 0 0 2rem 0;
  padding: 0 .5rem;
}

/* flex rules at iPad landscape for introducing columns */
@media (min-width: 1024px) {

  .main {
    flex-direction: row; /* to make columns */
  }

  .main &gt; aside,
  .main &gt; div {
    padding: 0 1rem; /* increase flex item gutter */
  }

  /* full flex: declaration for IE11 benefit */
  /* required content column is ordered first in Page Layout markup */
  #portal-column-content {
    flex: 3 1 75%; /* column is 3x as wide as others */
    order: 2; /* centre or right */
  }

  /* optional right column is ordered second in Page Layout markup */
  #portal-column-two {
    flex: 1 1 25%; /* quarter or one-fifth column when shown */
    order: 3; /* pushes to right */
  }

  /* optional left (navigation) column is ordered third in Page Layout markup */
  #portal-column-one {
    flex: 1 1 25%; /* quarter or one-fifth column when shown */
    min-width: 250px; /* for IE11 */
    order: 1; /* pushes to left */
  }
}

.right-content-flex {
  display: flex;
  flex-flow: row wrap;
}

@media (max-width: 1024px) {
  .right-content-flex {
    justify-content: space-around;
  }
}

/*
main content links
*/

#content-core a,
#portal-column-two a,
.courselist a {
  font-family: "aktiv-grotesk", Arial, sans-serif;
  color: var(--uhi-blue);
}

#content-core a:hover,
#content-core a span:hover,
#portal-column-two div a:hover,
.courselist a:hover {
  text-decoration: underline;
}

/*
https://www.t4.uhi.ac.uk/terminalfour/preview/8/en/44094
https://www.inverness.uhi.ac.uk/business-and-training/
https://www.nafc.uhi.ac.uk/courses/aquaculture-courses/
*/
#portal-column-two ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/********************************************

CLASSES

********************************************/

/*
pulls up first heading or paragraph on Landing Page columns
to align with side columns

less comprehensive?
.col.half &gt; h2:first-of-type,
.col.half &gt; h3:first-of-type,
.col.half &gt; p:first-of-type {
margin-top: 0;
}

currently lacking a better selector
*/
.col &gt; h2:first-child,
.col &gt; h3:first-child,
.col &gt; p:first-child {
  margin-top: 0;
}

/*
content-button
*/

.content-button {
  position: relative;
  width: 225px;
  height: 110px;
  float: none;
  display: inline-block;
  margin: 0 15px 15px 0;
  border: 5px solid #fff;
  box-shadow: 5px 5px 11px #ddd;
}

.content-button img {
  width: 225px;
  height: 110px;
}

.content-button span {
  position: absolute;
  top: 3%;
  left: 5%;
  z-index: 2;
  font-size: 24px;
  text-shadow: 1px 1px #000;
  opacity: 1.0;
  text-transform: lowercase;
  color: white;
  font-weight: bold;
}

.content-button a {
  color: #fff;
  font-weight: bold;
}

.content-button:hover {
  opacity: 0.5;
  cursor: pointer;
}

/*
course-filter-title
*/

.course-filter-title {
  font-size: 19px;
  font-weight: normal;
  padding: 10px 22px;
  cursor: pointer;
}

@media (min-width: 1200px) {
  .course-filter-title {
    font-size: 22px;
  }
}

/*
course-search-filter
*/

.course-search-filter {
  display: block;
}

.course-search-filter &gt; input {
  font-size: 15px;
  margin: 3px 0 3px 11px;
}

.course-search-filter {
  margin: 3px 0 6px 0;
}

@media (min-width: 1000px) {
  .course-search-filter {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .course-search-filter {
    font-size: 19px;
  }
}

.hostingtext {
  font-size: 35%;
  display: block;
  margin-top: -5px;
}

/*
Unistats widget
*/

.kiswidget {
  overflow: hidden !important;
}

@media (min-width: 768px) {
  .kiswidget {
    display: inline;
  }
}

.kiswidget iframe {
  background-color: #fff;
  border: 0 none transparent;
  height: 150px;
  margin-bottom: 30px;
  overflow: hidden !important;
  width: 615px;
}

.kiswidget iframe * {
  overflow: hidden !important;
}

.main .field {
  margin: 0.5em 0;
}

.main label {
  display: inline-block;
  margin: 0.5em 0;
  vertical-align: baseline;
}

.main input[type="submit"] {
  background-color: #0f0f0f;
  border: medium none;
  border-radius: 3px;
  color: white;
  font-size: 1.33em;
  font-weight: bold;
  margin: 0.5em 0;
  padding: 0.5em;
  text-transform: uppercase;
}

.main img {
  border: 0;
  max-width: 100%;
}

.main dl.info {
  background-color: #999;
  border-radius: 3px;
  color: white;
  font-weight: bold;
  margin: 1em 0;
  padding: 0.5em;
}

.main dl.info &gt; dt {
  display: inline-block;
  vertical-align: baseline;
  zoom: 1;
  *display: inline;
  *vertical-align: auto;
  margin: 0;
  text-transform: uppercase;
}

.main dl.info &gt; dt:after {
  content: ': ';
}

.main dl.info &gt; dd {
  display: inline-block;
  vertical-align: baseline;
  zoom: 1;
  *display: inline;
  *vertical-align: auto;
  margin: 0;
}

.main input[type="email"],
.main input[type="password"],
.main input[type="text"],
.main textarea {
  border-radius: 3px;
  margin-bottom: .5rem;
  padding: .5rem;
}

/* prospectus */

.section.coursefinder .prospectus p {
  background-color: #fff;
  border: 8px solid #fff;
}

.section.coursefinder .prospectus .text {
  background-color: #fff;
  color: var(--uhi-grey2);
}

/* both b and strong needed? */
.section.coursefinder .prospectus b,
.section.coursefinder .prospectus strong {
  color: var(--uhi-black);
}

.section.coursefinder .prospectus b:hover,
.section.coursefinder .prospectus strong:hover {
  text-decoration: underline;
}

/*
section coursefinder courses prospectus
Action button with Ribbon
*/

.section.coursefinder.courses .prospectus {
  margin-top: -190px;
}

@media (min-width: 1000px) {
  .section.coursefinder.courses .prospectus {
    float: right;
    margin-top: -178px;
    margin-bottom: 50px; /* pushes content below Action button */
    margin-right: 10px;
  }
}

@media (min-width: 1200px) {
  .section.coursefinder.courses .prospectus {
    margin-top: -208px;
  }

  /* course search and Ribbon text if there's an Action button adjacent */
  .prospectus + p,
  .prospectus + #coursesearch {
    width: 80%;
  }
}

@media (max-width: 620px) {
    .section.coursefinder.courses .prospectus {
        margin-top: 0px;
    }

    .section.coursefinder .prospectus p {
        margin-left: 0px;
    }
}

/*
section clearfix
landing page row and column layout
whitespace if row directly after banner
http://stage-www.inverness.uhi.ac.uk/studying-at-ic/international/
*/

/* collapses if rule below applies */

/* whitespace after rows KIF 20180419 */

/* single column for mobile and tablet */
.section.clearfix &gt; .wrap &gt; .col.half,
.section.clearfix &gt; .wrap &gt; .col.onequarter,
.section.clearfix &gt; .wrap &gt; .col.threequarters {
  padding-left: 1%;
  padding-right: 1%;
  text-align: left;
}

.section.clearfix &gt; .wrap.kis-container {
    padding:10px;
}

/* multi column for desktop */
@media (min-width: 768px) {
  .section.clearfix &gt; .wrap &gt; .col.half {
    float: left;
    width: 48%;
  }

  .section.clearfix &gt; .wrap &gt; .col.onequarter {
    float: left;
    width: 23%;
  }

  /* https://www.uhi.ac.uk/en/schools/sciences/ */
  .section.clearfix &gt; .wrap &gt; .col.onequarter &gt; p:first-child {
    margin-top: 0;
  }

  .section.clearfix &gt; .wrap &gt; .col.threequarters {
    float: left;
    width: 73%;
  }

  .section.clearfix &gt; .wrap &gt; .col.threequarters.switchcols {
    float: right;
  }
}

/*
section coursedetails
*/

.section.coursedetails {
  position: relative;
  color: var(--uhi-black);
  font-size: 15px;
  text-align: left;
}

@media (min-width: 768px) {
  .section.coursedetails {
    font-size: 16px;
    margin-top: -40px;
  }
}

@media (min-width: 1000px) {
  .section.coursedetails {
    font-size: 17px;
  }
}

@media (min-width: 1200px) {
  .section.coursedetails {
    font-size: 18px;
  }
}

.section.coursedetails a {
  color: var(--uhi-blue);
  text-decoration: underline;
}

.section.coursedetails .apply {
  float: right;
  margin: 6px 10px 0 20px;
}

@media (min-width: 768px) {
  .section.coursedetails .apply {
    position: relative;
    margin-right: 20px;
  }
}

.section.coursedetails .apply a {
  display: inline-block;
  padding: 3px 6px;
  background-color: #fff;
  color: #0f0f0f;
  font-size: 16px;
  text-decoration: none;
  border-radius: 3px;
}

@media (min-width: 768px) {
  .section.coursedetails .apply a {
    position: relative;
    z-index: 2;
    margin-top: 3px;
    padding: 5px 10px;
    font-size: 20px;
    border-radius: 3px 3px 0 0;
    vertical-align: bottom;
  }
}

@media (min-width: 1000px) {
  .section.coursedetails .apply a {
    padding: 10px 15px;
    font-size: 23px;
  }
}

@media (min-width: 1200px) {
  .section.coursedetails .apply a {
    font-size: 25px;
  }
}

@media (min-width: 768px) {
  .section.coursedetails .apply a:hover {
    margin-top: 0;
    padding-bottom: 8px;
    transition: all 0.1s;
  }
}

@media (min-width: 1000px) {
  .section.coursedetails .apply a:hover {
    padding-bottom: 13px;
  }
}

@media (min-width: 768px) {
  .section.coursedetails .apply .arrow {
    position: absolute;
    width: 260px;
    height: 17px;
    left: -270px;
    top: 13px;
    background: url(/en/t4-media/one-web/university/admin-assets/css/img/content/arrow_apply.png) no-repeat;
  }
}

@media (min-width: 1000px) {
  .section.coursedetails .apply .arrow {
    top: 21px;
  }
}

@media (min-width: 1200px) {
  .section.coursedetails .apply .arrow {
    top: 22px;
  }
}

.section.coursedetails .tabnav {
  margin: 4px 0 0 10px;
  padding: 0;
  position: sticky;
  position: -webkit-sticky;
  top: 40px;
  padding-bottom: 5px;
  background-color: var(--uhi-white);
}

@media (min-width: 768px) {
  .section.coursedetails .tabnav {
    position: relative;
    z-index: 1;
    margin: 0px;
    padding-bottom: 0px;
    border-bottom: 0.5rem solid var(--uhi-blue);
    color-scheme: only light;
    background-color: transparent;
  }
}

.section.coursedetails .tabnav li {
  display: inline-block;
  list-style: none;
  margin: 6px 3px 0 0;
}

.section.coursedetails .tabnav li h2 {
  display: inline;
  font-family: inherit;
  line-height: inherit;
  margin: 0;
}

.section.coursedetails .tabnav li h2 a {
  display: inline-block;
  padding: 3px 6px;
  background-color: var(--uhi-grey2);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 3px;
  font-family: "degular-display", Arial, sans-serif;
  font-weight: normal;
}

@media (min-width: 768px) {
  .section.coursedetails .tabnav li h2 a {
    margin-top: 3px;
    padding: 5px 10px;
    font-size: 20px;
    border-radius: 3px 3px 0 0;
    vertical-align: bottom;
  }
}

@media (min-width: 1000px) {
  .section.coursedetails .tabnav li h2 a {
    padding: 10px 15px;
    font-size: 23px;
  }
}

@media (min-width: 1200px) {
  .section.coursedetails .tabnav li h2 a {
    font-size: 25px;
  }
}

@media (min-width: 768px) {
  .section.coursedetails .tabnav li h2 a:hover {
    margin-top: 0;
    padding-bottom: 8px;
    transition: all 0.1s;
  }
}

@media (min-width: 1000px) {
  .section.coursedetails .tabnav li h2 a:hover {
    padding-bottom: 13px;
  }
}

.section.coursedetails .tabnav li.ui-tabs-active h2 a {
  background-color: var(--uhi-blue);
  color: #fff;
}

.section.coursedetails .tab {
  margin: 10px;
}

@media (min-width: 768px) {
  .section.coursedetails .tab {
    overflow: hidden;
    margin: 50px 10px;
  }
}

.section.coursedetails h3 {
  margin: 5px 0px 10px 0px;
}

@media (min-width: 768px) {
  .section.coursedetails h3 {
    margin-bottom: 4px;
    font-size: 26px;
    line-height: 1;
  }
}

@media (min-width: 1000px) {
  .section.coursedetails h3 {
    font-size: 29px;
  }
}

@media (min-width: 1200px) {
  .section.coursedetails h3 {
    font-size: 32px;
  }
}

.section.coursedetails p,
.section.coursedetails ul {
  margin-top: 0;
}

.section.coursedetails ul li {
  list-style: square;
}

@media (min-width: 768px) {
  .section.coursedetails .col.half {
    float: left;
    width: 46%;
    margin-right: 4%;
  }

  .section.coursedetails .col.half:first-child {
    margin-left: 0;
  }
}

/*
section coursefinder
course search form sitewide
also campus pages eg http://www.uhi.ac.uk/en/campuses/moray-college-uhi/
removed background-image: url(/en/t4-media/one-web/university/admin-assets/img/hp/homepage-middle-large.jpg);
*/
.section.coursefinder {
  background-position: center center; /* campus pages */
  background-repeat: no-repeat; /* campus pages */
  background-size: cover; /* campus pages */
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  .campus .section.coursefinder {
    background-position: 50% 248px;
  }
}

@media (min-width: 1200px) {
  .section.coursefinder {
    background-attachment: fixed; /* campus pages, desktop not iOS*/
  }
}

/*
https://www.uhi.ac.uk/en/courses/hnd-administration-and-information-technology/
https://www.uhi.ac.uk/en/campuses/north-highland-college-uhi/
*/
.section.coursefinder h2 {
  margin: 30px 10px;
  font: 30px/1;
  text-shadow: 1px 1px 3px white, -1px -1px 3px white;
}

.section.coursefinder p {
  background-color: #0f0f0f; /* or 572163 - was in css-selector-default.css */
  color: #fff;
  margin: 0;
  padding: 5px 15px;
  text-align: left;
}

@media (min-width: 1340px) {
  .section.coursefinder p {
    border-radius: 0 0 3px 3px;
  }
}

.section.coursefinder p a {
  color: #fff;
  text-decoration: underline;
}

/*
Course listing
- UHI Courses Landing Page
- UHI Partner Courses Landing Page [LEGACY]
*/

/* no results block */
.courselist--no-results {
  font-size: 18px;
}

.courselist--no-results h2 {
  margin-top: 0;
}

.courselist--no-results .reset-course-search {
  display: none;
}

@media (min-width: 768px) {
  .courselist--no-results .reset-course-search {
    display: inline-block;
  }
}

/* Course listing right column heading */

.courselist--filter-sets h2 {
  font-size: 25px;
  margin: 1rem 0;
  text-transform: uppercase;
}

.courselist--filter-sets .accordion {
  padding-left: 0;
}

@media (min-width: 768px) {
  .courselist--filter-sets h2 {
    font-size: 32px;
  }
}

@media (min-width: 1000px) {
  .courselist--filter-sets h2 {
    font-size: 38px;
  }
}

/* Course listing filters reset link */

.reset-course-search {
  font-size: 19px;
  margin: 0 !important;
}

.courselist--filter-sets .reset-course-search:first-child {
  margin-top: 2rem !important;
}

@media (min-width: 768px) {
  .courselist--filter-sets .reset-course-search:first-child {
    margin-top: 0 !important;
  }
}

/* Course listing filter boxes */

/* .section.courselist .col.onequarter &gt; form &gt; ul &gt; li */
.courselist--filter-sets .accordion &gt; li {
  background-color: var(--uhi-grey2);
  border-radius: 3px;
  color: #fff;
  margin-bottom: 6px;
}

.search-filters {
  padding: 0 22px 10px;
}

/* extra course filter modules
https://www.shetland.uhi.ac.uk/courses/
*/
.section.courselist .col.onequarter .extra {
  margin-top: 35px;
}

.section.courselist .col.onequarter .extra h2 {
  margin: 0;
}

/* 20180411 KIF */
.section.courselist .col.onequarter .extra ul {
  list-style: outside none none;
  margin-left: 0;
  padding-left: 10px;
}

.section.courselist .col.onequarter .extra ul li {
  background: #b74783 none repeat scroll 0 0;
  border-radius: 3px;
  color: #fff;
  display: inline-block; /* 20180411 KIF*/
  font-size: 22px;
  margin-bottom: 6px;
  padding: 5px 15px; /* 20180411 KIF*/
  max-width: 250px;
}

.section.courselist .col.onequarter .extra ul li a {
  color: #fff;
}

/*
may share rules with above?
heading for News/Events feed list eg:
https://www.inverness.uhi.ac.uk/
...and other lists
*/

.section.courselist .col.onequarter &gt; ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section.courselist .col.onequarter &gt; ul &gt; li {
  background-color: var(--uhi-grey2);
  border-radius: 3px;
  color: #fff;
  margin-bottom: 6px;
}

.section.courselist .col.onequarter &gt; ul &gt; li:first-child {
  padding: 2px 5px;
}

.section.courselist .col.onequarter &gt; ul &gt; li h3 {
  cursor: pointer;
  margin: 0;
  padding: 5px 10px;
  font-size: 17px;
  font-weight: normal;
}

@media (min-width: 1000px) {
  .section.courselist .col.onequarter &gt; ul &gt; li h3 {
    padding: 5px 30px;
    font-size: 20px;
  }
}

@media (min-width: 1200px) {
  .section.courselist .col.onequarter &gt; ul &gt; li h3 {
    font-size: 22px;
  }
}

.section.courselist .col.onequarter &gt; ul &gt; li h3 .arrow {
  float: right;
  margin-left: 4px;
  font-size: 14px;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .section.courselist .col.onequarter &gt; ul &gt; li h3 .arrow {
    float: none;
  }
}

.section.courselist .col.onequarter &gt; ul &gt; li ul {
  margin: 0;
  padding: 0 5px 10px;
  list-style: none;
}

@media (min-width: 1000px) {
  .section.courselist .col.onequarter &gt; ul &gt; li ul {
    padding: 0 30px 10px;
  }
}

.section.courselist .col.onequarter &gt; ul &gt; li ul li a {
  display: inline-block;
  margin: 3px 11px 3px 0;
  padding: 0 5px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

@media (min-width: 1000px) {
  .section.courselist .col.onequarter &gt; ul &gt; li ul li a {
    font-size: 17px;
  }
}

@media (min-width: 1200px) {
  .section.courselist .col.onequarter &gt; ul &gt; li ul li a {
    font-size: 19px;
  }
}

/* https://www.uhi.ac.uk/en/research-enterprise/cultural/institute-for-northern-studies/ */
.section.courselist .col.onequarter .quarterlight {
  padding: 10px;
  margin: 0 0 2rem 0;
  border: 3px solid #fff;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: 5px 5px 11px #ccc;
  text-align: left;
}

.section.courselist .col.onequarter .quarterlight:hover {
  box-shadow: 5px 5px 11px var(--uhi-black);
}

.section.courselist .col.onequarter .quarterlight h3 {
  margin-top: 0;
}

.section.courselist .col.onequarter .quarterlight a {
  color: var(--uhi-black);
}

/*
section courselist col threequarters

list on:
https://www.uhi.ac.uk/en/courses/
*/

.section.courselist .col.threequarters &gt; ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .section.courselist .col.threequarters &gt; ul li {
    background: url(/en/t4-media/one-web/university/admin-assets/css/img/content/blackfade_bottom.png) center bottom no-repeat;
  }
}

@media (min-width: 1200px) {
  .section.courselist .col.threequarters &gt; ul li {
    background-image: url(/en/t4-media/one-web/university/admin-assets/css/img/content/blackfade_bottom_large.png);
  }
}

.section.courselist .col.threequarters &gt; ul li a {
  border-bottom: 4px dotted #ccc;
  color: #0f0f0f;
  cursor: pointer;
  display: block;
  font-family: inherit;
  font-size: 17px;
  overflow: hidden;
  padding: 4px 10px;
  text-decoration: none;
}

@media (min-width: 768px) {
  .section.courselist .col.threequarters &gt; ul li a {
    padding: 7px 30px;
  }
}

@media (min-width: 1000px) {
  .section.courselist .col.threequarters &gt; ul li a {
    font-size: 20px;
  }
}

@media (min-width: 1200px) {
  .section.courselist .col.threequarters &gt; ul li a {
    font-size: 22px;
  }
}

.section.courselist .col.threequarters &gt; ul li a .course {
  float: left;
  width: 100%;
}

@media (min-width: 768px) {
  .section.courselist .col.threequarters &gt; ul li a .course {
    width: 58%;
    margin-right: 2%;
  }
}

.section.courselist .col.threequarters &gt; ul li a .level {
  clear: left;
  color: #666;
}

@media (min-width: 768px) {
  .section.courselist .col.threequarters &gt; ul li a .level {
    clear: none;
    float: left;
    width: 25%;
    text-align: right;
  }
}

@media (min-width: 768px) {
  .section.courselist .col.threequarters &gt; ul li a .modes {
    float: left;
    width: 15%;
    text-align: right;
  }
}

.section.courselist .col.threequarters &gt; ul li a .modes .mode {
  display: inline-block;
  margin-left: 3px;
  padding: 0 5px;
  background-color: var(--uhi-grey1);
  color: #fff;
  border-radius: 3px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.section.courselist .col.threequarters &gt; ul li a .modes .mode.active {
  background-color: var(--uhi-purple);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.section.courselist .col.threequarters &gt; ul li a .modes .mode.active:first-child {
  background-color: var(--uhi-red);
}

/*
section courses coursefinder
*/

.section.courses.coursefinder {
  margin-bottom: 30px;
  overflow: visible;
}

@media (min-width: 768px) {
  .section.courses.coursefinder {
    padding-top: 0;
    background: none;
  }
}

.section.courses.coursefinder form {
  background-color: #0f0f0f;
  padding: 10px;
}

@media (min-width: 768px) {
  .section.courses.coursefinder form {
    padding: 10px;
    text-align: left;
  }
}

@media (min-width: 1340px) {
  .section.courses.coursefinder form {
    border-radius: 0 0 3px 3px;
  }
}

.section.courses.coursefinder form input[type="submit"] {
  color: #0f0f0f;
}

/* section ctas */
.section.ctas {
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section.ctas .section.testimonials {
  margin: 0 auto;
  background: none;
  text-align: left
}

.section.testimonials a {
  color: #fff;
  font-weight: bold;
}

.section.ctas .section.testimonials h2 {
  text-align: center;
}

@media (min-width: 768px) {
  .section.ctas .section.testimonials h2 {
    margin-right: 0;
  }
}

.section.ctas .section.testimonials h2 strong {
  color: #d5dfff;
}

.section.ctas .section.testimonials blockquote p {
  color: var(--uhi-white);
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.section.ctas .section.testimonials blockquote p:last-child {
  color: var(--uhi-yellow);
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
}

.section.ctas .section.testimonials blockquote p .quotee {
  color: #fff;
}

.section.ctas .section.testimonials ul.thumbs {
  display: none;
}

@media (min-width: 768px) {
  .section.ctas .section.testimonials ul.thumbs {
    display: flex;
    margin: 0 0 30px 0;
    padding: 0px 0px 0px 80px;
    list-style: none;
  }

  .section.ctas .section.testimonials ul.thumbs li {
    float: left;
    width: 198px;
    margin-left: 17px;
  }

  .section.ctas .section.testimonials ul.thumbs li:first-child {
    margin-left: 0;
  }

  .section.ctas .section.testimonials ul.thumbs li .img {
    display: block;
    outline: none;
    background-color: #000;
  }

  .section.ctas .section.testimonials ul.thumbs li .img img {
    opacity: 0.5;
  }

  .section.ctas .section.testimonials ul.thumbs li.ui-state-active {
    width: 210px;
    margin-top: -10px;
    padding-top: 10px;
  }

  .section.ctas .section.testimonials ul.thumbs li.ui-state-active .img {
    margin-top: -6px;
    border: 6px solid var(--uhi-yellow);
  }

  .section.ctas .section.testimonials ul.thumbs li.ui-state-active .img img {
    opacity: 1;
  }
}

.section.ctas .section.apply {
  padding-top: 15px;
  text-transform: uppercase;
  color: var(--uhi-black);
  text-align: center;
  font-weight: bold;
}

@media (min-width: 768px) {
  .section.ctas .section.apply {
    padding-top: 30px;
    font-size: 18px;
  }
}

@media (min-width: 1000px) {
  .section.ctas .section.apply {
    font-size: 19px;
  }
}

@media (min-width: 1200px) {
  .section.ctas .section.apply {
    font-size: 20px;
  }
}

.section.ctas .section.apply h2 {
  margin: 0 10px;
  font: 30px/1 "degular-display", Arial, sans-serif;
  font-weight: bold;
}

@media (min-width: 768px) {
  .section.ctas .section.apply h2 {
    margin: 0 0 10px 0;
  }
}

@media (min-width: 1000px) {
  .section.ctas .section.apply h2 {
    font-size: 38px;
  }
}

@media (min-width: 1200px) {
  .section.ctas .section.apply h2 {
    font-size: 44px;
  }
}

.section.ctas .section.apply a {
  background-color: var(--uhi-blue);
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: 16px;
  margin: 0 2px 4px;
  padding: 5px 10px;
  text-decoration: none;
  text-shadow: none;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .section.ctas .section.apply a {
    padding: 10px 15px;
    font-size: 24px;
  }
}

@media (min-width: 1000px) {
  .section.ctas .section.apply a {
    font-size: 29px;
  }
}

@media (min-width: 1200px) {
  .section.ctas .section.apply a {
    font-size: 32px;
  }
}

.section.ctas .section.apply a:hover {
  background-color: var(--uhi-grey2);
  text-shadow: 2px 2px 0 #000;
}

.section.ctas .section.apply p.applyconditions {
  background-color: var(--uhi-grey2);
  color: #fff;
  font-size: 12px;
  font-weight: normal;
  line-height: 15px;
  margin-left: 35px;
  margin-right: 35px;
  padding: 10px;
  text-transform: none;
  text-align: left;
}

@media (min-width: 768px) {
  .section.ctas .section.apply p.applyconditions {
    font-size: 14px;
    line-height: 16px;
  }
}

@media (min-width: 1000px) {
  .section.ctas .section.apply p.applyconditions {
    font-size: 16px;
    line-height: 20px;
  }
}

.section.ctas .section.apply p.applyconditions a {
  background: transparent none repeat scroll 0 0;
  border-radius: 0;
  color: #fff;
  font-size: 12px;
  line-height: 15px;
  padding: 0;
  text-decoration: underline;
  text-shadow: none;
}

@media (min-width: 768px) {
  .section.ctas .section.apply p.applyconditions a {
    font-size: 14px;
    line-height: 16px;
  }
}

@media (min-width: 1000px) {
  .section.ctas .section.apply p.applyconditions a {
    font-size: 16px;
    line-height: 20px;
  }
}

.section.ctas .section.tour p {
  margin: 0 10px 10px;
  font-size: 18px;
  line-height: 1;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
  color: #fff;
}

@media (min-width: 768px) {
  .section.ctas .section.tour p {
    font-size: 20px;
  }
}

@media (min-width: 1000px) {
  .section.ctas .section.tour p {
    font-size: 23px;
  }
}

@media (min-width: 1200px) {
  .section.ctas .section.tour p {
    font-size: 26px;
  }
}

.section.ctas .section.tour p a {
  color: #fff;
  text-decoration: none;
}

.section.ctas .section.tour p a:hover {
  border-bottom: 1px solid #fff;
}

@media (min-width: 768px) {
  .section.ctas .section.tour .ctas ul {
    margin: 15px 0;
    font-size: 24px;
  }
}

@media (min-width: 1000px) {
  .section.ctas .section.tour .ctas ul {
    font-size: 29px;
  }
}

@media (min-width: 1200px) {
  .section.ctas .section.tour .ctas ul {
    font-size: 32px;
  }
}

@media (min-width: 768px) {
  .section.ctas .section.tour .ctas ul li a {
    padding: 10px 15px;
  }
}

/*
section specialistsubjects
*/

.section.specialistsubjects {
  position: relative;
  padding: 10px 0;
  background: var(--uhi-black) url() center bottom no-repeat;
  color: var(--uhi-white);
}

@media (min-width: 768px) {
  .section.specialistsubjects {
    padding: 30px 0;
  }
}

.section.specialistsubjects h2 {
  margin: 0 10px;
  font-size: 30px;
  line-height: 1;
  font-family: inherit;
  color: #fff;
}

@media (min-width: 768px) {
  .section.specialistsubjects h2 {
    margin: 0;
  }
}

@media (min-width: 1200px) {
  .section.specialistsubjects h2 {
    font-size: 32px;
  }
}

.section.specialistsubjects p {
  margin: 0 10px;
  font-size: 16px;
}

@media (min-width: 768px) {
  .section.specialistsubjects p {
    max-width: 770px;
    margin: 0 auto;
    font-size: 18px;
  }
}

@media (min-width: 1000px) {
  .section.specialistsubjects p {
    font-size: 22px;
  }
}

@media (min-width: 1200px) {
  .section.specialistsubjects p {
    font-size: 25px;
  }
}

@media (min-width: 768px) {
  .section.specialistsubjects &gt; .wrap &gt; .arrow {
    position: absolute;
    top: -130px;
    left: 50%;
    margin-left: 10px;
    width: 17px;
    height: 157px;
    background: url() no-repeat;
  }
}

/*
section testimonials
*/

.section.testimonials {
  background: var(--uhi-black) url() center bottom no-repeat;
}

.section.testimonials h2 strong,
.section.testimonials h2 b {
  color: var(--uhi-white);
  font-weight: bold;
}

/* Course page message us and apply */

.bottomapply {
    padding: 15px;
    color: var(--uhi-black);
    margin-bottom: 10px;
    border: 2px solid var(--uhi-blue);
}

.messageapply input[type=text] {
    width: 90%;
}

.messageapply input[type=submit] {
    color: #fff;
    background-color: var(--uhi-blue);
    border-radius: 4px;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.messageapply input[type=submit]:hover {
    background-color: #203c66;
}

.messageapply textarea {
    width: 90%;
}

.messageapply {
    background-color: var(--uhi-black);
    padding: 15px;
    color: var(--uhi-white);
}

.zoom {
  position:fixed;
  bottom:0;
  right:0;
  height: 20px;
  z-index:100;
  background: var(--uhi-blue);
  padding:5px 5px 8px 5px;
  width:100%;
  text-align:left;
}

.zoom a,
.zoom a:visited {
  color:#fff;
  font-weight: bold;
}

.smallmargin {
  margin-left: 20px;
}

.zoom img {
  display:none;
}

.minimise {
  display: none;
}

.bottommessage {
  display: none;
  position:fixed;
  bottom: 0;
  right: 0;
  height: 20px;
  z-index:100;
  background: var(--uhi-blue);
  padding:5px;
  width:100%;
  text-align:left;
}

.bottommessage a,
.bottommessage a:visited {
  color:#fff;
  margin-left:20px;
  font-weight: bold;
}

@media (min-width: 768px) {
  .zoom {
    bottom: 85px;
    right: 10px;
    height: 80px;
    background: none;
    padding: 0;
    width: auto;
    display: block;
  }
  
  .zoom img {
    width: 90px;
    float: right;
    display: inline-grid;
    background: var(--uhi-blue);
    padding: 4px 3px;
    border-radius: 9px;
    display: -ms-inline-grid;
  }
  
  .smlscrmsg {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    height: 20px;
    z-index: 100;
    background: var(--uhi-blue);
    padding: 5px;
    width: 100%;
    text-align: left;
  }
  
  .smlscrmsg a {
    color:#fff;
    margin-left:20px;
    font-weight: bold;
  }

  .zoom p {
    background-color: var(--uhi-blue);
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    margin: 0 auto 10px;
    position: relative;
    font-weight: bold;
    border: none;
  }
  
  .zoom p::after {
        border-left: 20px solid transparent;
        border-top: 20px solid var(--uhi-blue);
        bottom: -10px;
        content: "";
        position: absolute;
        right: 10px;
    }
  
   .minimise {
      background-color: var(--uhi-blue);
      color: #fff;
      font-weight: bold;
      padding: 0 5px;
      border-radius: 4px;
      cursor: pointer;
      border: 3px solid var(--uhi-white);
      display: inline;
      margin-left: 5px;
   }
  
   .minimise:hover {
      background-color: var(--uhi-grey1);
   }
}

.section.ctas {
    min-height: 0px;
    padding: 0px;
}

.section.testimonials h2 {
    padding-top: 30px;
}

@media (min-width: 768px) {
  .section.clearfix.courseapply .col.half {
    float: left;
    width: 43%;
    margin-right: 4%;
  }

  .section.courseapply .col.half:first-child {
    margin-left: 0;
  }
}

@media (min-width: 1000px) {
 .section.courseapply p.applyconditions {
    font-size: 16px;
    line-height: 20px;
}
}
@media (min-width: 768px) {
.section.courseapply p.applyconditions {
    font-size: 14px;
    line-height: 16px;
}
}

.section.courseapply p.applyconditions {
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    line-height: 17px;
    padding: 10px;
    text-transform: none;
    background-color: var(--uhi-grey2);
    border-radius: 10px;
    margin-top: 10px;
}

.section.kis-container{
    padding-top: 15px;
    font: bold 15px;
    text-transform: uppercase;
    color: #000;
    //background: url(/en/t4-media/one-web/university/admin-assets/css/img/content/hr_black_mobile.png) top center no-repeat;
}

.section.clearfix.apply a {
    background-color: var(--uhi-blue);
    border-radius: 3px;
    color: #fff;
    display: inline-table;
    margin: 0 2px 4px;
    padding: 5px 10px;
    text-decoration: none;
    text-shadow: none;
    vertical-align: middle;
}

.section.courseapply  {
    overflow: hidden;
    margin: 30px;
}

.section.courseapply {
  position: relative;
  background-color: #fff; /* url(/en/t4-media/one-web/university/admin-assets/css/img/content/whitefade_bottom.png) center bottom no-repeat; */
  color: #000;
  font-size: 15px;
  text-align: left;
}

@media (min-width: 768px) {
  .section.courseapply {
    font-size: 16px;
  }
}

@media (min-width: 1000px) {
  .section.courseapply {
    font-size: 17px;
  }
}

@media (min-width: 1200px) {
  .section.courseapply {
    font-size: 18px;
  }
}

.section.courseapply a {
  text-decoration: underline;
  font-weight: bold;
  color: var(--uhi-blue);
}
      
.section.courseapply h3 {
  margin: 0;
}
      
@media (max-width: 767px) {
  .section.courseapply h3 {
    margin-bottom: 4px;
    font-size: 22px;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  .section.courseapply h3 {
    margin-bottom: 4px;
    font-size: 26px;
    line-height: 1;
  }
}

@media (min-width: 1000px) {
  .section.courseapply h3 {
    font-size: 29px;
  }
}

@media (min-width: 1200px) {
  .section.courseapply h3 {
    font-size: 32px;
  }
}

.section.courseapply p,
.section.courseapply ul {
  margin-top: 5px;
  margin-bottom: 0px;
}

.section.courseapply ul li {
  list-style: square;
}

/*
Header slogan of eg:
https://www.htc.uhi.ac.uk/
Site slogan getter nav object #37
*/

.slogan {
  font-size: 16px;
  font-style: italic;
}

@media (min-width: 768px) {
  .slogan {
    font-size: 19px;
  }
}

@media (min-width: 1200px) {
  .slogan {
    clear: right;
    float: right;
  }
}

.slogan p {
  margin: 0 20px 10px;
}

/*
t4-landing-page
*/

.t4-landing-page {
  font-size: 18px;
}

.t4-landing-page .col img {
  max-width: 100%;
  height: auto;
}

/****************************************

HIDDEN COURSE DATA DISPLAY

- https://www.uhi.ac.uk/en/assets/printed-course-info/
- https://www.uhi.ac.uk/en/assets/prospectus/
- https://www.uhi.ac.uk/en/courses/ba-hons-gaelic-language-and-culture/uq530.html
- https://www.uhi.ac.uk/en/courses/ba-hons-business-and-management/unn21.html
- etc
****************************************/

table.prospectus {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}

table.prospectus .printlink {
  display: none;
}

table.prospectus caption {
  font-size: larger;
  font-weight: bold;
  padding: 0 0 15px 0;
  text-align: left;
}

table.prospectus td,
table.prospectus th {
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

table.prospectus td:first-child,
table.prospectus td:nth-child(3) {
  width: 15%;
}

table.prospectus thead,
table.prospectus tfoot {
  background-color: #eee;
}

/****************************************

FUNNELBACK SEARCH RESULTS

partner colours are in their theme stylesheets
****************************************/

/* tablet upwards layout */
@media (min-width: 768px) {
  .fb-search__results {
    max-width: 40em;
  }

  .fb-search__facets {
    flex: 0 0 15rem;
    margin: 10px 0;
    padding-right: 2rem;
  }
}

/* search input box and button */

.fb-search-input .tt-input,
.twitter-typeahead .tt-menu {
  box-sizing: border-box; /* iOS iPad view */
  width: 18em !important;
}

.fb-search-input .tt-hint,
.fb-search-input .tt-input {
  padding: 14px !important;
}

@media (min-width: 445px) {
  .fb-search-input .tt-input,
  .twitter-typeahead .tt-menu {
    width: 24em !important;
  }
}

@media (min-width: 740px) {
  .fb-search-input .tt-input,
  .twitter-typeahead .tt-menu {
    width: 40em !important;
  }
}

@media (min-width: 768px) {
  .fb-search-input .tt-input,
  .twitter-typeahead .tt-menu {
    width: 14em !important;
  }
}

@media (min-width: 940px) {
  .fb-search-input .tt-input,
  .twitter-typeahead .tt-menu {
    width: 24em !important;
  }
}

@media (min-width: 1322px) {
  .fb-search-input .tt-input,
  .twitter-typeahead .tt-menu {
    width: 40em !important;
  }
}

.fb-search-input button {
  display: block;
}

@media (min-width: 768px) {
  .fb-search,
  .fb-search-input {
    display: flex;
  }

  .fb-search-input {
    padding-left: 272px;
  }

  .fb-search-input button {
    display: inline-block;
    margin-left: 1rem;
  }
}

/* search filters */

/* hide inline filter list above search results */
.fb-search #search-facets-breadcrumb {
  display: none;
}

.fb-search .panel-heading {
  border-radius: 3px;
  color: #fff;
  font-size: 20px;
  margin-bottom: 4px;
  padding: 1px;
}

.fb-search .panel-heading .panel-toggle {
  display: block;
  margin: 5px 15px;
}

.fb-search .list-group-item {
  background-color: #f7f7f7;
  border-radius: 3px;
  display: block;
  margin-bottom: 4px;
  transition: .3s;
}

.fb-search .list-group-item:after {
  clear: both;
  content: "";
  display: block;
}

.fb-search .list-group-item:hover {
  background-color: #eee;
}

.fb-search .item-label {
  color: black;
  float: left;
  font-size: 17px;
  margin: 5px 5px 5px 15px;
}

.fb-search .badge {
  border-radius: 17px;
  color: white;
  float: right;
  font-size: 15px;
  margin: 5px;
  min-width: 30px;
  padding: 2px;
  text-align: center;
}

.fb-search .badge,
.fb-search .panel-heading {
  background-color: var(--uhi-black);
}

/* search results list */

.fb-search #search-result-count {
  color: #676767;
  font-size: 15px;
  margin: 10px 0 10px 0;
  text-align: left;
}

.fb-search #search-best-bets:hover {
  background-color: #eee;
  border-radius: 3px;
}

.fb-search #search-best-bets {
  margin: 8px 0 0 0;
  padding: 5px;
}

.fb-search #search-best-bets p {
  color: #000;
}

.fb-search #search-best-bets cite {
  color: #666;
}

.fb-search #search-best-bets li {
    margin-top:20px;
}

.fb-search #search-best-bets li:first-child {
    margin-top:0px;
}

.fb-search cite {
  display: block;
  font-size: 15px;
  font-style: normal;
}

.fb-search .list-unstyled {
  list-style: none;
  padding: 5px;
}

.fb-search .result {
  padding: 16px 0;
}

.fb-search .result strong {
  font-weight: bold;
}

/* TODO make this h2? */
.fb-search .list-unstyled h4 {
  font-size: 18px;
  margin: 0;
}

.fb-search .list-unstyled p {
  font-size: 16px;
  line-height: 1.3;
  margin: 2px 0;
}

.fb-search #search-results cite {
  color: #888;
}

.fb-search .pagination.pagination-lg {
  list-style: none;
  padding: 0;
}

.fb-search .pagination.pagination-lg li {
  display: inline;
  margin-right: 8px;
  padding: 6px;
}

.fb-search .pagination.pagination-lg li.active {
  background-color: #ddd;
  border-radius: 3px;
}

/*********************************************************************

CONTENT TYPES

discrete CTs as held in T4
- act as a pointer from front-end source to back-end location
- so these classes SHOULDN't be used outside of their CT
- "originally known as" is needed for T4 Content Type Usage report

Can all of these go AFTER content-type-modifiers?
*********************************************************************/

/*************************************

- Course Banner Image

- Landing Scrolling Banner
.content-type--landing-scrolling-banner

- Landing Static Banner
.content-type--landing-static-banner

.section.intro is common to all
*************************************/

.section.intro &gt; .wrap {
  background-image: url(/en/t4-media/one-web/university/courses/banner-images/default-small.jpg);
  overflow: hidden;
  position: relative;
  visibility: visible;
  margin: 0px;
}

/* so heading and subheading overlay */
.section.intro &gt; .wrap &gt; .background {
  position: absolute;
  width: 100%; /* essential to show image */
}

.section.intro &gt; .wrap,
.section.intro &gt; .wrap &gt; .background {
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  height: 365px; /* native small banner image height */
}

@media (min-width: 768px) {
  /* image moves to contained .background div */
  .section.intro &gt; .wrap {
    background-image: none !important;
  }

  .section.intro &gt; .wrap &gt; .background {
    background-image: url(/en/t4-media/one-web/university/courses/banner-images/default-large.jpg);
  }

  /*
  banner height should be proportional to viewport width vw
  1630/588 is 36%
  */
  .section.intro &gt; .wrap,
  .section.intro &gt; .wrap &gt; .background {
    height: 36vw;
  }
}

/* so banner doesn't get too big after max container width */
@media (min-width: 1200px) {
  .section.intro &gt; .wrap,
  .section.intro &gt; .wrap &gt; .background {
    max-height: 470px;
  }
}

/* banner image heading and subheading */

.section.intro h1 {
  background-color: #0f0f0f;
  border-radius: 0 3px 3px 0;
  float: left;
  font-size: 25px;
  margin: 15px 10px 0 0;
  padding: 10px;
  position: relative;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .section.intro h1 {
    margin-top: 25px;
    font-size: 32px;
  }
}

@media (min-width: 1000px) {
  .section.intro h1 {
    font-size: 38px;
  }

  .section.intro p {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .section.intro h1 {
    font-size: 44px;
  }

  .section.intro p {
    font-size: 20px;
  }
}

/* don't show wee course subheader box if no content */
.section.intro p:empty {
  display: none;
}

.section.intro p a {
  color: #fff;
  text-decoration: underline;
}

.section.intro p sup a {
  text-decoration: none;
}

/*
Landing Scrolling Banner
hide unused images
*/

@media (max-width: 767px) {
  #bigBG {
    display: none;
  }
}

@media (min-width: 768px) {
  #smallBG {
    display: none;
  }
}

/*
partner map overlaying campus page banner
margin and transform depends on banner height (above rules)
*/

@media (min-width: 768px) {
  .section.intro .mapsingle {
    background-position: bottom right;
    background-repeat: no-repeat;
    float: right;
    height: 365px;
    margin-right: 2%;
    margin-top: -60px;
    /*position: relative;*/
    transform: scale(0.6);
    width: 257px;
  }
}

@media (min-width: 800px) {
  .section.intro .mapsingle {
    margin-top: -65px;
    transform: scale(0.7);
  }
}

@media (min-width: 900px) {
  .section.intro .mapsingle {
    margin-top: -40px;
  }
}

@media (min-width: 1000px) {
  .section.intro .mapsingle {
    margin-top: -25px;
    transform: scale(0.8);
  }
}

@media (min-width: 1100px) {
  .section.intro .mapsingle {
    margin-top: -15px;
    transform: scale(0.9);
  }
}

@media (min-width: 1200px) {
  .section.intro .mapsingle {
    margin-top: 5px;
    transform: scale(1);
  }
}

@media (min-width: 1340px) {
  .section.intro .mapsingle {
    margin-top: 50px;
  }
}

/****************************************
Landing 4 Hero Image
.content-type--landing-4-hero

Landing 4 Post Image Text
.content-type--landing-4-post-image-text

Landing 4 Image Text Overlay
.content-type--landing-4-textoverimage-right
.content-type--landing-4-textoverimage-left
*****************************************/

.content-type--landing-4-hero {
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 720px;
  position: relative;
}

.content-type--landing-4-hero .lower {
  position: absolute;
  bottom: 50px;
  left: 60px;
  width: 80%;
}

.content-type--landing-4-hero .lower h1 {
  font-size: 2.488rem;
  color: #fff;
  text-align: left;
  text-shadow: 2px 2px #222;
  margin-bottom: 10px;
}

.content-type--landing-4-hero .lower h2 {
  font-size: 1.728rem;
  color: #fff;
  text-align: left;
  text-shadow: 2px 2px #222;
  margin-top: 0;
}

.content-type--landing-4-hero .lower p {
  margin-top: 40px;
  padding: 0;
  text-align: center;
}

.content-type--landing-4-hero .lower p a {
  color: var(--uhi-black);
  text-decoration: none;
  background: #fff;
  font-size: 1em;
  padding: 20px 8px 20px 8px;
  width: 160px;
  display: block;
}

.content-type--landing-4-hero .lower p a:hover {
  opacity: 0.8;
  transition-duration: .5s;
}

.content-type--landing-4-post-image-text {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.leftbigger {
  flex-basis: 100%;
  padding: 5%;
  font-size: 2.074rem;
}

.rightsmaller {
  flex-basis: 100%;
  padding: 5%;
  font-size: 1.44rem;
  line-height: 1.8;
}

.rightsmaller p, .leftbigger p {
  margin-top: 0;
}

.content-type--landing-4-textoverimage-right, .content-type--landing-4-textoverimage-left {
  width: 100%;
  margin-bottom: 25px;
  text-align: center;
}

.content-type--landing-4-textoverimage-right h2, .content-type--landing-4-textoverimage-left h2 {
  font-size: 2.074rem;
  color: #000;
  margin-bottom: 50px;
}

.content-type--landing-4-textoverimage-right .textovercontainer, .content-type--landing-4-textoverimage-left .textovercontainer {
  height: 475px;
  position: relative;
}

.content-type--landing-4-textoverimage-right .textover-bg-right {
  width: 80%;
  height: 100%;
  display: block;
}

.content-type--landing-4-textoverimage-right .textoverlay {
  background: #f7f7f7;
  width: 80%;
  text-align: left;
  padding: 2% 3% 2% 3%;
  position: absolute;
  top: 170px;
  right: 20px;
  display: inline-table;
}

.content-type--landing-4-textoverimage-right .textoverlay .textoversubheading, .content-type--landing-4-textoverimage-left .textoverlay .textoversubheading {
  font-size: 1.728rem;
}

.content-type--landing-4-textoverimage-right .textoverlay .textoverbody, .content-type--landing-4-textoverimage-left .textoverlay .textoverbody {
  line-height: 1.8;
}

.content-type--landing-4-textoverimage-right .textoverlay p.textovercta, .content-type--landing-4-textoverimage-left .textoverlay p.textovercta {
  margin-top: 20px;
  padding: 0;
  text-align: center;
}

.content-type--landing-4-textoverimage-right .textoverlay p.textovercta a, .content-type--landing-4-textoverimage-left .textoverlay p.textovercta a {
  color: #fff;
  text-decoration: none;
  background: var(--uhi-blue);
  padding: 20px 8px 20px 8px;
  width: 160px;
  display: block;
}

.content-type--landing-4-textoverimage-right .textoverlay p.textovercta a:hover, .content-type--landing-4-textoverimage-left .textoverlay p.textovercta a:hover {
  opacity: 0.8;
  transition-duration: .5s;
  text-decoration: underline;
}

.content-type--landing-4-textoverimage-left .textover-bg-left {
  position: absolute;
  width: 80%;
  height: 100%;
  display: block;
  right: 0;
}

.content-type--landing-4-textoverimage-left .textoverlay {
  background: #f7f7f7;
  width: 80%;
  text-align: left;
  padding: 2% 3% 2% 3%;
  position: absolute;
  top: 170px;
  left: 20px;
  display: inline-table;
}

@media only screen and (min-width: 768px) {
  
  .leftbigger, .rightsmaller {
    flex-basis:0;
    flex-grow:1;
  }
  
  .content-type--landing-4-textoverimage-right h2, .content-type--landing-4-textoverimage-left h2 {
    font-size:2.488rem;
  }
  
  .content-type--landing-4-textoverimage-right .textoverlay .textoversubheading, .content-type--landing-4-textoverimage-left .textoverlay .textoversubheading {
    font-size:2.074rem;
  }
  
  .content-type--landing-4-textoverimage-left .textovercontainer, .content-type--landing-4-textoverimage-right .textovercontainer {
    height:500px;
  }
  
  .content-type--landing-4-textoverimage-left .textoverlay {
    width:35%;
    top:60px;
    left:0px;
    max-height:300px;
  }
  
  .content-type--landing-4-textoverimage-left .textover-bg-left, .content-type--landing-4-textoverimage-right .textover-bg-right {
    width: 75%;
  }
  
  .content-type--landing-4-textoverimage-right .textoverlay {
    width:35%;
    top:60px;
    right:0px;
    max-height:300px;
  }
  
}

/****************************************
Links Bars common styles

Landing Image Links Bar
Content type usage report: Home Page Image Links bar

Landing Mixed Links Bar
Content type usage report: Landing Page Mixed Content bar

Landing Coloured Links Bar
Content type usage report: Home Page Coloured Links bar
****************************************/

.content-type--links-bar {
  display: flex;
  flex-direction: column;
  text-align: left;
}

@media (min-width: 450px) {
  .content-type--links-bar {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.content-type--links-bar h3,
.content-type--links-bar ul {
  margin: 0;
  padding: 0;
}

.content-type--links-bar__element {
  transition: .3s;
  margin: 0 1% 1% 0;
}

#content-core a.content-type--links-bar__element,
#content-core a.content-type--links-bar__element:hover,
#content-core a.content-type--links-bar__element:active {
  color: var(--uhi-white);
}

.content-type--links-bar__element:hover,
.content-type--links-bar__element:active {
  opacity: 1;
  transform: scale(1.02);
  color: var(--uhi-white);
}

@media (min-width: 450px) {
  .content-type--links-bar__element {
    flex: 1 1 49%;
    margin: 0 1% 1% 0;
    opacity: .9;
  }
}

@media (min-width: 960px) {
  .content-type--links-bar__element {
    flex: 1 1 24%;
  }
}

.content-type--links-bar__element img {
  width: 100%;
}

.content-type--links-bar__contrasting-text {
  color: #fff;
  display: block;
  font-size: 1.3em;
  line-height: 1;
  margin-top: auto;
  padding: 1rem;
}

.content-type--links-bar__contrasting-text a,
.content-type--links-bar__contrasting-text a:hover,
.content-type--links-bar__contrasting-text a:active,
.content-type--links-bar__contrasting-text a:visited {
  color: #fff !important;
}

@media (min-width: 450px) {
  .content-type--links-bar__contrasting-text {
    min-height: 40px;
  }
}

.content-type--links-bar__background-image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  height: 200px;
}

@media (min-width: 450px) {
  .content-type--links-bar__background-image {
    opacity: .9;
  }

  .content-type--links-bar__background-image:hover,
  .content-type--links-bar__background-image:active {
    opacity: 1;
  }
}

/* force the max width for Landing Image Links Bar to maintain aspect ratio irrespective of number of image links PAW 20191025 */
@media (min-width: 960px) {
.content-type--landing-image-links-bar a {
/*  max-width: 24%;  */
}
}
/* v2 PAW 20201120 - largely untested, mind  */
@media (min-width: 960px) {
.content-type--landing-image-links-bar a:nth-of-type(2) {
  flex-grow:4; 
}
}


/****************************************
One-Web Callout

Content type usage report: Callout
****************************************/

.content-type--callout {
  background-color: #f7f7f7;
  border-left: .5rem solid var(--uhi-turquoise);
  border-radius: 3px;
  margin: 1rem 2rem 2rem;
  overflow: hidden; /* when Right Content present 20180426 */;
  color: #000;
}

.content-type--callout {
  padding: .25rem 2rem;
}

.content-type--callout blockquote {
  border-color: #fff !important;
}

/*****************************************************
One-Web Children Link List

Content type usage report: One-Web Children Link List
******************************************************/

.content-type--one-web-children-link-list {
  font-size: 18px;
}

.content-type--one-web-children-link-list ul {
  margin-bottom: 2rem;
}

.content-type--one-web-children-link-list li {
  margin-bottom: .5rem;
}

/*****************************************************
One-Web Expert

Content type usage report:
- Expert

.content-type--expert {}
******************************************************/

.content-type--expert img {
  max-width: 500px;
}

/****************************************
One-Web General Content

Content type usage report: General Content
****************************************/

/* https://css-tricks.com/snippets/css/clear-fix/ */
.content-type--one-web-general-content:after {
  content: "";
  display: table;
  clear: both;
}

.content-type--one-web-general-content img {
  margin-bottom: 1rem;
}

/****************************************
One-Web Highlight Content Box

Content type usage report: Highlight Content Box
****************************************/

.content-type--one-web-highlight-content-box {
  background-color: #f7f7f7;
  box-sizing: border-box;
  margin: .5rem 0;
  padding: 1rem;
  text-align: center;
  margin-right: 1rem;
}

.content-type--one-web-highlight-content-box .content-type--one-web-video-embed,
.content-type--one-web-highlight-content-box img,
.content-type--one-web-highlight-content-box h2 {
  margin: 0 0 .5rem 0;
  padding: 0;
}

.content-type--one-web-highlight-content-box img {
    max-width: 100%;
    transition: .5s;
    width: auto;
}

.content-type--one-web-highlight-content-box h2 {
  font-size: 20px;
}

.content-type--one-web-highlight-content-box__body {
  text-align: left;
}

@media (min-width: 480px) {
  .content-type--one-web-highlight-content-box {
    margin-right: 1rem;
    opacity: .85;
    transition: .5s;
    width: 209px;
  }

  /* double width (eg video) column */
  .content-type--one-web-highlight-content-box.content-type--one-web-highlight-content-box--x2 {
    width: 395px;
  }

  .content-type--one-web-highlight-content-box:hover {
    opacity: 1;
  }

  .content-type--one-web-highlight-content-box a:hover {
    cursor: pointer;
  }

  .content-type--one-web-highlight-content-box img:hover {
    transform: scale(1.02);
  }
}

@media (min-width: 1441px) {
  .content-type--one-web-highlight-content-box {
    width: 217px;
  }
}

.content-type--one-web-highlight-content-box.list--background-colours a {
  color: inherit;
  text-decoration: underline;
}

.content-type--one-web-highlight-content-box a {
  word-break: break-word;
}

/*****************************************************
One-Web Media Object

Content type usage report: One-Web Media Object [TEST KIF]
*****************************************************/

.content-type--one-web-media-object {
  padding: .5rem 0;
  width: 100%; /* IE11 */
}

.content-type--one-web-media-object img {
  max-width: 100%;
}

.content-type--one-web-media-object ul {
  padding-left: 20px;
}

.content-type--one-web-media-object li {
  margin-bottom: 3px;
}

.content-type--one-web-media-object__heading {
  margin: .5rem 0 0;
}

@media (min-width: 480px) {
  .content-type--one-web-media-object {
    padding: 0 2rem 1rem 0;
  }

  .content-type--one-web-media-object &gt; div {
    flex: 1;
  }
}

@media (min-width: 1200px) {
  .content-type--one-web-media-object {
    align-items: flex-start;
    display: flex;
    padding: 1rem 3rem 1rem 0;
  }

  .content-type--one-web-media-object__heading {
    margin: 0 0 1rem 0;
  }

  .content-type--one-web-media-object img {
    margin: 0 1rem 1rem 0;
    max-width: 200px;
  }
}

/****************************************
One-Web News

Content type usage report: News
****************************************/

.content-type--one-web-news time {
  font-weight: bold;
  float: right;
  color: #666666;
}

.content-type--one-web-news img {
  display: block;
  margin: auto;
}

.content-type--one-web-news__image {
  margin: auto;
  width: auto;
  display: table;
  background: var(--uhi-black);
  padding: 13px;
  border-radius: 3px;
}

.content-type--one-web-news__image p {
  font-size: 16px;
  font-style: normal;
  margin: 5px 0 0;
}

.news-image-align {
  display: block;
  text-align: center;
}

.content-type--one-web-news__image img {
  max-height: 475px;
}

.content-type--one-web-news__image figcaption {
  display: table-caption;
  caption-side: bottom;
  background: var(--uhi-black);
  padding: 0 13px 5px 13px;
  border-radius: 0px 0px 3px 3px;
  margin-top: -3px;
  color: var(--uhi-white);
}

/****************************************
One-Web News Listing

Content type usage report: News Listing

.content-type--one-web-news-listing
****************************************/

/*.content-type--one-web-news-listing__paginate {}*/

.content-type--one-web-news-listing__article {
  clear: both;
  padding: 1rem .5rem;
  overflow: hidden;
}

.content-type--one-web-news-listing__article,
.content-type--one-web-news-listing__article img {
  border-radius: 3px;
}

.content-type--one-web-news-listing__article:nth-child(odd) {
  background-color: var(--uhi-black);
  color: var(--uhi-white);
}

.content-type--one-web-news-listing__article:nth-child(odd) a {
  color: var(--uhi-white);
}

#content-core .content-type--one-web-news-listing__article:nth-child(odd) h3 a {
    color: var(--uhi-white);
}

#content-core .content-type--one-web-news-listing__article:nth-child(even) h3 a {
    color: var(--uhi-black);
}

.content-type--one-web-news-listing__article h3 {
  margin: 0 0 4px;
  line-height: 1.2;
}

.content-type--one-web-news-listing__article img {
  float: right;
  margin-left: .5rem;
  max-width: 150px;
}

.content-type--one-web-news-listing__article p {
  margin: 0;
}

/****************************************
One-Web Right Content

Content type usage report: Right Content
****************************************/

.content-type--one-web-right-content {
  margin: 0 1rem 1rem 0;
  order: 0;
  width: 100%;
}

@media (max-width: 767px) {
  .content-type--one-web-right-content {
    width: auto;
  }
}

@media (max-width: 1024px) {
  .content-type--one-web-right-content {
    margin: 1rem 1rem 0 0;
    order: 2;
    padding: 1rem;
    flex-basis: 100%;
    border: 2px solid #bababa;
    border-radius: 6px;
  }
}

.content-type--one-web-right-content blockquote {
  font-size: 16px;
  margin: 0;
}

.content-type--one-web-right-content img {
  border-radius: 3px;
}

.content-type--one-web-right-content &gt; h2:first-child,
.content-type--one-web-right-content &gt; h3:first-child {
  margin-top: 0;
}

#portal-column-two .content-type--one-web-right-content ul {
  list-style-type: inherit;
  margin: inherit;
  padding: 0 2rem;
}

#portal-column-two .content-type--one-web-right-content ul li {
  padding-bottom: 8px;
}

/****************************************
One-Web Text Banner

****************************************/

.content-type--one-web-text-banner {
  background-color: #ffbb00;
  display: flex;
  flex-direction: column;
  margin: 0 0 2rem 0;
  padding: 2rem 1rem;
  color-scheme: only light;
}

.content-type--one-web-text-banner__col:first-child {
  padding: 0 0 2rem 0;
}

@media (min-width: 768px) {
  .content-type--one-web-text-banner {
    flex-direction: row;
  }

  .content-type--one-web-text-banner__col:first-child {
    padding: 0 3rem 0 0;
  }
}

#content-core .content-type--one-web-text-banner,
#content-core .content-type--one-web-text-banner a,
#content-core .content-type--one-web-text-banner a:visited {
  color: #000;
}

.content-type--one-web-text-banner h2 {
  font-size: 2.074rem;
  margin: 0 0 2rem;
}

.content-type--one-web-text-banner__refer {
  font-size: 18px;
  line-height: 1.1;
  margin: 0 0 .5rem 0;
}

@media (min-width: 1200px) {
  .content-type--one-web-text-banner__refer {
    font-size: 22px;
    margin: 0 0 1rem 0;
  }
}

.content-type--one-web-text-banner__refer:last-child {
  margin-bottom: 0;
}

.content-type--one-web-text-banner h2,
.content-type--one-web-text-banner__refer {
  font-family: "aktiv-grotesk", Arial, sans-serif;
}

.content-type--one-web-text-banner__icon {
  font-family: "Sosa Web", sans-serif !important;
  font-size: 31px;
}

/*****************************************************
One-Web Event Listing with Calendar

related to earlier CT: Uni Event Listing
******************************************************/

.content-type--one-web-event-listing {
  margin: 1rem 0;
  padding: 0;
}

.content-type--one-web-event-listing li {
  display: block;
  margin-bottom: .5rem
}

/*****************************************************
One-Web Staff Profile

.content-type--one-web-staff-profile
******************************************************/

/****************************************
One-Web Video Embed (YouTube or Stream)

Content type usage report: YouTube Video Embed

responsive video wrapper handled with FitVids now
https://github.com/davatron5000/FitVids.js

.videowrapper used on Course page content eg:
https://www.uhi.ac.uk/en/courses/ba-hons-applied-music/

.content-type--one-web-video-embed also shared on
One-Web Highlight Content Box

.content-type--landing-page-text__video also shared on
3 Landing Page Text layouts in CT
****************************************/

.content-type--one-web-video-embed,
.videowrapper {
  margin: 1rem 0 3rem;
}

.content-type-modifier--collapsible .content-type--one-web-video-embed {
  margin: 1rem 0 0 0;
}

.content-vid-wrapper {
  max-width: 640px;
}

.content-type--one-web-video-embed--youtube iframe,
.videowrapper iframe {
  border: 1px solid #000;
  border-radius: 3px;
}

.content-type--landing-page-text__video iframe {
  border: none;
}

@media (min-width: 768px) {
  .col.threequarters .content-type--landing-page-text__video--half {
    float: right;
    padding-left: 2rem;
    width: 50%;
  }

  .content-type--landing-page-text__video--half,
  .content-type--landing-page-text__video--half + h2 {
    margin-top: 0 !important;
  }
}

/*****************************************************
One-Web Vacancy

Content type usage report: Vacancy

.content-type--one-web-vacancy
******************************************************/

/*****************************************************
One-Web Vacancy Listing

Content type usage report: Uni Vacancy Listing

.content-type--one-web-vacancy-listing
https://www.uhi.ac.uk/en/staff/vacancies/
******************************************************/

.vac + .vaclink {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

/****************************************

CONTENT TYPE MODIFIERS

classes that can apply to existing CTs to adjust their appearance consistently with other CTs
plus common styles across Content Types
****************************************/

/****************************************
Border
****************************************/

/*
.content-type--one-web-highlight-content-box img
.content-type--one-web-media-object img
.content-type--one-web-news-listing__article img
.content-type--one-web-news__image img
.content-type--one-web-right-image img
TODO make switchable border Element in CT?
*/

.content-type-modifier--border,
.main input[type="password"],
.main input[type="text"],
.main textarea,
table.prospectus td,
table.prospectus th,
table.prospectus {
  border: 1px solid #ccc;
}

/****************************************
Collapsible

expand and collapse content ('accordion')

used in
- One-Web General Content
****************************************/

.content-type-modifier--collapsible {
  margin: 0 0 1rem 0;
}

/* menu */

.content-type-modifier--collapsible__menu {
  margin: 1rem 0;
}

@media (min-width: 400px) {
  .content-type-modifier--collapsible__menu {
    text-align: right;
  }
}

.content-type-modifier--collapsible__label {
  cursor: pointer;
}

.content-type-modifier--collapsible__label:hover {
  text-decoration: none !important;
}

.content-type-modifier--collapsible__label:nth-child(1) {
  margin-right: 1rem;
}

.content-type-modifier--collapsible__label:nth-child(1):after {
  content: 'show all';
}

.content-type-modifier--collapsible__label:nth-child(2):after {
  content: 'hide all';
}

/* content blocks */

.content-type-modifier--collapsible__heading {
  background-color: #f7f7f7;
  color: var(--uhi-blue);
  cursor: pointer;
  display: flex;
  margin: 0 0 1rem;
  padding: 1rem;
  transition: .2s;
}

.content-type-modifier--collapsible__heading:hover {
  background-color: #eee;
}

.content-type-modifier--collapsible .content-type--one-web-general-content,
.content-type-modifier--collapsible .content-type--one-web-video-embed,
.content-type-modifier--collapsible .content-type--one-web-general-content__heading {
  display: none;
  background-color: #f7f7f7;
  padding: 10px 18px;
  margin-top: -1rem;
  border: 1px solid var(--uhi-grey1);
  border-top: none;
}

.content-type-modifier--collapsible__control {
  font-family: "Sosa Web", sans-serif;
  font-size: 23px;
}

.content-type-modifier--collapsible__heading .content-type-modifier--collapsible__control {
  margin-right: 1rem;
}

.content-type-modifier--collapsible__heading .content-type-modifier--collapsible__control::after {
  content: 'Ã¬'; /* short arrow down */
}

/* open state */

.content-type-modifier--collapsible__heading.content-type-modifier--collapsible--open {
  background-color: transparent;
  border-color: var(--uhi-grey1);
  border-style: solid;
  border-width: 1px;
}


.content-type-modifier--collapsible--open .content-type-modifier--collapsible__control::after {
  content: 'Ã­'; /* short arrow up */
}

/****************************************
Typography

heading and list styles with vertical rhythm
from type scale - for mobile multiply by 14/16

used in:
- One-Web Event
- One-Web Expert
- One-Web General Content
- One-Web News
- One-Web Staff Profile
- One-Web Vacancy
- One-Web Vacancy Listing

.description used in:
- One-Web General Content
- One-Web Vacancy
- One-Web Openday

table styles also used in:
- Course pages

****************************************/

/* blockquote */

.t4-landing-page blockquote,
.content-type--callout blockquote,
.content-type-modifier--typography blockquote,
.content-type--one-web-media-object blockquote,
.content-type--one-web-right-content blockquote {
  border-radius: 3px;
  border-style: solid;
  border-width: 0 0 0 .5rem;
  margin: 2rem 0;
  padding: 0 2rem 0 1rem;
}

@media (min-width: 640px) {
  .content-type--callout blockquote,
  .content-type-modifier--typography blockquote,
  .content-type--one-web-media-object blockquote {
    margin: 2rem;
  }
}

.t4-landing-page blockquote,
.content-type-modifier--typography blockquote,
.content-type--one-web-media-object blockquote,
.content-type--one-web-right-content blockquote {
    border-color: var(--uhi-turquoise);
    background-color: #f7f7f7;
    padding-top: 4px;
    padding-bottom: 4px;
}

.content-type-modifier--collapsible blockquote,
.content-type--one-web-right-content.content-type-modifier--shading blockquote {
  background-color: var(--uhi-white);
}

.t4-landing-page .text-image-black blockquote {
  border-color: var(--uhi-yellow);
  background-color: #595959;
}

.t4-landing-page .text-image-black.bg-light blockquote {
  border-color: var(--uhi-turquoise);
  background-color: #f7f7f7;
}

.t4-landing-page .text-image-right.bg-dark blockquote {
  border-color: var(--uhi-yellow);
  background-color: #595959;
}

/* headings and font sizes */

.content-type-modifier--typography h2,
.content-type-modifier--typography table caption {
  font-size: 1.512rem;
}

.content-type--one-web-event-listing__title,
.content-type--one-web-event__data h2,
.content-type--one-web-event__details h2,
.content-type--one-web-media-object__heading,
.content-type--one-web-right-content h2,
.content-type-modifier--collapsible__heading,
.content-type-modifier--typography h3 {
  font-size: 1.26rem;
}

@media (min-width: 1000px) {
  .content-type-modifier--typography h2,
  .content-type-modifier--typography table caption {
    font-size: 1.728rem;
  }


  .content-type--one-web-event__details h2,
  .content-type--one-web-media-object__heading,
  .content-type-modifier--collapsible__heading,
  .content-type-modifier--typography h3 {
    font-size: 1.44rem;
  }

  .content-type--one-web-right-content h2 {
    font-size: 1.26rem;
  }

  .content-type--one-web-event__summary,
  .content-type-modifier--typography h4 {
    font-size: 1.2rem;
  }
}

.content-type--callout,
.content-type--media-library-category-gallery a,
.content-type--one-web-event__summary,
.content-type--one-web-general-content__description,
.content-type--one-web-news time,
.content-type--one-web-news__description,
.content-type--one-web-right-content h3,
.content-type--one-web-vacancy__description,
.content-type-modifier--typography blockquote,
.content-type-modifier--typography h4,
.description {
  font-size: 20px;
}

/* spacing between headed sections */
.content-type-modifier--typography h2,
.content-type-modifier--typography h3,
.content-type-modifier--typography h4,
.content-type-modifier--typography h5,
.content-type-modifier--typography h6,
.content-type-modifier--typography table caption {
  margin: 1.728rem 0 1rem;
}

/* lists */

.content-type-modifier--typography li {
  padding-bottom: 8px;
}

/* nested lists */
.content-type-modifier--typography li ol,
.content-type-modifier--typography li ul {
  padding-top: 8px;
}

.content-type-modifier--typography ol ol {
  list-style-type: lower-roman;
}

.content-type-modifier--typography ol ol ol {
  list-style-type: lower-latin;
}

/* Anchor tags */

.content-type-modifier--typography a,
.content-type--one-web-children-link-list a{
  color: var(--uhi-blue);
}

/* tables

Only use for small screens:
- table-layout:fixed
- width:100%
(repercussions for cell widths etc)

accessibility:
https://www.w3.org/WAI/tutorials/tables/
*/

th, td {
  padding: 10px;
}

.content-type-modifier--typography table,
.coursedetails table {
  line-height: 1.2;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
  table-layout: fixed;
  width: 100%;
}

.content-type-modifier--typography table,
.content-type-modifier--typography td,
.coursedetails td,
.coursedetails th {
  border-style: solid;
  border-width: 1px;
}


.content-type-modifier--typography table,
.content-type-modifier--typography td {
  border-color: #ddd; /* on light background */
}

.content-type-modifier--collapsible .content-type-modifier--typography table,
.content-type-modifier--collapsible .content-type-modifier--typography td {
  border-color: var(--uhi-grey1);
}

.content-type-modifier--collapsible .content-type-modifier--typography table tbody {
  background-color: var(--uhi-white);
}

/* consistent with &lt;thead&gt;&lt;th&gt; */
.content-type-modifier--typography thead td {
  border: none;
}

/*
in T4 a cell can be:
- &lt;th&gt; but not inside a &lt;thead&gt;&lt;tr&gt;
- &lt;td&gt;         inside a &lt;thead&gt;&lt;tr&gt;
*/
.content-type-modifier--typography th,
.content-type-modifier--typography thead tr {
  background-color: #eee;
}

.content-type-modifier--typography td,
.content-type-modifier--typography th,
.coursedetails td,
.coursedetails th {
  /*padding: 3px 6px;*/
  word-wrap: break-word;
}

.content-type-modifier--typography td,
.content-type-modifier--typography th,
.coursedetails td {
  vertical-align: top;
}

.coursedetails td,
.coursedetails th {
  border-color: #999; /* on dark background */
  font-size: 15px;
}

.coursedetails td {
  text-align: right; /* line up currency format */
}

.coursedetails th {
  text-align: center;
  vertical-align: middle;
  /*min-width: 70px;*/
}

.coursedetails td p,
.coursedetails th p {
  margin: 0;
}

.content-type-modifier--typography table ol,
.content-type-modifier--typography table p,
.content-type-modifier--typography table ul {
  margin-top: 0;
}

.content-type-modifier--typography table caption {
  font-weight: bold;
  text-align: left;
}

/* table summary for accessibility */
.mce-table-summary {
  font-size: 18px;
  line-height: 1;
}

/****************************************
Flexbox and Width

main.js makeFlexContainer() creates container

used in
- One-Web Highlight Content Box
- One-Web Media Object
****************************************/

.content-type-modifier--flex-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 480px) {
  .content-type-modifier--flex-container {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .content-type-modifier--width--half {
    box-sizing: border-box;
    width: 50%;
  }
}

/****************************************
two column layout used in:
- One-Web General Content
****************************************/

@media (min-width: 640px) {
  .flex-cols {
    display: flex;
    width: 100%;
  }

  .flex-cols__col {
    flex: 1;
  }

  .flex-cols__col--next {
    padding-left: 4%;
  }
}

/****************************************
Shading

light background colour in a padded container

used in:
- One-Web Right Content
...
****************************************/

.content-type-modifier--shading {
  padding: 1rem;
  background-color: #f7f7f7;
  border-color: #ddd;
  border-style: solid;
  border-width: 1px;
}

.content-type-modifier--shading-image {
  padding: 1rem;
  display: table;
  background-color: #f7f7f7;
  border-color: #ddd;
  border-style: solid;
  border-width: 1px;
}

.content-type-modifier--shading-image figcaption {
  display: table-caption;
  caption-side: bottom;
  padding: 0 1rem 1rem 1rem;
  margin-top: -6px;
  background: #f7f7f7;
  border-color: #ddd;
  border-bottom: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

/****************************************

CONTENT TYPES (more)

already tested to go AFTER content-type-modifiers
****************************************/

/*****************************************************
Landing Link List
- Landing Link List Children
- Landing Link List Custom

Content type usage report:
- Landing Children Links [TEST KIF]
- ?

inheriting from these rules, for some reason:
.section.courselist .col.onequarter.news
styles these link lists, and other stuff for now probably

TODO these rules may be redundant with introduction of new .navigation--contextual
******************************************************/

.section.courselist .col.onequarter.news &gt; p {
  margin-right: 1rem;
}

/* parent */
.section.courselist .col.onequarter.news &gt; ul {
  margin: 0 0 1rem;
}

/* line default text color */
.section.courselist .col.onequarter.news &gt; ul &gt; li {
  color: var(--uhi-black);
}

/* line blocks - structure */
.section.courselist .col.onequarter.news &gt; ul &gt; li {
  border-radius: 3px;
  display: block;
  margin-bottom: 6px;
  padding: 2px 5px;
}

/* line blocks - skin */
.section.courselist .col.onequarter.news &gt; ul &gt; li {
  background-color: #f7f7f7;
}

/* line blocks - skin - heading */
.section.courselist .col.onequarter.news &gt; ul &gt; li:first-child {
  background-color: var(--uhi-black);
  color: #fff;
  font-weight: bold;
}

/* line blocks - hover &amp; active */
.section.courselist .col.onequarter.news &gt; ul &gt; li:hover:not(:first-child) {
  background-color: #eee;
  cursor: pointer;
}

/* link blocks */
.section.courselist .col.onequarter.news &gt; ul &gt; li a {
  color: #000;
  display: block;
  font-family: inherit;
}

/* link blocks - hover */
.section.courselist .col.onequarter.news &gt; ul &gt; li a:hover {
  text-decoration: none;
}

/****************************************************************
Landing RSS Feed
Landing RSS Feed - PHP - Positionable
Landing RSS Feed - PHP - Positionable (Limited)
Landing RSS Feed - Positionable

name in transition

e.g.
https://www.inverness.uhi.ac.uk/
****************************************************************/

.content-type--landing-rss-feed {
  margin-bottom: 30px;
}

.content-type--landing-rss-feed__heading {
  font-weight: bold;
}

.content-type--landing-rss-feed ul {
  padding: 0;
  margin: 0;
}

.content-type--landing-rss-feed__line {
  background-color: #f7f7f7;
  border-radius: 3px;
  font-size: 18px;
  list-style-type: none;
  margin: .5rem 0;
  padding: .25rem .5rem !important;
}

.content-type--landing-rss-feed__labelfield {
  font-size: 15px;
}

/*****************************************************
Media Library Category Document List

Content type usage report: One-Web Media Category Documents
******************************************************/

/*****************************************************
Media Library Category Gallery

Content type usage report: One-Web Gallery
******************************************************/

.content-type--media-library-category-gallery {
  float: left;
  padding: 0 .5rem .5rem 0;
}

.content-type--media-library-category-gallery a {
  display: flex;
  flex-direction: column;
  margin-left: 0;
}

.content-type--media-library-category-gallery a div {
  background-repeat: no-repeat;
  background-size: cover;
}

.content-type--media-library-category-gallery a,
.content-type--media-library-category-gallery a:active {
  color: #fff !important;
}

.content-type--media-library-category-gallery a:active {
  text-shadow: none;
}

.content-type--media-library-category-gallery a:hover {
  text-decoration: none !important;
}

.content-type--media-library-category-gallery a span {
  background-color: var(--uhi-black);
  text-align: center;
}

.content-type--media-library-category-gallery__label {
  margin-top: auto;
}

.content-type--media-library-category-gallery__label,
.content-type--media-library-category-gallery a span {
  display: inline-block;
  padding: 3px;
}

:nth-child(1 of .content-type--media-library-category-gallery) {
    margin-left: 5%;
}

#portal-columns .content-type--media-library-category-gallery {
    margin: 0;
}

/*
Fancybox plugin - customisations
*/

.fancybox-caption {
  border: none !important;
  font-weight: bold !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  padding: 30px !important;
  text-align: center !important;
}

.fancybox-caption-wrap {
  background: rgba(0, 0, 0, .5) !important;
  padding: 0 !important;
}

@media (min-width: 1025px) {
  .fancybox-caption {
    font-size: 26px !important;
  }

  .fancybox-caption-wrap {
    bottom: 14% !important;
  }
}

/*****************************************************
Landing Content Boxes

Content type usage report: ?

previously used .halflight
******************************************************/

/* flexbox for container in IE11 and iOS Safari */
.content-type--landing-content-boxes {
  display: flex;
  flex-wrap: wrap;
}

.content-type--landing-content-boxes__box {
  box-sizing: content-box;
  margin: 0 1rem 1rem 0;
  width: 100%;
}

@media (max-width: 639px), (min-width: 768px) and (max-width: 1023px) {
  .content-type--landing-content-boxes__box {
    width: 100%;
  }
}

/* less uncool browsers */
@supports (display: grid) {
  .content-type--landing-content-boxes {
    display: grid;
    grid-gap: 1rem;
    margin-bottom: 2rem;
  }

  .content-type--landing-content-boxes__box {
    margin: 0;
    width: auto;
  }

  @media (min-width: 640px) and (max-width: 767px), (min-width: 1024px) {
    .twocol .content-type--landing-content-boxes {
      grid-template-columns: 1fr 1fr;
    }
  }
}

.content-type--landing-content-boxes__box {
  background-color: #f7f7f7;
  border: 3px solid #fff;
  border-radius: 3px;
  box-shadow: 5px 5px 11px #ccc;
  padding: 1rem;
}

.content-type--landing-content-boxes__box:hover {
  box-shadow: 5px 5px 11px var(--uhi-turquoise);
}

/* headings and lists within boxes */

.content-type--landing-content-boxes h2 {
  font-size: 1.26rem;
  margin-top: 0;
}

.content-type--landing-content-boxes ol,
.content-type--landing-content-boxes ul {
  padding-left: 18px;
}

.content-type--landing-content-boxes li {
  margin-bottom: .5rem;
}

/*****************************************************
One-Web Event

Content type usage report: Event, Uni Event
******************************************************/

.content-type--one-web-event__data {
  background-color: #f7f7f7;
  border-radius: 3px;
  margin-bottom: 1rem;
  padding: 1rem;
}

.content-type--one-web-event__data h2 {
  display: inline-block;
  margin: 0;
}

.content-type--one-web-event__data p {
  margin: 0 0 1rem 0;
}

.content-type--one-web-event__data p:last-child {
  margin-bottom: 0;
}

@media (min-width: 480px) {
  .content-type--one-web-event__data p {
    margin-left: 41px;
  }
}

.content-type--one-web-event__details figure {
  margin-bottom: 2rem;
}

.content-type--one-web-event__details img {
  border-radius: 3px;
}

.content-type--one-web-event__help {
  font-size: 16px;
}

.content-type--one-web-event__icon {
  font-family: "Sosa Web", sans-serif;
  font-size: 34px;
  display: inline-block;
}


/****************************************************************
One-Web Page Button General &amp; Right
btn-content, btn-content-right became content-type--page-button

Landing Buttons
Content type usage report: Landing Image Boxes (and Landing Page Buttons)
#piclinks became content-type--page-button--landing
****************************************************************/

.content-type--page-button--landing {
  margin-bottom: 1rem;
}

.content-type--page-button--landing h2 {
  clear: both;
}

.content-type--page-button--landing ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.content-type--page-button,
.content-type--page-button--landing li {
  position: relative;
  z-index: 1;
}

.content-type--page-button,
.content-type--page-button--landing li,
.content-type--page-button a,
.content-type--page-button--landing a,
.content-type--page-button img {
  height: 110px;
  width: 225px;
}

.content-type--page-button.new-button,
.content-type--page-button--landing.new-button li,
.content-type--page-button.new-button a,
.content-type--page-button--landing.new-button a,
.content-type--page-button.new-button img {
  height: 180px;
  width: 290px;
}

.content-type--page-button img {
  opacity: 0.85;
  transition: .5s;
  border-radius: 0px;
}

.content-type--page-button img:hover {
  opacity: 1;
  transform: scale(1.02);
}

.content-type--page-button,
.content-type--page-button--landing li {
  border: 5px solid var(--uhi-black);
  display: inline-block;
  margin: 0 1rem 1rem 0;
  padding: 0;
  transition: .5s;
}

.content-type--page-button.new-button,
.content-type--page-button--landing.new-button li {
  border: none;
}

.content-type--page-button a,
.content-type--page-button--landing a {
  border: none !important;
  color: #fff !important;
  display: block;
  padding: 0 !important;
}

.content-type--page-button span,
.content-type--page-button--landing strong {
  font-size: 1.5rem;
  font-weight: normal;
  left: 5%;
  line-height: 1;
  padding-right: 5%;
  position: absolute;
  text-shadow: 0 0 8px #000, 0 0 3px #000;
  top: 5%;
  z-index: 2;
  color: #fff;
}

/*****************************************************
One-Web Right Image

Content type usage report: Right Image (?)

.content-type--one-web-right-image {}
******************************************************/

.content-type--one-web-right-image {
  order: 3;
  margin: auto;
  width: 100%;
  text-align: center;
}

@media (min-width: 1024px) {
  .content-type--one-web-right-image {
    margin: 0 1rem 1rem 0;
    order: 0;
  }
}

/*****************************************************

One-Web Soundcloud Embed

*****************************************************/

.content-type--one-web-soundcloud-embed {
  margin: 10px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.content-type--one-web-soundcloud-embed:nth-child(even) {
  background: var(--uhi-black);
  color: var(--uhi-white);
}

#content-core .content-type--one-web-soundcloud-embed:nth-child(even) a {
  color: var(--uhi-yellow);
}

.content-type--one-web-soundcloud-embed h2 {
  margin-top: 0;
}

.content-type--one-web-soundcloud-embed .headshot p img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-right: 10px
}

@media only screen and (min-width: 640px) {
  .content-type--one-web-soundcloud-embed .headshot p {
    text-align: right;
    height:auto;
  }
  
  .content-type--one-web-soundcloud-embed .headshot p img {
    margin-left: 10px;
    margin-right: 0;
  }
}

/****************************************

T4 LISTS

****************************************/

.list--background-colours,
.list--background-colours span,
.list--background-colours a,
.list--background-colours span a,
#content-core .list--background-colours,
#content-core .list--background-colours span,
#content-core .list--background-colours a,
#content-core .list--background-colours span a,
main .list--background-colours,
main .list--background-colours span,
main .list--background-colours a,
main .list--background-colours span a {
  color: var(--uhi-white);
  background-color: var(--uhi-purple);
}

/****************************************

T4 NAVIGATION

****************************************/

/*
left hand side contextual navigation menu column
common to Landing Page Link Lists and Left Nav
*/

/* Left Nav full width on mobile */
.navigation--contextual {
  margin: 0 -.5rem 2rem;
}

@media (min-width: 1024px) {
  .navigation--contextual {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Landing Page full width on mobile */
.col .navigation--contextual {
  margin: 0 -1% 2rem;
}

@media (min-width: 768px) {
  .col .navigation--contextual {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Left Nav full column width on wider desktop */
@media (min-width: 1360px) {
  #portal-column-one .navigation--contextual {
    margin-left: -1rem;
  }
}

.navigation--contextual a {
  display: block;
}

.navigation--contextual ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* multilevel-linkul-x */
.navigation--contextual ul ul {
  margin-top: 8px;
}

.navigation--contextual h2,
.navigation--contextual h2 a {
  background-color: #767676; /* block colour TODO update partner stylesheets */
  color: #fff;
  font-size: 18px;
  transition: .3s;
}

.navigation--contextual h2 {
    border-bottom: .25rem solid var(--uhi-turquoise);
    border-radius: 0;
    font-family: "degular-display", Arial, sans-serif;
}

.navigation--contextual h2 a:hover {
  color: #ddd;
}

/* elements */

.navigation--contextual h2,
.navigation--contextual li {
  display: block;
  line-height: 1.2;
  margin: 0 0 .25rem 0;
  padding: 6px 8px;
  transition: .3s;
}

.navigation--contextual h2,
.navigation--contextual li a {
  font-family: inherit;
}

.navigation--contextual h2 a,
.navigation--contextual li {
  cursor: pointer;
}

.navigation--contextual li {
  background-color: #f7f7f7;
  font-size: 15px;
}

.navigation--contextual li:active,
.navigation--contextual li:hover,
.navigation--contextual li:hover li {
  background-color: #eee;
}

.navigation--contextual li:hover li a:hover {
  text-decoration: underline;
}

.navigation--contextual li a {
  color: #333;
}

.navigation--contextual li a:hover {
  color: var(--uhi-blue);
}

.navigation--contextual ul ul li:last-child {
  margin-bottom: 0;
}

/* current branch highlight */
.navigation--contextual span[class^="currentbranch"] {
  cursor: initial;
  display: block;
  font-weight: bold;
}

/*
breadcrumb nav
last crumb is sometimes a link, sometimes not
*/

.navigation--breadcrumb {
  text-transform: lowercase;
}

.navigation--breadcrumb ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.navigation--breadcrumb li {
  display: inline-block;
}

.navigation--breadcrumb li:not(:last-child)::after {
  content: "â€º";
  margin: 0 .5rem;
}

/*
Previous and Next links for News and Event fulltext layouts
*/

.navigation--previous-next {
  border-top: 1px solid #ccc;
  font-size: 1.2rem; /* matches Summary size */
  margin-top: 2rem;
  overflow: hidden;
  padding-top: 2rem;
}

.navigation--previous-next__pagination {
  margin: 0 0 1rem 0;
}

@media (min-width: 640px) {
  .navigation--previous-next__pagination {
    float: right;
    margin: 0 0 0 2rem;
  }
}

.navigation--previous-next__pagination a:hover {
  text-decoration: none !important;
}

/****************************************

USER MODULES

****************************************/

/*****************************************************
Responsive forms
e.g.
https://www.uhi.ac.uk/en/payments/
******************************************************/

.form--responsive fieldset {
  border: none;
  padding: 0;
}

.form--responsive legend {
  font-size: 26px;
  padding: 2rem 0 1rem 0;
}

.form--responsive input {
  margin-bottom: 1rem !important;
}

.form--responsive input,
.form--responsive label,
.form--responsive select {
  display: block;
}

/****************************************

TinyMCE HTML editor styles

prefixed 'UHI--'
this section should be COPIED exactly from build-uhi-main.css into tiny-mce-css.css in T4

they append default TinyMCE formats
each colour contains duplicate styles, for preview in TinyMCE
****************************************/

/* single class selector rules will display on Format menu */

/* buttons */

.UHI--button-link--black {
  background-color: var(--uhi-black);
  color: #f7f7f7; /* only if no link */
  padding: .5rem 1rem;
  text-transform: uppercase;
}

.UHI--button-link--main {
  background-color: var(--uhi-blue);
  color: #f7f7f7; /* only if no link */
  padding: .5rem 1rem;
  text-transform: uppercase;
}

.UHI--button-link--reverse {
  background-color: #f7f7f7;
  border-color: var(--uhi-blue);
  border-style: solid;
  border-width: .3rem;
  color: var(--uhi-white); /* only if no link */
  padding: .2rem .7rem;
  text-transform: uppercase;
}

.UHI--button-link--yellow {
  background-color: var(--uhi-yellow);
  color: #f7f7f7; /* only if no link */
  padding: .5rem 1rem;
  text-transform: uppercase;
}

/* buttons additional */

#content-core .UHI--button-link--black a,
#content-core .UHI--button-link--black a:visited,
#content-core .UHI--button-link--main a,
#content-core .UHI--button-link--main a:visited,
#content-core a.UHI--button-link--main,
#content-core a.UHI--button-link--black,
#portal-column-two .UHI--button-link--black a,
#portal-column-two .UHI--button-link--black a:visited,
#portal-column-two .UHI--button-link--main a,
#portal-column-two .UHI--button-link--main a:visited,
#portal-column-two a.UHI--button-link--main,
#portal-column-two a.UHI--button-link--black,
#content-core a span.UHI--button-link--main,
#content-core a:visited span.UHI--button-link--main,
#portal-column-two a span.UHI--button-link--main,
#portal-column-two a:visited span.UHI--button-link--main,
#content-core a span.UHI--button-link--black,
#content-core a:visited span.UHI--button-link--black,
#portal-column-two a span.UHI--button-link--black,
#portal-column-two a:visited span.UHI--button-link--black,
main .UHI--button-link--black a,
main .UHI--button-link--black a:visited,
main .UHI--button-link--main a,
main .UHI--button-link--main a:visited,
main a.UHI--button-link--main,
main a.UHI--button-link--black,
#content-core .content-type--one-web-text-banner a.UHI--button-link--main,
#content-core .content-type--one-web-text-banner a.UHI--button-link--black,
#content-core .content-type--one-web-text-banner .UHI--button-link--main a,
#content-core .content-type--one-web-text-banner .UHI--button-link--black a,
#content-core .content-type--one-web-text-banner .UHI--button-link--main a:visited,
#content-core .content-type--one-web-text-banner .UHI--button-link--black a:visited,
#content-core .content-type--one-web-text-banner a span.UHI--button-link--black,
#content-core .content-type--one-web-text-banner a span.UHI--button-link--main,
#content-core .content-type--one-web-text-banner a:visited span.UHI--button-link--black,
#content-core .content-type--one-web-text-banner a:visited span.UHI--button-link--main,
main .text-image-black.flexwrap .speal-right .UHI--button-link--main a,
main .text-image-black.flexwrap .speal-right .UHI--button-link--black a,
main .text-image-black.flexwrap .speal-right .UHI--button-link--main a:visited,
main .text-image-black.flexwrap .speal-right .UHI--button-link--black a:visited,
main .text-image-black.flexwrap .speal-right a span.UHI--button-link--main,
main .text-image-black.flexwrap .speal-right a span.UHI--button-link--black,
main .text-image-black.flexwrap .speal-right a:visited span.UHI--button-link--main,
main .text-image-black.flexwrap .speal-right a:visited span.UHI--button-link--black {
  color: var(--uhi-white);
}

#content-core .UHI--button-link--reverse a,
#content-core .UHI--button-link--reverse a:visited,
#content-core a.UHI--button-link--reverse,
#portal-column-two .UHI--button-link--reverse a,
#portal-column-two .UHI--button-link--reverse a:visited,
#portal-column-two a.UHI--button-link--reverse,
#content-core a span.UHI--button-link--reverse,
#content-core a:visited span.UHI--button-link--reverse,
#portal-column-two a span.UHI--button-link--reverse,
#portal-column-two a:visited span.UHI--button-link--reverse,
main .UHI--button-link--reverse a,
main .UHI--button-link--reverse a:visited,
main a span.UHI--button-link--reverse,
main a:visited span.UHI--button-link--reverse,
main a.UHI--button-link--reverse,
main .text-image-black.flexwrap .speal-right .UHI--button-link--reverse a,
main .text-image-black.flexwrap .speal-right .UHI--button-link--reverse a:visited,
main .text-image-black.flexwrap .speal-right a span.UHI--button-link--reverse,
main .text-image-black.flexwrap .speal-right a:visited span.UHI--button-link--reverse,
main .text-image-black.flexwrap .speal-right a.UHI--button-link--reverse,
main .text-image-black.flexwrap .speal-right a:visited.UHI--button-link--reverse {
  color: var(--uhi-blue);
}

#content-core .UHI--button-link--yellow a,
#content-core .UHI--button-link--yellow a:visited,
#content-core a.UHI--button-link--yellow,
#portal-column-two .UHI--button-link--yellow a,
#portal-column-two .UHI--button-link--yellow a:visited,
#portal-column-two a.UHI--button-link--yellow,
#content-core a span.UHI--button-link--yellow,
#content-core a:visited span.UHI--button-link--yellow,
#portal-column-two a span.UHI--button-link--yellow,
#portal-column-two a:visited span.UHI--button-link--yellow,
main .UHI--button-link--yellow a,
main .UHI--button-link--yellow a:visited,
main a.UHI--button-link--yellow,
main a:visited span.UHI--button-link--yellow,
main a.UHI--button-link--yellow,
main .text-image-black.flexwrap .speal-right .UHI--button-link--yellow a,
main .text-image-black.flexwrap .speal-right .UHI--button-link--yellow a:visited,
main .text-image-black.flexwrap .speal-right a span.UHI--button-link--yellow,
main .text-image-black.flexwrap .speal-right a:visited span.UHI--button-link--yellow,
main .text-image-black.flexwrap .speal-right a.UHI--button-link--yellow,
main .text-image-black.flexwrap .speal-right a:visited.UHI--button-link--yellow {
  color: var(--uhi-black);
}

.content-type-modifier--collapsible .UHI--button-link--reverse {
  background-color: var(--uhi-white);
}

.UHI--button-link--black,
.UHI--button-link--main,
.UHI--button-link--reverse,
.UHI--button-link--yellow {
  cursor: pointer;
  display: inline-block;
  font-size: 28px;
  line-height: 1.1;
  transition: .3s;
}

p.UHI--button-link--black,
p.UHI--button-link--main,
p.UHI--button-link--reverse,
p.UHI--button-link--yellow {
  margin: 0 1rem 1rem 0;
}

p:has(span.UHI--button-link--black),
p:has(span.UHI--button-link--main),
p:has(span.UHI--button-link--reverse),
p:has(span.UHI--button-link--yellow),
p:has(a span.UHI--button-link--black),
p:has(a span.UHI--button-link--main),
p:has(a span.UHI--button-link--reverse),
p:has(a span.UHI--button-link--yellow),
p:has(a.UHI--button-link--black),
p:has(a.UHI--button-link--main),
p:has(a.UHI--button-link--reverse),
p:has(a.UHI--button-link--yellow) {
  display: inline-block;
  margin: 0 1rem 1rem 0;
}

/* Open days table adjustments for small screen */

@media (max-width: 829px) {
  .open-days-table .UHI--button-link--main {
    font-size: 16px;
  }
}

@media (max-width: 637px) {
  .open-days-table .UHI--button-link--main,
  .open-days-table p.UHI--button-link--main {
    font-size: 14px;
    margin: 0px;
    padding: 5px;
  }
  
  .open-days-table th,
  .open-days-table td,
  .open-days-table a {
    font-size: 14px;
  }
}

/* border on image */

.UHI--image--outline img {
  outline: 2px solid #eee;
}

/* monospace */

.UHI--monospace {
  font-family: monospace;
  font-size: 18px;
}

/* highlighted paragraph */

.UHI--paragraph-highlight {
  background-color: #f7f7f7;
  border-radius: 3px;
  display: table;
  margin: .5rem 0;
  padding: .5rem;
}

.content-type-modifier--collapsible .UHI--paragraph-highlight {
  background-color: var(--uhi-white);
  border: 1px solid var(--uhi-grey1);
}

/****************************************

UTILITIES / HELPER CLASSES

****************************************/

/*
Visually hidden
https://www.w3.org/WAI/tutorials/forms/labels/#note-on-hiding-elements
https://cloudfour.com/thinks/see-no-evil-hidden-content-and-accessibility/
*/
.utils--hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Offsetting anchor to account for sticky top header */

a.utils--hidden {
  margin-top: -150px;
}

/* float images when sufficient screen width, otherwise block */

.image-left, /* legacy Plone */
.image-right, /* legacy Plone */
.utils--float-left,
.utils--float-right {
  display: block;
}

@media (min-width: 480px) {
  /*
  e.g. to space out small inline images
  https://www.northhighland.uhi.ac.uk/study-at-nhc/our-campuses/sutherland/
  TODO search and remove .utils--margin ?
  */
  .image-left,
  .utils--float-left,
  .utils--margin {
    float: left;
    margin: .5rem 1rem 1rem 0;
  }

  .image-right,
  .utils--float-right {
    float: right;
    margin: .5rem 0 1rem 1rem;
  }
}

/* e.g. set on a container for horizontal scrolling of a wide table */
.utils--scroll {
  overflow: auto;
}

/* move rules to CTs? */
.utils--text-shadow {
  text-shadow: 0 0 8px #000, 0 0 3px #000;
}

/* half column width */
@media (min-width: 1000px) {
  .utils--width-half--1000 {
    width: 50%;
  }
}

/* removes link text from social media share buttons and fixes firefox, IE and Edge display problem */
.hide-link-text a {
  text-indent: -9999px;
  display: inline-table;
  font-size: 1px;
}

/****************************************

Widgets

****************************************/

/*************
Last Updated

remove from CT once implemented in relevant layout
eg https://www.uhi.ac.uk/en/foi/section-8/
*************/

.content-type--one-web-general-content__last-updated,
.meta--last-updated {
  background-color: #eee;
  border-radius: 3px;
  display: inline-block;
  margin: 1rem 0;
  padding: .5rem;
}

.content-type--one-web-general-content__last-updated time,
.meta--last-updated time {
  font-weight: bold;
}

/****************************************

more IDs

at the end due to high specificity
****************************************/

/*
main Course listing block
https://www.uhi.ac.uk/en/courses/
*/

#courselist a:hover {
  background-color: #eaeaea;
}

#courselist .colour-bar a:hover {
  background-color: transparent;
}

/*
#coursesearch-filters
*/

.section.courselist .col.onequarter #coursesearch-filters ul {
  list-style: none;
}

#coursesearch #auto,
#coursesearch input[id="auto"],
#coursesearch-filters li.open:nth-child(4) ul.search-filters li:nth-child(14) {
  display: none;
}

#parent-fieldname-description {
  margin-bottom: 15px;
}

/* QR code for print only */
#printQR {
  display: none;
}


/****************************************

CANDIDATES FOR REMOVAL/REPLACEMENT

****************************************/

#mode1ft li,
#mode1pt li,
#mode2ft li,
#mode2pt li,
#mode3ft li,
#mode3pt li,
#mode4ft li,
#mode4pt li,
#mode1dl li,
#mode2dl li,
#mode3dl li,
#mode4dl li {
  list-style-type: none;
  margin: 2px
}

@media (min-width: 768px) {
  #mode1 a,
  #mode1ft a,
  #mode1pt a,
  #mode2 a,
  #mode2ft a,
  #mode2pt a,
  #mode3 a,
  #mode3ft a,
  #mode3pt a,
  #mode4 a,
  #mode4ft a,
  #mode4pt a,
  #mode1dl a,
  #mode2dl a,
  #mode3dl a,
  #mode4dl a,
  #year a {
    font-size: 22px;
  }
}

@media (min-width: 1000px) {
  #mode1 a,
  #mode1ft a,
  #mode1pt a,
  #mode2 a,
  #mode2ft a,
  #mode2pt a,
  #mode3 a,
  #mode3ft a,
  #mode3pt a,
  #mode4 a,
  #mode4ft a,
  #mode4pt a,
  #mode1dl a,
  #mode2dl a,
  #mode3dl a,
  #mode4dl a,
  #year a {
    font-size: 22px;
  }
}

@media (min-width: 1200px) {
  #mode1 a,
  #mode1ft a,
  #mode1pt a,
  #mode2 a,
  #mode2ft a,
  #mode2pt a,
  #mode3 a,
  #mode3ft a,
  #mode3pt a,
  #mode4 a,
  #mode4ft a,
  #mode4pt a,
  #mode1dl a,
  #mode2dl a,
  #mode3dl a,
  #mode4dl a,
  #year a {
    font-size: 22px;
  }
}

</pre></body></html>