/*   
Theme Name: MMDWC
Author: MATTIEU MOREAU DOMECQ WEB CONCEPTION
Author URI: http://www.mattieumoreaudomecq.com
*/

/* 
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}                                   


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


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


/*-------------------------------------------------------------------------------*/

/* CSS
-------------------------------------------------------------------------------*/


html,body{width:100%;height:100%;padding:0;margin:0}

body {
background-color: #FEFAF9;
font-family: 'AvenirNextLTPro-Regular';
font-size: 14px;
line-height: 18px;
}

body.opacity {
opacity: 0;
}

.home {
    overflow: hidden;
}

#intro {
    background-color: #F63F3C;
    display: none;
}

#intro img {
    width: 33%;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-moz-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}



.home #intro {
    display: block;
    height: 100%;
}

.home #wrapper {
    padding-top: 0px;
}

.home #wrapper.padding {
padding-top : 121px
}

.home header {
    position: relative;
}
.home header.opacity_ok {
    opacity: 1}

section, .open_menu, .open_menu_right, .logo  {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

body.loading section,
body.loading .open_menu,
body.loading .open_menu_right,
body.loading .logo {
opacity: 0.2;
/*filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
filter: gray;
-webkit-filter: grayscale(100%);*/
}

.flex {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
-webkit-box-align: center;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
display: flex;
align-items: center;
}

*:focus {
outline: none!important;
box-shadow: none!important;
border-color: #ccc!important;
text-decoration: none!important;
}

.container-fluid {
padding: 0px 40px;
}

#wrapper_parent {
transition: opacity 0.3s;
-webkit-transition: opacity 0.3s;
}

#wrapper{
width:100%;
height:100%;
color: black;

padding-top: 121px;
}

a,
a:active,
a:visited,
a:focus {
color: #F63F3C;
}

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

.wp-caption {
    max-width: 100%!important;
}

header {
padding: 40px 0px 36px 0px;
z-index: 510;
position: fixed;
width: 100%;
top: 0;
background-color: #fefaf9;
}

header .logo {
width: 200px;
height: auto;
display: inline;
}

/* MENU */

.open_menu {
color: #F63F3C;
cursor: pointer;
width: 30px;
transition: opacity 0.3s;
-webkit-transition: opacity 0.3s;
display: inline-block;
margin-bottom: -2px;
max-width: none;
}

#menu {
position: fixed;
height: 100%;
width: 260px;
background-color: #F63F3C;
top: 0;
z-index: 511;
left: -260px;
padding: 160px 40px 0px 40px;
}

#menu .close_menu {
color: white;
cursor: pointer;
position: absolute;
top: 43px;
width: 30px;
left: 40px;
}

.menu a {
color: white
}

.menu a:hover {
text-decoration: none;
font-family: 'AvenirNextLTPro-Demi';
}

.menu li.current-menu-item {
font-family: 'AvenirNextLTPro-Demi';
}

ul.menu {
border-top: 1px solid white;
padding-top: 10px;
}

.menu li {
list-style: none;
border-bottom: 1px solid white;
margin-bottom: 10px;
padding-bottom: 10px;
font-size: 16px;
}

.logo_mono {
position: absolute;
bottom: 40px;
width: 60px;
left: 40px;
}

/* FIN MENU */

/* MENU RIGHT */

.open_menu_right {
color: #F63F3C;
cursor: pointer;
width: 30px;
transition: opacity 0.3s;
-webkit-transition: opacity 0.3s;
display: inline-block;
margin-bottom: -2px;
max-width: none;
/*width:22px;*/
}

#menu_right {
position: fixed;
height: 100%;
width: 260px;
background-color: #F63F3C;
top: 0;
z-index: 511;
right: -260px;
padding: 160px 40px 0px 40px;
text-align: right;
color: white;
}

#menu_right .close_menu_right {
color: white;
cursor: pointer;
position: absolute;
top: 43px;
width: 30px;
right: 40px;
}

#sidebar {
font-size: 12px;
}

#sidebar h2 {
list-style: none;
/*border-bottom: 1px solid white;
margin-bottom: 10px;*/
padding-bottom: 10px;
font-size: 16px;
border-top: 1px solid white;
padding-top: 10px;
}

#multilingue a {
    display: inline-block;
}

#multilingue a {
    color: white;
    margin-bottom: 5px;
    margin-right: 4.2px;
}

#multilingue a:last-child {
    margin-right: 0px;
}


.archives {
border-top: 1px solid white;
border-bottom: 1px solid white;
margin-bottom: 10px;
padding-bottom: 5px;
padding-top: 10px;
}

.archives h2 {
    list-style: none;

font-size: 16px;
cursor: pointer;
margin-bottom: 6px;
}

.archives ul {
    list-style: none;
    display: none;
    text-transform: capitalize;
    margin-bottom: 4px;
    height: 200px;
    overflow: hidden;
}

.archives .mCS-dark-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: #000;
    background-color: white;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.archives .mCS-light-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, 
.archives .mCS-dark-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    width: 3px;
    background-color: #fff;
    background-color: rgba(255,255,255,0.6);
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
}

.archives .mCSB_scrollTools .mCSB_draggerRail {
    width: 1px;
    height: 100%;
    margin: 0 auto;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
}

.archives .mCS-light-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, 
.archives .mCS-dark-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    width: 1px;
}

.archives .mCS-dark-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: #000;
    background-color: grey;
}

.archives .mCSB_scrollTools {
    opacity: 1;
    filter: "alpha(opacity=100)";
    -ms-filter: "alpha(opacity=100)";
}

/*.archives li:nth-child(n+7) {
    display: none;
}*/

.archives a,
.archives a:active,
.archives a:visited,
.archives a:focus {
color: white;
}

.archives a:hover {
    text-decoration: none;
}

.archives .caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 6px dashed;
    border-top: 4px solid \9;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    position: relative;
    bottom: 1px;
}

#newsletter_form {
    position: absolute;
    bottom: 40px;
}

#newsletter_form .intro {
    font-size: 12px;
white-space: nowrap;
margin-bottom: 10px;
line-height: 18px;
}

.es_lablebox {
    display: none!important;
}

.es_textbox {
    padding-bottom: 0px!important;
}

.es_button {
    padding-top: 0px!important;
    padding-bottom: 0px!important;
}

#es_msg_pg {
color: white;
font-size: 12px;
border-bottom: 1px solid;
}


#es_txt_email_pg {
    border-bottom: 1px solid;
    color: white;
    text-align: right;
    font-size: 12px;
    padding: 2px 5px;
    font-family: "AvenirNextLTPro-Regular";
    line-height: 18px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid white;
    width: 100%!important!
        -webkit-appearance: none;
            border-radius: 0;
}

#es_txt_button_pg {
    margin-top: 10px !important;
    background-color: transparent;
    border: none;
    font-size: 12px;
    padding: 0px;
    line-height: 18px;
    cursor: pointer;
    width: auto!important;
}

.submit .ajaxloader {
  /*  display: none!important;*/
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: white;
  opacity: 1!important;
}
::-moz-placeholder { /* Firefox 19+ */
 color: white;
 opacity: 1!important;

}
:-ms-input-placeholder { /* IE 10+ */
  color: white;
  opacity: 1!important;
}
:-moz-placeholder { /* Firefox 18- */
  color: white;
  opacity: 1!important;
}


/* FIN MENU RIGHT */

/* NEWS */

.content article {
margin-bottom: 20px;
}

.bloc_news {
margin-bottom: 40px;
}

.bloc_news .crop_image {
border-bottom: 1px solid darkgrey;
margin-bottom: 20px;
padding-bottom: 20px;
position: relative;
}

.bloc_news .crop_image .inside {
height: 200px;
overflow: hidden;
position: relative;
}

.bloc_news .crop_image .overlay_hover {
width: 100%;
height: calc(100% - 20px);
position: absolute;
top: 0;
left: 0;
background-color: #eb4e45;
display: none;
opacity: 0.5
}

.bloc_news:hover > img {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray;
filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale");
}

.bloc_news .crop_image:hover > .overlay_hover {
display: block;
}

.bloc_news .crop_image img {
position: absolute;
left: 50%;
top: 50%;
-ms-transform: translate(-50%,-50%);
-moz-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
width: 100%;
}

.bloc_news .date_cat {
font-size: 12px;
color: grey;
}

.bloc_news .date_cat a:hover {
    color: grey;
    border-bottom: 1px solid;
    text-decoration: none;
}

.bloc_news h2 {
font-size: 20px;
line-height: 26px;
margin-bottom: 5px;
font-family: 'AvenirNextLTPro-Demi';
font-weight: normal;
}

.bloc_news h2 a:hover {
    color: grey;
    text-decoration: none;
}

.bloc_news .entry {
font-size: 14px;
}

.bloc_news .lire_plus {
  color: grey;
font-size: 12px;  
}

.bloc_news .lire_plus a,
.bloc_news .lire_plus a:active,
.bloc_news .lire_plus a:visited,
.bloc_news .lire_plus a:focus {
color: grey;
}

.bloc_news .lire_plus a:hover {
    color: grey;
    text-decoration: none;
    border-bottom: 1px solid;
}

#pagination {
    padding: 20px 40px;
    font-size: 20px;
line-height: 30px;
margin-bottom: 18px;
font-weight: normal;
}

#pagination .disabled, #pagination .current {
    color: grey;
}

#pagination span, #pagination a {
    padding: 0px 5px;
}

#pagination a:hover {
    text-decoration: none;
    color: grey
}

/* NEWS */

/* SINGLE */

.single-post article h2 {
font-size: 30px;
color: #F63F3C;
border-bottom: 1px solid darkgrey;
padding-bottom: 20px;
margin-bottom: 20px;
font-family: 'AvenirNextLTPro-Demi';
}

.single-post  .meta_single {
position: fixed;
width: 16.66666667%;
padding: 0px 35px 0px 0px;
color: grey;
font-size:12px;
}

.single-post  .meta_single a {
    font-weight: bold;
}

.single-post  .meta_single a:hover {
    text-decoration: none;
    color:#F63F3C;
    border-bottom: 1px solid;
}

.single-post  .tag_single {
position: fixed;
bottom: 40px;
width: 16.66666667%;
padding: 0px 35px 0px 0px;
color: grey;
text-transform: capitalize;
}

.single-post article a:hover {
    color: #F63F3C;
    border-bottom: 1px solid;
    text-decoration: none;
}

.single-post .tag_single a,
.single-post .tag_single a:active,
.single-post .tag_single a:visited,
.single-post .tag_single a:focus {
color: grey;
font-size:12px;
}

.single-post .tag_single a:hover {
    text-decoration: none;
    border-bottom: 1px solid;
}

.single-post .social_share {
    margin-bottom: 5px;
    font-size: 12px;
   /* display: inline-block;
    border-bottom: 1px solid #F63F3C;*/
}

.single-post .social_share span {
    margin-right: 5px;
}

.single-post .social_share a {
font-size: 20px !important;
color: #F63F3C !important;
margin-right: 5px;
}

.single-post .social_share a:hover {
    text-decoration: none;
    border: none;
    color: grey!important;
}

.single-post .thumbnail_top {
width: 100%;
display: block;
margin-bottom: 40px;
}

.single-post article p {
margin-bottom: 20px;
}

.single-post article p img {
    margin-top: 20px;
}

.single-post article .wp-caption-text {
    margin-top: -15px;
color: grey;
font-size: 12px;
}

.single-post article .aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100%;
}

.single-post article img {
    margin-bottom: 20px;
}

.single-post article strong {
    font-family: 'AvenirNextLTPro-Demi';
    font-weight: normal;

}

.single-post .border_bottom_single {
    border-bottom: 1px solid darkgrey;
margin-bottom: 10px;
}

.prev_next_single .bloc_news h2 {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 5px;
    font-family: 'AvenirNextLTPro-Demi';
    font-weight: normal;
    border-bottom: 0px;
    padding-bottom: 0px;
}

.prev_next_single .bloc_news h2 a:hover {
    color: grey;
    text-decoration: none;
    border-bottom:none;
}

.article_next_title, .article_prev_title {
    font-size: 12px;
    color: #F63F3C;
    margin-bottom: 10px;
    font-family: 'AvenirNextLTPro-Demi';

}

.article_prev_title {
    text-align: right;
}

/* SLIDESHOW */

.single-post .gss-container {
    margin-bottom: 5px;
    margin-top: 25px;
}

 .single-post .gss-pager {
    display: none!important;
 }

 .single-post .gss-captions, 
 .single-post .gss-long-cap {
    min-height: 1px;
    color: grey;
    font-size: 12px;
    padding: 0px 0px 10px 0px
}


.single-post .gss-info {
    width: inherit;
    position: relative;
    background-color: transparent;
    color: #fff;
    font-size: 20px;
    font-weight: lighter;
    line-height: 20px;
    overflow: auto;
    text-align: center;
}

.single-post .gss-prev,
.single-post .gss-next {
    color: rgb(246, 63, 60);
    display: inline-block;
    background-color: transparent;
    opacity: 1;
    filter: alpha(opacity=100);
    padding: 4px 10px;
    font-size: 22px;
    cursor: pointer;
    border: 0px;
    line-height: 16px;
    font-family: "AvenirNextLTPro-Regular";
}

.single-post .gss-nav {
    float: none;
    margin: 10px 0px;
    position: relative;
    z-index: 501;
}

.single-post .gss-prev:hover,
.single-post .gss-next:hover {
    color: grey;
    background-color: white;
    opacity: 1;
    filter: alpha(opacity=100);
}

.single-post .gss-pager .cycle-pager-active,
.single-post.gss-pager .cycle-pager-active:hover {
    background-color: rgb(246, 63, 60);
}

.single-post .gss-pager a:hover {
    background-color: #F63F3C;
    text-decoration: none;
    border-bottom: 0px !important;
}

.single-post .no-captions .gss-nav {
    padding: 0px;
    background-color: inherit;
    margin: 0;
}

.single-post .no-captions .gss-pager {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 5px;
}

.single-post .cycle-slideshow img {
    margin-bottom: 5px
}

.single-post .no-captions .gss-pager a {
    margin: 3px 7px 3px 0px;
}

/* CONTACT */
.page-template-page-contact {
    overflow: hidden;
}

.page-template-page-contact section article {
font-size: 38px;
color: #F63F3C;
line-height: 44px;
font-family: 'AvenirNextLTPro-Demi';

}

.page-template-page-contact section article a,
.page-template-page-contact section article a:active,
.page-template-page-contact section article a:visited,
.page-template-page-contact section article a:focus,  {
color: #F63F3C;
}

.page-template-page-contact section article a:hover {
    border-bottom: 2px solid;
    text-decoration: none;
    color: #f63f3c;
}

.page-template-page-contact #wrapper .footer_contact {
    padding: 40px 0px;
}

.page-template-page-contact #wrapper .footer_contact p {
    margin-bottom: 0px;
}

.page-template-page-contact section article p {
    margin-bottom: 38px;
}

/* FIN CONTACT */

/* AGENCE */

.page-template-page-agence  section article {
   font-size: 24px;
color: black;
line-height: 28px;
font-family: 'AvenirNextLTPro-Demi'; 
}

.page-template-page-agence  section article strong {
    color: #F63F3C;
    font-weight: normal;
}

.page-template-page-agence article p {
    margin-bottom: 40px;
}

.page-template-page-agence article ul {
    margin-left: 25%;
}

.page-template-page-agence article li {
        margin-bottom: 40px;
        list-style: none;

}

.page-template-page-agence .bloc_agence_img {
    padding: 320px 10px 10px 10px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 24px;
    color: white;
    margin-bottom: 40px;
    position: relative;
}



.page-template-page-agence .bloc_agence_img p {
    border-bottom: 2px solid white;
    border-top: 2px solid white;
    padding: 15px 0px;
    margin-bottom: 10px;
    font-family: 'AvenirNextLTPro-Regular';
    position: relative;

}

.page-template-page-agence .bloc_agence_last {
    border-top: 2px solid #F63F3C;
    padding-top: 20px;
}

.page-template-page-agence .agence_relative {
width: 100%;
position: relative;
top: -180px;
z-index: -1;
}

/* FIN AGENCE */

.single-post .tag_single.mobile {
    display: none;
}

/* IPAD */

@media (max-width: 991px) {

/* AGENCE */

.page-template-page-agence .agence_relative {
    width: 100%;
    position: relative;
    top: 0px;
    z-index: -1;
    margin-bottom: 40px;
}

/* CONTACT */

.page-template-page-contact .bloc_image_contact {
    margin-top: 40px;
}

.page-template-page-contact {
    overflow: auto;
}

/* SINGLE */

.single-post .meta_single {
    position: initial;
    width: 100%;
    padding: 0px;
    color: grey;
    font-size: 12px;
}

.single-post .tag_single {
display: none;
}

.single-post .tag_single.mobile {
        display: block;
    position: initial;
    width: 100%;
    padding: 0px;
    text-align: left;
    margin-bottom: 20px;
}

.bloc_news .date_cat .col-sm-12 {
    text-align: left
}


}

/* IPHONE */

@media (max-width: 767px) {

.home {
    overflow: auto!important;
}

#intro {
    display: none!important;
}

.container-fluid {
    padding: 0px 15px;
}





.home header {
    position: relative;
}
.home header.opacity_ok {
    opacity: 1}

header {
    padding: 20px 0px 16px 0px;
    position: fixed!important;
}

#wrapper {
    padding-top: 81px;
}

.home #wrapper {
    padding-top: 81px!important;
}

.home #wrapper.padding {
        padding-top: 81px!important;

}

#intro img {
    width: 75%;
}

#menu {
    padding: 105px 15px 0px 15px;
}

.open_menu {
    left: 15px;
}

#menu .close_menu {
    left: 15px;
    top: 20px;
}

.logo_mono {
    position: absolute;
    bottom: 20px;
    width: 60px;
    left: 15px;
}

.open_menu_right {
    right: 15px;
}

#menu_right .close_menu_right {
    right: 15px;
    top: 20px;
}

#menu_right {
    padding: 105px 15px 0px 15px;
}

.bloc_news {
    height: auto!important;
}

#newsletter_form {
    position: absolute;
    bottom: 40px;
    right: 15px;
}

/* AGENCE */


/* CONTACT */

.page-template-page-contact section article {
    font-size: 22px;
    color: #F63F3C;
    line-height: 28px;
    font-family: 'AvenirNextLTPro-Demi';
}



.page-template-page-agence section article {
    font-size: 22px;
    color: black;
    line-height: 28px;
    font-family: 'AvenirNextLTPro-Demi';
}

}

/* IPHONE PAYSAGE */

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

#menu {
    padding: 65px 15px 0px 15px;
}

#menu_right {
    padding: 65px 15px 0px 15px;
}

.archives ul {
    height: 70px;
}

.logo_mono {
    position: initial;
    bottom: 20px;
    width: 60px;
    left: 15px;
    margin-top: 40px;
}

}



