/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    font-size: 100%;
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

body {
    font-size: 0.75rem;
    color: #575656;
    font-family: 'nexity';
}


*, *:before, *:after {
  box-sizing: border-box;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Fonts
   ========================================================================== */


@font-face {
    font-family: 'nexity';
    src: url('../fonts/nexity-medium-webfont.woff2') format('woff2'),
         url('../fonts/nexity-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexity';
    src: url('../fonts/nexity-light-webfont.woff2') format('woff2'),
         url('../fonts/nexity-light-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;

}

@font-face {
    font-family: 'nexity';
    src: url('../fonts/nexity-bold-webfont.woff2') format('woff2'),
         url('../fonts/nexity-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;

}

.light {
    font-weight: 300;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Styles
   ========================================================================== */

body {
    background: url(../img/bg-nexity-basique.jpg) center no-repeat;
    background-size: cover;
    min-height: 100vh;
}

header {
    background-color: #ffffff;
    padding: 17px 38px;;
}

.page {
    position: relative;
}

.catchphrase {
    margin: 0;
}

.catchphrase p {
    margin: 0;
}

.catchphrase .main {
    margin: 0;
    padding: 30px 27px;
    font-size: 41px;
    background-color: #00779d;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
}

.discover {
    margin-top: 26px;
    padding: 20px;
    background-color: rgba(255,255,255, 1);
    text-transform: uppercase;
}

.discover p {
    margin: 0;
    font-size: 26px;
    font-weight: bold;
    color: #3c3c3b;
}

.discover ul {
    margin: 0;
    margin-top: 8px;
    padding: 0;
    font-size: 25px;
    color: #3c3c3b;
    list-style: none;
}

.discover ul li {
    position: relative;
    padding-left: 22px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.discover ul li:before {
    content: ">";
    font-weight: 700;
    color: #cc042d;
    position: absolute;
    left: 0px;
    top: 0px;
}
.btn_guide_basique{
    background-color: #ce152b;
    color: white;
    font-size: 28px;
    padding: 10px 20px;
    display: inline;
    margin-left: 50px;
    position: relative;
    text-align: center;
     vertical-align: middle;
}

.btn_guide_basique:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 29px 0 29px 30px;
    border-color: transparent transparent transparent #ce152b;
    position: absolute;
    right: -30px;
    top: 0px;
}
.form-aside {
    background-color: #f6f6f6;
    padding: 35px 25px 5px 50px;
    font-size: 20px;
}

label {
    font-size: 18px;
}

p > label,
.label {
    display: inline-block;
    width: 100px;
}


.form-aside p {
    margin: 11px 0;
}

input {
    border: 0;
    padding: 5px;
    background-color: #fff;
}

p >  input {
width: 235px;
}

.title {
    margin-top: 0;
    color: #ce152b;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 300;
    text-transform: uppercase;
}

.checkboxe input {
      position: absolute;
      visibility: hidden;
}

.checkboxe input + label {
    padding-right: 15px;
    font-size: 18px !important;
  display: inline-block;
  position: relative;
  margin-top: 1px;
  margin-bottom: 1px;
  padding-left: 27px;
  transition: all 0.4s;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

 .checkboxe input + label:before,
.checkboxe input + label:after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  height: 20px;
  width: 20px;
}

.checkboxe input + label:before {
  background-color: #fff;
}

.checkboxe input:checked + label {
    color: #ce152b;
}

.checkboxe input:checked + label:before {
    background: #ce152b;
}

.fz-small {
    font-size: 14px !important;
}

.form-aside .offers-p {
    margin-top: 20px;
}

.submit {
    margin-top: 12px;
    background-color: #ce152b;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 700;
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(0,0,0,0);
    transition: all 0.3s;
}

.submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.submit.inactive {
    background-color: #9E9E9E;
    transform: initial;
    box-shadow: none;
    cursor: default;
}

.btn {
    margin-top: 12px;
    background-color: #595858;
    color: #fff;
    font-weight: bold;
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(0,0,0,0);
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}
.display_error {
    color: #ce162b;
    font-size: 10px;
}

.hidden {
    opacity: 0;
    position: absolute;
    left: -999999px !important;
    z-index: -1;
    transition: opacity 0.4s;
}


@media screen and (max-height: 887px) {
    header img {
        max-height: 70px;
    }
    .form-aside {
        top: 104px;
        padding-top: 12px;
        font-size: 16px;
    }
        label {
        font-size: 15px;
    }
}



@media screen and (min-width: 767px) {

    .catchphrase {
        margin: 0;
        position: absolute;
        left: 45px;
        top: 45px;
        max-width: calc(100% - 485px);
    }
    .form-aside {
        position: fixed;
        top: 129px;
        right: 0;
        bottom: 0;
        width: 430px;
        background-color: #f6f6f6;
        padding: 35px 25px 5px 50px;
        font-size: 20px;
        overflow-y: auto;
    }

    .discover {
        width: 545px;
        max-width: 100%;
    }

}

@media screen and (max-width: 1090px) {
    .catchphrase {
        top: 20px;
        left: 27px;
    }
    .catchphrase .main br {
        display: none;
    }
    .catchphrase .main {
        font-size: 32px;
    }
    .discover ul {
        font-size: 21px;
    }
    .btn_guide_basique{
        font-size:20px;
    }
    .btn_guide_basique{
        font-size:20px;
        margin-left:0;
    }
    .btn_guide_basique:after {
        border-width: 23px 0 24px 37px;
        right: -37px;
        top: 0px;
    }
}

@media screen and (max-width: 890px) {
    header img {
        max-width: 100%;
    }
    .form-aside {
        padding: 20px;
    }

    p > label, .label,
    p > input {
        width: 100%;
    }

    .catchphrase .main {
        font-size: 21px;
    }

    .catchphrase .main {
        padding: 15px 20px;
    }

    .discover {
        margin-top: 0;
    }
    .discover p {
        font-size: 18px;
    }
    .discover ul li {
        font-size: 17px;
    }
    .btn_guide_basique{
        font-size:13px;
        margin-left:0;
    }
    .btn_guide_basique:after {
        border-width: 19px 0 19px 10px;
        right: -10px;
        top: 0px;
    }
}

@media all and (-ms-high-contrast:none)
     {
     *::-ms-backdrop, .page #link_version_personnalise { display: none } /* IE11 */
     }