@charset "UTF-8";
/*!
    Main CSS for Bow-Window Website
    Syntax: CSS
    Created by: Ronan BIRON
    Date: 29/11/2022
    Comment: This project have been created in English by convention but for and by French.
 */

* {
    font-family: "adelle-sans", sans-serif;
    box-sizing: border-box;

    --kaki: #55604E;
    --beige_50: #F5EFE3;
    --beige_100: #ECDFC7;
    --beige_150: #978E7E;

    --dark-blue_10: #ECEBEF;
    --dark-blue_30: #C5C5CE;
    --dark-blue_100: #3E3C5B;
    --dark-blue_150: #242234;

    --light-blue: #ABC4CE;

    --header-menu-height: 200px;
    --header-backbar-height: 30px;
    --header-border-bottom-height: 0px;


    --header-search-result: 125px;

    --footer-height: 355px;

    --site-width: 1200px;
}

/* Set the width and height of the scrollbar */
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar:vertical {
    width: 5px;
}

::-webkit-scrollbar:horizontal {
    height: 5px;
}

/* Set the background color of the scrollbar */
::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

/* Set the color of the scrollbar thumb */
::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 5px;
}

/* Keep the scrollbar always visible */
::-webkit-scrollbar-thumb:vertical {
    min-height: 50px;
}

/* Keep the scrollbar always visible */
::-webkit-scrollbar-thumb:horizontal {
    min-width: 50px;
}

body {
    margin: 0;
    overflow-y: scroll;
    overflow-x: hidden;
}

.h1 {
    font-size: 30px;
    line-height: 35px;
    font-weight: 300;
}

.h2 {
    font-size: 24px;
    line-height: 35px;
    font-weight: 300;
}

.h3 {
    font-size: 22px;
    line-height: 30px;
}

a {
    color: inherit;
}

.spacer {
    margin: 40px auto;
    width: 60px;
    height: 1px;
    background: #000;
}
.spacer-white {
    background: #ffffff;
}

.white-text {
    color: white;
}


.body {
    font-size: 20px;
    line-height: 35px;
    font-weight: 300;
}

.corps {
    font-weight: 300;
    line-height: 35px;
    font-size: 20px;
}

.information {
    font-weight: 300;
    line-height: 22px;
    font-size: 16px;
}

@media (max-width: 800px) {

    .body {
        font-size: 18px;
    }

    .corps {
        font-size: 18px;
    }

    .information {
        font-size: 14px;
    }

}

.italic {
    font-style: italic;
}

.price {
    font-size: 20px;
    line-height: 35px;
    letter-spacing: 2px;
    font-weight: 600;
}

.button {
    color: black;
    text-decoration: none;
    font-size: 16px;
    padding: 12px 30px;
    border: 2px solid #000000;
    border-radius: 100px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    background: transparent;
}
.button:hover {
    background: #ffffff;
    border: 2px solid #ffffff;
    color: black;
    transition: all 0.2s ease-in-out;
}
.button-white {
    color: white;
    border: 2px solid #ffffff;
}
.button-black:hover {
    background: #000000;
    border: 2px solid #000000;
    color: white;
    transition: all 0.2s ease-in-out;
}

.button-red {
    color: tomato;
    border: 2px solid tomato;
    font-size: 12px;
    padding: 6px 15px;
    float: right;
}

.button-red:hover {
    background: tomato;
    border: 2px solid tomato;
    color: white;
    transition: all 0.2s ease-in-out;
}

.button-red-left {
    color: tomato;
    border: 2px solid tomato;
    font-size: 12px;
    padding: 6px 15px;
    line-height: 30px;
}

.button-red-left:hover {
    background: tomato;
    border: 2px solid tomato;
    color: white;
    transition: all 0.2s ease-in-out;
}

.button-blue {
    color: #00b1ca;
    border: 2px solid #00b1ca;
}

.button-blue:hover {
    background: #00b1ca;
    border: 2px solid #00b1ca;
    color: white;
    transition: all 0.2s ease-in-out;
}

.button-red-main {
    color: tomato;
    border: 2px solid tomato;
}

.button-red-main:hover {
    background: tomato;
    border: 2px solid tomato;
    color: white;
    transition: all 0.2s ease-in-out;
}

.small-button {
    font-size: 14px !important;
    padding: 6px 15px !important;
    border: 2px solid #000000 !important;
    border-radius: 100px !important;
}

.filterButton {
    padding: 0 30px !important;
    margin: 0;
    border: 2px solid black;
    background: transparent;
    border-radius: 50px;
}

.book-effect {
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/** HEADER PART */
/*
The html structure will be placed via PHP functions, so the CSS part have to be on all pages
 */

header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--site-width);
    height: calc(var(--header-backbar-height) + var(--header-menu-height) + var(--header-border-bottom-height));
    border-bottom: var(--header-border-bottom-height) solid var(--dark-blue_30);
    z-index: 10;

    --header_separation: 0px;
}

header .blackBar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-backbar-height);
    background: #fff;
}

header .menu {
    position: absolute;
    top: var(--header-backbar-height);
    left: 74px;
    width: calc(100% - 0px);
    height: var(--header-menu-height);
    background: #fff;
    /*overflow: hidden;*/
    display: flex;
    flex-wrap: nowrap;
}

header .menu .left {
    position: relative;
    width: var(--header_separation);
    height: var(--header-menu-height);
}

header .menu .left #logo {
    height: 70px;
    position: absolute;
    left: 50%;
    top: calc(var(--header-menu-height) / 2);
    transform: translate(-78px, -120%);
}

header .menu .right {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - var(--header_separation));
}

header .menu .right .header_row {
    width: 100%;
    height: 50%;
}

/**** FIRST ROW IN HEADER */

header .menu .right .header_row:first-child {
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    line-height: calc(var(--header-menu-height) / 2);
}

/**** SECOND ROW IN HEADER */

header .menu .right .header_row:last-child {
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    line-height: calc(var(--header-menu-height) / 2);
}

/**** FOR DROPDOWN ELEMENT INTO THE HEADER */

header .menu .right .header_row .header_dropdown_link {
    position: relative;
    font-size: 18px;
    padding: 0 25px;
    color: #202020;
    cursor: default;
    border-bottom: 2px solid #ffffff;
    user-select: none;
}
header .menu .right .header_row .header_dropdown_link:last-child {
    padding: 0 0 0 25px;
    margin-right: 25px;
}
header .menu .right .header_row .header_dropdown_link:hover {
    color: #000000;
    border-bottom: 2px solid #000000;
}
header .menu .right .header_row .header_dropdown_link a {
    cursor: pointer;
}

header .menu .right .header_row .header_dropdown_link .header_dropdown {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    min-width: 100%;
    justify-content: center;
    background: var(--beige_50);
    z-index: 50000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease-in-out;
}
header .menu .right .header_row .header_dropdown_link:hover .header_dropdown {
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.1s ease-in-out;
}

header .menu .right .header_row .header_dropdown_link .header_dropdown .header_dropdown_element {
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    padding: 0 25px;
}
header .menu .right .header_row .header_dropdown_link .header_dropdown .header_dropdown_element a {
    text-decoration: none;
    user-select: none;
}
header .menu .right .header_row .header_dropdown_link .header_dropdown .header_dropdown_element:hover {
    background: var(--beige_100);
}

/****/

header .menu .right .right-element {
    margin: 0 25px;
}
header .menu .right .right-element a {
    text-decoration: none;
    color: #5f5f5f;
    font-size: 18px;
}

header .menu .right .right-element a:hover {
    color: #000000;
}

header .menu .right .right-element .active {
    text-decoration: none;
    font-weight: 600;
    color: #000000;
}

header .menu .right .right-element .searchButton {
    position: relative;
    right: -60px;

    top: calc(var(--header-menu-height) / 4);
    transform: translateY(-50%);

    background: url("../res/images/search_default.png") no-repeat;
    background-size: 90% 90%;
    width: 30px;
    height: 30px;

    opacity: 0.6;

    /*cursor: pointer;*/
}
header .menu .right .right-element .searchButton:hover {
    /*opacity: 1;*/
}

header .searchInput {
    position: relative;
    width: 500px;
    height: 100%;
    margin-right: 100px;
    /*overflow: hidden;*/
}

header .searchInput input {
    border: none;
    width: 100%;
    background: transparent;
    outline: none;
    padding: 10px 20px 10px 40px;
    font-size: 18px;
    color: #000000;
    border-bottom: 2px solid #c1c2c3;
    border-radius: 0;
}

header .searchResults {
    position: absolute;
    top: calc((var(--header-menu-height) / 2) + 20px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--beige_50);
    width: calc(100% - 200px);
    max-height: calc(var(--header-search-result) * 5);
    overflow: auto;
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    z-index: 9000000;
    padding: 70px 70px 0 70px;
    border-top: 4px solid var(--beige_100);
    transition: opacity 0.1s ease-in-out;
}

header .searchResultsFadeOut {
    content: "";
    position: sticky;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 9999999;
    background: transparent;
    background: linear-gradient(to bottom, transparent, var(--beige_50));
}

header .searchResults::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 5px;
}

header .searchResults::-webkit-scrollbar:vertical {
    width: 5px;
}

header .searchResults::-webkit-scrollbar:horizontal {
    height: 5px;
}

header .searchResults::-webkit-scrollbar-track {
    border-radius: 10px;
}

header .searchResults::-webkit-scrollbar-thumb {
    background: var(--beige_150);
}

header .searchResults ::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue_150);
}

.searchResult_element {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid white;
    padding: 10px 0;
    border-radius: 5px;
}


.searchResult_element:last-child {
    border: none;
}
.searchResult_element:hover {
    background: var(--beige_100);
    cursor: pointer;
}

.SR_Text {
    padding-top: 23px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: var(--header-search-result);
    width: calc(100% - var(--header-search-result));
    color: black;
}

.SR_img {
    position: relative;
    width: var(--header-search-result);
    height: var(--header-search-result);
}

.SR_Name {
    width: 95%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.SR_Author {
    font-style: italic;
    width: 95%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.SR_img img {
    max-height: 90%;
    max-width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.burger {
    display: none;
    user-select: none;
}

.burger span {
    font-size: 32px;
}

.right-responsive {
    position: fixed !important;
    top: 0;
    left: -30px !important;
    width: 100vw !important;
    height: 100vh;
    z-index: 1000;
    transform: none !important;
    background: #f1f2f3;
    display: block !important;
    overflow-y: scroll;
}

.right-responsive .searchInput {
    display: block;
}

.right-responsive .header_row {
    height: auto !important;
}

.right-responsive .responsive-top-menu {
    display: block;
}

.right-responsive .responsive-bottom-row {
    border-top: 2px solid #e6e6e6 !important;
}

.right-responsive .header_row:first-child {
    display: block !important;
    justify-content: unset !important;
    text-align: center;
}

.right-responsive .right-element {
    width: 100% !important;
}

.right-responsive .searchInput {
    margin: 0 auto 10px auto !important;
}

.right-responsive .header_row:last-child {
    display: block !important;
    justify-content: unset !important;
    text-align: center;
}

.right-responsive .searchButton {
    position: absolute;
    top: 80px !important;
    left: 50%;
    right: 0 !important;
    transform: translateX(-268px) translateY(-50%) !important;
}

.right-responsive .header_dropdown_link {
    color: #5f5f5f !important;
    border-bottom: none !important;
}


@media (max-width: 1275px) {

    header {
        width: calc(100% - 60px);
    }

    header .menu {
        left: 0;
    }

    header .menu .left #logo {
        transform: translate(0px, -120%);
    }

    header .searchInput {
        margin-right: 30px;
    }

    header .menu .right .header_row:last-child {
         padding-right: 0;
    }

    header .menu .right .header_row .header_dropdown_link:last-child {
        padding: 0 2px 0 25px;
    }

    .burger {
        position: absolute;
        top: 65px;
        right: 20px;
        z-index: 100000;
        font-size: 32px;
        display: block;
        user-select: none;
    }

    header .responsive-top-menu {
        display: none;
    }

}

@media (max-width: 1035px) {

    header .searchResults {
        width: calc(100% - 100px);
    }

}

@media (max-width: 925px) {

    header .searchResults {
        width: calc(100% - 20px);
        padding: 10px 10px 0 10px;
    }

}

@media (max-width: 525px) {

    header .searchResults {
        width: calc(100% - 5px);
        padding: 5px 5px 0 5px;
    }

}

@media (max-width: 400px) {

    * {
        --header-search-result: 90px;
    }

    .SR_Text {
        padding-top: 0;
    }

}

@media (max-width: 875px) {
    .right-responsive .searchInput, .right-responsive  .searchButton {
        display: block !important;
    }

    header .searchInput, header .searchButton {
        display: none !important;
    }
}

@media (max-width: 580px) {
    .right-responsive .searchInput {
        margin-top: 25px !important;
        width: calc(100% - 30px);
    }

    .right-responsive .searchInput #searchInputJS {
        padding: 10px !important;
    }

    .right-responsive .searchButton {
        display: none !important;
    }
}

@media (max-width: 1060px) {
    header .responsive-bottom-row {
        display: none !important;
    }
}



/*************************************************************************/

/** COOKIES PART */
/*
The html structure will be placed via PHP functions, so the CSS part have to be on all pages
 */

.cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.cookieContent {
    width: 450px;
    background: white;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    gap: 15px;
}

.cookieContent .h1 {
    padding: 0;
    margin: 0;
}

.cookieButtons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.cookieIcon {
    position: relative;
    top: 5px;
    font-size: 30px !important;
    color: #feca57;
}

.pre {
    padding: 50px;
}

.search-content {
    margin: 20px auto 100px auto;
    width: var(--site-width);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 16px;
    row-gap: 64px;
}

.search-content .box {
    padding: 16px;
    width: auto !important;
    aspect-ratio: auto !important;
}

.search-content-nothing {
    width: 100%;
    margin: 25px auto;
    text-align: center;
    grid-column: 1 / 4;
    grid-row: 1;
}

@media (max-width: 1400px) {

    .search-content {
        width: auto;
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 1060px) {

    .search-content {
        width: auto;
        grid-template-columns: 1fr;
    }

}

.book-search-content {
    padding: 15px;
    display: flex;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.book-search-content:hover {
    background: rgba(0,0,0,0.1);
}

.book-image-search-content {
    position: relative;
    height: 200px;
    width: 200px;
}
.book-image-search-content img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
}

.book-text-search-content {
    width: calc(100% - 200px);
}

.book-title-search-content {
    font-weight: 600;
    font-size: 25px;
}

.book-author-search-content {
    font-size: 16px;
    color: #2c2c2c;
}

.book-price-search-content {
    font-size: 16px;
    margin-bottom: 10px;
}
.book-price-search-content:after {
    content: " €";
}

.book-description-search-content {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 5px !important;
    line-height: 23px;
    display: -webkit-box;
    width: 100%;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 090px;
}


/** COMMON PART */
/*
The html structure will be placed via PHP functions, so the CSS part have to be on all pages
 */

#content {
    width: 100%;
    margin: calc(var(--header-menu-height) + var(--header-backbar-height)) 0 0 0;
    min-height: calc(100% - (var(--header-menu-height) + var(--header-backbar-height) + var(--footer-height)));
    overflow-y: auto;


    overflow-x: hidden;
}

@media (max-width: 560px) {

    #content {
        padding: 0 !important;
    }

}

.path {
    position: relative;
    top: 3px;
    width: var(--site-width);
    margin: 0 auto;
    height: 70px;
    /*padding: 24px 50px 20px 50px;*/
    padding-left: 20px;
    display: flex;
    border-radius: 5px;
    /*background: rgba(0, 0, 0, 0.1);*/
    background: transparent !important;
}

.path * {
    font-size: 10px;
}

.path .icon {
    width: 23px;
    height: 23px;
    background: url("/res/images/home.png") no-repeat;
    background-size: 100% 100%;
    display: none;
}

.path .root {
    margin-top: 2px;
    margin-left: 10px;
    display: flex;
    gap: 10px;
    font-size: 16px;
}

.path .rootLink {
    font-weight: 400;
}
.path .rootLink:hover {
    text-decoration: none;
}
.path .rootSpacer {
    font-weight: 600;
}
.path .rootText {
    font-weight: 600;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.top-section-box {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.top-section-content {
    width: 45%;
    background: var(--beige_50);
    padding: 80px 0;
}
.tsc-center {
    margin: 0px auto;
    width: 720px;
}

.tsc-center .block {
    margin: 0 0 40px 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 775px) {
    .top-section-content {
        padding: 80px 30px;
    }
    .tsc-center {
        width: 100%;
    }
}

@media (max-width: 465px) {

    .top-section-content .h1 {
        font-size: 25px;
        text-align: center;
    }

}



.filters {
    display: flex;
    justify-content: space-around;
    width: 680px;
    margin: 0 auto 60px auto;
}
.filterTitle {
    padding: 0;
    margin: 6px 0 0 0;
}

.filterSelect {
    padding: 5px 10px;
    outline: none;
    border: 1px solid black;
}

@media (max-width: 750px) {

    .filters {
        display: flex;
        justify-content: center;
        width: 100% !important;
        margin: 0 auto 60px auto;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: center;
        gap: 20px;
    }

}

.container {
    width: 100%;
    padding: 70px 96px;
    text-align: center;
}

.container-title {
    margin: 0 auto 60px auto !important;
    padding: 0;
}

.container-text {
    margin: 40px auto;
    max-width: 720px;
}

.container-text .pageNumbers a {
    font-size: 16px;
    margin: 0 15px;
}
.ctp-active {
    text-decoration: none;
}

.grid {
    width: var(--site-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.row {
    width: 100%;
    /*height: 352px;*/
    display: flex;
    justify-content: space-between;
    gap: 50px;
    /*margin-bottom: 50px;*/
    overflow-y: hidden;
}

.row_title {
    height: 40px;
    justify-content: flex-start !important;
    font-size: 35px;
    font-weight: 300;
    margin-bottom: 15px;
}

.row_line {
    width: 100%;
    height: 1px;
    border-radius: 3px;
    background: #c3c3c3;
    margin-bottom: 40px;
    margin-top: 35px;
}

.box {
    /*width: 420px;
    height: 520px;*/
    width: 32%;
    /*height: 345px;*/
    /*aspect-ratio: 0.807;*/
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding-right: 15px;
    padding-bottom: 15px;
    border-radius: 5px;
}
.box:hover {
    background: #ececec;
}

.book-box {
    width: 150px;
    aspect-ratio: 1;
    position: relative;
}

.book-box img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    position: relative;
    top: 10px;
}

.bb-bottom {
    /*height: 120px;*/
    width: calc(100% - 160px);
    height: 100%;
    color: black;
}

.bb-bottom span {
    text-align: left;
}

.bb-bottom p {
    margin: 0;
}

.bbb-price {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 5px !important;

    line-height: 23px;

    display: -webkit-box;
    width: 100%;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 188px;
}

.bbb-title {
    font-size: 19px;
    font-weight: 600;

    line-height: 25px;
    padding: 5px 0;

    display: -webkit-box;
    width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 54px;
}

.bbb-author {
    font-size: 15px;
    line-height: 25px;
    color: #5f5f5f;
    margin-bottom: 15px !important;
    font-style: italic;
}

.box .hover {
    margin-top: 15px;
    text-align: right;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.box .hover .button {
    position: relative;
    top: 4px;
}

.box .hover .mezzanine {
    text-align: left;
}

.box .hover .corps {
    width: 100%;
    padding: 0;
    margin: 0;
    line-height: 30px;
}

.box .hover .corps {
    font-size: 20px !important;
    font-weight: 600;
    color: #5f5f5f;
}
/*.box .hover .corps:last-child {*/
/*     font-size: 13px !important;*/
/*     font-weight: 300;*/
/*     color: #a2a2a2;*/
/* }*/

.box .hover .mezzanine .corps {
    font-size: 16px !important;
}

.row::-webkit-scrollbar-track {
    border-radius: 0.125rem;
    background-color: lightgray;
}
.row::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    border-radius: 0.125rem;
    -webkit-appearance: none;
}

.row::-webkit-scrollbar:vertical {
    width: 5px;
}

.row::-webkit-scrollbar:horizontal {
    height: 5px;
}

.row::-webkit-scrollbar-thumb {
    border-radius: 0.125rem;
    background-color: gray;
}

@media (max-width: 1410px) {
    .container {
        padding: 70px 15px !important;
    }
    .grid {
        width: 100% !important;
    }
}

@media (max-width: 1250px) {
    .row {
        display: -webkit-inline-box;
        overflow-x: scroll;
        height: 365px;
    }
    .box {
        width: 46% !important;
    }
}




@media (max-width: 880px) {

    .box {
        width: 100% !important;
    }

}

@media (max-width: 480px) {

    .box {
        width: 150%;
    }

    .bbb-title {
        height: 50px;
    }

}


.prefooter {
    width: 100%;
    margin: 0 auto;
    background: var(--beige_50);
    padding: 80px 0;
}
.prefooter .centeredBlock {
    margin: 0px auto;
    max-width: 720px;
}

.prefooter .centeredBlock .block {
    margin: 0 0 40px 0;
    display: flex;
    justify-content: center;
}
.prefooter .centeredBlock .block .bookIcon {
    width: 45px;
    height: 60px;
}

@media (max-width: 1200px) {

    .prefooter {
        width: 100%;
    }

    .prefooter .centeredBlock {
        padding: 30px;
    }

    .prefooter .h2 {
        font-size: 22px;
        text-align: center;
    }

}

@media (max-width: 800px) {

    .prefooter .centeredBlock {
        padding: 30px;
    }

    .prefooter .h2 {
        font-size: 22px;
        text-align: center;
    }

    .prefooter .body {
        text-align: center !important;
    }

}

.contact-info {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 100;
    opacity: 1;
    transition: opacity 150ms ease-in-out;
    pointer-events: all;
}

.contact-info-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 24px rgba(0,0,0,0.05);
}

.contact-info-content-title {
    font-size: 2em;
    font-weight: 300;
    margin: 0 0 20px 0;
    user-select: none;
}

.contact-info-content-text {
    font-size: 1.2em;
    font-weight: 300;
}

.contact-info-content-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
    user-select: none;
}

.contact-input {
    width: 430px;
    margin: 0 auto;
}

.contact-flex {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
    color: #313133;
}

.contact-parts {
    width: 30%;
}

@media (max-width: 1060px) {
    .contact-flex {
        flex-wrap: wrap !important;
    }

    .contact-parts {
        width: 100% !important;
    }
}


@media (max-width: 500px) {
    .contact-input {
        width: 100%;
        margin: 0 auto;
    }
}

.input {
    width: 100%;
    padding: 0;
    margin-bottom: 27px;
}
.input textarea {
    max-width: 100%;
    min-width: 100%;
    min-height: 46px;
}
.inputLabel {
    padding: 0;
    margin: 0 0 5px 0;
}
.input-style {
    border: none;
    width: 100%;
    outline: none;
    padding: 12px;
}

.input-contact {
    border: 1px solid var(--beige_100);
}

/** FOOTER PART */
/*
The html structure will be placed via PHP functions, so the CSS part have to be on all pages
 */

footer {
    width: 100%;
    margin: 0;
    height: var(--footer-height);
    background: var(--kaki);
    color: #ffffff;
    padding: 80px 0 40px 0;
    display: flex;
    justify-content: center;
}

footer * {
    font-weight: 300;
}

footer .centeredBlock {
    width: 890px;
    display: flex;
    flex-wrap: wrap;
}

footer .centeredBlock .topElements, footer .centeredBlock .bottomElements {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
footer .centeredBlock .bottomElements {
    justify-content: center !important;
}

footer .centeredBlock .topElements .element #logoFooter {
    position: relative;
    top: 20px;
    width: 240px;
}

footer .centeredBlock .topElements .element p {
    line-height: 35px;
    font-size: 20px;
}

footer .centeredBlock .topElements .element .socials {
    width: 90px;
    display: flex;
    justify-content: space-between;
}
footer .centeredBlock .topElements .element .socials a img {
    width: 30px;
    height: 30px;
}

footer .centeredBlock .bottomElements .centeredElement {
    width: 540px;
    display: flex;
    justify-content: space-between;

    line-height: 35px;
    font-size: 20px;
}

footer .centeredBlock .bottomElements .centeredElement .right {
    width: 200px;
    display: flex;
    justify-content: space-between;
}
footer .centeredBlock .bottomElements .centeredElement .right a {
    font-size: 16px;
    color: white;
}

@media (max-width: 950px) {
    footer .centeredBlock .topElements {
        padding: 0 20px;
    }
}

@media (max-width: 765px) {
    footer {
        height: auto;
    }

    footer .centeredBlock .topElements {
        padding: 0;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        gap: 20px;
    }

    footer .centeredBlock {
        gap: 30px;
    }
}

@media (max-width: 570px) {

    footer .bottomElements .centeredElement {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        gap: 15px;
    }

}

/*************************************************************************/