/* ==========================================================================
   Fichier CSS RESET
   ========================================================================== */
   
/*supprime toutes marges*/
*,
body.site {
padding: 0;
margin: 0;
}

/* supprime toutes bordures */
fieldset,img { border : 0; }

/* supprime les déco des liens */
a:link, a:visited {
text-decoration: none;
}

/* Remove the default outline */
:focus {
  outline: none;
}

/* Add an outline only when it should be visible */
:focus-ring {
  outline: 2px solid blue;
}

body {
  font-size: 100%;
  text-align: left;
  font-weight: 300;
  font-style: normal;
  line-height: 1.58;
  letter-spacing: -.003em;
}

@media print {
    body {
      background-color: transparent !important;
    }
    .header {
        position: static;
  }
    nav {
        display: none;
  }
    /* Affiche les liens a l'impression */
    a[href^="https"]:not([href*="-sr-peinture.fr"])::after {
        content: " (" attr(href) ")";
  }
}

/* Permet de cacher des elements aux lecteurs mais pas aux navigateurs */
.visually-hidden {
/* Remove the item from normal flow */
    position: absolute;
/* Workaround for falsely pronounced, smushed text */
    white-space: nowrap;
/* Set it to the smallest possible size (some screen readers ignore elements with zero height and width) */
    width: 1px;
    height: 1px;
/* Hide overflowing content after resizing */
    overflow: hidden;
/* Reset any property that may change the elements size */
    border: 0;
    padding: 0;
/* Clipping defines what part of an element should be displayed. */
/* Deprecated clip property for older browsers */
    clip: rect(0 0 0 0);
/* clip-path for newer browsers. inset(50%) defines an inset rectangle that makes the content disappear.  */
    clip-path: inset(50%);
}

/* ==========================================================================
   Style base
   ========================================================================== */

body {
    color: #080909;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
}
body.site {
    border-top: 0px !important;
}

input, button, select, textarea{
    color: #080909;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
}

.body .container {
    border-radius: 0px;
    border: 0px;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    background: transparent;
    padding: 0px 20px;
    position: relative;
}
.header .container {
    padding: 5px 10px;
}

body {
  -ms-flex: 1 0 0px;
  -webkit-box-flex: 1;
  flex: 1;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
body>.body {
  max-width: 100%;
}

/* Selection */
::-webkit-selection { 
    color: #FFF;  
    background: #28255C; 
}
::-moz-selection { 
    color: #FFF;  
    background: #28255C; 
}
::selection { 
    color: #FFF;  
    background: #28255C; 
} 

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #FFF;
  border-radius: 40px;
}
::-webkit-scrollbar-thumb {
  background: #EEE;
  border-radius: 40px;
}
::-webkit-scrollbar-thumb:hover {
  background: #CCC;
}

h1,h2,h3,h4,h5,h6{color:#080909;margin-bottom:.5rem;}

h1 {
    font-size: 2.2em !important;
    line-height: 1.4em !important;
    text-align: right;
    color: #FFF;
    text-shadow: 2px 2px 2px rgb(0 0 0 / 25%);
}

h2, .item-page h2 {
    font-size: 2em !important;
    line-height: 1.4em !important;
    text-transform: uppercase;
    text-align: left;
}
h2 {
    background: url(https://sr-peinture.fr/images/Site/brush_2.svg);
    background-size: contain;
    background-repeat: no-repeat;
    /* background-position-x: 30%; */
}

h3 {
    font-weight: 700 !important;
    font-size: 1.75em !important;
    line-height: 1.6em !important;
}

h4 {
    font-weight: 600 !important;
    font-size: 1.2em !important;
    line-height: 1.3em !important;
    margin-top: 0;
}
header h4 {
    color: #FFF;
}

h5 {
    font-weight: 200;
    font-size: 1.3em;
    line-height: 1em;
}


/* ==========================================================================
   Header
   ========================================================================== */

.header {
    background: #28255C;
    background-image: url(https://sr-peinture.fr/images/Site/bg_charte.svg);
    background-position-y: 18%;
    color: #FFF;
}
.header {
    margin-bottom: 0;
}

.itemid-101 .header {
    background-image: initial; 
}

.brand {
    float: left;
}
.brand img {
    width: 76% !important;
}


.header-wrapper {
    text-align: right;
}
.itemid-101 .header-wrapper {
    display: none;
}

/* ==========================================================================
   Navigation
   ========================================================================== */


ul.nav {
    margin-bottom: 0px;
}
nav.navigation {
    border: 0px;
    margin-bottom: 0px;
}

nav a {
    font-size: 1.1em;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 0px !important;
    transition: all cubic-bezier(0.4, 0, 1, 1) 0.3s;
}

.nav-pills > li > a, 
.nav-pills > li > a:hover, 
.nav-pills > li > a:focus,
.nav-pills > .active > a, 
.nav-pills > .active > a:hover, 
.nav-pills > .active > a:focus {
    background: transparent !important;
    color: #FFF;
}

.nav > li.active > a {
    color: #00fef3;
}
.nav > li > a:hover {
    border-bottom: 2px solid #FFF;
}

.navigation .nav-child {
    padding: 1.4em 0;
    border-radius: 0px;
}

.navigation .nav-child a {
    font-size: 1.6em;
    line-height: 1.4em;
}

.navigation .nav-child li > a:hover, .navigation .nav-child li > a:focus, .navigation .nav-child:hover > a {
    background: transparent;
    color: #28255c;
    font-weight: 600;
}

.navbar .btn-navbar {
    background: transparent !important;
    border: 0px;
    box-shadow: none;
    height: auto;
    width: auto;
}


/* ==========================================================================
   Fil d'ariane
   ========================================================================== */

.header-wrapper ul.breadcrumb {
    margin: 0;
    background: transparent;
    display: flex;
    justify-content: flex-end;
    padding: 0 0 2em 0;
}

.header-wrapper .breadcrumb > li, .breadcrumb > .active {
    color: #FFF;
}

.header-wrapper .breadcrumb > li {
    text-shadow: none;
}

.breadcrumb .pathway {
    color: #FFF;
}

.divider.icon-location {
    display: none;
}

/* ==========================================================================
   List item
   ========================================================================== */

ul.category-module.mod-list {
    margin: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.category-module li {
    list-style: none;
    margin: 14px 26px;
    text-align: center;
    vertical-align: top;
    flex: 1 0 24%;
    display: flex;
    flex-direction: row-reverse;
}
.category-module li:hover {
    filter: drop-shadow(0 0 10px rgba(0,0,0,.3));
}

.category-module li .article-list-image {
    display: block;
    overflow: hidden;
}

.category-module li .article-list-image img {
    transition: transform 1s ease;
    width: 200%;
    max-width: initial !important;
    margin-left: -120px;
}
.category-module li:hover .article-list-image img {
    transform: scale(1.5);
}

.category-module li .articles-title {
    position: relative;
    background: #28255c;
    width: 100%;
    padding: 5%;
}

.category-module li .articles-title a {
    display: block;
    text-align: left;
    padding-top: 20px;
    width: 100%;
    color: #FFF !important;
}

a.mod-articles-category-title-link {
    font-size: 1.15em;
    line-height: 1em;
}

p.mod-articles-category-readmore {
    position: absolute;
    margin: 0;
    bottom: 0.5rem;
}


/* ==========================================================================
   Gabarit
   ========================================================================== */


.entete {    
    background-image: url(https://sr-peinture.fr/images/Site/bg_charte.svg);
    background-position-y: 24%;
    background-position-x: 10%;background-repeat: no-repeat;
    background-size: cover;
/*    background: linear-gradient(-373deg, rgb(255 255 255) 0%, rgb(255 255 255) 51%, rgb(40 37 92) 51%, rgb(40 37 92) 100%);*/
}

article {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

section {
    flex: 1 1 0;
    margin-right: 16px;
}

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

.chapo {
    font-family: 'Lexend Deca', Arial, sans-serif;
    font-weight: 400;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.4em;
}

/* ==========================================================================
   Wrapper
   ========================================================================== */

main#content,
footer {
    display: flex;
    justify-content: center;
}

main#content {
    flex-direction: column;
}

.wrapper .moduletable {
    display: flex;
    flex-direction: column;
    max-width: 1366px;
    width: 100%;
    margin: 2rem auto;
}

.item-page>div>p>img {
    width: 100%;
}

main img {
/*    box-shadow: #dedede 3px 3px 8px 0px;*/
}

.second-content {
    background: #28255c;
    color: #FFF;
    padding: 2.4rem 0;
}

.second-content h3 {
    color: #FFF;
    text-align: center;
}

.three-content {
    background: #f8f9fb;
    padding: 2.4rem 0;
}


/* ==========================================================================
   Footer
   ========================================================================== */

footer.footer {
    margin: 0;
    padding: 2%;
    font-size: 0.8em;
    font-weight: 500;
    color: #28255c;
    background: linear-gradient(-232deg, rgb(248 249 251) 0%, rgb(248 249 251) 38%, rgb(40 37 92) 36%, rgb(40 37 92) 100%);
}

/*
footer .container {
    width: 1980px !important;
    max-width: 100% !important;
}
*/

footer .text-blend p {
    mix-blend-mode: difference;
    color: #fff;
}

/* ==========================================================================
   Form
   ========================================================================== */

.ba-form-footer p, .ba-form-footer p a {
    color: #FFF !important;
}

/* ==========================================================================
   Galeie
   ========================================================================== */

.itemid-101 div.ba-gallery-items:nth-child(n+5) {
    display: none !important;
}

.gallery p, .gallery p a {
    color: #f8f9fb !important;
}

.gallery button {
    display: block;
    margin: 0 auto;
}

/* ==========================================================================
   Avis Elfsight
   ========================================================================== */

.elfsight-app-c079b2ea-145b-4ed5-a425-b1ce37496946 {
    overflow: hidden;
}

/* ==========================================================================
   Effect Hover - a, Btn
   ========================================================================== */

.row-fluid main a {
    color: #28255c !important;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 2px solid #28255c;
    transition: all ease-in-out 1s;
}
.footer a {
    color: #080909 !important;
    text-decoration: none !important;
    border-bottom: 2px solid transparent;
    transition: all ease-in-out 1s;
}

.row-fluid a:hover,
.footer a:hover {
    color: #28255C !important;
    background: rgb(40 37 92 / 16%);
}


/* Bouton transition */

button.btn.btn-primary, .btn, .btn-primary {
    background: url(https://sr-peinture.fr/images/Site/brush.svg);
    background-repeat: no-repeat;    
    height: 64px;
    width: 200px;
}
button.btn.btn-primary:hover {
    background: url(https://sr-peinture.fr/images/Site/brush-hover.svg);
    background-repeat: no-repeat;   
}

.btn, .btn-primary,
button.btn.btn-primary a,
.btn a, .btn-primary a {
    border: 0px;
    border-radius: 0px;
    text-shadow: none;
    box-shadow: none;
    
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    color: #FFF !important;
    font-size: 1em;
    line-height: 0.9em;
    font-weight: 800;
    
    display: inline-block;
    vertical-align: middle;
    transition: all ease-in-out 1s;
}
.btn:hover, .btn-primary:hover {
    color: #28255C;
}
.btn:active, .btn.active,
.btn-primary:active, .btn-primary.active {
    color: #28255C;
    font-weight: 400;
    box-shadow: none;
}


/* ==========================================================================
   Footer Scrolling
   ========================================================================== */

.trigger-menu-wrapper {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  transition: transform 0.8s;
}

.scroll-up .trigger-menu-wrapper {
  transform: translate3d(0, 80%, 0);
}

.scroll-down .trigger-menu-wrapper {
  transform: none;
}


/* ==========================================================================
   Media queries
   ========================================================================== */

.container {
        max-width: 1366px;
}

@media only screen and (min-width: 1201px) {

    .container {
        width: 1280px !important;
    }
    
}
@media (max-width: 1200px) {
    
    .header .nav.pull-right, .header-search {
      margin: 1% 12% 0 0;
  }

}
    
@media only screen and (min-width: 1025px) {
            
    .header-nav {
        float: right;
        padding: 6.5rem 0 0 0;
    }
    
}

@media (max-width: 1024px) {

    .category-module li {
        width: 31%;
    }
    
    article {
        max-width: 940px;
    }
    
}

@media only screen and (min-width: 980px) {

    
}

@media (max-width: 979px) {

    body>.body {
        margin-top: 0%;
    }
    
    ul.nav.menu.nav-pills.mod-list {
        text-align: right;
    }
    
    .nav-collapse .nav > li.active > a {
        color: #09ced1;
    }
    .nav-collapse .nav > li > a, .nav-collapse .dropdown-menu a {
        color: #FFF;
    }
    
    .header .nav-pills > li > a, .header .nav-pills > li:last-child > a {
        border: 0px;
    }
    
    .navigation .nav > li:hover > .nav-child, .navigation .nav > li > a:focus + .nav-child, .navigation .nav li li:hover > .nav-child, .navigation .nav li li > a:focus + .nav-child {
        display: none;
    }
    
}

@media only screen and (min-width: 769px) {
    
    .header-nav {
        float: right;
    }
    

    .itemid-101 .ba-gallery-grid {
        height: 260px !important;
        overflow: hidden;
    }
    
}

@media (max-width: 768px) {

    td {
        float: left;
        width: 90% !important;
        padding-left: 10px;
    }
    
    .header .nav.pull-right, .header-search {
        float: right;
        display: block;
        margin: 5px;
    }
    
    article {
        display: block;
    }
    

    .itemid-101 .ba-gallery-grid {
        height: 1400px !important;
        overflow: hidden;
    }
    
}

@media only screen and (min-width: 641px) {

    .category-module li .article-list-image {
        overflow: hidden;
        max-height: 250px;
    }
    
}

@media (max-width: 640px) {
    
    .header-inner {
        flex-flow: column;
    }

    .container-fluid {
        margin: 0 2%;
    }
    .counter-sub-container {
         display: inline-block; 
         justify-content: initial; 
    }
    
    .category-module li {
        width: 48%;
    }

}