/* === GLOBAL === */

/* Cookie */

#cookie-notice .button.bootstrap {
    background: #1ba5d7;
    text-shadow: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    font-weight: bold;
    vertical-align: baseline;
    margin-bottom: 10px;
}

#cookie-notice .button.bootstrap:hover, #cookie-notice .button.bootstrap:focus {
    background: white;
    color: black;
}

/* Espacements */

.wrapper {
    padding: 66px 0;
    padding-bottom: 0;
}

.home .content-area{
    padding-bottom: 0;
}

.section-column-element,
.presentation-description,
.action-button-element,
.content-area,
.footer-widget {
    padding-bottom: 50px;
}

.presentation-description h2 {
    margin-top: 0px;
    color: white;
}

/* Liens */

a,
a:visited,
a:focus {
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
    color: black;
}

.btn:focus,
.btn-secondary:focus,
.btn-info.focus,
.btn-info:focus {
    box-shadow: none;
}

ul > li > a,
aside > ul > li > a,
aside > ul > li > span > a,
a > h3,
h1 > a,
h2 > a,
h3 > a,
p > a {
    color: #1ba5d7;
}

/* Images */

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

.type-page img {
//    padding: 10px;
}

.presentation-description.col-md-5 {
    text-align: center;
}

/* Typos */

@font-face {
    font-family: 'open_sansextrabold';
    src: url('OpenSans-ExtraBold-webfont.eot');
    src: url('OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/OpenSans-ExtraBold-webfont.woff') format('woff'),
    url('OpenSans-ExtraBold-webfont.ttf') format('truetype'),
    url('OpenSans-ExtraBold-webfont.svg#open_sansextrabold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansregular';
    src: url('OpenSans-Regular-webfont.eot');
    src: url('OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
    url('OpenSans-Regular-webfont.ttf') format('truetype'),
    url('OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sanslight';
    src: url('OpenSans-Light-webfont.eot');
    src: url('OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/OpenSans-Light-webfont.woff') format('woff'),
    url('OpenSans-Light-webfont.ttf') format('truetype'),
    url('OpenSans-Light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: open_sansregular;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #666666;
    background-color: white;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, a, p, ul, li, strong {
    color: #666666
}

.h1, h1, .h2, h2, h2 > a {
    font-size: 36px;
    font-family: 'open_sanslight';
    line-height: 3rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.h2, h2, h2 > a {
    margin-top: 2em;
}

.h3, h3, h3 > a {
    font-size: 19px;
    font-family: 'open_sansextrabold';
    text-transform: uppercase;
    margin-top: 3em;
}

.h4, h4, h4 > a {
    text-transform: uppercase;
    margin-top: 2em;
}

a, p, ul, li {
    font-family: 'open_sansregular';
    font-size: 16px;
    line-height: 2rem;

}

/* === PRE-HEADER === */

.wrapper-preheader {
    background: #00689d;
}

.wrapper-preheader .btn-secondary {
    color: white;
    background-color: #00689d;
    border: none;
    padding: 5px 10px;
}

.wrapper-preheader .btn-secondary:hover {
    background: black;
}

.preheader-buttons {
    flex-direction: row-reverse;
}

.wrapper-preheader .btn-info {
    background: #1ca6d7;
    font-size: 12px;
    border-radius: 0;
    border: none;
    padding: 8px 40px 5px 40px;
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle),
.wpcf7 .btn-group > input[type=submit]:first-child:not(:last-child):not(.dropdown-toggle),
.btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child),
.wpcf7 .btn-group > input[type=submit]:last-child:not(:first-child) {
    border-radius: 0;
}

.wrapper-preheader .btn-info:hover {
    background: black;
}

.btn-info > i {
    padding-right: 5px;
}

/* === NAVIGATION === */

.wrapper-navbar {
    -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.1);
}

.navbar-inverse .navbar-nav .active > .nav-link, .nav-link.active, .nav-link.open, .open > .nav-link {
    color: black;
}

.bg-inverse {
    background-color: white !important;
}

.navbar-inverse .navbar-nav .nav-link {
    color: #00679d;
    margin: 0 6px;
}

.navbar-toggleable-md .navbar-collapse {
    flex-direction: row-reverse;
    text-transform: uppercase;
}

.navbar-inverse .navbar-nav .nav-link:focus,
.navbar-inverse .navbar-nav .nav-link:hover {
    color: black;
}

.navbar-nav {
    position: relative;
}

.navbar-nav > .menu-item:first-child:after {
    display: none;
}

#main-menu .navbar-nav > .menu-item:after {
    content: "|";
    position: absolute;
    top: 8px;
    color: #00679d;
}

/* === HEADER === */

.entry-header {
    position: relative;
}

body.home #full-width-page-wrapper .entry-header h1 {
    color: white;
    margin: 0px auto 30px auto;
}

.entry-header {
    background-size: cover;
    background-position: 50% 0;
}

@media screen and (min-width: 1120px) {
    .entry-header {
        background-position: 0 25%;
    }
}

body.home .entry-header .container {
    height: 380px;
}

body.home .entry-header .container > .row {
    height: 100%;
}

/* === BODY === */

/* Image et titre */

.section-banner-container {
    width: 100%;
}

.section-banner-container .banner-img {
    margin: 0 auto;
    display: block;
    text-align: center;
}

.section-banner-container .banner-img img {
    margin-top: 5px;
    padding: 0;
    max-width: 300px;
}

.banner-title.row {
    margin-top: 35px;
    text-align: center;
}

/* Présentation des services */

.action-button-wrapper {
    padding: 0px 0px;
}

.action-button-wrapper .action-button-container {
    padding-top: 0;
}

.action-button-element {
    position: relative;
}

.action-button-wrapper a:hover {
    text-decoration: none;
}

.action-button-wrapper h1 {
    text-align: center;
}

.action-button-wrapper h1 > a {
    color: #1ba5d7 !important;
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase !important;
    font-family: "open_sansextrabold";
    position: relative;
    text-align: center;
}

.action-button-wrapper h1 > a:hover {
    color: gray !important;
}

.action-button-wrapper a:hover > img {
    filter: grayscale(100%);
}

.action-button-wrapper a:hover > h1:after {
    background: url(../img/dots_horizontal_hover.png);
}

.action-button-wrapper h1:after {
    content: "";
    position: absolute;
    left: 50%;
    margin-left: -46px;
    top: 46px;
    width: 92px;
    height: 15px;
    background: url(../img/dots_horizontal.png);
}

.action-button-wrapper p {
    padding: 0 30px;
    margin-bottom: 30px;
}

.action-button-readmore a:hover:after {
    background: url(../img/plus_icone_hover.png);
}

.action-button-readmore a:after {
    content: "";
    display: inline-block;
    top: 0;
    width: 40px;
    height: 39px;
    background: url(../img/plus_icone.png);
}

.action-button img {
    text-align: center !important;
    padding: 0px;
    display: block;
}

/* Bandeau expertise */

.presentation-wrapper {
    background: #1ba5d7;
}

.presentation-wrapper h3,
.presentation-wrapper p {
    color: white;
}

.presentation-wrapper p {
    padding-top: 5px;
}

.presentation-wrapper .img-center {
    text-align: center;
}

/* Technologies */

.section-columns-wrapper img {
//    margin-left: 0 !important;
//    padding-top: 15px;
//    padding-bottom: 10px;
}

.section-columns-wrapper a:hover,
.section-columns-wrapper a:hover > h3,
.section-columns-wrapper .section-column-readmore a:hover {
    text-decoration: none;
    color: black;
}

.section-columns-wrapper .section-column-readmore a, .wp-embed-more {
    color: #1ba5d7 !important;
    text-transform: uppercase;
    text-align: left;
    font-size: 14px;
}

.section-column-readmore {
    text-align: left !important;
}

.section-columns article {
    padding-top: 0px !important;
}

.section-columns article h1 a {
    color: #1ba5d7 !important;
    font-weight: bold !important;
    font-family: "open_sansextrabold" !important;
    text-transform: uppercase !important;
}

.section-columns-container-after {
    vertical-align: middle;
    float: right;
    position: absolute;
    right: 20px;
    top: 42%;
}

/* === WIDGETS === */

#footer-full-content .feedzy-rss li {
    padding: 0 !important;
}

#footer-full-content .feedzy-rss li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-widget ul {
    padding-left: 0;
}

.widget_nav_menu li {
    width: 100%;
}

.footer-widget li:not(:first-child) {
    padding-top: 10px;
}

.footer-widget a {
    color: #1ba5d7;
}

.footer-widget a:hover {
    color: black;
    text-decoration: none;
}

.edit-link {
    display: none;
}

/* === FOOTER === */

#wrapper-footer {
    text-align: center;
    background: #333333;
    padding: 30px 0;
}

#wrapper-footer a {
    color: white;
    margin-left: 14px;
    margin-right: 14px;
}

#wrapper-footer a:hover {
    text-decoration: none;
    border-bottom: 1px solid white;
    margin-bottom: 14px !important;
}

#wrapper-footer a {
    position: relative;
    font-size: 0.9em;
}

#wrapper-footer a + a:before {
    content: "|";
    position: absolute;
    left: -18px;
    top: -7px;
}

/* === PLAN DU SITE === */

.site-main h1 {
    color: #1ba5d7;
}

.wsp-container a {
    color: #1ba5d7;
}

.wsp-container a:hover {
    color: black;
}

.wsp-container > ul > li,
.wsp-container > ul > li > a {
    font-size: 18px;
    font-family: 'open_sansextrabold';
    text-transform: uppercase;
}

h2 + ul {
    text-align: left;
}

/* === CONTACT === */

#full-width-page-wrapper .site-main h1:not(.text-center),
#full-width-page-wrapper .site-main .presentation {
    color: #1ba5d7;
    margin-bottom: -30px;
//    margin-top: 66px;
}

/* Formulaire */

.nf-form-cont p,
.nf-form-cont label,
.nf-form-cont textarea,
.nf-form-cont input {
    font-family: open_sansregular !important;
}

.nf-form-title,
.nf-before-form-content {
    display: none;
}

.nf-form-layout label {
    color: #1ba5d7;
}

.nf-form-layout textarea,
.nf-form-layout input {
    color: #666666;
}

.ninja-forms-field {
    padding: 10px;
}

.nf-field {
    position: relative;
}

.nf-after-field .nf-error-msg {
    margin-right: 10px;
    position: absolute;
    top: 0;
}

.prenom .nf-after-field .nf-error-msg {
    left: 76px;
}

.nom .nf-after-field .nf-error-msg {
    left: 54px;
}

.email .nf-after-field .nf-error-msg {
    left: 58px;
}

.sujet .nf-after-field .nf-error-msg {
    left: 54px;
}

.message .nf-after-field .nf-error-msg {
    left: 83px;
}

.nf-form-cont {
    position: relative;
}

.nf-after-form-content {
    position: absolute;
    bottom: -3px;
    left: 195px;
    width: 212px;
}

.envoyer input {
    background: #1ba5d7;
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px 60px;
}

.envoyer input:hover {
    background: black;
}

.nf-response-msg p {
    font-size: 1em !important;
    color: #1ba5d7 !important;
    margin-bottom: 0;
}

.nf-response-msg p:last-child {
    font-weight: bold;
}

/* === RESPONSIVE === */

@media screen and (max-width: 400px) {

    /* === HEADER === */
    .preheader-container {
        padding: 0;
    }

}

@media screen and (max-width: 767px) {

    /* === HEADER === */
    body.home .entry-header .container {
        height: 330px;
    }

    /* === GLOBAL === */
    /* Cookie */
    span#cn-notice-text {
        display: block;
        padding-bottom: 12px;
    }

    /* Typos */
    .page-template-homepage h1,
    .page-template-homepage h2,
    .page-template-homepage h3,
    .page-template-homepage p,
    .page-template-homepage a,
    .footer-widget h1,
    .footer-widget h2,
    .footer-widget h3,
    .footer-widget p,
    .footer-widget a,
    .mx-auto {
        text-align: center;
    }

    /* Images */
    .section-columns-wrapper img,
    img.img-fluid.mx-auto.d-block {
        margin: 0 auto !important;
    }

    /* === WIDGETS === */
    .feedzy-rss li {
        text-align: center;
    }

    .widget_text a,
    .widget_nav_menu a {
        display: block;
    }

    /* === BODY === */
    /* Technologies */
    .section-column-readmore {
        text-align: center !important;
    }

    /* === FOOTER === */
    #wrapper-footer a {
        display: inline-block;
        margin: 0 auto;
        margin: 0 15%;
    }

    #wrapper-footer a:not(:last-child) {
        margin-bottom: 15px;
    }

    #wrapper-footer a:hover {
        margin-bottom: 14px;
    }

    #wrapper-footer a:last-child:hover {
        margin-bottom: 0 !important;
    }

    #wrapper-footer a + a:before {
        content: "";
    }

    /* === PLAN DU SITE === */
    .entry-title,
    .wsp-pages-title,
    .wsp-posts-title,
    aside > h3 {
        text-align: left;
    }

    /* === CONTACT === */
    /*Formulaire */
    .nf-after-form-content {
        position: inherit;
        width: 100%;
    }
}

@media screen and (max-width: 992px) {

    /* === NAVIGATION === */
    /* Burger */
    .navbar {
        padding: 0;
    }

    .navbar .container {
        margin: 0;
        width: 100%;
    }

    .navbar .container a {
        padding: 16px;
    }

    button.navbar-toggler {
        float: right;
        margin: 16px;
        border: none;
    }

    .navbar-collapse {
        background: #1ca6d7;
        width: 100%;
    }

    .navbar-inverse .navbar-nav .nav-link {
        color: white;
        position: relative;
        width: 300px;
        margin: 0 auto;
        text-align: center;
    }

    .navbar-inverse .navbar-nav .nav-item:first-child .nav-link:before {
        content: "_____";
        position: absolute;
        top: -20px;
        left: 44%;
    }

    .navbar-inverse .navbar-nav .nav-link:after {
        content: "_____";
        position: absolute;
        top: 36px;
        left: 44%;
    }

    .navbar-inverse .navbar-nav .nav-item:first-child .nav-link:hover:before,
    .navbar-inverse .navbar-nav .nav-link:hover:after,
    .navbar-inverse .navbar-nav .nav-item:first-child .nav-link:focus:before,
    .navbar-inverse .navbar-nav .nav-link:focus:after,
    .navbar-inverse .navbar-nav .active:first-child .nav-link:before,
    .navbar-inverse .navbar-nav .active .nav-link:after {
        color: white;
    }

    .navbar-toggler {
        background: #1ca6d7;
    }

    .navbar-toggler:hover {
        background: black;
    }

    .navbar-collapse {
        padding: 30px 0;
    }

}

@media screen and (max-width: 992px) {

}

.page-id-87 article h1.entry-title a {
    height: auto !important;
    display: inherit !important;
}

.page-id-87 .entry-content a {
    height: 120px;
    display: block;
    text-align: center;
    vertical-align: middle;
}

.page-id-87 article img {
    text-align: center;
    vertical-align: middle;
}

.page-id-87 .entry-content a.more-link, .page-id-87 .entry-content a.understrap-read-more-link {
    height: auto !important;
    display: inherit !important;
}

.parent-pageid-87 .wp-post-image {
    float: right;
}


.home a.understrap-read-more-link {
//    position: absolute;
//    bottom: 0px;
//    margin-bottom: 3em;
}

#section-home-technologies h1 {
    margin-bottom: 0px !important;
}

#section-home-technologies div.entry-content > a:first-child {
//    vertical-align: middle;
//    height: 110px;
//    display: block;
}

#section-home-technologies div.entry-content > p:first-of-type {

}

#section-home-technologies div.entry-content > p:last-of-type {
//    margin-bottom: 3em;
}

.parent-pageid-85 h1 {
    display: none;
}

.parent-pageid-85 .presentation-description h2 {
    color: #1ba5d7;
}

#wrapper-footer-full {
    padding-top: 0px;
}

.subpagelist_item h1
{
    margin-bottom: 0px !important;
}

#section-home-services .subpagelist_item .entry-content {
    margin-top: 3rem;
}