/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 19/05/2016, 3:29:34 PM
    Author     : duncanc
*/


canvas#canvas {
    width: 100%;
    height: 30%;
    border: none !important;
    position: absolute;
    bottom:0;
}

/*
 * ----------------------------------------------------------------------------
 *
 * Body Height
 *
 * ----------------------------------------------------------------------------
 */

.smooth-body {
    max-width: 100%;
    width: 100%;
    width: 100vw;
    overflow-x: visible;
    overflow-y: visible;
}

/*
 * ----------------------------------------------------------------------------
 *
 * Header Flex
 *
 * ----------------------------------------------------------------------------
 */

.m-header,
.m-header>.container {
    /*-webkit-font-smoothing: antialiased;*/
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    /* ms-flex */

    -ms-flex-wrap: nowrap;
    -ms-flex-direction: row;
    -ms-flex-align: center;
    -ms-flex-pack: center;

    -ms-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;


    -o-align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    align-items: center;



    -o-align-content: center;
    -ms-align-content: center;
    -moz-align-content: center;
    -webkit-align-content: center;
    align-content: center;

    -o-justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}

/*
 * ----------------------------------------------------------------------------
 *
 * Animations
 *
 * ----------------------------------------------------------------------------
 */
/*
 * CSS Page Transitions
 * Don't forget to add vendor prefixes!
 */

/** Basic styles for an animated element */

/*.m-scene   .scene_element {
    animation-duration: 0.25s;
    transition-timing-function: ease-in;
    animation-fill-mode: both;

}*/

/** An element that fades in */

.m-scene   .scene_element--fadein {
    animation-name: fadeIn;
}
.m-scene   .scene_element--fadeinslow {
    animation-name: fadeInSlow;
}

/** An element that fades in and slides up */

/*.m-scene   .scene_element--fadeinup {
    animation-name: fadeInUp;
}*/

/** An element that fades in and slides from the right */

/*.m-scene   .scene_element--fadeinright {
    animation-name: fadeInRight;
}*/



/*
 * ----------------------------------------------------------------------------
 *
 * Animations Exit
 *
 * ----------------------------------------------------------------------------
 */

.is-exiting .body-wrapper {
    
        -webkit-animation-name: fadeOutLeft;
        animation-name: fadeOutLeft;

}


@media screen and (min-width: 1200px) {

    .is-exiting .body-wrapper {
        -webkit-animation-name: fadeOutLeft;
        animation-name: fadeOutLeft;
    }
}


/*
 * ----------------------------------------------------------------------------
 *
 * Animations
 *
 * ----------------------------------------------------------------------------
 */



/*
 * CSS Animations
 * Don't forget to add vendor prefixes!
 */
.m-scene .scene_element {

    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;

    -webkit-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;

    /* this means that before the animation runs, the element will have the starting css rules, then keep the end rules */
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.m-scene .scene_element .scene_element--fadeinslow {

    -webkit-animation-duration: 1s;
    animation-duration: 1s;

    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

.m-scene .scene_element--fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

/** An element that fades in and slides up */

.m-scene   .scene_element--fadeinup {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

/** An element that fades in and slides from the right */
.m-scene   .scene_element--fadeinright {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

/** An element that fades in and slides from the left */
.m-scene   .scene_element--fadeinleft {
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

/** An element that fades out */
.m-scene   .scene_element--fadeinleft {
    -webkit-animation-name: fadeOutToHome;
    animation-name: fadeOutToHome;
}



/*
 * ----------------------------------------------------------------------------
 *
 * Keyframes
 *
 * ----------------------------------------------------------------------------
 */

@keyframes fadeOutToHome {
    0% {
        opacity:1;
        height:100%;
    }
    100% {
        opacity:0;
        height:0%;
    }
}

@-webkit-keyframes fadeOutToHome {
    0% {
        opacity:1;
        height:100%;
    }
    100% {
        opacity:0;
        height:0%;
    }
}

/*
 * ----------------------------------------------------------------------------
 *
 * Keyframes
 *
 * ----------------------------------------------------------------------------
 */

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

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



/*
* ------------------------------------------------------------------------
*
* fadeInUp
*
* ------------------------------------------------------------------------
*/

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}
@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}



/*
* ------------------------------------------------------------------------
*
* fadeInRight
*
* ------------------------------------------------------------------------
*/


@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate3d(100%, 0, 0) scale(0);
    }

    100% {
        opacity: 1;
        transform: none;
        transform: translate3d(0, 0, 0) scale(1);
    }
}
@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate3d(100%, 0, 0) scale(0);
    }

    100% {
        opacity: 1;
        transform: none;
        transform: translate3d(0, 0, 0) scale(1);
    }
}


/*
* ------------------------------------------------------------------------
*
* fadeInLeft
*
* ------------------------------------------------------------------------
*/


@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}
@-webkit-keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

/*
* ------------------------------------------------------------------------
*
* fadeOutLeft
*
* ------------------------------------------------------------------------
*/


@keyframes fadeOutLeft {

    0% {
        opacity: 1;
        /*transform: none;*/
        transform: translate3d(0, 0, 0) ;
    }
    100% {
        opacity: 0;
        transform: translate3d(-100%, 0, 0)  ;
    }
}
@-webkit-keyframes fadeOutLeft {

    0% {
        opacity: 1;
        /*transform: none;*/
        transform: translate3d(0, 0, 0) ;
    }
    100% {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }
}

/*
* ------------------------------------------------------------------------
*
* fadeOutLeft
*
* ------------------------------------------------------------------------
*/


@keyframes fadeOutSlow {

    0% {
        opacity: 1;
        /*transform: none;*/
        transform: translate3d(0, 0, 0) ;
    }
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0)  ;
    }
}
@-webkit-keyframes fadeOutSlow {

    0% {
        opacity: 1;
        /*transform: none;*/
        transform: translate3d(0, 0, 0) ;
    }
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }
}


/*
* ------------------------------------------------------------------------
*
* Scroll Icons
*
* ------------------------------------------------------------------------
*/

p.id-scroll-icon-wrapper {
    margin: 0 auto;
}

.id-scroll-icon > i.fa {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;


}
/* 
* --------------------------------------------------
* 
* Down
* 
* --------------------------------------------------
*/
.id-scroll-icon-down {
    position: relative;
}

.id-scroll-icon-down > i.fa {
    /*background-color: rgba(0,0,0,0.5);*/
    background-color: #a2a569;
    color: #fff;
    position: absolute;
    left: 50%;
    top: -27px;
    bottom: auto;
    padding: 20px 0;
    z-index: 998;
    margin: 0 auto;
    margin-left: -25px;
    padding: 20px;
    border-radius: 50%;
    -webkit-transition: all 250ms ease-in .05s;
    -moz-transition: all 250ms ease-in .05s;
    -o-transition: all 250ms ease-in .05s;
    transition: all 250ms ease-in .05s;
}

.id-scroll-icon-down:hover > i.fa {
    color: #a2a569;
    background-color: rgba(255,255,255,1);
    -webkit-transition: all 250ms ease-in .05s;
    -moz-transition: all 250ms ease-in .05s;
    -o-transition: all 250ms ease-in .05s;
    transition: all 250ms ease-in .05s;
}
/* 
* --------------------------------------------------
* 
* Up
* 
* --------------------------------------------------
*/

.id-scroll-icon-up > i.fa {
    background-color: #a2a569;
    color: #fff;
    position: fixed;
    top: auto;
    left: 50%;
    right:auto;
    bottom: 0;
    margin: 0 auto;
    padding: 20px 0;
    z-index: 998;
    margin-left: -45px;
    border-top-left-radius: 90px;
    border-top-right-radius: 90px;
    height: 45px;
    width: 90px;
    -webkit-transition: all 250ms ease-in .05s;
    -moz-transition: all 250ms ease-in .05s;
    -o-transition: all 250ms ease-in .05s;
    transition: all 250ms ease-in .05s;
}


/* 
* --------------------------------------------------
* 
* Left & Right
* 
* --------------------------------------------------
*/

.id-scroll-icon-right > i.fa,
.id-scroll-icon-left > i.fa {
    background-color: rgba(0,0,0,0.25);
    color: #fff;
    top: 0;
    margin-top: -25px;
    left: auto;
    right: auto;
    bottom: 0;
    height: 100%;
    width: 60px;
    line-height: 1;
    border-radius: 0;
    padding-top: 33%;
    padding-top: 50vh;
    padding-bottom: 50vh;
}

.id-scroll-icon-left > i.fa {
    left: 0;
}
.id-scroll-icon-right > i.fa {
    right: 0;
}

.id-scroll-header-left,
.id-scroll-header-right {
    filter:alpha(opacity=0);
    -moz-opacity:0;
    -khtml-opacity: 0;
    opacity: 0;
    opacity: 0;
}

.id-scroll-header-left.touch,
.id-scroll-header-right.touch {
    opacity: 0;
    -webkit-animation: SlidePopFade 1s ease-out 1 alternate;
    -moz-animation: SlidePopFade 1s ease-out 1 alternate;
    -ms-animation: SlidePopFade 1s ease-out 1 alternate;
    animation: SlidePopFade 1s ease-out 1 alternate;
}

@-webkit-keyframes SlidePopFade {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }    
    100% {
        opacity: 0;
        display: none;
    }
}

@-ms-keyframes SlidePopFade {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }    
    100% {
        opacity: 0;
        display: none;
    }
}

@-moz-keyframes SlidePopFade {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }    
    100% {
        opacity: 0;
        display: none;
    }
}

@keyframes SlidePopFade {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }    
    100% {
        opacity: 0;
        display: none;
    }
}

