/* RESET
---------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    -webkit-overflow-scrolling: touch;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a, a:hover, a:active, a:focus,
input, input:hover, input:active, input:focus {
    text-decoration: none;
    border: medium none;
    outline: 0;
}

sup {
    font-size: 0.6em;
    vertical-align: super;
}

strong {
    font-weight: 600;
}


/* DEFAULTS
--------------------------------------------------------------------------------------------------------------------*/
html, body {
    background: none no-repeat scroll 0 0 #fff;
    height: 100%;
    min-width: 980px;
    width: 100%;
}

body {
    color: #595959;
    cursor: default;
    font: 300 14px Open sans, Arial, sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    overflow-y: auto;
    overflow-x: hidden;
}

body.no-js {
    opacity: 0;
}

a, a:hover, a:focus, a:active, a:after {
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}

i.text-small {
    font-size: 56%;
}

.hide{
    display: none;
}

.show{
    display: block;
}

/*** LOADING ***/
.loading{
    position:absolute;
    top:50%;
    left:50%;
    width:30px;
    height:30px;
    margin:-14px 0 0 -16px;
    border-width: 5px;
    border-style:solid;
    border-color:#fff #fff rgba(255,255,255,.5) rgba(255,255,255,.5);
    opacity:.9;
    border-radius: 50%;
    -webkit-animation:rotate 1s linear infinite;
    -moz-animation:rotate 1s linear infinite;
    -ms-animation:rotate 1s linear infinite;
}

article.dialog.dialog-open form div.loading{
    -webkit-animation:rotate 1s linear infinite;
    -moz-animation:rotate 1s linear infinite;
    -ms-animation:rotate 1s linear infinite;
}

@-webkit-keyframes rotate{
    0%{-webkit-transform:rotate(0deg)}
    100%{-webkit-transform:rotate(360deg)}
}

@-moz-keyframes rotate{
    0%{-moz-transform:rotate(0deg)}
    100%{-moz-transform:rotate(360deg)}
}

@-ms-keyframes rotate{
    0%{-ms-transform:rotate(0deg)}
    100%{-ms-transform:rotate(360deg)}
}



/* PRIMARY LAYOUT ELEMENTS
--------------------------------------------------------------------------------------------------------------------*/
#wrapper {
    height: auto;
    margin: 0 auto -43px; /* Equal to footer height */
    min-height: 100%;
    min-width: 980px;
    overflow: hidden;
    position: relative;
    width: 80%;
    z-index: 1;
}

#wrapper:after {
    content: "";
    display: block;
}

header {
    height: 76px;
    padding: 44px 0 0;
    position: fixed;
    top: 0;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    width: 100%;
    z-index: 1000;
}

*/#wrapper:after{
    height: 70px;
}*/


/* HEADINGS
--------------------------------------------------------------------------------------------------------------------*/
h1 {
    color: #fff;
    font: 300 45px/35pt Open sans,Arial,sans-serif;
    text-align: center;
}

h2 {
    color: #8d7031;
    font: 300 30px Open sans,Arial,sans-serif;
}

h3 {
    color: #efae7a;
    font-size: 18px;
    margin: 0 0 15px;
    text-transform: uppercase;
}

h4 {
    color: #efae7a;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}


/* GENERAL
--------------------------------------------------------------------------------------------------------------------*/
section.panel {
    height: auto;
    position: relative;
}

section.panel div.wrap {
    height: 100%;
    margin: 0 auto;
    min-width: 980px;
    position: relative;
    width: 80%;
}

div.row-input-text div.input-text-holder {
    margin: 0 0 0 15px;
}

div.row-input-text div.input-text-holder:first-child {
    margin: 0;
}

div.row-input-text input[type="text"].input-40,
div.row-input-text input[type="password"].input-40 {
    width: 40px;
}

div.row-input-text input[type="text"].input-90,
div.row-input-text input[type="password"].input-90 {
    width: 90px;
}

div.row-input-text input[type="text"].input-110,
div.row-input-text input[type="password"].input-110 {
    width: 110px;
}

div.row-input-text input[type="text"].input-150,
div.row-input-text input[type="password"].input-150 {
  width: 150px;
}

div.row-input-text input[type="text"].input-290,
div.row-input-text input[type="password"].input-290 {
    width: 287px;
}

div.row-select select {
    width: 162px;
}

div.row-input-text,
div.row-select {
    margin: 20px 0 0;
}

div.row-input-text:first-child,
div.row-select:first-child {
    margin: 0;
}

div.row-input-text label,
div.row-select label {
    float: left;
    padding: 11px 15px 11px 0;
    width: 155px;
}

div.row-input-text label.long-text,
div.row-select label.long-text {
    padding: 2px 15px 2px 0;
}

div.on-left, input.on-left, a.on-left {
    float: left;
}

div.on-right, input.on-right, a.on-right {
    float: right;
}

div.row-btn {
    margin: 60px 0 0;
    text-align: center;
}


/* HEADER
--------------------------------------------------------------------------------------------------------------------*/
header div.wrap {
    margin: 0 auto;
    min-width: 980px;
    position: relative;
    width: 80%;
}

header div.wrap a.logo {
    float: left;
}

header div.wrap a.logo img {
    display: block;
    width: 100px;
    margin-top: 8px;
}

header.header-account div.wrap a.logo img {
    margin-left: 16px;
}

header div.wrap nav.menu {
    margin: 0 95px 0 0;
    position: absolute;
    right: 0;
    top: 0;
}

header.header-account div.wrap nav.menu {
    margin-right: 16px;
}

header div.wrap nav.menu ul {
    margin: 4px 0 0;
}

header div.wrap nav.menu ul li {
    float: left;
    margin: 0 0 0 40px;
}

header div.wrap nav.menu ul li.btnAccount svg{
    width: 15px;
    height: 15px;
    padding: 1px;
    margin-top: 3px;
    cursor: pointer;
}

header div.wrap nav.menu ul li.numberPhone{
    border: 1px solid #717171;
    padding: 5px 15px;
    margin-top: -5px;
}

header div.wrap nav.menu ul li.numberPhone i{
    margin-right: 8px;
}

header div.wrap nav.menu ul li a{
    color: #717171;
    font-size: 16px;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}

header div.wrap ul.social-links {
    margin: 5px 0 0;
    position: absolute;
    right: 0;
}

header div.wrap ul.social-links li {
    float: left;
    margin: 0 0 0 20px;
}

header div.wrap ul.social-links li a {
    display: block;
    position: relative;
}

header div.wrap ul.social-links li.s1 a {
    height: 20px;
    width: 25px;
}

header div.wrap ul.social-links li.s2 a {
    height: 22px;
    width: 10px;
}

header div.wrap ul.social-links li a img,
header ul.social-links li a svg {
    height: 100%;
    width: 100%;
}

header div.wrap nav.menu ul li.active a {
    color: #8d7031;
}

header div.wrap nav.menu ul li a:hover{
    color: #8d7031;
}

header div.wrap ul.step-prog {
    float: right;
    margin: 1px 0 0;
}

header div.wrap ul.step-prog li {
    float: left;
    margin: 0 0 0 40px;
    position: relative;
    width: 160px;
}

header div.wrap ul.step-prog li:first-child {
    margin: 0;
}

header div.wrap ul.step-prog li:after {
    background: url("../img/ico-valid.png") no-repeat scroll 0 -22px transparent;
    content: "";
    display: block;
    height: 11px;
    opacity: 0;
    position: absolute;
    right: -25px;
    top: 7px;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    width: 16px;
}

header div.wrap ul.step-prog li.edit.done:after {
    opacity: 1;
    right: -5px;
}

header div.wrap ul.step-prog li.p1.edit.done:after {
    right: 30px;
}

header div.wrap ul.step-prog li.p2.edit.done:after {
    right: 50px;
}

header div.wrap ul.step-prog li.p3.edit.done:after {
    right: 20px;
}

header div.wrap ul.step-prog li,
header div.wrap ul.step-prog li span,
header div.wrap ul.step-prog li label{
    cursor: pointer;
}

header div.wrap ul.step-prog li.active, 
header div.wrap ul.step-prog li.disabled,
header div.wrap ul.step-prog li.active span,
header div.wrap ul.step-prog li.active label,
header div.wrap ul.step-prog li.disabled span,
header div.wrap ul.step-prog li.disabled label {
    cursor: default;
}

header div.wrap ul.step-prog li span {
    border: 1px solid;
    display: block;
    float: left;
    font: 600 14px/23px Open sans, Arial, sans-serif;
    height: 25px;
    opacity: 0.2;
    text-align: center;
    width: 25px;
}

header div.wrap ul.step-prog li label {
    float: left;
    font-size: 13px;
    letter-spacing: 0.5px;
    opacity: 0.4;
    padding: 4px 0 6px 10px;
    text-transform: uppercase;
}

header div.wrap ul.step-prog li.active span {
    background-color: #8d7031;
    border-color: #8d7031;
}

header div.wrap ul.step-prog li.done span {
    background-color: #8d7031;
    border-color: #8d7031;
}

header div.wrap ul.step-prog li.active span,
header div.wrap ul.step-prog li.done span {
    color: #fff;
    opacity: 1;
}

header div.wrap ul.step-prog li.active label {
    color: #8d7031;
}

header div.wrap ul.step-prog li.done label {
    color: #8d7031;
}

header div.wrap ul.step-prog li.active label,
header div.wrap ul.step-prog li.done label {
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 1;
}

header div.wrap ul.step-prog li.active span,
header div.wrap ul.step-prog li.done span,
header div.wrap ul.step-prog li.active label,
header div.wrap ul.step-prog li.done label {
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}

header:before {
    content: "";
    height: 0;
    left: 0;
    position: absolute;
    top: 0;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    width: 100%;
}

header.open-scroll {
    height: 50px;
    padding: 20px 0 0;
}

header.open-scroll:before {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    height: 70px;
}

header.header-home div.wrap nav.menu ul li a,
header.header-home div.wrap nav.menu ul li.numberPhone,
header.header-home div.wrap nav.menu ul li.numberPhone i {
    color: #fff;
}

header.header-home div.wrap nav.menu ul li.numberPhone{
    border: 1px solid #FFFFFF;
    padding: 5px 15px;
    margin-top: -5px;
}

header.header-home.open-scroll div.wrap nav.menu ul li a,
header.header-home.open-scroll div.wrap nav.menu ul li.numberPhone,
header.header-home.open-scroll div.wrap nav.menu ul li.numberPhone i
{
    color: #717171;
}

header.header-home.open-scroll div.wrap nav.menu ul li.numberPhone{
    border: 1px solid #717171;
}

header.header-home.open-scroll div.wrap nav.menu ul li a:hover,
header.header-home div.wrap nav.menu ul li a:hover{
    color: #8d7031;
}



/* HEADER FORMULAIRE CONNEXION */
header #formConnect .dialog-content h2{
    color: #8d7031;
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: bold;
    text-transform: inherit;
}


header #formConnect .dialog-content h4{
    color: #8d7031;
    text-transform: inherit;
    font-weight: lighter;
    margin-bottom: 20px;
}

header #formConnect .dialog-content form{
    position: relative;
}

header #formConnect .dialog-content form .input-text-holder{
    float: inherit;
    margin: 0 auto;
}

header #formConnect .dialog-content #registerUser{
    background-color: #C6C6C6;
    padding: 20px 35px;
}

header #formConnect .dialog-content .hoverText{
    cursor: pointer;
}

header #formConnect .dialog-content .hoverText:hover{
    color: #8d7031;
}

header #formConnect .dialog-content form input[type="submit"]{
    margin: 40px 0 20px;
}

header #formConnect .dialog-content .help-infos{
    margin-bottom: 20px;
}

header #formConnect form .form-result{
    margin-top: 30px;
}

header li.btnAccount{
    position: relative;
    z-index: 1050;
}

header li.btnAccount div.confirmDisconnect{
    display: none;
    position: absolute;
    z-index: 2000;
    top: 40px;
    left: -66px;
    width: 150px;
    text-align: center;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0, 0.7);
    border-radius: 4px;
    padding: 6px;
}

header li.btnAccount div.confirmDisconnect:before{
    content:"\A";
    border-style: solid;
    border-width: 15px;
    border-color: transparent transparent #FFFFFF transparent;
    position: absolute;
    top: -30px;
    left: 60px;
    z-index: 2;
}

header li.btnAccount div.confirmDisconnect:after {
    /* This is the shadow triangle */
    position: absolute;
    top: -18px;
    left: 58px;
    content: '\A';
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-bottom: 17px solid rgba(0,0,0, 0.17);
    z-index: 1;
}

header li.btnAccount div.confirmDisconnect>div{
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    justify-content: space-around;
    -webkit-justify-content: space-around;
    -moz-justify-content: space-around;
    -ms-justify-content: space-around;
}

header li.btnAccount div.confirmDisconnect>div>p{
    padding: 5px 15px;
    position: relative;
    z-index: 2000;
    margin: 6px 0;
    cursor: pointer;
    border: 1px solid #B8B8B8;
}

header li.btnAccount div.confirmDisconnect>div>p:hover{
    background-color: #F9F9F9;
}

.overlayDisconnect{
    position: absolute;
    top: 0;
    width: 100%;
    height: 3000%;
    z-index: 1000;
    display: none;
}


/* FOOTER
--------------------------------------------------------------------------------------------------------------------*/
footer {
    background: none no-repeat scroll 0 0 #fff;
    position: relative;
    bottom: -20px;
    height: 200px;
    width: 100%;
    padding: 30px 0;
}

footer div.wrap {
    margin: 0 auto;
    min-width: 980px;
    position: relative;
    width: 90%;
}

footer div.wrap li{
    margin-bottom: 15px;
}

footer div.wrap a{
    color: inherit;
    cursor: pointer;
}

footer div.wrap a:hover,
footer div.wrap a.legal-link:hover{
    color: #8d7031;
}

footer div.wrap .list-menu{
    float: left;
    text-align: left;
    width: 50%;
}

footer div.wrap .list-contact{
    float: right;
    text-align: right;
    width: 50%;
}

footer div.wrap a.legal-link {
    color: #929292;
}

footer.mobile{
    display: none;
    height: 300px;
    padding: 10px 0;
}

footer.mobile .wrap{
    text-align: center;
}

footer.mobile h3,
footer.mobile h4{
    color: #222222;
    text-transform: inherit;
    padding: 10px 20px;
    margin: auto;
}

footer.mobile h4{
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    width: 120px;
    margin: 15px auto;
}

footer.mobile h4.social{
    box-shadow: none;
    color: #FFFFFF;
    font-weight: 600;
}

footer.mobile h4.social a{
    color: #FFFFFF;
}

footer.mobile h4.social.FB{
    background-color: #405C96;
}

footer.mobile h4.social.Twitter{
    background-color: #59ADEC;
}

footer.mobile h4.social.Blog{
    background-color: #FA9641;
}


/* MI TEXT FIELD
---------------------------------------------------------- */
div.input-text-holder {
    border-bottom: 1px solid #d3ddde;
    float: left;
    padding: 10px 25px;
    position: relative;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}

div.input-text-holder:after {
    background: url("../img/ico-valid.png") no-repeat scroll 0 -11px transparent;
    content: "";
    display: block;
    height: 11px;
    opacity: 0;
    position: absolute;
    right: -10px;
    top: 14px;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    width: 16px;
}

div.input-text-holder.input-valid:after {
    opacity: 1;
    right: 5px;
}

div.input-text-holder.input-focus {
    background-color: rgba(135, 205, 230, 0.2);
}

/*div.input-text-holder.input-error {
    background-color: rgba(230, 135, 135, 0.3);
}*/

div.input-text-holder input[type="text"],
div.input-text-holder input[type="password"] {
    background: none repeat scroll 0 0 transparent;
    border: medium none;
    color: #8a979c;
    font: 300 14px Open Sans, Arial, Sans-serif;
    outline: medium none;
    width: 100%;
}

div.input-text-holder p.error-msg {
    background-color: #8d7031;
    color: #fff;
    float: left;
    font: 400 10px/15px Open Sans, Arial, sans-serif !important;
    left: 80%;
    letter-spacing: 1px;
    margin: 0 !important;
    max-width: 180px;
    opacity: 0;
    padding: 8px 20px 9px;
    text-align: left;
    text-transform: uppercase;
    top: 40px;
    z-index: -1;
}

div.input-text-holder p.error-msg span.error-arw {
    border-bottom: 5px solid #8d7031;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    display: block;
    left: 20px;
    position: absolute;
    top: -5px;
}

div.row-date div.input-text-holder p.error-msg {
    left: 110%;
    top: -12px;
}

div.row-date div.input-text-holder p.error-msg span.error-arw {
    border-bottom: 5px solid transparent;
    border-left: medium none;
    border-right: 5px solid #8d7031;
    border-top: 5px solid transparent;
    left: -5px;
    margin: -4.5px 0 0;
    top: 50%;
}

div.pac-container {
    border: medium none;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    margin: 10px 0 0 -25px;
    width: 365px !important;
}

div.pac-container::after {
    background: url("../img/ico-google.png") no-repeat scroll 92% center transparent;
    padding: 5px 0 15px;
}

div.pac-container div.pac-item {
    color: #b3b3b3;
    font-family: Open Sans, Arial, sans-serif;
    height: auto;
    padding: 6px 25px;
}

div.pac-container div.pac-item span.pac-icon.pac-icon-marker {
    background: url("../img/ico-marker.png") no-repeat scroll 0 0 transparent;
    height: 15px;
    margin: 8px 10px 8px 0;
    width: 11px;
}

div.pac-container div.pac-item:hover span.pac-icon.pac-icon-marker {
    background-position: -11px 0;
}

div.pac-container div.pac-item:hover {
    background-color: #f9f9f9;
}

div.pac-container div.pac-item.pac-item-selected,
div.pac-container div.pac-item.pac-item-selected:hover {
    background-color: #eff8fa;
}

div.pac-container div.pac-item span.pac-item-query {
    color: #8a979c;
    font: 400 14px/30px Open Sans, Arial, sans-serif;
    padding-right: 6px;
}


/* MI SELECT
---------------------------------------------------------- */
div.select-holder {
    font: 300 14px Open Sans, Arial, Sans-serif;
    float: left;
    position: relative;
    width: 250px;
}

div.select-holder select {
    left: -9999%;
    position: absolute;
}

div.select-holder span.option-display {
    background: none no-repeat scroll 0 0 #f2f2f2;
    border-radius: 2px;
    cursor: pointer;
    display: block;
    padding: 11px 25px;
    position: relative;
}

div.select-holder span.option-display:after {
    background: url("../img/ico-dropdown.png") no-repeat scroll 0 0 transparent;
    content: "";
    display: block;
    height: 8px;
    margin: -4px 0 0;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    width: 12px;
}

div.select-holder.select-open span.option-display:after {
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

div.select-holder span.option-display:after,
div.select-holder.select-open span.option-display:after {
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}

div.select-holder.select-focus span.option-display {
    background-color: #eff8fa;
}

div.select-holder.select-error span.option-display {
    background-color: #fbecf0;
}

div.select-holder.select-valid span.option-display {
    background-color: #edfbd8;
}

div.select-holder ul.option-holder {
    background-color: #fff;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    display: none;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 999;
}

div.select-holder ul.option-holder li {
    border-top: 1px solid #e6e6e6;
    padding: 12px 25px;
}

div.select-holder ul.option-holder li:hover {
    background-color: #fff;
}

div.select-holder ul.option-holder li.option-focus,
div.select-holder ul.option-holder li.option-focus:hover {
    background-color: #eff8fa;
}


/* MI BUTTON
---------------------------------------------------------- */
p.btn-mi,
a.btn-mi,
input.btn-mi {
    background: url("../img/ico-btn.png") no-repeat scroll 130% center #8d7031;
    border: medium none;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    font: 16px/10px Open sans, Arial, sans-serif;
    letter-spacing: 0.5px;
    outline: medium none;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}

a.btn-mi {
    display: inline-block;
    padding: 20px 60px;
    text-decoration: none;
}

p.btn-mi,
input.btn-mi {
    padding: 20px 60px;
}

p.btn-mi:hover,
a.btn-mi:hover,
input.btn-mi:hover {
    background-color: #8d7031 !important;
    background-position: 90% center;
    color: #fff !important;
}

p[disabled],
p[disabled]:hover,
a[disabled],
a[disabled]:hover,
input.btn-mi[disabled],
input.btn-mi[disabled]:hover {
    background-color: #ebb88b !important;
    background-position: 130% center !important;
    cursor: default;
    opacity: 0.2;
}


/* MI DATE PICKER
---------------------------------------------------------- */
.ui-datepicker {
    display: none;
    margin: 10px 0 0 -25px;
    padding: 0;
    width: 216px;
    z-index: 1001 !important;
}

.ui-datepicker .ui-datepicker-header {
    background: none repeat scroll 0 0 #fff;
    height: 25px;
    padding: 5px 0;
    position: absolute;
    width: 100%;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: absolute;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    background: none no-repeat scroll 0 0 #8d7031;
    border-radius: 15px;
    cursor: pointer;
    display: block;
    height: 25px;
    overflow: hidden;
    position: absolute;
    text-indent: -9999px;
    width: 25px;
}

.ui-datepicker .ui-datepicker-prev span:before,
.ui-datepicker .ui-datepicker-next span:before {
    left: 0;
}

.ui-datepicker .ui-datepicker-prev span:after,
.ui-datepicker .ui-datepicker-next span:after {
    left: -200%;
}

.ui-datepicker .ui-datepicker-prev span:before,
.ui-datepicker .ui-datepicker-next span:before,
.ui-datepicker .ui-datepicker-prev span:after,
.ui-datepicker .ui-datepicker-next span:after {
    background: url("../img/ico-btn.png") no-repeat scroll 10px center transparent;
    content: "";
    display: block;
    height: 25px;
    position: absolute;
    top: 0;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    width: 25px;
}

.ui-datepicker .ui-datepicker-prev span:hover,
.ui-datepicker .ui-datepicker-next span:hover {
    background-color: #87cee5;
}

.ui-datepicker .ui-datepicker-prev span:hover:before,
.ui-datepicker .ui-datepicker-next span:hover:before {
    left: 200%;
}

.ui-datepicker .ui-datepicker-prev span:hover:after,
.ui-datepicker .ui-datepicker-next span:hover:after {
    left: 0;
}

.ui-datepicker .ui-datepicker-prev {
    height: 25px;
    left: 5px;
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    width: 25px;
}

.ui-datepicker .ui-datepicker-next {
    height: 25px;
    right: 5px;
    width: 25px;
}

.ui-datepicker .ui-datepicker-title {
    color: #8d7031;
    height: 22px;
    padding: 3px 0 0;
    text-align: center;
    text-transform: uppercase;
}

.ui-datepicker .ui-datepicker-title select {
    font-size: 1em;
    margin: 1px 0;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 45%;
}

.ui-datepicker table {
    background: none repeat scroll 0 0 #fff;
    border-collapse: collapse;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 0 20px;
    padding: 40px 0 0;
}

.ui-datepicker th {
    font-weight: bold;
    text-align: center;
}

.ui-datepicker td {
    padding: 0;
}

.ui-datepicker td.ui-state-disabled span {
    background: none no-repeat scroll 0 0 #e8e8e8;
}

.ui-datepicker td.ui-datepicker-other-month span {
    background: none no-repeat scroll 0 0 #fff;
}

.ui-datepicker td span,
.ui-datepicker td a {
    color: #8a979c;
    display: block;
    padding: 4px 0;
    text-align: center;
    text-decoration: none;
    width: 30px;
}

.ui-datepicker td a.ui-state-hover {
    background-color: #eff8fa;
}

.ui-datepicker td.ui-state-disabled span,
.ui-datepicker td.ui-state-disabled a {
    color: #fff;
}

.ui-datepicker span,
.ui-datepicker a {
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}


/* MI DIALOG
---------------------------------------------------------- */
article.dialog,
div.dialog-overlay,
div.dialog-overlay-confirm-email{
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1100;
}

article.dialog {
    align-items: center;
    -webkit-align-items: center;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    pointer-events: none;
    position: fixed;
    display: -webkit-flex;
}

div.dialog-overlay,
div.dialog-overlay-confirm-email{
    background: none repeat scroll 0 0 rgba(55, 58, 71, 0.9);
    opacity: 0;
    position: absolute;
    transition: opacity 0.3s ease 0s;
    -webkit-transition: opacity 0.3s;
    -webkit-backface-visibility: hidden;
    z-index: 0;
}

article.dialog-open div.dialog-overlay,
div.dialog-overlay-confirm-email{
    opacity: 1;
    pointer-events: auto;
}

div.dialog-content {
    background: none repeat scroll 0 0 #fff;
    max-width: 560px;
    min-width: 290px;
    opacity: 0;
    padding: 40px 50px;
    position: relative;
    text-align: center;
    width: 50%;
    z-index: 10;
}

header div.dialog-content {
    max-width: 660px;
    padding: 40px 0px;
}

article.dialog-open div.dialog-content {
    pointer-events: auto;
}

div.dialog-overlay,
div.dialog-overlay-confirm-email{
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
}

div.dialog-content {
    overflow: hidden;
}

article.dialog.dialog-open div.dialog-content,
article.dialog.dialog-close div.dialog-content {
    animation-duration: 0.4s;
    -webkit-animation-duration: 0.4s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

article.dialog.dialog-open div.dialog-content {
    animation-name: anim-open;
    -webkit-animation-name: anim-open;
    animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    -webkit-animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

article.dialog.dialog-close div.dialog-content {
    animation-name: anim-close;
    -webkit-animation-name: anim-close;
}

article.dialog.dialog-open h1,
article.dialog.dialog-open h2,
article.dialog.dialog-open h3,
article.dialog.dialog-open h4,
article.dialog.dialog-open ul,
article.dialog.dialog-open form div,
article.dialog.dialog-open a,
article.dialog.dialog-open input,
article.dialog.dialog-open .help-infos{
    animation: 0.4s ease 0s normal both 1 running anim-elem;
    -webkit-animation: 0.4s ease 0s normal both 1 running anim-elem;
}

article.dialog.dialog-open h1,
article.dialog.dialog-open h3,
article.dialog.dialog-open span,
article.dialog.dialog-open ul {
    animation-delay: 0.25s;
    -webkit-animation-delay: 0.25s;
}

article.dialog.dialog-open input {
    animation-delay: 0.15s;
    -webkit-animation-delay: 0.15s;
}

@-webkit-keyframes anim-open {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -400px, 0);
    }
    
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
    }
}

@keyframes anim-open {
    0% {
        opacity: 0;
        transform: translate3d(0, -400px, 0);
        -webkit-transform: translate3d(0, -400px, 0);
    }
    
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes anim-close {
    0% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
    }
    
    100% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100px, 0);
    }
}

@keyframes anim-close {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }
    
    100% {
        opacity: 0;
        transform: translate3d(0, 100px, 0);
        -webkit-transform: translate3d(0, 100px, 0);
    }
}

@-webkit-keyframes anim-elem {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100px, 0);
    }
    
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
    }
}

@keyframes anim-elem {
    0% {
        opacity: 0;
        transform: translate3d(0, -100px, 0);
        -webkit-transform: translate3d(0, -100px, 0);
    }
    
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }
}

article.dialog a.btn-close,
article.dialog a.btn-close-mdp-forgotten,
article.dialog a.btn-close-register-user{
    bottom: 16px;
    color: #8d7031;
    display: block;
    font: 400 14px Open Sans, Arial, sans-serif;
    left: 50%;
    margin: 0 0 0 -46px;
    padding: 5px 0;
    position: absolute;
    text-transform: uppercase;
    width: 90px;
}

article.dialog a.btn-close:hover,
article.dialog a.btn-close-mdp-forgotten:hover,
article.dialog a.btn-close-register-user:hover{
    color: #8d7031;
}


/* CLEARFIX
--------------------------------------------------------------------------------------------------------------------*/
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

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

@media screen and (max-width: 700px) {
    html, body,
    header div.wrap,
    footer div.wrap {
        min-width: 0;
    }
    
    header nav.menu {
        display: none;
    }
    
    header .logo{
        display: none;
    }
    
    header .logo.black{
        display: block;
    }
    
    section h2,
    section>p{
        padding-left: 15px;
        padding-right: 15px;
    }
    section.panel {
        height: 100%;
        min-height: 400px;
    }
    section.panel#mTemoignages{
        height: auto;
    }
    section.panel div.wrap {
        min-width: 0;
    }
    
    footer.mobile{
        display: block;
    }
    
    footer.mobile h4.social{
        display: inline-block;
    }
    
    .desktop{
        display: none;
    }
    
    .mobile{
        display: block;
    }
}

@media screen and (max-width: 500px) {
    footer.mobile{
        height: 400px;
    }
    
    footer.mobile h4.social{
        display: block;
    }
}