/*** ! RESPONSIVE TEMP FIX ***/
.acc {
  grid-column: 1/-1;
}

:root {
  --embl-grid-module--prime: 0px;
}

.vf-masthead__title {
  margin-top: 10px;
}

@media screen and (min-width: 800px) {
  .acc {
    grid-column: auto;
  }

  :root {
    --embl-grid-module--prime: 200px;
  }

  .vf-masthead__title {
    margin-top: unset;
  }
}
/* ????!!!! */
@media screen and (min-width: 720px) and (max-width: 799px) {
  .acc {
    grid-column: 1/-1;
  }

  :root {
    --embl-grid-module--prime: 0px;
  }

  .vf-masthead__title {
    margin-top: 10px;
  }
}
/*** end ! RESPONSIVE TEMP FIX ***/


.ebi-vf1-integration.ebiacademy a {
  text-decoration: none;
}

.embl-grid__col-2 {
  grid-column: 2 / span 1 !important;
}


.embl-grid.vf-masthead__inner {
  display: grid;
  .vf-badge {
    width: 70px;
  }
}

/* CSS for SVG */
.vf-link svg {
  width: 24px;
  margin-right: 4px;
  fill: #54585a;
}

.ebiacademy-icon, .ebiacademy-icon:visited {
  border-bottom: none;
  text-decoration: none;
}


.ebiacademy-icon {
  display: flex;
  align-items: center;
  &:hover svg {
    fill: #4a8bff;
  }
}

.ebiacademy-icon svg {
  width: 24px;
  margin-right: 4px;
  fill: #54585a;
}

.ebiacademy-icon .icon-training {
  color: #54585a;
  border: none;
  text-decoration: none;
  font-size: x-large;
  vertical-align: bottom;
  margin-right: 4px;
}

/* Shorten Beta badge */
.ebiacademy-home .vf-masthead .vf-badge {
  width: 10%;
}

/* EBI Academy book-cover sidebar */

.embl-training__sidebar {
  /* height: 600px; */
  width: 100%;
  position: relative;
}


.embl-training__sidebar .vf-figure {
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}
.embl-training__sidebar .vf-figure__image {
  margin: 0;
}
.embl-training__sidebar .vf-button {
  width: calc( 100% - 8px);
}

.embl-training__sidebar .vf-button .vf-bookmark--active{
  width: calc( 100% + 3px);
}

.embl-training__sidebar .vf-list--compact {
  line-height: 1;
}

.embl-training__sidebar  a.vf-button.vf-button--primary.vf-button--sm {
  width: calc( 100% - 20px);
}


/* TOTAL OVERRIDE; REALLY BAAAAADDDD!!!!!! */
a, a:visited {
  border-bottom: none;
}



/* TABS */
/* .vf-tabs__list {
  border-bottom: 1px solid #aaa;
}

.vf-tabs__link.is-active {
background: none !important;
border: 1px solid #aaa !important;
border-bottom-color:  #fff !important;
} */


.vf-lede > p{
  font-family: "IBM Plex Sans",Helvetica,Arial,sans-serif;
    font-size: 28px !important;
    color: #1a1c1a;
    font-weight: 500 !important;
    line-height: 1.3125 !important;
    margin: 0 0 0 0;
}



@media (min-width: 846px) {
  .embl-training__sidebar {
    width: 100%;
    position: relative;
  }
}

/******************* Syles From Stu for Header *******************/

.clipme {
  background-color: #008641;
  background-size: contain;
  overflow: hidden;
  box-sizing: border-box;
  position: absolute;
  top: -200px;
  right: -100px;
  width: 1000px;
  height: 1000px;
  border-radius: 100%;
}
.clipme:before {
  content: '';
  position: absolute;
  width: 508px;
  height: 508px;
  border-radius: 100%;
  background-color: #009f4d;
  top: 254px;
  left: 254px;
  z-index: 0;
}
.clipme img {
  -webkit-filter: blur(1px);
          filter: blur(1px);
  height: auto;
  width: 100%;
}

.vf-masthead {
  overflow: hidden;
}

.vf-masthead__inner {
  position: relative;
}

:root {
  --vf-masthead__color--background: #009f4d;
}

.dave {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 5px dashed rgba(108, 255, 179, 0.5);
  z-index: 0;
}

.peter {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background-color: rgba(6, 255, 127, 0.3);
  left: 100px;
  top: 40px;
  /* z-index: 6100; */
}

.vf-social-links__item{
  display: inline;
  background: #000;
  margin-right: 10px;
  position: relative;
  left: -20px;
}

.vf-social-links__link {
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex;
  padding: 10px;
}

.vf-social-links__link .vf-icon--social {
  fill: #fff;
}

.vf-social-links__list {
  display: -ms-flexbox;
  display: flex;
  list-style-type: none;
  padding: 0;
}

.ebiacademy-programme-collapsed{
  display: none;
  transition: opacity 1s ease-out;
}

.ebiacademy-programme-expanded{
  display: inline;
  transition: opacity 1s ease-out;
}

thead {
  background-color: #fff;
  border: none;
  /* border-top: 1px solid #fff;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff; */
}

thead:hover{
/* border-bottom: 1px solid #000;
border-top: 1px solid #000; */
background-color: #f8f8f8;
}

.ebiacademy-programme-header-closed tr th:after{
content: '\271A';
/* float: right; */
position: relative;
top: -35px;
margin-left: 35%;
color: #999;
}

.ebiacademy-programme-header-open tr th:after{
content: '\2716';
/* float: right; */
position: relative;
top: -35px;
margin-left: 35%;
color: #999;
}

section:focus{
  outline: none;
}

tbody th, tbody td {
  padding: 0.9rem 0.8rem 0.9rem;
}

.vf-hero__content .ebi-hero-cusom {
  max-width: 50%;
}

/* Local version of vf-dropdown */

.vf-dropdown {
  display: inline-block;
}

.vf-dropdown__label-container {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: 600;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0.8rem;
  position: relative;
  z-index: 7100;
}

.vf-dropdown__label {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin-right: 0.8rem 1.5rem;
  text-align: right;
}

.vf-dropdown__menu-container {
  display: none;
  position: absolute;
  background: #fff;
  width: 14rem;
}

.vf-dropdown__menu {
  border-top: 1px solid #e4e4e4;
  -webkit-box-shadow: 0px 3px 6px 1px #f3f3f3;
          box-shadow: 0px 3px 6px 1px #f3f3f3;
  padding: 0.5rem 0;
  position: relative;
  z-index: 7100;
  background: white;
}

.vf-dropdown__menu-item {
  /* cursor: pointer; */
  padding: 1rem 1.5rem;
}
.vf-dropdown__menu-item:hover {
  /* No token for this color yet, according to cindy */
  background-color: #CDE3F8;
}
.vf-dropdown__menu-item.active {
  font-weight: 600;
}

.vf-dropdown__menu-item-link {
  color: var(--vf-color__text--primary);
  text-decoration: none;
}

.vf-dropdown-overlay {
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 7000;
}

.vf-dropdown--open .vf-dropdown__menu-container {
  display: block;
}
.vf-dropdown--open .arrow-icon {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.vf-bookmark--icon {
  color: #ffffff;
  stroke: #3b6fb6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
}
.vf-bookmark--icon svg {
  fill: currentColor;
  height: 1.25rem;
  line-height: 1.2rem;
  margin-right: 0.4rem;
  overflow: initial;
  width: 1.25rem;
}

.vf-bookmark--active .vf-bookmark--icon {
  color: #3b6fb6;
  color: inherit;
  stroke: none;
}

.vf-bookmark--button svg {
  vertical-align: text-top;
}

.vf-bookmark--inline svg {
  vertical-align: bottom;
}