@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

:root {
    /* ///////////////////////////// */
    /*         main color            */
    /* ///////////////////////////// */

    --dark-gray: #1d1d1d;
    --dark-brown: #2d2926;
    --white: #efefef;
    --light-gray: #abacb0;
    --red: #af3b4e;
    --blue: #5a7ebe;
    --green: #005850;
    --blue-green: #00c3b3;
    --color-card-gray: #f2f2f2;

    .darkGray {
        color: var(--dark-gray);
    }

    .darkBrown {
        color: var(--dark-brown);
    }

    .white {
        color: var(--white);
    }

    .lightGray {
        color: var(--light-gray);
    }

    .red {
        color: var(--red);
    }

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

    .green {
        color: var(--green);
    }

    .blueGreen {
        color: var(--blue-green);
    }

    /* ///////////////////////////// */
    /*         secondary color       */
    /* ///////////////////////////// */

    --green-blue: #739789;
    --dark-blue: #003a62;
    --medium-blue: #3662a1;
    --navy-blue: #121f91;

    .greenBlue {
        color: var(--green-blue);
    }

    .darkBlue {
        color: var(--dark-blue);
    }

    .mediumBlue {
        color: var(--medium-blue);
    }

    .navyBlue {
        color: var(--navy-blue);
    }
}

/* Background color  */
.bg-light {
    background-color: var(--white) !important;
}

.bg-lightGray {
    background-color: var(--white) !important;
}

.bg-dark {
    background-color: var(--dark-gray) !important;
}

html,
body {
    font-family: "Open Sans", "sans-serif";
    font-size: 1em;
    color: #000;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.fw-bold {
    font-weight: bold;
}

/* ///////////////////////////// */
/*         button                */
/* ///////////////////////////// */

.btn {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 3em;
    padding-right: 3em;
    border: 1px solid #1d1d1d !important;
    border-radius: 3px !important;
}

.btn-prim {
    display: inline-block;
    color: var(--dark-gray);
    border-color: var(--dark-gray);
    border: 1px solid var(--dark-gray);
}

.btn-prim:hover {
    color: var(--white) !important;
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
}

.btn-second {
    color: var(--white);
    background-color: var(--dark-gray);
    border: 1px solid var(--dark-gray);
}

.btn-second:hover {
    color: var(--dark-gray);
    background-color: var(--white);
    border-color: var(--dark-gray);
}

.btn:disabled {
    pointer-events: none;
    background-color: #abacb0 !important;
    color: #414243;
}

.btn-small {
    font-size: 0.8em;
    padding: 0.5em 1em;
}

.btn.active {
    background-color: #1d1d1d !important;
    color: #fff !important;
}

/* ///////////////////////////// */
/*         header et footer      */
/* ///////////////////////////// */

#header_bar,
#header_connected_bar {
    background-color: #1d1d1d !important;
    font-size: 0.87em;
}

#header_bar .logos a,
#header_connected_bar .logos a {
    height: 1.3em;
}

#header_bar .logos a img,
#header_connected_bar .logos a img {
    max-height: 100%;
}

#header_bar .logos_small a:last-of-type img,
#header_connected_bar .logos_small a:last-of-type img {
    margin-top: 15%;
}

#header_bar .dropdown-item.active,
#header_bar .dropdown-item:active,
#header_connected_bar .dropdown-item.active,
#header_connected_bar .dropdown-item:active {
    color: inherit;
    background-color: inherit;
}

#header_bar .dropdown-menu:not([aria-labelledby="header_menu_gammes"]),
#header_connected_bar
    .dropdown-menu:not([aria-labelledby="header_menu_gammes"]) {
    font-size: inherit;
}

#header_connected_menu .navbar-nav .nav-link {
    color: #fff !important;
}

.language-translate-nav {
    font-size: 1.5em !important;
}

.language-translate-button {
    border: 0;
    background: transparent;
    cursor: pointer;
    line-height: 1;
}

.language-translate-current {
    line-height: 32px;
}

.language-translate-button:focus {
    outline: 1px dotted #fff;
    outline-offset: 2px;
}

.menu_languages .dropdown-menu {
    min-width: auto;
}

.menu_languages img {
    height: 1em;
}

.language-translate-menu {
    max-width: none !important;
    width: 5.5em !important;
    left: -1em !important;
    white-space: normal !important;
}

.goog-te-banner-frame,
.goog-te-gadget,
.VIpgJd-ZVi9od-ORHb,
.VIpgJd-ZVi9od-ORHb-OEVmcd.skiptranslate {
    display: none !important;
}


/* Cacher complètement l'interface Google Translate */
.goog-te-ftab,
#goog-gt-tt,
.goog-te-menu-value span:first-child {
  display: none !important;
}


body {
    top: 0 !important;
}

.connected-user-name {
    text-transform: none;
    font-weight: normal;
    font-size: 0.7em;
}

#footer a:hover {
    color: #999;
}

#footer > div:first-of-type {
    font-size: 0.875em;
}

#footer > div:last-of-type {
    font-size: 0.75em;
}

#footer .btn-group button {
    background-color: transparent;
    font-size: 1em;
}

/*********************************************************************************************************************************
/* CONTAINER
/********************************************************************************************************************************/

#modal-collab-mail-gencode .modal-content {
    height: 150px;
}

#wrapper {
    background: #ffffff;
}

.warranty .content {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    background: white;
    margin-top: 8px;
    border: 0;
    margin: 0 auto;
}

.procedure,
.content-form .page-header {
    text-align: center;
}

.content-form .page-header-simple {
    margin-bottom: 25px;
    text-align: center;
}

.procedure h1,
.content-form .page-header h1,
.content-form .page-header-simple h1 {
    /* font-size: 48px; */
    font-weight: 600;
    color: #1d1d1d;
}

.register-form > span {
    text-align: center;
    color: #abacb0;
}

.register-form > p {
    text-align: center;
    color: #abacb0;
}

.register-form .custom-checkbox,
.register-form .custom-radio {
    display: block;
    position: relative;
}

.warranty .custom-radio,
.warranty .custom-checkbox span {
    float: left;
}

/* ///////////////////////////// */
/*         Forms                 */
/* ///////////////////////////// */
div.col-md-3.form-control-comment {
    font-size: 1em;
    font-weight: inherit;
    text-align: left;
    padding: 10px 0;
    opacity: 0.7;
}

/* ///////////////////////////// */
/*         Timeline Steps        */
/* ///////////////////////////// */
.circle-blue {
    width: 35px;
    height: 35px;
    margin-top: -20px;
    box-shadow: inset 0 0 0 5px white;
    border: 1px solid #1d1d1d;
    background-color: #5a7ebf;
    border-radius: 50%;
    display: inline-block;
}

.circle-white {
    width: 35px;
    height: 35px;
    margin-top: -20px;
    box-shadow: inset 0 0 0 5px white;
    border: 1px solid #1d1d1d;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
}

.circle-white-ticket {
    width: 18px;
    height: 18px;
    margin: 0 2px 0 14px;
    box-shadow: inset 0 0 0 2px white;
    border: 1px solid #1d1d1d;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    transform: translateY(24%);
}

.circle-black-ticket {
    width: 18px;
    height: 18px;
    margin: 0 2px 0 14px;
    box-shadow: inset 0 0 0 2px white;
    border: 1px solid #1d1d1d;
    background-color: #000000;
    border-radius: 50%;
    display: inline-block;
    transform: translateY(24%);
}

/* ///////////////////////////// */
/*        TIMELINE HORIZONTALE   */
/* ///////////////////////////// */
@media (max-width: 768px) {
    .timeline-horizontal {
        width: 100% !important;
    }
}

.timeline-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    position: relative;
    padding-top: 20px;
}

.timeline-horizontal::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 62.5px;
    right: 62.5px;
    height: 2px;
    background-color: #1d1d1d;
    z-index: 0;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.circle-blue,
.circle-white {
    position: relative;
    z-index: 2;
}

.ticket-item-top,
.declaration-item-top {
    font-size: 1.4em;
    color: #1d1d1d;
}

.ticket-item-date {
    font-weight: 500;
    line-height: 1.2;
    font-size: 0.9em;
    display: inline-block;
    position: relative;
}
.ticket-item {
    margin-top: 1rem;
}

.display-warranty-detail,
.see-details,
.down,
.up {
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -ms-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

#no-product p {
    text-align: center;
}

a,
a:hover {
    color: #1d1d1d;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

.background-black {
    background: #1d1d1d;
    color: #ffffff;
    text-transform: uppercase;
}

/* ///////////////////////////// */
/*        Product                */
/* ///////////////////////////// */

.product-brand img {
    opacity: 0.6;
    cursor: pointer;
}

.product-brand img:hover {
    opacity: 1;
}

.product-brand img.active {
    opacity: 1;
    border-bottom: solid 1px #000;
}

/* ///////////////////////////// */
/*        Introduction           */
/* ///////////////////////////// */
.fw-400 {
    font-weight: 400;
    font-size: 2.2em;
}

.fw-700 {
    font-weight: 700;
    font-size: 2.2em;
    line-height: 0.8;
}

.number-blue-lg {
    font-size: 5.5em;
    color: #74ffff;
    margin-top: -10px;
}

.steps-with-image img {
    max-width: 155px;
}

p.mt-5,
.pmt-5,
p.mt-1,
.pmt-1 {
    font-size: 1.2em;
    font-weight: 300;
}

#body-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#div-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

.robot {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/* ///////////////////////////// */
/*        Modal                 */
/* ///////////////////////////// */

.modal-title {
    font-weight: bold;
    font-family: "GR-B", Arial, sans-serif;
}

.modal-header-title {
    margin: 0 auto;
}

.modal-header .close {
    padding: 0;
    margin: 0;
}

.modal-body-title {
    font-weight: 400;
    font-family: "GR-B", Arial, sans-serif;
    font-size: 13px;
    line-height: 24px;
    color: #666;
    text-align: center;
}

.modal-body-title2 {
    font-weight: 400;
    font-family: "GR-B", Arial, sans-serif;
    font-size: 13px;
    line-height: 24px;
    color: #666;
}

.modal-body-img {
    text-align: center;
}

.table > thead > tr > th {
    font-size: 13px;
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
    padding: 8px;
}

.modal-body {
    color: #666;
}

.table {
    border-top: none;
}

#products_brand tr td div {
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

.hc-pt {
    padding-top: 1rem;
}

.btn-group > .btn-group:not(:last-child) > .btn,
.btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.btn-group > .btn-group:not(:first-child) > .btn,
.btn-group > .btn:not(:first-child) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

#block_choose_wireless_side .btn {
    opacity: 0.7 !important;
}

#block_choose_wireless_side .btn.active {
    opacity: 1 !important;
}

.gap-5 {
    gap: 5px;
}

/* Surligner du texte */
.underline {
    text-decoration: underline;
}
.underline:hover {
    text-decoration: underline;
}

.flex-direction-column {
    display: flex;
    flex-direction: column;
}

.gap-1 {
    gap: 0.3rem;
}

.gap-2 {
    gap: 0.9rem;
}

.alignCenter {
    align-items: center;
}

.link-history-default {
    font-size: 0.85em;
}

/* ///////////////////////////// */
/*        Data Table             */
/* ///////////////////////////// */

.content-table {
    margin: 25px 0;
    font-size: 0.9em;
    min-width: 400px;
    overflow: hidden;
}

.content-table th,
.content-table td {
    padding: 12px 15px;
}

.content-table tbody tr {
    border-bottom: 1px solid #e2e2e2;
}

.dt-paging.paging_full_numbers {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

div.dt-container.dt-empty-footer tbody > tr:last-child > * {
    border: none;
}

.dt-paging-button.previous {
    display: none !important;
}

.dt-paging-button.first {
    display: none !important;
}
.dt-paging-button.last {
    display: none !important;
}

.dt-paging-button.current {
    border: none !important;
    background-color: #4e4e4e !important;
    color: #fff;
}

.dt-paging-button.next {
    border: 1px solid #000 !important;
}

.margin-top-responsive {
    margin-top: 0px;
}

.d-flex-responsive {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.details {
    width: 85%;
}

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

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
    border-color: #000000;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(0, 0, 0, 0.6);
    outline: 0 none;
}

/* input disabled */
.form-control:disabled {
    background-color: #f2f2f2;
    color: #7f7f7f;
}

/* ///////////////////////////// */
/*        Mode de Livraison      */
/* ///////////////////////////// */

.delivery-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}
.delivery-info {
    display: flex;
    align-items: center;
    margin: 30px 10px 0px 0px;
}
.delivery-info img {
    width: 30px;
    height: 30px;
}

.remove-dots li {
    list-style-type: none;
    padding: 0;
}

#map {
    height: 450px;
    width: 100%;
    /* margin: 0px 10px 0px 10px; */
}

.custom-card {
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
    padding: 1rem;
    display: flex;
    align-items: center;
}
.custom-card img {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}

.custom-card .price {
    margin-left: auto;
}

.custom-btn-exchange {
    margin-left: auto;
}

.link-history {
    padding-right: 1.5rem;
}

.adjustable-text {
    white-space: nowrap;
    display: block;
}

.custom-padding {
    padding-right: 0;
}

li {
    list-style: none;
}

.items-end {
    align-items: flex-end;
}

.mt-25 {
    margin-top: 25px;
}
.mb-25 {
    margin-bottom: 25px;
}
.mt-8 {
    margin-top: 8px;
}
.mb-8 {
    margin-top: 8px;
}

/* CSS GLOBAL DES PAGES */

.text-size {
    font-size: 1em;
}

#body-content {
    height: 100vh;
}

#body-content .btn {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 3em;
    padding-right: 3em;
    border: 1px solid #1d1d1d !important;
    border-radius: 3px !important;
}

.relative {
    position: relative;
}

.container-choice-carrier {
    margin-top: 3px;
    width: 75%;
    margin: 0 auto;
}

.container-choice-postcode {
    display: flex;
    justify-content: flex-end;
    gap: 1em;
}
.mobile-size {
    font-size: 1em;
}

.container-choice-postcode .form-control {
    max-width: 135px;
}

@media (max-width: 768px) {
    /* Conteneur timeline mobile */
    .timeline-mobile {
        background-color: #ffffff;
        padding: 1rem;
        border-radius: 4px;
    }

    /* Barre verticale entre les cercles */
    .liaison-vertical {
        width: 2px; /* visible sur écran retina */
        min-height: 50px; /* hauteur stable */
        background-color: #1d1d1d;
    }

    /* Ajustement vertical des cercles */
    .margin-top-responsive {
        margin-top: 6px;
    }
}

/* Par défaut : desktop */
.timeline-mobile {
    display: none;
}

.timeline-desktop {
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .timeline-desktop {
        display: none !important;
    }

    .timeline-mobile {
        display: block !important;
    }
}
