
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
}

body {
    padding-top: 91px;
}

body.has-alert {
    padding-top: 174px;
}

@media screen and (max-width: 630px) { 
    body.has-alert {
        padding-top: 149px;
    }
}

h1 {
    font-weight: 500;
    font-size: 50px;
    letter-spacing: -1.5px;
    line-height: 110%;
    font-family: 'DM Sans';
}

h2 {
    font-weight: 500;
    font-size: 25px;
    line-height: 110%;
    font-family: 'DM Sans';
}

@media screen and (max-width: 1160px) {
    h1 {
        font-size: 40px;
    }
}

p, p.tiny {
    margin: 32px 0;
    font-size: 15px;
    line-height: 23px;
}

p.small {
    font-size: 18px;
    line-height: 180%;
}

p.medium {
    font-weight: 500;
    font-size: 20px;
}

p.big {
    font-size: 25px;
    font-weight: 500;
    line-height: 110%; 
}

ul {
    padding-left: 16px;
}

li {
    font-size: 15px;
    line-height: 23px;
}

ul.small li {
    font-size: 18px;
    line-height: 180%;
}

a {
    color: var(--blue);
}

img {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 16px;
}

.home-icon {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 50px;
    padding-left: 65px;
    font-size: 20px;
    font-weight: 500;
    font-family: 'DM Sans';
    background: url('/bundles/certcommon/images/home.svg') no-repeat left center;
    color: var(--black);
}

.home-icon:hover, .home-icon:focus {
    color: var(--blue);
}

#main {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1350px;
    margin: 60px auto;
    padding: 0 15px;
}

.container-medium {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-small {
    max-width: 1190px;
    margin: 0 auto;
    padding: 0 15px;  
}

.container-tiny {
    max-width: 1030px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-gray-light {
    background-color: var(--gray-light);
    padding: 60px 15px;
}

.container-gray-light.no-padding {
    padding: 0 15px;
}

/**
* ALERTE
*/
.top-alert {
    position: fixed;
    z-index: 2; 
    top: 91px;
    left: 0;
    width: 100%;
    border-top: 10px solid var(--pink);
    display: flex;
    justify-content: center;
    color: var(--white);
}

.top-alert + .container {
    margin-top: 30px;
}

.top-alert-left, .top-alert-right {
    display: flex;
}

.top-alert-left {
    justify-content: flex-end;
}

.top-alert-center {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--pink);
    height: 73px;
    margin-top: -1px;
}

.top-alert-icon {
    margin-right: 15px;
}

.top-alert-title {
    font-family: 'DM Sans';
    font-size: 20px;
    font-weight: 700;
}

.top-alert-description {
    font-weight: 500;
    margin: 5px 0;
}

@media screen and (max-width: 630px) {
    .top-alert {
        border-top: none;
    }
    .top-alert-left, .top-alert-right {
        display: none;
    }
    .top-alert-center {
        width: 100%;
        height: auto;
        padding: 5px;
    }
}

/**
* Style par défaut de Swiper JS
*/
.swiper-nav {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.swiper-scrollbar-container {
    width: 85%;
    position: relative;
}

.swiper-scrollbar {
    left: 0 !important;
    top: -7px !important;
    height: 15px !important;
    background-color: var(--white) !important;
    cursor: pointer;
}

.swiper-scrollbar .swiper-scrollbar-drag {
    background-color: var(--blue) !important;
    cursor: move;
}

.swiper-buttons {
    width: 15%;
    display: flex;
    justify-content: center;
}

.swiper-buttons > div {
    margin: 0 10px;
    cursor: pointer;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: 50px;
    width: 50px;
}

.swiper-buttons > div:after {
    content: none;
}

.block-hub-swiper-buttons > div.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media screen and (max-width: 1023px) {
    .swiper-scrollbar-container {
        display: none;
    }
    .swiper-buttons {
        width: 100%;
    }
}