.h5p-branching-scenario .h5p-start-screen, .h5p-end-screen {
  min-height: 45em;
  background: radial-gradient(at top,#5f6883,#494a5c); /* TODO: handle all browsers */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.h5p-branching-scenario .h5p-start-screen.h5p-branching-hidden, .h5p-end-screen.h5p-branching-hidden {
  display: none;
}

.h5p-branching-scenario .h5p-current-screen.h5p-end-screen {
  display: flex;
}

.h5p-branching-scenario .h5p-screen-background {
  /*position: relative;*/
  height: 14.583em;
  margin-top: 4em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3em;
  position: relative
}

.h5p-branching-scenario .h5p-screen-banner {
  position: relative;
  height: 10.250em;
  width: 100%;
  background: black;
  opacity: 0.1;
}

.h5p-branching-scenario .h5p-background-image {
  position: absolute;
  max-height: 14.583em;
  max-width: 95%;
  -webkit-box-shadow: 10px 4px 47px 0px rgba(0,0,0,0.4);
  -moz-box-shadow: 10px 4px 47px 0px rgba(0,0,0,0.4);
  box-shadow: 10px 4px 47px 0px rgba(0,0,0,0.4);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.h5p-branching-scenario .h5p-image-container.h5p-default-start-image {
  background: url(start-screen-default.jpg);
  background-size: 100% 100%;
}

.h5p-branching-scenario .h5p-image-container.h5p-default-end-image {
  background: url(end-screen-default.jpg);
  background-size: 100% 100%;
}

.h5p-branching-scenario-screen-content {
  position: relative;
  margin-bottom: 7em;
  width: 100%;
}

.h5p-branching-scenario .h5p-result-wrapper {
  width: 100%;
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1em;
  padding: 0.5em;
}

.h5p-branching-scenario .h5p-result-container {
  background: #3C3D4E;
  color: white;
  min-width: 4em;
  border-style: solid;
  border-width: 0.353em;
  border-color: #525669;
  border-radius: 2em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-family: H5PRobotoBold;
  padding: 0 0 0 0.5em ;
}

.h5p-branching-scenario .h5p-result-wrapper .h5p-score-text {
  display: inline-block;
  margin-left: 1em;
}

.h5p-branching-scenario .h5p-result-wrapper .h5p-score-circle {
  margin: 0.3em 0.5em 0.3em 0.5em;
  display: inline-block;
  background: #2b2c3a;
  padding: 0.3em 0.7em 0.3em 0.7em;
  border-radius: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.h5p-branching-scenario .h5p-score-circle .h5p-score-delimiter {
  margin: 0 0.4em;
}

.h5p-branching-scenario-title-text {
  margin-top: 0;
  color: white;
  font-size: 2.292em;
  font-family: H5PRobotoLight;
  margin: 0;
  padding: 0;
}

.h5p-branching-scenario-subtitle-text {
  color: white;
  font-size: 1.083em;
  font-family: H5PRobotoRegular;
  margin: 0.83em 0;
}

.h5p-branching-scenario .h5p-start-button, .h5p-end-button, .h5p-nav-button {
  margin: 3rem 1rem 0rem 1rem;
  border-style: solid;
  border-width: 0.1250rem;
  border-color: #98fd8e;
  border-radius: 2rem;
  font-size: 1.25rem;
  color: #98fd8e;
  background: none;
  cursor: pointer;
  font-family: H5PRobotoMedium;
}

.h5p-branching-scenario .h5p-start-button, .h5p-end-button {
  padding: 0.9rem 1.5rem;
}

.h5p-branching-scenario .h5p-nav-button {
  padding: 0.6rem 1.5rem;
}

.h5p-branching-scenario .h5p-start-button:hover, .h5p-end-button:hover, .h5p-nav-button:hover {
  border-color: #b0f88f;
  color: #4b4c60;
  background: #b0f88f;
}

.h5p-branching-scenario .h5p-start-button:active, .h5p-end-button:active, .h5p-nav-button:active {
  border-color: #9fe281;
  color: #4b4c60;
  background: #9fe281;
}

.h5p-branching-scenario .h5p-start-button:after {
  font-family: 'H5PFontAwesome4';
  content: "\f178";
  padding-left: 10px;
}

.h5p-branching-scenario .h5p-end-button:before {
  font-family: 'H5PFontAwesome4';
  content: '\f01e';
  padding-right: 10px;
}

#content h2{
  margin: 0px;
  padding: 0px;
  font-size: 1.083em !important;
}

.h5p-branching-scenario .h5p-start-screen .h5p-branching-full-screen,
.h5p-branching-scenario .h5p-end-screen .h5p-branching-full-screen {
  position: absolute;
  top: 0;
  left: 1em;
}
