/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
    display: none;
}


/* Ajout des Fonts */
@font-face {
    font-family: 'Cambria';
    src: url('fonts/Cambria.woff2') format('woff2'),
    url('fonts/Cambria.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cambria';
    src: url('fonts/Cambria-Bold.woff2') format('woff2'),
    url('fonts/Cambria-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cambria';
    src: url('fonts/Cambria-Italic.woff2') format('woff2'),
    url('fonts/Cambria-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

* {
    font-family: 'Cambria', 'Times New Roman';
}

html {
    font-size: 16px;
}

#orientation {
    display: none;
}

#main {
    margin: auto;
    width: 100%;
    /*max-width:1024px;*/
    /*max-width:850px;*/
}

#mainContent {
    margin: auto;
    width: 100%;
    max-width: 850px;
}


#home, #search, .compare, h1 {
    margin: 0px auto;
    witdh: 100%;
    max-width: 850px;
}

h1 {
    text-align: center;
    font-size: 6vh;
    line-height: 1;
    font-weight: normal;
    padding-bottom: 1.125em;
    padding-top: 1.125em;
    color: #ffffff;
    background-color: #000000;
    text-transform: uppercase;
    cursor: pointer;
}

#logo {
    display: block;
    max-width: 100%;
    height: auto;
    /*margin: 5.25rem auto 4rem;*/
}

#footer {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 2vh;
}

#home {

}

#home img,
#search img.search-product {
    display: block;
    margin: auto;
    height: auto;
    max-width: 100%;
}

#home button {
    display: block;
    margin: auto;
    background-color: #000000;
    color: #ffffff;
    text-transform: uppercase;
    border: 0px;
    padding: 0.25em 0.8em;
}

#searchMessage, div.compare, #logoHome {
    display: none;
}

#search h2 {
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0px;
}

#search h3 {
    font-style: italic;
    font-weight: normal;
    color: #808285;
    text-align: center;
    margin-top: 0.25em;
}

#divSearch {
    display: flex;
    justify-content: center;
}

#search input {
    border-radius: 0px;
    border: 0px !important;
    background-color: #f2f2f2;
    height: 63px;
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
    width: 250px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#search input:focus {
    border: 0px !important;
    outline: none;
}

#search input::placeholder {
    color: #d4d4d4;
}

#searchIcon {
    width: 66px;
    height: auto;
}

#searchMessage {
    text-align: center;
    color: red;
    padding-top: 2em;
}

.compare > .content {
    display: flex;
    justify-content: space-between;
}

.compareContent {
    display: flex;
    justify-content: space-around;
}

.imgProduct {
    flex-basis: 35%;
}

.infoProduct {
    flex-basis: 45%;
    text-align: center;
}

.imgProduct img {
    display: block;
    margin: auto;
}


.compare h2, .compare h3 {
    font-weight: normal;
    text-transform: uppercase;
}

.compare h4 {
    font-weight: normal;
    text-transform: uppercase;
}

.compare h2 {
    line-height: 1.05;
}

/*
.old-product, .new-product , .new-product > div{
    display:flex;
}
*/
/*
.new-product > div{
    border: 6px solid #dbae8a;
    flex-basis: 100%;
}
.old-product > div, .new-product > div > div{
    flex-basis: 50%;
}
.old-product img, .new-product img{
    display: block;
    margin:4.5rem auto 4.5rem;
    max-width:100%;
    height:auto;
}
*/

.compareContent {
    flex-basis: 60%;
    border: 1px solid #f4e6dc;
}

.compareContent > div {
    margin-top: 2vh
}

.imgProduct img:nth-child(2) {
    margin-top: 0.5vh;
}

.complementaryProduct {
    flex-basis: 35%;
    padding-top: 3.5vh;
    border: 1px solid #f4e6dc;
    text-align: center;
}

.complementaryProduct .title {
    background-color: #f4e6dc;
    display: inline;
    text-align: center;
}

.content h2,
.content h3,
.content h4,
.newReference {
    text-align: center;
}

.newReference {
    display: inline-block;
    line-height: 3vh;
    font-size: 3vh;
    padding: 1.5vh 2.5vh;
    font-weight: bold;
    text-align: center;
    background-color: #f4e6dc;
    margin-top: 0.75vh;
    margin-bottom: 0.5vh;
}

.matchingTitle {
    text-align: center;
    color: #dbae8a;
    font-size: 1.4vh;
    font-weight: bold;
}

.compare .infoProduct .imgMatching {
    margin: auto;
    height: 1.7vh !important;
    width: auto;
}

.compare .infoProduct .imgHeart {
    height: 2.3vh !important;
}

.complementaryProduct > h4 {
    margin-bottom: 0;
    margin-top: 3.5vh
}

.complementaryProduct h4 span {
    display: inline-block;
    padding-left: 4px;
    padding-right: 4px;
    background-color: #000000;
    color: #ffffff;
}

.complementaryProduct img + h2 {
    margin-top: 0.25vh;
}

.allOverConcealer {
    margin-bottom: 4.75vh !important;
}


/* @media (max-width: 1199px){ */

h1 {
    max-width: 100%;
    font-size: 3.5vh;
}

h1 {
    text-align: center;
}

h1 span {
    text-align: center;
}

h1 span.overlay {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-basis: 100%;
    background-color: rgba(0,0,0,0.25);
}

h1 img {
    padding-top: 1vh;
    width: auto;
    max-width: 53px;
    height: 2.5vh;
    min-height: 23px;
    margin-bottom: -1.5vh;
}

#footer {
    font-size: 1.9vh;
}

#home button {
    font-size: 3.25vh;
}

#search h2 {
    font-size: 4.5vh;
}

#search h3 {
    font-size: 2.2vh;
}

#divSearch {
    padding-top: 1.25vh;
}

#searchMessage {
    font-size: 2.15vh;
}

#search input, #searchIcon {
    height: 6vh !important;
    max-height: 63px;
    padding: 0px !important;
}

#searchIcon {
    width: auto !important;
}

#search input, #search input::placeholder {
    font-size: 2.5vh;
}


.compare h2 {
    font-size: 2.75vh;
    font-weight: bold;
}

.compare h3 {
    font-size: 2.25vh;
}

.compare h3 {
    margin-top: 0.4vh;
    margin-bottom: 0.4vh;
}

.compare h2 {
    margin-top: 1.5vh;
    margin-bottom: 4vh;
}

.compare .compareContent h2 {
    margin-bottom: 2.5vh;
}

.imgHeart + .new-product h2 {
    margin-top: 1vh;
}


.compare h2 + h4 {
    margin-top: -2vh;
}

.compare h4 {
    font-size: 2vh;
}

.imgFleche {
    margin: 2vh auto 1vh;
    display: block;
}


#main {
    /*width:90%;*/
    /*height: 100vh;*/
    display: flex;
    flex-wrap: wrap;
    min-height: -webkit-fill-available;
    max-height: -webkit-fill-available;
}

#mainContent {
    width: 90%;
    min-height: 96vh;
    display: flex;
    flex-wrap: wrap;
    /*
     min-height: -webkit-fill-available;
     max-height: -webkit-fill-available;
     */
}

/*#main > *,*/
#mainContent > * {
    flex-basis: 100%;
}

#main h1 {
    display: flex;
    flex-basis: 100%;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: 0px;
    height: 15vh;
    padding: 0px;
    flex-wrap: wrap;
    background: url("../img/haut_page2.png");
    background-size: cover;
    background-repeat: no-repeat;
}

#home, #search {
    padding-top: 1.5vh;
    height: 67vh;
    padding-bottom: 1.5vh;
}

.compare {
    padding-top: 3.5vh;
    height: 65vh;
    padding-bottom: 1.5vh;
}

.compareContent {
    height: 66vh;
}

.imgProduct, .infoProduct {
    height: 64vh;
}


#logo {
    flex-basis: auto;
    padding-top: 2.5vh;
    padding-bottom: 2.5vh;
    height: 6vh !important;
    width: auto !important;
    display: block;
    margin: auto !important;
}

#footer {
    display: flex;
    flex-basis: 100%;
    justify-content: center;
    align-items: center;
    margin: 0px;
    height: 4vh;
    padding: 0px;
    background: url('../img/pied_page2.png');
    background-size: 100%;
    background-repeat: no-repeat;
}

#footer .overlay{
    display: flex;
    flex-basis: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.25);
}

#home > img {
    margin-top: 5vh;
    margin-bottom: 5vh;
    height: 48vh;
    width: auto;
}

#search {

}

#search img.search-product {
    margin-top: 2vh;
    margin-bottom: 4vh;
    height: 46vh;
    width: auto;
}

#searchMessage {
    padding-top: 7px;
}

.compare {

}

.compareContent {
    flex-bais: 60%;
    /*
    display:flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    */
}

/*
.compareContent > div{
    flex-basis: 95%;
    height: 32.5vh;
}
*/

.old-product > div:nth-child(1), .new-product > div > div:nth-child(1) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.compare .imgProduct img {
    height: 30vh !important;
    /*margin:0 !important; */
}

.complementaryProduct img {
    height: 24.75vh !important;
    margin: 2vh auto 0vh;
    display: block;
}


.compare .infoProduct img {
    height: 10vh !important;
    /* margin:0 !important; */
}

.new-product > div {
    border: 0.5vh solid #dbae8a;
}

/* } */

@media (max-height: 1024px) {
    html {
        font-size: 14px;
    }

    /*
    h1{
        font-size:3.75rem;
    }
    */
    #footer {
        font-size: 1.5vh;
    }
}


@media (max-height: 768px) {
    html {
        font-size: 14px;
    }

    /*
    h1{
        font-size:3.75rem;
    }
    */
}

@media (max-height: 579px) {
    html {
        font-size: 12px;
    }

    /*
    #search h2{
        font-size:3.875rem;
    }
    #search h3 {
        font-size:1.8125rem;
    }
    #search input, #searchIcon{
        height:4.75rem !important;
    }
    #search input,#search input::placeholder{
        font-size:1.85rem;
    }
    #searchMessage{
        font-size:1.5rem;
    }
    */
}

@media (max-height: 520px) {

    html {
        font-size: 11px;
    }
}

@media (max-height: 480px) {

    html {
        font-size: 8px;
    }

}


@media (max-width: 479px) {
    #search h3 {
        font-size: 1.9vh;
    }

    .compare h2 {
        font-size: 2.5vh;
    }

    .compare h3 {
        font-size: 1.8vh;
    }

    .compare h3 {
        margin-top: 0.4vh;
        margin-bottom: 0.4vh;
    }

    .compare h2 {
        margin-top: 1.5vh;
        margin-bottom: 3.5vh;
    }

    .compare h2 + h4 {
        margin-top: -2vh;
    }

    .compare h4 {
        font-size: 1.6vh;
    }

    .imgFleche {
        margin: 3vh auto 1.25vh;
    }

    .newReference {
        font-size: 2.5vh;
    }

    .compareContent {
        height: 65vh;
    }
}


/*
@media (max-width: 1023px){


    html{
        font-size:14px;
    }

    h1{
        font-size:3.75rem;
    }
    #footer{
        font-size:1.3125rem;
    }

    #main h1{
        height:15vh;
    }
    #home, #search{
        padding-top:1.5vh;
        height:68vh;
        padding-bottom:1.5vh;
    }
    .compare{
        padding-top:2.5vh;
        height:68vh;
        padding-bottom:0.5vh;
    }

    .compareContent, .imgProduct, .infoProduct{
        height:68vh;
    }
    #logo {
        padding-top:2vh;
        padding-bottom:2vh;
        height:6vh !important;
    }
    #footer{
        height:4vh;
    }

    #home > img{
        margin-top:5vh;
        margin-bottom:5vh;
        height:53vh;
    }
    #search img.search-product{
        margin-top:5vh;
        margin-bottom:5vh;
        height:38vh;
    }

    .compare .imgProduct img{
        height: 32vh !important;
    }
    .complementaryProduct img{
        height: 26vh !important;
        margin-top:2vh;
    }

    #home, #search, .compare, h1{
        width:95%;
    }
}

@media (max-width: 767px) {
    html{
        font-size:12px;
    }
    #search h2{
        font-size:3.875rem;
    }
    #search h3 {
        font-size:1.8125rem;
    }
    #search input, #searchIcon{
        height:4.75rem !important;
    }
    #search input,#search input::placeholder{

        font-size:1.85rem;
    }
    #searchMessage{
        font-size:1.5rem;
    }
    .compare h2, .compare h3{
        font-size:3.875rem;
    }
    .compare .new-product h3{
        font-size:4.6875rem;
    }

    .old-product > div:nth-child(1), .new-product > div > div:nth-child(1){
        flex-basis: 40%;
    }
    .old-product > div:nth-child(2), .new-product > div > div:nth-child(2){
        flex-basis: 60%;
    }
    .compare h2, .compare h3{
        padding-right:10px;
    }
}
@media (max-width: 579px) {

    html{
        font-size:11px;
    }
}

@media (max-width: 479px) {

    html{
        font-size:8px;
    }

}
@media (max-width: 320px) {
    html{
        width:320px !important;
    }
}
*/

