/*** *** *** ***
    FONT
 *** *** ***/

@font-face {
    font-family: 'SourceSansPro-Bold';
    src: url('/assets/fonts/SourceSansPro-Bold.ttf');
}

@font-face {
    font-family: 'SourceSansPro-Regular';
    src: url('/assets/fonts/SourceSansPro-Regular.ttf');
}

@font-face {
    font-family: 'SourceSansPro-Light';
    src: url('/assets/fonts/SourceSansPro-Light.ttf');
}

.ssp-l {
    font-family: 'SourceSansPro-Light', Arial, Helvetica, sans-serif;
}

.ssp-r {
    font-family: 'SourceSansPro-Regular', Arial, Helvetica, sans-serif;
}

.ssp-b {
    font-family: 'SourceSansPro-Bold', Arial, Helvetica, sans-serif;
}

* {
    font-family: 'SourceSansPro-Regular', Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'SourceSansPro-regular', Arial, Helvetica, sans-serif;
}

/*** *** *** ***
    TEXT
 *** *** ***/

.bold {
    font-weight: bold !important;
}

.uppercase {
    text-transform: uppercase;
}

.small-text {
    font-size: 1.1em !important;
}

.underline {
    text-decoration: underline !important;
}

/*** *** *** ***
    STYLE
 *** *** ***/

html,
body {
    background-color: #fff;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden !important;
}

.mobile-pictures {
    width: 100%;
}

.mobile-pictures-hide {
    display: none;
}

.mobile-pictures-display {
    display: block;
}

.video-player {
    width: 100%;
    padding: 0 10%;
}

.main-title,
.sub-title {
    font-size: 27px;
}

.light-txt {
    font-size: 0.8em !important;
}

.state-marker {
    height: 25px;
}

/*** *** *** *** *** ***
    ALIGNEMENT
 *** *** *** *** ***/
.grid-info-display {
    margin-top: 5px;
    display: grid;
    grid-template-columns: 25px 1fr;
    gap: 5px;
    align-items: center;
}

.grid-info-display svg:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
}

.grid-modal-btn {
    display: grid;
    grid-template-columns: 7fr 1fr 1fr;
    gap: 5px;
}

.grid-modal-btn :first-child {
    grid-column: 2/3;
}

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

.relative {
    position: relative;
}

.absolute {
    position: absolute !important;
}

.fixed {
    position: fixed !important;
}

.r-0 {
    right: 0;
}

.l-0 {
    left: 0;
}

.absolute-top-right {
    position: absolute !important;
    top: 7px;
    right: 15px;
}

/********************
Loader
********************/

.spinner {
    position: relative;
    margin: auto;
    margin-top: -150px;
    box-sizing: border-box;
    background-clip: padding-box;
    width: 250px;
    height: 250px;
    border-radius: 400px;
    border: 4px solid #00415a20;
    -webkit-mask: linear-gradient(#00415a20, #000 90%);
    transform-origin: 50% 60%;
    transform: perspective(200px) rotateX(66deg);
    animation: spinner-wiggle 1.2s infinite;
}

.spinner::before,
.spinner::after {
    content: '';
    position: absolute;
    left: 0;
    margin: -4px;
    box-sizing: inherit;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    opacity: 0.05;
    border: inherit;
    border-color: transparent;

    /* prettier-ignore */
    animation: spinner-spin 1.4s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, spinner-fade 1.4s linear infinite;
}

.spinner::before {
    border-top-color: #00415a;
}

.spinner::after {
    border-top-color: #00415a;
    animation-delay: 0.5s;
}

@keyframes spinner-spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinner-fade {
    20% {
        opacity: 0.1;
    }

    40% {
        opacity: 1;
    }

    60% {
        opacity: 0.1;
    }
}

/********************
Loader
********************/

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

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

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

.flex {
    display: flex;
    gap: 5px;
}

.right {
    display: flex;
    justify-content: right;
}

.h-100 {
    height: 100% !important;
    max-height: none !important;
}

.w-100 {
    width: 100% !important;
    max-width: none !important;
}

/*** *** *** ***
    BUTTON + LINK
 *** *** ***/

.pointer {
    cursor: pointer !important;
}

.btn-lg {
    width: 200px;
}

.small-btn {
    font-size: 13px !important;
}

/*** *** *** ***
    COLOR
 *** *** ***/

.white {
    color: #fff !important;
}

.grey,
.disable {
    color: #9b9b9b !important;
    border-color: #9b9b9b !important;
}

.disable-color {
    color: #ccc !important;
}

.black {
    color: #222 !important;
}

.red {
    color: #ce1414;
}

.im-color {
    color: #00415a;
}

/*** *** *** ***
    BACKGROUND
 *** *** ***/

.black-bg-full-absolute {
    top: 0;
    left: 0;
    z-index: 1;
    position: absolute;
    padding: 0 0 15px 0;
    width: calc(100% + 15px);
    background: #222 !important;
}

.white-bg {
    background-color: white;
}

.black-bg {
    background-color: #222;
}

.grey-bg {
    background: #282828 !important;
}

.grey-light-bg,
.disable-primary {
    background: #ccc !important;
    border-color: #ccc !important;
}

/*** *** *** ***
    PROGRESS BAR
 *** *** ***/

.progressbar {
    counter-reset: step;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progressbar li {
    display: flex;
    flex-direction: column-reverse;
    list-style-type: none;
    width: 25%;
    float: left;
    font-size: 12px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

.progressbar li.active::before {
    color: #fff;
    transition: 0.4s;
    font-weight: bold;
}

.progressbar li::before {
    width: 40px;
    height: 40px;
    content: counter(step);
    counter-increment: step;
    line-height: 35px;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
    z-index: 1;
}

.progressbar li::after {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    top: 40px;
    left: -50%;
    z-index: 0;
}

.progressbar li:first-child::after {
    content: none;
}

/* ******* ******* ******* *******
    MODAL
 ******* ******* ******* ******* */
.modal-grid-society {
    display: grid;
    grid-template-columns: 150px auto;
    column-gap: 32px;
}

.society-text-display p {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/*** *** *** *** *** *** *** ***
    OVERWRITE
 *** *** *** *** *** *** ***/

.large-tooltip .m-tooltip__body {
    max-height: unset !important;
}

.large-tooltip .m-tooltip__body li {
    list-style: circle;
    margin-left: 15px;
    padding-left: 15px;
}

.m-navbar__arrow::after {
    top: 0 !important;
}

.m-button {
    border-radius: 25px !important;
}

.m-chip-delete__button {
    color: #00415a !important;
}

.m-chip-delete.m--is-hover {
    background-color: #5eb5d793 !important;
    border-color: #5eb5d793 !important;
}

.m-input-style__suffix {
    color: #757575 !important;
}

.m-decimalfield {
    margin: 0 !important;
}

.m-dialog {
    display: block !important;
}

.m-dialog__body {
    text-align: left !important;
}

.m-dialog__header {
    background: #00415a !important;
    color: white;
}

.m-modal__body {
    background: #fff;
}

.m-modal__content {
    height: 100% !important;
}

.m-modal__footer {
    background: #fff;
    display: flex;
    align-items: center;
}

.m-dialog__footer__nav > .m-button {
    background: #cddbf6 !important;
    border-color: #cddbf6 !important;
    color: #222 !important;
}

.m-link {
    color: #00415a !important;
}

.m-overlay__header {
    background-color: #00415a !important;
    min-height: 45px !important;
    max-height: 45px !important;
    padding: 10px 0 !important;
}

.m-overlay__header__left {
    padding: 0 !important;
}

.m-overlay__article {
    max-width: 100% !important;
}

.m-overlay__footer {
    display: none !important;
}

.m-modal__header {
    background: #00415a !important;
}

.m-modal__article {
    border-radius: 5px;
    background: none !important;
}

.m--is-disabled {
    color: #888 !important;
}

.m-tooltip__body {
    background: white !important;
    border-color: #00415a !important;
}

.m-tooltip__close-button {
    color: black !important;
}

.m-tooltip__icon {
    color: #00415a !important;
}

.m-dialog__state-icon {
    display: none;
}

.m-dialog__message {
    text-align: center;
}

.slider-tooltip {
    border-color: #5eb5d793 !important;
    background: #5eb5d793 !important;
    color: black !important;
    border-radius: 25px !important;
}

.slider-connect {
    border: 1px solid #5eb5d7 !important;
    background: #f4f4f4 !important;
    color: black !important;
}

.slider-base {
    background-color: #f4f4f4 !important;
}

/* -----------------------------
          chiplist-navbar
   ----------------------------- */

/* Menu Chiplist */
.im-chiplist-navbar > div {
    height: 50px !important;
}

.im-chiplist-navbar > div .m-auto-horizontal-scroll__button-area {
    height: 50px !important;
}

.im-chiplist-navbar > div .m-auto-horizontal-scroll__body {
    height: calc(50px + 10px) !important;
}

.im-chiplist-navbar > div .m-auto-horizontal-scroll__body-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.im-chiplist-navbar .m-navbar__list {
    gap: 10px;
}

.im-chiplist-navbar .m-navbar__list .m-navbar-item {
    background: white;
    border: 1px solid #00415a;
    color: #00415a;
    border-radius: 50px;
    font-size: 14px;
    padding: 5px 10px;
    transition: 0.4s;
}

.im-chiplist-navbar .m-navbar__list .m-navbar-item.m--is-selected {
    background: #00415a;
}

/* prettier-ignore */
.im-chiplist-navbar .m-navbar__list .m-navbar-item.m--is-selected .m-navbar-item__text {
    color: white;
}

.im-chiplist-navbar .m-navbar__list .m-navbar-item .m-navbar-item,
.im-chiplist-navbar .m-navbar__list .m-navbar-item .m-navbar-item__contents,
.im-chiplist-navbar .m-navbar__list .m-navbar-item .m-navbar-item__text {
    width: 104px;
}

.trial-modal-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cgus {
    width: 80%;
    margin: auto;
}

.cgus-description {
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
}

.cgus-validation {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.overlay-header > h3 {
    margin: 0 !important;
}

/*** *** *** ***
    RESPONSIVE
 *** *** ***/
@media (min-width: 1441px) {
    #content {
        max-width: 83.333333% !important;
        flex: auto;
    }
}

@media (max-width: 995px) {
    .modal-grid-society > div > h5 {
        text-align: center;
    }

    .mobile {
        margin-top: 150px;
    }

    /* Overlay */
    .overlay-header {
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .overlay-header > span {
        width: 25px;
        height: 25px;
    }

    .overlay-header > span > .svg-inline--fa {
        position: inherit !important;
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 769px) {
    .modal-grid-society {
        grid-template-columns: 1fr;
        grid-template-rows: 150px auto;
    }

    .modal-grid-society > div:first-child {
        justify-self: center;
    }

    .mobile-pictures-hide {
        display: block;
    }

    .mobile-pictures-display {
        display: none;
    }
}

.bullet-list {
    display: list-item !important;
    list-style: inside !important;
}

@keyframes nbResults {
    0% {
        transform: scale(1.5);
    }

    40% {
        transform: scale(1);
    }
}
