html {
  height: 100%;
}
body {
  height: 100%;
  margin: 0;
  color: #7A858B;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

button, input {
  font-size: inherit;
  color: inherit;
}

.container {
  display: flex;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.ui-wrap {
  flex-wrap: wrap;
}

.no-padding {
  padding: 0;
}

.btn-cancel {
  border: none;
  background: transparent;
  cursor: pointer;
}

@media screen and (max-width: 1560px) {
  .container {
    max-width: 1280px;
  }
}

@media screen and (max-width: 1400px) {
  .container {
    max-width: 1024px;
  }
}

@media screen and (max-width: 1140px) {
  .container {
    max-width: 940px;
  }
}

.header-top {
  display: flex;
  flex-grow: 1;
  height: 80px;
}

.logo {
  display: flex;
}

.logo a {
  display: flex;
}

.logo img {
  align-self: center;
  width: 46px;
  height: 44px;
}

/* Default hero section settings */
/* Header doesn't work unless there is some content */
.hero {
  width: 100%;
  height: 800px;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

/* Portal pages don't overlay the hero image */
.portal .hero {
}

/* Text over the hero section */

.hero .heading {
  align-self: center;
}

.hero .text {
  font-size: 18px;
}

.hero .developers {
    margin-top: 100px;
}

.hero.developers .heading {
    margin-top: 100px;
}

@media screen and (max-width: 1000px) {
  .hero.developers .heading {
      margin-top: 0;
  }
}

.hero .heading .sub_heading {
  font-weight: 100;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 50px;
}

.hero .heading {
  max-width: 40%;
}

.hero .bottom {
  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
}

.background {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: -1;
}

.background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.scroll_down {
  display: inline-block;
  cursor: pointer;
}

.bottom .scroll_down {
  margin-bottom: 65px;
}

.hero p {
  line-height: 38px;
}

/* Page titles */
.title {
  /* From Developer portal home page */
/*  font-size: 56px;
  font-weight: 300;
*/
}
.hero p.sub_title_text {
  /* From Developer portal home page */
  font-size: 18px;
  line-height: 30px;
}

/* For showing a notification text to users */
.notification_bar {
  background-color: #4EB5E9;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  padding: 0px 60px;
}

.notification_bar a {
  text-decoration: underline;
}
.notification_bar .rich-text {
  margin: 16px 0;
}
.notification_bar p {
  margin: 16px 0;
  line-height: initial;
}
/* Common text styles */
.hero_heading {
  font-family: Roboto;
  font-size: 46px;
  font-weight: 100;
}

@media screen and (max-width: 1000px) {
  .hero_heading {
    font-size: 36px;
    margin-bottom: 20px;
  }
}

.sub_heading {
  font-family: Roboto;
  font-size: 36px;
  font-weight: 100;
  color: #555C5F;
  margin-bottom: 20px;
}
.sub_heading.white {
  color: #F8F8F8;
  font-weight: 100;
  margin-bottom: 20px;
}

.text {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 2;
  margin-bottom: 20px;
}

ul {
  padding: 0;
}
li {
  list-style: none;
}

p {
  /* TODO should always use text or heading classes? */
/*  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.5px;
*/}

a {
  color: inherit;
  text-decoration: none;
  outline: none;
}
a:hover,
a:focus {
  color: inherit;
}
.links a:hover,
.links a:focus {
  /* Override the bootstrap default for our nav links */
  text-decoration: none;
}

.pink {
  color: #f4406d;
}
.pink:hover {
  color: #982844;
}
.blue {
  color: #4EB5E9;
}
.blue:hover {
  color: #2C88B7;
}

a.pink {
  text-decoration: none;
}
a.pink:hover {
  text-decoration: underline;
}

.dots {
  display: block;
  white-space: nowrap;
  text-align: center;
}

.dots .dot {
  display: inline-block;
  cursor: pointer;
  width: 10px;
  height: 10px;
  margin: 4px;
  border-radius: 1000px;
  /* TODO this could be overridden */
  background-color: #888888;
}

.dots .dot.active {
  background-color: #CCCCCC;
}

/* For links with arrows */
.clickable {
  display: inline-block;
  cursor: pointer;
  font-weight: 500;
}
.clickable .fa-arrow-right {
  margin-right: 5px;
  margin-left: 10px;
  -webkit-transition-duration: .1s;
  transition-duration: .1s;
  -webkit-transition-property: margin;
  transition-property: margin;
}
.clickable:hover .fa-arrow-right {
  margin-right: 0px;
  margin-left: 15px;
}

.clear {
  /* classic web trick when using floats */
  clear: both;
}

.page {
  position: relative;
  overflow: hidden;
}

/* For content which should be aligned in the middle of the div */
.centered {
  text-align: center;
  width: 90%;
  margin: 0px auto;
  max-width: 1200px;
  /* Ensure this div contains all of its content */
  overflow: hidden;
}

.column {
  vertical-align: top;
  display: inline-block;
  width: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.column_right {
  vertical-align: top;
  display: inline-block;
  overflow: hidden;
  max-width: 49%;
}


.column .sub_heading,
.column .text {
  max-width: 600px;
}

.mobile {
  display: none;
}
.tablet {
  display: none;
}
/* Display block should alway be last*/
.desktop {
  display: block;
  width: 100%;
}

.mobile-only {
  display: none;
}

@media(max-width: 1000px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .background img {
    object-position: top;
  }

  .hero .heading {
    max-width: 90%;
  }

  /*Columns become full width for < 1000px */
  .column,
  .column_right {
    display: block;
    width: initial;
    max-width: initial;
    text-align: center;
  }

  .desktop {
    display: none;
  }
  /* Display block should alway be last*/
  .tablet {
    display: block;
  }

  .eighti_hover_list .item {
    box-shadow: 0 7px 19px 0 rgba(0, 0, 0, 0.15);
    border-radius: 5px;
  }
}
@media(max-width: 600px) {
  .ui-mobile-wrap {
    flex-wrap: wrap;
  }

  .tablet {
    display: none;
  }
  /* Display block should alway be last*/
  .mobile {
    display: block;
  }
}

/* Tablet columns become full width for < 600px (mobile) */
.tablet_column {
  vertical-align: top;
  display: inline-block;
  width: 50%;
  overflow: hidden;
}

.tablet_column_right {
  vertical-align: top;
  display: inline-block;
  overflow: hidden;
  max-width: 49%;
}
@media(max-width: 600px) {
  .tablet_column,
  .tablet_column_right {
    display: block;
    width: initial;
    max-width: initial;
  }
}

/* Generic button style */
.button {
  border-radius: 1000px;
  cursor: pointer;
  display: inline-block;

  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: 0.5px;

  margin: 12px 5px;

  /* Transition background changes on hover */
  -webkit-transition-duration: .5s;
  transition-duration: .5s;
  -webkit-transition-property: background;
  transition-property: background;

  /* buttons inline on the page are different to nav items. */
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 30px;
}
.button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.button.primary {
  background-image: linear-gradient(106deg, #e33b5e, #89308b);
  border: none;
}

.button.primary:hover {
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.52);
}

.button.blue {
  border: none;
  color: #FFFFFF;
  background-color: #4eb5e9;
}
.button.blue:hover {
  background-color: #2C88B7;
}

.pink_button {
  background: none;
  border: none;
  color: #f4406d;
  font-size: 16px;
  line-height: 20px;
  padding-right: 40px;
}

.pink_button .fa-arrow-right {
  /* Make space between the text and the arrow */
  padding-left: 16px;
}

/* Download legal stuff styles. */
.legal.popup {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
}

.legal.popup .overlay {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);

  text-align: center;
  padding: 20px 50px;
  background-color: #FFFFFF;
}
.legal.popup .overlay .sub_heading {
  font-size: 24px;
  margin: 20px 0;
}

.legal.popup .overlay .agree {
  font-size: 12px;
}

.legal.popup .overlay .agree a {
  color: #4eb5e9;
}

.legal.popup button:disabled {
  -webkit-opacity: 0.3;
  opacity: 0.3;
}

/* Form styles including button/input/select and textarea */
.eighti_form {
  width: 100%;
}

.eighti_form input {
  background: none;
  border: none;
  /* Was this for footer. */
  border-bottom: 1px solid #EFEFEF;
  margin: 16px 8px;
  padding: 15px 0px 15px 0;
  width: 100%;
  max-width: 300px;
  outline: none;
  text-align: inherit;
  font-weight: inherit;
  font-family: inherit;
  letter-spacing: inherit;
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
}
.eighti_form input:focus {
  /* Was this for the footer */
  border-bottom: 1px solid #4eb5e9;
}

.eighti_form textarea {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  outline: none;
  padding: 16px;
  text-align: inherit;
}

.eighti_form button {
  /* Remove all the standard styles from a button */
  background: none;
  border: none;
  outline: none;
  display: block;
}

.eighti_form .select_wrapper {
  display: inline-block;
  position: relative;
  pointer-events: none;
  margin: 16px 8px;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}
.eighti_form .select_wrapper select {
  background: none;
  border: none;
  border-bottom: 1px solid #EFEFEF;
  padding: 15px 24px 15px 0;
  pointer-events: initial;
  outline: none;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  letter-spacing: inherit;
  color: inherit;

  /* Allows for removing the rounded corners but also removes drop down icon. */
  -webkit-appearance: none;
  border-radius: 0px;
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
}

.eighti_form select:focus {
  border-bottom: 1px solid #4eb5e9;
}

.eighti_form .select_wrapper select {
  width: 100%;
}

.eighti_form .select_wrapper .fa-caret-down {
  position: absolute;
  right: 10px;
  /* Center vertically */
  top: 50%;
  transform: translate(0, -50%);
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
  color: inherit;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: inherit;
  opacity: 0.8;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: inherit;
  opacity: 0.8;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: inherit;
}
::-ms-input-placeholder { /* Microsoft Edge */
  color: inherit;
}

/* Footer form specific styles */
.footer .eighti_form input {
  border-bottom: 1px solid #555555;
}
.footer .eighti_form input:focus {
  border-bottom: 1px solid #FFFFFF;
}

.footer .eighti_form .select_wrapper select {
  border-bottom: 1px solid #555555;
}
.footer .eighti_form select:focus {
  border-bottom: 1px solid #FFFFFF;
}


/* A break in the page with a subtle radial gradient */
.radial_break {
  height: 50px;
  width: 100%;
  background-image: radial-gradient(70% 60% at 50% 0, rgba(0, 0, 0, .15), rgba(0, 0, 0, 0));
  margin-bottom: 40px;
}

/* A line to break the page */
.line {
  height: 0px;
  margin: -1px auto;
  opacity: 0.15;
  border-top: solid 2px #ffffff;
}

/* Styles for sections */
.section {
  position: relative;
  overflow: hidden;
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

/* Header styles */
.header {
  height: 80px;
  width: 100%;
  color: white;
  /* Should be on top of everything else */
  z-index: 100;

  /* Will fade in with the background */
  border-color: rgba(0,0,0,0);

  /* Scrolled header stays fixed at the top. */
  position: fixed;
  top: 0;
  transition-duration: .3s;
  -webkit-transition-duration: .3s;
}

.header.scrolled {
  border-bottom: 1px solid #EFEFEF!important;
}

/* Scrolled header and portal header use a white background. */
.portal_header,
.header.scrolled {
  background: #FFFFFF;
  color: #555C5F;
  border-bottom: 0px;
}

.portal_header,
.header.scrolled {
  background: #FFFFFF;
  color: #555C5F;
  border-bottom: 0px;
}

.portal_header,
.header.scrolled:hover {
  background: #FFFFFF;
}

.hamburger {
  align-self: center;
  cursor: pointer;
  border-radius: 5px;
  padding: 15px;
  box-sizing: border-box;
}

.hamburger:hover  {
  background-color: #4eb5e9;
}

.hamburger .line:first-child {
  margin-top: 0;
}

.hamburger .line {
  width: 25px;
  margin-top: 5px;
  opacity: 0.7;
}

.portal_header .hamburger .line,
.header.scrolled .hamburger .line {
  /* Make the lines dark on the white background */
  border-top: solid 2px #555C5F;
}

.header .logo {
  flex-grow: 1;
}

.header .logo,
.footer .logo {
  cursor: pointer;
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
}

.header .logo:hover,
.footer .logo:hover {
  -webkit-opacity: 0.7;
  opacity: 0.7;
}

.links {
  display: inline-block;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.links .link {
  position: relative;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  line-height: 20px;
  padding: 16px;
  margin: 4px 8px 2px;
  border-bottom: 2px solid rgba(255, 255, 255, 0);
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
}

.portal_header .main_links .link.active,
.header.scrolled .links .link.active {
  color: #4eb5e9;
  border-color: #4eb5e9;
}
.header.scrolled .portal_links .link.active {
  /* This should remain white even if the page has scrolled. */
  color: white;
}

.portal_header .main_links .link:hover,
.header.scrolled .links .link:hover {
  border-color: #555C5F;
}

.social {
  display: inline-block;
  vertical-align: middle;
  height: 40px;
  margin: 20px 0;
  text-align: center;
}

.social .icon {
  display: inline-block;
  font-size: 24px;
  height: 24px;
  padding: 4px;
  margin: 4px 10px;
  cursor: pointer;
  -webkit-opacity: 0.5;
  opacity: 0.5;
  -webkit-transition-duration: .5s;
  transition-duration: .5s;
}
.social .icon:hover {
  -webkit-opacity: 1;
  opacity: 1;
}

.social .icon.extended {
  display: none;
}

.links .link .dropdown {
  /*display: none;*/
  opacity: 0;
  visibility: hidden;
  position: absolute;
  min-width: 100%;
  top: 90%;

  -webkit-transition-duration: .5s;
  transition-duration: .5s;

  background: #FFFFFF;
  border-radius: 5px;
  box-shadow: 0 7px 19px 0 rgba(0, 0, 0, 0.15);
  color: #555c5f;
  letter-spacing: initial;
  overflow: hidden;
  text-align: left;
  z-index: 1;
}

.links .link:hover .dropdown {
  /*display: block;*/
  opacity: 1;
  visibility: visible;
}

.links .link .dropdown a {
  display: block;
}

.links .link .dropdown .item {
  position: relative;
  padding: 4px 8px;
  height: 50px;
  line-height: 50px;
  outline: none;
  white-space: nowrap;
  min-width: 100px;
  padding-right: 20px;
  /* Bootstrap likes to have generic styles which I don't want. */
  box-sizing: unset;
}
.links .link .dropdown .item:hover {
  background-color: #4eb5e9;
  color: #FFFFFF;
}

/* Supports img and svg icons. */
.links .link .dropdown .item .icon {
  color: #afb3b5;
  fill: #afb3b5;
  /*stroke: #afb3b5;*/
  font-size: 20px;
  width: 30px;
  text-align: center;
  vertical-align: middle;
  margin-right: 5px;
}
.links .link .dropdown .item:hover .icon {
  color: #FFFFFF;
  fill: #FFFFFF;
  /*stroke: #FFFFFF;*/
}

.links .link .dropdown .item .name {
  display: inline-block;
  vertical-align: middle;
}

.header.hamburger_open {
  background-color: white;
  /* Cover the whole screen */
  height: 100%;
}

.header .container {
  height: auto;
}

/* Hacky hack to hack the correct height on resize */
@media screen and (min-width: 1000px) {
  .header.hamburger_open {
    height: initial;
  }
}

/* make sure the hamburger still shows up on a white background. */
.header.hamburger_open .hamburger .line {
  background-color: white;
  border-color: black;
}

/* This developers section will only exist when on a developer page */
.hamburger_contents .links .developers {
  background-color: #4eb5e9;
  padding: 0 0 10px;
}

.hamburger_contents .links .developers .link {
  color: #FFFFFF;
}

.hamburger_contents .links .developers .link:hover {
  background-color: #2C88B7;
}

.eighti_form .select_wrapper select {
  -moz-appearance: none;
}

@media(min-width: 1000px) {
  /* To fix a div to the right handside.
   * Used for social items in the header and footer on desktop.
   */
  .hamburger_contents {
  }

  .hamburger {
    display: none;
  }

  /* Hide this section on desktop. */
  .hamburger_contents .developers {
    display: none;
  }

  /* Hover and active states for desktop */
  .links .link.active {
    border-color: rgba(255,255,255, 0.3);

  }

  .links .link:hover {
    border-color: rgba(255,255,255, 1);]

  }

  /* Additional links for developer portal pages. Visible only on desktop */
  .portal_links {
    background-color: #4eb5e9;
    height: 40px;
    width: 100%;
  }

  .portal_links .fa-caret-down {
    margin-left: 5px;
  }

  .portal_links .links {
    flex-grow: 1;
    text-align: right;
  }

  .portal_links .link {
    border: 0px;
    margin: 0;
    padding: 10px 20px;
    color: white;
    font-size: 14px;
    letter-spacing: initial;
  }
  .portal_links .link.active {
    background-color: #2C88B7;
    border: 0px;
  }
  .portal_links .link:hover {
    background-color: #2C88B7;
    border: 0px;
  }

  .eighti_form input {
    width: 45%;
  }

  .eighti_form .select_wrapper {
    width: 45%;
  }
}

@media(max-width: 1000px) {
  /* Hamburger the links? */
  .header {
    color: #555c5f;
  }

  /* Only show this for mobile when the hamburger is open. */
  .hamburger_contents {
    display: none;
  }
  .header.hamburger_open .hamburger_contents {
    display: block;
    width: 100%;
  }

  /* Make everything full width for mobile. */
  .hamburger_contents .links {
    width: 100%;
    text-align: center;
  }
  .hamburger_contents .links .link {
    display: block;
    margin: 7px 0;
    border: 0px;
  }
  .hamburger_contents .links .link.active {
    border: none;
    color: #4eb5e9;
  }
  .hamburger_contents .links .link:hover {
    background-color: #4eb5e9;
    color: #FFFFFF;
  }

  .social {
    width: 100%;
    margin: 30px 0;
    text-align: center;
  }
  .social .icon.extended {
    display: inherit;
  }

  /* The heading changes from half to full width */
  .hero .heading {
    align-self: center;
    text-align: center;
    width: 90%;
    margin: 0 auto;
  }

  .hero .heading .sub_heading {
    font-size: 36px;
  }

  .clickable {
    /* TODO when is this used? */
    margin: 20px 0;
  }

  .arrow_links .clickable {
    margin-top: 0;
  }
}

/* The arrow_links section */
.arrow_links {
  margin: 50px 0;
  /*display: inline-block;*/
}

/* When multiple buttons are on the same line this can separate them */
.button_sep {
  margin-left: 100px;
}

/* Footer styles */
.footer {
  background: #323536;
  position: relative;
  color: #EFEFEF;
  letter-spacing: 0.5px;
}

.footer .column {
  align-self: center;
}

.footer .inquiries {
  flex-grow: 1;
  padding-left: 20px;
  align-self: center;
}

/* Inner footer content */
.footer .sub_heading {
  font-size: 24px;
  font-weight: 300;
  color: #EFEFEF;
}

.footer .newsletter {
  flex-grow: 1;
  padding: 50px 0;
  padding-right: 20px;
  font-size: 16px;
  font-weight: 300;
  color: #FFFFFF;
  border-right: 1px solid #444;
}

.footer .newsletter .email {
  min-width: 180px;
  text-align: left;
  margin: 16px 8px;
}
.footer .newsletter .role {
  margin: 16px 8px;
/*  width: 30%;
  min-width: 90px;*/
}

.footer .agree {
  color: #aeb3b5;
  margin: 24px 0;
  line-height: 2;
  font-size: 13px;
  max-width: 600px;
}

.footer .inquiries .clickable {
  margin: 24px 0;
}

.footer .bottom-border {
  border-top: 1px solid #444;
}

.footer .bottom {
  display: flex;
}

.footer .logo,
.footer .social {
  flex-shrink: 0;
  margin: 36px 0;
}

.footer .social {
  width: auto;
}

.footer .social .icon.extended {
  display: inline-block;
}

.footer .bottom {
  width: 100%;
}

.footer .legal {
  flex-grow: 1;
  font-size: 16px;
  font-weight: 300;
  text-align: left;
  margin: 25px auto;
  align-self: center;
}

.footer .legal a {
  display: inline-block;
  margin: 5px 20px;
}
.footer .legal .limited {
  margin: 5px 20px;
}

.footer .legal .updated {
  font-size: 11px;
}

/* Portal specific styles for the footer TODO??? */
.footer.portal {
  background: #323536;
  overflow: hidden;
  font-weight: 300;
  font-size: 18px;
  color: #EFEFEF;
}

.footer.portal .legal {
  float: right;
  margin: 44px;
}

@media(max-width: 1000px) {
  .container {
    padding: 0 20px;
  }

  .footer .legal {
    display: block;
    text-align: center;
  }

  .footer .inquiries {
    margin: 50px auto 20px;
    max-width: 80%;
  }

    /* Footer columns become full width for < 600px */
  .footer .column,
  .footer .inquiries {
    display: block;
    width: initial;
    max-width: initial;
  }

  .footer .bottom {
    flex-wrap: wrap;
  }

  .footer .logo {
    flex-grow: 1;
    width: 50%;
    order: 1;
    margin-top: 25px;
    margin-bottom: 0;
  }

  .footer .social {
    order: 2;
    margin-top: 25px;
    margin-bottom: 0;
  }

  .footer .legal {
    width: 100%;
    order: 3;
  }
}

@media(max-width: 600px) {

  .hero .header {
    margin-top: 100px;
  }

  .footer .newsletter {
    text-align: center;
    border-right: none;
    border-bottom: 1px solid #444;
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer .inquiries {
    text-align: center;
  }

  .no-padding {
    padding: 0;
  }

  .footer .column {
    border-right: 1px solid #444;
    border-bottom: 1px solid #444444
  }

  .footer .clickable {
    margin: 24px auto;
  }

  .footer .logo {
    flex-grow: 1;
    order: 2;
    margin-top: 0;
    margin-bottom: 25px;
  }

  .footer .logo a {
    margin: 0 auto;
  }

  .footer .social {
    width: 100%;
    order: 1;
    margin-bottom: 25px;
  }

  .footer .legal {
    order: 3;
    align-self: center;
    margin-top: 0;
  }

  .sub_heading {
    font-size: 24px;
    line-height: 32px;
  }

  /* Remove button gaps and display one item per line. */
  .button_sep {
    margin-left: 0;
  }
  .clickable {
    display: block;
  }
}

/* Styles shared between multiple pages */
.tools {
/*  width: 90%;
  margin: 0px auto;
  max-width: 1200px;
  text-align: left;*/
}

.tool {
/*  position: relative;
  display: inline-block;
  margin: 10px 10px 40px;
  padding: 35px;
  text-align: left;
  -webkit-transition-duration: .5s;
  transition-duration: .5s;
  -webkit-transition-property: box-shadow;
  transition-property: box-shadow;
  vertical-align: top;
  white-space: initial;
  width: 200px;*/
}
.tool:hover {
  /*box-shadow: 0 23px 39px 0 rgba(0, 0, 0, 0.33);*/
/*  box-shadow: 0 7px 19px 0 rgba(0, 0, 0, 0.15);
*/}


/* Some sensible defaults for inner content*/
.tool h4 {
/*  color: #323536;
  font-size: 24px;
  letter-spacing: 0.3px;*/
}

.tool p {
  /*color: #555c5f;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: 0.2px;*/
}

.tool .button {
  /*border: solid 1px #7a858b;
  padding: 12px 30px;*/
}
.tool .button:hover {
  /*background-color: rgba(122, 133, 139, 0.2);*/
}

/* Replacement for tools/tool above */
.eighti_content_list,
.eighti_hover_list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1440px;
  margin: 20px auto;
  text-align: center;
  /* Center align for flex items */
  justify-content: center;
}

.eighti_content_list .item,
.eighti_hover_list .item {
  display: flex;
  flex-direction: column;
  /*flex-grow: 1;*/
  position: relative;
  overflow: hidden;
  margin: 15px;
  -webkit-transition-duration: .5s;
  transition-duration: .5s;
  -webkit-transition-property: box-shadow;
  transition-property: box-shadow;
  vertical-align: top;
  white-space: initial;
  text-align: left;

  width: 30%;
  /* Some nice default width/height constraints */
  /* This needs to fit 3 across the page at 1000px */
  min-width: 225px;
}

/* Home, Tech, Developer, Platform and Showcase use hover lists. */

/* Home, Tech, Developer and Platform pages use content lists (no hover) */
.eighti_content_list .item {
  text-align: center;
}

.eighti_content_list .item img {
  margin: 0 auto;
}

.eighti_content_list .item .content {
  margin-top: 20px;
}

.eighti_content_list .item img,
.eighti_hover_list.item img {
  flex-basis: 0;
  max-width: 100%;
}

.eighti_hover_list .item img {
  width: 100%;
  display: block;
}

.eighti_hover_list .item .content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 25px 35px 30px;
}

.eighti_hover_list .item .category {
  color: #aeb3b5;
}

.eighti_content_list .sub_heading,
.eighti_hover_list .sub_heading {
  color: #555c5f;
  font-size: 20px;
  line-height: 1.5;
  margin: 15px 0;
  font-weight: 300;
}

.eighti_content_list .text,
.eighti_hover_list .text {
  font-size: 14px;
}

/* Add rounded corners to the item on hover */
.eighti_hover_list .item:hover {
  border-radius: 3px;
  box-shadow: 0 7px 19px 0 rgba(0, 0, 0, 0.15);
}

@media(min-width: 1000px) {
  /* Action buttons become visible on hover */
  .eighti_hover_list .item .action {
    -webkit-opacity: 0;
    opacity: 0;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
  }
  .eighti_hover_list .item:hover .action {
    -webkit-opacity: 1;
    opacity: 1;
  }
}

@media(max-width: 1000px) {
  /* Make items full width when the screen size gets smaller. */
  .eighti_hover_list .item {
    display: block;
    margin: 15px auto;
    max-width: initial;
    width: 80%;
  }
  .eighti_content_list .item {
    display: block;
    margin: 15px auto;
    max-width: initial;
    width: 70%;
  }

  /* Content aligns with the image on ipad. */
  .eighti_hover_list .item .content {
    padding: 20px;
  }

  /* Action links are always visible on ipad. */
  .eighti_hover_list .item .action {
    opacity: 1;
  }

  .footer .agree {
    max-width: 100%;
  }
}

.flag {
  width: 50px;
  height: 30px;
}

.flag img {
  width: 100%;
}

.icons img {
  margin: 15px;
  width: 80px;
  height: 80px;
  -webkit-transition-duration: .5s;
  transition-duration: .5s;
}

.icons img:hover {
  -webkit-opacity: 0.5;
  opacity: 0.5;
}

@media(max-width: 600px) {
  .icons img {
    /* Scale down the size of icons on mobile. */
    width: 40px;
    height: 40px;
  }
}

/* Styles for the mailing list section */

.informed {
  background: #323536;
  border-bottom: 1px solid #3A3C3D;
  color: #EFEFEF;
  position: relative;
}

.informed .section {
  text-align: left;
}

.informed .left {
  border-right: 1px solid #3A3C3D;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  width: 50%;
}

.informed .enquires {
  display: inline-block;
  vertical-align: middle;
  margin-left: 5%;
}

.informed h4 {
  font-size: 24px;
  font-weight: 300;
  height: 57px;
  line-height: 57px;
}

.informed .email {
  background: none;
  border: none;
  border-bottom: 2px solid #555C5F;
  color: #EFEFEF;
  font-size: 16px;
  font-weight: 300;
  margin: 12px 0;
  outline: none;
  padding: 12px;
  width: 273px;
}

.informed .pink_button {
  font-size: 18px;
}

.informed .agree {
  font-size: 14px;
  line-height: 25px;
  color: #afb3b5;
  margin: 29px 0 50px;
}
