
/* THE FOLLOWING IS FROM THE common.css OF THE RESWIC ACTIVIES */

/* #region Buttons -------------------------------------------------------------------------------------------------- */

button {
  margin: 0 0.5em;
  padding: 0.33em 0.9em;
  font-size: 1.25em;
  font-family: 'Lato', sans-serif;
  box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.4);
  font-weight: bold;
  border: none;
  border-radius: .3125em;
  cursor: pointer;
}

button.back {
  /* initially, the back button is removed because the user cannot go back from the first screen */
  display: none;
}

button .material-icons {
  font-size: 1.1em;
  vertical-align: text-bottom;
}

button.green,
button.green:active,
button.green:hover,
button.light-violet,
button.light-violet:active,
button.light-violet:hover,
button.violet,
button.violet:active,
button.violet:hover,
button.red,
button.red:active,
button.red:hover,
.narration-toggle,
.narration-toggle:active,
.narration-toggle:hover {
  color: #fff;
  text-shadow: none;
}

button.green {
  background-color: #2bb249;
}

button.green:active,
button.green:hover {
  background-color: #2da52b;
}

button.light-violet {
  background-color: #6b53a2;
}

button.light-violet:active,
button.light-violet:hover {
  background-color: #5a4688;
}

button.violet {
  background-color: #2d3091;
}

button.violet:active,
button.violet:hover {
  background-color: #1f2275;
}

button.red {
  background-color: #ed3338;
}

button.red:active,
button.red:hover {
  background-color: #c9262c;
}

.nav-buttons {
  display: inline-block;
  position: relative;
  margin-top: 0.8em;
  padding: 0.5em;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  z-index: 2;
}

.nav-buttons:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 4px 4px 4px 0 rgba(0, 0, 0, 0.1), inset -5px -5px 5px 0 rgba(255, 255, 255, 0.2);
  z-index: -1;
}

.curtain {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  box-pack: center;
  -moz-box-pack: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  box-align: center;
  -moz-box-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: rgba(0, 0, 0, 0.3);
  background-color: #fff;
  text-shadow: none;
  font-size: 0.9em;
  font-weight: bold;
}

.curtain.moved {
  animation: curtain-move 0.8s 1 ease forwards;
  -webkit-animation: curtain-move 0.8s 1 ease forwards;
}

@keyframes curtain-move {
  100% {
    left: 100%;
  }
}

@-webkit-keyframes curtain-move {
  100% {
    left: 100%;
  }
}

/* #endregion */

/* #region UtilityClassesAndSemanticElements ------------------------------------------------------------------------ */

/* use on text */

.size-large {
  font-size: 1.2em;
}

.break-sm {
  /* use on an empty span to simulate a short '<br><br>' */
  display: block;
  height: 10px;
}

em {
  font-style: normal;
  font-weight: bold;
  color: #6B53A2;
}

/* use on containing elements */

.flex-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.flex-wrapper.justify-center {
  justify-content: center;
}

.flex-wrapper.center-all {
  justify-content: center;
  align-items: center;
}


.container {
  position: relative;
  text-align: center;
  text-shadow: none;
}

/* .container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.4);
  z-index: 1;
} */

.instruction {
  opacity: 0;
}

.instruction-text {
  text-align: left;
  display: inline-block;
  font-size: 1.125em;
}

.inline-fix {
  font-size: 0;
}

.inline-fix>* {
  font-size: initial;
}

/* use on any element */

.violet-border {
  box-sizing: border-box;
  border: 2px solid #2d3091;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.4);
  border-radius: 5px;
}

p.violet-border {
  padding: 10px;
}

.violet-border>* {
  border-radius: 2px;
}

/* other */

.clear {
  clear: both;
}

/* #endregion */

/* #region LoadingAnimation ----------------------------------------------------------------------------------------- */

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  z-index: 25;
}

.loader:before,
.loader:after {
  position: absolute;
  content: '';
}

.loader:before {
  width: 5.2em;
  height: 10.2em;
  background: #ffffff;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.2em;
  transform-origin: 5.2em 5.1em;
  -o-transform-origin: 5.2em 5.1em;
  -ms-transform-origin: 5.2em 5.1em;
  -moz-transform-origin: 5.2em 5.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  animation: load2 2s infinite ease 1.5s;
  -webkit-animation: load2 2s infinite ease 1.5s;
}

.loader {
  color: #670099;
  font-size: 11px;
  text-indent: -99999em;
  margin: calc(50% - 5em) auto 0 auto;
  width: 10em;
  height: 10em;
  position: absolute;
  left: 50%;
  box-shadow: inset 0 0 0 1em;
  transform: translateZ(0) translateX(-50%);
  -o-transform: translateZ(0) translateX(-50%);
  -ms-transform: translateZ(0) translateX(-50%);
  -moz-transform: translateZ(0) translateX(-50%);
  -webkit-transform: translateZ(0) translateX(-50%);
}

.loader:after {
  width: 5.2em;
  height: 10.2em;
  background: #ffffff;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  transform-origin: 0 5.1em;
  -o-transform-origin: 0 5.1em;
  -ms-transform-origin: 0 5.1em;
  -moz-transform-origin: 0 5.1em;
  -webkit-transform-origin: 0 5.1em;
  animation: load2 2s infinite ease;
  -webkit-animation: load2 2s infinite ease;
}

@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* #endregion */

/* #region MediaQueries --------------------------------------------------------------------------------------------- */

@media (max-width: 800px) {
  .wrapper {
    padding: 12px;
  }
  .instruction-text {
    margin: 0.33em 0;
  }
  .break-sm {
    height: 6px;
  }
}

@media (max-width: 470px) {
  .wrapper {
    padding: 8px;
  }
  .instruction-text {
    margin: 0.43em 0;
    font-size: 1em;
  }
}

/* #endregion */















/* SPECIFIC STYLE FOR THE ACTIVITY ON THE BENEFITS PAGE */


/* transparent/hidden elements */


.overview-text-container-left {
  display: inline-block;
  -webkit-box-flex: 10;
  -ms-flex-positive: 10;
  flex-grow: 10;
  max-width: 730px;
  padding: 0;
  border-radius: 0.25em;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.activity {
  opacity: 0;
  max-width: 730px;
}

.content .centered {
  position: absolute;
  bottom: 20px;
  width: 100%;
}

.nav-buttons {
  display: inline-block;
  opacity: 0;
}

.scale {
  max-width: 100%;
  min-width: 100%;
  max-height: calc(100% - 4px);
  min-height: calc(100% - 4px);
  opacity: 0;
  display: block;
}


.circle {
  width: 100%;
  height: 100%;
  /*background: radial-gradient(circle, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.9) 0%, rgba(0, 0, 0, 0) 100%);*/
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.68) 59%, rgba(0, 0, 0, 0) 100%);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.instruction-text {
  font-size: 2.5em;
  color: var(--purple);
  font-weight: bold;
  text-shadow: 1px 0 0;
  padding: 0 14.4%;
  margin: 0;
  text-align: center;
  height: 444.8px;
  display: table-cell;
  vertical-align: middle;
}

.slide-counter {
  color: var(--white);
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.text-list {
  margin-left: 2em;
  text-align: left;
}

.break-md {
  display: block;
  height: 20px;
}

.background {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  border-radius: 0.25em;
  -webkit-border-radius: 0.25em;
  -moz-border-radius: 0.25em;
  -ms-border-radius: 0.25em;
  -o-border-radius: 0.25em;
}

.bg1 {
  background: #f9f9f9 url(assets/Overview_1.jpg) center 0/101.2% no-repeat;

}

.bg2 {
  background: #f9f9f9 url(assets/Overview_2.jpg) center 0/101.2% no-repeat;
  opacity: 0;
}

@media only screen and (max-width: 1130px) {
  .activity > .content {
    min-width: 730px;
  }
  .overview-text-container-left {
    margin: 0 auto;
  }
}

@media only screen and (max-width: 890px) {
  .activity > .content {
    min-width: unset;
  }
  /*.overview-text-container-left {
    margin: 20px;
  }*/
}


@media only screen and (max-width: 550px) {
  .instruction-text {
    padding: 0 5%;
  }
}
