:root {
    --white: #fff;
    --black: #000;
    --black-9: #f8f8f8;
}
@font-face {
    font-family:"font-heavy";
    font-style:normal;
    font-weight:normal;
    src:url("../fonts/roboto-normal-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family:"font-medium";
    font-style:normal;
    font-weight:normal;
    src:url("../fonts/roboto-normal-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family:"font-light";
    font-style:normal;
    font-weight:normal;
    src:url("../fonts/roboto-normal-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* {box-sizing: border-box;}
body {
    background-image: url('../images/produits/eligibilite/search/header-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: "font-light";
    min-height: 100vh;
    height:100%;
    margin: 0;
    padding: 0;
    width:100%;
}
.container {
    margin: 0 auto;
    max-width: 100%;
    padding: 0 15px;
    width: 1470px;
}
header {background:var(--black-9);height:71px;line-height:71px;padding:0 15px;text-align: center;}
#notfound,
#access-denied,
#error {
    line-height: 1.4;
    text-align: center;
    width: 100%;
}
.error-code {
    align-items: center;
    display: flex;
    height: 210px;
    justify-content: center;
    width: 100%;
    position: absolute;
    left: 0;
    top: calc(10vh + 71px);
}
section h2 {
    color:  var(--white);
    font-family: 'font-light';
    font-size: 24px;
    margin: 20px 0 15px;
    padding: 0 15px;
    padding-top: 100px;
}
.error-message .error-sub-text {
    color:  var(--white);
}
.home-btn,
.contact-btn {
    font-family: 'font-medium';
    display: inline-block;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid transparent;
    text-transform: uppercase;
    padding: 15px 25px;
    font-size: 18px;
    border-radius: 32px;
    margin: 7px;
    transition: 0.3s;
}
.home-btn:hover,
.contact-btn:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}
.home-btn {
    color: var(--black);
    background: var(--white);
}
.contact-btn {border: 2px solid rgba(255, 255, 255, 0.9);color: rgba(255, 255, 255, 0.9);}
.my-ip section {background: rgba(255, 118, 0, 0.7);}
.hidden {display: none;}
.mire-contents {color: var(--white);font-size:1.15em;line-height: 1.15;}
.ip-number {font-size:1.6em;margin: 0;padding:0 15px;word-wrap: break-word;}

.error-message {
    background: transparent url('../images/produits/eligibilite/search/moutain.png') no-repeat top center;
    background-size: cover;
    height: calc(66vh - 71px);
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}
.error-code h1 {
    color:  var(--white);
    font-family: 'font-heavy';
    font-size: 18em;
    font-weight: 900;
    margin: 0;
    letter-spacing: 0;
    line-height: calc(2ex - 10px);
}

.error-code_global {
    position: relative;
    height: 22vh;
    margin-top: 9vh;
}

.error-code_global h1 {
    color:  var(--white);
    font-family: 'font-heavy';
    font-size: 14em;
    font-weight: 900;
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 3vw);
    letter-spacing: 0;
    line-height: calc(4px + 2ex);
}

.with-picto {
    position:relative;
}
.with-picto:after {
        border-left: 2px solid var(--black);
        border-bottom: 2px solid var(--black);
        content: '';
        display: inline-block;
        height: 8px;
        transform: rotate(225deg);
        vertical-align: middle;
        width: 8px;
        position: absolute;
        right: -13px;
        top: calc(50% - 4px);
}
.generic-cta,
.generic-cta:active,
.generic-cta:focus,
.generic-cta:visited,
.generic-cta:hover {
    font-size: 16px;
    text-align: center;
    transition: 0.3s ease-out;
    align-items: center;
    background: var(--white);
    border: 0;
    border-radius: 32px;
    box-shadow: none;
    color: var(--black);
    display: inline-flex;
    font-size: 18px;
    height: 50px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    max-width: 100%;
    padding: 0 18px;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    vertical-align: middle;
  }
  .generic-cta:hover {
    background: var(--black);
    color: var(--white);
  }
  .generic-cta:disabled {
    opacity: 0.3;
  }
  .generic-cta:disabled:hover {
    background: red;
  }
  .generic-cta.alternate,
  .generic-cta.alternate:active,
  .generic-cta.alternate:focus,
  .generic-cta.alternate:visited,
  .generic-cta.alternate:hover {
    background-color: transparent;
    border: 1px solid var(--white);
    color: white;
  }
  .generic-cta.alternate:hover {
    background-color: var(--black);
    border: none;
    color: var(--white);
  }
  .generic-cta.animated-with-picto,
  .generic-cta.animated-with-picto:hover,
  .generic-cta.animated-with-picto:focus,
  .generic-cta.animated-with-picto:visited,
  .generic-cta.animated-with-picto:active {
    gap: 0 12px;
    padding: 0 32px;
  }
  .generic-cta.animated-with-picto span,
  .generic-cta.animated-with-picto:hover span,
  .generic-cta.animated-with-picto:focus span,
  .generic-cta.animated-with-picto:visited span,
  .generic-cta.animated-with-picto:active span {
    transition: 0.3s ease-out;
  }
  .generic-cta.animated-with-picto:after,
  .generic-cta.animated-with-picto:hover:after,
  .generic-cta.animated-with-picto:focus:after,
  .generic-cta.animated-with-picto:visited:after,
  .generic-cta.animated-with-picto:active:after {
    text-rendering: auto;
    border-bottom: 2px solid var(--black);
    border-left: 2px solid var(--black);
    content: "";
    display: inline-block;
    height: 8px;
    position: relative;
    top: 2px;
    transform: rotate(-135deg);
    transition: 0.3s ease-out;
    vertical-align: 1px;
    width: 8px;
  }
  .generic-cta.animated-with-picto:hover::after {
    border-bottom: 2px solid var(--white);
    border-left: 2px solid var(--white);
  }
  .generic-cta.animated-with-picto:hover {
    justify-content: space-between;
  }
  .generic-cta.animated-with-picto:hover span {
    transform: translate(-16px);
  }
  .generic-cta.animated-with-picto:hover:after {
    transform: rotate(-135deg) translate(-6px, 7px);
  }
  .generic-cta.animated-with-picto.custom-picto:after,
  .generic-cta.animated-with-picto.custom-picto:hover:after,
  .generic-cta.animated-with-picto.custom-picto:focus:after,
  .generic-cta.animated-with-picto.custom-picto:visited:after,
  .generic-cta.animated-with-picto.custom-picto:active:after {
    background: transparent no-repeat center center;
    border: 0;
    content: "";
    display: inline-block;
    height: 24px;
    top: 0;
    transform: inherit;
    width: 24px;
  }
  .generic-cta.animated-with-picto.custom-picto:hover:after {
    transform: translate(16px, 0);
  }

  .button-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
  }


  .button-group .generic-cta.alternate:after,
  .button-group .generic-cta.alternate:active:after,
  .button-group .generic-cta.alternate:focus:after,
  .button-group .generic-cta.alternate:visited:after,
  .button-group .generic-cta.alternate:hover:after {
    border-left-color: var(--white);
    border-bottom-color: var(--white);
  }
.error-message .error-myip {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 32px;
    padding-top: 80px;
}
.error-message .error-myip .error-group {
    display: flex;
    color: var(--white);
    font-family: 'font-light';
    justify-content: center;
    padding: 0 0 8px;
    text-align: center;
}
.hidden-xs {display: none}

.error-code .myip-title {
    font-size: 6em;
}
@media (max-width: 1440px) {
    .error-code .myip-title {
        font-size: 5em;
    }
}
@media (max-width: 991px) {
    .error-code_global {
        margin-top: 6vh;
    }
    .error-code h1 {
        font-size: 15em;
    }
    .error-code .myip-title {
        font-size: 3.5em;
    }
}

@media (max-width: 767px) {
    .error-code_global h1 {
        font-size: 30vw;
    }
    .error-code {
        height: auto;
        padding: 32px 0;
        position: static;
    }
    .error-message {
        background: none;
        height: auto;
        padding: 0 0 32px;
        position: static;

    }
    .error-message .error-myip {
        gap: 16px;
        margin: 0;
        padding-top: 80px;
        position: static;
    }
    .hidden-xs {display: inline-block}
}


@media(max-width: 600px) {
    .error-code .myip-title {
        line-height: calc(2ex);
    }
}
@media (max-width: 479px) {
    section h2 {
        padding-top: 50px;
    }
    .button-group {
        flex-direction: column;
    }
    .generic-cta.animated-with-picto:after,
    .generic-cta.animated-with-picto:hover:after,
    .generic-cta.animated-with-picto:focus:after,
    .generic-cta.animated-with-picto:visited:after,
    .generic-cta.animated-with-picto:active:after {
        width: 10px;
    }
    .generic-cta.animated-with-picto.custom-picto:after,
    .generic-cta.animated-with-picto.custom-picto:hover:after,
    .generic-cta.animated-with-picto.custom-picto:focus:after,
    .generic-cta.animated-with-picto.custom-picto:visited:after,
    .generic-cta.animated-with-picto.custom-picto:active:after {
        width: 24px;
    }
    .generic-cta, .generic-cta:active, .generic-cta:focus, .generic-cta:visited, .generic-cta:hover {
        font-size: 16px;
    }
    .error-code h1 {
        font-size: 10em;
        padding-top: 50px;
    }
    .error-code .myip-title {
        font-size: 2em;
    }
    .error-code .subtitle {
        position: relative;
        z-index: 5;
    }
}



