//	PAGE Style
//==================================================
html {
    height: 100%;
    min-height: 100%;
    position: relative;
}
body{
    // custom scroll-bar
    .scroll-bar();
    height: 100%;
    min-height: 100%;
    position: relative;
}

main{ }

#page{ }

//	HEADER Style
//==================================================
header {
    background: @header-bg;
    //.box-shadow(inset 0 1px 1px rgba(255, 255, 255, 0.6));
    //.box-shadow(inset 0 -1px 1px rgba(0, 0, 0, 0.6));
    //.box-shadow(0 0 5px rgba(0, 0, 0, 0.6));
    //border-top: 1px solid #000;
    //border-bottom: 1px solid #000;
    color      : @header-color;
   

    // -- LOGO Style
    .logo{
        text-decoration : none;
        float: left;
        padding: 15px 20px 20px;
        margin: 0;
        max-width: 100%;
        font-size: @font-size-base;
        line-height: @line-height;

        img{
            height:90px;
            width:auto;
        }
    }

}
.social-links {
    float: right;
    margin: 15px 20px;
    position: relative;

    @responsive-size-tablet-above : (@responsive-size-tablet + 1);
    @media only screen and (min-width : @responsive-size-tablet-above) {
        opacity : 0;
        right   : -500px;
    }
    a {
        margin-right: 5px;
    }
    //a {
    //    width: 33px;
    //    height: 33px;
    //    float: left;
    //    margin-right: 13px;
    //    .border-radius(20px);
    //    background: #a0a0a0;
    //    .transition();
    //    color: #fff;
    //    font-weight: bold;
    //    font-family: @font-family-headings;
    //    line-height: 33px;
    //    text-decoration: none;
    //    text-align: center;
    //
    //
    //    &:hover {
    //        background: #555;
    //    }
    //}
}
.banner {
    .description {
        height: 800px;
        padding: 160px 20px 0;
        font-size: 24px;
        font-family: @font-family-headings;
        color: #fafafa;
        &>div {
            display: none;
            position: relative;
            z-index: 1;
        }

        .h1 {
            font-weight: bold;
            color: inherit;
        }
        p {
            margin: 0;
        }
        &:before {
            content: '';
            .rgba(#000;56);
            position: absolute;
            top: 0;
            bottom: 0;
            left: -2000px;
            right: 0;
            z-index: 0;
        }
    }

}
.grey-part-bg {
    .grid_4 {
        z-index: 2;
        padding: 40px 20px;
    }
    .grid_8 {
        z-index: 1;
        padding: 50px 20px;
        &:before {
            content: '';
            background: #d3d3d3;
            position: absolute;
            top: 0;
            bottom: 0;
            right: 100%;
            width: 3000px;
        }
    }
    @responsive-size-tablet-above : (@responsive-size-tablet + 1);
    @media only screen and (min-width : @responsive-size-tablet-above) {
    #showing-header-left {

        &.BeforeScroll {
            position: relative;
            left: -100%;
            opacity: 0;
            .transition();
        }

        &.AfterScroll {
            left: 0;
            opacity: 1;

        }
    }
    #showing-content {
        &.BeforeScroll {
            position: relative;
            opacity: 0;
            .transition(all; 1.5s; ease; 1s);
        }
        &.AfterScroll {
            opacity: 1;
        }

    }
    }

}

.black-part-bg {
    .grid_4 {
        z-index : 2;
        padding : 40px 15px;
        color: #fff;
    }
    .grid_8 {
        z-index : 1;
        padding : 20px 25px;

        @media only screen and (min-width : (@responsive-size-tablet+1)){
            min-height: 760px;
        }
        &:before {
            content    : '';
            .rgba(#000;71);
            position   : absolute;
            top        : 0;
            bottom     : 0;
            left      : 100%;
            width      : 3000px;
        }
    }
}

.black-part-bg2 {
    .grid_4 {
        z-index : 2;
        padding : 40px 15px;
        color: #fff;
    }

    .grid_8 {
        z-index : 1;
        padding : 20px 25px;
        @media only screen and (min-width : (@responsive-size-tablet+1)){
            min-height: 800px;
        }
        &:before {
            content    : '';
            .rgba(#000;71);
            position   : absolute;
            top        : 0;
            bottom     : 0;
            right      : 100%;
            width      : 3000px;
        }
    }
}

.white-part-bg2 {
    .grid_4 {
        z-index : 2;
        padding : 40px 15px;
        color: #000;
    }

    .grid_8 {
        z-index : 1;
        padding : 20px 25px;
        @media only screen and (min-width : (@responsive-size-tablet+1)){
            min-height: 800px;
        }
        &:before {
            content    : '';
            .rgba(#fff;80);
            position   : absolute;
            top        : 0;
            bottom     : 0;
            right      : 100%;
            width      : 3000px;
        }
    }
}


.primary-dark-bg {
    background: @brand-primary-dark;
    color: #fff;
    
    #showing-header{
        @responsive-size-tablet-above : (@responsive-size-tablet + 1);
        @media only screen and (min-width : @responsive-size-tablet-above){
        &.BeforeScroll {
            position: relative;
            opacity: 0;
            .transition();
        }
        &.AfterScroll {
            opacity: 1;
        }
        }
    }
    .white-bg {
        .rgba(#fff;94);
        padding: 20px;
        .clearfix-mixin();
        color: #102e52;
    }
}
.prlx-bg{
    overflow: hidden;
    .white-bg {
        .rgba(#fff;89);
        padding: 20px;
        .clearfix-mixin();
    }

    .grey-bg {
        .rgba(#d3d3d3;90);
        padding: 20px;
        .clearfix-mixin();
    }

    .black-bg {
        .rgba(#000;71);
        padding: 20px;
        .clearfix-mixin();
        color: #eee;
    }
    .darkgrey-bg {
        .rgba(#424242;71);
        padding: 20px;
        .clearfix-mixin();
        color: #eee;
    }
    .primary-dark-bg {
        .rgba(@brand-primary-dark;84);
        padding: 20px;
        .clearfix-mixin();
        color: #fff;
    }
}
.equipe-photo {
    width: 230px;
    height: 230px;
    max-width: 50%;
    overflow: hidden;
    float: left;
    margin: 0 20px 10px 0;
    min-height: 20px;
    position: relative;
    img {
        .border-radius(200px);
    }
    a.tpopup {
        position: absolute;
        top: 0;
        left: 45%;
    }
}
//	CONTENT Style
//==================================================
section{
    background : @content-bg;
    color      : @content-color;
    .clearfix-mixin();
    overflow: hidden;
}

// -- 404 Page Style
.page404{
    height: 100%;
    min-height: 100%;
    overflow: visible;
    
   .logo {
       position: absolute;
       bottom: 20px;
       width: 250px;
       max-width: 90%;
       height: auto;
       right: 20px;
       text-align: right;

       img {
           max-height: 80px;
           width: auto;
       }
   }
    .grid_8 {
        .rgba(#000;50);
        height: 100%;
        min-height: 100%;
        color: #fff;
        z-index: 1;
        padding: 50px 20px;
        &:before {
            content: '';
            .rgba(#d3d3d3;90);
            position: absolute;
            top: 0;
            bottom: 0;
            right: 100%;
            width: 3000px;
        }
    }
    .grid_4 {
        height: 100%;
        min-height: 100%;
        z-index: 2;
        padding: 40px 20px 120px;
    }
    @responsive-size-tablet-above : (@responsive-size-tablet + 1);
    @media only screen and (min-width : @responsive-size-tablet-above) {
        #showing-header-left {

            &.BeforeScroll {
                position: relative;
                left: -100%;
                opacity: 0;
                .transition();
            }

            &.AfterScroll {
                left: 0;
                opacity: 1;

            }
        }
    }
}
.offline {
    .icon-phone2,.icon-location {
        &:before {
            float: left;
            margin-right: 5px;
        }
    }
}
//	SIDEBAR Style
//==================================================
aside{
    .aside-box{
        margin-bottom : 30px;
    }
}

//	FOOTER Style
//==================================================
footer{
    background : @footer-bg;
    color      : @footer-color;
    font-size: 16px;
    a {
        color: @footer-color;
        &:hover {
             color: @brand-gray;
        }
    }
    .logo {
        margin-bottom: 20px;
        img {
            max-height: 80px;
            width: auto;
        }
    }
    .grid_4 {
        z-index: 2;
        padding: 30px 15px;
    }
    .grid_8 {
        z-index: 1;
        padding: 30px 15px 10px;
        &:before {
            content: '';
            background: @header-bg;
            position: absolute;
            top: 0;
            bottom: 0;
            right: 100%;
            width: 3000px;
        }
    }

    .copy {
        margin-top: 30px;
        padding: 5px;
        text-align: center;
        color: #999;
        font-size: 12px;
    }
    #showing-header-right {
        @responsive-size-tablet-above : (@responsive-size-tablet + 1);
        @media only screen and (min-width : @responsive-size-tablet-above){
        &.BeforeScroll {
            position: relative;
            right: -100%;
            opacity: 0;
            .transition();
        }


        &.AfterScroll {
            right: 0;
            opacity: 1;
        }
        }
    }
}
#showing-content-right {
    @responsive-size-tablet-above : (@responsive-size-tablet + 1);
    @media only screen and (min-width : @responsive-size-tablet-above){
    &.BeforeScroll {
        position : relative;
        right    : -100%;
        opacity  : 0;
        .transition();
    }
    &.AfterScroll {
        right: 0;
        opacity: 1;
    }
    }
}
//	Button to scroll top
//==================================================
.webPage-go-top{
    .button-color(#fff; fade(#000, 50%); fade(#000, 50%); @primary-color; @primary-bg; @primary-bg);
}

.prlx-bg {
    background-attachment: fixed;
    background-size: cover;
    background-color: #000;
    .parallax-mirror~& {
        background: none !important;
    }
    .bg-img {
        &>img,&>a._lbox {
            display: none;
        }
    }
}

.smoke-base .dialog.error {
    background-color: transparent;
    overflow     : visible;
}

li.open-down {
    text-decoration: underline;
    cursor: pointer;
    &+li {
        display: none;
        text-decoration: none;
        cursor: default;
        list-style-type: none;
    }
}
.blocks {
    .black-bg:last-child {
        margin-bottom: 0 !important;
    }
}
.accord {
    .black-bg {
        &>h2 {
            margin-bottom: 0;
            cursor: pointer;
            font-size: 26px;
        }
        &>h2:after {
            font-family : @font-family-icons;
            content: "\e0c6";
            float: right;
        }
        &.active>h2:after {
            content: "\e900";
        }
        &:last-child {
            margin-bottom: 0 !important;
        }
    }
    .panel {
        border: none;
        margin-bottom: 0;
        padding: 30px 0 0;
    }
}