 /*
Theme Name: AMES
Author: Akatomy
*/

/* Reset CSS
 * --------------------------------------- */
 
* {
    box-sizing: border-box;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
    padding: 0;
    margin: 0;

}
a{
  text-decoration:none;
  color: inherit;
}
table {
    border-spacing: 0;
}
fieldset,img {
    border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
    font-weight: normal;
    font-style: normal;
}
strong{
  font-weight: bold;
}
nav ol, nav ul {
    list-style: none;
    margin:0;
    padding:0;
}
caption,th {
    text-align: left;

}
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-size: 100%;
    margin:0;
    padding:0;
    color:#333;
}
q:before,q:after {
    content:'';
}
abbr,acronym { border: 0;
}

/* Global
 * --------------------------------------- */

@font-face { 
font-family: "Barlow"; 
src: url('../fonts/Barlow-Regular.woff2') format('woff2'), 
    url('../fonts/Barlow-Regular.ttf') format('truetype'); 
font-weight: 400; 
font-style: normal; 
} 

@font-face { 
font-family: "Barlow"; 
src: url('../fonts/Barlow-Italic.woff2') format('woff2'), 
    url('../fonts/Barlow-Italic.ttf') format('truetype'); 
font-weight: 400; 
font-style: italic; 
} 

@font-face { 
font-family: "Barlow"; 
src: url('../fonts/Barlow-Light.woff2') format('woff2'), 
    url('../fonts/Barlow-Light.ttf') format('truetype'); 
font-weight: 300; 
font-style: normal; 
} 

@font-face { 
font-family: "Barlow"; 
src: url('../fonts/Barlow-LightItalic.woff2') format('woff2'), 
    url('../fonts/Barlow-LightItalic.ttf') format('truetype'); 
font-weight: 300; 
font-style: italic; 
} 

@font-face { 
font-family: "Barlow"; 
src: url('../fonts/Barlow-Bold.woff2') format('woff2'), 
    url('../fonts/Barlow-Bold.ttf') format('truetype'); 
font-weight: 700; 
font-style: normal; 
} 

@font-face { 
font-family: "Barlow"; 
src: url('../fonts/Barlow-BoldItalic.woff2') format('woff2'), 
    url('../fonts/Barlow-BoldItalic.ttf') format('truetype'); 
font-weight: 700; 
font-style: italic; 
} 

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

body {
 	background-color: #fff;
    color: #000;
    font-family: "Barlow", sans-serif;
    position: relative;
    font-size: 18px;
    line-height: 28px;
}

body.customize-support header {
  top: 32px;
}

header {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer > div {
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer {
    position: relative;
    top: 127px;
}

footer > div {
    border-top: 1px solid #cbbdd5;
}

header .logo img {
    height: 60px;
    width: auto;
    transition: 0.2s;
}

footer .logo img {
    height: 30px;
    width: auto;
    transition: 0.2s;
}

header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    background: #fff;
    transition: 0.2s;
}

header.scrolled {
    padding: 15px 30px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

header.scrolled .logo img {
    height: 30px;
    width: auto;
}

nav.main ul, nav.footer ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transition: 0.2s;
}

header.scrolled nav.main ul {
    font-size: 16px;
}

nav.main ul li:not(:first-child), nav.footer ul li:not(:first-child) {
    margin-left: 40px;
}

    nav.main ul li a, nav.footer ul li a {
        color: #5b317b;
        display: inline-block;
        border-bottom: 1px dotted #fff;
    }

    nav.main ul li a:hover, nav.footer ul li a:hover, nav.main ul li.current-menu-item a {
        color: #000;
        border-bottom: 1px dotted #000;
    }

    nav.footer ul li.strong a {
        font-weight: 700;
    } 

.burger {
    display: none;
}

.menu.social {
    margin-left: 40px;
}

@media screen and (max-width: 1200px) {

    .burger {
        display: block;
        cursor: pointer;
    }

    nav.main {
        display: none;
    }

    footer > div {
        flex-direction: column;
    }

    nav.footer ul {
        margin-top: 20px;
    }

    .menu.social {
        margin-left: 0px;
    }

}

@media screen and (max-width: 740px) {

    nav.footer ul {
        flex-direction: column;
    }

    nav.main ul li:not(:first-child), nav.footer ul li:not(:first-child) {
        margin-left: 0px;
    }

}

.mast h1, .mastIn h1 {
    font-size: 36px;
    line-height: 48px;
    font-weight: 300;
    color: #fff;
    max-width: 1200px;
    text-align: center;
}

.mast h1, .mastIn h1:not(:last-child) {
    margin-bottom: 20px;
}

body.single h1 {
    font-size: 48px;
    line-height: 60px;
    font-weight: 300;
    color: #5c327c;
    max-width: 960px;
    text-align: center;
    margin: 0px auto;
}

body.single h1:not(:last-child) {
    margin-bottom: 50px;
}

body.page:not(.home) h1, body.blog h1, body.error404 h1 {
    font-size: 48px;
    line-height: 60px;
    font-weight: 300;
    color: #5c327c;
    max-width: 960px;
    text-align: center;
    margin: 0px auto;
}

body.page:not(.home) h1:not(:last-child), body.blog h1:not(:last-child) {
    margin-bottom: 20px;
}

.container a {
    color: #5c327c;
    text-decoration: underline;
}

    .container a:hover {
        text-decoration: none;
    }

.mast a {
    margin: 14px;
}

a.button {
    display: inline-block;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    border: 2px solid #fff;
    font-size: 18px; 
    line-height: 18px;
    color: #fff;
    padding: 10px 20px 12px;
}

    a.button:hover {
        background: #fff;
        color: #5c327c;
    }

a.buttonFull {
    display: inline-block;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    border: 2px solid #fff;
    background: #fff;
    font-size: 18px; 
    line-height: 18px;
    color: #5b317b;
    padding: 10px 20px 12px;
}

    a.buttonFull:hover {
        border: 2px solid #5b317b;
        color: #fff;
        background: #5b317b;
    }

.highlight {
    font-size: 20px;
    line-height: 30px;
    color: #5c327c;
    font-weight: 500;
}

.bigger {
    font-size: 20px;
    line-height: 30px;
    font-weight: 300;
}

section.dark {
    background: #5b317b;
    color: #fff;
}

blockquote {
    font-size: 20px;
    line-height: 30px;
    font-weight: 300;
    font-style: italic;
    color: #5c327c;
}

    section.dark blockquote {
        color: #fff;
    }

.containerLarge {
    width: 100%;
    max-width: 1550px;
    padding: 50px 30px;
    margin: auto;
}

.container {
    width: 100%;
    max-width: 1260px;
    padding: 50px 30px;
    margin: auto;
}

@media screen and (max-width: 1200px) {

    .containerLarge {
        padding: 30px;
    }

    .container {
        padding: 30px;
    }

}

.item picture {
    display: block;
    margin-bottom: 15px;
}

.item img {
    width: 100%;
    height: auto;
}

.item .date {
    color: #5c327c;
    margin-bottom: 5px;
    font-size: 16px;
}

.slick-slide img {
    margin: auto;
}

h2 {
    font-size: 30px;
    line-height: 40px;
    color: #5c327c;
}

h3 {
    font-size: 22px;
    line-height: 32px;
    color: #5c327c;
    font-weight: 500;
    margin-bottom: 10px;
}

.h2Like {
    font-size: 30px;
    line-height: 40px;
}

.h3Like {
    font-size: 22px;
    line-height: 32px;
    font-weight: 500;
}

body:not(.home) p:not(:last-child), body:not(.home) h2:not(:last-child), body:not(.home) h3:not(:last-child), body:not(.home) blockquote:not(:last-child) {
    margin-bottom: 30px;
}

main {
    position: relative;
    top: 127px;
    min-height: 500px;
}

main ul:not(:last-child), main ol:not(:last-child) {
    margin-bottom: 30px;
}

main ul {
    list-style: disc inside;
}

main ol {
    list-style: number inside;
}

.number {
    font-size: 60px;
}

.blocAvecImage {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .blocAvecImage > div {
        flex-basis: 48%;
    }

    .blocAvecImage picture {
        width: 100%;
    }

    .blocAvecImage img {
        width: 100%;
        height: auto;
        border-top-right-radius: 50px;
        border-bottom-left-radius: 50px;
    }

@media screen and (max-width: 1200px) {

    .blocAvecImage {
        flex-direction: column;
    }

    .blocAvecImage > div {
        flex-basis: 100%;
    }

    .blocAvecImage > div:nth-child(1) {
        margin-bottom: 30px;
    }

}

.separateurImage {
    position: relative;
    /*overflow: hidden;
    width: 100%;
    height: 340px;*/
    text-align: center;
    padding: 50px;
    background: #5c327c;
}

@media screen and (max-width: 1200px) {

    .separateurImage {
        padding: 30px;
    }

}

    .separateurImage img {
        width: 100%;
        height: 100%;
        max-width: 1200px;
        /*object-fit: cover;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);*/
        border-top-right-radius: 50px;
        border-bottom-left-radius: 50px;
    }

.chiffresCles, .colonnes {
    display: flex;
    justify-content: space-between;
}

.colonnes img {
    margin: auto;
    max-height: 600px;
    width: auto;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

img.alignleft {
    float: left;
    margin: 0px 30px 30px 0px;
}

img.alignright {
    float: left;
    margin: 0px 0px 30px 30px;
}

@media screen and (max-width: 1200px) {

    .chiffresCles, .colonnes {
        flex-direction: column;
    }

    .chiffresCles > div:not(:last-child), .colonnes > div:not(:last-child) {
        margin-bottom: 30px;
    }

}

.documents {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.docItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.docItem img {
    width: 140px;
    margin: auto;
}

.docItem a {
    font-size: 0;
    line-height: 0;
}

.container em, .container i {
    font-style: italic;
}

figure.aligncenter img {
    margin-bottom: 50px;
}

.container .date {
    color: #5c327c;
}

/** slick dots ***/



.slick-dots {
    text-align: center;
    margin: 0px auto 10px auto !important;
}

.slick-dots li {
    padding: 0px !important;
    min-height: auto !important;
    margin-bottom: auto !important;
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px !important;
    cursor: pointer;
    margin: 0 5px;
    box-sizing: border-box;
    transition: background .25s ease-out;
    border-radius: 9999rem;
    border-color: #5c327c;
    border-style: solid;
    border-width: 1px;
}

.slick-dots li::after {
    transition: opacity .25s ease-out;
    content: "";
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    width: 5px;
    height: 5px;
    border-radius: 9999rem;
    border-color: #fff;
    border-style: solid;
    border-width: 1px;
}

.slick-dots li::before {
    transition: opacity .25s ease-out;
    content: "";
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    width: 11px;
    height: 11px;
    border-radius: 9999rem;
    border-color: #5c327c;
    border-style: solid;
    border-width: 1px;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li.slick-active, .slick-dots li:hover {
    background: #5c327c;
}

@media screen and (max-width: 640px) {

    .slick-dots:after {
        content: "➜";
        font-size: 16px;
        line-height: 18px;
        color: #5c327c;
        display: inline-block;
    }

    .slick-dots:before {
        content: "➜";
        font-size: 16px;
        line-height: 18px;
        color: #5c327c;
        display: inline-block;
        transform: rotate(180deg);
    }

    .slick-dots li::after {
        display: none;
    }

    .slick-dots li::before {
        display: none;
    }

    .slick-dots li {
        border: 0px solid #5c327c;
        outline: none;
        background: transparent !important;
        width: auto;
        height: auto !important;
    }

    .slick-dots li button {
        font-size: 16px;
        line-height: 18px;
        color: #d9653c;
        font-weight: 700;
    }

    .slick-dots li:not(.slick-active) {
        display: none;
    }

}

main table.tablepress {
    border: 1px solid #d5cede;
    border-collapse: collapse;
    width: auto;
    margin: auto;
}

main table.tablepress td {
    text-align: center;
    vertical-align: middle;
    border: 1px solid #d5cede;
}

.sliderEndpoint {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.sliderEndpoint img {
    object-fit: contain;
    max-height: 70px;
    width: 100%;
}

.slick-track {
    display: flex;
    align-items: center;
}

.custom-tablepress-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.custom-tablepress-wrapper table {
    width: 100%;
    min-width: 600px; /* Set based on your table content */
}

header > nav.burgerMenu span {
        cursor: pointer;
    }

    header > nav.burgerMenu .close {
        display: inline-block;
        font-size: 0.8em;
        text-transform: uppercase;
        position: absolute;
        right: 20px;
        color: #fff;
        font-weight: 900;
        padding-top: 20px;
        cursor: pointer;
    }

    header > nav.burgerMenu {
        display: block;
        position: fixed;
        z-index: 2000;
        background: #5c327c;
        top: 0;
        bottom: 0;
        left: -100%;
        width: 100%;
        padding: 30px;
    }

    header > nav.burgerMenu ul {
        display: flex;
        flex-direction: column;
        position: relative !important;
        top: auto !important;
        color: #fff !important;
        margin-top: 40px;
    }

    header > nav.burgerMenu > ul > li {
        padding: 10px 0px;
    }

    header > nav.burgerMenu > ul > li  a {
        display: block;
        color: #fff;
    }

    header > nav.burgerMenu > ul > li:hover ul {
         width: 100%;
     }

    header > nav.burgerMenu > ul> li:hover > a {
        color: #333;
    }

    header > nav.burgerMenu > ul > li ul {
        display: none;
        font-size: 0.7em;
        color: #fff;
        margin-top: 10px;
    }

    header > nav.burgerMenu > ul > li ul li {
        padding: 5px 10px;
    }

    header > nav.burgerMenu > ul li ul li:hover {
        background: #333;
        padding: 5px 10px !important;
    }

    header > nav.burgerMenu > ul > li:hover ul li {
        padding: 5px 10px !important;
    }

    header > nav.burgerMenu > ul > li ul li {
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    header > nav.burgerMenu > ul > li ul li:first-child {
        border-top: 1px solid rgba(255,255,255,0.2);
    }

.mast img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%,-50%);
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.mastIn {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 200px;
    background: #5b317b;
}

    .mastIn .mask {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px;
    }

/*div.mast:before, div.separateurImage:before {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    width: 100px;
    height: 100px;
    content: " ";
    background-image: url(../img/round-upper.svg);
    background-size: contain;
}*/

.container .separateurImage {
    margin-bottom: 30px;
}

/*div.mastIn:before {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    width: 100px;
    height: 100px;
    content: " ";
    background-image: url(../img/round-upper.svg);
    background-size: contain;
}*/

div.mastIn p {
    max-width: 1200px;
    color: #fff;
    text-align: center;
}

div.pageIntro {
    max-width: 1200px;
    color: #5c327c;
    text-align: center;
    font-size: 20px;
    line-heigh: 30px;
    font-weight: 500;
}

/*div.mast:after, div.separateurImage:after {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 100px;
    height: 100px;
    content: " ";
    background-image: url(../img/round-lower.svg);
    background-size: contain;
}*/

.latest, .focus {
    display: flex;
    justify-content: center;
}

.item {
    flex-basis: calc(100%/3);
    padding: 20px;
}

.item img {
    width: 100%;
    height: auto;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

div.intro {
    display: flex; 
    justify-content: space-between;
}

    div.intro > div:nth-child(1) {
        flex-basis: 60%;
    }

    div.intro > div:nth-child(2) {
        flex-basis: 35%;
    }

.benefits {
    text-align: center;
    /*margin: 50px 0px 20px;*/
}

.benefits ul {
    list-style: none;
    display: flex;
    margin: 50px 0px !important;
}

.benefits ul li {
    padding: 0px 30px;
    text-align: left;
}

.benefits ul li:not(:first-child) {
    border-left: 1px dotted #fff;
}

.mast {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 600px;
    text-align: center;
}

.fullSlider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 600px;
}

@media screen and (max-width: 640px) {

    .mast {
        height: 400px;
    }

    .fullSlider {
        height: 400px;
    }

}

@media screen and (max-width: 1200px) {

    .mastIn {
        overflow: initial;
        height: auto;
    }

    .mastIn .mask {
        position: relative;
    }

    div.mastIn:before, div.mast:before, div.separateurImage:before, div.mast:after, div.separateurImage:after {
        width: 50px;
        height: 50px;
    }

    .separateurImage img, .mast img {
        border-top-right-radius: 50px;
        border-bottom-left-radius: 50px;
    }

    .item img {
        width: 100%;
        height: auto;
        border-top-right-radius: 25px;
        border-bottom-left-radius: 25px;
    }

}

@media screen and (max-width: 960px) {

    .mast h1, .mastIn h1 {
        font-size: 30px;
        line-height: 42px;
    }

    body.single h1, body.page:not(.home) h1, body.blog h1, body.error404 h1 {
        font-size: 30px;
        line-height: 42px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    div.intro {
        flex-direction: column;
    }

    div.intro > div:nth-child(1) {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    div.intro > div:nth-child(2) {
        flex-basis: 100%;
    }

    .latest, .focus {
        flex-direction: column;
    }

    .item {
        flex-basis: 100%;
        padding: 20px 0px;
    }

    .benefits {
        margin: 30px 0px 0px;
    }

    .benefits ul {
        flex-direction: column;
        margin: 0px 0px !important;
    }

    .benefits ul li:not(:first-child) {
        border-left: none;
        border-top: 1px dotted #fff;
    }

    .benefits ul li {
        padding: 30px 0px;
        text-align: center;
    }

}

@media screen and (max-width: 640px) {

    .mast h1, .mastIn h1 {
        font-size: 24px;
        line-height: 30px;
    }

}

.pagination {
  margin: 20px 0;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  background: #f5f5f5;
  border-radius: 4px;
  text-decoration: none;
}

.pagination .current {
  background: #5c327c;
  color: #fff;
}

section.header {
    position: relative;
}

section.header:after {
    display: block;
    content: " ";
    height: 1px;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    border-bottom: 1px dotted #5c327c;
}

.newsText {
    border-bottom: 1px dotted #5c327c;
    padding-bottom: 10px;
}

.fullSlider .slick-slide {
    position: relative;
}

.fullSlider .slick-list, .fullSlider .slick-track {
    height: 100%;
}

.linkedin-icon a:before {
    width: 18px;
    height: 18px;
    background-image: url(../img/icons_linkedin.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 8px;
    content: " ";
    display: inline-block;
}