@import url('https://fonts.googleapis.com/css?family=Titillium+Web:400,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600&display=swap');

body {
    font-size: 14px;
    line-height: 27px;
    font-family: "Poppins", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a{
    text-decoration: none;
}

a:hover{
    text-decoration: none;
    /* color: #e5312f !important; */
}

p {
    font-weight: 400;
}

h2, h3, h4, h6{
    margin: 15px 0;
}

.h4, .h5, .h6, h4, h5, h6 {
    margin-top: 25px;
    margin-bottom: 25px;
}

.color-l-grey{
    color: #969696;
}

.color-white{
    color: #fff;
}

.color-grey{
    color: #353535;
}

.color-red{
    color: #e5312f;
}

.color-default{
    color: #212529;
}

section:not(.slider-section) {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

section.about-section{
    margin: 0px !important;
}

section .heading {
    text-align: center;
    font-weight: 700;
    font-size: 45px;
    line-height: 48px;
    margin: 1rem 0 2rem;
}

#navbarCollapse > ul > li > a {
    color: #373737;
}

#navbarCollapse > ul > li > a {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    padding: 0 19px;
    font-size: 13px;
    color: #373737;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    /* letter-spacing: 1px; */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.social-link {
    margin-left: 15px;
}

.social-link .nav-link{
    padding: 0 5px !important;
}

.social-link .fa{
    font-size: 1.1em;
}

footer{
    margin-top: 80px;
}

/* #navbarCollapse > ul > li > a {
    font-family: "Titillium Web",serif;
    font-size: 13px;
    line-height: 24px;
    text-transform: uppercase;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    transition: all .2s ease-out;
} */

@media only screen and (max-width: 1400px){
    #navbarCollapse > ul > li > a {
        padding: 0 16px;
    }
}

.rotate-box{
    display: none;
}

.rotate-box h6 {
    color: #777;
    font-size: 13px;
    line-height: 15px;
    font-weight: 600;
    text-align: center;
}

.rotate-box h6 span {
    color: #e9322e;
}

.about-section .about-image{
    padding: 0px;
}

.about-section .about-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    max-height: 335px;
}

.about-section .about-wrapper{
    /* padding: 0px 100px; */
}

.about-section .heading{
    line-height: 30px;
    font-size: 26px;
    margin: 1.2rem 0;
    text-align: left;
}

.about-section .about-text{
    margin: 0px 0 30px;
    /* text-align: center; */
}

/*---------------------------------------
   Flip Card         
-----------------------------------------*/

.box-scene {
    -webkit-perspective: 700;
    width: 200px;
    height: 133px;
    margin: auto;

    z-index: 999;
}
.box-scene .box {
	
     animation:Autoflip linear 8s infinite;
}

@keyframes Autoflip
{
	0% {-webkit-transform: rotateY(0deg);}
	50%{-webkit-transform: rotateY(-90deg);}
	100%{-webkit-transform: rotateY(0deg)}
}

.box {
    width: 200px;
    height: 133px;
    position: relative;
    -webkit-transform-style: preserve-3d;
    -webkit-transition: all 0.4s ease-out;
    -webkit-transform-origin: 90px 90px -90px;
    /* float: left; */
    /* margin: 30px auto; */
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: visible; 
    -webkit-transform-origin: 0 0;
}

.front {
    -webkit-transform: rotateY(0deg);
    z-index: 2;
    /* background: #393a3c; */
    background: #afafac;
    color: #e9322e;
    display: flex;
    justify-content: center;
}

.front h6{
    text-shadow: 1px 1px #000;
    padding: 10px;
    text-align: center;
    margin: auto;
    font-size: 0.875rem;
}

.side {
    background: #777;
    -webkit-transform: rotateY(90deg);
    z-index: 1;
    left: 200px;
}

.side p {
	color: #FFFFFF;
}

.services .services-row{
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}

.custom-btn{
    background: #e5312f;
    border: none;
    border-radius: 0px;
    font-weight: 500;
    font-size: 18px;
    padding: .175rem .65rem;
}

.no-hover:hover{
    color: #fff !important;
}

.contact-section {
    margin: 0px;
    /* padding: 0px 0px; */
}

.contact-section .heading{
    margin: 10px 0px;
    font-size: 30px;
    line-height: 37px;
    text-align: left;
}

.contact-section .sub-heading{
    font-size: 21px;
    font-weight: 600;
    line-height: 28px;
    margin: 10px 0px;
}

.contact-section ul{
    list-style: none;
    padding: 0px;
}

.contact-section input, .contact-section textarea{
    padding: 13px 24px;
    border-radius: 0px;
    font-size: 14px;
    border: 2px solid #ebebeb;
    -webkit-transition: border-color .2s ease-in-out;
    -moz-transition: border-color .2s ease-in-out;
    transition: border-color .2s ease-in-out;
}

.contact-section input:focus, .contact-section textarea:focus{
    border-color: #000;
    box-shadow: none;
}

.contact-section ul li:first-child{
    margin-bottom: 15px;
}

.contact-section .btn-contact{
    border: none;
    text-transform: uppercase;
    background-color: #e5312f;
    font-family: "Titillium Web",serif;
    letter-spacing: 1px;
    font-weight: 600;
    -webkit-transition: background-color .2s ease-in-out;
    -moz-transition: background-color .2s ease-in-out;
    transition: background-color .2s ease-in-out;
}

.contact-section .btn-contact:hover{
    background-color: #000;
}

.contact-section .btn-contact::focus{
    box-shadow: none;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: #ed1c24;
    /* background: #1f1f1f; */
    color: #fff;
    border-top: 1px solid #1f1f1f;
    z-index: 999999;
}

.fixed-footer span {
    color: #fff;
}

.fixed-footer h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 500;
}

.fixed-footer a {
    color: #fff;
}

.fixed-footer .separator{
    padding-left: 15px;
    padding-right: 15px;
}

.secondary-footer{
    background-color: #363636;
}

.secondary-footer .inner{
    padding: 0 35px;
}

.secondary-footer > div:first-child{
    /* padding: 25px 20px 55px 20px; */
    padding: 30px 20px;
}

.secondary-footer .company-desc{
    margin: 1.2rem 0rem 0rem;
    font-weight: lighter;
}

.secondary-footer .company-details{
    list-style: none;
    padding: 0px;
    color: #ffffff;
    font-weight: lighter;
    margin-bottom: 0rem;
}

::-moz-selection { /* Code for Firefox */
    color: #fff;
    background: #e5312f;
  }
  
::selection {
    color: #fff;
    background: #e5312f;
}

/* Portfolio */

.portfoio-page-header{
    background: #1f1f1f;
    padding: 20px 60px;
}

.portfoio-page-header-inner{
    font-weight: lighter;
    margin-top: 0px;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.project-terms {
    text-align: center;
    margin-top: 5px;
    margin: 30px 0px;
    display: block;
  }
  .project-terms a {
    display: inline-block;
    /* padding: 0 25px; */
    padding: 0 10px;
  }
  .project-terms a h4 {
    display: inline-block;
    position: relative;
    /* color: #555;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; */
    background: #fff;
    padding: .275rem .65rem;
    margin: 0px;
    color: #353535;
    border: 1px solid #000;
    font-size: 18px;
    font-weight: 500;
    z-index: 9;
  }
  .project-terms a h4:before {
    /* content: "";
    width: 0px;
    height: 3px; */
    /* background: rgba(235, 205, 30, 0.9); */
    /* -webkit-transition: all 0.6s ease 0s;
            transition: all 0.6s ease 0s; */
    /* position: absolute;
    top: 0px;
    left: 0;
    z-index: -1;
    top: 5px; */
    /* background: #e5312f;
    color: #fff; */
  }
  .project-terms a:hover h4 {
    background: #e5312f;
    color: #fff;
    border: 1px solid #fff;
    -webkit-transition: all 0.6s ease 0s;
            transition: all 0.6s ease 0s;
    /* content: "";
    width: 100%;
    height: 3px;
    background: rgba(235, 205, 30, 0.9); */
  }
  .project-terms a.current h4 {
    background: #e5312f;
    color: #fff;
    border: 1px solid #fff;
    /* color: #333; */
    
  }
  .project-terms a.current h4:before {
    /* content: "";
    width: 100%;
    height: 3px;
    background: rgba(235, 205, 30, 0.9); */
  }

  .projectContainer .element-item {
    width: 25%;
    position: relative;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
  }

  .projectContainer .element-item .project-info {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-transition: all 0.6s ease 0s;
            transition: all 0.6s ease 0s;
    top: 0;
    left: 0;
  }
  .projectContainer .element-item .project-info a {
    display: block;
    position: relative;
    top: 40.5%;
    -webkit-transform: translateY(-50px);
        -ms-transform: translateY(-50px);
            transform: translateY(-50px);
    text-align: center;
    -webkit-transition: all 0.6s ease 0s;
            transition: all 0.6s ease 0s;
  }

  .projectContainer .element-item .project-info a.cateProject {
    font-size: 15px;
    line-height: 18px;
    color: #555;
    position: relative;
    top: 41%;
    -webkit-transform: translateY(50px);
        -ms-transform: translateY(50px);
            transform: translateY(50px);
    text-align: center;
    display: block;
    -webkit-transition: all 0.6s ease 0s;
            transition: all 0.6s ease 0s;
  }
  .projectContainer .element-item .project-info a.cateProject:hover {
    color: #222;
  }
  .projectContainer .element-item:hover .project-info {
    opacity: 1;
    /* background: rgba(235, 205, 30, 0.95); */
    background: rgba(53, 53, 53, 0.95);
  }
  .projectContainer .element-item:hover .project-info a {
    color: #e5312f;
    -webkit-transform: translateY(0%);
        -ms-transform: translateY(0%);
            transform: translateY(0%);
  }

  .projectContainer .element-item:hover .project-info a h4{
      margin: 0px;
  }

  .projectContainer .element-item:hover .project-info a.cateProject {
    -webkit-transform: translateY(0%);
        -ms-transform: translateY(0%);
            transform: translateY(0%);
  }

  /* Custom Owl Css */

  .carousel-wrap {
    /* width: 1200px; */
    width: 96%;
    margin: auto;
    position: relative;
  }
  .owl-carousel .owl-nav{
    overflow: hidden;
    height: 0px;
  }
 
  .owl-theme .owl-dots .owl-dot.active span, 
  .owl-theme .owl-dots .owl-dot:hover span {
      background: #2caae1;
  }
 
 
  .owl-carousel .item {
      text-align: center;
  }
  .owl-carousel .nav-btn{
      height: 47px;
      position: absolute;
      width: 26px;
      cursor: pointer;
      top: 100px;
  }
 
  .owl-carousel .owl-prev.disabled,
  .owl-carousel .owl-next.disabled{
    pointer-events: none;
    opacity: 0.2;
  }
 
  .owl-carousel .prev-slide{
      background: url(img/nav-icon.png) no-repeat scroll 0 0;
      left: -33px;
  }
  .owl-carousel .next-slide{
      background: url(img/nav-icon.png) no-repeat scroll -24px 0px;
      right: -33px;
  }
  .owl-carousel .prev-slide:hover{
     background-position: 0px -53px;
  }
  .owl-carousel .next-slide:hover{
    background-position: -24px -53px;
  }
 
  span.img-text {
    text-decoration: none;
    outline: none;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    cursor: pointer;
    width: 100%;
    font-size: 23px;
    display: block;
    text-transform: capitalize;
  }
  span.img-text:hover {
    color: #2caae1;
  }

  @media only screen and (max-width: 990px){
    .services .services-row{
        margin: 0px;
    }

    .services .services-row > div{
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .social-link{
        margin-left: 0px
    }

    .social-link .nav-link:first-child{
        padding:0 5px 0px 16px !important;
    }
  }

  @media only screen and (max-width: 768px){
    h2{
        font-size: 1.4rem;
    }
    .about-section .about-wrapper{
        /* padding: 0px 30px; */
    }
    .about-section .about-text{
        margin-bottom: 2.625rem;
    }
    .secondary-footer .company-desc{
        font-size: 0.75rem;
        line-height: 21px;
    }
    .projectContainer .element-item {
        width: 33.3%;
    }
    .portfoio-page-header{
        padding-left: 15px;
    }
    .owl-carousel .nav-btn{
        top: 60px;
    }
    .owl-carousel .next-slide{
        right: -25px;
    }
    .owl-carousel .prev-slide{
        left: -25px;
    }
  }

  @media only screen and (max-width: 767px){
    .secondary-footer .inner:last-child{
        margin-top: 1.5rem;
    }
    .fixed-footer h3{
        font-size: 15px;
    }
    .fixed-footer .separator{
        padding-left: 8px;
        padding-right: 8px;
    }
    .hide-sm-footer{
        display: none;
    }
    .projectContainer .element-item {
        width: 50%;
    }
    .project-terms a{
        padding: 0 5px;
    }
    .project-terms a h4{
        font-size: 15px;
    }
    .title-project{
        font-size: 1.2rem;
    }
    .owl-carousel .nav-btn{
        top: 125px;
    }
    .owl-carousel .next-slide{
        right: -20px;
    }
    .owl-carousel .prev-slide{
        left: -20px;
    }
  }

  .carousel-inner{
    width:100%;
    max-height: 670px !important;
  }