/*!
Theme Name: Stop Cambriolages Theme
Author: Gilston Digital SA
Author URI: https://gilston.digital/
Description: Theme wordpress Stop Cambriolages
Version: 1.0.6
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: stop-cambriolages
*/
@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham-thin.woff2') format('woff2'),
    url('fonts/gotham-thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham-extralight.woff2') format('woff2'),
    url('fonts/gotham-extralight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham-light.woff2') format('woff2'),
    url('fonts/gotham-light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham-book.woff2') format('woff2'),
    url('fonts/gotham-book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham-medium.woff2') format('woff2'),
    url('fonts/gotham-medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham-medium.woff2') format('woff2'),
    url('fonts/gotham-medium.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham-bold.woff2') format('woff2'),
    url('fonts/gotham-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham-black.woff2') format('woff2'),
    url('fonts/gotham-black.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham-black.woff2') format('woff2'),
    url('fonts/gotham-black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* NORMALIZED
--------------------------------------------- */
html {
  line-height: 1.2;
  -webkit-text-size-adjust: 100%;
  font-size: 18px;
}

body {
  margin: 0;
}

main {
  display: block;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: 600;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

body {
  background-color: #242424;
}

#content {
  background-color: #000;
}

a,
img,
header#masthead,
#left-logo,
#content,
.nav-link,
#service-left-icon,
#galeries-photos .galerie-photos{
  transition: all ease-in 0.2s;
  -webkit-transition: all ease-in 0.2s;
  -ms-transition: all ease-in 0.2s;
  -o-transition: all ease-in 0.2s;
}

i {
  vertical-align: middle;
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #FFF;
  font-family: "Gotham", Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 300;
}

p {
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1;
}

h1.main-title-left{
  font-size: 2.3rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: #b0863f;
}
/* Links 
---------------------------------------------- */
a {
  text-decoration: none;
  color: #b0863f;
}

a:hover {
  color: #c69d51;
}

a:focus {
  outline: none;
}

a:hover,
a:active {
  outline: 0;
}

/* CONTENT
--------------------------------------------- */
body:not(.home) #content {
  padding-top: 2rem;
}
body.admin-bar:not(.home) #content {
  padding-top: calc(2rem + 32px)!important;
}

.btn.btn-primary {
  background-color: #b0863f;
  border-color: #b0863f;
  color: #000;
}

.btn.btn-primary:hover ,#services-list .btn-light:hover {
  background-color: #c69d51;
  border-color: #c69d51;
  color: #000;
}

.btn.btn-outline-primary {
  color: #b0863f;
  border-color: #b0863f;
}

.btn.btn-outline-primary:hover {
  color: #fff;
  border-color: #b0863f;
  background-color: #b0863f;
}

.bg-primary {
  background-color: #b0863f !important;
}

.call-us-btn {
  background-color: #FFF;
  color: #000;
  font-size: 1.2rem;
  border-radius: 9999px;
  display: inline-block;
  padding: 0.275rem 1rem 0.275rem 0.275rem;
  position: relative;
}

.call-us-btn::after {
  content: "";
  width: 100px;
  height: 70px;
  background-image: url('img/serrurier1.svg');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -55px;
  left: 113px;
}

.call-us-btn .call-us-btn-content {
  display: flex;
  align-items: center;
}

.call-us-btn .call-us-btn-text {
  background-color: #b0863f;
  color: #000;
  font-size: 1rem;
  padding: .5rem 1rem;
  border-radius: 9999px;
  margin-right: .5rem;
  font-weight: 500;
}

.call-us-btn:hover {
  background-color: #c69d51;
  color: #000;
}

.devis-btn{
  background-color: #b0863f;
  color: #000;
  font-size: 1.2rem;
  border-radius: 9999px;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  position: relative;
}
.devis-btn:hover{
  background-color: #c69d51;
  color: #000;

}
/* NAV
--------------------------------------------- */

#mobile-navbar-toggler {
  position: fixed;
  z-index: 2001;
  border: 0;
  padding: 0;
  top: 38px;
  left: 38px;
  background-image: url('img/nav-toggle.svg');
  height: 36px;
  width: 54px;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#main-logo {
  position: fixed;
  z-index: 2001;
  top: 36px;
  left: 110px;
  height: 40px;
}

body.admin-bar #mobile-navbar-toggler,
body.admin-bar #main-logo {
  top: calc(36px + 32px)!important;
  
}

#mobile-navbar-toggler,
#mobile-navbar-toggler:focus,
#mobile-navbar-toggler:hover,
#mobile-navbar-toggler:active {
  outline: none;
  border: 0 !important;
  border-style: none !important;
  box-shadow: none;
}

#mobile-navbar-toggler img {
  height: 33px;
}

.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .dropdown-menu {
  position: absolute;
  left: -1rem;
  border-radius: 0;
  padding: 0;
  background-color: rgba(255, 255, 255, 1);
  border: 0;
  padding: 1rem 0;
  min-width: 300px;
}

.navbar-nav .dropdown-menu .nav-item {
  text-align: start;
  padding: 0 1rem;
  font-weight: 400;
}

.navbar-nav .dropdown-menu .nav-item .nav-link {
  position: relative;
  text-transform: uppercase;
}

#main-nav-flex-container {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: start;
  position: fixed;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: -100%;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Pour Safari */
  padding-top: 90px;
  padding-left: 36px;
}
body.admin-bar #main-nav-flex-container {
  padding-top: calc(90px + 32px)!important;
}

#main-nav-flex-container #menu-menu-principal {
  min-width: 300px;
}

#main-nav-flex-container .navbar-nav .dropdown-menu .nav-item .nav-link:hover,
#main-nav-flex-container .navbar-nav .dropdown-menu .nav-item.current_page_item .nav-link {
  color: #b0863f;
}

#main-nav-flex-container .navbar-nav>li>.nav-link {
  color: #FFFFFF;
  font-size: 1.4rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 0.5rem  .5rem;  
  padding-left:0;
  cursor: pointer;
}

#main-nav-flex-container .navbar-nav>li>.nav-link:hover,
#main-nav-flex-container .navbar-nav>li.current_page_item>.nav-link {
  color: #b0863f;
}

#nav-services {
  width: 0;
  overflow: hidden;
  position: absolute;
  left: 7px;
  right: 0;
  top: 140px;
  bottom: 0;
}

#nav-services .service-nav-item {
  display: flex;
  align-items: center;
  font-size: .8rem;
  font-weight: 500;
  color: #FFF;
}

#nav-services .service-nav-item:hover,
#nav-services .service-nav-item.current_page_item {
  color: #b0863f;
}

#nav-services .service-nav-item .service-icon-block {
  margin: 0;
  width: 30px;
  height: 30px;
  padding: 6px;
}

#main-nav-flex-container.services_open .nav-item:not(#service-nav-item) {
  display: none;
}

#service-left-icon {
  display: none;
}

#main-nav-flex-container.services_open #service-left-icon {
  display: inline-block;
}

#top-call-us {
  position: fixed;
  top: 40px;
  right: 38px;
  z-index: 2002;
}
body.admin-bar #top-call-us{
  top: calc(40px + 32px)!important;
}
#top-call-us .call-us-btn{
  padding: 0.275rem .5rem;
}
#top-call-us .call-us-btn {
  font-size: .9rem;
  
}

#top-call-us .call-us-btn-text {
  font-size: .9rem;
  padding: .25rem .5rem .25rem 1.8rem;
  display: none;
}

#top-call-us .call-us-btn::after {
  
  display: none;
}

#top-gradient{
    height: 90px;
    position: fixed;
    background-color: #000;
    top: 0;
    left: 0;
    width: 300px;
    z-index: 2000;
    background: linear-gradient(-90deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 50%);
}  
body.admin-bar #top-gradient{
    top: calc(0px + 32px)!important;
}
/*HOMEPAGE
--------------------------------------------- */
#section-top {
  background-image: url('img/bg-top.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  overflow: hidden;
}

#section-top-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 80px 28px 3rem 26px;
}

#section-top #main-punchline {
  color: #fff;
  font-size: 2rem;
  padding: 0;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;

}

#section-top #subtitle-block {
  padding: 0;
}

#section-top #subtitle-block #home-logo {
  height: 120px;
  margin-top: .5rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

#section-top #subtitle-block h2 {
  font-size: 1.2rem;
  font-weight: 300;
  text-align: center;
}

#section-top #subtitle-block h3 {
  font-size: .8rem;
  text-align: center;
  font-weight: 300;
  margin-top: .3rem;
}
.service-item *{
  color: #fff!important;
}
.service-item:hover *{
  color: #b0863f!important;
}
.service-icon-block {
  padding: 12px;
  background-color: #b0863f;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service-icon-block img {
  height: 100%;
  display: block;
}

.avis-text{
  font-size: 1.2rem;
  font-style: italic;
}
/* ARTICLES LIST
--------------------------------------------- */
.articles-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.articles-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.articles-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

.articles-section .card-title a:hover {
    color: #b0863f !important;
}

.articles-section .pagination .page-link {
    border-radius: 50%;
    margin: 0 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #000;
}

.articles-section .pagination .page-item.active .page-link {
    background-color: #b0863f;
    color: #000;
}

.articles-section .pagination .page-link:hover {
    background-color: #b0863f;
    color: #000;
}
.disabled{
  pointer-events: none;
  opacity: 0.5;
}
/* FOOTER
--------------------------------------------- */

#site-footer {
  position: relative;
  color: #848484;
}
#site-footer .opacity-50 {
  opacity: 0.7!important;

}

#site-footer a{
  color: #fff;
 
}
#site-footer a:hover{
  color: #b0863f;
}

#site-footer #tamtam-inline img {
  height: 34px;
}

#site-footer #credits {
  position: absolute;
  top: 10px;
  right: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#site-footer #tamtam_credit img {
  width: 20px;

}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  #top-call-us .call-us-btn {
    font-size: .9rem;
    display: block;
  }

  #top-call-us .call-us-btn-text {
    font-size: .9rem;
    padding: .25rem .5rem .25rem .5rem;
    display: block;
  }

  #top-call-us .call-us-btn::after {
    width: 58px;
    height: 40px;
    top: -26px;
    left: -20px;
    display: block;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  

  #main-nav-flex-container:not(.services_open) {
     background-image: url('img/serrurier1.svg');
    background-repeat: no-repeat;
    background-size: 450px auto;
    background-position: center;
  }

  #nav-services {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    top: auto;
  }

  #nav-services .service-nav-item {
    font-size: 1rem;
  }

  #nav-services .service-nav-item .service-icon-block {
    width: 60px;
    height: 60px;
    padding: 12px;
  }

  #main-nav-flex-container.services_open #service-left-icon {
    display: none;
  }

  #main-nav-flex-container.services_open .nav-item:not(#service-nav-item) {
    display: block;
  }

  .call-us-btn {
    font-size: 1.5rem;
    padding: 0.375rem 1.25rem 0.375rem 0.375rem;
  }

  .call-us-btn .call-us-btn-text {
    font-size: 1.5rem;
    padding: .8rem 1.2rem;
    margin-right: .5rem;
    
  }

  .call-us-btn::after {
    width: 145px;
    height: 100px;
    top: -80px;
    left: -50px;
  }

  #section-top #subtitle-block {
    padding-left: 4rem;
  }

  #section-top #subtitle-block h3 {
    font-size: 1.1rem;
  }
  .devis-btn{
    padding: 1.4rem 2rem;    
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  #section-top-content {
    padding: 7rem 7rem 4rem 7rem;
  }

  #section-top #main-punchline {
    font-size: 4.5rem;
  }

  #section-top #subtitle-block {
    padding-left: 50px;
  }

  #section-top #subtitle-block #home-logo {
    height: 160px;
  }

  #section-top #subtitle-block h2 {
    font-size: 1.65rem;
  }

  #section-top #subtitle-block h3 {
    font-size: 1.1rem;
  }

  
}

div.wpforms-container-full:not(:empty) {
  margin-top: 0;
}

#galeries-photos .galerie-photos{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

}

#galeries-photos .galerie-photos-ratio:hover .galerie-photos{
  transform: scale(1.2);
}


#collaborateurs-slideshow .slick-prev::before, 
#collaborateurs-slideshow .slick-next::before {
  color: #b0863f;
}
#collaborateurs-slideshow .slick-prev{
  left: -45px;
}
#collaborateurs-slideshow .slick-next{
  right: -45px;
}
#collaborateurs-slideshow .collaborateur-item{
  padding: 0 .5rem;
  opacity: .5;
}
#collaborateurs-slideshow .collaborateur-item.slick-current,
#collaborateurs-slideshow .collaborateur-item:hover{
  opacity: 1;
}
#collaborateurs-slideshow .collaborateur-image{
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
