/*
    Template: consulting
    Theme Name: Consulting Child Theme
    Theme URI: http://consulting.stylemixthemes.com/
    Author: StylemixThemes
    Author URI: http://stylemixthemes.com/
    Description: Consulting - Business and Finance WordPress theme. Using Consluting you can easily create a modern website with real content. Easily edit the real content and compose the page layout with drag & drop page builder Consulting is the best ever finance, consulting, brokerage WordPress theme. It’s fully Responsive and Easy to Customize using intuitive Drag & Drop Visual Composer and Theme Options panel in WordPress Customizer.
    Version: 4.1.4
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: blue, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, fluid-layout, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, sticky-post, translation-ready
    Text Domain: consulting-child-theme
*/

.none {
    display: none;
}
.home .affix #custom_img_logo {
    display: none;
}

.top_nav.media-body.media-middle.affix-top.menu-top {
    position: absolute !important;
    top: 0;
    right: 0px;
}
.top_nav.media-body.media-middle.affix-top.menu-top li.stm_megamenu > ul.sub-menu:last-child {
    position: fixed !important;
    top: 100px;
    transform: translateX(30%);
}
.top_nav.media-body.media-middle.affix-top {
    position: static !important;
} 

/* Pour éviter un espace blanc */
.stm-spacing {
    height: 0px !important;
}
.style-img-pages {
    width: 80px !important;
    height: auto;
}

.staff_list img.wp-post-image {
    width: 155px !important;
    height: 155px !important;
    border-radius: 50%;
}
.wpb_text_column :last-child:not(h3){
    margin-bottom: 0;
}
h3{
    margin-bottom: 23px !important;
}
.entry-content .vc_row:first-child h3:first-child {
    padding-top: 0px !important;
}
.vc_custom_1451991003825 {
    margin-bottom: 0px !important;
}
.vc_column-inner:not(div .wpb_wrapper) {
    margin-bottom: 50px;
}
.vc_row.vc_row-o-full-height {
    min-height: auto !important;
}

/* page 404, ajout du logo AFCI*/
.page_404 #custom_img_logo {
    position: absolute;
    width: 380px;
    height: auto;
    left: 15%;
    transform: translateY(-160%);
}
body.error404 {
    background: url(/wp-content/themes/consulting/assets/images/page_404.jpg) no-repeat center center fixed !important; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

}

.page_404 .container {
    max-width: 100%;
}

.logo_404 {
    width: 100%;
}
.page_404 .bottom .bottom_wr .media #logo_white{
    display: none;
    text-align: center;
    margin: auto;
    margin-top: 50px;
    width: 120px;
}

@media screen and (max-width: 920px) {
    .page_404 #custom_img_logo {
        display: none;
    }
    .page_404 .bottom .bottom_wr .media #logo_white{
        display: block;
    }
}

@media screen and (max-width: 424px) {
    .page_404 .bottom h1{
        font-size: 100px !important;
        line-height: 70px !important;
    }
    .page_404 .bottom .bottom_wr .media h3 {
        font-size: 30px;
        white-space: normal;
    }
    .page_404 .bottom .bottom_wr {
        height: 480px;
        padding: 70px 0 !important;
    }
}
/* modification de la taille de l'icone Linkedin dans le block des membres d'une équipe */
.staff_list.grid ul li i {
    font-size: 20px;
}
/* Menu */
.top_nav .top_nav_wrapper > ul > li ul li, .top_nav .main_menu_nav > ul > li ul li {
    text-transform : none;
}

/* Adhérents > un adhérent, nos points forts */
.icon_box.style_1.icon_left h5, .icon_box.style_1.icon_left_transparent h5 {
    min-height: 63px !important;
}

/* sous menu nos adhérents */
#menu-menu-afci li.menu-item-has-children .sub-menu li {
    padding: 13px 26px 11px;
    margin: 0 !important;
}
#menu-menu-afci li.menu-item-has-children .sub-menu li:hover {
    background-color: #1c48b3 !important;
}
#menu-menu-afci li.menu-item-has-children .sub-menu li a {
    font-weight: 400;
    font-size: 14px;
    color: #333333;
}

#menu-menu-afci li.menu-item-has-children .sub-menu li:hover a {
    color: white !important;
}

/* Nos adhérents */
.wpb_image_grid_ul .isotope-item {
    position: static !important;
}

/* Accueil > carrousel d'images */
.owl-carousel .owl-item img {
    width: 120px !important;
}


/* Footer */
#block-7 form .wp-block-search__label{
    position: relative;
    text-transform: none;
    font-size: 20px;
    color: #fff;
    margin: 0 0 36px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(204, 204, 204, 0.5);
}
.wp-block-search .wp-block-search__button {
    background: #ff636a;
    border: 0px;
    padding: 0.375em 0.625em;
    color: #1c48b3;
    word-break: normal;
    margin-left: 0px;
}
#custom_img_logo {
    width: 260px !important;
}



.ffmwp-tools-form-inline {
    position: sticky !important;
    display: block !important;
}