/*
Guide des styles pour le thème Pack-e
*/

/*********************/
/******* ROOT ********/
/*********************/
:root {
    /* basics */
    --wh: #ffffff;
    --blk: #32373B;
    --kate: #0016b7;

    /* theme */
    --bleu: #26193A;
    --grisc: #D8D8D8;
    --grisf: #B2B2B2;
    --grislink: #807590;
    --beigec: #FFF7F2;
    --beige: #FDEFE7;
    --vertc: #E6FFF1;
    --vert: #81EAB0;
    --vertf: #30CE7F;

    /* border-radius */
    --rad90: 90px;
    --rad15: 15px;
    --rad9: 9px;
    --rad6 : 6px
}


/********************/
/******* LIENS ******/
/********************/
a:link {
    color: var(--blk);
}
a:visited {
    color: var(--bleu);
}
a:active,
a:hover {
    color: var(--vertf);
}

/********************/
/****** POLICES *****/
/********************/

/*** Inter Tight ***/
/* inter-tight - regular */
@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/intertight/InterTight-Regular.woff2') format('woff2'); /* Modern Browsers */
       url('../fonts/intertight/InterTight-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/intertight/InterTight-Regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/intertight/InterTight-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
}

/* inter-tight - regular italic */
@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/intertight/InterTight-Italic.woff2') format('woff2'),
       url('../fonts/intertight/InterTight-Italic.eot?#iefix') format('embedded-opentype'),
       url('../fonts/intertight/InterTight-Italic.woff') format('woff'),
       url('../fonts/intertight/InterTight-Italic.ttf') format('truetype');
}

/* inter-tight - 500 */
@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/intertight/InterTight-Medium.woff2') format('woff2'),
       url('../fonts/intertight/InterTight-Medium.eot?#iefix') format('embedded-opentype'),
       url('../fonts/intertight/InterTight-Medium.woff') format('woff'),
       url('../fonts/intertight/InterTight-Medium.ttf') format('truetype');
}

/* inter-tight - 500 italic */
@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/intertight/InterTight-MediumItalic.woff2') format('woff2'),
       url('../fonts/intertight/InterTight-MediumItalic.eot?#iefix') format('embedded-opentype'),
       url('../fonts/intertight/InterTight-MediumItalic.woff') format('woff'),
       url('../fonts/intertight/InterTight-MediumItalic.ttf') format('truetype');
}

/* inter-tight - 600 */
@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/intertight/InterTight-SemiBold.woff2') format('woff2'),
       url('../fonts/intertight/InterTight-SemiBold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/intertight/InterTight-SemiBold.woff') format('woff'),
       url('../fonts/intertight/InterTight-SemiBold.ttf') format('truetype');
}

/* inter-tight - 600 italic */
@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/intertight/InterTight-Medium.woff2') format('woff2'),
       url('../fonts/intertight/InterTight-Medium.eot?#iefix') format('embedded-opentype'),
       url('../fonts/intertight/InterTight-Medium.woff') format('woff'),
       url('../fonts/intertight/InterTight-Medium.ttf') format('truetype');
}


/**************/
/*** GLOBAL ***/
/**************/
body {
    font-family: 'Inter Tight', 'sans-serif';
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
    color: var(--bleu);
}
h1, h2, h3, h4, h5, h6 {
    display: block;
}

/********************/
/**** STRUCTURE *****/
/********************/
.widzmain {
    width: 1234px;
    margin-right: auto;
    margin-left: auto;
}
.widzfull {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

/*******************/
/*** PAGE HENTRY ***/
/*******************/
h1,
.page_hentry h1,
.classic_title_h1 {
    font-family: "Inter Tight", 'sans-serif';
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
    color: var(--Bleu);
}
h2,
.page_hentry h2,
.classic_title_h2,
.classic_title_h2_white {
    font-family: "Inter Tight", 'sans-serif';
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 43px;
    margin-bottom: 36px;
    color: var(--Bleu);
}
.classic_title_h2_white {
    color: var(--wh);
}

h3,
.page_hentry h3,
.classic_title_h3 {
    font-family: "Inter Tight", 'sans-serif';
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 27px;
    margin-bottom: 36px;
    color: var(--Bleu);
}
h4,
.page_hentry h4,
.classic_title_h4 {
    font-family: "Inter Tight", 'sans-serif';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: var(--Bleu);
}
.page_hentry p {
    font-family: "Inter Tight", 'sans-serif';
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 36px;
    color: var(--bleu);
}
.page_hentry p img{
    /*width: auto;*/
    /*max-width: 100%;*/
    /*height: auto;*/
    border-radius: var(--rad15);
}
.page_hentry ul {
    padding: 0;
    margin: 0 0 27px;
}
.page_hentry ul li {
    position: relative;
    line-height: 26px;
    box-sizing: border-box;
    padding: 0 0 0 14px;
    margin: 0;
}
.page_hentry ul li:before{
    position: absolute;
    content: '';
    width: 4px;
    height: 4px;
    top: 12px;
    left: 1px;
    background: var(--bleu);
    border-radius: var(--rad90);
}
.page_hentry table tr td p {
    margin-bottom: 0;
}

/* TABLES */
.page_hentry figure {
    margin: 32px 0 42px;
}
.page_hentry table {
    border: 2px solid var(--vert);
    border-radius: 13px;
    border-collapse: separate !important;
}
.page_hentry table thead tr th {
    box-sizing: border-box;
    padding: 20px 24px;
    text-align: center;
    border-right: 1px solid var(--vertf);
    border-bottom: 2px solid var(--vertf);
}
.page_hentry table tbody tr td {
    box-sizing: border-box;
    padding: 15px 27px;
    border-right: 1px solid var(--vertf);
    border-bottom: 1px solid var(--vertf);
}
.page_hentry table thead tr th:last-child,
.page_hentry table tbody tr td:last-child {
    border-right: none;
}
.page_hentry table tbody tr:last-child td {
    border-bottom: none;
}

/* AUTRES */
.page_hentry ol {
    list-style: decimal;
    margin-left: 20px;   /* pour l’indentation */
}
.page_hentry ol li {
    line-height: 26px;
    list-style-type: decimal;
    padding-left: 3px;
}
.page_hentry ol li::marker {
    color: var(--vertf);
}



/****************/
/*** CLASSICS ***/
/****************/
.classic_pic {
    display: block;
    width: 100%;
    height: 100%;
}
.classic_pic img {
    object-position: center;
}
.classic_content {
    margin-bottom: 90px;
}


/*** TITLES ***/
/**************/
.classic_title_h1.classic_title_page_produit {
    font-size: 33px;
    font-weight: 500;
    line-height: 42px;
}
.classic_title_h3.classic_title_remontee_secteurs {
    font-size: 23px;
    line-height: 38px;
}
.classic_title_h4.classic_title_h4_special {
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 13px;
}

/*** BUTTONS ***/
/***************/
.classic_btn_green,
.classic_btn_white {
    display: inline-block;
    font-weight: 500;
    padding: 14px 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: unset;
    background: var(--vert);
    border-radius: var(--rad6);
    transition: all 0.3s;
}
.classic_btn_green:hover,
.classic_btn_white:hover {
    color: var(--vert);
    background: var(--bleu);
    transition: all 0.3s;
}
.classic_btn_white {
    color: var(--bleu);
    background: var(--wh);
}
.classic_btn_white:hover {
    color: var(--wh);
    background: var(--bleu);
}

/*** TINE-MCE ***/
/****************/
.page_hentry p:has(.check_green) {
    margin-bottom: 13px;
}
.page_hentry p .check_green {
    position: relative; /* pour la puce "check" verte */
    padding-left: 27px;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.page_hentry p .check_green:before {
    position: absolute;
    content: '';
    width: 14px;
    height: 11px;
    top: 4px;
    left: 0;
    background: url('../img/check_green.svg') no-repeat center;
}


/*** PAGINATION ***/
/******************/
.pagination_wrap {
    display: flex;
    justify-content: center;
    margin-top: 105px;
}
.pagination_wrap .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
}
.pagination_wrap .pagination .inactive {
    display: block;
    font-size: 17px;
    font-style: normal;
    line-height: 27px;
    padding-top: 6px;
    text-decoration: unset;
}
.pagination_wrap .pagination .current {
    display: block;
    color: var(--vertf);
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: 27px;
    padding-top: 6px;
}
.pagination_wrap .pagination .pagination_ellipsis {
    padding-top: 6px;
}
.pagination_wrap .pagination .pagination_prev,
.pagination_wrap .pagination .pagination_next {
    display: block;
    font-family: "Inter Tight", 'sans-serif';
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-decoration: unset;
    text-transform: capitalize;
    padding: 8px 12px;
    background-color: var(--vertc);
    border-radius: 4px;
}
.pagination_wrap .pagination .pagination_prev {
    margin-right: 10px;
}
.pagination_wrap .pagination .pagination_next {
    margin-left: 10px;
}

/*** STICKY BTN (rond vert) ***/
/******************************/
#sticky_button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 999;
}
#sticky_button.is-visible {
    opacity: 0;
    visibility: visible;
    top: 166px;
    height: fit-content;
}

