:root {
  --current-section-primary-colour: #f1941e;
  --current-section-link-colour: #1e80eb;
}

/* ---------- Overall Specifications ---------- */

body {
  line-height: 1.5;
  font-size: 11pt;
  word-wrap: break-word;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: #333;
}
a:link,
a:visited {
  text-decoration: none;
  color: var(--current-section-link-colour);
}
a:hover,
a:active,
a:focus {
  text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0.5em 0 0.2em;
  margin: 0;
  font-weight: inherit;
}
h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--current-section-primary-colour);
}
h2 {
  font-size: 1.2rem;
  font-weight: 600;
}
strong {
  font-weight: 600;
}

p {
  margin: 0 0 1.2em;
}
del {
  text-decoration: line-through;
}
tr.odd {
  background-color: #dddddd;
}
img {
  outline: 0;
  display: block;
}
code,
pre,
kbd,
samp,
var {
  padding: 0 0.4em;
  font-size: 0.857em;
  font-family: 'Open Sans', sans-serif;
}
[data-once="node-preview"] {
  background-color: #fff!important;
}
code {
  background-color: #f2f2f2;
  background-color: rgba(40, 40, 0, 0.06);
}
pre code,
pre kbd,
pre samp,
pre var,
kbd kbd,
kbd samp,
code var {
  font-size: 100%;
  background-color: transparent;
}
pre code,
pre samp,
pre var {
  padding: 0;
}
.description code {
  font-size: 1em;
}
kbd {
  background-color: #f2f2f2;
  border: 1px outset #575757;
  margin: 0 3px;
  color: #555;
  display: inline-block;
  padding: 0 6px;
  -khtml-border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
pre {
  background-color: #f2f2f2;
  background-color: rgba(40, 40, 0, 0.06);
  margin: 10px 0;
  overflow: hidden;
  padding: 15px;
  white-space: pre-wrap;
}

[data-once="node-preview"] body.gin--vertical-toolbar {
  padding-top: 0!important;
}
.node-preview-container {
  height: auto!important;
}

/* ------------------ Fonts ------------------ */

body,
#site-slogan,
.ui-widget,
.comment-form label {
  font-family: 'Open Sans', sans-serif;
}
#header,
#footer-wrapper,
#skip-link,
ul.contextual-links,
ul.links,
ul.primary,
.item-list .pager,
div.field-type-taxonomy-term-reference,
div.messages,
div.meta,
p.comment-time,
table,
.breadcrumb {
  font-family: 'Open Sans', sans-serif;
}
input,
textarea,
select,
a.button {
  font-family: 'Open Sans', sans-serif;
}

/* ------------------ Reset Styles ------------------ */

caption {
  text-align: left; /* LTR */
  font-weight: normal;
}
blockquote {
  background: #f7f7f7;
  border-left: 1px solid #bbb;
  font-style: italic;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
}
blockquote:before {
  color: #bbb;
  content: "\201C";
  font-size: 3em;
  line-height: 0.1em;
  margin-right: 0.2em;
  vertical-align: -.4em;
}
blockquote:after {
  color: #bbb;
  content: "\201D";
  font-size: 3em;
  line-height: 0.1em;
  vertical-align: -.45em;
}
blockquote > p:first-child {
  display: inline;
}
a.feed-icon {
  display: inline-block;
  padding: 15px 0 0 0;
}
.feed-icon {
  margin-top: 15px;
}
.xls-feed .feed-icon {
  background-image: url(/themes/ivr23/images/icons/xls.png);
  width: 100px;
  display: block;
  margin-bottom: 10px;
  height: 40px;
}
.csv-feed .feed-icon {
  background-image: url(/themes/ivr23/images/icons/csv.png);
  width: 100px;
  display: block;
  margin-bottom: 10px;
  height: 40px;
}

/* ------------------ Table Styles ------------------ */

table {
  border: 0;
  border-spacing: 0;
  font-size: 0.85em;
  margin: 15px 0 0;
  width: 100%;
}
table table {
  font-size: 1em;
}
#footer-wrapper table {
  font-size: 1em;
  margin: 0;
}
table tr th {
  background: #666;
  border-bottom-style: none;
  vertical-align: middle;
}
table tr th,
table tr th a,
table tr th a:hover {
  color: #fff;
  font-weight: bold;
}
table tr th a,
table tr th a:hover {
  color: #fff!important;
}
table tr th .active img {
  padding-left: 5px;
}


table tbody {
  border: 0;  
}

table tbody tr th {
  vertical-align: top;
}
tr td,
tr th {
  padding: 2px 9px;
  text-align: left; /* LTR */
}
tr td {
  border-top: 3px solid #fff;
}

tr:nth-child(odd) {
  background: #e4e4e4;
  background: rgba(0, 0, 0, 0.105);
}
tr,
tr:nth-child(even) {
  background: #efefef;
  background: rgba(0, 0, 0, 0.063);
}
tr:hover {
  background: #0accf734;
}
table ul.links {
  margin: 0;
  padding: 0;
  font-size: 1em;
}
table ul.links li {
  padding: 0 1em 0 0;
}
.fixedlastcol table th:last-child,
.fixedlastcol table td:last-child {
  width: 175px;
  max-width: 175px;
  box-sizing: border-box;
}

.ctools-dropbutton {
  font-size: 12px; 
}
.ctools-button-processed {
  border-width: 0px;
}
.js .dropbutton-widget {
  border: none!important;
}
.js .dropbutton-widget a.button {
  margin: 0.5em;
  background: var(--current-section-primary-colour);
  color: #fff;
  border-radius: 5px;
  padding: 0.5em 1em;
  font-weight: bold;
  border: none;
}
.js td .dropbutton-widget {
  position: relative;
  display: inline-block;
  background: none;
}
.dropbutton .secondary-action {
  border-top: none!important;
}
.field--widget-entity-reference-modal .input-group {
  align-items: center;
}
.field--widget-entity-reference-modal .input-group label {
  margin-right: 0.5em;
}
.ui-dialog {
  background: #fff!important;
  width: auto!important;
  z-index: 1000!important;
}
.ui-dialog .ui-dialog-titlebar,
.ui-dialog .ui-dialog-content,
.ui-dialog .ui-dialog-buttonpane {
  padding: 1em!important;
}
.ui-dialog .ui-dialog-titlebar-close {
  right: 10px!important;
  top: 27px!important;
}


/* ------------------ List Styles ------------------ */

.block ol,
.block ul {
  margin: 0;
  padding: 0 0 0.25em 1em; /* LTR */
}
.contextual-links-wrapper {
  font-size: small !important;
}
ul.contextual-links {
  font-size: 0.923em;
}
.contextual-links-wrapper a {
  text-shadow: 0 0 0 !important;
}
.item-list .pager {
  font-size: 0.929em;
}
ul.menu li {
  margin: 0;
}
.region-content ul,
.region-content ol {
  margin: 0;
  padding: 0 0 1em 2.5em; /* LTR */
  break-inside: avoid;
}
.item-list ul li {
  margin: 0;
  padding: 0.2em 0.5em 0 0; /* LTR */
}
ul.tips {
  padding: 0 0 0 1.25em; /* LTR */
}


ul.vertical-tabs__menu {
  margin: -1px 0 -1px -15em;
  padding: 0;
}

/* ------------------ Header ------------------ */
#skip-link {
  left: 50%;
  margin-left: -5.25em;
  margin-top: 0;
  position: absolute;
  width: auto;
  z-index: 50;
}
#skip-link a,
#skip-link a:link,
#skip-link a:visited {
  background: #444;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: block;
  font-size: 0.94em;
  line-height: 1.7;
  padding: 1px 10px 2px 10px;
  text-decoration: none;
  -khtml-border-radius: 0 0 10px 10px;
  -moz-border-radius: 0 0 10px 10px;
  -webkit-border-top-left-radius: 0;
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  border-radius: 0 0 10px 10px;
}
#skip-link a:hover,
#skip-link a:active,
#skip-link a:focus {
  outline: 0;
}
#logo {
  float: left; /* LTR */
  padding: 0; /* LTR */
}
#name-and-slogan {
  float: left; /* LTR */
  padding-top: 34px;
  margin: 0 0 30px 15px; /* LTR */
}
#site-name {
  font-size: 1.821em;
  color: #686868;
  line-height: 1;
}
h1#site-name {
  margin: 0;
}
#site-name a {
  font-weight: normal;
}
#site-slogan {
  font-size: 0.929em;
  margin-top: 7px;
  word-spacing: 0.1em;
  font-style: italic;
}
/* Region header blocks. */

.region-header {
  position: relative;
  width: 100%;
}

.region-header .block {
  font-size: 0.857em;
  /* float: left; LTR */
  padding: 0;
}
.region-header .block .content {
  margin: 0;
  padding: 0;
}
.region-header .block ul {
  margin: 0;
  padding: 0;
}
.region-header .block li {
  list-style: none;
  list-style-image: none;
  padding: 0;
}
.region-header .form-text {
  background: #fefefe;
  background: rgba(255, 255, 255, 0.7);
  border-color: #ccc;
  border-color: rgba(255, 255, 255, 0.3);
  margin-right: 2px; /* LTR */
  width: 120px;
}
.region-header .form-text:hover,
.region-header .form-text:focus,
.region-header .form-text:active {
  background: #fff;
  background: rgba(255, 255, 255, 0.8);
}
.region-header .form-required {
  color: #eee;
  color: rgba(255, 255, 255, 0.7);
}
/* Region header block menus. */
.region-header .block-menu {
  border: 1px solid;
  border-color: #eee;
  border-color: rgba(255, 255, 255, 0.2);
  padding: 0;
  width: 208px;
}
.region-header .block-menu li a {
  display: block;
  border-bottom: 1px solid;
  border-bottom-color: #eee;
  border-bottom-color: rgba(255, 255, 255, 0.2);
  padding: 3px 7px;
}
.region-header .block-menu li a:hover,
.region-header .block-menu li a:focus,
.region-header .block-menu li a:active {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
}
.region-header .block-menu li.last a {
  border-bottom: 0;
}
/* User Login block in the header region */
.region-header #block-user-login {
  width: auto;
}
.region-header #block-user-login .content {
  margin-top: 2px;
}
.region-header #block-user-login .form-item {
  float: left; /* LTR */
  margin: 0;
  padding: 0;
}
.region-header #block-user-login div.item-list,
.region-header #block-user-login div.description {
  font-size: 0.916em;
  margin: 0;
}
.region-header #block-user-login div.item-list {
  clear: both;
}
.region-header #block-user-login div.description {
  display: inline;
}
.region-header #block-user-login .item-list ul {
  padding: 0;
  line-height: 1;
}
.region-header #block-user-login .item-list li {
  list-style: none;
  float: left; /* LTR */
  padding: 3px 0 1px;
}
.region-header #block-user-login .item-list li.last {
  padding-left: 0.5em; /* LTR */
}
.region-header #block-user-login ul.openid-links li.last {
  padding-left: 0; /* LTR */
}
.region-header #user-login-form li.openid-link a,
.region-header #user-login li.openid-link a {
  padding-left: 20px; /* LTR */
}
.region-header #block-user-login .form-actions {
  margin: 4px 0 0;
  padding: 0;
  clear: both;
}
.region-header #block-user-login input.form-submit {
  border: 1px solid;
  border-color: #ccc;
  border-color: rgba(255, 255, 255, 0.5);
  background: #eee;
  background: rgba(255, 255, 255, 0.7);
  margin: 4px 0;
  padding: 3px 8px;
}
.region-header #block-user-login input.form-submit:hover,
.region-header #block-user-login input.form-submit:focus {
  background: #fff;
  background: rgba(255, 255, 255, 0.9);
}
/* Search block in region header. */
.region-header #block-search-form {
  width: 208px;
}
.region-header #block-search-form .form-text {
  width: 154px;
}
/* Language switcher block in region header. */
.region-header .block-locale ul li {
  display: inline;
  padding: 0 0.5em;
}

body:not(.path-frontpage) .region-content {
  border-top: 4px solid var(--current-section-primary-colour);
}

.region-sidebar-second h2,
.training-portal-mobile summary {
  margin: 0;
  border-bottom: 4px solid var(--current-section-primary-colour);
  padding: 7px 15px;
  font-size: 1em;
  line-height: 1.2;
  background: #555;
  color: #fff;
  font-weight: normal;
  text-transform: uppercase;
}

#block-ivr23-ivrportalmenublock #ivr-portal-menu,
#block-ivr23-ivrsuperusermenublock #ivr-super-user-menu,
#block-ivr23-views-block-trainer-bulletins-block-1 .contextual-region.view.view-trainer-bulletins {
  padding: 1em;
  border-bottom: 3px solid #d2d2d2;
}

.region-sidebar-second > div {
  margin: 0 0 20px;
  background-color: #f6f6f6;
}

.path-frontpage .region-primary-menu {
  background-image: url(/sites/default/files/ivrbg.jpg)!important;
  background-size: cover;
  background-position: center;
  height: 370px;
}

.block-ivr-mobile-user-menu-block {
  margin-right: auto;
}
#ivr-mobile-user-menu {
  margin-top: -14px;
  position: fixed;
  top: 0px;
  z-index: 500;
}
#ivr-mobile-user-menu details {
  all: unset;
  position: relative;
}
#ivr-mobile-user-menu details summary {
  all: unset;
  background-image: url('/themes/ivr23/images/icons/mobileicon.png');
  background-color: var(--current-section-primary-colour);
  background-repeat: no-repeat;
  background-size: 30px;
  font-size: 0;
  width: 40px;
  height: 36px;
  display: block;
  background-position: center;
  cursor: pointer;
}
#ivr-mobile-user-menu details[open] summary {
  background-image: url('/themes/ivr23/images/icons/closeicon.png');
}
#ivr-mobile-user-menu .mobile-menu {
  position: absolute;
  background: #555;
  width: 300px;
}
#ivr-mobile-user-menu details a {
  display: block;
  font-size: 1.3em;
  font-weight: 600;
  color: #fff;
  padding: 0.5em 1em;
}
#ivr-mobile-user-menu details a:hover {
  background: #666;
}


/* ------------------ social media links ------------------ */
.ivr-social-media-links {
  display: flex;
  position: relative;
  
}
.ivr-social-media-links img {
  height: 35px;
  width: 35px;
}
.ivr-social-media-links-footer {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
  position: relative;
  bottom: 20px;
  float: right;
  
  text-align: right;
  justify-content: flex-end;
}
.ivr-social-media-links-footer img {
  height: 35px;
  width: 35px;
}


/* --------------- Main Menu ------------ */

#main-menu {
  clear: both;
}
#main-menu-links {
  font-size: 0.929em;
  margin: 0;
  padding: 0 15px;
}
#main-menu-links li {
  float: left; /* LTR */
  list-style: none;
  padding: 0 1px;
  margin: 0 1px;
}
#main-menu-links a {
  color: #333;
  background: #ccc;
  background: rgba(255, 255, 255, 0.7);
  float: left; /* LTR */
  height: 2.4em;
  line-height: 2.4em;
  padding: 0 0.8em;
  text-decoration: none;
  text-shadow: 0 1px #eee;
  -khtml-border-radius-topleft: 8px;
  -khtml-border-radius-topright: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
#main-menu-links a:hover,
#main-menu-links a:focus {
  background: #f6f6f2;
  background: rgba(255, 255, 255, 0.95);
}
#main-menu-links a:active {
  background: #b3b3b3;
  background: rgba(255, 255, 255, 1);
}
#main-menu-links li a.active {
  border-bottom: none;
}
.featured #main-menu-links li a:active,
.featured #main-menu-links li a.active {
  background: #f0f0f0;
  background: rgba(240, 240, 240, 1.0);
}

.region.region-header {
  background: var(--current-section-primary-colour);
  position: relative;
}
.header-wrapper {
  width: 100%;
  max-width: 1290px;
  margin: auto;
  display: flex;
  justify-content: flex-end;
  column-gap: 10px;
  align-items: center;
  padding: 0 15px;
  box-sizing: border-box;
  height: 36px;
}
.not-narrow .header-wrapper {
  max-width: 100%;
  padding-left: calc(2vw + 10px);
  padding-right: calc(2vw + 10px);
}

/* .region.region-header > div {
margin: 0 10px;
float: right;
} */

.region.region-primary-menu {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1vw;
}

.path-frontpage .region.region-primary-menu {
  margin-bottom: 0;
}

#block-ivr23-ivrusermenublock {
  margin-left: 5%;
  margin-top: 6vw;
}

#ivr-user-menu {
  display: flex;
  flex-wrap: wrap;
}

#ivr-user-menu a {
  padding: 5px 5px 4px;
  margin: 0 0px 0 4px;
  color: #fff;
  background: rgba(85, 85, 85, 0.95);
  font-size: 0.857em;
  width: 80px;
  display: block;
  text-align: center;
  text-transform: uppercase;
  transition: all linear 0.2s;
}

#ivr-user-menu .home,
#ivr-user-menu .contact {
  border-bottom: 4px solid #f1941e;
}

#ivr-user-menu .ivr-uk {
  border-bottom: 4px solid #4bc700;
}

#ivr-user-menu .membership {
  border-bottom: 4px solid #1e80eb;
}

#ivr-user-menu .training {
  border-bottom: 4px solid #ca0700;
}

#ivr-user-menu .rqm {
  border-bottom: 4px solid #990099;
}

#ivr-user-menu .news {
  border-bottom: 4px solid #FFFF00;
}

/* --------------- Secondary Menu ------------ */

#secondary-menu-links {
  float: right; /* LTR */
  font-size: 0.929em;
  margin: 10px 10px 0;
}
#secondary-menu-links a:hover,
#secondary-menu-links a:focus {
  text-decoration: underline;
}

/* ------------------- Main ------------------- */

#main, main {
  padding-bottom: 20px;
  min-height: 300px;
  margin: 0 2vw 20px 2vw;
  position: relative;
  overflow-y: auto;
}
.page-node-type-page main,
.path-user main,
.path-user .region-highlighted,
.page-node-type-page .region-highlighted,
.path-frontpage main {
  max-width: 1290px;
  margin: 0 auto;
}
.region-content {
  margin-bottom: 1em;
}

/* ----------------- Featured ----------------- */

#featured {
  text-align: center;
  font-size: 1.2em;
  font-weight: 600;
  padding: 5px 15px 7px;
  background: #1e80eb;
  color: #fff;
  margin-bottom: 1em;
  box-shadow: #ccc 0px 4px 8px;
}
#featured div div:not(.contextual) a {
  color: #fff;
}
#featured h2 {
  font-size: 1.174em;
  line-height: 1;
}
#featured p {
  margin: 0;
  padding: 0;
}

/* --------------- Highlighted ---------------- */

#highlighted {
  border-bottom: 1px solid #d3d7d9;
  font-size: 120%;
}

/* ------------------- Help ------------------- */

.region-help {
  border: 1px solid #d3d7d9;
  padding: 0 1.5em;
  margin-bottom: 30px;
}
#block-system-help {
  display: inline-block;
  margin-top: 1.2em;
}

/* ----------------- Content ------------------ */


h1#page-title {
  font-size: 2em;
  line-height: 1;
}
#content h2,
.view-content h2 {
  margin-bottom: 2px;
  font-size: 1.1em;
  line-height: 1.4;
  font-weight: 600;
}
#content h3 {
  font-weight: 600;
  padding: 0 0 8px;
}
.node .content {
  font-size: 1.071em;
}
.node-teaser .content {
  font-size: 1em;
}
.node-teaser h2 {
  margin-top: 0;
  padding-top: 0.5em;
}
.node-teaser h2 a {
  color: #181818;
}

.node-sticky {
  background: #f9f9f9;
  background: rgba(0, 0, 0, 0.024);
  border: 1px solid #d3d7d9;
  padding: 0 15px 15px;
}
.node-full {
  background: none;
  border: none;
  padding: 0;
}
.node-teaser .content {
  clear: none;
  line-height: 1.6;
}
.meta {
  font-size: 0.857em;
  color: #68696b;
  margin-bottom: -5px;
}
.submitted .user-picture img {
  float: left; /* LTR */
  height: 20px;
  margin: 1px 5px 0 0; /* LTR */
}
.field-type-taxonomy-term-reference {
  margin: 0 0 1.2em;
}
.field-type-taxonomy-term-reference .field-label {
  font-weight: normal;
  margin: 0;
  padding-right: 5px; /* LTR */
}
.field-type-taxonomy-term-reference .field-label,
.field-type-taxonomy-term-reference ul.links {
  font-size: 1em;
}
.node-teaser .field-type-taxonomy-term-reference .field-label,
.node-teaser .field-type-taxonomy-term-reference ul.links {
  font-size: 0.821em;
}
.field-type-taxonomy-term-reference ul.links {
  padding: 0;
  margin: 0;
  list-style: none;
}
.field-type-taxonomy-term-reference ul.links li {
  float: left; /* LTR */
  padding: 0 1em 0 0; /* LTR */
  white-space: nowrap;
}
.link-wrapper {
  text-align: right;
}
.field-type-image img,
.user-picture img {
  max-width: 100%;
  height: auto;
}
ul.links {
  color: #68696b;
  font-size: 0.821em;
}
.node-unpublished {
  margin: -20px -15px 0;
  padding: 20px 15px 0;
}
.node-unpublished .comment-text .comment-arrow {
  border-left: 1px solid #fff4f4;
  border-right: 1px solid #fff4f4;
}
.topmargin {
  margin-top: 1em;
}

/* ----------------- Comments ----------------- */

.comment h2.title {
  margin-bottom: 1em;
}
.comment div.user-picture img {
  margin-left: 0; /* LTR */
}
.comment {
  margin-bottom: 20px;
  display: table;
  vertical-align: top;
}
.comment .attribution {
  display: table-cell;
  padding: 0 30px 0 0; /* LTR */
  vertical-align: top;
  overflow: hidden;
}
.comment .attribution img {
  margin: 0;
  border: 1px solid #d3d7d9;
}
.comment .attribution .username {
  white-space: nowrap;
}
.comment .submitted p {
  margin: 4px 0;
  font-size: 1.071em;
  line-height: 1.2;
}
.comment .submitted .comment-time {
  font-size: 0.786em;
  color: #68696b;
}
.comment .submitted .comment-permalink {
  font-size: 0.786em;
}
.comment .content {
  font-size: 0.929em;
  line-height: 1.6;
}
.comment .comment-arrow {
  background: url(../images/comment-arrow.gif) no-repeat 0 center transparent; /* LTR */
  border-left: 1px solid;
  border-right: 1px solid;
  height: 40px;
  margin-left: -47px; /* LTR */
  margin-top: 10px;
  position: absolute;
  width: 20px;
}
.comment .comment-text {
  padding: 10px 25px;
  border: 1px solid #d3d7d9;
  display: table-cell;
  vertical-align: top;
  position: relative;
  width: 100%;
}
.comment .indented {
  margin-left: 40px; /* LTR */
}
.comment ul.links {
  padding: 0 0 0.25em 0;
}
.comment ul.links li {
  padding: 0 0.5em 0 0; /* LTR */
}
.comment-unpublished {
  margin-right: 5px; /* LTR */
  padding: 5px 2px 5px 5px; /* LTR */
}
.comment-unpublished .comment-text .comment-arrow {
  border-left: 1px solid #fff4f4;
  border-right: 1px solid #fff4f4;
}

/* ------------------ Sidebar ----------------- */
.layout-sidebar-second {
  max-width: 250px;
}
.sidebar .section {
  padding-top: 0;
}
.sidebar .block {
  margin: 0 0 20px;
  border-bottom: 3px solid rgba(0, 0, 0, 0.51);
}
.sidebar h2 {
  margin: 0 0 0.5em;
  border-bottom: 4px solid var(--current-section-primary-colour);
  padding: 7px 15px;
  font-size: 1em;
  line-height: 1.2;
  background: #555;
  color: #fff;
  font-weight: normal;
  text-transform: uppercase;
}
.sidebar h2:after {
  content: "\25B2";
  position: absolute;
  left: 50%;
  margin-left: -3px;
  transform: rotateX(-180deg);
  display: block;
  color: var(--current-section-primary-colour);
  margin-top: 5px;
}

.sidebar .block .content {
  font-size: 0.914em;
  line-height: 1.4;
  margin-top: 5px;
  padding: 7px 15px;
}
.sidebar tbody {
  border: none;
}
.sidebar tr.even,
.sidebar tr.odd {
  background: none;
  border-bottom: 1px solid #d6d6d6;
}

#ivr-portal-menu,
#ivr-super-user-menu {
  font-size: 0.9em;
}
.training-portal-mobile {
  display: none;
}

/* ----------------- Triptych ----------------- */

#triptych-wrapper {
  background-color: #f0f0f0;
  background: rgba(30, 50, 10, 0.08);
  border-top: 1px solid #e7e7e7;
}
#triptych h2 {
  color: #000;
  font-size: 1.714em;
  margin-bottom: 0.8em;
  text-shadow: 0 1px 0 #fff;
  text-align: center;
  line-height: 1;
}
#triptych .block {
  margin-bottom: 2em;
  padding-bottom: 2em;
  border-bottom: 1px solid #dfdfdf;
  line-height: 1.3;
}
#triptych .block.last {
  border-bottom: none;
}
#triptych .block ul li,
#triptych .block ol li {
  list-style: none;
}
#triptych .block ul,
#triptych .block ol {
  padding-left: 0;
}
#triptych #block-user-login .form-text {
  width: 185px;
}
#triptych #block-user-online p {
  margin-bottom: 0;
}
#triptych #block-node-syndicate h2 {
  overflow: hidden;
  width: 0;
  height: 0;
}
#triptych-last #block-node-syndicate {
  text-align: right;
}
#triptych #block-search-form .form-type-textfield input {
  width: 185px;
}
#triptych-middle #block-system-powered-by {
  text-align: center;
}
#triptych-last #block-system-powered-by {
  text-align: right;
}

/* ------------------ Footer ------------------ */

#footer-wrapper {
  color: #fff;
  font-size: 0.857em;
  background: var(--current-section-primary-colour)!important;
  box-shadow: #ccc 0px -2px 8px;
}
#footer-wrapper div div div:not(.contextual) a {
  color: #fcfcfc;
  color: rgba(255, 255, 255, 0.8);
}
#footer-wrapper div div div:not(.contextual) a:hover,
#footer-wrapper div div div:not(.contextual) a:focus {
  color: #fefefe;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
}
/* #footer-wrapper .block {
margin: 20px 0;
border: 1px solid #444;
border-color: rgba(255, 255, 255, 0.1);
padding: 10px;
} */
#footer-columns .block-menu,
#footer .block {
  margin: 0;
  padding: 0;
  border: none;
}
#footer .block {
  margin: 0;
}
#footer .block .content {
  padding: 0;
  margin-top: 0;
}
#footer .block h2 {
  margin: 0;
}
#footer-columns h2 {
  border-bottom: 1px solid #555;
  border-color: rgba(255, 255, 255, 0.15);
  font-size: 1em;
  margin-bottom: 0;
  padding-bottom: 3px;
  text-transform: uppercase;
}
#footer-columns .content {
  margin-top: 0;
}
#footer-columns p {
  margin-top: 1em;
}
#footer-columns .content ul {
  list-style: none;
  padding-left: 0; /* LTR */
  margin-left: 0;
}
#footer-columns .content li {
  list-style: none;
  margin: 0;
  padding: 0;
}
#footer-columns .content li a {
  display: block;
  border-bottom: 1px solid #555;
  border-color: rgba(255, 255, 255, 0.15);
  line-height: 1.2;
  padding: 0.8em 2px 0.8em 20px; /* LTR */
  text-indent: -15px;
}
#footer-columns .content li a:hover,
#footer-columns .content li a:focus {
  background-color: #1f1f21;
  background-color: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}


#footer .block {
  clear: both;
}
#block-block-4 .content {
  display: flex;
}
#block-block-4 img {
  padding: 0 40px;
  height: 90px;
  margin-bottom: 10px;
}

#footer ul,
#footer li {
  list-style: none;
  margin: 0;
  padding: 0;
}
#footer li a {
  float: left; /* LTR */
  padding: 0 12px;
  display: block;
  border-right: 1px solid #555; /* LTR */
  border-color: rgba(255, 255, 255, 0.15);
}
#footer li.first a {
  padding-left: 0; /* LTR */
}
#footer li.last a {
  padding-right: 0; /* LTR */
  border-right: none; /* LTR */
}
#footer-wrapper tr.odd {
  background-color: transparent;
}
#footer-wrapper tr.even {
  background-color: #2c2c2c;
  background-color: rgba(0, 0, 0, 0.15);
}
/* #footer-wrapper .section {
max-width: 1290px;
width: 100%;
margin: 0 auto;
padding: 0 15px;
} */

.view.view-footer-logos.view-id-footer_logos.view-display-id-block_1 {
  padding: 10px 5vw;
  background: white;
  
}
div#block-ivr23-ivrsocialmedialinksfooter {
  display: flex;
  max-width: 1290px;
  justify-content: end;
  margin: auto;
  padding: 0 5vw;
}


#footer-wrapper {
  padding: 10px 0 0;
}
div#block-ivr23-footer .field--name-body,
div#block-ivr23-masquerade {
  display: flex;
  column-gap: 40px;
  margin: 20px auto;
  max-width: 1290px;
  padding: 0 5vw;
}

.field--name-body img {
  padding: 1em;
}

div#block-ivr23-footer img {
  height: 90px;
}
div#block-ivr23-logout {
  display: flex;
  margin: 20px auto;
  max-width: 1290px;
  padding: 0 5vw;
}
.region.region-footer {
  /* max-width: 1290px; */
  margin: auto;
}

/* --------------- System Tabs  --------------- */

.tabs ul.primary {
  margin: 5px 5px 15px;
}

.tabs ul.primary,
.tabs ul.secondary {
  background: none;
  border: 0;
}
ul.secondary li {
  border-right: 0;
  display: inline;
  padding: 0 5px 0 0;
}
.tabs ul.primary li a {
  border: 0;
  border-radius: 2px;
  background: #0acbf7;    
  padding: 3px 10px;
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  color: #fff;
  height: inherit;
  font-size: 0.9em;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: none;
  margin-bottom: 15px;
}
.tabs ul.secondary li a {
  border: 0;
  border-radius: 2px;
  background: #fff;    
  padding: 3px 10px;
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  color: #f7840a;
  height: inherit;
  font-size: 0.85em;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: none;
  margin-bottom: 15px;
}
.tabs ul.primary li.active a,
.tabs ul.secondary li.active a {
  color: #aaa;
  background: #fff;
  transition: all 0.2s linear;
}
.tabs ul li a:hover {
  background: #666;
  color: #fff;
  transition: all 0.2s linear;
}

/* ---------------- Messages  ----------------- */

.featured #messages {
  background: #f0f0f0;
  background: rgba(30, 50, 10, 0.08);
}
div.messages {
  margin: 0;
  border: 0;   
}
.swal2-popup .swal2-title {
  font-size: 1.2em!important;
  margin-top: -3em!important;
}
.swal2-popup:not(.swal2-lift-error) img + .swal2-title {
  font-size: 1.2em!important;
  margin-top: 0!important;
}

/* -------------- Breadcrumbs   -------------- */

.breadcrumb {
  font-size: 0.929em;
  margin-top: 10px;
}

/* -------------- User Profile   -------------- */

.profile .user-picture {
  float: none;
}

/* -------------- Password Meter  ------------- */

.confirm-parent,
.password-parent {
  width: 34em;
}
.password-parent,
div.form-item div.password-suggestions {
  position: relative;
}
.password-strength-text,
.password-strength-title,
div.password-confirm {
  font-size: 0.82em;
}
.password-strength-text {
  margin-top: 0.2em;
}
div.password-confirm {
  margin-top: 2.2em;
  width: 20.73em;
}

/* ---------------- Buttons    ---------------- */

input.form-submit,
a.button {
  /* background: #fff url(../images/buttons.png) 0 0 repeat-x; */
  border: 1px solid #e4e4e4;
  border-bottom: 1px solid #b4b4b4;
  border-left-color: #d2d2d2;
  border-right-color: #d2d2d2;
  color: #3a3a3a;
  cursor: pointer;
  font-size: 0.929em;
  font-weight: normal;
  text-align: center;
  margin-bottom: 1.5em;
  margin-right: 0.6em; /* LTR */
  padding: 4px 17px;
  -khtml-border-radius: 15px;
  -moz-border-radius: 20px;
  -webkit-border-radius: 15px;
  border-radius: 15px;
}
a.button:link,
a.button:visited,
a.button:hover,
a.button:focus,
a.button:active {
  text-decoration: none;
  color: #5a5a5a;
}

/* -------------- Form Elements   ------------- */

fieldset {
  background: #ffffff;
  border: 1px solid #cccccc;
  margin-top: 10px;
  margin-bottom: 32px;
  padding: 0 0 10px;
  position: relative;
  top: 12px; /* Offsets the negative margin of legends */
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
/* .fieldset-wrapper {
margin-top: 25px;
} */
.node-form .vertical-tabs .fieldset-wrapper {
  margin-top: 0;
}
.filter-wrapper {
  top: 0;
  padding: 1em 0 0.2em;
  -khtml-border-radius-topright: 0;
  -khtml-border-radius-topleft: 0;
  -moz-border-radius-topright: 0;
  -moz-border-radius-topleft: 0;
  -webkit-border-top-left-radius: 0;
  -webkit-border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.filter-help a {
  font-size: 0.857em;
  padding: 2px 20px 0;
}
.filter-wrapper .form-item label {
  margin-right: 10px;
}
.filter-wrapper .form-item {
  padding: 0 0 0.5em 0.5em;
}
.filter-guidelines {
  padding: 0 1.5em 0 0.5em;
}
fieldset.collapsed {
  background: transparent;
  -khtml-border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
fieldset legend {
  background: var(--current-section-primary-colour);
  border: 1px solid #ccc;
  border-bottom: none;
  color: #3b3b3b;
  display: block;
  height: 2em;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600!important;
  line-height: 2;
  padding: 0;
  position: absolute;
  text-indent: 10px;
  text-shadow: 0;
  width: 100%;
  -khtml-border-radius-topleft: 4px;
  -moz-border-radius-topleft: 4px;
  -webkit-border-top-left-radius: 4px;
  border-top-left-radius: 4px;
  -khtml-border-radius-topright: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-right-radius: 4px;
  border-top-right-radius: 4px;
}
fieldset.collapsed legend {
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
fieldset legend a {
  color: #fff!important;
  font-weight: bold;
}
fieldset legend a:hover,
fieldset legend a:focus,
fieldset legend a:active {
  color: #000;
}
fieldset .fieldset-wrapper {
  padding: 0 10px;
}
fieldset .fieldset-description {
  margin-top: 5px;
  margin-bottom: 1em;
  line-height: 1.4;
  color: #3c3c3c;
  font-style: italic;
}
input {
  margin: 2px 0;
  padding: 4px;
}
input,
textarea {
  font-size: 0.929em;
}
textarea {
  line-height: 1.5;
}
textarea.form-textarea,
select.form-select {
  padding: 4px;
}
input.form-text,
textarea.form-textarea,
select.form-select {
  border: 1px solid #999;
  max-width: 100%;
  box-sizing: border-box;
}
input.form-submit:hover,
input.form-submit:focus {
  background: #dedede;
}
.password-suggestions ul li {
  margin-left: 1.2em; /* LTR */
}
.form-item {
  margin-bottom: 1rem;
  margin-top: 0;
}
table .form-item {
  margin-bottom: 0;
}
.form-item label {
  font-size: 0.8rem;
  font-weight: 600;
}
.form-type-radio label,
.form-type-checkbox label {
  margin-left: 4px;
}
.form-type-radio .description,
.form-type-checkbox .description {
  margin-left: 2px;
}
.form-actions {
  padding-top: 10px;
}
/* Contact Form */
.contact-form #edit-name {
  width: 75%;
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.contact-form #edit-mail {
  width: 75%;
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.contact-form #edit-subject {
  width: 75%;
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.contact-form #edit-message {
  width: 76.3%;
  -khtml-border-top-left-radius: 4px;
  -khtml-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.contact-form .resizable-textarea .grippie {
  width: 76%;
  -khtml-border-bottom-left-radius: 4px;
  -khtml-border-bottom-right-radius: 4px;
  -moz-border-radius-bottomleft: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* Disabled form elements */
input.form-button-disabled,
input.form-button-disabled:hover,
input.form-button-disabled:focus,
input.form-button-disabled:active,
.form-disabled input,
.form-disabled select,
.form-disabled textarea {
  background: #ededed;
  border-color: #bbb;
  color: #717171;
}
.form-disabled .grippie {
  background-color: #ededed;
  border-color: #bbb;
}
.form-disabled label {
  color: #717171;
}

/* Comment form */
.comment-form label {
  float: left; /* LTR */
  font-size: 0.929em;
  width: 120px;
}
.comment-form input,
.comment-form .form-select {
  margin: 0;
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.comment-form .form-type-textarea label {
  float: none;
}
.comment-form .form-item,
.comment-form .form-radios,
.comment-form .form-type-checkbox,
.comment-form .form-select {
  margin-bottom: 10px;
  overflow: hidden;
}
.comment-form .form-type-checkbox,
.comment-form .form-radios {
  margin-left: 120px; /* LTR */
}
.comment-form .form-type-checkbox label,
.comment-form .form-radios label {
  float: none;
  margin-top: 0;
}
.comment-form input.form-file {
  width: auto;
}
.no-sidebars .comment-form .form-text {
  width: 800px;
}
.one-sidebar .comment-form .form-text {
  width: 500px;
}
.two-sidebars .comment-form .form-text {
  width: 320px;
}
.comment-form .form-item .description {
  font-size: 0.786em;
  line-height: 1.2;
  margin-left: 120px; /* LTR */
}
#content h2.comment-form {
  margin-bottom: 0.5em;
}
.comment-form .form-textarea {
  -khtml-border-radius-topleft: 4px;
  -khtml-border-radius-topright: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.comment-form fieldset.filter-wrapper .fieldset-wrapper,
.comment-form .text-format-wrapper .form-item {
  margin-top: 0;
  margin-bottom: 0;
}
.filter-wrapper label {
  width: auto;
  float: none;
}
.filter-wrapper .form-select {
  min-width: 120px;
}
.comment-form fieldset.filter-wrapper .tips {
  font-size: 0.786em;
}
#comment-body-add-more-wrapper .form-type-textarea label {
  margin-bottom: 0.4em;
}
#edit-actions input {
  margin-right: 0.6em; /* LTR */
}
#edit-pre-actions {
  margin-bottom: 20px;
}

.view-student-bookings .form-actions {
  display: none;
}
#editablefields-field-uk-invoice .form-actions,
#editablefields-field-cpc-invoice .form-actions {
  display: none;
}

.view-trainer-bulletins .views-field-title {
  font-weight: bold;
  margin-bottom: 10px;
}
.view-trainer-bulletins {
  padding: 0 1em;
}
.view-trainer-bulletins p {
  margin-bottom: 10px;
}
.view-trainer-bulletins hr {
  background: #ccc;
  border: 0;
  height: 3px;
  margin: 20px 0 10px;
}
.view-trainer-bulletins .views-row:last-child hr {
  display: none;   
}
#edit-field-booking-student label {
  padding: 5px 10px;
}

.vbo-views-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.vbo-views-form legend {
  display: none;
}
.vbo-views-form .fieldset-wrapper {
  padding: 0;
  margin: 0;
}
.vbo-views-form .fieldset-wrapper input {
  padding: 4px 10px;
  color: #fff!important;
  transition: all 0.2s linear;
  background: var(--current-section-primary-colour);
  display: inline-block;
  border-radius: 5px;
  font-weight: bold;   
  border: 0;
  font-size: 1em;
}
.vbo-views-form .fieldset-wrapper input:hover {
  transition: all 0.2s linear;
  color: #fff;
  background: #555;
  text-decoration: none;
}
.vbo-view-form [id^="edit-header"] {
  display: none;
}
.cpc-ref {
  margin-left: 5px;
  font-size: 0.85em;
}
.field-name-field-courseinst-status .editable-field .form-required {
  display: none;
}
.field-name-field-courseinst-status .editable-field .form-item {
  margin: 0;
}
.field-name-field-courseinst-status .editable-field #edit-actions {
  display: none;
}
.view-filters {
  max-width: 100vw;
}

/* -------------- Other Overrides ------------- */

div.ctools-modal-content .modal-header {
  background: var(--current-section-primary-colour);
}
div.ctools-modal-content a.close {
  display: flex;
}
div.ctools-modal-content a.close img {
  height: 20px;
  width: 20px;
  margin-left: 10px;
}
div.password-suggestions {
  border: 0;
}
.ui-widget-overlay {
  background: #000!important;
  opacity: 0.75!important;
}
div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane {
  padding: 1em;
}
#forum .name {
  font-size: 1.083em;
}
#forum .description {
  font-size: 1em;
}
#messages {
  margin-top: 15px;
}
div.status {
  border: 0;
}

#feeds-ui-mapping-form-wrapper table {
  table-layout: fixed;
  width: 100%;
}
.page-admin-structure-feeds #main {
  max-width: 100%;
}

/* --------------- Search Form ---------------- */

#block-search-form {
  padding-bottom: 7px;
}
#block-search-form .content {
  margin-top: 0;
}
#search-form input#edit-keys,
#block-search-form .form-item-search-block-form input {
  float: left; /* LTR */
  font-size: 1em;
  height: 1.143em;
  margin-right: 5px;
  width: 9em;
}
#search-block-form input.form-submit,
#search-form input.form-submit {
  margin-left: 0;
  margin-right: 0;
  height: 25px;
  width: 34px;
  padding: 0;
  cursor: pointer;
  text-indent: -9999px;
  border-color: #e4e4e4 #d2d2d2 #b4b4b4;
  background: url(../images/search-button.png) no-repeat center top;
  overflow: hidden;
}
#search-block-form input.form-submit:hover,
#search-block-form input.form-submit:focus,
#search-form input.form-submit:hover,
#search-form input.form-submit:focus {
  background-position: center bottom;
}
#search-form .form-item-keys label {
  display: block;
}

/* --------------- Search Results ---------------- */
ol.search-results {
  padding-left: 0;
}
.search-results li {
  border-bottom: 1px solid #d3d7d9;
  padding-bottom: 0.4285em;
  margin-bottom: 0.5em;
}
.search-results li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1em;
}
.search-results .search-snippet-info {
  padding-left: 0;
}

/* -------------- Shortcut Links -------------- */

.shortcut-wrapper {
  margin: 2.2em 0 1.1em 0; /* Same as usual h1#page-title margin. */
}
.shortcut-wrapper h1#page-title {
  float: left; /* LTR */
  margin: 0;
}
div.add-or-remove-shortcuts {
  padding-top: 0.9em;
}
.overlay div.add-or-remove-shortcuts {
  padding-top: 0.8em;
}

/* ---------- Admin-specific Theming ---------- */

.page-admin #content img {
  margin-right: 15px; /* LTR */
}
.page-admin #content .simpletest-image img {
  margin: 0;
}
.page-admin-structure-block-demo .block-region {
  background: #ffff66;
  border: 1px dotted #9f9e00;
  color: #000;
  font: 90% "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  margin: 5px;
  padding: 5px;
  text-align: center;
  text-shadow: none;
}
.page-admin-structure-block-demo #featured .block-region {
  font-size: 0.55em;
}
.page-admin-structure-block-demo #header .block-region {
  width: 500px;
}
.page-admin #admin-dblog img {
  margin: 0 5px;
}
/* Fix spacing when Seven is used in the overlay. */
#system-theme-settings fieldset {
  padding: 0;
}
#system-theme-settings fieldset .fieldset-legend {
  margin-top: 0;
}
/* Configuration. */
div.admin .right,
div.admin .left {
  width: 49%;
  margin: 0;
}
div.admin-panel {
  background: #fbfbfb;
  border: 1px solid #ccc;
  margin: 10px 0;
  padding: 0 5px 5px;
}
div.admin-panel h3 {
  margin: 16px 7px;
}
div.admin-panel dt {
  border-top: 1px solid #ccc;
  padding: 7px 0 0;
}
div.admin-panel dd {
  margin: 0 0 10px;
}
div.admin-panel .description {
  margin: 0 0 14px 7px;
}

/* ---------- Overlay layout styles ----------- */

.overlay #main,
.overlay #content {
  width: auto;
  float: none;
}
.overlay #page {
  padding: 0 2em;
}
.overlay .region-page-top,
.overlay #header,
.overlay #page-title,
.overlay #featured,
.overlay #sidebar-first,
.overlay #triptych-wrapper,
.overlay #footer-wrapper {
  display: none;
}
.overlay-processed .field-type-image {
  display: block;
  float: none;
}
.overlay #messages {
  width: auto;
}

/* ---------- Poll ----------- */

.node .poll {
  margin: 2em 0;
}
.node .poll #edit-choice {
  margin: 0 0 1.5em;
}
.poll .vote-form {
  text-align: left; /* LTR */
}
.poll .vote-form .choices {
  margin: 0;
}
.poll .percent {
  font-size: 0.857em;
  font-style: italic;
  margin-bottom: 3em;
  margin-top: -3.2em;
  float: right;
  text-align: right;
}
.poll .text {
  clear: right;
  margin-right: 2.25em;
}
.poll .total {
  font-size: 0.929em;
  font-style: italic;
  text-align: right; /* LTR */
  clear: both;
}
.node .poll {
  margin: 1.8em 0 0;
}
.node .poll .text {
  margin-right: 6.75em;
}
.node .poll #edit-choice {
  margin: 0 0 1.2em;
}
.poll .bar .foreground {
  background-color: #666;
}
#footer-wrapper .poll .bar {
  background-color: #666;
}
#footer-wrapper .poll .bar .foreground {
  background-color: #ddd;
}



/* ------------------- Book ------------------------------- */
.book-navigation .menu {
  border-top: 1px solid #d6d6d6;
}
.book-navigation .book-pager {
  border-bottom: 1px solid #d6d6d6;
  border-top: 1px solid #d6d6d6;
  margin: 0;
}


/* ------------------- IVR Overrides ------------------------------- */

#header {
  border-top: 35px solid var(--current-section-primary-colour);
  min-height: 140px;
}

.narrow .nav-block-wrapper {
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  box-sizing: border-box;
}
.nav-block-top-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: end;
  margin-bottom: 1rem;
}
.nav-block-bottom-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: start;
}
.theivrgroupblock {
  margin-top: 1vw;
  width: 400px;
  height: 120px;
}

.theivrgroupblock .theivrgroup {
  display: block;
  background: url(/sites/default/files/ivrlogosmall.png) no-repeat;
  padding: 30px 20px 25px 135px;
  height: 70px;
}
.not-narrow .nav-block-wrapper {
  margin: 0 2vw;
  width: 100%;
  padding: 0 10px;
}
.not-narrow .theivrgroupblock .theivrgroup  {
  padding: 5px 20px 20px 95px;
  height: 50px;
  background-size: contain!important;
}
.not-narrow .theivrgroupblock {
  margin-top: 1em;
  height: auto;
  width: auto;
}
.not-narrow .region.region-primary-menu {
  margin: auto;
}
.not-narrow .nav-block-top-row {
  align-items: start;
}
.not-narrow .block-ivr-user-menu {
  margin-top: 1em;
}

.path-frontpage .theivrgroupblock a {
  color: #fff;   
}

.theivrgroupblock a {
  color: #000;
}

.theivrgroupblock a:hover,
.theivrgroupblock a:active {
  text-decoration: none;
}

.theivrgroup {
  font-size: 30px;
  font-weight: 900;
  line-height: 34px;
}
.theivrsub,
.theivrsub2 {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  display: block;
  line-height: 15px;
}

.verify a {
  background: url(/sites/default/files/ivr-verify-cert-icon.png) no-repeat;
  background-position: right;
  background-size: 22px;
  padding: 6px 30px 6px 0;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.myivr a {
  background: url(/sites/default/files/login-icon.png) no-repeat;
  background-position: right;
  background-size: 22px;
  padding: 6px 30px 6px 0;
  color: #fff!important;
  font-size: 0.8rem;
  margin: 0 1em;
}

#block-block-17 {
  position: relative;
  margin-top: -25px;
  margin-right: 20px;
  float: right;
}
#block-block-17 .content a {
  color: #fff;
}
#block-block-22 {
  z-index: 100;
  position: relative;
  float: right;
  margin-top: -35px;
  margin-right: 20px;
}

/* ---------- Overlay layout styles ----------- */

#overlay-container {
  max-width: 100vw;
}

#overlay {
  border-radius: 5px;
  background: url(/sites/default/files/ivrlogosmall.png) 15px 15px no-repeat #fff;
  background-size: 60px;
  padding: 45px 0 10px;
  box-sizing: border-box;
  width: auto;
  min-width: 300px;
  max-width: 100vw;
}
#overlay-close-wrapper {
  position: absolute;
  right: 15px;
  top: -30px;
}
#overlay-close, #overlay-close:hover {
  background: url(/sites/default/files/close-button.jpg) no-repeat;
  background-size: 20px;
  width: 20px;
  height: 20px;
  top: 0;
  bottom: inherit;
  position: relative;
}
#overlay-title {
  color: #000;
  font-weight: bold;
  padding: 0.3em 0 0.3em 70px;
}
#overlay-content {
  padding: 0;
}
#overlay .breadcrumb {
  display: none;
}
#overlay #main-wrapper {
  min-height: inherit;
}

#overlay-tabs {
  margin: 0 50px;
  left: 0;
  top: -30px;
}

#overlay-tabs li a {
  border-radius: 5px!important;
  margin: 0 2px!important;
  color: #fff!important;
  background: #0acbf7!important;
  transition: background 0.2s linear;
}
#overlay-tabs li a:hover {
  background: #555!important;
  transition: background 0.2s linear;
}
#overlay-tabs li a.active {
  color: #999!important;
  background: #fff!important;
}
#overlay div.messages {
  margin: 0;
}

.overlay #main,
.overlay #content {
  width: auto;
  float: none;
  margin: 0;
}
.overlay #page {
  padding: 0 5px;
}
.overlay .region-page-top,
.overlay #header,
.overlay #page-title,
.overlay #featured,
.overlay #sidebar-first,
.overlay #triptych-wrapper,
.overlay #footer-wrapper {
  display: none;
}
.overlay-processed .field-type-image {
  display: block;
  float: none;
}
.overlay #messages {
  width: auto;
}
.add-or-remove-shortcuts {
  display: none;
}
.overlay #block-system-main > .content {
  margin-top: 0;
}
#overlay h2 {
  padding-top: 0;
}

/* ------------------- Menu Toggle Link ------------------- */
a#menu-toggle {
  display:none;
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.7);
  padding: 0.7em 0 0.7em 10px;
  text-decoration: none;
  text-shadow: 0 1px #EEEEEE;
  position:relative;
}

a#menu-toggle:after {
  content:"";
  background: url('../images/toggle.png') no-repeat;
  width: 22px;
  height: 30px;
  display: inline-block;
  position: absolute;
  right: 10px;
}

#logo {
  width: 120px;
}
#logo img {
  width: 100%;
  height: auto;
}

.group_table,
.group_vehicle {
  margin-bottom: 20px;
}
.group_table tr th,
.group_vehicle tr th {
  width: 150px;
  background: #fff;
  color: #333;
}
.group_table tr td,
.group_vehicle tr td {
  background: #fff;
}

.element .group_vehicle,
.student_booking_element .group_vehicle {
  padding: 0 20px;
  border: 3px solid var(--current-section-primary-colour);
}
.element .group_vehicle .table-header,
.student_booking_element .group_vehicle .table-header {
  margin-top: 15px;
}
.element .group_vehicle table,
.student_booking_element .group_vehicle table {
  margin-bottom: 20px;
}
.element .group_vehicle caption,
.student_booking_element .group_vehicle caption {
  font-weight: bold;
}

.views-field-field-document-uploaded-file .file a,
.field-name-field-document-uploaded-file .file a {
  padding-top: 5px;
  display: block;
  font-weight: bold;
}
.views-field-field-status {
  white-space: nowrap;
}

.field-name-field-document-uploaded-file .field-item {
  clear: both;
  margin-bottom: 10px;
  display: table;
}
.views-field-field-document-uploaded-file .file img,
.field-name-field-document-uploaded-file .file img {
  float: left;
  margin-right: 10px;
  width: 20px;
  height: auto;
}

[class*='views-field-view-'] {
  padding: 0 0 0 5px;
  width: 20px;
}


a.addbutton,
.entity-browser-handle {
  padding: 2px 5px 2px 6px;
  color: #fff!important;
  transition: all 0.2s linear;
  background: var(--current-section-primary-colour);
  display: block;
  display: inline-block;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 10px;
}
table a.addbutton {
  margin: 0;
}
#edit-date-of-birth-wrapper {
  margin: 17px 8px 0 0;
  border: 0;
  box-shadow: none;
}
#edit-date-of-birth-wrapper .fieldset__label {
  margin: 0 0 5px 0;
  padding: 0;
  font-size: 0.9rem;
  color: #000;
}
#edit-date-of-birth-wrapper .fieldset__wrapper {
  margin: 0;
}
#edit-date-of-birth-wrapper .fieldset__wrapper .form-item {
  margin: 0;
}

a.addbutton:hover,
a.addbutton:active,
.entity-browser-handle:hover,
.entity-browser-handle:active {
  transition: all 0.2s linear;
  color: #fff;
  background: #555;
  text-decoration: none;
}
a.editlink {
  padding: 3px 10px;
  color: #fff;
  transition: all 0.2s linear;
  font-weight: 500;
  display: block;
  display: inline-block;
  background: #f6840a;
  border-radius: 2px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9em;
}


a.editlink:hover {
  transition: all 0.2s linear;
  background: #555;
  color: #fff;
  text-decoration: none;
}

[class*='views-field-view-'] a {
  padding: 0 5px 1px 6px;
  border-radius: 2px;
  color: #fff;
  background: var(--current-section-primary-colour);
  transition: all 0.2s linear;
  font-weight: bold;
}
[class*='views-field-view-'] a:hover {
  background: #555;
  transition: all 0.2s linear;
  color: #fff;
  text-decoration: none;
}
.view-empty {
  margin: 10px 5px;
}

.sidebar-second .view-empty {
  margin: 0;
}
.view caption {
  font-weight: 600;
  font-size: 1.5em;
  margin-bottom: 5px;
  color: #333!important;
}
.view caption span {
  color: #333!important;
  text-transform: lowercase;
  text-transform: capitalize;
  background: #fff!important;
  padding: inherit!important;
  margin: inherit!important; 
}


.view-header {
  display: table;
}

.block-views {
  clear: both;
}
.alert {
  color: #fff;
  font-weight: bold;
  background: #333;
  padding: 0 5px;
  white-space: nowrap;
  margin-left: 5px;
  font-size: 0.75rem;
}
.red {
  background: red;
}
.amber {
  background: #FFBF00;
}
.green {
  background: green;
}
.blue {
  background: #0000ba;
}
.taxonomy-term-description {
  margin: 0;
}


.node-type-course-instance .tabs {
  display: none;
}

ul.rules-operations-add li {
  list-style: none;
  margin: 4px 5px 4px 0;
}
ul.rules-operations-add li a {
  padding: 1px 8px;
  background: #f6840a;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s linear;
}
ul.rules-operations-add li a:hover {
  background: #555;
  color: #fff;
  transition: background 0.2s linear;
  text-decoration: none;
}
.rules-elements-table ul.rules-operations a {
  margin-right: 5px;
}

#edit-field-booking-student .form-item {
  margin-bottom: 0;
}

#field-booking-add-contact-markup-add-more-wrapper {
  margin-bottom: 1em;
}

/* ------------------- Training Portal ---------------------- */

.training-portal #content .block-views {
  clear: both;
  border: 2px solid #ddd;
  padding: 15px;
  margin: 15px 0 0; 
}

/* ------------------- Contacts ---------------------- */

.node-contact {
  border: 2px solid #ddd;
  padding: 0 10px 15px;
}
.node-type-contact .tabs ul.primary {
  float: left;
  margin-top: 15px;
}
.node-type-contact form {
  clear: both;
}

/* ------------------- MyIVR ---------------------- */

.view-membership.view-display-id-block_2 {
  padding-bottom: 8px;
}
.view-footer {
  padding-top: 10px;
}
.view-my-workshops .view-content {
  padding-bottom: 10px;
}
.view-course-instances .views-exposed-form #edit-field-courseinst-status-target-id .form-item {
  float: left;
  margin-right: 20px;
}
#edit-field-courseinst-venue .form-item {
  margin-bottom: 0;
}
#edit-field-courseinst-venue-markup {
  margin-bottom: 1em;
  font-size: 0.9em;
}
#edit-field-courseinst-finish-markup,
#edit-field-booking-add-contact-markup{
  font-size: 0.9em;
}
.ui-dialog-titlebar {
  background: #f6840a!important;
  border: 0;
  color: #fff;
}

/* ------------------- Course Modules ---------------------- */

.field-group-table .field-name-field-course-descrption p {
  margin: 5px 0;
}
.view-module-list-public .item-list {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  margin-bottom: 15px;
  
}


/* ------------------- Course Instances ---------------------- */

.view-course-checklist tr td {
  display: block;
}
.view-course-checklist .grippie {
  display: none;   
}
.view-course-checklist tr.odd {
  background: transparent;
  border: 0;
}
#block-views-course-checklist-block {
  padding: 10px 20px;
  border: 4px solid #f6840a;
  background: #f6f6f6;
  margin-top: 20px;
}

/* ------------------- Workshops ---------------------- */

.view-workshop-attendees .views-row-edit-static,
.view-workshop-attendees .views-row-edit-edit label {
  display: none;
}

/* ------------------- Drop down login ---------------------- */

#block-drop-down-login-drop-down-login {
  margin-top: -28px;
  float: right;
  z-index: 1000;
  position: relative;
}
#drop-down-login-wrapper a.button {
  color: #fff;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: -8px 0;
  top: 0;
  display: block;
  position: relative;
  font-size: 0.1px;
  
}
.not-logged-in #drop-down-login-wrapper a.button > span > span:before {
  content: "MEMBERS / TRAINING PORTAL";  
  float: left;
  margin-right: 5px;
  padding-top: 0;
  font-size: 12px;
}
.logged-in #drop-down-login-wrapper a.button > span > span:before {
  content: "MY ACCOUNT";  
  float: left;
  margin-right: 5px;
  padding-top: 0;
  font-size: 12px;
}


#drop-down-login-wrapper .dropdown {
  background: #1e80eb;
  border: 0;
  right: 0;
  top: 28px;
  box-shadow: none;
  border-radius: 0;
  color: #fff;
  padding: 0;
}
#drop-down-login-wrapper .dropdown form {
  padding: 10px 20px;   
}

#drop-down-login-wrapper .dropdown a {
  color: #fff;   
}
#drop-down-login-wrapper .dropdown ul li {
  border-bottom: 0;
  margin-bottom: 0;
}

#drop-down-login-wrapper .dropdown .menu li a {
  background: url(/sites/default/files/arrowbullet.png) no-repeat;
  padding: 7px 10px 7px 30px;
  width: 100%;
  margin-bottom: 5px;
  color: #fff;
  display: block;
  box-sizing: border-box;
  background-size: 10px;
  background-position: 10px center;
  background-color: #1e80eb;
  transition: background-color 0.2s linear;
  width: 150px;
}
#drop-down-login-wrapper .dropdown .menu li a:hover {
  text-decoration: none;
  background-color: #666;
  transition: background-color 0.2s linear;
} 
#drop-down-login-wrapper.enable-dd .open span span,
#drop-down-login-wrapper.enable-dd .button span span {
  background: url(/sites/default/files/login-icon.png) no-repeat;
  background-position: right;
  background-size: 25px;
  padding: 6px 30px;
}


/* ------------------- Home page header ---------------------- */

.front #block-block-2 {
  color: #fff;   
}

.secure-tomorrow {
  width: 400px;
}

.secure-tomorrow h1 {
  font-size: 2.4em;
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
}

/* ------------------- Home page tiles ---------------------- */

/* .view.view-home-page-tiles.view-id-home_page_tiles .view-content {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-justify-content: space-around;
-ms-flex-pack: distribute;
justify-content: space-around
}
.view.view-home-page-tiles.view-id-home_page_tiles .view-content a:hover,
.view.view-home-page-tiles.view-id-home_page_tiles .view-content a:active {
text-decoration: none;

}
.view.view-home-page-tiles.view-id-home_page_tiles .views-row {  
padding: 15px 0;
}

.view.view-home-page-tiles.view-id-home_page_tiles .views-row > .views-field {  
box-shadow: #ccc 2px 2px 10px;
}


.view.view-home-page-tiles.view-id-home_page_tiles .views-row.square {  
width: 31%;
}
.view.view-home-page-tiles.view-id-home_page_tiles .views-row.wide {  
width: 64%;
}

.view.view-home-page-tiles.view-id-home_page_tiles .tileimage {
height: 350px;  
overflow: hidden;
}

.view.view-home-page-tiles.view-id-home_page_tiles .tiletext {
position: relative;
top: 0;
display: block;
background: rgba(255, 148, 35, 0.85);
color: #fff;
padding: 0 25px;
font-size: 0.9em;
height: 300px;
box-sizing: border-box;
transition: background 0.3s linear;
}

.view.view-home-page-tiles.view-id-home_page_tiles h2 {
position: relative;
bottom: 101px;
padding: 20px 25px;
background: rgba(255, 148, 35, 0.85);
box-sizing: border-box;
color: #fff;
min-height: 80px;
font-size: 2em;
text-align: center;
transition: all 0.3s linear;
text-decoration: none;
}

.view.view-home-page-tiles.view-id-home_page_tiles .view-content a:hover h2,
.view.view-home-page-tiles.view-id-home_page_tiles .view-content a:hover .tiletext {
background: rgba(255, 148, 35, 1);
transition: all 0.3s ease;
}
.view.view-home-page-tiles.view-id-home_page_tiles .view-content a:hover h2 {
text-decoration: underline;
transition: all 0.3s ease;
}


.view.view-home-page-tiles.view-id-home_page_tiles .right h2,
.view.view-home-page-tiles.view-id-home_page_tiles .right .tiletext {
margin-left: 48%;
}
.view.view-home-page-tiles.view-id-home_page_tiles .wide h2,
.view.view-home-page-tiles.view-id-home_page_tiles .wide .tiletext {
width: 52%;
}
.view.view-home-page-tiles.view-id-home_page_tiles .withtiletext h2 {
top: -371px;
text-align: left;
}
.view.view-home-page-tiles.view-id-home_page_tiles .tiletext {
top: -373px   
} */

.view.view-home-page-tiles.view-id-home_page_tiles > .view-content {
  display: flex;
  column-gap: 30px;
  row-gap: 30px;
  gap: 30px;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  max-width: 1290px;
  justify-content: center;
  margin-top: 10px;
}
.home-page-tile img {
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.home-page-tile-text-container {
  position: absolute;
  top: 0;
  display: block;
  /* background: rgba(255, 148, 35, 0.85); */
  color: #fff;
  padding: 0 25px;
  font-size: 0.9em;
  height: 300px;
  box-sizing: border-box;
  transition: background 0.3s linear;
  width: 100%;
  height: 100%;
}
.home-page-tile-text-container h2 {
  box-sizing: border-box;
  color: #fff;
  font-size: 2em;
  text-decoration: none;
  font-weight: 600;
  padding: 20px 0;
}
.home-page-tile.mobonly-yes {
  display: none;
}
a.home-page-tile,
div.home-page-tile {
  position: relative;
  display: block;
  box-sizing: border-box;
  height: 100%;
  width: auto;
  overflow: hidden;
  box-shadow: #ccc 2px 2px 10px;
}
.home-page-tile.section-general.size-wide.text-left .home-page-tile-text-container {
  width: 50%;
  margin-right: 50%;
}
.home-page-tile.section-general.size-wide.text-right .home-page-tile-text-container {
  width: 50%;
  margin-left: 50%;
}


.home-page-tile.section-general .home-page-tile-text-container {
  background: rgba(255, 148, 35, 0.85);
}
.home-page-tile.section-general .home-page-tile-text-container:hover {
  background: rgba(255, 148, 35, 1);
  transition: all 0.3s ease;
}

.home-page-tile.section-news.size-wide.text-right .home-page-tile-text-container {
  width: 50%;
  margin-left: 50%;
}

.home-page-tile.section-news .home-page-tile-text-container {
  background: rgba(85, 85, 85, 0.85);
}
.home-page-tile.section-news .home-page-tile-text-container:hover {
  background: rgba(85, 85, 85, 1);
  transition: all 0.3s ease;
}
.home-page-tile.section-news .home-page-tile-text-container a {
  color: white;
}

.home-page-tile.section-training .home-page-tile-text-container {
  background-color: rgba(202, 7, 0, 0.75);
  text-align: center;
  top: 80%;
  height: 20%;
}
.home-page-tile.section-training .home-page-tile-text-container:hover {
  background-color: rgba(202, 7, 0, 1);
  transition: all 0.3s ease;
}

.home-page-tile.section-ivr-uk .home-page-tile-text-container {
  background-color: rgba(75, 199, 0, 0.75);
  text-align: center;
  top: 80%;
  height: 20%;
}
.home-page-tile.section-ivr-uk .home-page-tile-text-container:hover {
  background-color: rgba(75, 199, 0, 1);
  transition: all 0.3s ease;
}

.home-page-tile.section-membership .home-page-tile-text-container {
  background-color: rgba(30, 128, 235, 0.75);
  width: 50%;
  margin-left: 50%;
}
.home-page-tile.section-membership .home-page-tile-text-container:hover {
  background-color: rgba(30, 128, 235, 1);
  transition: all 0.3s ease;
}
.home-page-tile.section-rqm .home-page-tile-text-container {
  background-color: rgba(153, 0, 153, 0.75);
  text-align: center;
  top: 80%;
  height: 20%;
}
.home-page-tile.section-rqm .home-page-tile-text-container:hover {
  background-color: rgba(153, 0, 153, 1);
  transition: all 0.3s ease;
}
.narrow main {
  max-width: 1290px;
  margin: auto;
}

.section-training,
.path-node-type-course-module {
  --current-section-primary-colour: #ca0700;
  --current-section-link-colour: #ca0700;
}

.section-ivr-uk {
  --current-section-primary-colour: #4bc700;
  --current-section-link-colour: #4bc700;
}

.section-membership {
  --current-section-primary-colour: #1e80eb;
  --current-section-link-colour: #1e80eb;
}

.section-rqm {
  --current-section-primary-colour: #990099;
  --current-section-link-colour: #990099;
}

.section-news {
  --current-section-primary-colour: #555;
  --current-section-link-colour: #555;
}

.section-general {
  --current-section-link-colour: #f1941e;
}

/* ------------------- Footer ---------------------- */

#block-views-footer-logos-block {
  background: #fff;
  padding: 7px 1000px 15px!important;
  margin: 0 -1000px 10px!important;
}
/* div#block-ivr23-views-block-footer-logos-block-1 {
background: #fff;
padding: 7px 1000px 15px!important;
margin: 0 -1000px 10px!important;

} */

.view-footer-logos .view-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  max-width: 1290px;
  margin: auto;
}
.view-footer-logos .view-content .views-field-edit-node a {
  padding: 0 5px;
  float: left;
  background: #999;
  border-radius: 5px;
  margin-top: 5px;
}


/* ------------------- Tile Pages ---------------------- */

#block-ds-extras-tile-page-header {
  position: relative;
  margin: 140px 0 0;
  padding-right: 20px;
  border-top: 4px solid;
  border-bottom: 4px solid;
  margin-bottom: 20px; 
  border-color: #f6840a;
}

#block-ds-extras-tile-page-header .field-name-field-tile-image {
  float: left;   
  margin-right: 25px;
  max-width: 50%;
  overflow: hidden;
}
#block-ds-extras-tile-page-header .field-name-field-video {
  width: 50%; 
  margin-top: -15px;
  float: left;   
  margin-right: 25px;
}
#block-ds-extras-tile-page-header .field-name-title h1 {
  font-size: 2em;
  padding-top: 25px;
}
#block-ds-extras-tile-page-header .field-name-field-tile-summary .field-item {
  font-size: 1.2em;
  font-weight: 600;
}

.node-type-tile-page #main > #content {
  border-top: 0px;
}




#block-views-tile-page-tiles-block {
  border-bottom: 0;
}
.view-tile-page-tiles .view-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.view-tile-page-tiles .view-content .views-row a {
  border: 1px solid;
  display: block;
  padding: 15px;
  text-align: center;
  margin: 10px;
  box-shadow: 4px 4px 8px #ddd;
  position: relative;
}
.view-tile-page-tiles .view-content .views-row a .tileimage {
  height: 185px;
  width: 250px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  overflow: hidden;
}
.view-tile-page-tiles .view-content .views-row a .cover {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transition: background 0.15s linear;
}
.view-tile-page-tiles .view-content .views-row a .cover:hover {
  background: rgba(202, 7, 0, 0.4);
  transition: background 0.2s ease;
}
.section-membership .view-tile-page-tiles .view-content .views-row a .cover:hover {
  background: rgba(0, 90, 200, 0.4);
}
.view-tile-page-tiles .view-content .views-row a:hover {
  text-decoration: none;
}

/* ------------------- News section ---------------------- */

.section-news .item-list ul li {
  padding: 0;
}
.section-news .region-sidebar-second .block {
  background: #fff;
  border-bottom: 0;
}
.section-news .region-sidebar-second #block-views-more-news-block .content {
  padding: 0;
  margin: 0;
}
.section-news .region-sidebar-second .views-row a {
  background: url(/sites/default/files/arrowbulletblack.png) no-repeat;
  padding: 7px 10px 7px 30px;
  width: 100%;
  margin-bottom: 5px;
  color: #555;
  display: block;
  box-sizing: border-box;
  background-size: 10px;
  background-position: 10px center;
  background-color: #ffff00;
  transition: all 0.2s linear;
}
.section-news .region-sidebar-second .views-row a:hover {
  background: url(/sites/default/files/arrowbullet.png) no-repeat;
  background-size: 10px;
  background-position: 10px center;
  text-decoration: none;
  background-color: #666;
  transition: all 0.2s linear;
  color: #fff;
}

.view-news.view-display-id-block_2 {
  background: rgba(50, 50, 50, 0.5);
  width: 340px;
  margin-top: 1rem;
}
.view-news.view-display-id-block_2 li {
  list-style: disc;
  color: #ffff00;
  margin: 0 15px 5px 25px; 
  line-height: 1;
}

.view-news.view-display-id-block_2 li a {
  color: #fff;
  font-weight: 600;
  font-size: 0.9em;
}
.view-news.view-display-id-block_2 .view-header {
  display: block;
  box-sizing: border-box;
}
.view-news.view-display-id-block_2 .view-content {
  padding: 10px 0 5px;   
}

.view-news.view-display-id-block_2 h3 {
  background: #ffff00;
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 10px;
  font-size: 0.9rem;
}


.section-news .region-sidebar-second h2 {
  border-bottom-color: #ffff00;
}

.section-news .field-name-body {
  margin-bottom: 20px;
}

.section-news .field-name-body a {
  border-bottom: 2px solid #ffff00;
}
.section-news .field-name-body a:hover,
.tags-taxonomy-term .field-name-body a:hover {
  text-decoration: none;
  border-bottom-color: #555;
}

.section-news .region-sidebar-second h2:after {
  color: #ffff00;
}
.section-news .view-display-id-page_1 h2,
.view-safety-bulletins h2{
  padding: 0;
}

.section-news .view-news.view-display-id-page_1 .view-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.section-news .view-news.view-display-id-page_1 .views-row {
  width: 320px;
  border: 1px solid #555;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;   
  margin: 15px;
  background: #fff;
  -webkit-transition: background 0.2s ease;
  -o-transition: background 0.2s ease;
  transition: background 0.2s ease;
  -webkit-box-shadow: 4px 4px 8px #ddd;
  box-shadow: 4px 4px 8px #ddd;
}

.section-news .view-news.view-display-id-page_1 .view-content .views-row a {
  transition: background 0.15s linear;
  display: block;
  padding: 15px;    
}
.section-news .view-news.view-display-id-page_1 .view-content .views-row a:hover {
  text-decoration: none;
}

.section-news .view-news.view-display-id-page_1 .view-content .views-row:hover {
  background: rgba(255, 255, 0, 0.3);
  transition: background 0.2s ease;
  text-decoration: none;
}
.section-news .view-news.view-display-id-page_1 .view-content .views-row h2 {
  border-bottom: 3px solid #555;
}
.section-news .view-news.view-display-id-page_1 .view-content .views-row p {
  margin: 0 0 0.2em;
}


.node-type-news .field-name-body table tr th,
.node-type-news .field-name-body table tr td {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #333;
  padding: 5px 7px;
  font-size: 0.95em;
}

/* ------------------- Safety bulletins ---------------------- */

.page-node-type-safety-bulletin .region-sidebar-second .views-row a {
  background: url(/sites/default/files/arrowbullet.png) no-repeat;
  padding: 7px 10px 7px 30px;
  width: 100%;
  margin-bottom: 5px;
  color: #fff;
  display: block;
  box-sizing: border-box;
  background-size: 10px;
  background-position: 10px center;
  background-color: var(--current-section-primary-colour);
  transition: all 0.2s linear;
}
.page-node-type-safety-bulletin .region-sidebar-second .views-row a:hover {
  background: url(/sites/default/files/arrowbullet.png) no-repeat;
  background-size: 10px;
  background-position: 10px center;
  text-decoration: none;
  background-color: #666;
  transition: all 0.2s linear;
  color: #fff;
}
.page-node-type-safety-bulletin .region-sidebar-second #block-views-safety-bulletins-block-1 .content {
  margin: 0;
  padding: 0;
}
.page-node-type-safety-bulletin .region-sidebar-second .block {
  border-bottom: 0;
}

.view-safety-bulletins.view-display-id-block_1 .view-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.view-safety-bulletins.view-display-id-block_1 .views-row {
  width: 320px;
  border: 1px solid #555;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;   
  margin: 15px;
  background: #fff;
  -webkit-transition: background 0.2s ease;
  -o-transition: background 0.2s ease;
  transition: background 0.2s ease;
  -webkit-box-shadow: 4px 4px 8px #ddd;
  box-shadow: 4px 4px 8px #ddd;
}

.view-safety-bulletins.view-display-id-block_1 .view-content .views-row a {
  transition: background 0.15s linear;
  display: block;
  padding: 15px;    
}
.view-safety-bulletins.view-display-id-block_1 .view-content .views-row a:hover {
  text-decoration: none;
}

.view-safety-bulletins.view-display-id-block_1 .view-content .views-row:hover {
  background: rgba(243, 150, 31, 0.3);
  transition: background 0.2s ease;
  text-decoration: none;
}
.view-safety-bulletins.view-display-id-block_1 .view-content .views-row h2 {
  border-bottom: 3px solid #555;
}
.view-safety-bulletins a {
  color: #555;
}
.page-node-type-safety-bulletin a {
  color: var(--current-section-primary-colour);
}

.section-page-header {
  border-bottom: 4px solid var(--current-section-primary-colour);
  margin-bottom: 1vw;
}
.section-page-header .flex1 {
  padding: 0 20px 0 0;
}
.section-page-header .field--name-field-tile-summary {
  font-weight: 600;
}

.section-page-header img {
  max-width: 100%;
  height: auto;
}

.news-body,
.pub-page-body,
.section-page-body {
  margin: 0 10px 1em;
}
.view-module-list-public .view-content,
.pub-page-body.col-2,
.section-page-body.col-2,
.news-body.col-2 {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 60px;
  -moz-column-gap: 60px;
  column-gap: 60px;
}

.myivr-view {
  clear: both;
  border: 2px solid #ddd;
  padding: 15px;
  margin: 15px 0 0;
}
.myivr-view h2 {
  font-weight: 600;
}
.view-filters details {
  border: none;
  margin: 0;
}

/* ------------------- Public pages ---------------------- */

.twocolumns .field-name-body .field-item {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 60px;
  -moz-column-gap: 60px;
  column-gap: 60px;
}
.page-node-type-public-page .field-name-body img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}


.page-node-type-public-page .field-name-body table tr th,
.page-node-type-public-page .field-name-body table tr td {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #333;
  padding: 5px 7px;
  text-align: center;
  font-size: 0.95em;
}
#block-ds-extras-page-tile,
#pub-page-image {
  background: #fff;
  border: 4px solid var(--current-section-primary-colour);
  box-sizing: border-box;
}
#block-ds-extras-page-tile .content,
#pub-page-image .content {
  margin: 0;
  padding: 10px;
}
#block-ds-extras-page-tile img,
#pub-page-image img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}
.nobreak {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}

.page-node-type-public-page .item-list ul li {
  padding: 0;
}
.page-node-type-public-page .region-sidebar-second .block {
  background: #fff;
  border-bottom: 0;
}
.page-node-type-public-page .region-sidebar-second #block-views-also-in-this-section-block .content {
  padding: 0;
  margin: 0;
}
.page-node-type-public-page .region-sidebar-second .views-row a {
  background: url(/sites/default/files/arrowbullet.png) no-repeat;
  padding: 7px 10px 7px 30px;
  width: 100%;
  margin-bottom: 5px;
  color: #fff;
  display: block;
  box-sizing: border-box;
  background-size: 10px;
  background-position: 10px center;
  background-color: #666;
  transition: background-color 0.2s linear;
}
.page-node-type-public-page .region-sidebar-second .views-row a:hover {
  text-decoration: none;
  background-color: #666;
  transition: background-color 0.2s linear;
}

.page-node-type-public-page ol li {
  padding: 0 0 10px 10px;
}


#block-ds-extras-section-body .field-name-body .field-item {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 60px;
  -moz-column-gap: 60px;
  column-gap: 60px;
}

.path-node-82720 #block-ds-extras-section-body .field-name-body .field-item {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
  margin-bottom: 20px;
}


/* ------------------- General Section ---------------------- */

.general-section h1,
.general-section a,
.general-section a:hover,
.general-section table tr th,
.general-section .sidebar h2:after {
  color: var(--current-section-primary-colour);
}

/* ------------------- Training Section ---------------------- */

.section-training .theivrgroupblock .theivrgroup,
.path-node-type-course-module .theivrgroupblock .theivrgroup {
  background: url(/sites/default/files/ivrtslogosmall.png) no-repeat;
}

.section-training .region-sidebar-second .views-row a,
.path-node-type-course-module .region-sidebar-second .views-row a {
  background-color: #ca0700;
}
.section-training table tr th {
  color: #ca0700;
}
#content .view-home-page-tiles .tileimage.Training h2,
#content .view-home-page-tiles .tileimage.Training .tiletext {
  background-color: rgba(202, 7, 0, 0.75);
}
#content .view-home-page-tiles .view-content a:hover .tileimage.Training h2,
#content .view-home-page-tiles .view-content a:hover .tileimage.Training .tiletext {
  background: #ca0700;
  transition: background 0.3s ease;
}

.view-module-list-public li a {
  color: #555;
}

/* ------------------- IVR UK Section ---------------------- */

.section-ivr-uk .theivrgroupblock .theivrgroup {
  background: url(/sites/default/files/ivruklogosmall.png) no-repeat;
}

#content .view-home-page-tiles .tileimage.IVR.UK h2,
#content .view-home-page-tiles .tileimage.IVR.UK .tiletext {
  background-color: rgba(75, 199, 0, 0.75);
}
#content .view-home-page-tiles .view-content a:hover .tileimage.IVR.UK h2,
#content .view-home-page-tiles .view-content a:hover .tileimage.IVR.UK .tiletext {
  background: #4bc700;
  transition: background 0.3s ease;
}

/* ------------------- Membership Section ---------------------- */

.section-membership .theivrgroupblock .theivrgroup {
  background: url(/sites/default/files/ivrbluelogosmall.png) no-repeat;
}

#content .view-home-page-tiles .view-content a:hover .tileimage.Membership h2,
#content .view-home-page-tiles .view-content a:hover .tileimage.Membership .tiletext {
  background: #1e80eb;
  transition: background 0.3s ease;
}

.section-membership #featured {
  background: var(--current-section-primary-colour);
}

.section-membership .region-sidebar-second .views-row a {
  background-color: var(--current-section-primary-colour);
}

/* ------------------- RQM Section ---------------------- */

.section-rqm .theivrgroupblock .theivrgroup,
.path-node-159321 .theivrgroupblock .theivrgroup,
.path-node-159326 .theivrgroupblock .theivrgroup {
  background: url(/sites/default/files/ivrlogosmall.png) no-repeat;
}

#content .view-home-page-tiles .view-content a:hover .tileimage.RQM h2,
#content .view-home-page-tiles .view-content a:hover .tileimage.RQM .tiletext {
  background: #990099;
  transition: background 0.3s ease;
}

.section-rqm .field-name-body a {
  display: inline-block;
}

.path-node-159321 fieldset,
.path-node-159326 fieldset {
  width: 48%;
  float: left;
  box-sizing: border-box;
}
.path-node-159321 fieldset.webform-component--personal-details,
.path-node-159326 fieldset.webform-component--company-details {
  margin-right: 2%;
  box-sizing: border-box;
}
.path-node-159326 fieldset.webform-component--technicians-details {
  margin-right: 2%;
  box-sizing: border-box;
  clear: left;
}
.path-node-159321 .webform-component-markup,
.path-node-159326 .webform-component-markup {
  clear: both; 
}

.path-node-159321 input.form-text,
.path-node-159326 input.form-text {
  width: 100%;
}

.path-node-159321 fieldset legend,
.path-node-159326 fieldset legend {
  background: #990099;
  color: #fff;
  font-weight: bold;
}

.video-filter iframe {
  transform: translate3d(0,0,0);
}

.path-node-submission- .form-item {
  clear: both;
}

/* ------------------- Contact us page ---------------------- */

.contactflex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 10px;
}

.contactflex .contactdetails {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 300px;
}
.contactflex .map {
  -webkit-box-flex: 3;
  -webkit-flex: 3;
  -ms-flex: 3;
  flex: 3;
  min-width: 300px;
  
}
.contactflex .map iframe {
  max-width: 100%;
}


/* ------------------- Forms ---------------------- */

form input:not(.form-radio):not(.form-checkbox):not(.button),
select {
  padding: 7px;
  font-size: 0.9rem;
  border: 1px solid #999;
  margin: 5px 0 3px;
  max-width: 100%;
  font-family: sans-serif;
  border-radius: 5px;
  color: #666;
  height: 30px;
  box-sizing: border-box;
}
form input[type=text],
form input[type=tel],
form input[type=email] {
  width: 50%;
  min-width: 300px;
  box-sizing: border-box;
  margin-top: 5px;
  height: 36px;
}
form input[type=text].form-time {
  min-width: 90px;
  max-width: 90px;
  text-align: left;
  background: url(/themes/lift8/images/icons/clock.svg) no-repeat 65px center;
  background-size: 17px;
  background-color: #fff;
  font-size: 1em;
}
form.views-exposed-form input[type=text],
form.views-exposed-form input[type=tel],
form.views-exposed-form input[type=email] {
  min-width: 250px;
  max-width: 250px;
  width: 250px;
}
form.views-exposed-form input[id^=edit-field-course-number-value] {
  min-width: 70px;
  max-width: 70px;
  width: 70px;
}
.views-exposed-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}
form.views-exposed-form select {
  padding: 5px;
  font-size: 0.875rem;
  border: 1px solid #999;
  margin: 5px 0 3px;
  max-width: 100%;
  font-family: sans-serif;
  background: #fff;
  color: #666;
  min-height: 30px;
  box-sizing: border-box;
}

form.views-exposed-form input[type=text].form-time {
  position: relative;
  top: 0;
}

form:not(.views-exposed-form) .datetime-wrapper + .datetime-wrapper {
  margin-top: -1em;
}
form.views-exposed-form .datetime-wrapper input {
  height: 37px;
  margin-top: 4px;
}

form.views-exposed-form .datetime-wrapper > div {
  display: flex;
}
form.views-exposed-form input.timepicker {
  margin-left: 5px;
}

form.views-exposed-form legend {
  display: none;
}
form.views-exposed-form .fieldset-wrapper {
  display: flex;
  padding: 0;
  align-items: flex-end;
}
form.views-exposed-form .fieldset-wrapper .form-item {
  margin: 0 1em 1em 0;
}
form.views-exposed-form [id*="date-min"] {
  margin-right: 0.5rem;
}
form.views-exposed-form .fieldset-wrapper .form-item.form-type-radio {
  margin: 0;
}
form.views-exposed-form .fieldset-wrapper > div:first-child {
  margin-right: 5px;
}
form.views-exposed-form fieldset {
  border: 0;
  padding: 0;
}
form.views-exposed-form #edit-status-1--wrapper,
form.views-exposed-form #edit-hide-completed--wrapper {
  margin-bottom: 1em;
}

form label {
  display: block;
  font-weight: bold;
}
form:not(.vbo-view-form) .form-item {
  margin-bottom: 1em;
}
form.views-exposed-form .form-item {
  margin-right: 1em!important;
}
form.views-exposed-form fieldset.form-item {
  all: unset;
}
form.views-exposed-form fieldset.form-item .form-item {
  margin-right: 1em;
  margin-left: 0;
}
form.views-exposed-form fieldset.form-item .form-item:last-child {
  margin-right: 0!important;
  margin-left: 0;
}
form.views-exposed-form .label {
  font-size: 0.8rem!important;
  font-weight: 600!important;
}
form.views-exposed-form .form-actions {
  margin: 0;
  padding: 0;
}
form input[type="file"] {
  height: 38px!important;
}

[id^="edit-date-of-birth-wrapper"] legend {
  all: unset!important;
  font-size: 0.8rem!important;
  font-weight: 600!important;
}

form .description {
  font-size: 0.8rem;
  clear: both;
}
form:not(.views-exposed-form) .fieldset-wrapper {
  padding-top: 3em;
  border: 1px solid #ccc;
  border-top: 0;
  border-radius: 4px;
  margin-bottom: 1em;
}
form:not(.views-exposed-form) fieldset .fieldset-wrapper {
  border: none;
  margin-bottom: 0;
}

.view a.addbutton {
  margin-bottom: 1rem;
}

.course-instance div[id^="edit-field"] label {
  display: none;
}

.webform-submission-form fieldset legend {
  all: unset;
}
.webform-submission-form .fieldset-wrapper {
  all: unset;
  margin-bottom: 1em;
}
.webform-submission-form .form-item {
  margin: 0 0 0.7em!important;
}
.webform-submission-form fieldset {
  background: none;
  padding-bottom: 1em;
}
.webform-submission-form .fieldset-wrapper .form-item {
  margin: 0.5em 0 0!important;
}
.webform-submission-form input[type=text],
.webform-submission-form input[type=tel],
.webform-submission-form input[type=email] {
  width: 90%;
}
.webform-submission-form input[type=checkbox] {
  scale: 1.2;
}

.block-webform {
  margin: 1em 10px;
  padding: 1em;
  border: 4px solid #f6840a;
  background: #f6f6f6;
}
.block-webform h2 {
  margin: 0 0 0.5em 0;
}

/* ------------------- Membership application form ---------------------- */

#membership-application-entityform-edit-form .group-personal-details {
  float: left;
  width: 50%;
  padding-right: 15px;
  box-sizing: border-box;
}
#membership-application-entityform-edit-form .group-current-employment {
  float: right;
  width: 50%;
  padding-left: 15px;
  box-sizing: border-box;
}
#membership-application-entityform-edit-form #edit-actions {
  text-align: center;
  clear: both;
}
#edit-field-membership-application-mar {
  clear: both;
}
#edit-field-member-data-consent label {
  float: left;
  padding-right: 5px;
  font-weight: bold;
  font-size: 1em;
  margin-left: 0;
}
#edit-field-member-data-consent input {
  width: 15px;
  height: 15px;
}

.view-find-an-instructor table tr th {
  color: #fff;
}
.view-find-an-instructor table tr th, 
.view-find-an-instructor table tr td {
  vertical-align: middle;   
}

.view-find-an-instructor .footable-details {
  margin: 0;
}

.fooicon-collapsed-minus .fooicon-plus::before, .fooicon-expanded-minus .fooicon-minus::before {
  content: "ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¢";
}
.fooicon-collapsed-plus .fooicon-plus::before, .fooicon-expanded-plus .fooicon-minus::before {
  content: "ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ";
}
.view-find-an-instructor .footable-details .views-align-center {
  text-align: left;
}
.view-find-an-instructor .nobreak {
  white-space: nowrap;
}

.field-name-field-qual-student-details .field-item,
.field-name-field-auxiliary-equipment .field-item,
.field-name-field-qual-notes .field-item {
  white-space: pre;
}

#edit-field-member-experience-cv label span:before {   
  content: " (including dates). This information will help decide your level of membership. ";
  color: #000;
}

#edit-field-contact-relevant-training label span:before {
  content: " This information will help decide your level of membership. ";
  color: #000;
}
#edit-field-member-experience-cv {
  clear: both;
}


.view-verify-qualification .views-field-field-card-modules,
.view-verify-qualification .views-field-field-card-expirys {
  white-space: pre-line;
}


.field-name-field-cancelled strong,
.cancelled {
  display: block;
  background: red;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.field-name-field-card-contact {
  margin-bottom: 15px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}
.flexsa {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.flexsb {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flexnowrap {
  display: flex;
}
.flexleft {
  margin: 0 -10px;
}
.flexspace {
  justify-content: space-between;
  margin: 0 -10px 1em;
}
.flexpad {
  padding: 0 10px;
  flex-grow: 1;
}
.flexpadnogrow {
  padding: 0 10px;
}
.flexend {
  align-self: flex-end;
}

.flex1 {
  flex: 1;
  padding: 0 10px;
  min-width: 240px;
}
.flex2 {
  flex: 2;
  padding: 0 10px;
}
.flexcell {
  display: flex;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
}
.flexspace details + details {
  margin-top: 20px;
}
.flexdate {
  align-items: flex-end;
}
.flexcentre {
  display: inline-flex;
  align-items: center;
}
.flexcentre.right {
  margin-left: auto;
}
.flex-direction-column {
  flex-direction: column;
}
.clear-both {
  clear: both;
}
.center {
  align-items: center;
  text-align: center;
}
.right {
  float: right;
}
.left {
  float: left;
}

.contact-title h1 {
  font-size: 2em;
}
.contact-title img {
  height: 50px;
  width: auto;
  border: 3px solid var(--current-section-primary-colour);
  border-radius: 10px;
  margin: 10px 0 10px 10px;
}
.path-id-card-check .contact-title img {
  height: 100px;
}
.path-id-card-check table {
  margin: 0 0 1em;
}

.view-qualifications .temporary-yes {
  background-color: rgba(253, 173, 192, 0.39);;
}

.view-course-instances.view-display-id-block_2 .cannot-view-course .alert {
  background-color: #7e7e7e!important;
}
.view-course-instances.view-display-id-block_2 .cannot-view-course a,
.view-course-instances.view-display-id-block_2 .cannot-view-course {
  color: #7e7e7e!important;
}

.user-login-form .notice {
  padding: 1em;
  background-color: red;
  color: #fff;
  font-weight: bold;
  margin: 1em 0;
}
.user-login-form .notice a {
  text-decoration: underline;
  color: #fff;
}

.id-card-preview img {
  width: 400px;
  height: auto;
  box-shadow: 3px -4px 10px #ddd;
  padding-bottom: 5px;
  border-radius: 10px 10px 0 0;
  margin: 1em 0;
  border-bottom: 2px dashed #aaa;
}

/* ------------------- Tabs ---------------------- */

.tabcontent {
  background: #fff;
  padding: 0.5rem 1rem;
}
button.tablink,
span.tablink,
a.tablink {
  background: #fff;
  border: 0;
  padding: 7px 10px;
  color: #555;
  border: 1px solid var(--current-section-primary-colour);
  border-radius: 3px;
  cursor: pointer;
  margin-bottom: 5px;
}
button.tablink.right,
a.tablink.right {
  margin-left:4px;
}  

a.tablink {
  text-decoration: none;
}
span.tablink.active,
button.tablink.active {
  background: var(--current-section-primary-colour);
  pointer-events: none;
  color: #fff;
  font-weight: bold;
}
span.tablink.active,
a.tablink.active {
  pointer-events: none;
}
button.tablink:hover,
a.tablink:hover {
  background: rgba(22,125,134,0.08);
  transition: background 0.2s linear;
}


a[href*="/masquerade?"],
a[href*="/unmasquerade?"] {
  background: #EC0016;
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
  display: inline-block;
}

.card-colour-info {
  padding: 0;
}
.card-colour-info span {
  background: none!important;
  font-weight: bold;
}
.card-colour-info .red {
  color: red;
}
.card-colour-info .blue {
  color: blue;
}
.card-colour-info .green {
  color: green;
}

.webform-single-submit .tabs.secondary {
  display: none;
}

/* ------------------- Online training ---------------------- */

.module-tiles,
.enrolment-element-tiles .view-content {
  display: flex;
}
.module-tile-title,
.enrolment-element-tile-title {
  font-weight: 600;
}
.module-tile p,
.enrolment-element-tile p {
  font-size: 0.8rem;
}
.module-tile .button,
.enrolment-element-tile .button {
  display: inline-block;
  padding: 0.5em 2em;
  border-radius: 50px;
  background-color: #fff;
  margin-top: 0.5em;
  font-weight: 600;
  border: 1px solid #ddd;
}
.module-tile .button {
  margin-top: 1em;
}
.enrolment-element-tile.no-access .button {
  display: none;
}

.enrolment-element-tiles .view-content .views-row {
  flex: 1;
  max-width: 400px;
}
.online-training-tile {
  background: lightgray;
  color: black;
  border: 1px solid #d2d2d2;
  border-radius: 4px;
  padding: 1em;
  text-align: center;
  transition: background 0.3s ease;
  box-sizing: border-box;
  min-width: 250px;
  min-height: 150px;
  margin: 1em;
}
.enrolment-element-tile {
  display: block;
}
.online-training-tile:hover,
.online-training-tile:active,
.online-training-tile:focus {
  text-decoration: none;
  border: 1px solid #aaa;
}
a.online-training-tile {
  color: #000;
}
.online-training-tile.started,
.online-training-tile.not-started {
  background: rgb(225, 240, 253);
}
.online-training-tile.started:hover,
.online-training-tile.not-started:hover {
  background: rgb(200, 226, 250);
}
/* .module-tile.started {
  background: plum;
}
.module-tile.started:hover {
  background: rgb(223, 149, 223);
} */
.module-tile.pass,
.enrolment-element-tile.passed {
  background-color: rgb(203, 255, 203);
  background-image: url(/themes/ivr23/images/icons/check.svg);
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: center bottom 1.5em;
}
.module-tile.pass:hover,
.enrolment-element-tile.passed:hover {
  background-color: rgb(168, 255, 168);
}
.module-tile.fail,
.enrolment-element-tile.failed-attempts-left {
  background: rgb(255, 208, 122);
}
.module-tile.fail:hover,
.enrolment-element-tile.failed-attempts-left:hover {
  background: rgb(255, 182, 47);
}
.enrolment-element-tile.failed-no-attempts-left {
  background: rgb(255, 151, 151);
}
.enrolment-element-tile.no-access {
  background: darkgray;
}

.online-training-admin-men {
  margin-top: 1em;
}
.online-training-admin-men a,
.online-training-admin-men span {
  margin: 0;
  font-size: 1em;
}

fieldset.reg-form .fieldset__wrapper {
  padding: 2.5em 1em 0em 1em;
}

#online-training-register-form fieldset.captcha .captcha__element {
  padding-top: 3em;
  padding-left: 1em;
  padding-right: 1em;
}

#online-training-register-form fieldset.captcha .captcha__description {
  padding-left: 1em;
  padding-right: 1em;
}


#section-test-form #test-description,/* hide desc and video as well as questions and buttons so people with js turned off cant see them */
#section-test-form #test-video,
#section-test-form #questions,
#section-test-form #edit-actions {
  display: none;
}
#section-test-form #questions fieldset,
#section-test-form #questions fieldset legend,
#section-test-form #questions fieldset .fieldset-wrapper {
  all: unset;
}
#section-test-form #questions fieldset .fieldset-wrapper {
  display: block;
  padding-left: 1em;
}
#section-test-form #questions fieldset {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1em;
  display: block;
}
.correct-answer {
  color: green;
}


/* ------------------- Media Queries ---------------------- */



@media all and (max-width: 460px) {
  /* ----------------- Menu on Small Resolutions ---------- */
  
  #block-block-2 {
    margin-left: -180px;
    width: 440px;
  }
  .theivrgroup {
    font-size: 23px;
  }
  a#menu-toggle {
    display:block;
  }
  
  #main-menu-links {
    display: none;
    height: auto;
  }
  
  /* ----------------- Forms on Small Screens ------------- */
  input.form-text,
  .webform-submission-form input[type=text],
  input.form-tel,
  .webform-submission-form input[type=text],
  input[type=tel],
  .webform-submission-form input[type=text],
  input.form-email, 
  input[type=email],
  input.form-url,
  input.form-search,
  input.form-number, 
  input.form-color,
  textarea.form-textarea,
  select.form-select {
    width: 100%;
  }
}

@media all and (min-width: 461px) and (max-width: 900px) {
  /* ------------------ Header and Menus ------------------- */
  
  
  #logo {
    padding: 5px 0 0 5px; /* LTR */
  }
  #name-and-slogan {
    padding: 10px 10px 8px;
  }
  #main-menu-links {
    margin: 0 5px;
    padding: 0;
    text-align: center;
  }
  #main-menu-links li {
    float: left;
    margin-right: 5px;
    padding: 0;
    width: 32.75%;
  }
  #main-menu-links li:nth-child(3n) {
    margin-right: -5px; /* LTR */
  }
  #main-menu-links a {
    float: none;
    display: block;
    border-radius: 8px;
    margin-bottom: 5px;
    padding: 0.9em 5px;
  }
  #featured {
    font-size: 1.43em;
  }
  #featured h2 {
    font-size: 1.174em;
  }
  #triptych h2 {
    font-size: 1.243em;
    margin-bottom: 0.9em;
  }
}

@media all and (min-width: 901px) {
  
  
  #logo {
    padding: 10px 15px 10px 15px; /* LTR */
  }
  #name-and-slogan {
    padding: 26px 0 0;
    margin: 0 0 30px 15px; /* LTR */
  }
  #site-name {
    font-size: 1.821em;
  }
  #main-menu-links {
    font-size: 0.929em;
    margin: 0;
    padding: 0 15px;
  }
  #main-menu-links li {
    float: left; /* LTR */
    list-style: none;
    padding: 0 1px;
    margin: 0 1px;
    width: auto;
  }
  #main-menu-links a {
    float: left; /* LTR */
    padding: 0.7em 0.8em;
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .featured #main-menu-links li a:active,
  .featured #main-menu-links li a.active {
    background: #f0f0f0;
    background: rgba(240, 240, 240, 1.0);
  }
  
}


@media all and (max-width: 1260px) {
  .view-tile-page-tiles .view-content .views-row a .tileimage {
    height: 161px;
    width: 220px;
  }
  .view-tile-page-tiles .view-content .views-row a .tileimage img {
    max-width: 100%;   
  }
  .view-tile-page-tiles .view-content .views-row a .cover,
  .view-tile-page-tiles .view-content .views-row a .cover:hover {
    height: 250px;
    width: 250px;
  }
  #content .view-tile-page-tiles h2 {
    font-size: 1.25em;
  }

}

@media all and (max-width: 1200px) {
  .nav-block-top-row {
    flex-direction: column;
    align-items: start;
  }
  .block-ivr-user-menu-block {
    align-self: end;
  }
  .theivrgroupblock + .block-ivr-user-menu {
    display: none;
  }
  .training-portal-mobile {
    display: block;
    position: absolute;
    top: 4px;
    right: 10px;
    width: 250px;
    text-align: left;
    margin: 0;
    border: 0;
    background-color: #f6f6f6;
    line-height: 1.45;
  }
  .training-portal-mobile[open] {
    border-bottom: 3px solid #d2d2d2;
    box-shadow: -2px 0px 5px #ccc;
  }
  .training-portal-mobile ul {
    text-align: left;
    padding: 0 2em;
    margin: 1em 0;
  }
  .layout-sidebar-second {
    width: 100%;
    max-width: 100%;
    min-width: 100% !important;
  }
  .has-sidebar:not(.section-membership):not(.section-rqm):not(.section-training):not(.section-news) #block-ivr23-content h1 {
    margin-right: 250px;
  }
}

@media all and (max-width: 1050px) {
  #content .view-home-page-tiles .views-row.wide,
  #content .view-home-page-tiles .views-row.square {
    width: 40%;
  }
  #content .view-home-page-tiles .wide h2,
  #content .view-home-page-tiles .wide .tiletext {
    width: 100%;    
  }
  #content .view-home-page-tiles .right h2,
  #content .view-home-page-tiles .right .tiletext {
    margin-left: 0;
  }
  .secure-tomorrow {
    top: 160px;
  }
  #block-views-more-news-block-1 {
    top: 190px;
  }
  #header {
    min-height: 175px;
  }
  
  #block-ds-extras-tile-page-header {
    margin: 140px 0 0;
  }
  .col-2 {
    -webkit-column-count: 1!important;
    -moz-column-count: 1!important;
    column-count: 1!important;
  }
  .view-footer-logos .views-row {
    margin: 5px 3%;
  }
  #block-ds-extras-section-body .field-name-body .field-item {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
  .section-page-header {
    flex-direction: column;
    padding: 0 10px;
  }
  .section-page-header .field--name-field-tile-image {   
    display: none;
  }
  #block-ds-extras-tile-page-header .field-name-field-video {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  #block-ds-extras-tile-page-header {
    padding-bottom: 25px;
    margin: 140px 0 20px;
    padding-right: 0;
  }
  #block-ds-extras-tile-page-header .field-name-field-tile-summary .field-item,
  #block-ds-extras-tile-page-header .field-name-title {   
    padding: 0 15px;
  }
  .section-rqm .field-name-field-tile-summary a {
    clear: both;
    display: block;
  }
  .front .view-news .views-row-3,
  .front .view-news .views-row-4 {
    display: none;
  }
}
@media all and (max-width: 950px) {
  .home-page-tile.section-general.size-wide.text-right .home-page-tile-text-container, .home-page-tile.section-membership .home-page-tile-text-container, .home-page-tile.section-general.size-wide.text-left .home-page-tile-text-container, .home-page-tile.section-news.size-wide.text-right .home-page-tile-text-container {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    transition: all 0.3s ease;
    
  }
  a.home-page-tile.section-general.size-wide.text-right, a.home-page-tile.section-membership.size-wide.text-right, a.home-page-tile.section-general.size-wide.text-left, div.home-page-tile.section-news.size-wide.text-right  {
    aspect-ratio: 1/1;
    max-height: 400px;
  }
}

@media all and (max-width: 900px) {
  #content .view-home-page-tiles .views-row.wide,
  #content .view-home-page-tiles .views-row.square {
    width: 45%;
  }
  .view-tile-page-tiles .view-content .views-row a .tileimage {
    height: 161px;
    width: 220px;
  }
  .view-tile-page-tiles .view-content .views-row a .tileimage img {
    max-width: 100%;   
  }
  .view-tile-page-tiles .view-content .views-row a .cover,
  .view-tile-page-tiles .view-content .views-row a .cover:hover {
    height: 250px;
    width: 250px;
  }
  #content .view-tile-page-tiles h2 {
    font-size: 1.25em;
  }
  
}

@media all and (max-width: 850px) {
  #block-ds-extras-page-tile {
    display: none;
  }
  .narrow .theivrgroupblock .theivrgroup {
    background-size: 110px!important;
    padding: 25px 20px 25px 130px;
  }
  .path-node-159321 fieldset,
  .path-node-159326 fieldset {
    width: 100%;
    margin-right: 0!important;
  }
  .home-page-tile.mobonly-yes {
    display: block;
  }
  .training-portal-mobile {
    right: 0;
  }
}

@media all and (max-width: 800px) {
  #content .view-home-page-tiles .views-row.wide,
  #content .view-home-page-tiles .views-row.square {
    width: 47%;
  }
  .secure-tomorrow h1 {
    font-size: 2.4em;
    text-shadow: 2px 2px 2px #333;
  }
  #block-views-more-news-block-1 {
    width: 300px;
  }
}

@media all and (max-width: 750px) {
  #ivr-user-menu .home {
    display: none;
  }
}

@media all and (max-width: 720px) {
  .view-footer-logos .views-row {
    margin: 5px 1%;
  }
  #membership-application-entityform-edit-form .group-personal-details {
    width: 100%;
    padding: 0;
  }
  #membership-application-entityform-edit-form .group-current-employment {
    width: 100%;
    padding: 0;
  }
}
@media all and (max-width: 700px) {
  .nav-block-wrapper {
    max-width: 420px;
  }
  #content .view-home-page-tiles .views-row.wide,
  #content .view-home-page-tiles .views-row.square {
    width: 400px;
  }
  #sidebar-second {
    margin-top: 25px;
  }
  .nav-block-wrapper .view-news.view-display-id-block_2,
  #ivr-user-menu {
    display: none;
  }
  .view-home-page-tiles .view-news.view-display-id-block_2 {
    background: none;
    margin: 0;
    width: 100%;
  }
  .view-home-page-tiles .view-news.view-display-id-block_2 .view-header {
    display: none;
  }
  .view-home-page-tiles .view-news.view-display-id-block_2 ul {
    margin: 0;
    font-size: 1rem;
    padding: 0;
  }
  .front #header {
    height: 250px;
  }
  .not-front #header {
    min-height: 130px;
  }
  .path-frontpage .region-primary-menu {
    height: 260px;
  }
  .narrow .nav-block-top-row {
    margin-bottom: 0;
  }
  .secure-tomorrow h1 {
    padding-top: 0;
    line-height: 1.2;
  }
}

@media all and (max-width: 600px) {
  .has-sidebar:not(.section-membership):not(.section-rqm):not(.section-training):not(.section-news) #block-ivr23-content h1 {
    margin-right: 0;
    margin-top: 2rem;
  }
  .narrow .theivrgroupblock .theivrgroup  {
    padding: 5px 20px 20px 95px!important;
    height: 50px!important;
    background-size: contain!important;
  }
  .narrow .theivrgroupblock {
    margin-top: 1em;
    margin-bottom: 1em;
    height: auto;
    width: auto;
  }
}



@media all and (max-width: 560px) {
  .view-footer-logos .views-row {
    margin: 5px 3%;
  }
  .ivr-social-media-links {
    display: none;
  }
  
}

@media all and (max-width: 450px) {
  #content .view-home-page-tiles .views-row.wide,
  #content .view-home-page-tiles .views-row.square {
    width: 90%;
  }
  .path-node-187 .contactflex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .view-footer-logos .views-row {
    margin: 5px 1%;
  }
  div#block-ivr23-footer .field--name-body {
    display: block;
  }
  
}

@media all and (max-width: 420px) {
  .theivrgroupblock {
    width: unset;
    padding-top: 10px;
  }
  .theivrgroupblock .theivrgroup {
    background-size: 90px!important;
    padding: 10px 20px 25px 105px;
  }
  .secure-tomorrow h1 {
    font-size: 1.8em;
  }
}


@media all and (max-width: 390px) {
  .theivrgroup {
    font-size: 23px;
  }
  .theivrsub,
  .theivrsub2 {
    font-size: 9px;
  }
  .secure-tomorrow {
    margin-left: 0;
    width: 300px;
  }
  .secure-tomorrow h1 {
    font-size: 1.8em;   
  }
}


/* ------------------- Misc Fixes ------------------------- */
.element-invisible {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  left: 0;
}