@charset "UTF-8";
 @font-face {
font-family: "Okomito";
src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Light.eot); src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Light.eot?#iefix) format("embedded-opentype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Light.woff) format("woff"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Light.ttf) format("truetype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Light.svg#422fefc2ba801050e8e8ab6ca19fd31e) format("svg"); font-style: normal;
font-weight: 300;
}
@font-face {
font-family: "Okomito";
src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-LightItalic.eot); src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-LightItalic.eot?#iefix) format("embedded-opentype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-LightItalic.woff) format("woff"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-LightItalic.ttf) format("truetype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-LightItalic.svg#57c4b0f10de18d4b824b9b2d1059b397) format("svg"); font-style: italic;
font-weight: 300;
}
@font-face {
font-family: "Okomito";
src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Regular.eot); src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Regular.eot?#iefix) format("embedded-opentype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Regular.woff) format("woff"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Regular.ttf) format("truetype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Regular.svg#7e03f44594ce348e67ab07d89066e009) format("svg"); font-style: normal;
font-weight: 400;
}
@font-face {
font-family: "Okomito";
src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Italic.eot); src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Italic.eot?#iefix) format("embedded-opentype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Italic.woff) format("woff"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Italic.ttf) format("truetype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Italic.svg#15cd0035c937134f9a9a08128bcb5200) format("svg"); font-style: italic;
font-weight: 400;
}
@font-face {
font-family: "Okomito";
src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Medium.eot); src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Medium.eot?#iefix) format("embedded-opentype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Medium.woff) format("woff"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Medium.ttf) format("truetype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Medium.svg#2f18f7634cdad475e4ce5175e8ff959e) format("svg"); font-style: normal;
font-weight: 500;
}
@font-face {
font-family: "Okomito";
src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-MediumItalic.eot); src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-MediumItalic.eot?#iefix) format("embedded-opentype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-MediumItalic.woff) format("woff"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-MediumItalic.ttf) format("truetype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-MediumItalic.svg#7c77475cf23bd27616d50b8841973de6) format("svg"); font-style: italic;
font-weight: 500;
}
@font-face {
font-family: "Okomito";
src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Bold.eot); src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Bold.eot?#iefix) format("embedded-opentype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Bold.woff) format("woff"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Bold.ttf) format("truetype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Bold.svg#6651b51797015b473a2ae1e6931b1c68) format("svg"); font-style: normal;
font-weight: 700;
}
@font-face {
font-family: "Okomito";
src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-BoldItalic.eot); src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-BoldItalic.eot?#iefix) format("embedded-opentype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-BoldItalic.woff) format("woff"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-BoldItalic.ttf) format("truetype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-BoldItalic.svg#38fd4986e231f9e2e40c4a62010aa493) format("svg"); font-style: italic;
font-weight: 700;
}
@font-face {
font-family: "Okomito";
src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Black.eot); src: url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Black.eot?#iefix) format("embedded-opentype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Black.woff) format("woff"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Black.ttf) format("truetype"), url(//www.gary-mecanique.com/wp-content/themes/gary/t/Okomito-Black.svg#788112d449f60cd45aa9a30f0198836f) format("svg"); font-style: normal;
font-weight: 900;
}
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-smoothing: antialiased;
text-rendering: optimizeLegibility;
box-sizing: border-box; outline: 0;
margin: 0;
padding: 0;
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
}
body {
overflow-x: hidden;
}
body, input, textarea, select {
font-family: "Okomito", sans-serif;
font-size: 13px;
font-weight: 300;
color: #595959;
margin: 0;
border-radius: 0;
}
body {
margin: 0;
}
b, strong {
font-weight: 700;
}
a {
cursor: pointer;
color: #000;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
}
img {
max-width: 100%;
}
.none {
opacity: 0;
pointer-events: none;
}
::-webkit-input-placeholder {
color: #607C86;
}
::-moz-placeholder {
color: #607C86;
}
:-ms-input-placeholder {
color: #607C86;
}
:-moz-placeholder {
color: #607C86;
}
.mobile-only {
display: none;
}
.desktop-only {
display: block;
}
@media (max-width: 540px) {
.mobile-only {
display: block;
}
.desktop-only {
display: none;
}
}
.wrapper {
position: relative;
width: 1180px;
margin: 0 auto;
} .site-header {
position: absolute;
width: 100%;
height: 136px;
background: #fff;
transition-duration: 500ms;
z-index: 98;
}
.site-name {
padding: 26px 0;
}
.site-name img {
position: absolute;
}
.site-name img.small {
opacity: 0;
}
.site-header.small {
position: fixed;
}
.site-header.small {
height: 50px;
}
.site-header.small a img {
opacity: 0;
transition: 200ms;
}
.site-header.small a img.small {
opacity: 1;
transition: 500ms 200ms;
}
.site-header.small .site-name {
padding: 16px 0 0 0;
}
.site-header.small nav {
top: 0;
}
.site-header.small nav ul li.current_page_item a::after {
display: none;
}
#centtrentesix {
height: 136px;
}
a#burger, a#fermer-burger {
display: none;
}
a#burger {
z-index: 998;
}
nav {
display: flex;
position: absolute;
top: 40px;
right: 0;
transition-duration: 500ms;
z-index: 999;
}
.menu-menu-francais-container, .menu-menu-anglais-container, a.switch_lang {
display: inline-block;
}
.switch_lang {
display: none !important;
}
nav ul li {
display: inline;
}
nav a {
display: inline-block;
text-transform: uppercase;
color: #9F9F9F;
font-weight: 500;
font-size: 12px;
text-decoration: none;
padding: 20px 10px;
letter-spacing: 1px;
}
nav ul li.current_page_item a {
color: #DB0715;
font-weight: 700;
}
nav ul li.current_page_item a::after {
content: "";
position: absolute;
display: block;
bottom: 5px;
left: 10px;
width: 5px;
height: 5px;
background: #D8D8D8;
}
a.switch_lang:hover {
color: #DB0715;
}
a.switch_lang::before {
content: "";
position: relative;
display: inline-block;
width: 17px;
height: 1px;
margin-right: 10px;
background: #DB0715;
transform: translateY(-3px);
}
.titre {
position: relative;
width: 560px;
height: 140px;
margin-top: 40px;
margin-bottom: -50px;
margin-left: 20%;
background: #DB0715;
color: #fff;
overflow: hidden;
z-index: 1;
transform: translateX(-100px);
opacity: 0;
transition: all 800ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.titre.inview {
transform: translateX(0px);
opacity: 1;
}
.titre.right {
margin-left: 30%;
}
.titre h2 {
position: absolute;
top: 50%;
left: 60px;
line-height: 32px;
font-weight: 700;
font-size: 32px;
transform: translateY(-50%);
padding-right: 50px;
}
.titre span {
z-index: -1;
position: absolute;
color: #E60A14;
top: 50%;
right: 0;
line-height: 0;
display: block;
font-weight: 700;
font-size: 320px;
transform: translate(30px, -50%);
}
.bloc-gris {
position: relative;
}
.bloc-gris.inview {
transform: translateY(0px);
opacity: 1;
}
.bloc-gris .speech {
position: relative;
background: #F0F0F0;
width: 600px;
margin-left: 10%;
padding: 100px 70px 70px 140px;
}
.bloc-gris .speech {
transform: translateX(100px);
opacity: 0;
transition: all 800ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.bloc-gris .speech.inview {
transform: translateX(0px);
opacity: 1;
}
.page-template-moyens-techniques-et-humains-php .bloc-gris .speech {
width: 900px;
margin-left: 0;
padding: 0;
}
.page-template-moyens-techniques-et-humains-php .bloc-gris .speech::before {
display: none;
}
.page-template-moyens-techniques-et-humains-php .bloc-gris .speech h3 {
padding: 90px 50px 0 50px;
}
.page-template-moyens-techniques-et-humains-php .bloc-gris .speech h3::after {
content: " ";
}
.page-template-moyens-techniques-et-humains-php .bloc-gris.right .speech {
margin-left: 26%;
}
.bloc-gris.right .speech {
margin-left: 40%;
}
.carrousel-moyens-t1 {
margin-left: 26%;
}
.soixante-pct {
width: 60%;
margin-left: 25%;
}
.carrousel-moyens-t {
position: relative;
width: 900px;
height: 40vw;
padding-bottom: 46.25%;
padding-top: 25px;
height: 0;
width: 900px;
overflow: hidden;
}
.carrousel-moyens-t .slide {
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
line-height: 0;
overflow: hidden;
transform: translateX(-100%);
}
.carrousel-moyens-t .slide.first {
transform: none;
}
.carrousel-moyens-t .slide {
background-size: cover !important;
}
.carrousel-savoir-f {
position: relative; padding-bottom: 56.25%;
padding-top: 25px;
height: 0;
width: 100%;
overflow: hidden;
}
.carrousel-savoir-f .slide {
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
line-height: 0;
overflow: hidden;
transform: translateX(-100%);
}
.carrousel-savoir-f .slide.first {
transform: none;
}
.carrousel-savoir-f .slide {
background-size: cover !important;
}
a.c_prev {
z-index: 3;
display: block;
position: absolute;
width: 44px;
height: 44px;
left: 66px;
top: calc(50% - 22px);
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/chevron-carrousel-moyens-tech.svg) 0 0 repeat-x;
transform: rotate(180deg) translateY(-44px);
transition-duration: 500ms;
z-index: 80;
}
@media (min-width: 768px) {
a.c_prev:hover {
background-position: 44px 0;
}
a.c_next:hover {
background-position: 44px 0;
}
}
a.c_next {
z-index: 3;
display: block;
position: absolute;
width: 44px;
height: 44px;
right: 22px;
top: calc(50% - 22px);
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/chevron-carrousel-moyens-tech.svg) 0 0 repeat-x;
transition-duration: 500ms;
z-index: 80;
}
.right .soixante-pct {
width: 60%;
margin-left: 20%;
}
.bloc-gris .speech::before {
content: "";
position: absolute;
top: 105px;
left: 50px;
width: 43px;
height: 43px;
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/roue-blanc.svg) 0 0 no-repeat;
}
h3 {
font-weight: 700;
font-size: 18px;
line-height: 29px;
margin-bottom: 25px;
} .bloc-gris p {
font-weight: 400;
font-size: 13px;
line-height: 19px;
}
.height100 {
height: 100px;
}  #scrolltop {
position: relative;
padding-top: 50px;
margin-left: calc(50% - 42.5px);
text-align: center;
}
#scrolltop svg {
overflow: visible;
}
#scrolltop svg #oval {
stroke-dasharray: 261;
stroke-dashoffset: 261;
transition: 400ms ease-out;
}
#scrolltop:hover svg #oval {
stroke-dashoffset: 0;
}
#ovalbg {
transform-origin: 50% 50%;
transform: scale(0, 0);
transition: 500ms 200ms cubic-bezier(1, 0, 0, 1);
}
#scrolltop:hover svg #ovalbg {
transform: scale(1, 1);
}
#scrolltop #les-traits > path {
transition: 900ms 0ms cubic-bezier(1, 0, 0, 1);
}
#scrolltop:hover #les-traits > path {
stroke: #fff;
}
footer {
position: relative;
margin-top: 50px;
background: #DB0715;
font-family: "Okomito";
font-weight: 400;
padding: 50px 0;
}
footer a.contact {
position: absolute;
top: -90px;
right: 0;
display: block;
background: #A0A0A0;
font-weight: 700;
font-size: 17px;
color: #fff;
text-decoration: none;
padding: 30px 40px;
}
footer a.contact::before {
content: "+";
position: absolute;
top: 0;
left: -80px;
width: 80px;
height: 80px;
text-align: center;
font-size: 30px;
line-height: 76px;
font-weight: 900;
background: #797979;
transition: 1000ms cubic-bezier(0, 1, 0, 1);
}
footer a.contact:hover::before {
transform: scale(1.2);
font-size: 20px;
}
footer .logo {
position: relative;
float: left;
width: 140px;
}
footer .logo {
position: relative;
float: left;
width: 140px;
}
footer .adrTelMail {
margin-top: 4px;
width: 300px;
float: left;
}
footer .adrTelMail, footer .adrTelMail a {
font-size: 12px;
line-height: 21px;
color: #fff;
text-decoration: none;
}
footer .social-legal {
margin-top: 14px;
width: 300px;
float: right;
text-align: right;
font-size: 10px;
color: #000;
}
footer .social-legal a {
text-decoration: none;
}
footer .social-legal div {
margin-top: 36px;
}
footer .social-legal a.social {
padding: 0 0 0 14px;
}
footer .wrapper::after {
content: "";
display: block;
position: relative;
clear: both;
}
.space {
display: inline-block;
width: 20px;
}  .carrousel {
position: relative;
width: 100%;
height: 45vh;
color: #fff;
background: #797979;
}
.carrousel > div {
display: table-cell;
min-height: 50px;
}
.carrousel .small {
position: absolute;
width: 26%;
height: 100%;
}
.carrousel .c .here > div {
opacity: 0;
}
.carrousel .c .here > div:first-child {
opacity: 1;
}
.carrousel .small .c {
width: 100%;
height: 50%;
}
.carrousel .small .c2 {
top: 50%;
}
.carrousel .c {
position: absolute;
}
.carrousel .c .legende {
position: absolute;
left: 0;
bottom: 0;
display: inline-block;
line-height: 0;
padding: 20px;
background: rgba(0, 0, 0, 0.4);
}
.carrousel .big {
position: absolute;
left: 26%;
width: 38%;
height: 100%;
background: #000;
}
.carrousel .big .c {
width: 100%;
height: 100%;
}
.carrousel .c .here {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.carrousel .c .here > div {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover !important;
}
.carrousel .redac {
position: absolute;
left: 64%;
width: 36%;
height: 100%;
}
.carrousel .redac > div {
position: absolute;
left: 50%;
top: 50%;
width: 80%;
transform: translate(-50%, -50%);
}
.carrousel .redac h1 {
font-size: 30px;
color: #fff;
font-weight: 900;
margin-bottom: 20px;
}
.carrousel .redac h1::before {
content: "";
position: absolute;
top: 0;
left: -12.5%;
width: 40px;
height: 1px;
background: #fff;
transform: translate(0, 20px);
}
.carrousel .redac p {
position: relative;
font-weight: 400;
font-size: 16px;
line-height: 24px;
padding: 0 40px 0 40px;
}
.carrousel .redac p::before {
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
width: 18px;
height: 16px;
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/home-p-before.svg) 0 0 no-repeat;
}
.carrousel .redac p::after {
content: "";
display: block;
position: absolute;
bottom: 0;
right: 0;
width: 19px;
height: 16px;
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/home-p-after.svg) 0 0 no-repeat;
transform: translate(-50px, 20px);
}
.home-pieces {
position: relative;
width: 100%;
height: 1100px;
margin-top: -400px;
mix-blend-mode: multiply;
}
.home-pieces .p {
width: 550px;
height: 550px;
overflow: hidden;
}
.home-pieces > .p > div {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
}
.home-pieces > .p > div:first-child {
opacity: 1;
}
.home-pieces .p img {
object-fit: contain;
width: 100%;
height: 100%;
}
.home-pieces .p1, .home-pieces .p2, .home-pieces .p3 {
position: absolute;
top: 0;
right: -150px;
}
.home-pieces .p2 {
left: 8%;
top: 400px;
}
.home-pieces .p3 {
right: 8%;
top: 650px;
}
.keyword {
position: absolute;
right: calc((1180px - 100vw) / 2);
top: 500px;
padding-left: 120px;
pointer-events: none;
color: #DB0715;
font-size: 40px;
line-height: 40px;
font-weight: 300;
}
.keyword::before {
content: "";
display: block;
position: absolute;
top: 32px;
left: auto;
right: 0;
width: 80px;
height: 1px;
background: #DB0715;
}
.keyword > div {
position: absolute;
top: 0;
right: 100px;
left: auto;
width: 600px;
text-align: right;
}
#hp-keyword-b {
top: 0px !important;
}
.carrousel-moyens-tech {
position: relative;
overflow: hidden;
}
.carrousel-moyens-tech > div {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
line-height: 0;
transform: translateX(-100%);
overflow: hidden;
z-index: 1;
}
.carrousel-moyens-tech > div > div {
transform: translateX(100%);
}
.carrousel-moyens-tech > div:nth-child(4) {
transform: none;
}
.carrousel-moyens-tech > div:nth-child(4) > div {
transform: none;
}
.carrousel-moyens-tech > div > div {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover !important;
}
.carrousel-moyens-tech a.prev {
z-index: 3;
display: block;
position: absolute;
width: 44px;
height: 44px;
left: 66px;
top: calc(50% - 22px);
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/chevron-carrousel-moyens-tech.svg) 0 0 repeat-x;
transform: rotate(180deg) translateY(-44px);
transition-duration: 500ms;
z-index: 4;
}
@media (min-width: 768px) {
.carrousel-moyens-tech a.prev:hover {
background-position: 44px 0;
}
.carrousel-moyens-tech a.next:hover {
background-position: 44px 0;
}
}
.carrousel-moyens-tech a.next {
z-index: 3;
display: block;
position: absolute;
width: 44px;
height: 44px;
right: 22px;
top: calc(50% - 22px);
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/chevron-carrousel-moyens-tech.svg) 0 0 repeat-x;
transition-duration: 500ms;
z-index: 4;
} #photo-titre {
position: relative;
width: 100%;
height: 440px;
background-size: cover !important;
z-index: 0;
}
#photo-titre::before {
content: "";
position: absolute;
top: 0;
right: 0;
display: block;
width: 50%;
height: 100%;
background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
z-index: -1;
}
#photo-titre h1 {
position: absolute;
top: 50%;
left: calc((100vw - 1180px) / 2);
transform: translateY(-50%);
text-align: right;
font-size: 80px;
line-height: 80px;
color: #fff;
font-weight: 700;
width: 1180px;
margin: 0 auto;
padding-right: 40px;
}
#photo-titre h1::after {
content: "";
display: inline-block;
position: absolute;
width: 21px;
height: 21px;
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/after-h1.svg) 0 0 no-repeat;
background-size: 21px 21px;
top: 17px;
right: 0;
}
.piece-fond-px {
position: absolute;
margin-top: -90px;
left: calc((1180px - 100vw) / 2);
width: 300px;
z-index: -1;
}
.piece-fond-px img {
width: 100%;
}
.piece-fond-px.right {
left: auto;
right: calc((1180px - 100vw) / 2);
}
.bloc-gris .speech .png {
position: absolute;
top: 0;
left: 40vw;
}
.bloc-gris .speech .png {
width: 400px;
height: 400px;
}
.bloc-gris .speech .png img {
width: 100%;
height: 100%;
object-fit: contain;
} h2.titre-contact-bloc-gris {
font-size: 40px;
color: #DB0715;
margin-bottom: 10px;
}
p.pave-adresse, p.pave-adresse a {
font-size: 16px;
line-height: 26px;
font-weight: 700;
color: #595959;
text-decoration: none;
}
.page-template-contact .bloc-gris {
position: relative;
background: #F0F0F0;
}
form {
position: relative;
margin-left: 20%;
padding: 100px 0;
}
label {
font-weight: 500;
font-size: 16px;
color: #494949;
display: block;
margin: 20px 0;
}
input, textarea {
border: 0;
padding: 10px;
width: 90%;
}
textarea {
height: 140px;
}
label.fichier {
background: #fff;
padding: 10px;
width: 90%;
cursor: pointer;
}
label.fichier::before {
content: "+";
font-weight: 700;
margin-left: 5px;
color: #DB0715;
margin-right: 10px;
}
label.fichier.ok::before {
content: "✓";
}
input[type=submit] {
cursor: pointer;
background: #DB0715;
text-align: left;
width: 340px;
color: #fff;
font-weight: 700;
font-size: 16px;
padding: 18px 25px;
background: #DB0715 url(//www.gary-mecanique.com/wp-content/themes/gary/img/chevron-submit.svg) calc(100% + 1px) 0 repeat-y;
transition-duration: 300ms;
}
input[type=submit]:hover {
background-position: calc(100% + 1px) 55px;
}
#reponse {
color: #DB0715;
font-weight: 700;
font-size: 20px;
margin-bottom: 70px;
}
#mapICI {
width: 100%;
height: 400px;
} body.page-template-realisations {
background: #F0F0F0;
}
body.page-template-realisations h1 {
margin-top: 80px;
color: #DB0715;
font-weight: 700;
font-size: 80px;
text-align: right;
margin-right: 40px;
}
body.page-template-realisations h1::after {
content: "";
display: inline-block;
position: absolute;
width: 21px;
height: 21px;
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/red-wheel.svg) 0 0 no-repeat;
background-size: 21px 21px;
top: 25px;
right: 0;
}
body.page-template-realisations h2 {
text-align: right;
margin-bottom: 100px;
margin-right: 40px;
}
.piece {
display: inline-block;
position: relative;
width: 300px;
margin-right: 30px;
text-align: center;
font-weight: 700;
font-size: 16px;
color: #595959;
}
.piece > div {
position: relative;
width: 100%;
height: 300px;
}
.module-yeah .piece > div {
height: 60vh;
}
.piece img {
position: relative;
width: 90%;
height: 90%;
object-fit: contain;
}
.piece p {
margin-top: 40px;
} .les-pieces {
text-align: center;
}
.les-pieces:after {
content: "";
display: block;
clear: both;
position: relative;
}
.les-pieces a img {
transform-origin: 50% 50%;
transition-duration: 300ms;
}
.les-pieces a:hover img {
transform: scale(1.1);
}
.module-yeah {
position: fixed;
background: #f0f0f0;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: 55;
overflow: hidden;
pointer-events: none;
opacity: 0;
}
a.fermer-module {
position: absolute;
top: 60px;
right: 40px;
color: #DB0715;
font-weight: 700;
font-size: 50px;
z-index: 99;
display: block;
opacity: 0;
}
.module-yeah .piece {
margin-right: 0;
}
.module-yeah > div {
position: absolute;
width: 500000px;
top: calc(50% - 30vh);
left: calc(50% - 25vw);
}
.module-yeah > div > .piece {
text-align: center;
width: 50vw;
height: 70vw;
}
.module-yeah > div > .piece img {
top: 50%;
transform: translateY(-50%);
width: 100%;
height: 100%;
object-fit: contain;
}
.module-yeah > span.n {
position: absolute;
display: block;
top: 44%;
left: 40px;
width: 70px;
height: 70px;
color: #fff;
line-height: 56px;
font-size: 80px;
z-index: 999;
pointer-events: none;
background: #DB0715;
border-radius: 70px;
padding-left: 20px;
}
.module-yeah > span.nn {
left: auto;
right: 40px;
padding-left: 28px;
}
@media (max-width: 1400px) {
.wrapper {
width: 90%;
}
.keyword {
right: calc((90% - 100vw) / 2);
}
.piece-fond-px {
margin-top: -150px;
left: -5vw;
width: 250px;
}
.piece-fond-px.right {
left: auto;
right: -5vw;
}
.carrousel {
height: 45vh;
}
.carrousel .redac h1 {
font-size: 22px;
}
.carrousel .redac p {
font-size: 12px;
line-height: 20px;
padding: 0 40px 0 40px;
}
.carrousel .redac h1::before {
left: -12.5%;
width: 20px;
transform: translate(0, 14px);
}
}
@media (max-width: 1200px) {
.home-pieces {
height: 900px;
margin-top: -400px;
}
.home-pieces .p {
width: 400px;
height: 400px;
}
nav a {
font-size: 11px;
padding: 20px 4px;
}
#photo-titre {
height: 350px;
}
#photo-titre h1 {
left: 20%;
text-align: right;
font-size: 40px;
line-height: 40px;
width: 80%;
padding-right: 40px;
}
#photo-titre h1::after {
display: none;
}
}
@media (max-width: 1080px) {
.keyword {
right: -5%;
top: 500px;
padding-right: -5%;
font-size: 24px;
line-height: 24px;
}
.keyword::before {
top: 18px;
width: 60px;
}
.titre {
width: 400px;
height: 150px;
margin-left: 20%;
transform: translateX(0px);
opacity: 1;
}
.titre h2 {
left: 63px;
line-height: 30px;
font-size: 26px;
}
.titre span {
font-size: 220px;
}
.bloc-gris .speech {
width: 400px;
margin-left: 10%;
padding: 70px 40px 40px 50px;
transform: translateX(0px);
opacity: 1;
}
.bloc-gris .speech::before {
display: none;
}
.carrousel .small {
display: none;
}
.carrousel .big {
left: 0%;
width: 50%;
}
.carrousel .redac {
left: 50%;
width: 50%;
}
.carrousel .redac h1 {
font-size: 22px;
}
.carrousel .redac p {
font-size: 12px;
line-height: 20px;
padding: 0 40px 0 40px;
}
.carrousel .redac h1::before {
left: -12.5%;
width: 20px;
transform: translate(0, 14px);
}
.piece-fond-px {
display: none;
}
}
@media (max-width: 825px) {
#scrolltop {
padding-top: 30px;
margin-left: 36px;
}
#scrolltop svg {
transform: scale(0.6);
}
footer a.contact {
top: -100px;
right: auto;
left: 7%;
font-size: 14px;
padding: 20px 25px;
}
footer a.contact::before {
left: -57px;
width: 57px;
height: 57px;
font-size: 30px;
line-height: 53px;
}
footer a.contact:hover::before {
font-size: 16px;
}
footer .logo {
float: none;
width: 100%;
}
footer .adrTelMail {
margin-top: 20px;
width: 100%;
float: none;
}
footer .social-legal {
margin-top: 34px;
width: 100%;
float: none;
text-align: left;
}
footer .social-legal a.social {
margin: 0 0 0 -10px;
}
footer .social-legal div {
margin-top: 16px;
}
.page-template-moyens-techniques-et-humains-php .bloc-gris .speech {
width: 100%;
margin-left: 0;
}
.page-template-moyens-techniques-et-humains-php .bloc-gris.right .speech {
width: 100%;
margin-left: 0;
}
.soixante-pct {
width: 100%;
margin-left: 0;
}
nav {
position: fixed;
top: 0px;
right: 0;
width: 100%;
height: 100vh;
background: #DB0715;
padding: 20px;
opacity: 0;
pointer-events: none;
}
nav a {
display: block;
color: #fff;
padding: 10px 4px;
}
nav ul li.current_page_item a {
color: #fff;
}
a.switch_lang {
display: block;
}
a.switch_lang:hover {
color: #fff;
}
a.switch_lang::before {
display: none;
}
a#burger {
display: block;
position: absolute;
width: 30px;
height: 40px;
top: 46px;
right: 0px;
}
a#fermer-burger {
display: block;
position: absolute;
top: 10px;
right: 20px;
font-size: 30px;
}
nav ul li.current_page_item a::after {
display: none;
}
.site-header.small a#burger {
top: 7px;
}
a#burger > div {
position: absolute;
top: 12px;
left: 11px;
width: 16px;
height: 2px;
background: #DB0715;
}
a#burger > div:nth-child(2) {
top: 17px;
}
a#burger > div:nth-child(3) {
top: 22px;
}
}
@media (max-width: 940px) {
.carrousel-moyens-t {
margin-left: 0;
width: 100%;
height: 60vw;
}
}
@media (max-width: 768px) {
.carrousel {
height: 450px;
}
.carrousel .big {
left: 0%;
width: 100%;
height: 200px;
}
.carrousel .redac {
left: 0%;
top: 200px;
width: 100%;
height: 250px;
}
.carrousel .redac h1 {
font-size: 22px;
}
.carrousel .redac p {
font-size: 12px;
line-height: 20px;
padding: 0 40px 0 40px;
}
.carrousel .redac h1::before {
left: -12.5%;
width: 20px;
transform: translate(0, 14px);
}
.carrousel-moyens-t .slide {
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
line-height: 0;
overflow: hidden;
transform: translateX(-100%);
}
.carrousel-moyens-t .slide.first {
transform: none;
}
.carrousel-moyens-t .slide {
background-size: cover !important;
}
}
@media (max-width: 767px) {
.wrapper {
width: 100%;
}
header .wrapper {
width: 90%;
}
footer .wrapper {
width: 90%;
}
.titre {
width: 100%;
margin-left: 0;
margin-bottom: 0;
}
.titre.right {
width: 100%;
margin-left: 0;
margin-bottom: 0;
}
.titre h2 {
left: 40px;
line-height: 26px;
font-size: 20px;
}
.bloc-gris .speech {
position: relative;
width: 100%;
margin-left: 0;
padding: 30px;
}
.bloc-gris.right .speech {
position: relative;
width: 100%;
margin-left: 0;
padding: 30px;
}
.bloc-gris h3 {
font-size: 14px;
line-height: 22px;
width: 100%;
}
.home-pieces {
position: relative;
height: auto;
margin-top: 0;
}
.home-pieces .p1, .home-pieces .p2, .home-pieces .p3 {
position: relative;
top: 0;
right: auto;
left: 0;
}
.home-pieces .p2 {
left: 0;
top: 0;
}
.home-pieces .p3 {
right: auto;
left: 0;
top: 0;
}
.keyword {
position: relative;
right: 0;
top: 0;
padding-left: 120px;
pointer-events: none;
color: #DB0715;
font-size: 26px;
line-height: 30px;
text-align: center;
margin-top: 20px;
height: 70px;
}
.keyword::before {
display: none;
}
.keyword > div {
position: absolute;
top: 0;
right: auto;
left: 0;
width: 100%;
text-align: center;
}
footer a.contact {
left: 20%;
} #photo-titre {
height: 200px;
}
#photo-titre::before {
width: 100%;
}
#photo-titre h1 {
position: absolute;
top: 50%;
left: 0px;
font-size: 20px;
line-height: 20px;
width: 100%;
padding-right: 40px;
}
#photo-titre h1::after {
display: none;
} body.page-template-realisations h1 {
margin-top: 80px;
font-size: 20px;
margin-right: 30px;
}
body.page-template-realisations h1::after {
display: none;
}
body.page-template-realisations h2 {
font-size: 14px;
text-align: right;
margin-bottom: 50px;
margin-right: 30px;
}
.piece {
font-size: 12px;
margin-bottom: 40px;
pointer-events: none;
}
.piece img {
width: 90%;
}
.height100 {
display: none;
}
h2.titre-contact-bloc-gris {
font-size: 20px;
}
form {
margin-left: 10%;
margin-bottom: 40px;
padding: 10px 0 40px 0;
}
input[type=submit] {
width: 260px;
}
.carrousel-moyens-tech a.prev {
width: 33px;
height: 33px;
left: 0px;
top: calc(50% - 16px);
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/chevron-carrousel-moyens-tech.svg) 0 0 repeat-x;
background-size: 33px 33px;
transform: translateX(33px) rotate(180deg) translateY(-33px);
}
.carrousel-moyens-tech a.next {
width: 33px;
height: 33px;
right: 0px;
top: calc(50% - 16px);
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/chevron-carrousel-moyens-tech.svg) 0 0 repeat-x;
background-size: 33px 33px;
}
a.c_prev {
width: 33px;
height: 33px;
left: 0px;
top: calc(50% - 16px);
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/chevron-carrousel-moyens-tech.svg) 0 0 repeat-x;
background-size: 33px 33px;
transform: translateX(33px) rotate(180deg) translateY(-33px);
}
a.c_next {
width: 33px;
height: 33px;
right: 0px;
top: calc(50% - 16px);
background: url(//www.gary-mecanique.com/wp-content/themes/gary/img/chevron-carrousel-moyens-tech.svg) 0 0 repeat-x;
background-size: 33px 33px;
}
}
@media (max-width: 500px) {
.carrousel {
height: 550px;
}
.carrousel .big {
height: 200px;
}
.carrousel .redac {
top: 200px;
height: 350px;
}
.home-pieces .p {
width: 70vw;
height: 70vw;
left: 15vw;
}
} body.page-template-page-simple {
background: #F0F0F0;
}
.inner-page-simple {
margin-top: 50px;
background: #fff;
padding: 100px;
}
@media (max-width: 700px) {
.inner-page-simple {
margin-top: 50px;
padding: 20px;
}
}
body.page-template-page-simple h2 {
margin: 30px 0 10px 0;
}
.table {
display: table;
width: 100%;
text-align: center;
border-collapse: collapse;
}
.tr {
display: table-row;
}
.tr.first {
font-weight: 700;
}
.td {
display: table-cell;
padding: 3px;
border: 1px solid #ddd;
vertical-align: middle;
}
.td p {
font-size: 11px !important;
line-height: 13px;
}
@media (max-width: 540px) {
.td p {
font-size: 5px !important;
line-height: 5px;
}
}  #isoEuroWrap {
display: flex;
align-items: center;
gap: 20px;
margin-left: 20px;
}
#euro {
padding: 5px;
}
#iso img {
width: 55px;
transition: 0.5s;
}
#euro svg {
width: 80px;
transition: 0.5s;
}
#euro:hover {
cursor: pointer;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.site-header.small #iso img {
width: 35px;
}
.site-header.small #euro svg {
width: 40px;
}
@media (max-width: 825px) {
#isoEuroWrap {
position: absolute;
top: 36px;
right: 40px;
}
.site-header.small #isoEuroWrap {
top: 8px;
}
#iso img {
width: 40px;
}
#euro svg {
width: 70px;
}
}
.popup:not(.on) {
display: none;
}
.popup {
position: fixed;
inset: 0;
z-index: 998;
background: rgba(255, 255, 255, 0.9);
}
.popup__main {
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
position: absolute;
top: calc(50vh - 265px);
left: calc(50vw - 350px);
background: #fff;
padding: 30px;
width: 700px;
display: grid;
gap: 20px;
text-align: center;
}
.popup__main button {
all: unset;
cursor: pointer;
position: absolute;
z-index: 3;
top: -20px;
right: -20px;
}
.popup__redac1 {
background: #0754A2;
color: #fff;
padding: 20px;
}
.popup__redac1 p + p {
margin-top: 10px;
}
.popup__redac2 {
text-transform: uppercase;
padding: 10px 20px;
color: #000;
font-weight: bold;
}
@media (max-width: 740px) {
.popup__main {
gap: 10px;
padding: 15px;
top: calc(50vh - 200px);
left: calc(50% - 160px);
max-width: 320px;
}
.popup__main button {
top: -50px;
right: 0px;
}
.popup__redac1 {
font-size: 11px;
padding: 15px;
}
.popup__redac2 {
padding: 0 20px;
}
}