/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

a{
	transition: all .5s ease;
}
/** Header **/

body .main-navigation {
  width: 100%;
}

body .inside-header {
  max-height: 64px;
}

.nav-below-header .main-navigation .inside-navigation.grid-container,
.nav-above-header .main-navigation .inside-navigation.grid-container {
  padding: 0 0 !important;
}

body .main-navigation .main-nav ul li a {
  color: white!important;
  text-transform: uppercase;
}

body .main-navigation .main-nav ul li:hover a,
body .main-navigation .main-nav ul li:focus a,
body .main-navigation .main-nav ul li:active a,
body .main-navigation .main-nav ul li:focus-visible a {
  color: #b0aaa9!important;
  outline: 0;
}

body .main-navigation .main-nav ul li[class*="current-menu-"]>a {
  background-color: transparent;
}

body .main-navigation .main-nav ul li:not([class*="current-menu-"]):hover>a,
body .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus>a,
body .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"])>a,
body .main-navigation .menu-bar-item:hover>a,
body .main-navigation .menu-bar-item.sfHover>a {
  color: #b0aaa9!important;
  background-color: transparent;
}

@media (max-width: 767px) {

  body button.menu-toggle {
    text-align: left;
  }

  body .main-navigation .menu-toggle {
    color: white;
    padding: 0;
  }

  body .slideout-navigation.main-navigation .main-nav ul li[class*="current-menu-"]>a {
    color: black;
    background-color: transparent;
  }

  body .slideout-navigation.main-navigation {
    background-color: white;
  }

  body .slideout-navigation button.slideout-exit {
    color: black;
  }

  body .slideout-navigation .main-nav {
    margin-bottom: 30px;
  }
}

/** Prestations **/

body #prestation-section p.prestation-desc {
  line-height: 22px;
}

body #prestation-section .img-center {
  max-width: 124px;
  display: block;
  margin: 0 auto 23px;
}

body hr.after-title {
  width: 36px;
  height: 3px;
}

body #bg-section {
  height: 519px;
  background-position: top center;
  background-attachment: fixed;
}

/** labels **/

body #certificate-section .img-certif {
  border-radius: 50%;
  width: 200px;
  filter: grayscale(100%);
  margin-bottom: 35px;
}

/** Gallery **/
body #project-section figure.wp-block-gallery{
	gap: 0;
}

body #project-section figure.wp-block-gallery a:before{
	content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	--itemOpacity: #2F2E2E;
    background: rgba(47, 46, 46, 0.6) !important;
	filter: opacity(1);
	transition: opacity 0.5s ease;
	opacity: 0;
}

body #project-section figure.wp-block-gallery a:hover:before{
	opacity: 1;
}


/** Contact **/

body #contact-section .contact-desc {
  max-width: 660px;
}

/** Footer **/

body footer span.footer-url-color a {
  color: white;
}


