/* +P
  __      ____
 /\ \    /\  _`\  
 \_\ \___\ \ \L\ \
/\___  __\\ \ ,__/
\/__/\ \_/ \ \ \/ 
    \ \_\   \ \_\ 
     \/_/    \/_/ 
     plusproduit.com
     
     plusb theme 2024.02.09
*/

:root {
    /* Typo --------- */
    --bs-body-font-family: Raleway, sans-serif;
    /* --bs-body-line-height: 1.5; */
    --bs-body-font-weight: 600;
    --p-body-font-strong-weight: 700;
    --p-alt-font-family: Raleway, sans-serif;
    --p-alt-font-weight: 200;

    /* Colors --------- */
    --bs-body-color: #555;
    --bs-body-color-rgb: 85, 85, 85;
    --bs-body-bg: #e7e8e8;
    --bs-body-bg-rgb: 231, 232, 232;
    --bs-primary: #368d48;
    --bs-primary-rgb: 54, 141, 72;
    --bs-secondary: #ddd;
    --bs-secondary-rgb: 221, 221, 221;
    --bs-dark: #1d201f;
    --bs-dark-rgb: 29, 32, 31;
    --bs-light: #ddd;
    --bs-light-rgb: 221, 221, 221;

    /* Link */
    --bs-link-color: var(--bs-primary);
    --bs-link-color-rgb: var(--bs-primary-rgb);
    --bs-link-hover-color-rgb: var(--bs-body-color-rgb);

    /* taille du header mobile */
    --p-header-height: 4rem;
    /* taille du logo mobile */
    --p-logo-width: 40px;

    /* Borders */
    --bs-border-width: 2px;
    --bs-border-color: var(--bs-body-color);
    /* --bs-border-radius: 0; */

    /* Swiper JS */
    --swiper-navigation-size: 30px;
    --swiper-theme-color: var(--bs-primary);
}

.text-light {
    --bs-link-hover-color: var(--bs-white);
    --bs-link-hover-color-rgb: var(--bs-white-rgb);
}

.bg-primary {
    --bs-link-color: var(--bs-light);
    --bs-link-color-rgb: var(--bs-light-rgb);
}

.btn {
    --bs-border-radius: 0;
    --bs-btn-padding-x: 1em;
    --bs-btn-padding-y: .6em;
    --bs-btn-font-size: .8rem;
    --bs-btn-font-weight: var(--p-body-font-strong-weight);
    --bs-btn-line-height: 1;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: .15em;
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-color: var(--bs-body-bg);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-body-bg);
    --bs-btn-hover-color: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-body-bg);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
}

/* .text-light .btn-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-bg: var(--bs-light);
    --bs-btn-border-color: var(--bs-light);
} */

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-color: var(--bs-body-bg);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
}

/* >>>>>>>>>> Gouttières !!!!! */
:root,
.row,
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 1rem;
}

@media (min-width: 992px) {
    :root {
        /* taille du header desktop */
        --p-header-height: 5rem;
        /* taille du logo desktop */
        --p-logo-width: 60px;
    }

    /* >>>>>>>>>> Gouttières !!!!! */
    :root,
    .row,
    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        --bs-gutter-x: 6rem;
        --bs-gutter-y: 2rem;
    }
}


/* #region Header */

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

.site-header {
    background: var(--bs-body-bg);
}

.site-logo {
    width: 246px;
    margin-top: 10px;
}

.navbar-nav {
    --bs-nav-link-padding-y: .2rem;
}

.nav-link:hover,
.nav-link:focus {
    background: var(--bs-dark);
    color: var(--bs-body-bg);
}


#block-plusb-offcanvasbtn {
    display: none;
}

.p-nav {
    font-size: 2rem;
    padding-top: 1rem;
}

@media screen and (max-width: 767.98px) {

    #block-plusb-offcanvasbtn {
        display: block;
    }

    .region-header {
        align-items: center;
    }

    .site-logo {
        width: 140px;
    }

}

/* #endregion */


/* #region Footer */
.site-footer {
    background: var(--bs-body-bg);
    padding-bottom: .2rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 151;
    font-weight: 500;
}


.site-footer_top {
    font-size: .8rem;
}

.footer-top {
    padding: 10px 15px;
    overflow: auto;
}

.site-footer_bottom {
    font-size: .7rem;
    padding-top: 10px;
}

.footer-top p {
    float: left;
    margin: 0;
}

.footer-top .ft-5 {
    float: right;
}

.footer-top .ft-1 a,
.footer-top .ft-2 a,
.footer-top .ft-3 a {
    text-decoration: none;
    color: var(--bs-body-bg);
    display: inline-block;
    background: url('images/map.svg') no-repeat left center;
    background-size: auto 1rem;
    padding-left: 25px;
    margin: 0 40px 0 10px;
}

.footer-top .ft-2 a {
    background-image: url('images/tel.svg');
}

.footer-top .ft-3 a {
    background-image: url('images/mail2.svg');
}

@media (max-width: 767.98px) {

    .footer-top .ft-1 a,
    .footer-top .ft-2 a,
    .footer-top .ft-3 a {
        width: 30px;
        overflow: hidden;
        text-indent: -600px;
        margin-right: 10px;
    }
}

/* #region docuteam */
#block-plusb-docuteam .field--name-body {
    padding: 15px 15px 1px;
    background: linear-gradient(to bottom, rgba(204, 0, 0, .8), rgba(0, 0, 0, 0));
}

#block-plusb-docuteam .field--name-body img {
    margin: 0 15px 15px 0;
}

@media screen and (min-width: 768px) {
    #block-plusb-docuteam .field--name-body img {
        float: left;
    }

}


/* #endregion */

/* #endregion */


/* #region Page */
.group-content {
    position: relative;
    overflow: hidden;
    background-color: #000;
    min-height: 90vh;
    padding-top: 30vh;
    padding-bottom: 15vh;
}

.p-section {
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
}

.group-left {
    position: relative;
    z-index: 2000;
    padding: 0 15px;
    transform: translate3d(0px, 0px, 0px);
}

.group-left-inner {
    max-width: 800px;
    margin: 0 auto;
}

/* r-bg => accueil */
.r-bg {
    background-color: black;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.r-bg img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: auto;
    max-width: none;
}

/* p-bg pin => node */
.p-bg-pin {
    background-color: black;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.p-bg-pin img {
    height: 100vh;
    width: auto;
    max-width: none;
    display: block;
    float: right;
}

@media (max-width: 767.98px) {
    .p-bg-pin img {
        /* height: auto;
        width: 100%; */
        opacity: .2;
    }

    .r-bg img {
        opacity: .2;
    }
}

/* #endregion */


/* #region Form */
.webform-submission-form {
    max-width: 500px;
}

.webform-submission-form>* {
    padding: 0 1rem;
}

.webform-submission-form #edit-markup {
    padding: 0;
}

.description {
    font-size: .8rem;
}

.form-type-checkbox .form-label {
    width: 90%;
    margin-left: 0.5rem;
}

.form-check-input {
    float: left;
}

/* #endregion */


/* #region Typo */

h1 {
    font-size: 2.8rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--bs-primary);
    padding: .5rem 1rem;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--bs-primary);
    letter-spacing: .05em;
}

h2 {
    font-size: 1.8em;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 1rem;
    margin: 0 0 15px;
    border-bottom: 1px solid var(--bs-primary);
}

/* #endregion */



/* #region Photoswipe */

.pswp {
    --pswp-icon-color: var(--bs-primary);
    --pswp-icon-color-secondary: #DDEBE0;

    --pswp-icon-stroke-width: 0;
}

.pswp__counter {
    text-shadow: none;
}

.photoswipe {
    display: inline-block;
    margin: 0 10px 10px 0;
}

.photoswipe img {
    width: auto;
    height: 50px;
}

.pswp__button,
.pswp__button:hover {
    background: rgba(var(--bs-primary-rgb), 0.2);
}

.pswp__button--arrow {
    width: 60px;
    height: 70px;
    margin-top: -35px;
}

.pswp__dynamic-caption--below {
    max-width: none;
    padding: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .photoswipe img {
        height: 80px;
    }
}

/* #endregion */


/* #region Infos tech */

.r-infos {
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
}

.r-info {
    padding-right: 0;
    margin-bottom: 15px;
}

.r-info {
    background: rgba(54, 141, 82, 0.5);
    padding: 0 0 10px;
    text-transform: uppercase;
    width: 260px;
    margin: 0 15px 15px 0;
}

.column .inner {
    background: rgba(54, 141, 82, 0.5);
    padding: 0 0 10px;
    text-transform: uppercase;
}

.r-info h3 {
    font-size: 12px;
    margin: 0 0 10px;
    padding: 10px 10px 0 5px;
    font-weight: 600;
}

.r-info ul {
    margin: 0;
    padding: 0 5px 0 20px;
    list-style-type: square;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.1;
    color: #FFF;
}

.r-info li {
    margin-bottom: 5px;
}

/* #endregion */

@media screen and (max-width: 767.98px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 28px;
    }

    .group-content {
        padding-top: 20vh;
    }

}