/**
 * Form
 *
 */

#content #secondary[role="complementary"] {
    overflow-y: auto;
    position: fixed;
    top: 0;
    right: -500%;
    background-color: #fff;
    width: 57.688rem;
    height: 100%;
    padding: 5.938rem 7.875rem 0 9.625rem;
    transition: right .5s linear;
    -webkit-transition: right .5s linear;
    -moz-transition: right .5s linear;
    -ms-transition: right .5s linear;
}

#content #secondary[role="complementary"].display-form {
    right: 0;
    z-index: 999999;
}

#content #secondary[role="complementary"].display-form:after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 9999;
}

#content #secondary[role="complementary"] p {
    color: #232f3b;
    text-transform: uppercase;
}

#content #secondary[role="complementary"]:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 65px;
    height: 557px;
    background: url('../img/bg-form.png') center center no-repeat;
}

.wpcf7-form-control-wrap input[type="text"], .wpcf7-form-control-wrap.menu-offre select {
    max-width: 18.188rem;
}

span[class*="-lb"] input[type="text"], span[class*="-lb"] input[type="tel"], span[class*="-lb"] input[type="email"] {
    max-width: 100%;
}

#content #secondary[role="complementary"] .widget-title {
    font-weight: 300;
    font-size: 1.989rem;
    text-align: left;
}

#content #secondary[role="complementary"] .widget-title:after {
    content: none;
}

#content #secondary[role="complementary"] h3 {
    padding-left: 0;
    font-weight: 700;
    font-size: 1.563rem;
    color: #62c1c6;
    text-align: left;
    border-bottom: 0;
}

#content #secondary[role="complementary"] h3:before {
    content: '..........';
    position: absolute;
    left: 0;
    bottom: 0;
    top: auto;
    width: 35px;
    height: 2px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.779rem;
    font-weight: 400;
    color: #000;
    text-align: center;
    line-height: 0;
    background: none;
}

.wpcf7-form-control-wrap {
    float: left;
    width: 100%;
    max-width: 18.188rem;
}

.wpcf7-form-control-wrap:nth-of-type(2n) {
    margin-right: 4.7%;
}

span[class*="-lb"]:not(.radio-civilite-lb) {
    max-width: 47%;
}

span[class*="-lb"]:nth-of-type(2n) {
    margin-right: 6% !important;
}

.wpcf7-form-control-wrap.textarea-message {
    float: none;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
}

[class^="wpcf7-form-control-wrap radio-civilite"] {
    max-width: 100%;
    margin-bottom: 1.188rem;
}

[class^="wpcf7-form-control-wrap radio-civilite"] span.wpcf7-list-item {
    display: inline-block;
    margin-left: 0;
    margin-right: 2.813rem;
}

label {
    position: relative;
    clear: both;
}

label input[type="radio"] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    margin: auto 0;
    width: 18px;
    height: 18px;
    opacity: 0;
}

.radio {
    float: left;
    margin-right: 0.313rem;
}

.radio span {
    position: relative;
    padding-left: 20px;
}

.radio span:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #818181;
    box-sizing: border-box;
    cursor: pointer;
}

.radio span.checked:after {
    content: '';
    position: absolute;
    top: 0;
    left: 4px;
    bottom: 0;
    margin: auto 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #62c1c6;
    box-sizing: border-box;
}

span.wpcf7-not-valid-tip, label.error {
    font-size: 0.7rem;
    text-transform: none;
    position: absolute;
    left: 0;
    bottom: 5px;
}

label.error {
    color: #f00;
}

input[type="text"].wpcf7-not-valid,
input[type="email"].wpcf7-not-valid,
input[type="tel"].wpcf7-not-valid,
textarea.wpcf7-not-valid,
input[type="text"].error,
input[type="tel"].error,
input[type="email"].error,
textarea.error {
    border-color: #f00;
}

.wpcf7-list-item-label {
    text-transform: none;
}

.error .selector {
    border-color: #f00;
}

input[type='file'] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    opacity: 0;
}

.uploader {
    position: relative;
    height: 32px;
    margin-bottom: 1.563rem;
    padding-left: 0.875rem;
    padding-right: 1.25rem;
    line-height: 32px;
    background-color: #62c1c6;
}

.uploader:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 1.25rem;
    margin: auto 0;
    width: 6px;
    height: 10px;
    background: url('../img/icons/arrow-link-white-icon.png') center center no-repeat;
    background-size: 6px 10px;
}

.uploader label.error {
    bottom: -20px;
}

.uploader span {
    color: #fff;
}

.action {
    display: none;
}

.form-recruitment {
    margin-top: 2.75rem;
}

*.form-recruitment textarea {
    max-height: 146px;
}

.page-recrutement *.form-recruitment textarea {
    max-height: 89px;
}

.form-recruitment .radio {
    margin-right: 0.425rem;
}

input[type="text"].full-width, input[type="email"].full-width {
    max-width: 100%;
}

.column-left {
    padding-right: 1.5rem;
}

.column-right {
    padding-left: 1.5rem;
}

.civilite {
    margin-bottom: 1.563rem;
}

.mme-radio {
    margin-right: 2.5rem;
}

.submit-form {
    margin-top: 2.5rem;
}

.wrap-input {
    position: relative;
    overflow: hidden;
}

.wpcf7-response-output.success {
  color: green;
  border: 1px solid green;
  padding: 10px;
  margin-top: 15px;
}

.wpcf7-response-output.error {
  color: red;
  border: 1px solid red;
  padding: 10px;
  margin-top: 15px;
}

@media screen and (max-width: 767px) {
    span[class*="-lb"]:not(.radio-civilite-lb) {
        max-width: 100%;
    }
    span[class*="-lb"]:nth-of-type(2n) {
        margin-right: 0 !important;
    }
    .page-lbd input[type="submit"] {
        float: left;
        padding-left: 0;
        font-size: 1.250rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .form-recruitment textarea {
        max-height: 194px;
    }
    .page-recrutement *.form-recruitment textarea {
        max-height: 119px;
    }
}
