/* THE FOLLOWING IS FROM THE common.css OF THE RESWIC ACTIVIES */

/* #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: 18px;
}

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;
}

.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 OtherElements -------------------------------------------------------------------------------------------- */

ul,
ol {
  margin: 0;
  padding: 0 0 0 1em;
  text-align: left;
}

/* #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: 150px 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 */


.overview-text-container-left {
  border-radius: 0.25em;
  background: white;
}

.activity {
  opacity: 0;
  overflow: hidden;
  max-width: 100%;
}

.nav-buttons {
  display: inline-block;
  opacity: 0;
}

.scale {
  width: 100%;
  opacity: 0;
  display: block;
}

.circle {
  width: calc(40% + 100px);
  height: calc(40% + 100px);
  background: white;
  border-radius: 50%;
  position: absolute;
  left: calc(50% - 20% - 50px);
  top: calc(50% - 20% - 50px);
  opacity: 0;
}

.instruction-text {
  margin: 0;
  padding: 0 1.5em;
  letter-spacing: -0.3px;
  font-size: 1.4em;
  color: #252525;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header {
  position: absolute;
  top: -20%;
  font-size: 2.4em;
  width: 100%;
  color: #6b53a2;
  margin: 0;
  transition: top 0.5s;
}

.header.ani {
  top: 5%;
}

.background {
  z-index: -1;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  border-bottom-right-radius: 0;
  background: #f9f9f9 url(assets/Sky3.jpg) center 0/101.2% no-repeat;
}

.image {
  width: 100%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  display: block;
}

.main-div {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.square-div {
  display: flex;
  align-items: center;
  align-self: center;
  flex-direction: row;
  justify-content: center;
}

.square1 {
  width: 40%;
  position: relative;
  left: -51%;
  transition: left 1s;
  -webkit-transition: left 1s;
  -moz-transition: left 1s;
  -ms-transition: left 1s;
  -o-transition: left 1s;
}

.square2 {
  background-color: #d7d0e7;
  width: 40%;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  position: relative;
  left: 51%;
  transition: left 1s;
  -webkit-transition: left 1s;
  -moz-transition: left 1s;
  -ms-transition: left 1s;
  -o-transition: left 1s;
}

div.centered {
  position: absolute;
  bottom: 5%;
  width: 100%;
}

@media only screen and (max-width: 1130px) {
  div.child-section-intro {
    -ms-flex-direction: row;
    flex-direction: row;
    min-height: 0;
  }
}

@media (max-width: 950px) {
  .square-div {
    font-size: 0.75em;
  }
}

@media (max-width: 750px) {
  .header {
    font-size: 4.4vw;
  }
}

@media (max-width: 660px) {
  .header.ani {
    top: 1.5%;
  }

  .main-div {
    top: 7%;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }

  .square-div {
    flex-direction: column;
    font-size: 3vw;
  }

  .square1,
  .square2 {
    width: calc(87% - 40px);
  }

  .square1 {
    left: -100%;
  }

  .image {
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
    border-bottom-left-radius: 0;
  }

  .square2 {
    left: 100%;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0.5em;
  }

  div.centered {
    bottom: 35px;
  }

  .slide-counter {
    bottom: 10px;
  }
}

@media only screen and (max-width: 600px) {
  .activity > .content {
    height: 96vw;
  }
}

@media only screen and (max-width: 540px) {
  /*div.child-section-intro {
    padding: 125px 10px 50px 10px;
  }*/
}

@media only screen and (max-width: 500px) {
  .background {
      width: 470px;
  }
}
