@charset "utf-8";

/********** General **********/
@font-face {
    font-family: 'Mulish';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(/theme/fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
}

body {
	width: 100%; min-width: 450px;
    margin: 0;
    height: 100%;
    display: flex;
    position: relative;
    font-size: 16px;
    font-family: 'Mulish', sans-serif;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%; 
}

h1 {
    color: #203A61;
}

h1, h2 {
    text-decoration: underline;
}

h2, h3, h4 {
    color: #25579f;
}

    /********** Header **********/
header {
    width: 100%;
}

.head {
    display: -ms-grid; display: grid;
    position: relative;
    align-items: end;
    justify-items: center;
    justify-content: center;
    grid-template-columns: repeat(3, 33%);
}

.header_logo {
	margin: 0 auto;
    max-width: 200px;
    min-width: 100px;
}

.header_icons {
    gap: 1em;
    width: 100%;
    padding: 0;
    display: flex;
    position: relative;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    -ms-flex-direction: row; flex-direction: row;
}

.header_icons img {
    width: 25px; min-width: 25px;
    padding: 0.5em 0;
    transition: transform 0.3s ease;
}

.header_icons img:hover {
    transform: scale(1.2);
}

.account_popup {
    left: 50%;
    right: 50%;
    width: 100%; max-width: 200px;
    border: 1px solid #010D32;
    z-index: 10;
    display: none;
    position: absolute;
    transform: translate(-50%);
    border-radius: 7px;
    background-color: #39547d;
}

.account_popup li {
    padding: 0.5em;
    box-sizing: border-box;
}

.account_popup li a, .account_popup li p {
    color: #F5F5F5;
    margin: 0;
    padding: 0.5em 0;
}

.account_popup li:hover a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.account_link:hover > .account_popup {
    display: block;
}

.account_link:hover img {
    transform: scale(1.2);
}

/****** Header Menu ******/
.mobile_menu_icon, .side-menu{
    display: none;
}

header nav {
    width: 100%;
    position: relative;
    border-top: 1px solid #010D32;
    border-bottom: 1px solid #010D32;
    background-color: #203A61;
}

header nav a {
    color: #F5F5F5;
    padding: 1.5em;
    display: inline-block;
    font-size: 1em;
    text-align: center;
    text-transform: uppercase;
}

header nav a:hover {
    color: #11ACE2  ;
    transition: color 0.3s;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.main_menu {
    display: flex;
    -ms-flex-direction: row; flex-direction: row;
    justify-content: center;
}

.has-children {
    white-space: nowrap;
}

.has-children > a:after {
    width: 12px;
    height: 12px;
    content:"";
    display: inline-block;
    margin-left: 0.3em;
    vertical-align: text-bottom;
    background-size: 12px 12px;
    background-image: url('../images/icons/black_down_hover_arrow.png');
    background-repeat: no-repeat;
}

.sous-menu {
    border: 1px solid #010D32;
    display: none;
    z-index: 10;
    position: absolute;
    min-width: 155px;
    flex-flow: column nowrap;
    border-radius: 7px;
    background-color: #203A61;
}

.has-children:hover > .sous-menu {
    display: flex;
}

.sous-menu li a {
    padding: 1em 1.5em;
    text-align: left;
    box-sizing: border-box;
}

.sous-menu li:not(:last-child) {
    -moz-box-shadow: 0 0 1px #010D32; -webkit-box-shadow: 0 0 1px #010D32; box-shadow: 0 0 1px #010D32;
}

.sous-menu .sous-menu {
    top: 0;
    left: 100%;
    background: #1e76d6;
}

@media only screen and (min-width: 600px) and (max-width: 650px) {
    .header_menu a {
        font-size: 14px;
    }
    .sous-menu {
        min-width: 140px;
    }
}

@media only screen and (max-width: 600px) {

    header nav a {
        padding: 1em;
        font-size: 0.95em;
    }

    .main_menu {
        position: relative;
        display: none;
    }

    .main_menu li {
        width: 150px;
    }

    .mobile_menu_icon {
        width: 42px;
        height: 40px;
        cursor: pointer;
        display: block;
        padding: 0.5em 0.5em;
        content: url('../images/icons/mobile_menu_btn.png');
        box-sizing: border-box;
        transition: transform 0.3s ease-in-out;
        margin-left: 0.5em;
    }

    .mobile_menu_icon:hover {
        transform: scale(1.1);
        transition: transform 0.3s ease-in-out;
    }

    header nav a {
        padding: 1em;
    }

    .side-menu:checked ~ .mobile_menu_icon {
        transform: scale(1.2);
        content:url('../images/icons/close_btn.png');
    }

    .side-menu:checked ~ .main_menu{
        width: 100%;
        display: -ms-grid; display: grid;
        z-index: 10;
        position: absolute;
        text-align: left;
        box-sizing: border-box;
        align-content: start;
        justify-content: start;
        background-color: #203A61;
    }

    .has-children > a:after {
        margin-left: 0.2em;
        vertical-align: initial;
        background-image: url('../images/icons/right_hover_arrow.png');
    }

    .sous-menu {
        top:0;
        left: 150px;
        border: none;
        border-left: 1px solid #010D32;
    }

    .sous-menu li:not(:last-child) {
        -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
    }
}


/********** Pages ***********/

/* Home */
.intro_container {
    width: 100%;
    display: flex;
    align-items: center;
}

.description {
    flex:1;
    width: 75%;
    padding: 0 1em;
    box-sizing: border-box;
}

.description_img {
    width: 25%;
    min-width: 250px; max-width: 300px;
    padding: 0 1em;
    box-sizing: border-box;
    border-right: 1px solid #203A61;
}

.description p {
    margin: 0;
}

@media only screen and (max-width: 800px) {

    .intro_container {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .description {
        width: 100%;
        border-bottom: 1px solid #203A61;
    }

    .description_img {
        order: 2;
        width: 100%;
        border-right: none;
    }
}

.last_update {
    border-top: 3px double #010D32;
    border-bottom: 3px double #010D32;
    padding-bottom: 1em;
}

.slider {
    width: 100%;
    position: relative;
    margin-top: 30px;
}

.slider_nav img {
    width: 5%;
}

.slider_nav_button {
    top: 50%;
    cursor: pointer;
    position: absolute;
    transform: translateY(-50%);
    transition: 0.3s all ease-in-out;
    z-index: 1;
}

.slider_nav_button:hover {
    transform: translateY(-50%) scale(1.1);
}

.slider_nav_button-next {
    right: 5px;
}

.slider_nav_button-previous {
    left: 5px;
}

.slider_content {
    width: 85%;
    height: 170px;
    margin: auto;
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
}

.slider_content_item {
    padding: 0 3%;
    position: relative;
    min-width: 25%;
    max-width: 25%;
    box-sizing: border-box;
}

.slider_item {
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    border: 1px solid;
    border-radius: 4px 4px 4px 4px;
}

.slider_content_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 4px 4px 4px;
}

.slider_content_item h3{
    width: 100%;
    color: #FFF;
    margin: 0 0 0 0;
    height: 20%;
    min-height: 45px;
    bottom: 0;
    display: flex;
    overflow: hidden;
    position: absolute;
    font-size: 14px;
    background: rgba(32,58,97,0.65);
    font-weight: normal;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: normal;
    border-radius: 0 0 2px 2px;
}

@media only screen and (max-width: 869px) {
    .slider_content {
        width: 95%;
        height: 120px;
    }

    .slider_nav_button-next {
        right: -10px;
    }

    .slider_nav_button-previous {
        left: -10px;
    }

    .slider_content_item {
        padding: 0 2%;
        min-width: 33.333%;
        max-width: 33.333%;
    }

    .slider_content_item h3{
        font-size: 13px;
        min-height: 35px;
    }
}

@media only screen and (max-width: 869px) and (orientation: landscape) {
    #main_content {
        width: 100%;
    }
}

/** confidentiality **/
.confidentiality p {
    margin: 0;
}

.confidentiality ul {
    list-style: circle;
    margin-left: 1.5em;
}

.confidentiality a {
    color: #1e40af;
}

.confidentiality a:hover {
    text-decoration: underline;
}

/** Login **/
.login_form {
    width: 100%; max-width: 800px;
    border: 1px solid #010D32;
    margin: auto;
    padding: 1em;
    box-sizing: border-box;
}

.login_field_container{
    width: 60%; min-width: 200px;
    margin:  auto;
    padding: 0.4em 0;
}
.login a {
    text-decoration: underline;
}

.send_btn {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pw_forgot {
    display: block;
    margin: 0.5em 0;
}

.register_link {
    margin: 0.5em 0;
}

/** Register **/
.account_newsletter .checkbox_label {
    margin: auto;
}

/** Contact **/
.contact aside {
    padding: 0.5em 1.5em;
}

.contact_intro {
    border-top: 1px solid #010D32;
    border-bottom: 1px solid #010D32;
}

.form_alert {
    margin: 1em 0;
    -moz-box-shadow: 0 0 0.4em  0.2em #203A61; -webkit-box-shadow: 0 0 0.4em  0.2em #203A61; box-shadow: 0 0 0.4em  0.2em #203A61;
}

.contact_form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.contact p {
    text-align: center;
}

/** Account **/

.account_intro {
    margin: 1em 0;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.account_container {
    width: 100%;
    display: grid;
    padding-top: 1em;
    align-items: stretch;
    justify-content: center;
    grid-column-gap: 5%; grid-row-gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(190px, 300px));
}

.account_item:hover > .overlay {
    opacity: 0.25;
}

.account_content_item {
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.account_item {
    gap: 0.5em;
    width: 100%;
    height: 100%; min-height: 150px;
    border: 1px solid #010D32;
    display: flex;
    padding: 0.5em;
    position: relative;
    text-align: center;
    box-sizing: border-box;
    align-items: center;
    border-radius: 5px;
    flex-direction: column;
    justify-content: start;
}

.account-address .account_item {
    justify-content: space-between;
}

.account_item_title {
    margin: 0;
    font-size: 1em;
}

.account_item_content {
    margin: 0;
}

.account_item_content p {
    margin: 0;
}

.account_item_btn {
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: space-between;
}

.account-security form, .account-address form {
    margin: 0 auto;
    max-width: 800px;
}

.account-credits_logs .filter_list {
    max-height: 331px;
}

.account-credits_logs li span {
    text-align: center;
}

.account-credits_logs li span:first-child {
    flex: 0 0 10%;
}

.account-credits_logs li span:not(:first-child) {
    flex: 0 0 40%;
}

.buy_form .account_item {
    justify-content: space-between;
}

.confirm_order section {
    margin: 0;
    padding: 0.5em;
    border-bottom: 1px solid #203A61;
}

.confirm_order h2 {
    text-align: left;
}

.confirm_order .address_detail form {
    margin: auto;
    max-width: 700px;
}

.confirm_order .address_detail form .input_field {
    margin: 0.5em 0;
}

.address_detail {
    margin: 1em 0.5em;
}

.address_detail p {
    margin: 0;
}

/* orders */
.invoice_icon {
    gap: 8px;
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.invoice_icon img {
    width: 36px;   /* taille de l'icône PDF */
    height: 36px;
    object-fit: contain; /* conserve proportions */
}

.orders_table {
    width: 100%;
    margin-top: 1.5em;
    table-layout: fixed;
}

.orders_table td {
    padding: 0.5em 0;
}

.orders_table .folder-icon {
    width: 40px;
    transition: transform ease 0.3s;
    vertical-align: middle;
}

.orders_table .folder-icon:hover {
    transform: scale(1.1);
}

.order {

}

.order .orders_table {
    text-align: center;
    border-collapse: collapse;
}

.foot_info p {
    color: rgba(0, 0, 0, 0.65);
    margin: 0;
    font-size: 0.9em;
}

.confirm_cgv {
    margin: 1em auto;
    padding: 0 1em;
    display: grid;
    max-width: 750px;
    grid-template-columns: 1fr 30px;
}

@media only screen and (max-width: 1025px) {
    .account_container {
        grid-template-columns: repeat(2,minmax(190px, 300px));
    }
}

@media only screen and (max-width: 650px) {
    .account_container {
        grid-column-gap: 3.5%;
    }

    .account_item_title {
        font-size: 0.95em;
    }
}

@media only screen and (max-width: 500px) {

    .account_container {
        grid-column-gap: 2%;
    }

    .account_item_title {
        font-size: 0.9em;
    }

    .account_item_content p {
        font-size: 0.9em;
    }

    .account-credits_logs li span {
        font-size: 0.9em;
    }

    .account-credits_logs .filter_list {
        max-height: 317px;
    }
}

/********** Catalog *********/

.catalog_filter {
    width: 100%;
    margin: 30px auto;
    position: relative;
    min-width: 450px;
    max-width: 600px;
}

.catalog_filter a {
    width: 100%;
    display: block;
}

.catalog_filter .filter_list {
    display: none;
    background: #FFFFFF;
    margin-top: 0.5em;
    box-sizing: border-box;
    border-radius: 7px;
}

.catalog_filter .filter_list.active {
    width: 100%;
    display: block;
    z-index: 10;
    position: absolute;
}

.catalog_stats {
    margin: 20px auto;
    padding: 10px 0;
    max-width: 600px;
    text-align: center;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.catalog_nav {
    text-align: center;
    padding-bottom: 1em;
}

.catalog_nav a {
    color: #FFF;
    width: 28px;
    height: 25px;
    display: inline-flex;
    font-size: 14px;
    transition: background-color 0.5s;
    font-family: Caudex,serif;
    align-items: center;
    border-radius: 5px;
    justify-content: center;
    background-color: #203A61;

}

.catalog_nav a:hover {
    background-color: #11ACE2;
}

.catalog_content_item {
    width: 90%;
    min-width: 450px;
    max-width: 600px;
    margin: auto;
}

.catalog_item {
    width: 100%;
    position: relative;
}

.catalog_item a {
    width: 100%;
    height: 100px;
    border: 1px solid;
    margin: 20px 0;
    display: flex;
    box-sizing: border-box;
}

.catalog_item a:hover > .overlay {
    opacity: 0.25;
}

.catalog_item img {
    width: 25%;
    min-width: 150px;
    object-fit: cover;
}

.catalog_item h2 {
    width: 100%;
    font-size: 16px;
    text-align: start;
    margin-left: 10px;
    text-decoration: none;
}

/********** CarView *********/

.carview {
    text-align: center;
}

.carview h1:before {
    content: "";
    margin-right: 0;
}

.carview h2 {
    text-decoration: none;
}

.carview img {
    width: 450px;
    margin: 20px 0;
    -webkit-box-shadow: 0 0 15px #000; -moz-box-shadow: 0 0 15px #000; box-shadow: 0 0 15px #000;
    -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;
}

.carview h3 {
    margin-top: 0;
    margin-bottom: 15px;
    text-decoration: underline;
}

.carview p {
    width: 450px;
    margin: 0 auto;
    border: 3px double #787878;
    padding: 5px;
    font-size: 16px;
    text-align: justify;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.carview p.error {
    text-align: center;
}

/********** Footer **********/
footer {
    width: 100%;
    padding-top: 1em;
    text-align: center;
    background-color: #203A61;
}

.copyright {
    color: #cef3fa;
}

footer a, footer p {
    color: #F5F5F5;
    padding: 0 1em;
}

footer a:hover {
    text-decoration: underline;
}

footer p {
    display: block;
    padding: 0 1em;
}

@media print {
    header, footer, nav, .sidebar, .no-print {
        display: none !important;
        visibility: hidden !important;
    }

    main, .printable {
        display: block;
        visibility: visible;
        width: 100%;
    }

    article.confidentiality {
        width: 100%;
    }
}