/*
Theme Name: Apollo
Theme URI: http://cmp.niteothemes.com/?cmp_preview=true&selector=true&theme=apollo
Author: NiteoThemes
Author URI: https://niteothemes.com
Version: 1.6

apollo CMP Theme, Copyright 2018 NiteoThemes
apollo CMP Theme is distributed under the terms of the GNU GPL

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl.html

All used scripts are distributed under the terms of the GNU GPL v2 or later or under MIT license. 
Bundled images are distributed under the terms of the GNU GPL v2 or later or under MIT license or Unsplash license.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normaalize.css/
*/

body {
  margin:0;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    background: #ffdddd;
    font-size: 16px;
}


/*--------------------------------------------------------------
# ScrollBar
--------------------------------------------------------------*/
::-webkit-scrollbar {
  width:9px;
}
::-webkit-scrollbar-thumb {
  background:rgba(0,0,0,0.8);
  border:none;
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
  border-top-left-radius:0;
  border-top-right-radius:0;
}
::-webkit-scrollbar-track {
  background:rgba(170,170,170,0.8);
}

/*--------------------------------------------------------------
# Placeholder
--------------------------------------------------------------*/
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  opacity: .5;
}
::-moz-placeholder { /* Firefox 19+ */
  opacity: .5;
}
:-ms-input-placeholder { /* IE 10+ */
  opacity: .5;
}
:-moz-placeholder { /* Firefox 18- */
  opacity: .5;
}

h1,h2,h3,h4,h5,h6{
    font-weight: 400;
    font-size: 2.8em;
    margin-bottom: .3em;
    margin-top: 0;
}


img {
    max-width: 100%;
    height: auto;
}

textarea {
    overflow: auto;
    padding: 0;
    text-indent: 5px;
    width: 100%;
}

input,textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
}


.content-wrapper {
    margin-right: 50%;
    background-color: #fff;
}

.content-wrapper.flex {
    display: flex;
}

.content-wrapper.overflow {
  overflow-y: auto;
}

.content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: -webkit-max-content;
  min-height: -moz-max-content;
  min-height: max-content;
  margin-right: 10%;
}


.content-inner {
    text-align: left;
    width: 100%;
    margin: auto;
    max-width: 50vw;
    -webkit-transform: translateX(140px);
        -ms-transform: translateX(140px);
        transform: translateX(140px);
    z-index: 1;
}

.content-line {
    height: 1px;
    width: 200px;
    background: black;
    margin-left: 100px;
    margin: 2em 0 0 100px;
}

.content-body {
  direction: rtl;
  max-height: calc(100vh - 690px);
  margin-bottom: 3em;
  overflow: auto;
}

.full-width .content {
  margin-right: -30%;
}

.full-width .content-inner {
  max-width: 75vw;
}

.content-body * {
  direction: ltr;
}

.logo-wrapper,
.content-body > * {
  margin-left: 100px;
}

.logo-wrapper img {
    max-width: 90%;
    max-height: 150px;
    margin: 0 auto;
}

.logo-wrapper.image {
  padding-top: 2em;
}

.logo-wrapper.text {
  font-size: 1em;
}

.text-logo {
  font-size: 2em;
}

.title-wrap {
  text-align: center;
}

.cmp-title {
  display: inline-block;
    font-size: 5em;
    padding: 0.5rem 2rem;
    margin: 0.5em auto;
    color: white;
    background: black;
    text-align: center;
}

#background-color,
.slide-background,
#slider-wrapper,
#background-image,
.video-banner,
.background-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#background-wrapper {
  position: absolute;
  top: 100px;
  left: 100px;
  right: 200px;
  bottom: 100px;
}

.background-overlay {
  z-index: 50;
}

.background-blur-overlay {
    position: absolute;
    top: 100px;
    right: 200px;
    bottom: 100px;
    left: 100px;
    overflow: hidden;
}

.video-banner {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

#background-wrapper {
  z-index: 0;

}

.half-width #background-wrapper {
  margin-left: 50%;
}

#background-wrapper {
    overflow: hidden;
}
/* 
#background-wrapper {
  padding: 100px 200px 100px 100px;
} 
 */
#background-image,
.slide-background {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}




#background-image,
#slider-wrapper {
    opacity: 0;
    -o-transition: opacity 400ms;
    transition: opacity 400ms;
}

#background-image.loaded,
.loaded #slider-wrapper {
    opacity: 1;
}

.video-banner iframe,
.video-banner video {
    -o-transition: opacity 1500ms;
    transition: opacity 1500ms;
}


#background-image.pattern {
    background-repeat: repeat;
    background-size: initial;
}


/* slick slider */
.slick-slide {
  display: block!important;
  position: relative;
  height: 100%;
}

.slick-list, .slick-slider, .slick-track {
    height: 100%;
}

.prev,
.next {
  position: fixed;
  display: block;
  top: 2em;
  text-align: center;
  cursor: pointer;
  z-index: 100;
  font-weight: 400;
  font-size: 19px;
  opacity: .8;
}

.prev {
  left: 5em;
  margin-left: 100px;
}

.next {
  right: 5em;
  margin-right: 100px;
}

.prev::before,
.next::before  {
  display: inline-block;
  position: relative;
  text-decoration: underline
}

.prev::before {
  content: "Prev";
}

.next::before {
  content: "Next";
}

.prev::after,
.next::after  {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    top: 50%;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.prev::after {
  left: -110%;
}

.next::after {
  right: -110%;
}

.prev:hover::after {
  left: 0;
}

.next:hover::after {
  right: 0;
}


/* Slider dot navigation */
.dot-nav {
  width: 100px;
  margin: 0 auto;
  position: fixed;
  right: 50px;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
}

.dot-nav .slide-number {
    height: 3em;
    font-size: 1em;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    position: relative;
    text-align: center;
    cursor: pointer;
}

.dot-nav .slide-number.active {
    font-size: 40px;
    height: 190px;
}

.dot-nav .slide-number.active::after {
    content: '';
    display: block;
    width: 2px;
    height: 113px;
    background: black;
    position: absolute;
    left: 50px;
    -o-transition: height 300ms ease-in-out;
    transition: height 300ms ease-in-out;
}

.dot-nav .slide-number::after {
    content: '';
    display: block;
    width: 2px;
    height: 0;
    background: black;
    position: absolute;
    left: 50px;
    -o-transition: height 300ms ease-in-out;
    transition: height 300ms ease-in-out;
}

/* copyright */
.copyright {
    margin: 0 0 2.5em 5em;
    position: relative;
    margin-left: calc(200px + 6em);
    z-index: 1;
}

.copyright::before {
    content: '';
    display: block;
    width: 200px;
    height: 1px;
    background: black;
    position: absolute;
    top: 50%;
    left: -210px;
}

/* social icons */

.social-list {
    position: absolute;
    left: 0;
    bottom: 20vh;
    text-orientation: mixed;
    -webkit-writing-mode: vertical-lr;
        -ms-writing-mode: tb-lr;
            writing-mode: vertical-lr;
    text-orientation: mixed;
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    z-index: 2;
}

.social-list li {
    display: block;
    float: left;
    margin: 1em;
}

a {
  position: relative;
}

.social-list a:before {
    content: "";
    position: absolute;
    width: 1px;
    height: 0;
    top: 0;
    left: 0.5em;
    visibility: hidden;
    -o-transition: height 0.3s ease-in-out;
    transition: height 0.3s ease-in-out;
}

.social-list a:hover:before {
    visibility: visible;
    height: 100%;
}


.content-body a:before {
    content: "";
    position: absolute;
    height: 1px;
    width: 0;
    top: 0.6em;
    left: 0;
    visibility: hidden;
    -o-transition: width 0.3s ease-in-out;
    transition: width 0.3s ease-in-out; 
}

.content-body a:hover:before {
    visibility: visible;
    width: 100%;
}


/* counter */
#counter {
    position: absolute;
    bottom: 65px;
    right: 50px;
    z-index: 100;
}

#counter span {
    margin: 0 0.2em;
}

.counter-number {
  font-size: 4.5em;
  display: inline-block;
  width: 1em;
}

/* Effect 19:  Slip in from the top with perspective on container */


@-webkit-keyframes OpenTop {
  50% { 
    -webkit-transform: rotateX(10deg); 
    -webkit-animation-timing-function: ease-out; 
  }
}

@keyframes OpenTop {
  50% { 
    -webkit-transform: rotateX(10deg); 
            transform: rotateX(10deg); 
    -webkit-animation-timing-function: ease-out; 
            animation-timing-function: ease-out; 
  }
}



.md-modal {
    position: fixed;
    top: 50vh;
    left: 50%;
    width: 50%;
    max-width: 500px;
    min-width: calc(320px - 4em);
    background: white;
    padding: 2em;
    height: auto;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(-200%);
        -ms-transform: translateX(-50%) translateY(-200%);
        transform: translateX(-50%) translateY(-200%);
}

.md-show .md-modal {
    visibility: visible;
    opacity:  1;
    -webkit-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
    -o-transition: all 0.5s 0.1s;
    transition: all 0.5s 0.1s;
}



.md-overlay {
    position: fixed;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(109, 109, 109, 0.9);
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show .md-overlay {
    visibility: visible;
    -webkit-transform-style: preserve-3d;
    -webkit-transform-origin: 50% 100%;
    -webkit-animation: OpenTop 0.5s forwards ease-in;
    -moz-transform-style: preserve-3d;
    -moz-transform-origin: 50% 100%;
    -moz-animation: OpenTop 0.5s forwards ease-in;
    transform-style: preserve-3d;
    -ms-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
    animation: OpenTop 0.5s forwards ease-in;
    opacity: 1;
}

body.md-show {
    -webkit-perspective: 600px;
    perspective: 600px;
}

.md-show .container {
    -webkit-transform-style: preserve-3d;
    -webkit-transform-origin: 50% 100%;
    -webkit-animation: OpenTop 0.5s forwards ease-in;
    -moz-transform-style: preserve-3d;
    -moz-transform-origin: 50% 100%;
    -moz-animation: OpenTop 0.5s forwards ease-in;
    transform-style: preserve-3d;
    -ms-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
    animation: OpenTop 0.5s forwards ease-in;
}

.md-content {
  text-align: right;
}

.md-content .close {
  display: inline-block;
  cursor: pointer;
}

form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 1em;
}


input {
    border: none;
    box-sizing: border-box;
    vertical-align: middle;
}

input[type="email"],
input[type="submit"] {
  display: inline-block;
  box-sizing: border-box;
  vertical-align: middle;
}

input[type="submit"] {
    color: white;
    height: 3em;
}

.cmp-subscribe {
    display: flex;
    flex-direction: column;
}

.cmp-form-inputs {
  order: 1;
}


.cmp-subscribe label {
    display:  none;
}


.cmp-subscribe input[type="email"] {
    text-indent: 15px;
    width: calc(100% - 220px);
    float: left;
    height: 50px;
    margin: 0;
    border-radius: 0;
    background: none;
    border: none;
    border-bottom: 1px solid grey;
    margin-right: 20px;
    font-size: 1.1em;
    font-style: normal;
    color: black;
}

.cmp-subscribe input[type="submit"] {
    float: right;
    color: white;
    font-size: 1em;
    height: 50px;
    width: 100%;
    margin: 0;
    max-width: 200px;
    cursor: pointer;
    text-transform: uppercase;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.-subscribe-successful input[type="email"],
.-subscribe-successful input[type="submit"] {
  display: none;
}

.cmp-form-notes {
    text-align: left;
    margin: 2em 0;
}

input {
    width: 100%;
    border-bottom: 1px solid;
    margin: 1em 0;
}

input:focus {
  outline: none;
}


.button {
    float: right;
    text-align: center;
    padding: 1em;
    background: #ff7f24;
    min-width: 150px;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    box-shadow: 0px 23px 79px -9px rgba(133,133,133,0.9);
}

.button:hover {
  box-shadow: 0px 23px 125px 9px rgba(133,133,133,1);
}


.button a {
  color: white;
  text-decoration: none;
}


#subscribe-response {
    padding: 5px;
    text-align: center;
    clear: both;
}

/* wpcf7-form */
/* contact form 7 */
.wpcf7 .screen-reader-response, .wpcf7 .wpcf7-validation-errors {display: none!important;}
.wpcf7 .wpcf7-form-control-wrap {position: relative;display;block}
.wpcf7-form .wpcf7-not-valid-tip {position: absolute; bottom: -21px; left: 0px; text-align: left; font-size: 0.7em;}
div.wpcf7-mail-sent-ng {border:none;}
div.wpcf7-response-output { border:none;margin: 0; padding: 0;}

/* slider transtion effect*/

#slider.effect-mask-transition .slide-background:nth-child(1) {
  z-index: 30;
}



@-webkit-keyframes mask-play {
  from {
    -webkit-mask-position: 0% 0;
            mask-position: 0% 0;
  }
  to {
    -webkit-mask-position: 100% 0;
            mask-position: 100% 0;
  }
}

@keyframes mask-play {
  from {
    -webkit-mask-position: 0% 0;
            mask-position: 0% 0;
  }
  to {
    -webkit-mask-position: 100% 0;
            mask-position: 100% 0;
  }
}


/* DEMO 3 */
#slider.effect-mask-transition {
  background: url(img/urban-sprite.png) no-repeat -9999px -9999px;
}

#slider .slide-background:nth-child(1) {
  z-index: 30;
}

#slider.effect-mask-transition .slide-background:nth-child(odd).hide {
  -webkit-mask: url(img/urban-sprite.png);
          mask: url(img/urban-sprite.png);
  -webkit-mask-size: 3000% 100%;
          mask-size: 3000% 100%;
  -webkit-animation: mask-play 1.4s steps(29) forwards;
          animation: mask-play 1.4s steps(29) forwards;
}

#slider.effect-mask-transition .slide-background:nth-child(even).hide {
  -webkit-mask: url(img/urban-sprite.png);
          mask: url(img/urban-sprite.png);
  -webkit-mask-size: 7400% 100%;
          mask-size: 7400% 100%;
  -webkit-animation: mask-play 1.4s steps(73) forwards;
          animation: mask-play 1.4s steps(73) forwards;
}

/* Fallback */
.no-cssmask #slider.effect-mask-transition .slide-background.hide {
  opacity: 0;
  -o-transition: opacity 1.4s ease;
  transition: opacity 1.4s ease;
  -webkit-mask: none !important;
          mask: none !important;
}

.particles-js-canvas-el {
  z-index: 100;
}


/*--------------------------------------------------------------
# MEDIA QUERIES + ANIMATION
--------------------------------------------------------------*/

@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    to {-webkit-transform:rotate(360deg);transform:rotate(360deg);}
}


@media only screen and (max-width : 1600px) {

  .content-body {
        max-height: calc(100vh - 490px);
  }

  .content-inner p {
      font-size: 18px!important;
  }
}


@media only screen and (max-width : 1366px) {
  .cmp-title {
    font-size: 3em;
  }

  .content-inner {
      -webkit-transform: translateX(80px);
          -ms-transform: translateX(80px);
          transform: translateX(80px);
  }

  #background-wrapper {
      position: absolute;
      top: 50px;
      left: 50px;
      right: 100px;
      bottom: 50px;
  }

  #counter {
      bottom: 20px;
  }

  .counter-number {
      font-size: 3.5em;
  }

  .prev, .next {
      top: .7em;
  }

  .dot-nav {
      right: 0;
      z-index: 100;
  }

  .copyright {
      margin: 0 0 1em 5em;
  }

}

@media only screen and (max-width : 1024px) {
  .half-width #background-wrapper {
      margin-left: 40%;
  }

  .content-wrapper {
      margin-right: 40%;
  }

  .content-inner {
      max-width: 60vw;
  }

  .content-body {
      max-height: calc(100vh - 570px);
  }

  .copyright {
      margin-left: calc(20px + 6em);
      max-width: 60%;
  }

  .copyright::before {
      width: 45px;
      left: -60px;
  }

  #counter {
      bottom: 85px;
      left: 0;
      right: 0;
      text-align: center;
  }
}




@media only screen and (max-width : 768px) {

  .content {
    margin-right: 0;
  }
  .copyright {
      margin: 0 0 1.2em 5em;
  }

  .button {
    margin-right: 30px;
  }
}

@media only screen and (max-width : 766px) {
  body {
      max-height: initial;
      overflow-y: auto;
  }
  .logo-wrapper {
    margin: 2em;
    text-align: center;
  }

  body.md-show {
      -webkit-perspective: initial;
      perspective: initial;
  }


  .content-wrapper,
  .full-width .content {
      margin-right: 0;
  }

  .content {
    display: block;
    height: initial; 
    padding: 2em 5em;
    z-index: 10;
  }

  .content-inner {
      max-width: 100%;
      -webkit-transform: translateX(0);
          -ms-transform: translateX(0);
          transform: translateX(0);
  }

  .logo-wrapper, .content-body > * {
      margin-left: 0;
  }

  .title-wrap {
      margin: 1em;
  }

  .cmp-title {
      font-size: 2em;
  }

  .content-body {
      max-height: initial;
      margin: 2em;
  }

  .content-line {
    display: none;
  }

  .copyright {
    position: absolute;
    bottom: -75vh;
    max-width: 100%;
  }

  .social-list {
    bottom: 5vh;
  }

  #counter {
      bottom:15vh;
      left: 100px;
      right: 100px;
      text-align: center;
  }

  #counter span {
    display: block;
    width: auto;
  }

   #background-wrapper,
  .half-width #background-wrapper {
      margin-left: 0;
      position: relative;
      top: initial;
      left: initial;
      right: initial;
      bottom: initial;
      height: 75vh;
      width: 100%;
      overflow: initial;
  }

  .dot-nav {
    position: absolute;
  }

  .prev, .next {
    top: initial;
    bottom: 68vh;
    position: absolute;
  }

  .prev {
    left: 0;
  }

  .next {
    right: 0;
  }

  .cmp-subscribe input[type="email"] {
    width: 100%;
    margin-bottom: 1em;
  }

  .cmp-subscribe input[type="submit"] {
    max-width: 100%;
    float: none;
  }


}


@media only screen and (max-width : 560px) {
  .content {
    padding: 2em 1em;
  }
}