/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

.gform_wrapper .gform_body input[type=text], .gform_wrapper .gform_body input[type=email], .gform_wrapper .gform_body input[type=phone], .gform_wrapper .gform_body textarea {
    border: 0 none;
    border-bottom: 4px solid #0b57d0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.gform_wrapper  input[type=submit].gform_button {
    font-size: 14px !important;
    line-height: 1em !important;
    color: #ffffff !important;
    font-family: "Open Sans" !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background-color: var(--bricks-color-vlaceq) !important;
    padding: 17px 45px !important;
    border: 1px solid #ffffff;
    border-radius: 1.5em !important;
    border-top-left-radius: 5px !important;
    transition: all 0.3s ease-in !important;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
}

.hidden_label .gform-field-label--type-sub {
    display: none !important;
}

#spin-box-perspective-wrapper {
    perspective: 1000px;
}

.spin-box {
    position: absolute;
}

.spin-box {
    position: absolute;
    transform: rotateX(0deg) rotateY(65deg) translate(-10%, -50%);
    transform-style: preserve-3d;
    transition: transform 0.4s all;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    left: 50%;
    top: 0;
    height: 420px;
}

.spin-box:nth-of-type(1) {
    transform: rotateX(0deg) rotateY(0deg) translate(0, -50%);
    left: 0;
    top: 0;
}

.spin-box * {
    opacity: 0;
    transition: 0.5s all ease-in-out;
}

.spin-box:nth-of-type(1) *, .spin-box.active * {
    opacity: 1;
}

.spin-box.active {
    z-index: 10;
}

#spin-box-wrapper {
    background-image:none !important;
}

#spin-box-wrapper:before {
    content: '';
    position: absolute;
    background: url(http://johnl522.sg-host.com/wp-content/uploads/background-tech-1.jpg) no-repeat;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 0.5s all ease;
    z-index: 0;
    background-size: cover;
}

#spin-box-wrapper.active:before {
    opacity: 1;
}

#spin-box-wrapper.active #brxe-xtmlhy * {
    color: #fff !important;
}

#spin-box-wrapper #brxe-xtmlhy * {
    /*color: black !important;*/
    z-index: 10;
    /*text-shadow: none;*/
    transition: 0.5s all ease;
}

.cube-box {
    position: relative;
}

.cube-box:before {
    content: '';
    display: inline-block; /* Required if it's an inline element */
    transform: skew(60deg);
    height: 13px !important;
    background: #00a3ff;
    top: -22px;
    left: -11px;
    position: relative;
    width: 100%;
}

#frame_1 {
    background-image: none !important;
}

div#threejs-stats {
    top: 50px !important;
    scale: 1.2;
    left: 20px !important;
}

#threejs-bg {
    background-image: linear-gradient(140deg, #242b36, #145ecf, #16abd8);
    background-image: linear-gradient(140deg, #00237b, #0018ff, #1640d8);
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: -1;
    min-height: 100vh;
}

#threejs-wrapper {
    position: fixed;
    top: 0;
    right: -7%;
    width: 80%;
    z-index: -1;
    min-height: 100vh;
}

#threejs-wrapper .label {
    border: 4px solid #fff;
    background: #0b57d0;
    padding: 0.5em 1em 0.5em 0.5em;
    border-radius: 1.5em;
    color: #f4f0cb;
    font-weight: bold;
    font-size: 20px;
    opacity: 0.8;
    visibility: visible;
    cursor: pointer;
    display: flex;
    transition: opacity 0.2s ease-in-out;
    margin-top: -4%;
    margin-left: -7%;
}

#threejs-wrapper .label:hover {
    opacity: 1 !important;
    transform: scale(1.05);
}

#threejs-wrapper .label:after {
    width: 30px;
    height: 30px;
    content: '';
    background: #0b57d0;
    position: absolute;
    border-radius: 50%;
    left: 100%;
    top: 100%;
    border: 4px solid #fff;
    opacity: 0.8;
}

.label-subtitle {
    font-weight: normal;
    font-size: 14px;
}

.label-icon {
    margin-right: 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    height: 70px;
    width: 70px;
    box-sizing: border-box;
}

#threejs-wrapper[active_frame="buildings"] .label {
    opacity: 0;
    visibility: hidden;
    transition: none;
}

#threejs-wrapper[active_frame="earth"] > div {
    pointer-events: none;
}

.blur-frame {
    position: absolute;
    top: -20.7vw;
    left: 1.1vw;
    width: 9.4vw;
    height: 19.5vw;
    border-radius: 1.3vw;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 10;
    pointer-events: none;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.1);
    background: rgb(36 45 60 / 50%);
    display: none !important;
}

/*#threejs-bg[active_frame=server]:after  {
    background: #000;
    opacity: 1;
}

#threejs-bg[active_frame=earth]:after  {
    background: #fff;
    background: blue;
    opacity: 1;
}*/

#threejs-bg:after {
    content: '';
    opacity: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    transition: 0.5s all ease-in-out;
}

#intro-logo {
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: fixed;
    top: 50%;
    left: 37%;
    z-index: 1150;
    width: 400px;
    will-change: opacity, transform;
}

.logo-stack-top,
.logo-stack-middle,
.logo-stack-bottom {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.cls-2:not(.logo-stack-top):not(.logo-stack-middle):not(.logo-stack-bottom) {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.intro-header {
  opacity: 0;
  left: 0;
  top: 0;
  position: relative;
  transition: 0.5s ease;
  z-index: 1150;
  will-change: opacity, transform;
}

.intro-header.show-headers {
  opacity: 1;
  /* left: 0; */
  /* top: 0; */
}

.intro-header * {
    color: inherit;
    transition: 0.5s all ease-in-out;
}

#intro-overlay {
    width: 100%;
    height: 100%;
    background: #fff;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 1100;
    transition: 0.5s all ease-in-out;
    opacity: 1;
    pointer-events: none;
    display: none;
}

.bricks-is-frontend #intro-overlay {
    display: block;
}

.intro-running .intro-header, .intro-running .intro-header * {
    color: black !important;
}

.intro-complete #intro-overlay {
    opacity: 0;
}

.intro-complete #intro-logo {
    opacity: 0 !important;
}

.intro-complete .intro-header {
    z-index: 10;
}


.intro-running .intro-header {
    left: 118%;
    top: 60px;
}

#brx-header.sticky {
    z-index: 1000;
}

.brxe-nav-menu .bricks-mobile-menu {
    padding-top: 100px;
}

.bricks-is-frontend .vertical-scroll-columns > div {
    opacity: 0;
    transition: 0.4s all;
}

.bricks-is-frontend .vertical-scroll-columns > div:first-of-type {
    transform: translateX(-400px);
}

.bricks-is-frontend .vertical-scroll-columns > div:nth-of-type(2) {
    transform: translateY(-400px);
}

.bricks-is-frontend .vertical-scroll-columns .brxe-image {
    background-position: 400px;
    transition: 0.4s all;
}

.bricks-is-frontend .vertical-scroll-columns .cube-box {
    transform: rotate(45deg) translate(-100px, 100px);
    transition: 0.4s all;
}

@keyframes turn {
  from { transform: rotate3d(0, 0, 0, 0); }
  to { transform: rotate3d(1, 1, 0, 360deg); }
}

.cube-container {
  width: 200px;
  height: 200px;
  perspective: 500px;
  margin: 0 auto 40px;
}

.cube {
  position: relative;
  width: 170px;
  height: 170px;
  left: 15%;
  transform-style: preserve-3d;
  animation: turn 15s linear infinite;
}

.face {
  width: 75%;
  height: 75%;
  background: #0d192f;
  border: 2px solid #1576d9 !important;
  position: absolute;
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform 500ms;
}

.merge-cube .face {
    animation: merge 4s ease infinite;
}

.cube-front {
  transform: translateZ(100px);
}

.cube-back {
  transform: translateZ(-100px) rotateY(180deg);
}

.cube-left {
  transform: translateX(-100px) rotateY(-90deg);
}

.cube-right {
  transform: translateX(100px) rotateY(90deg);
}

.cube-top {
  transform: translateY(-100px) rotateX(90deg);
}

.cube-bottom {
  transform: translateY(100px) rotateX(-90deg);
}

@media (prefers-reduced-motion: reduce) {
  .cube {
    animation: none;
    transform: rotate3d(1, 1, 0, 45deg);
  }
}

.stack-cube-container .cube-front {
  transform: translateZ(25px);
}

.stack-cube-container .cube-back {
  transform: translateZ(-25px) rotateY(180deg);
}

.stack-cube-container .cube-left {
  transform: translateX(-25px) rotateY(-90deg);
}

.stack-cube-container .cube-right {
  transform: translateX(25px) rotateY(90deg);
}

.stack-cube-container .cube-top {
  transform: translateY(-25px) rotateX(90deg);
}

.stack-cube-container .cube-bottom {
  transform: translateY(25px) rotateX(-90deg);
}

.stack-cube-container {
  width: 200px;
  height: 200px;
  perspective: 300px;
  margin: -40px auto 60px;
  position: relative;
  /*animation: containerRotate 4s linear infinite;*/
  animation: none !important;
  transform-origin: calc(100% - 15px) calc(100% - 15px);
}

.stack-cube-container .cube {
  position: absolute;
  bottom: 0;
  width: 50px;
  height: 50px;
}

.stack-cube-container .face {
  width: 100%;
  height: 100%;
}

/* Cube 1 Animation */
.stack-cube-container .cube:nth-of-type(1) {
  /*animation: cube1Anim 4s linear infinite;*/
    left: 0;
}

/* Cube 2 */
.stack-cube-container .cube:nth-of-type(2) {
  /*animation: cube2Anim 4s linear infinite;*/
    left: 70px;
    bottom: 10px;
}

.stack-cube-container .cube:nth-of-type(2) .cube-top {
    transform: translateY(-64px) rotateX(90deg);
}

.stack-cube-container .cube:nth-of-type(2) .cube-bottom {
    transform: translateY(36px) rotateX(90deg);
}

.stack-cube-container .cube:nth-of-type(2) .cube-left {
    height: 100px;
    transform: translateX(-25px) translateY(-40px) rotateY(-90deg);
}

.stack-cube-container .cube:nth-of-type(2) .cube-right {
    height: 100px;
    transform:  translateX(25px) translateY(-40px) rotateY(90deg);
}

.stack-cube-container .cube:nth-of-type(2) .cube-front {
    height: 100px;
      transform: translateZ(25px) translateY(-40px) ;
}

.stack-cube-container .cube:nth-of-type(2) .cube-back {
    height: 100px;
      transform: translateZ(-25px) rotateY(180deg) translateY(-40px) ;
}

/* Cube 3 */
.stack-cube-container .cube:nth-of-type(3) {
  /*animation: cube2Anim 4s linear infinite;*/
    left: 140px;
    bottom: 60px;
}

.stack-cube-container .cube:nth-of-type(3) .cube-top {
    transform: translateY(-64px) rotateX(90deg);
}

.stack-cube-container .cube:nth-of-type(3) .cube-bottom {
    transform: translateY(84px) rotateX(90deg);
}

.stack-cube-container .cube:nth-of-type(3) .cube-left {
    height: 150px;
    transform: translateX(-25px) translateY(-40px) rotateY(-90deg);
}

.stack-cube-container .cube:nth-of-type(3) .cube-right {
    height: 150px;
    transform:  translateX(25px) translateY(-40px) rotateY(90deg);
}

.stack-cube-container .cube:nth-of-type(3) .cube-front {
    height: 150px;
      transform: translateZ(25px) translateY(-40px) ;
}

.stack-cube-container .cube:nth-of-type(3) .cube-back {
    height: 150px;
      transform: translateZ(-25px) rotateY(180deg) translateY(-40px) ;
}

.stack-cube-container .cube {
  left: 140px;
  animation: none !important;
}

/* === KEYFRAMES === */

@keyframes cube1Anim {
  0%   { left: 0px;   bottom: 0px; }
  25%  { left: 140px; bottom: 70px; }
  75%  { left: 140px; bottom: 70px; }
  99%  { left: 140px; bottom: 70px; }
  99.1%  { left: 0px;   bottom: 0px; }
  100% { left: 0px;   bottom: 0px; }
}

@keyframes cube2Anim {
  0%   { left: 70px;  bottom: 0px; }
  25%  { left: 70px;  bottom: 0px; }
  50%  { left: 140px; bottom: 140px; }
  75%  { left: 140px; bottom: 140px; }
  99%  { left: 140px; bottom: 140px; }
  99.1%  { left: 70px;  bottom: 0px; }
  100% { left: 70px;  bottom: 0px; }
}

@keyframes containerRotate {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(0deg) translateX(0px); }
  50%  { transform: rotate(0deg) translateX(-70px); }
  75%  { transform: rotate(0deg) translateX(-70px); }
  99%  { transform: rotate(90deg) translateY(170px) translateX(10px); }
  99.1%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.slide-up, .slide-left, .slide-right {
    transition: 0.5s all ease;
}

@media (max-width: 990px) {
#threejs-wrapper {
    width: 100%;
    right: 0;
}

.home #brx-content {
    padding-top: 80px;
}

#brxe-hgjcxn {
    margin-top: 450px;
}
#brxe-gpktuh {
    display: none !important;
}
.home .pin-spacer {
    display: none !important;
}
#spin-box-wrapper {
    display: none !important;
}

}

@media (max-width: 768px) {
#brxe-jloxws {
    padding-top: 140px;
}
#threejs-bg {
    display: none !important;
}

#brxe-jloxws, #brxe-sjhlhb, #brxe-hgjcxn {
    background: linear-gradient(0deg, transparent 0, rgb(0 0 255 / 80%) 30%, rgb(0 0 255 / 80%) 70%, transparent 100%) !important;
}

.home {
    background: blue !important;
}
#threejs-wrapper .label {
    display: none !important;
}
#brxe-voeyry {
    bottom: 0 !important;
    padding: 15px !important;
    background: linear-gradient(0deg, blue, transparent) !important;
}
.brxe-gvsoba {
    margin: 10px auto !important;
}
#intro-logo {
    top: 40%;
    left: 0;
    transform: none;
    margin: 0 auto;
    width: 100%;
    padding: 0 5vw;
}

.intro-running {
    height: 100vh !important;
    overflow: hidden !important;
}

.intro-running .intro-header {
    left: 0;
    top: -16vh;
}
/*#brxe-akjjcb .prefix {
    display: block !important;
}*/
.bricks-is-frontend .vertical-scroll-columns > div:first-of-type {
    transform: none !important;
}

.bricks-is-frontend .vertical-scroll-columns > div:nth-of-type(2) {
    transform: none !important;
}

.bricks-is-frontend .vertical-scroll-columns > div {
    opacity: 1 !important;
}

}

@media (max-width:500px) {
#brxe-voeyry .bricks-button {
    padding: 20px 15px;
}

#brxe-voeyry {
    background: blue !important;
}

#brxe-hgjcxn {
    margin-top: 360px;
}
.cube-box {
    display: none !important;
}
}