/*
Template: Hallooou HTML5 Responsive template
Author: Mauritius D'Silva <hello@mauritiusdsilva.com>

/* 2:   Default styles
/* ---------------------------------------------- */

html,
body {
    width: 100%;
    height: 100%;
}



.highlight{
    /*font-weight: 700;*/
    color: rgba(254,82,76, 1); /* Primary color, can be changed via colors.css */
}


/* 3:   Common section styles
/* ---------------------------------------------- */

.caption{
    font-weight: 100;
    font-size: 20px;
}

.text-center{
    text-align: center;
}

.align-middle{
    margin:0 auto;
}

.sans-border{
    border-radius: 0;
}

.sans-shadow{
    box-shadow: none;
}

blockquote { 
    display: block;
    font-size: 22px;
    position: relative; 
    padding-left: 90px;
    color: rgba(254,82,76, 1);
    border-color: rgba(254,82,76, 1);
}
 
blockquote:before {
    content: "\f10d";
    font-size: 55px; 
    font-family: FontAwesome;
    position: absolute;
    top: -4px;
    left: 20px;
}

blockquote span:before{
    content:'--';
    padding: 0 10px 0 0;
}

blockquote span{
    padding: 10px 0;
    display: block;
    font-size: 16px;
    color: #999;
}

/* 4:   Navigation
/* ---------------------------------------------- */

.navbar-custom {
    margin-bottom: 0;
    text-transform: none;
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
    -webkit-transition: background .5s ease-in-out;
   -moz-transition: background .5s ease-in-out;
        transition: background .5s ease-in-out;
}

.navbar-custom.top-nav-collapse{
    background: #241c43; /* Primary color, can be changed via colors.css */
}

.navbar-custom .navbar-brand {
    font-weight: 600;
    font-size: 25px;
    padding: 0;
    margin: 0;
}

.navbar-custom .navbar-brand span.brand-logo{
    display: inline-block;
    padding: 14px 0;
    margin: 0 16px;
}


.navbar-custom .navbar-brand:focus {
    outline: 0;
}

.navbar-custom .navbar-brand .navbar-toggle {
    padding: 2px 6px;
    color: #fff;
}

.navbar-custom .navbar-brand .navbar-toggle:focus,
.navbar-custom .navbar-brand .navbar-toggle:active {
    outline: 0;
}

.navbar-custom a {
    color: rgba(254,82,76, 1); /* Primary color, can be changed via colors.css */
}

.navbar-custom .nav li a {
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.navbar-custom .nav li a:hover {
    outline: 0;
    color: rgba(255, 255, 255, .8);
    background-color: transparent;
}

.navbar-custom .nav li a:focus,
.navbar-custom .nav li a:active {
    outline: 0;
    background-color: transparent;
}

.navbar-custom .nav li.active {
    outline: 0;
}

.navbar-custom .nav li.active a {
    background-color:transparent;
}

.navbar-custom .nav li.active a:hover {
    color: #fff;
}


.quatre80{ display:block}
.quatre80Actif{ display:none}
.mobileNav{display:none}

/* Custom overlay navigation
/* ---------------------------------------------- */
.button_container {
    position: relative;
    margin-top: 24px;
    height: 28px;
    width: 28px;
    cursor: pointer;
    z-index: 999;
    -webkit-transition: opacity .25s ease;
            transition: opacity .25s ease;
}


/* Set the middle hamburger bar's opacity to 0  */
.button_container.active .middle {
    opacity: 0;
    background: #FFF;
}

/* Animate the bottom hamburger bar */
.button_container.active .bottom {
    -webkit-transform: translateY(-8px) translateX(0) rotate(-45deg);
        -ms-transform: translateY(-8px) translateX(0) rotate(-45deg);
            transform: translateY(-8px) translateX(0) rotate(-45deg);
    background: #FFF;
}

.button_container span {
    background: #fff;
    border: none;
    height: 1px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
    cursor: pointer;
}

.button_container span:nth-of-type(2) {
    top: 8px;
}

.button_container span:nth-of-type(3) {
    top: 16px;
}

/* The overlay */
.overlay {
    position: fixed;
    display: block; 
    background: #241c43; /* Primary color, can be changed via colors.css */
    top: 0;
    border: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .35s, visibility .35s, height .35s;
            transition: opacity .35s, visibility .35s, height .35s;
    overflow: auto;
}

.overlay.open {
    opacity: .95;
    visibility: visible;
    height: 100%;
}

.overlay.open li {
    -webkit-animation: fadeInRight .5s ease forwards;
            animation: fadeInRight .5s ease forwards;
    -webkit-animation-delay: .35s;
        animation-delay: .35s;
}

.overlay.open li:nth-of-type(1) {
    -webkit-animation-delay: .40s;
            animation-delay: .40s;
}

.overlay.open li:nth-of-type(2n) {
    -webkit-animation-delay: .50s;
            animation-delay: .50s;
}

.overlay nav {
    position: relative;
    height: 50%;
    top: 50%;
    font-size: 30px;
    font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
    text-transform: none;
    font-weight: 600;
    text-align: center;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
}

.overlay ul li {
    display: block;
    height: 15%;
    height: calc(100% / 8);
    min-height: 65px;
    position: relative;
    opacity: 0;
}

.overlay ul li a {
    display: block;
    position: relative;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {
    width: 50%;
}

/* Link underline on hover */
.overlay ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: #fff;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-transition: .15s;
            transition: .15s;
}

/* Animate the top hamburger bar */
.button_container.active .top {
    -webkit-transform: translateY(8px) translateX(0) rotate(45deg);
        -ms-transform: translateY(8px) translateX(0) rotate(45deg);
            transform: translateY(8px) translateX(0) rotate(45deg);
    background: #FFF;
}

/* Set the middle hamburger bar's opacity to 0  */
.button_container.active .middle {
    opacity: 0;
    background: #FFF;
}

/* Animate the bottom hamburger bar */
.button_container.active .bottom {
    -webkit-transform: translateY(-8px) translateX(0) rotate(-45deg);
        -ms-transform: translateY(-8px) translateX(0) rotate(-45deg);
            transform: translateY(-8px) translateX(0) rotate(-45deg);
    background: #FFF;
}



/* 5:   PAGE SECTIONS
/* ---------------------------------------------- */

/*      5.1: Hero unit (Main slider)
/* ---------------------------------------------- */

.intro-carousel {
    width: 100%;
    /*height: 100%;*/
    color: #fff;
    background:#222;
}

.carousel-caption{
    text-shadow: none;
    bottom: 33%;   
    right: 5%;
    left: 5%;
    padding: 0 256px 0;
}

.carousel-caption h1{
    padding: 0;
    margin: 10px 0;
    color: #fff;
    line-height:42px;
} 

.carousel-caption .intro-text{
    padding: 0;
}

.carousel-caption .btn{
    margin:0 10px;
    border-radius: 50px;
}

.carousel-control{
    top: 50%;
    width:4%;
    height:7%;
    margin: 0;
    text-shadow: none;
}

.carousel-control.left,
.carousel-control.right{
    background: none;
    z-index: 100;
}

.carousel-control.left:hover,
.carousel-control.right:hover{
    background: rgba(254,82,76, 0.9); /* Primary color, can be changed via colors.css */
}

#parallax-slide{
    background: url(../images/cover-three.jpg) 50% 0 no-repeat;
    -webkit-background-size: cover;
       -moz-background-size: cover;
            background-size: cover;
         -o-background-size: cover;
}

.overlay-detail {
    width: 100%;
    height: 100%;
    position: absolute;
    /*background: #000;*/ /* Set to black, can be changed via colors.css */
    opacity: 0.5;
    left: 0;
    top: 0;
    z-index: 1;
}

.mouse {
    width: 25px;
    height: 45px;
    border: 1px solid #fff;
    position: absolute;
    bottom: 40px;
    left: 50%;
    margin-left: -12.5px;
    border-radius: 12px;
}

.mouse:after {
    content: "";
    position: absolute;
    height: 5px;
    width: 5px;
    background-color: #fff;
    border-radius: 100%;
    left: 50%;
    margin-left: -2.5px;
    top: 10px;
     -webkit-animation: rotateplane 1.2s infinite ease-in-out;
             animation: rotateplane 1.2s infinite ease-in-out;
}


/* Full Slider HTML Template via www.startbootstrap.com
/* ---------------------------------------------- */

/*!
 * Start Bootstrap - Full Slider HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

.carousel,
.item,
.active {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

/* Background images are set within the HTML using inline CSS, not here */
.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
       -moz-background-size: cover;
            background-size: cover;
         -o-background-size: cover;
}


/* Hero unit background video
/* ---------------------------------------------- */


.video-section{
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../images/youtube-video-cover.jpg) no-repeat bottom center scroll;
    -webkit-background-size: cover;
       -moz-background-size: cover;
            background-size: cover;
         -o-background-size: cover;
    background-attachment: fixed;
}

.video-section .bgndVideo{
    width: 100%;
    height: 100%;
}


.video-section .buttonBar{display:none;}
.player {font-size: 1px;}

.video-controls,
.html5-video-controls {
    display: none;
    font-size: 16px;
    position: absolute;
    bottom: 8%;
    right: 5%;
    z-index: 99;
    opacity: .4;
}

.video-controls-visible {
    display: inline;
}

.video-controls .fa,
.html5-video-controls .fa {
    color: #fff;
    padding: 5px;
    width: 25px;
}

/* HTML 5 video
/* ---------------------------------------------- */
video#html5-video {
    position: relative;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    background: url(../images/typing-on-mac.jpg) no-repeat bottom center scroll;
    -webkit-background-size: cover;
       -moz-background-size: cover;
            background-size: cover;
         -o-background-size: cover;
    background-attachment: fixed;
}

/* fix for IE8 refer to conditional comment in the <head> of the page*/
video {
    display: block;
}


/*      5.2: About section
/* ---------------------------------------------- */



.products-container p{
    color:#fff;
}

.products-container span.icon{
    display: inline-block;  
    padding: 18px;
    margin: 0 0 22px 0;
    min-width: 80px;
    color: #fff;
    background: rgba(254,82,76, 1); /* Primary color, can be changed via colors.css */
    text-align: center;
    border-radius: 50px;
    width: 80px;
    height: 80px;
}


.product-item{
    padding: 10px 0;
}
.product-item h3{
    margin: 0;
    padding: 0 10px;
    font-size: 20px;
}

.product-item p{
    font-size: 16px;
    padding: 0 10px;
}







/* Carousel navigation
/* ---------------------------------------------- */

.project-navigation .btn-next,
.project-navigation .btn-prev {
    position: absolute;
    width: 40px;
    height: 70px;
    top: 40%;
    margin-top: -40px;
    background: rgba(59,59,59,0.9);
    color: #fff;
    line-height: 80px;
    text-align: center;
    font-size: 18px;
    opacity: 0;
    z-index: 997;
    cursor: pointer;
}

.project-navigation .btn-prev {
    left: 0;
}

.project-navigation .btn-next {
    right: 0;
}

.project-navigation a:hover {
    width: 60px;
    background: rgba(254,82,76, 1); /* Primary color, can be changed via colors.css */
}

.project-container:hover .project-navigation .btn-prev,
.project-container:hover .project-navigation .btn-next {
    opacity: 1;
}


/*       5.7: Clients section
/* ---------------------------------------------- */



/* change client logo slider pagination color to white for readibility */
.client-slider.owl-theme .owl-controls .owl-page span{
    background: rgba(255, 255, 255, .5) !important;
}


/*       5.8: Contact section
/* ---------------------------------------------- */

.contact-form,
.contact-address{
    padding-top: 60px;
}

.contact-form .form-group{
    padding: 5px 0;
    min-height: 100%;
}

.contact-form .form-group label{
    font-weight: 600;
}

.contact-form .form-group button{
    display: inline-block;
    min-height: 100%;
}

.contact-form .form-group input,
.contact-form .form-group textarea{
    border-radius: 0;
    padding: 20px 10px;
    min-width: 100%;
    font-size: 16px;
}

.contact-form .form-group textarea{
    padding-top: 10px;
}


.contact-form .form-group .btn-default{
    min-width: 100%;
}

.contact-form .form-group input[type="email"],
.contact-form .form-group input[type="phone"],
.contact-form .form-group input[type="text"] 
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 42px; /* Increase height as required */
    margin-bottom: 0px;
    padding: 0 10px; /*  Now only left & right padding */

}

.contact-address ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-address ul li{
    font-size: 16px;
}

.contact-address ul li span{
    font-weight: 600;
    display: inline-block;
    min-width: 80px;
}

.contact-form label.error,
.contact-form label.error.valid{
    color:#f00;
    padding-top: 10px;
}

.contact-form label.error.valid{
    color:#018804;
}

.form-alerts .alert{
    border-radius: 0;
    border: 0;
}


.form-alerts .alert.alert-success,
.form-alerts .alert.alert-danger{
    color: #fff;
    background: #85ceab;
}

.form-alerts .alert.alert-danger{
    background: #fe8080;
}



/* 6:   Our achievements section
/* ---------------------------------------------- */

.counter-section {
    text-align: center;
    background: url(../images/counter_bg.jpg) 50% 0 no-repeat scroll;
    -webkit-background-size: cover;
       -moz-background-size: cover;
            background-size: cover;
         -o-background-size: cover;
}

.counter-section strong {
    display: block;
    font-weight: 600;
    font-size: 60px;
    line-height: 48px;
    color: #fff;
}
span.count-description {
    display: block;
    color: #fff;
    font-size: 20px;
    line-height: 40px;
    text-transform: capitalize;
    padding-top: 10px;
}

.counter-wrap{
    padding:50px 0;

}

.counter-section .alternate{
   background-color: rgba(254,82,76, .2);
}


/* 7.   Call to action section  (one or two columns)
/* ---------------------------------------------- */







/* 11.  CSS3 Animations
/* ---------------------------------------------- */

/* Hero unit mouse animation */

@-webkit-keyframes rotateplane { 
    0% {
        -webkit-transform: translateY(-2px)
    }

    100% {
        -webkit-transform: translateY(7px)
    }
}

@keyframes rotateplane { 
    0% {
        transform: translateY(-2px);
        -webkit-transform: translateY(-2px);
    }

    100% {
        transform: translateY(7px);
        -webkit-transform: translateY(7px);
    }
}


/* Navigation link animation */

@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}




/* 14:  MEDIA QUERIES START
/* ---------------------------------------------- */


/* Media Queries [min-width:767px]
/* ---------------------------------------------- */

@media(min-width:767px) {

    .btn {
        font-size: 20px;

    }

}


/* Media Queries [min-width:768px]
/* ---------------------------------------------- */

@media(min-width:768px) {
    .about{
        text-align: center;
    }


    p {
        /*margin: 0 0 35px;*/
        margin: 0 0 23px;
        font-size: 18px;
        line-height: 1.6;
    }

    .navbar-custom {
        padding: 20px 0;
        border-bottom: 0;
        letter-spacing: 1px;
        background: 0 0;
        -webkit-transition: background .5s ease-in-out, padding .5s ease-in-out;
           -moz-transition: background .5s ease-in-out, padding .5s ease-in-out;
                transition: background .5s ease-in-out, padding .5s ease-in-out;
    }
    .navbar-custom.top-nav-collapse {
        padding: 10px 0;
        background: #241c43; /* Primary color, can be changed via colors.css */
        -webkit-transition: background .5s ease-in-out, padding .5s ease-in-out;
           -moz-transition: background .5s ease-in-out, padding .5s ease-in-out;
                transition: background .5s ease-in-out, padding .5s ease-in-out;
        -webkit-box-shadow: 0 0 10px 2px rgba(0,0,0,.1);
                box-shadow: 0 0 10px 2px rgba(0,0,0,.1);

    }

    .navbar-custom.top-nav-collapse .navbar-brand{
        color: #fff;
    }

    .navbar-custom.top-nav-collapse .button_container span{
        background: #fff;
    }

    .navbar-custom.top-nav-collapse .button_container.active span.top,
    .navbar-custom.top-nav-collapse .button_container.active span.bottom{
        background:#fff;
    }
     .carousel-caption {
        top: 30%;
        margin: 0;
        padding: 0;
   
    }


}

/* Media Queries [max-width:767px]
/* ---------------------------------------------- */

@media(max-width:767px) {

    .mobileNav{display:block}
    .about,
    .cta-two-section{
        text-align: center;
    }
    .carousel-caption {
        top: 24%;
        margin: 0;
        padding: 0 60px;
   
    }

    .carousel-caption h1 {
        font-size: 33px;
    }

    .carousel-caption .intro-text {
        font-size: 20px;
        padding: 0;
    }

    .mouse{
        display: none;
    }

    .circle {
        padding: 0px;
        font-size: 18px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
    }

     .navbar-custom a{
        color: rgba(254,82,76, 1);
        color: #fff;
    }

    .video-section{
        background: url(../images/youtube-video-cover.jpg) no-repeat bottom center scroll;
    }


    .button_container span,
    .button_container span {
        background: #fff !important;
    }

    .button_container.active span.top,
    .button_container.active span.bottom{
        background:#fff;
    }


    .cta-two-section .btn{
        margin: 20px 0 0 0;
    }

    .scroll-top {
        bottom: 4%;
        right: 3%;
    }
    
    .scroll-top a:link,
    .scroll-top a:visited {
        padding:2px 6px;
        font-size: 25px;
    }

}

/* Media Queries [max-device-width:800px] - Fix for HTML5 videos on mobile devices
/* ---------------------------------------------- */
@media screen and (max-device-width: 800px) {
    /*body {
        background: url(../images/youtube-video-cover.jpg) #000 no-repeat center center fixed;
    }*/
    .html5-video-container{
        background: url(../images/typing-on-mac.jpg) no-repeat bottom center scroll;
    -webkit-background-size: cover;
       -moz-background-size: cover;
            background-size: cover;
         -o-background-size: cover;
        background-attachment: fixed;
    }
    #bgvid{
        display: none;
    }
}


/* Media Queries [min-width:992px]
/* ---------------------------------------------- */
@media screen and (min-width: 992px) {
    .about{
        text-align: left;
    }

    .video-controls,
    .html5-video-controls{
        display: block;
    }

    .carousel-control{
        top: 48%;
        margin:0%;
    }

    .products{
        text-align: left;
    }

}


/* Media Queries [max-width:1199px]
/* ---------------------------------------------- */

@media(max-width:1199px) {
   .navbar-custom .button_container span {
        background: #fff;
    }

}

@media(max-width:685px) {
.carousel-caption .btn{
    margin:13px 10px;
}
    }



@media(max-width:480px) {
.carousel {
    height:84%;
}
    
    .carousel-caption {
    top: 24%;
    margin: 0;
    padding: 0 10px;
}
    .carousel-caption .btn {
    margin: 0;
    position: relative;
    top: 12px;
}
.quatre80{ display:none}
.quatre80Actif{ display:block}
    
   .carousel-caption h1 {
    font-size: 28px;
    display: block;
    height: auto;
    line-height: 32px;
       padding: 0;
}
    .hide-480{display:none;}
    
    }


/* Selection and other generic styles
/* ---------------------------------------------- */
::-moz-selection {
    text-shadow: none;
    background: #fcfcfc;
    color: #fff;
    background: rgba(254,82,76, .8);
}

::selection {
    text-shadow: none;
    background: #fcfcfc;
    color: #fff;
    background: rgba(254,82,76, .8);
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: rgba(254,82,76, .8);
}



/* Debug styles (remove before exporting for production)
/* ---------------------------------------------- */

.debug{
    border:1px solid #f00;
}

