/* ----------------------------------
Jolpai
Version: 1.0
Author: DynamicWebLab


  [Table of Contents]
  --------------------------------------------------
  - body
    - Typography
    - Common
    - Navigation
    - Homepage
      - Intro
      - Demo
      - Responsive
      - Features
      - Footer
    - Media Queries
      - 992px
      - 768px
      - 480px
    - Preloader

==================================================*/

body {
    background: #fff;
    height: 100%;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #333;
}


/*==================================================
  Typography
  ==================================================*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lato', sans-serif;
    color: #000;
    font-weight: 700;
    letter-spacing: 2px;
}

h1 {
    line-height: 60px;
}

.logo span{
  color: #f35b68;
}
a.logo:hover{
  text-decoration: none;
  opacity: 0.8;
  color: #fff;
}

.headline {
    margin-bottom: 90px;
    position: relative;
}
.headline h2 {
    font-size: 60px;
    line-height: 1;
    margin: 0;
}

.section-title {
    font-size: 36px;
    line-height: 60px;
}

.white {
    color: #fff;
    margin-top: 0;
}

.color {
    color: #ffffff;
}

a {
    color: #F9ED32;
}

a:hover {
    color: #D7DF23;
}

a,
a:active,
a:focus {
    outline: none;
}

/*------------------
	Preloder
--------------------*/

#preloder {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999999;
  background: #000;
}

@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);
  }
  50% {
    -webkit-transform: rotate(180deg) scale(0.6);
    transform: rotate(180deg) scale(0.6);
  }
  100% {
    -webkit-transform: rotate(360deg) scale(1);
    transform: rotate(360deg) scale(1);
  }
}

.loader {
  width: 26px;
  height: 26px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -13px;
  margin-left: -13px;
  -webkit-transform: translateY(-25px);
  transform: translateY(-25px);
}

.sk-cube-grid {
  width: 40px;
  height: 40px;
  margin: 100px auto;
}

.sk-cube-grid .sk-cube {
  width: 33%;
  height: 33%;
  background-color: #f35b68;
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
          animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}
.sk-cube-grid .sk-cube1 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  }
}

@keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  }
}


/*==================================================
  Common
  ==================================================*/

section {
    position: relative;
}

.container {
    position: relative;
}

.container-fluid {
    position: relative;
    z-index: 9;
}

.wrapper {
    padding-top: 120px;
    padding-bottom: 120px;
    position: relative;
}

.demo h3 {
    color: #252525;
    text-transform: none;
    font-size: 36px;
    margin-bottom: 36px;
    line-height: 1;
}

.btn-primary {
    background: #252525 none repeat scroll 0 0;
    border: 0 none;
    border-radius: 50px;
    color: #000;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 8px 30px;
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background: #f35b68;
    color: #ffffff;
    text-decoration: none;
    border: 0 none;
}

.btn-secondary {
    background: #f35b68 none repeat scroll 0 0;
    border-radius: 50px;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
    margin-top: 15px;
    padding: 10px 30px;
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    background: #252525;
    color: #ffffff;
}

.form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-bottom: 2px solid #f5f5f5;
    border-radius: 0;
    font-size: 15px;
}

ul.element-scroll-parallax li {
    list-style: none;
    position: absolute;
    z-index: 999;
}

.margin-0 {
    margin: 0 !important;
}

.overflow-h {
    overflow: hidden;
}


/*==================================================
Intro Section
==================================================*/

#intro {
    background: url(../img/demo/intro.jpg) fixed no-repeat;
    background-size: cover;
    background-position: center;
    height: 600px;
    color: #fff;
    text-align: center;
}

#intro .green-box {
    background: transparent;
    height: 375px;
    width: 250px;
    border: 5px solid rgba(20, 234, 112, .15);
    border-top: none;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
}
.logo {
    font-size: 50px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bolder;
}
.page-headline {
    margin: 60px 0;
}
.template-info {
    position: relative;
    text-align: center;
    margin-top: 120px;
}

.template-info .logo img {
    margin: 20px auto;
}

.template-info .page-headline h1 span {
    display: block;
    color: #ffffff;
}

.template-info a.btn-primary {
    position: absolute;
    bottom: -145px;
    display: inline-block;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.screens {
    bottom: -100px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 100%;
}

.screens span {
    position: absolute;
    top: 90px;
    display: inline-block;
}

.screens span:nth-child(1) {
    left: calc(50% - 510px);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    margin-top: 30px;
}

.screens span:nth-child(2) {
    left: calc(50% - 293px);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.screens span:nth-child(3) {
    right: calc(50% - 293px);
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    z-index: 1;
}

.screens span:nth-child(4) {
    right: calc(50% - 510px);
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    margin-top: 30px;
}

.screens span:nth-child(5) {
    right: calc(50% - 5px);
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    top: 0;
    z-index: 2;
}

.screens span img {
    position: relative;
    box-shadow: 5px 5px 35px rgba(0, 0, 0, .3);
}

.screens span:nth-child(5) img {
    box-shadow: none;
}


/*==================================================
Demos Section
==================================================*/

#demos {
    text-align: center;
}

.demo {
    position: relative;
    margin-bottom: 60px;
}


.demo.inverse::after {
    left: 0;
    text-align: right;
}

.demo .demo-info {
    text-align: right;
}

.demo.inverse .demo-info {
    text-align: left;
}

.demo-info .demo-number {
  color: #2fccd0;
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 105px;
  font-weight: 700;
  line-height: 75px;
  margin-top: 30px;
}

.demo .demo-img a img {
    -webkit-transition: all 1s;
    transition: all 1s;
    display: inherit;
}

.demo.inverse .demo-img {
    text-align: left;
}

.demo-img a img:hover {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
}

ul.memphis-parallax {
    margin: 0;
    padding: 0;
}

ul.memphis-parallax li {
    list-style: none;
    position: absolute;
    z-index: 0;
}

.demo-info h6 {
    font-size: 16px;
    text-transform: capitalize;
}


/*DEMO TEXT*/

.slider-demo.demo::after {
    content: "SLIDER";
}

.video.demo::after {
    content: "VIDEO";
}

.cooking.demo::after {
    content: "COOKING";
}

.background-slider.demo::after {
    content: "SLIDE SHOW";
}

.perticle.demo::after {
    content: "PERTICLE";
}

.parallax.demo::after {
    content: "PARALLAX";
}

.blog.demo::after {
    content: "BLOG";
}

.s_blog.demo::after {
    content: "SINGLE POST";
}


/*==================================================
 Mobile Responsive Section
==================================================*/

#responsive {
    background: rgba(0, 0, 0, 0.8) none repeat scroll 0 0;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 450px;
    overflow: hidden;
    text-align: center;
}

.res-contents {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

#responsive .btn.btn-primary {
  padding: 10px 30px;
}
/* Parallax */

#responsive ul.section-parallax {
    margin: 0;
    padding: 0;
}

#responsive ul.section-parallax li {
    list-style: none;
    position: absolute;
    z-index: -1;
}


/*==================================================
 Features Section
==================================================*/

#features {
    text-align: center;
}

.feature-item {
    background: #fff none repeat scroll 0 0;
    border-radius: 40px 0;
    box-shadow: 0 0 4px;
    margin-bottom: 30px;
    padding: 10px;
}

.feature-item span {
    color: #000000;
    font-size: 50px;
    margin-top: -10px;
}


/*==================================================
 Footer
==================================================*/

#footer {
    background: #000;
}

#footer .bg {
    background: url(../img/demo/intro.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    height: 300px;
}

.footer-contents {
    padding-left: 15px;
    padding-right: 15px;
    position: absolute;
    text-align: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
    z-index: 9;
}

.footer-contents .btn.btn-primary {
    padding: 10px 30px;
}

.relative {
    position: relative;
}

.footer-social-boomark ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-copyright ul li {
    display: inline;
}

.footer-copyright ul li a {
    color: #fff;
    display: inline-block;
    height: 40px;
    width: 40px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.footer-copyright a {
    color: #fff;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.footer-copyright a:hover {
    color: #ca3d26;
}

.footer-copyright {
    color: #fff;
    letter-spacing: 2px;
    padding: 20px 0;
    text-align: center;
}


/*==================================================
 CSS for width 992px
==================================================*/

@media only screen and (max-width: 1240px) {
    #intro {
        height: 540px;
    }
    .screens span {
        top: 60px;
    }
    .screens span:nth-child(1) {
        left: calc(50% - 395px);
    }
    .screens span:nth-child(2) {
        left: calc(50% - 225px);
    }
    .screens span:nth-child(3) {
        right: calc(50% - 225px);
    }
    .screens span:nth-child(4) {
        right: calc(50% - 395px);
    }
    .screens span img {
        width: 150px;
    }
    .screens span:nth-child(5) img {
        width: 340px;
    }
}

@media only screen and (max-width: 992px) {
    .screens span:nth-child(1),
    .screens span:nth-child(4) {
        display: none;
    }
}


/*==================================================
 CSS for width 768px
==================================================*/

@media only screen and (max-width: 767px) {
    nav.nav-center-aligned .navbar-collapse {
        text-align: left;
    }
    nav.nav-center-aligned .navbar-nav li::after {
        content: none;
    }
    nav.nav-center-aligned .navbar-collapse {
        max-height: 100%;
    }
    #intro {
        height: 480px;
    }
    #intro .green-box {
        display: none;
    }
    .template-info .page-headline h1 {
        font-size: 28px;
        line-height: 40px;
    }
    .screens {
        top: 385px;
    }
    .screens span:nth-child(2) {
        left: calc(50% - 150px);
    }
    .screens span:nth-child(3) {
        right: calc(50% - 150px);
    }
    .screens span:nth-child(5) {
        right: calc(50% - 3px);
    }
    .screens span img {
        width: 100px;
    }
    .screens span:nth-child(5) img {
        width: 240px;
    }
    .demo::after,
    .demo.inverse::after {
        height: 45%;
    }
    .demo .demo-info {
        padding-right: 22%;
    }
    .demo.inverse .demo-info {
        padding-left: 22%;
    }
    .demo::after {
        font-size: 1.5em;
        letter-spacing: 7px;
    }
    .container-fluid {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        height: 70%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}


/*==================================================
 CSS for width 480px
==================================================*/

@media only screen and (max-width: 480px) {
    #intro {
        height: 510px;
    }
    .screens {
        top: 450px;
    }
    .screens span {
        top: 30px;
    }
    .screens span:nth-child(2) {
        left: calc(50% - 110px);
    }
    .screens span:nth-child(3) {
        right: calc(50% - 110px);
    }
    .screens span img {
        width: 70px;
    }
    .screens span:nth-child(5) img {
        width: 160px;
    }
    .template-info a.btn-primary {
        padding: 5px 15px;
    }
}


/*==================================================
 Preloader CSS
==================================================*/

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: 9999999;
}

.loder-content {
    height: 50px;
    left: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.section-parallax img {
    left: 0;
    margin: auto;
    max-width: 100%;
    right: 0;
    top: 0;
}

nav.navbar.navbar-default.navbar-fixed-top.nav-center-aligned {
    display: none;
}

.ripple::after {

  background: rgba(52,128,183,1);
  background: -moz-linear-gradient(top, rgba(52,128,183,1) 0%, rgba(52,128,183,1) 7%, rgba(69,163,238,1) 47%, rgba(71,167,245,1) 52%, rgba(33,150,243,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(52,128,183,1)), color-stop(7%, rgba(52,128,183,1)), color-stop(47%, rgba(69,163,238,1)), color-stop(52%, rgba(71,167,245,1)), color-stop(100%, rgba(33,150,243,1)));
  background: -webkit-linear-gradient(top, rgba(52,128,183,1) 0%, rgba(52,128,183,1) 7%, rgba(69,163,238,1) 47%, rgba(71,167,245,1) 52%, rgba(33,150,243,1) 100%);
  background: -o-linear-gradient(top, rgba(52,128,183,1) 0%, rgba(52,128,183,1) 7%, rgba(69,163,238,1) 47%, rgba(71,167,245,1) 52%, rgba(33,150,243,1) 100%);
  background: -ms-linear-gradient(top, rgba(52,128,183,1) 0%, rgba(52,128,183,1) 7%, rgba(69,163,238,1) 47%, rgba(71,167,245,1) 52%, rgba(33,150,243,1) 100%);
  background: linear-gradient(to bottom, rgba(52,128,183,1) 0%, rgba(52,128,183,1) 7%, rgba(69,163,238,1) 47%, rgba(71,167,245,1) 52%, rgba(33,150,243,1) 100%);
  content: "";
  height: 100%;
  left: 0;
  opacity: 0.8;
  position: absolute;
  top: 0;
  width: 100%;
}
