/*
* Feuille CSS 
* Test => Viewport Unit | Media Queries | Rem
*/

@font-face {
    font-family: 'GT Pressura Regular';
    font-style: normal;
    font-weight: normal;
    src: local('GT Pressura Regular'), url('fonts/GT Pressura Regular.woff') format('woff');
}

@font-face {
    font-family: 'GT Pressura Light';
    font-style: normal;
    font-weight: normal;
    src: local('GT Pressura Light'), url('fonts/GT Pressura Light.woff') format('woff');
}
@font-face {
    font-family: 'GT Pressura Bold';
    font-style: normal;
    font-weight: normal;
    src: local('GT Pressura Bold'), url('fonts/GT Pressura Bold.woff') format('woff');
}


/*
* Modification de certains paramètre de bootsrap
*/

.row {
    margin-right: 0rem;
    margin-left: 0rem;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
    padding-right: 0rem;
    padding-left: 0rem;
}

/* 
62.5%
1rem = 10px
1.5rem = 15px
102.4rem = 1024px
*/

/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width]))); =10 px à 1366vw*/

/* 
Le zoom de Windows est le plus souvent de 100% ou 125%
Le zoom "90%"  du navigateur est donc de 0.9dppx (90%)  ou 1.125dppx (112.5%)
Le zoom "100%" du navigateur est donc de 1dppx   (100%) ou 1.25dppx  (125%)
Le zoom "120%" du navigateur est donc de 1.2dppx (120%) ou 1.5dppx   (150%)
*/

/*****************************************
 * Desktop Devices (768px - 1500px) 
 *****************************************/
/* Zoom < 90% ou < 72% d'un navigateur */
/*@media screen and (max-width: 1499.98px) and (min-width: 768px) and (max-resolution: 0.9dppx),
screen and (max-width: 1499.98px) and (min-width: 768px) and (max-resolution: 86dpi),
screen and (max-width: 1499.98px) and (min-width: 768px) and (-webkit-max-device-pixel-ratio: 0.9){*/
    html {
        font-size: 10px; /*calc(0.9 * 0.732vw);*/
    }
/*}*/
/* Zoom > 90% ou > 72% et < 155% ou < 124% d'un navigateur */
@media screen and (max-width: 1499.98px) and (min-width: 768px) and (min-resolution: 0.9dppx) and (max-resolution: 1.55dppx),
screen and (max-width: 1499.98px) and (min-width: 768px) and (min-resolution: 86dpi) and (max-resolution: 149dpi),
screen and (max-width: 1499.98px) and (min-width: 768px) and (-webkit-min-device-pixel-ratio: 0.9) and (-webkit-max-device-pixel-ratio: 1.55),
screen and (max-width: 1499.98px) and (min-width: 768px) and (resolution: 2dppx),
screen and (max-width: 1499.98px) and (min-width: 768px) and (resolution: 192dpi),
screen and (max-width: 1499.98px) and (min-width: 768px) and (-webkit-device-pixel-ratio: 2),
screen and (max-width: 1499.98px) and (min-width: 768px) and (resolution: 3dppx),
screen and (max-width: 1499.98px) and (min-width: 768px) and (resolution: 288dpi),
screen and (max-width: 1499.98px) and (min-width: 768px) and (-webkit-device-pixel-ratio: 3) {
    html {
        font-size: 0.723vw; /* 1000 / (1366 + 16)*/
    }
}

/* Zoom > 90% ou > 72% et < 155% ou < 124% d'un navigateur */
@media screen and (min-width: 1500px) and (min-resolution: 0.9dppx) and (max-resolution: 1.55dppx),
screen and (min-width: 1500px) and (min-resolution: 86dpi) and (max-resolution: 149dpi),
screen and (min-width: 1500px) and (-webkit-min-device-pixel-ratio: 0.9) and (-webkit-max-device-pixel-ratio: 1.55),
screen and (min-width: 1500px) and (resolution: 2dppx),
screen and (min-width: 1500px) and (resolution: 192dpi),
screen and (min-width: 1500px) and (-webkit-device-pixel-ratio: 2),
screen and (min-width: 1500px) and (resolution: 3dppx),
screen and (min-width: 1500px) and (resolution: 288dpi),
screen and (min-width: 1500px) and (-webkit-device-pixel-ratio: 3) {
    html {
        font-size: 11px;
    }
}

/*****************************************
 * Tablet (482px - 768px)
 *****************************************/
@media screen and (max-width: 767.98px) and (min-width: 481px) {
    html {
        font-size: calc(11.62px + (13 - 11.62) * ((100vw - 481px) / (768 - 481)));
    }
}

/*****************************************
 * Smallest devices (mobile, less than 481px) 
 *****************************************/
@media screen and (max-width: 480.98px)  {
    html {
        font-size:2.415vw /* 1000 / 414 */;
    }
}

/*
* Body
*/

body {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    margin: 0 auto;
}

/*****************************************
 * All Desktop Devices (> 768px) 
 *****************************************/
@media screen and (min-width: 768px) {
    .ej-show-mobile {
        display: none !important;
    }
}

/*****************************************
 * All Mobile + Tablet Devices (< 768px) 
 *****************************************/
@media screen and (max-width: 767.98px) {
    .ej-show-deskop {
        display: none !important;
    }
}

h1 {
    margin: 0;
    padding: 0;
}
