/**
Theme Name: Dynamic Child
Author: Dynamic
Version: 1.0.4
Text Domain: dynamic-child
Template: astra
*/

/* admin */

/* editor? */
.ast-separate-container #wpwrap .edit-post-visual-editor {
  background-color: #000000;
}

/* dynamic */

html,
body {
  scroll-behavior: smooth;
}

.site-header {
  /*position: fixed;*/
  left: 0;
  right: 0;
  background: white;
  /*background: rgba(255, 255, 255, 0.0);*/
  -webkit-box-shadow: 0px 4px 5px 1px rgba(0, 0, 0, 0.0);
  -moz-box-shadow: 0px 4px 5px 1px rgba(0, 0, 0, 0.0);
  box-shadow: 0px 4px 5px 1px rgba(0, 0, 0, 0.0);
  transition: 0.3s ease-in-out;
}

.site-header .main-header-bar {
  border: none;
  background-color: rgba(255, 255, 255, 0.8);
  background: none;
}

.main-header-menu a,
.ast-header-custom-item a {
  color: #000;
}

.main-navigation button {
  border-radius: 100px;
}

.site-header .ast-site-identity {
  padding: 10px 0;
}

.site-header .site-logo-img img {
  /*height: 61px;*/
  height: auto;
  width: auto;
  transition: 0.3s ease-in-out;
}

.site-header.stickyheader {
  background: rgba(255, 255, 255, 1.0);
  -webkit-box-shadow: 0px 4px 5px 1px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 4px 5px 1px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 4px 5px 1px rgba(0, 0, 0, 0.4);
}

.site-header.stickyheader .site-logo-img img {
  height: 41px;
}

/*
* Global page styles
*/

.entry-content {
  overflow: hidden;
  /* position: relative; */
}

#primary {
  padding: 7em 0;
  padding: 0;
  margin: 0;
  position: inherit;
}

#main {
  overflow: hidden;
  opacity: 0;
}

.wrapper {
  max-width: 1200px !important;
  margin: 0 auto;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 
* blobs
*/
#screen {
  position: absolute;
	/* background: #000; */
	left: -100px;
  top: -100px;
	height: 4083px;
  cursor: default;
  z-index: -1;
}

/*
* heading /fancy text
*/
.page .heading {
  max-width: 330px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 400px;
}

.page .heading h2 {
  font-size: 110px;
  margin: 0 0 0 -10px;
  padding: 0;
  line-height: 1.3;
}

.page .rotating-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 50px;
  color: #383737;
  margin-bottom: -30px;
}

.page .rotating-text p {
  display: inline-flex;
  margin: 0;
  vertical-align: top;
  line-height: 42px;
}

.page .rotating-text p .word {
  position: absolute;
  display: flex;
  opacity: 0;
}

.page .rotating-text p .word .letter {
  transform-origin: center center 25px;
}

.page .rotating-text p .word .letter.out {
  transform: rotateX(90deg);
  transition: 0.32s cubic-bezier(0.6, 0, 0.7, 0.2);
}

.page .rotating-text p .word .letter.in {
  transition: 0.38s ease;
}

.page .rotating-text p .word .letter.behind {
  transform: rotateX(-90deg);
}

.page .d-red {
  color: #d13817;
}

.page .d-orange {
  color: #f78b00;
}

.page .d-green {
  color: #98c500;
}

.page .d-blue {
  color: #1195cb;
}

.page .d-gray {
  color: #383737;
}

/*
* Home page
*/

/*
* STATS
*/
.home .statsholder {
  overflow: auto;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(images/home-stats_bg.png);
}

.home .stats {
  width: 100%;
  max-width: 1200px;
  margin: 170px auto;
  padding: 170px 0;
  display: flex;
  flex-direction: row;
  position: relative;
  font-family: 'montserratregular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.home .stats:after {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% 0%;
  opacity: 0;
}

.home .statsholder.scroll-triggered .stats:after {
  animation: 1.3s divideranim ease-in;
  animation-fill-mode: forwards;
  animation-delay: 0.2s;
}

@keyframes divideranim {
  0% {
    background-size: 100% 0%;
    opacity: 0;
  }

  100% {
    background-size: 100% 100%;
    opacity: 1;
  }
}

.home .stats .counter {
  width: 50%;
  text-align: center;
}

.home .stats .counter h2 {
  margin: 0;
  padding: 0;
  font-size: 4em;
  opacity: 0;
}

.home .statsholder.scroll-triggered .stats .counter h2 {
  animation: 1.3s textanim ease-in;
  animation-fill-mode: forwards;
}

.home .stats .counter p {
  color: #fff;
  margin: 0;
  padding: 0;
  font-size: 1.7em;
  opacity: 0;
}

.home .statsholder.scroll-triggered .stats .counter p {
  animation: 1.3s textanim ease-in;
  animation-fill-mode: forwards;
  animation-delay: 0.2s;
}

@keyframes textanim {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.home .stats .counter.projects h2 {
  color: #4593c6;
}

.home .stats .counter.years h2 {
  color: #9bd03c;
}

/*
* Products
*/
.home .products {}

.home .products .wp-block-group__inner-container {
  position: relative;
}

/*
* OTS
*/
.home .otsholder {
  padding: 40px 0;
}

.home .otsholder .wp-block-group__inner-container {
  position: relative;
}

.home .ots {
  padding: 120px 0;
}

.home .ots .otsheading {
  line-height: 100px;
  margin: 0;
}

/*
* Clients
*/
.home .clients img {
  transition: 0.3s all ease-in;
  filter: grayscale(100%) !important;
  -webkit-filter: grayscale(100%);
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'saturate\' values=\'1\'/></filter></svg>#grayscale");
}

.home .clients img:hover {
  filter: grayscale(0%) !important;
  -webkit-filter: grayscale(0%);
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'saturate\' values=\'1\'/></filter></svg>#grayscale");
}

.home .clientsheading {
  margin: 80px auto 120px auto;
}

/*
* Contact
*/
.home .contactformheader {
  position: relative;
  margin: 110px 0 110px 0;
  padding: 0px 20px 0 20px;
}

.home .contactformheader:before {
  content: '';
  width: 341px;
  height: 5px;
  display: block;
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  background: #f4f2f2;
}

/*
* Home END ----------------------------
*/

/*
* Services page
*/
.page-services .heading {
  max-width: 510px;
  margin: 150px 0;
  min-height: auto;
  padding: 90px 0;
}

.page-services .servicemenu {
  background: url(images/services-top-bg.png) no-repeat top center;
  height: 1199px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-services .servicesots {
  min-height: 1349px;
  width: 100%;
  background: url(images/services-ots-bg.png) no-repeat top right;
  padding-top: 220px;
}

.page-services .servicesots .wrapper {
  position: relative;
}

.page-services .servicesots .wrapper .wp-block-column {
  position: relative;
}

.page-services .servicesots .wrapper .iphone {
  position: absolute;
  z-index: 3;
  left: 210px;
  top: -200px;
}

.page-services .servicesots .wrapper .iphone img {
  max-width: none;
}

.page-services .servicesots .wrapper .ipad {
  position: absolute;
  z-index: 2;
  left: -200px;
  top: 100px;
}

.page-services .servicesots .wrapper .ipad img {
  max-width: none;
}

.page-services .servicesvideo {
  min-height: 1356px;
  width: 100%;
  background: url(images/services-video-bg.png) no-repeat top left;
  padding-top: 300px;
}


/*
* Services END ----------------------------
*/


/*
* Expertise page
*/
.page-expertise .heading {
  max-width: 660px;
  margin-bottom: 0;
}

.page-expertise .rotating-text {
  font-size: 30px;
}

.page-expertise .expertiseid {
  min-height: 1458px;
  width: 100%;
  background: url(images/expertise-1-bg.png) no-repeat top center;
  padding-top: 520px;
}

.page-expertise .imac {
  margin-top: -250px;
}

.page-expertise .expertiseanim {
  min-height: 1779px;
  width: 100%;
  background: url(images/expertise-animation-bg.png) no-repeat top center;
  padding-top: 200px;
}

.page-expertise .expertisepad {
  display: block;
  position: relative;
  margin: 0 60px 0 auto;
  max-width: 1412px;
  height: 896px;
}

.page-expertise .expertisepad figure {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 80px;
}

.page-expertise .expertisepad .image1 {
  z-index: 6;
  animation: 0.6s image1anim ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 0.2s;
  animation-play-state: paused;
}

.page-expertise .expertisepad .image2 {
  z-index: 5;
  animation: 0.6s image2anim ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 0.3s;
  animation-play-state: paused;
}

.page-expertise .expertisepad .image3 {
  z-index: 4;
  animation: 0.6s image3anim ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 0.4s;
  animation-play-state: paused;
}

.page-expertise .expertisepad .image4 {
  z-index: 3;
  animation: 0.6s image4anim ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
  animation-play-state: paused;
}

.page-expertise .expertisepad .image5 {
  z-index: 2;
  animation: 0.6s image5anim ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 0.6s;
  animation-play-state: paused;
}

.page-expertise .expertisepad.scroll-triggered figure {
  animation-play-state: running !important;
}

@keyframes image1anim {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 400px;
  }
}

@keyframes image2anim {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 320px;
  }
}

@keyframes image3anim {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 240px;
  }
}

@keyframes image4anim {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 160px;
  }
}

@keyframes image5anim {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 80px;
  }
}

.page-expertise .expertisepad .ipad {
  position: absolute;
  bottom: 0;
  z-index: 1;
  left: 0;
  right: 0;
}

.page-expertise .expertisepad .ipad figure {
  display: block;
  position: relative;
  margin: 0;
}

.page-expertise .expertisepad .ipad figure img {
  margin: 0 auto;
  display: block;
}

.page-expertise .expertiseanim .wrapper {
  margin-top: -200px;
}


.page-expertise .expertiseconsult {
  min-height: 1274px;
  width: 100%;
  background: url(images/expertise-consultancy-bg.png) no-repeat top right;
  padding-top: 370px;
  margin-bottom: 40px;
}

.page-expertise .expertiseconsult .wp-block-image {
  margin-top: 250px;
}

/*
* Expertise END ----------------------------
*/

/*
* Contact Us page
*/
.page-contact-us .heading {
  max-width: 660px;
  margin-bottom: 0;
}

.page-contact-us .contactmap {
  min-height: 1187px;
  width: 100%;
  background: url(images/contactus-map-bg.png) no-repeat top center;
  padding-top: 480px;
  margin-bottom: 30px;
}

.page-contact-us .contactform {
  min-height: 1223px;
  width: 100%;
  background: url(images/contactus-form-bg.png) no-repeat top left;
  padding-top: 190px;
  margin-top: 30px;
}

/*
* Contact Us END ----------------------------
*/

/* 
* Team END --------------------------
*/
.page-team .heading {
  max-width: 500px;
}

.page-team .values {
  width: 100%;
  background: url(images/team-values-bg.png) no-repeat bottom center;
  padding-bottom: 370px;
  margin-bottom: 40px;
}


/*
* Dynamic LAVA
*/

#blob__holder {
  width: 3500px;
  height: 2500px;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

#blob__holder--ots {
  width: 3500px;
  height: 2500px;
  position: absolute;
  z-index: -1;
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
}

#blob__holder_fore--ots {
  width: 3500px;
  height: 2500px;
  position: absolute;
  top: -250px;
  left: 50%;
  transform: translateX(-50%)
}

#blob__holder--products {
  width: 3500px;
  height: 2500px;
  position: absolute;
  z-index: -1;
  top: -400px;
  left: 50%;
  transform: translateX(-50%)
}

.blob__svg {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 3500px;
  height: 2500px;
}

.blobs {
  -webkit-filter: url("#goo");
  filter: url("#goo");
}

.blob {
  transform: rotate() translate(0, 0) rotate(0);
  filter: url("#innershadow");
}

.blobs__red {
  fill: url(#GradientRed);
}

.blobs__green {
  fill: url(#GradientGreen);
}

.blobs__blue {
  fill: url(#GradientBlue);
}

.blobs__orange {
  fill: url(#GradientOrange);
}

/* footer */
.ast-small-footer {
  border: none;
}

.ast-small-footer .ast-footer-overlay {
  padding: 50px;
}

.ast-small-footer ul li {
  line-height: 20px;
  text-align: left;
}

.ast-small-footer .copyright {
  margin: 30px 0 0 0;
  color: #107db4;
}

.ast-small-footer-section-1 {
  float: left;
}

.ast-small-footer-section-2 {
  float: right;
}

.ast-small-footer .widget-title {
  display: none;
}

.ast-footer-widget-4-area {
  text-align: center;
  padding-right: 9px;
}

.ast-footer-widget-2-area aside {
  display: inline-block;
  margin-left: 14px;
}

.ast-footer-widget-2-area aside:first-of-type {
  display: block;
}

.ast-footer-widget-4-area #media_image-6 {
  margin: 25px 9px;
}


/**
  * Generic blog page styles
**/
.entry-header {
  display: none;
}

.blog-page-controls {
  max-width: 1240px;
  margin: 90px auto 60px auto;
}

.blog-page-controls .wp-block-group__inner-container {
  display: flex;
  align-items: center;
}

.blog-page-controls .wp-block-group__inner-container .wp-block-group__inner-container {
  display: block;
  align-items: initial;
}

.blog-page-controls p.headline {
  line-height: 100px;
}

.blog-page-controls p {
  margin: 0;
}

.blog-header h6 {
  margin: 0;
}

.blog-header h2 {
  margin: 0;
}

.single-post p {
  line-height: 1.5em;
}

.blog-header .wp-block-media-text__content {
  margin-top: 70px;
  padding-right: calc(100vw / 2 - 1200px / 2);
}

.single-post .leftalign .wp-block-media-text__content {
  padding-left: calc(100vw / 2 - 1200px / 2);
}

.single-post .rightalign .wp-block-media-text__content {
  padding-right: calc(100vw / 2 - 1200px / 2);
}

.single-post .wrapper {
  margin: 0 auto;
  max-width: 1200px;
}

.single-post .quote {
  max-width: 340px;
  position: relative;
}

.single-post .quote span {
  display: inline-block;
  text-indent: -9999px;
  width: 19px;
  height: 13px;
}

.single-post .quote .before {
  margin-right: 5px;
  background: url(images/blog-quote-before.png) no-repeat;

}

.single-post .quote .after {
  margin-left: 5px;
  background: url(images/blog-quote-after.png) no-repeat;
}

.single-post .lava-top {
  margin: 0;
}

.single-post .lava-bottom {
  margin-top: -8em;
}

.single-post .infront {
  position: relative;
}

.single-post .top10 {
  margin-top: 10px;
}

.single-post .top20 {
  margin-top: 20px;
}

.single-post .top30 {
  margin-top: 30px;
}

.single-post .top40 {
  margin-top: 40px;
}

.single-post .top50 {
  margin-top: 50px;
}

.single-post .top60 {
  margin-top: 60px;
}

.single-post .top70 {
  margin-top: 70px;
}

.single-post .top80 {
  margin-top: 80px;
}

.single-post .top90 {
  margin-top: 90px;
}

.single-post .top100 {
  margin-top: 100px;
}

/**
  * Specific blog post styles
**/

/* james placement blog 2 */
.single-post .leftalign.james-pushup {
  margin-top: -120px;
}

.single-post .jamesquote-top {
  top: -70px;
  left: -100px;
}

.single-post .james-contentup {
  margin-top: -230px;
}

.single-post .james-contentup .wp-block-image {
  margin-top: 50px
}




/**
  * Generic case study styles
**/
.category-case-studies .casestudy-header .top {
  margin: 0;
}

.category-case-studies .casestudy-header .bottom {
  margin: 0;
}

.category-case-studies .leftalign .wp-block-media-text__content {
  padding-left: calc(100vw / 2 - 1200px / 2);
}

.category-case-studies .rightalign .wp-block-media-text__content {
  padding-right: calc(100vw / 2 - 1200px / 2);
}

.category-case-studies .wrapper {
  margin: 0 auto;
  max-width: 1200px;
}

.category-case-studies .quote {
  max-width: 340px;
  position: relative;
  margin: 0 auto;
}

.category-case-studies .quote span {
  display: inline-block;
  text-indent: -9999px;
  width: 19px;
  height: 13px;
}

.category-case-studies .quote .before.white {
  margin-right: 5px;
  background: url(images/quote-before-white.png) no-repeat;

}

.category-case-studies .quote .after.white {
  margin-left: 5px;
  background: url(images/quote-after-white.png) no-repeat;
}

/**
  * Specific Case study styles
**/

/* Citation */
.page-case-study-citation {
  background: #212121;
}

.page-case-study-citation .site-header .main-header-bar {
  background: none;
}

.page-case-study-citation .custom-logo-link {
  position: relative;
}

.page-case-study-citation .custom-logo-link img {
  opacity: 0;
}

.page-case-study-citation .custom-logo-link:before {
  background-image: url('images/logo-full-white.png');
  background-repeat: no-repeat;
  top: -20px;
  content: '';
  height: 61px;
  left: 0;
  position: absolute;
  width: 400px;
}

.page-case-study-citation .site-header .main-header-bar .main-header-menu a {
  color: #fff;
}

.page-case-study-citation .casestudy-header {
  padding: 260px 0 60px 0;

  background: rgb(227, 33, 72);
  background: -moz-linear-gradient(180deg, rgba(227, 33, 72, 1) 0%, rgba(33, 33, 33, 1) 80%, rgba(33, 33, 33, 1) 100%);
  background: -webkit-linear-gradient(180deg, rgba(227, 33, 72, 1) 0%, rgba(33, 33, 33, 1) 80%, rgba(33, 33, 33, 1) 100%);
  background: linear-gradient(180deg, rgba(227, 33, 72, 1) 0%, rgba(33, 33, 33, 1) 80%, rgba(33, 33, 33, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e32148", endColorstr="#212121", GradientType=1);
}

.page-case-study-citation .casestudy-header .wp-block-media-text__media {
  margin-top: -60px;
}

.page-case-study-citation .citationpad {
  display: block;
  position: relative;
  margin: 0 auto;
  max-width: 1412px;
  height: 1126px;
}

.page-case-study-citation .citationpad img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 80px;
}

.page-case-study-citation .citationpad #image1 {
  z-index: 6;
  animation: 0.6s image1anim ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 0.2s;
  animation-play-state: paused;
}

.page-case-study-citation .citationpad #image2 {
  z-index: 5;
  animation: 0.6s image2anim ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 0.3s;
  animation-play-state: paused;
}

.page-case-study-citation .citationpad #image3 {
  z-index: 4;
  animation: 0.6s image3anim ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 0.4s;
  animation-play-state: paused;
}

.page-case-study-citation .citationpad #image4 {
  z-index: 3;
  animation: 0.6s image4anim ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
  animation-play-state: paused;
}

.page-case-study-citation .citationpad #image5 {
  z-index: 2;
  animation: 0.6s image5anim ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 0.6s;
  animation-play-state: paused;
}

.page-case-study-citation .scroll-triggered img {
  animation-play-state: running !important;
}

@keyframes image1anim {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 400px;
  }
}

@keyframes image2anim {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 320px;
  }
}

@keyframes image3anim {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 240px;
  }
}

@keyframes image4anim {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 160px;
  }
}

@keyframes image5anim {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 80px;
  }
}

.page-case-study-citation .citationpad .ipad {
  position: absolute;
  bottom: 0;
  z-index: 1;
}

.page-case-study-citation .citationpad .ipad img {
  display: block;
  position: relative;
  margin: 0;
}

