@import url('https://fonts.googleapis.com/css?family=Heebo:400,500');

body *,
body {
  box-sizing: border-box;
}

html,
body,
#app,
.sb-loading-full-container {
  min-height: 100%;
  min-width: 100%;
}

html,
body,
#app > * {
  margin: 0;
  padding: 0;
}

#app > .srin-main,
#app > .sb-main,
#app > .srin-auth {
  min-height: 100%;
  min-width: 100%;
  height: auto;
}

.app {
  height: 100%;
  min-height: 100%;
}

.hidden {
  display: none !important;
}

/*
 * Taken from http://tobiasahlin.com/spinkit/
 */
.sb-loading-full-container, .sb-loading-app-container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: center;
}

.sb-loading-full-container {
  position: absolute;
  /* background: #80b5c4; */
}

.sb-loading-app-container {
  flex: 1;
}

.sb-loading-text {
  padding: 10px;
  font-size: 14px;
  font-family: 'Open Sans';
  line-height: 1.5;
  color: #222;
}

/* .sb-loading-full-container .sb-loading-text {
  color: #eee;
}

.sb-loading-app-container .sb-loading-text {
  color: #222;
} */

.sb-loading-cube {
  margin: 20px auto;
  width: 60px;
  height: 60px;
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

.sb-loading-cube .sb-cube {
  float: left;
  width: 50%;
  height: 50%;
  position: relative;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
.sb-loading-cube .sb-cube:before {
  background-color: #222;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-animation: sb-foldCubeAngle 2.4s infinite linear both;
  animation: sb-foldCubeAngle 2.4s infinite linear both;
  -webkit-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}
/* .sb-loading-full-container .sb-loading-cube .sb-cube:before {
  background-color: #eee;
}
.sb-loading-app-container .sb-loading-cube .sb-cube:before {
  background-color: #222;
} */
.sb-loading-cube .sb-cube2 {
  -webkit-transform: scale(1.1) rotateZ(90deg);
  transform: scale(1.1) rotateZ(90deg);
}
.sb-loading-cube .sb-cube3 {
  -webkit-transform: scale(1.1) rotateZ(180deg);
  transform: scale(1.1) rotateZ(180deg);
}
.sb-loading-cube .sb-cube4 {
  -webkit-transform: scale(1.1) rotateZ(270deg);
  transform: scale(1.1) rotateZ(270deg);
}
.sb-loading-cube .sb-cube2:before {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.sb-loading-cube .sb-cube3:before {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.sb-loading-cube .sb-cube4:before {
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
}
@-webkit-keyframes sb-foldCubeAngle {
  0%,
  10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%,
  75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%,
  100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}

@keyframes sb-foldCubeAngle {
  0%,
  10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%,
  75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%,
  100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}
