/*-----------------------
----- Basic Styles -----
-------------------------*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400');

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #6d6d6d;
    overflow-x: hidden;
    padding-top: 140px;
}
a:focus,
.btn:focus {
    outline: none;
}

/*-----------------------
----- Typo Styles ------
-------------------------*/
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 300;
}
.big-text {
    font-size: 58px;
    font-weight: 300;
    line-height: 62px;
    letter-spacing: 0.01em;
    word-spacing: 0.15em;
    text-transform: uppercase;
}
.section-title {
    margin-top: -20px;
    margin-bottom: 80px;
    text-align: center;
}

/*-----------------------
----- Layout Styles -----
-------------------------*/
.add-padding {
    padding-top: 120px;
    padding-bottom: 140px;
}

/*-----------------------
----- Color Styles ------
-------------------------*/
.bg-color1 {
    color: #fff;
    background: #11b2d2;
}
.bg-color3 {
    color: #fff;
    background: #334959;
}
.color1 .service-icon,
.color1.service-item ul li:nth-child(2):before {
    background: #11B2D2;
}
.color1 .service-icon:after {
    border: 3px solid #11B2D2;
}
.color3 .service-icon,
.color3.service-item ul li:nth-child(2):before {
    background: #334959;
}
.color3 .service-icon:after {
    border: 3px solid #334959;
}

/*------------------
----- Buttons ------
--------------------*/
.btn-color1 {
    background: #11B2D2;
}
.btn-color1:hover,
.btn-color2:hover,
.btn-color3:hover {
    color: #fff;
    opacity: 0.9;
}
.btn-color1:focus,
.btn-color1:active,
.btn-color2:focus,
.btn-color2:active {
    color: #fff;
}
.btn-color1 .fa,
.btn-color2 .fa {
    margin-right: 15px;
}
.btn-empty {
    background: none;
    border: none;
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    border-radius: 0px;
    color: #999;
}
.btn-sm {
    padding: 5px 15px !important;
    font-size: 14px !important;
}
.btn-color3.btn-sm {
    color: #fff !important;
    margin-top: 15px;
}

/*-----------------------
---- Menu Styles ----
-------------------------*/
#main-nav {
    background: #fff;
    color: #999;
    box-shadow: 0 0 0px transparent;
    -webkit-transition:0.3s ease all;
    -moz-transition:0.3s ease all;
    -o-transition:0.3s ease all;
    transition:0.3s ease all;
}
#main-nav.scrolled {
    background: #fff;
}
#main-nav .navbar-brand img {
    margin-right: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 40px;
}
#main-nav .top-nav {
    display: block;
    font-size: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 10px;
    -webkit-transition:0.3s ease all;
    -moz-transition:0.3s ease all;
    -o-transition:0.3s ease all;
    transition:0.3s ease all;
}
#main-nav .top-nav:not(.active) {
    margin-top: -30px;
}
#main-nav .top-nav a {
    color: #999;
}
#main-nav .top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
    text-align: right;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #eee;
}
#main-nav .top-nav ul > li {
    display: inline-block;
    border: none;
    margin: 0px 5px;
}
#main-nav .top-nav ul > li:first-child {
    margin-left: 0px;
}
#main-nav .top-nav ul > li > a {
    color: #999;
}
#main-nav .navbar-brand {
    display: inline-block;
    font-size: 24px;
    font-weight: 300;
    color: #999;
    text-transform: uppercase;
    height: auto;
    margin-left: -15px;
}
#main-nav .navbar-brand > span {
    display: inline-block;
}
#main-nav .navbar-brand,
#main-nav .navbar-brand:hover,
#main-nav .navbar-brand:active,
#main-nav .navbar-brand:focus {
    padding: 0 15px;
    font-size: 30px;
    line-height: 30px;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
}
#main-nav .navbar-brand img {
    display: inline;
}
#main-nav .navbar-brand span {
    font-size: 24px;
    font-weight: 300;
    display: inline-block;
    vertical-align: middle;
}
#main-nav.scrolled .navbar-brand {
    color: #6d6d6d;
}
#main-nav.scrolled .navbar-toggle {
    color: #74c7d5;
    border-color: #74c7d5;
}
#main-nav.scrolled .navbar-toggle .icon-bar {
    background: #74c7d5;
}
#main-nav .container {
    padding: 5px 15px;
    -webkit-transition: padding 0.5s ease-out;
    transition: padding 0.5s ease-out;
}
#main-nav.scrolled .container {
    padding: 5px 15px;
}
#main-nav .nav a,
#main-nav .nav a:active {
    padding: 0px 20px;
    font-size: 14px;
    line-height: 34px;
    font-weight: 400;
    background: transparent;
    color: #999;
    transition: color .2s ease-in;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}
#main-nav .nav a:after {
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: #000;
    opacity: 0.05;
    content: ' ';
}
#main-nav .nav li:last-child a:after {
    display: none;
}
#main-nav .nav li:first-child > a {
    padding-left: 13px;
}
#main-nav.scrolled .nav a,
#main-nav.scrolled .nav a:active,
#main-nav.scrolled .nav a:hover {
    color: #6d6d6d;
}
#main-nav li {
    background: transparent;
    border: 2px solid transparent;
}
#main-nav.scrolled .nav li.active a,
#main-nav.scrolled .nav a:hover,
#main-nav #site-nav {
    display: block;
    float: none !important;
}
#main-nav .navbar-header {
    display: block !important;
    float: left !important;
}
#main-nav .top-right {
    display: block;
    float: right;
}
#main-nav .navbar-nav {
    margin: 0px -15px !important;
}
#main-nav .btn-primary:before {
    position: absolute;
    top: 0;
    left: 5px;
    width: 30px;
    height: 100%;
    font-family: 'FontAwesome';
    content: '\f095';
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#main-nav .btn-primary:after {
    position: absolute;
    top: 20%;
    left: 37px;
    width: 1px;
    height: 60%;
    background: #fff;
    content: ' ';
    opacity: 0.2;
}

/*-----------------------
---- Header Styles ----
-------------------------*/
header {
    height: auto;
    padding: 150px 0px;
    position: relative;
    color: #fff;
}
header.inverted {
    color: #333;
}
header.inverted:before {
    display: none;
}
header .container {
    position: relative;
    z-index: 2;
}
header:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.45;
    z-index: -1;
    content: ' ';
}
header h2 {
    font-size: 24px;
    font-weight: 300;
    margin: 0;
    letter-spacing: 1px;
}
header h1 {
    font-size: 52px;
    font-weight: 300;
    width:55%;
    text-transform: uppercase;
    margin: 5px 0px;
}
header p {
    width: 55%;
    font-size:18px;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    margin-bottom: 15px;
    line-height: 1.7;
    letter-spacing: 1px;
}
header .buttons {
    position: absolute;
    bottom: -80px;
    right: 25px;
}
header .buttons .line {
    width: 1px;
    height: 100px;
    background: #fff;
    opacity: 0.25;
    display: inline-block;
    vertical-align: middle;
}
header .buttons .new-button {
    display: inline-block;
    vertical-align: middle;
    padding: 10px 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    -webkit-transition:0.3s ease all;
    -moz-transition:0.3s ease all;
    -o-transition:0.3s ease all;
    transition:0.3s ease all;
}
header .buttons .new-button:hover,
header .buttons .new-button:focus {
    text-decoration: none;
}
header .buttons .new-button > img {
    width: 32px;
    display: block;
    margin: auto;
    opacity: 0.25;
    -webkit-transition:0.3s ease all;
    -moz-transition:0.3s ease all;
    -o-transition:0.3s ease all;
    transition:0.3s ease all;
}
header .buttons .new-button:hover > img {
    opacity: 1;
}
header .buttons .new-button > b {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    text-align: center;
    margin: 10px 0px 5px 0px;
}
header .buttons .new-button.not-active {
    filter: blur(2px);
    opacity: 0.5;
}
header .message {
    display: block;
    padding: 25px 0px 15px 0px;
    position: relative;
}
header .message:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 1px;
    background: rgba(255,255,255,0.5);
    content: ' ';
}

/*-----------------------
---- Big Message Styles ----
-------------------------*/
.big-message {
    padding: 120px 0px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#293133+0,1b2021+100 */
    background: #293133; /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover, #293133 0%, #1b2021 100%); /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover, #293133 0%,#1b2021 100%); /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center, #293133 0%,#1b2021 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#293133', endColorstr='#1b2021',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    text-align: center;
    color: #fff;
}
.big-message.v2 {
    color: #333;
    position: relative;
    overflow: hidden;
}
.big-message.v2:before {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background: rgb(255,255,255);
    background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(239,239,239,1) 100%);
    background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(239,239,239,1) 100%);
    background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%,rgba(239,239,239,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef',GradientType=1 );
    content: ' ';
    z-index: 0;
}
.big-message.v3 {
    background: url('../images/Honoraires-image.jpg') center no-repeat;
    background-size:cover;
    position: relative;
    overflow: hidden;
}
.big-message.v3:before {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background: #293133; /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover, #293133 0%, #1b2021 100%); /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover, #293133 0%,#1b2021 100%); /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center, #293133 0%,#1b2021 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#293133', endColorstr='#1b2021',GradientType=1 );
    opacity: 0.9;
    content: ' ';
    z-index: 0;
}
.big-message .container {
    position: relative;
    z-index: 2;
}
.big-message h2 {
    display: block;
    margin: 0;
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 15px;
}
.big-message p {
    font-weight: 300;
    line-height: 1.65;
    letter-spacing: 0.5px;
    margin: 0;
}

/*-----------------------
---- Section With Image Styles ----
-------------------------*/
.section-with-image {
    position: relative;
    display: block;
    background: #fff;
    padding: 100px 0px;
    overflow: hidden;
}
.section-with-image h2 {
    display: block;
    margin: 0;
    font-size: 48px;
    font-weight: bold;
}

.section-with-image .image-avatar {
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(((100% - 1170px) / 2) + 45px);
    width: 400px;
    height: 400px;
    border: 10px solid #fff;
    box-shadow: rgba(0,0,0,0.1) 0px 5px 15px;
    border-radius: 50%;
    z-index: 9;
    margin: auto;
}

/*-----------------------
---- Service Item Styles ----
-------------------------*/
.service-items {
    border-right: 1px solid #eee;
}
.service-items:last-child {
    border-right: none;
}
.service-items h3 strong {
    font-weight: 300 !important;
}
.service-items p {
    display: block;
    margin: 0;
}
.service-items p br {
    display: none;
}
.service-icon [class*=fa] {
    -webkit-transform: scale(1);
    transform: rotate(0);
    -webkit-transition: all 0.3s ease-out;
    transition: none;
}
.service-item:hover [class*=fa] {
    -webkit-transform: scale(1.3);
    transform: rotate(360deg);
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
.service-item p {
    margin: auto;
    max-width: 500px;
    padding: 2px 2px 30px 2px;
}
.nice-image {
    display: inline-block;
    vertical-align: middle;
    margin: auto;
    opacity:1;
    margin-bottom: 25px;
    width:128px;
}
.line-beat {
    display: inline-block;
    vertical-align: middle;
    opacity: 0.25;
    width: 64px;
}

/*-------------------
---- GMap Styles ----
---------------------*/
#gmap {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}
#gmap:before {
    position: absolute;
    top: -10%;
    left: -50px;
    width: 200px;
    height: 150%;
    background: #fff;
    content: ' ';
    z-index: 3;
    transform: rotate(-7deg);
}
#gmap .infowin {
    padding: 10px 20px;
}
#gmap .infowin p {
    margin-bottom: 10px;
    font-family: Raleway, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
}
#gmap .infowin a:hover {
    text-decoration: underline;
}


/*----------------------
----- Footer Styles ----
------------------------*/
#main-footer {
    padding-top: 50px;
    padding-bottom: 40px;
    background: #1b2021;
}
#main-footer .logo-bottom {
    display: block;
    text-decoration: none;
}
#main-footer .logo-bottom > img {
    width: 101px;
}
#main-footer .logo-bottom span {
    display: inline-block;
    width: calc(100% - 101px);
    padding-left: 15px;
    font-size: 36px;
    line-height: 38px;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: #999;
    vertical-align: middle;
    margin-left: -5px;
}
#main-footer h3 {
    display: block;
    margin: 0;
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 15px;
}
#main-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#main-footer ul li a {
    display: block;
    margin: 4px 0px;
    font-size: 14px;
    color: #999;
    font-weight: 400;
}
#main-footer ul li a:hover,
#main-footer ul li a:focus {
    
}
#main-footer p.copyrights {
    display: block;
    margin: 0;
    margin-top: 15px;
    font-size: 12px;
    font-weight: 400;
}

/*----------------------
----- Media Queries ----
------------------------*/

@media (min-width:768px) and (max-width:992px) {
    header .buttons {
        right: calc(((100% - 750px) / 2) + 25px);
    }
    .section-with-image .image-avatar {
        width: 250px;
        height: 250px;
        right: calc(((100% - 750px) / 2) + 55px);
    }
}
@media (min-width:992px) and (max-width:1200px) {
    header .buttons {
        right: calc(((100% - 970px) / 2) + 25px);
    }
}
@media (max-width:767px) {
    #main-nav .top-nav .pull-right {
        display: none;
    }
    #main-nav .navbar-brand span {
        font-size: 16px;
    }
    #main-nav .navbar-toggle {
        margin-bottom: 5px;
        margin-top: 5px;
        color: #6d6d6d;
        border-color: transparent !important;
    }
    #main-nav .navbar-toggle .icon-bar {
        width: 28px;
        height: 4px;
        margin-top: 0;
        background: #6d6d6d !important;
    }
    #main-nav .navbar-toggle .icon-bar+.icon-bar {
        margin-top: 4px;
    }
    #main-nav .container,
    #main-nav.scrolled .container {
        padding: 5px 15px;
    }
    #main-nav .nav a,
    #main-nav .nav a:active,
    #main-nav .nav a:hover {
        line-height: 30px;
        padding: 10px 20px;
        text-align: left;
        color: #6d6d6d;
    }
    #home p {
        font-size: 14px;
        font-weight: 400;
        width: 100%;
    }
    #home h1 {
        font-size: 42px;
    }
    header {
        padding: 100px 0px;
        padding-bottom: 200px;
    }
    header .buttons {
        right: auto;
        left: 15px;
        bottom: -120px;
    }
    header .buttons .new-button {
        padding: 5px 10px;
        font-size: 11px;
    }
    .big-message {
        padding: 80px 0px;
    }
    .big-message h2 {
        font-size: 36px;
    }
    .section-with-image {
        padding-top: 200px;
        padding-bottom: 40px;
    }
    .section-with-image .side-image,
    #gmap {
        width: 100%;
        height: 160px !important;
        top: 0;
        right: 0;
    }
    .section-with-image .side-image:before,
    #gmap:before {
        display: none;
    }
    .section-with-image h2 {
        font-size: 36px;
    }
    .section-with-image p {
        font-size: 14px;
        font-weight: normal;
    }

    .service-items {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding-bottom: 50px;
    }
    .service-items:last-child {
        border-bottom: none;
        padding-bottom: 0px;
    }
    #main-footer h3 {
        margin-top: 20px;
        margin-bottom: 5px;
    }
    .section-with-image .image-avatar {
        width: 150px;
        height: 150px;
        right: 0;
        top: 20px;
        left: 0;
        margin: auto;
        margin-top: 0px;
    }
}

@media (max-width:479px) {
    #projects-container .project-item {
        width: 300px;
        margin-bottom: 15px;
    }
    .project-item .hover-mask .project-title {
        margin-top: 70px;
    }
}

.blog-post {
    padding: 30px 15px;
    width: calc(100% / 2);
    float: left;
    margin-bottom: 30px;
}

@media (max-width:768px) {
    .blog-post {
        width: 100%;
    }
    .navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
        max-height:none !important;
    }
    #main-nav .top-right {
        display: none;
    }
    #main-nav #site-nav li > a.btn,
    #main-nav #site-nav li > a.btn:hover,
    #main-nav #site-nav li > a.btn:focus {
        margin-top: -10px;
        line-height: normal;
        padding: 10px 15px;
        margin: 0;
        display: block;
        margin-bottom: 15px;
        transform: translate(0px);
        margin-left: 15px;
        margin-right: 15px;
        background: #EA4E5B;
        color: #fff !important;
        text-align: center;
    }
    #main-nav .navbar-brand {
        margin-left: 0px;
    }
    #main-nav .navbar-header {
        float: none !important;
    }
    #main-nav #site-nav {
        display: block;
        left: 100%;
        width: 100%;
        position: absolute;
        -webkit-transition:0.6s ease all;
        -moz-transition:0.6s ease all;
        -o-transition:0.6s ease all;
        transition:0.6s ease all;
        background: #fff;
        z-index: 99;
        margin-left: 0px;
        margin-right: 0px;
    }
    #main-nav #site-nav.active {
        transform: translate(-100%, 0px);
    }
    #main-nav .nav a {
        padding: 10px 20px;
    }
    #main-nav .nav li:first-child > a {
        padding-left: 20px;
    }
    body {
        padding-top: 104px;
    }
    .navbar-toggle {
        margin-top: 8px !important;
        margin-bottom: 8px !important;
    }
}

.blog-posts {
    margin-left: -15px;
    margin-right: -15px;
}

.nice-image-22 {
    display: block;
    width: 100%;
    height: 250px;
    margin-bottom: 15px;
}
.blog-post a {
    color: inherit;
}

.blog-post .readmore {
    font-weight: bold;
}


.featured-image {
    margin: 20px 0px;
}

.share {
    margin-top: 20px;
}

.share ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.share ul li {
    list-style: none;
    display: inline-block;
    width: 30px;
    height: 30px;
}

.share ul li a {
    padding: 5px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 16px;
    color: #fff;
}

.share ul li a:hover {
    background: rgba(0, 0, 0, 0.7);
}
.share ul li.facebook a {
    background: #3b5999;
    color: #fff;
}
.share ul li.twitter a {
    background: #55acee;
    color: #fff;
}
.share ul li.google a {
    background: #dd4b39;
    color: #fff;
}
.author {
    padding-bottom: 30px;
    display: block;
}
.author hr {
    width: 100%;
    height: 1px;
    position: relative;
    background: #ccc;
    border: none;
    margin-bottom: 30px;
    opacity: 0.2;
}

.avatar-area {
    width: 100px;
    height: 100px;
    float: left;
}

.avatar-area img {
    width: 100px;
    height: 100px;
}

.author-area {
    width: calc(100% - 100px);
    height: auto;
    float: right;
    text-align: left;
    padding-left: 20px;
}

.author-area p {
    margin-top: 15px;
    font-size: 15px;
}


/*-----------------------
--- article Styles ----
-------------------------*/

#article {
    background-color: #f9f9f9;
}

.article-bars {
    position: relative;
    margin-top: 20px;
    height: 350px;
    opacity: 0;
    transition: opacity .3s ease-out;
}

.article-item {
    position: absolute;
    width: 25%;
    height: 0;
    bottom: 0;
    border-right: 3px solid #fff;
    transition: height 1.2s ease-in-out;
}

.skill2 {
    left: 25%;
    background: #11B2D2;
}

.skill3 {
    left: 50%;
    background: #334959;
}

.skill4 {
    left: 75%;
    background: #B2C7C8;
}

.percent {
    position: absolute;
    display: block;
    width: 100%;
    top: -70px;
    font-size: 48px;
    text-align: center;
}

.article-item p {
    position: absolute;
    width: 100%;
    bottom: -40px;
    text-align: center;
}
