/* STYLES GENERIQUES
-------------------------------------------------*/
body {
    font-family:'Lato', sans-serif;
    font-size:1em;
    color:#777;
    font-weight:300;
    line-height:1.7;
    overflow-x:hidden;
    background-color: #F9F8F8;
}

h1,h2,h3,h4,h5,h6 {
    color:#333;
    line-height:1.4;
    font-weight:700;
}

.mx-width {
    max-width:960px;
    margin:0 auto;
}

a,a:hover {
    color:#563d7c;
    text-decoration:none;
}

img{
    width:100%;
    max-width: 100%;
    height:auto;
}

.card-img-top{
    width:100%;
    height:auto;
}

.display-2 {
    font-family:'Lato';
    font-size:60px;
    line-height:1;
    font-weight:300;
    color:#fff
}

.learn {
    font-family:'Lato';
    font-size:27px;
    line-height:1.4;
    font-weight:300;
    color:#fff;
}

.jumbotron-fluid {
    padding:0;
    margin-bottom: 0px;
}

.dividerline {
    opacity: 0.5;
    border-bottom: 1px solid #4782A6;
}


/* PARALLAX
-------------------------------------------------*/
.parallax {
    text-align:center;
    /*background-position:center center;*/
    background-repeat:no-repeat;
    background-size:cover;
    background-attachment:fixed!important;
    overflow:hidden;
}

#size-banner{
    height:580px;
    padding-top:170px;
}

.sub-banner{
    height:170px;
    padding-top:170px;
}


/* HEADER
-------------------------------------------------*/
.heading {
    padding-bottom:15px;
    text-align:center;
    max-width:960px;
    margin:0 auto;
    padding-top:50px;
}

.heading h2 {
    font-weight:600;
    font-family:'Raleway';
    font-size:40px;
    color:#807D7D;
    margin:0;
    padding:5px 5px 25px 5px;
    text-transform: uppercase;
}

.heading h3 {
    font-size:1em;
    line-height:1.7;
}

#site-title {
    max-width:150px;
}


/* CONTACT
-------------------------------------------------*/
input.form-control {
    background:#fff;
    border:solid 1px #ddd;
    color:#000;
    padding:15px 30px;
    margin-right:3%;
    margin-bottom:30px;
    outline:none;
    border-radius: 0;
}

textarea.form-control {
    background:#fff;
    color:#000;
    border:solid 1px #ddd;
    padding:15px 30px;
    margin-bottom:40px;
    outline:none;
    height:200px;
    border-radius: 0;
}

button.contact.submit {
    background:#4782A6;
    font-family:'Lato',sans-serif;
    color:#fff;
    font-size:1em;
    font-weight:400;
    text-align:center;
    margin:0;
    border:none!important;
    border-radius:3px;
    padding:15px 45px;
}

button.contact.submit:hover {
    background:#000;
}

.form-control:focus{
    border-color: #59A2CF;
    outline: 0;
}

.done {
    display:none;
}

.form-group {
  margin-bottom: 0rem;
}


/* FOOTER
-------------------------------------------------*/
.footer {
    background:#59A2CF;
    position:relative
}

.footer .container {
    padding:60px 0 20px;
}

.footer ul {
    margin:0 auto;
    margin-bottom:30px;
    margin-top:10px;
    text-align:center;
    list-style-type:none;
    padding-left:0;
}

.footer ul li {
    text-align:center;
    display:inline-block;
    background:rgba(0,0,0,0.2);
    color:#fff;
    line-height:45px;
    margin:0 4px;
    width:45px!important;
    height:45px!important;
    -webkit-border-radius:3px;
    border-radius:3px;
}

.footer ul li:hover {
    background:#2a2a2a;
}

.footer ul li:hover a {
    color:#fff;
}

.footer ul li a {
    color:#fff;
    width:42px!important;
    height:42px!important;
}

.footer ul li a i {
    line-height:45px;
    color:#fff;
}

.footer p {
    color:#fff;
    font-size:.9em;
    line-height:24px;
    font-weight:300;
    text-align:center;
    text-transform:uppercase;
}

.footer a,.footer a:hover {
    color:#fff;
}

.viadeo {
    width: 45%;
    margin-top: -5px;
}


/* MEDIA QUERIES
-------------------------------------------------*/

@media screen and (max-width:768px) {
    input.contact.col-md-6{
        width:40.5%;
        margin: 15px 15px 0 58px;
    }

    textarea.contact.col-md-12 {
        margin: 15px 15px 0 58px;
    }

    button#submit.contact.submit{
        margin: 15px 15px 0 42px;
    }
}

.services {
    text-align: center;
}


/* NAVBAR
-------------------------------------------------*/
.navbar-default {
    background-color: #008AE1;
    border: none;
    border-radius: 0;
}

.navbar-fixed-bottom, .navbar-fixed-top {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        padding: 25px 0;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
        border: 0;
    }
}

.navbar-default {
    background-color: #222;
    border-color: transparent;
}

.nav {
    float: right;
}

.bg-faded {
    background-color: #008AE1;
}

.nav-link.active {
    border-bottom: 4px solid #EFEF34;
    padding-bottom: 15%;
}

.navbar {
    padding: 0 1rem;
}

.navbar-light .navbar-nav .nav-link {
    font-size: 1.1em;
    color:#FFF;
}

.navbar-light .navbar-brand  {
    color:#FFF;
}

.active {
    color: #EFEF34 !important;
}

.navbar {
    -webkit-transition: all 0.6s ease-out;
    -moz-transition: all 0.6s ease-out;
    -o-transition: all 0.6s ease-out;
    -ms-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
    background: rgba(89, 162, 207, 0); //NON-IE
}

.navbar.scrolled {
    background: rgba(89, 162, 207, 1); //NON-IE
    background: rgb(68, 68, 68); //IE
}

.navbar.scrolled a, .navbar.scrolled .nav-link {
    color:#FFF;
}

.navbar.scrolled a:hover,
.navbar.scrolled .nav-link:hover,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-brand:hover {
    color:#ECEC87;
}


/* PORTFOLIO
-------------------------------------------------*/
.card-pic {
    min-height: 410px;
}

.card-pic>.front>.panel-body,
.card-pic>.back>.panel-body {
    min-height: 300px;
}

.card-pic>.front>.panel-footer,
.card-pic>.back>.panel-footer {
    min-height: 60px;
    text-align: center;
    padding-top: 10px;
}

.card-pic>.back>.panel-body{
    height: 360px;
    padding: 15px;
}

.card-pic-container {
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    -o-perspective: 800px;
    perspective: 800px;
    margin-bottom: 30px;
}

.card-pic-container:not(.manual-flip):hover .card-pic,
.card-pic-container.hover.manual-flip .card-pic{
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.card-pic-container.static:hover .card-pic,
.card-pic-container.static.hover .card-pic {
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    transform: none;
}

.card-pic {
    -webkit-transition: -webkit-transform .5s;
    -moz-transition: -moz-transform .5s;
    -o-transition: -o-transform .5s;
    transition: transform .5s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: relative;
}

.front, .back {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FFF;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.14);
}

.front {
    z-index: 2;
}

.back {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
    z-index: 3;
}

.card-pic {
    background: none repeat scroll 0 0 #FFFFFF;
    border-radius: 4px;
    color: #444444;
}

.card-pic-container{
    border-radius: 4px;
}

.panel-footer .btn-lg {
    font-size: 0.95em;
    border-radius: 20px;
}

.panel {
    width:100%;
}

.logo-small {
    width: 25px;
    height: 25px;
    float:left;
    vertical-align: middle;
    margin:5px 10px 0 0;
}

.text-primary {
    color:#59A2CF !important;
}

.fa-li {
    top: 0.35em !important;
}


/* ANIMATIONS
-------------------------------------------------*/
.revealOnScroll {
    opacity: 0;
}

.animated {
    opacity: 1;
}


/* SECTIONS
-------------------------------------------------*/
section.services,
section.webapp,
section.website,
section.ebusiness,
section.training,
section.portfolio,
section.about,
section.contact {
    /*background-color: #F9F8F8;*/
 background: transparent; /* Old browsers */
}

section.map {
    margin-top: 120px;
    margin-bottom: -7px;
}

section.webapp p,
section.website p,
section.ebusiness p,
section.training p {
    text-align: justify;
}

section.webapp img,
section.website img,
section.ebusiness img,
section.training img {
    margin-bottom: 10px;
}

section.separator {
    margin-top: 60px;
}


/* MAP
-------------------------------------------------*/
#google-container {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #e7eaf0;
}
@media only screen and (min-width: 768px) {
    #google-container {
        height: 300px;
    }
}
@media only screen and (min-width: 1170px) {
    #google-container {
        height: 600px;
    }
}

#cd-google-map {
    position: relative;
}

#cd-google-map address {
    position: absolute;
    width: 100%;
    bottom: -10px;
    left: 0;
    padding: 1em 1em;
    background-color: rgba(71, 130, 166, 0.9);
    color: white;
    font-size: 13px;
    font-size: 0.8125rem;
}
@media only screen and (min-width: 768px) {
    #cd-google-map address {
        font-size: 15px;
        font-size: 0.9375rem;
        text-align: center;
    }
}

#cd-zoom-in, #cd-zoom-out {
    height: 32px;
    width: 32px;
    cursor: pointer;
    margin-left: 10px;
    background-color: rgba(71, 130, 166, 0.9);
    background-repeat: no-repeat;
    background-size: 32px 64px;
    background-image: url("../img/in-out.png");
}
.no-touch #cd-zoom-in:hover, .no-touch #cd-zoom-out:hover {
    background-color: #59A2CF;
}
@media only screen and (min-width: 768px) {
    #cd-zoom-in, #cd-zoom-out {
        margin-left: 50px;
    }
}

#cd-zoom-in {
    background-position: 50% 0;
    margin-top: 10px;
    margin-bottom: 1px;
}
@media only screen and (min-width: 768px) {
    #cd-zoom-in {
        margin-top: 50px;
    }
}

#cd-zoom-out {
    background-position: 50% -32px;
}


/* IMAGES
-------------------------------------------------*/
.services-pic {
    box-shadow: 1px black;
    -moz-box-shadow: 2px 2px 10px 0px #cfcfcf;
    -webkit-box-shadow: 2px 2px 10px 0px #cfcfcf;
    -o-box-shadow: 2px 2px 10px 0px #cfcfcf;
    box-shadow: 2px 2px 10px 0px #cfcfcf;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#cfcfcf, Direction=134, Strength=10);
}


/* MODAL
-------------------------------------------------*/
.modal {
    font-size: 0.9375rem;
}

.modal-header {
    background-color: #59A2CF;
    height: 50px;
}

.modal-footer {
    height: 50px;
    padding: 5px 10px;
}

.modal-header h4 {
    color: #FFF;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: normal;
}

.modal-body h5 {
    text-transform: uppercase;
    font-size: 1.1rem;
}

.modal-title {
    line-height: 1;
    padding-left: 15px;
}

.close {
    color: #FFF;
    opacity: 0.5;
}

.modal-footer .btn {
    background-color: #4782A6;
    color: #FFF;
    margin-right: 5px;
}

.modal-footer .btn:hover {
    background-color: #000;
}


/* MOBILE
-------------------------------------------------*/
@media screen and (max-width: 768px) {
    .display-2 {
        font-size: 40px;
    }

    .learn {
        font-size: 19px;
    }

    #site-title {
        max-width: 125px;
    }

    #size-banner {
        height: 400px;
        padding-top: 100px;
    }

    .heading h2 {
        font-size: 30px;
    }

    h4.heading {
        padding-top: 15px;
        text-align: left;
        margin: 25px 0 10px 80px;
    }

    .heading {
        padding-top: 35px;
    }

    .fa-stack {
        display: block !important;
        height: 0em !important;
    }

    .fa-4x {
        font-size: 2em !important;
    }

    .col-md-4 > .services-pic:nth-child(n+2),
    .service-details {
        display: none;
    }

    section.about h3 {
        font-size: 0.8em;
    }

    address {
        text-align: center;
    }

    button.contact.submit {
        font-size: 0.8em;
        padding: 10px 40px;
    }

    .animated {
        /*CSS transitions*/
        -o-transition-property: none !important;
        -moz-transition-property: none !important;
        -ms-transition-property: none !important;
        -webkit-transition-property: none !important;
        transition-property: none !important;
        /*CSS transforms*/
        -o-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -webkit-transform: none !important;
        transform: none !important;
        /*CSS animations*/
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -o-animation: none !important;
        -ms-animation: none !important;
        animation: none !important;
    }

    .revealOnScroll {
        opacity: 1;
    }

    .modal-header h4,
    .modal-body h5,
    .modal-body p {
        font-size: 0.8rem;
    }

    .close {
        display: none;
    }

    .modal {
        top: 5px !important;
        width: 90% !important;
        margin: auto !important;
    }

    .modal-header {
        height: 45px;
    }

    .footer p {
        font-size: .7em;
    }
}