/*
Theme Name: Cholet Câblage
Author: Planète Communication
Author URI: https://www.planete-communication.fr
Version: 1
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}





@font-face {
	font-display: swap;
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;
	src: url('/wp-content/themes/choletcablage/fonts/poppins-v21-latin-regular.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	src: url('/wp-content/themes/choletcablage/fonts/poppins-v21-latin-700.woff2') format('woff2');
}




* {
	border: 0px;
	margin: 0px;
	padding: 0px;
	text-decoration: none;
}
body {
	background: #000000;
	font-family: 'Poppins', Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 120%;
	color: #000000;
	-webkit-font-smoothing: antialiased;
}
button {
	font-family: 'Poppins';
}
img {
	max-width: 100%;
	vertical-align: bottom;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 1.1em;
	margin: 10px 0px;
	font-weight: bold;
}
h1 {
	font-size: 40px;
	text-transform: uppercase;
	margin: 0px 0px 30px 0px;
	text-align: center;
}
h2 {
	font-size: 35px;
	text-transform: uppercase;
	color: #53849F;
}
h3, #edito h2 + p, #chiffres .contact h2 + p {
	font-size: 25px;
	color: #EA6927;
	line-height: 1.1em;
	font-weight: 400;
}
h4 {
	font-size: 20px;
}
a:focus {
	outline: none;
}
a {
	color: #000000;
  	text-decoration: underline;
}
p {
	margin: 10px 0px;
	line-height: 150%;
}
ul, ol {
	margin: 10px 0px 10px 15px;
}
ul ul, 
ol ol, 
ul ol, 
ol ul {
	margin: 0px 0px 0px 30px;
}
li {
  	line-height: 150%;
}
sup {
    font-size: smaller;
    vertical-align: text-bottom;
}
#nested .smart-menu {
	display: none;
}
#nested {
    position: absolute;
    height: 60px;
    z-index: 2;
    right: 20px;
    bottom: 3px;
	transition: 0.3s;
}
#nested .firstLevel {
	height: 60px;
	margin: 0px;
	text-align: center;
}
#nested .firstLevel li {
	position: relative;
	display: inline-block;
	height: 60px;
	transition: 0.25s opacity;
}
#nested .firstLevel li a {
	display: block;
	height: 60px;
	line-height: 60px;
	color: #53849F;
	padding: 0px 20px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: bold;
}
#nested .firstLevel li a span {
	display: block;
	height: 60px;
	line-height: 60px;
}
#nested .firstLevel li ul {
	position: absolute;
	width: 260px;
	height: 0px;
	background: #FFFFFF;
	margin-left: -130px;
	margin-top: -20px;
	box-shadow: 0px 4px 10px -4px rgba(0, 0, 0, 0.3);
	left: 50%;
	top: auto;
	overflow: hidden;
	opacity: 0;
	transition: 0.3s;
}
#nested .firstLevel > li:hover > ul {
	height: auto;
	opacity: 1;
	margin-top: 0px;
	padding: 0;
}
#nested .firstLevel li ul li {
	display: block;
	height: auto;
	padding: 0 10px;
	border-bottom: 1px solid #EDEDED;
	transition: 0.4s;
}
#nested ul.firstLevel li ul li:hover {
	background: #F7F7F7;
}
#nested .firstLevel li ul li:last-child {
	border-bottom: none;
}
#nested .firstLevel li ul li a {
	height: auto;
	padding: 15px 10px;
	line-height: 120%;
	font-size: 15px;
    font-weight: 400;
    text-transform: inherit;
    text-align: left;
}
#nested .firstLevel li ul li a span {
	display: inline;
	height: auto;
	line-height: 120%;
}
#nested ul.firstLevel:hover > li {
    opacity: 0.5;
}
#nested ul.firstLevel:hover > li:hover {
    opacity: 1;
}
#wrapper ul li {
	position: relative;
}
#wrapper ul li:before {
	content: '';
	width: 5px;
	height: 5px;
	background: #EA6927;
	position: absolute;
	border-radius: 50%;
	top: 8px;
	left: -15px;
	margin: auto;
}
#page {
	position: relative;
	background: #FFFFFF;
	overflow: hidden;
}
header {
	position: fixed;
	width: 100%;
	height: 140px;
	z-index: 2;
	transition: 0.3s;
	background: #FFFFFF;
}
#headerInner {
	position: relative;
	width: 100%;
	height: 100%;
}
#logo {
    position: absolute;
    left: 0;
    width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    top: 0;
	transition: 0.3s;
}
#logo img {
	transition: 0.3s;
}
#headerBoxes {
	position: absolute;
    right: 40px;
    top: 21px;
	z-index: 1;
	display: flex;
    align-items: center;
	transition: 0.3s;
}
/* ----------------------
ZONE INTERIEURE (CONTENU)
-----------------------*/
#wrapper {
	position: relative;
	background: #FFFFFF;
	z-index: 1;
}
#wrapperInner {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0px auto;
	padding: 95px 0px 0px 0px;
}
#container {
	position: relative;
	margin: 0px 0px 100px 0px;
}
#contentsInner {
	position: relative;
}
body.home #wrapperInner {
	padding: 0;
}
.grecaptcha-badge {
	visibility: hidden;
}
html, body {
	scroll-behavior: smooth;
}
iframe {
	max-width: 100%;
}
strong {
	font-weight: 700;
}
em {
	font-style: italic;
}



/* ---------------------------- STRUCTURES ET STYLES DES PAGES INTÉRIEURES ---------------------------- */

#chapterPicture {
	padding-top: 140px;
	height: 18vw;
	position: relative;
}
#chapterPicture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.title_and_bc {
    position: absolute;
    top: 140px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    color: #FFFFFF;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	padding: 0 5%;
}
.title_and_bc h1 {
	margin-bottom: 15px;
}
.widget_breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
}
.widget_breadcrumb a:hover {
	text-decoration: underline;
}
.widget_breadcrumb {
    font-size: 14px;
}
#chapterPicture > .title_and_bc:first-child {
    background: #53849F;
}
body:not(.home) h2,
body:not(.home) h3 {
	margin-bottom: 15px;
}


/* ------- Passage à menu burger ------- */
@media (min-width: 1200px) {
	#nested ul.firstLevel > li.hidden_on_desktop {
		display: none;
	}
}
@media (max-width: 1200px) {
	header div #nested,
	header.scrolled div #nested {
		width: 40px;
		height: 40px;
        top: 25px;
        right: 30px;
	}
	header div #nested .contentSmart {
		width: 100%;
		height: 100%;
		cursor: pointer;
		z-index: 25;
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	#nested .firstLevel {
		text-align: left;
		background: #000000;
		width: 100%;
		position: fixed;
		right: -100%;
		transition: 0.7s;
		opacity: 0.3;
		top: 0;
		height: auto;
		bottom: 0;
		padding: 50px 0;
		overflow-y: auto;
		overflow-x: hidden;
	}
	body.menu_open #nested .firstLevel:after, 
	body.menu_open #nested .firstLevel:before {
		content: '';
		height: 55px;
		background: linear-gradient(0deg, #000000, transparent);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0px;
		opacity: 0;
		pointer-events: none;
		transition: 0.3s;
	}
	body.menu_open.animation_delai #nested .firstLevel:after, 
	body.menu_open.animation_delai #nested .firstLevel:before {
		opacity: 1;
	}
	body.menu_open #nested .firstLevel:before {
		bottom: auto;
		top: 0;
		z-index: 20;
		background: linear-gradient(180deg, #000000, transparent);
	}
	body.menu_open #nested .firstLevel {
		right: 0;
		opacity: 1;
	}
	#nested ul.firstLevel:hover > li {
		opacity: 1;
	}
	header div #nested .contentSmart span {
		width: 25px;
		height: 2px;
		background: #000000;
		display: block;
		border-radius: 3px;
		position: relative;
		top: 0;
		transition: 0.5s;
	}
	header div #nested .contentSmart > span:nth-child(2) {
		margin: 6px 0px;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(1) {
		transform: rotate(45deg);
		top: 8px;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(2) {
		opacity: 0;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(3) {
		transform: rotate(-45deg);
		top: -8px;
	}
	body.menu_open header div #nested .contentSmart > span {
		background: #FFFFFF;
	}
	#nested ul.firstLevel li a {
		font-size: 18px;
		height: auto;
		line-height: 1;
	}
	#nested .firstLevel li a span {
		line-height: 1.3em;
		height: auto;
	}
	#nested ul.firstLevel > li.menu-item-has-children {
		margin-right: 0;
	}
	#nested .firstLevel li {
		height: auto;
	}
	#nested ul.firstLevel > li {
		margin: 0 0 30px 0;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
    	padding-left: 30px;
	}
	#nested ul.firstLevel > li:last-child {
		margin-bottom: 0;
	}
	#nested ul.firstLevel > li.menu-item-has-children > a {
		position: relative;
	}
	#nested ul.firstLevel > li.menu-item-has-children > a:after {
		content: '';
		display: inline-block;
		height: 0;
		width: 0;
		border-top: 5px solid #FFFFFF;
		border-right: 5px solid transparent;
		border-left: 5px solid transparent;
		pointer-events: none;
		position: absolute;
		right: -11px;
		top: 9px;
	}
	#nested .firstLevel li a {
		color: #FFFFFF;
	}
	#nested .firstLevel li ul,
	#nested .firstLevel > li:hover > ul {
		position: relative;
		height: auto;
		opacity: 1;
		background: none;
		box-shadow: none;
		margin: 10px 0 0px 5px;
		padding: 0;
		left: 0;
		width: auto;
	}
	#nested ul.firstLevel > li > ul > li {
		padding: 0;
		margin: 0;
	}
	#nested .firstLevel li ul li {
		border: none;
	}
	body.menu_open {
		overflow: hidden;
	}
	#nested .firstLevel li ul {
		display: none;
	}
	#nested ul.firstLevel > li.menu-item-has-children.sous_menu_open > ul {
		display: block;
	}
	#nested ul.firstLevel > li.menu-item-has-children.sous_menu_open > a:after {
		transform: rotate(180deg);
	}
	#nested ul.firstLevel li ul li:hover {
		background: none;
	}
}
@media (max-width: 1200px) {
	.title_and_bc h1 {
		font-size: 40px;
	}
	#chapterPicture {
		height: 25vw;
	}
}
@media (max-width: 1050px) {
	#chapterPicture {
		height: auto;
	}
	#chapterPicture img {
		position: absolute;
		top: 0;
		left: 0;
	}
	body:not(.home):not(.error404) .title_and_bc {
		position: relative;
		padding: 5%;
		top: 0;
	}
	.title_and_bc h1 {
		font-size: 36px;
	}
}



















































/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */
/* ---------------------------------------- CHOLET CABLAGE ----------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */





/* boutons */
body.error404 article a,
body:not(.home) #wrapperInner a.wp-block-button__link,
section.newsContainer .droite > a,
#wrapper div.wpforms-container-full button[type=submit],
footer a.wp-block-button__link,
header a.btn, #top .titre a,
#edito .txt > :last-child a,
#secteurs a, #chiffres .contact a, #outils a {
    border-radius: 0;
    display: inline-block;
    background: url(/wp-content/themes/choletcablage/images/arrow.svg) no-repeat center right 15px !important;
    color: #53849F;
    padding: 16px 37px 15px 20px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid #53849F;
    font-size: 16px;
    height: auto;
    box-shadow: none;
}
body.error404 article a:hover,
body:not(.home) #wrapperInner a.wp-block-button__link:hover,
section.newsContainer .droite > a:hover,
#wrapper div.wpforms-container-full button[type=submit]:hover,
footer a.wp-block-button__link:hover,
header a.btn:hover, #top .titre a:hover,
#edito .txt > :last-child a:hover,
#secteurs a:hover, #chiffres .contact a:hover, #outils a:hover {
	background-color: #53849F !important;
	color: #FFFFFF;
	text-decoration: none;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
}


/* boutons blancs */
#top .titre a,
body:not(.home) #wrapperInner .wp-block-cover img + div a.wp-block-button__link {
	color: #FFFFFF;
	border-color: #FFFFFF;
}
#top .titre a:hover,
body:not(.home) #wrapperInner .wp-block-cover img + div a.wp-block-button__link:hover {
	background-color: #FFFFFF !important;
	color: #EA6927;
}


/* boutons oranges */
footer a.wp-block-button__link,
header a.btn, #chiffres .contact a {
	background: #EA6927 !important;
	padding-right: 20px;
	color: #FFFFFF;
	border-color: #EA6927;
}
footer a.wp-block-button__link:hover,
header a.btn:hover, #chiffres .contact a:hover {
	background: none !important;
	color: #EA6927;
}

/* footer */
footer a.wp-block-button__link:hover,
#chiffres .contact a:hover {
	color: #FFFFFF;
	border-color: #FFFFFF;
}




.has-noir-color { color: #000000 !important; }
.has-noir-background-color { background-color: #000000 !important; }

.has-blanc-color { color: #FFFFFF !important; }
.has-blanc-background-color { background-color: #FFFFFF !important; }

.has-gris-color { color: #F2F2F2 !important; }
.has-gris-background-color { background-color: #F2F2F2 !important; }

.has-orange-color { color: #EA6927 !important; }
.has-orange-background-color { background-color: #EA6927 !important; }

.has-bleu-color { color: #53849F !important; }
.has-bleu-background-color { background-color: #53849F !important; }

.has-bleu-ciel-color { color: #B7CCD7 !important; }
.has-bleu-ciel-background-color { background-color: #B7CCD7 !important; }


body.home h2 {
	margin-top: 0;
}


#top {
    margin-top: 140px;
    height: auto;
    margin-bottom: 180px;
	display: flex;
	overflow: hidden;
}
#top .titre {
    width: 420px;
    flex-shrink: 0;
	background: #53849F;
	color: #FFFFFF;
	text-align: center;
    z-index: 1;
	position: relative;
}
#top img {
	width: calc(100% - 420px);
	height: 100%;
	object-fit: cover;
    animation: dezoom 2s;
    animation-fill-mode: forwards;
}
@keyframes dezoom {
	0% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
	}
}

header a.tel {
    text-decoration: none;
    color: #53849F;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px;
	transition: 0.3s;
}
#top .titre svg {
	margin-top: -278px;
}
#top .titre .inner {
	height: calc(100% - 167px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#top p {
    margin-bottom: 0;
}



header.scrolled {
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	height: 70px;
}
header.scrolled #logo img {
    height: 44px;
}
header.scrolled #logo {
    width: 240px;
}
@media (min-width: 1201px) {
	header.scrolled a.tel {
		opacity: 0;
	}
}
header.scrolled #headerBoxes {
    right: 10px;
    top: 10px;
}
header.scrolled #nested {
    right: 200px;
}



#edito {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1020px;
    margin: 0 auto 200px;
}
#edito svg {
    position: absolute;
    left: -200px;
    right: -200px;
    bottom: -200px;
    top: -170px;
    margin: auto;
    z-index: 1;
	pointer-events: none;
}
#edito > div,
#edito > img {
	width: 48%;
	height: auto;
	object-fit: cover;
}
#edito .txt {
    position: relative;
    z-index: 2;
}
#edito p {
	margin: 20px 0 0 0;
}
#edito h2 + p {
    margin: 10px 0 25px 0;
}



body.home h1 {
	animation: slideFromBottom 0.6s;
	position: relative;
	animation-fill-mode: both;
	animation-delay: 0.4s;
}
#top p {
	animation: slideFromBottom 0.6s;
	position: relative;
	animation-fill-mode: both;
	animation-delay: 0.65s;
}
@keyframes slideFromBottom {
	0% {
		opacity: 0;
		bottom: -20px;
	}
	100% {
		opacity: 1;
		bottom: 0;
	}
}

@media (max-width: 1600px) {
	header {
		height: 120px;
	}
	#top {
		margin-top: 120px;
	}
	.title_and_bc {
		top: 120px;
	}
	#chapterPicture {
		padding-top: 120px;
	}
	body.error404 article a, body:not(.home) #wrapperInner a.wp-block-button__link, section.newsContainer .droite > a,
	#wrapper div.wpforms-container-full button[type=submit], footer a.wp-block-button__link, header a.btn, #top .titre a,
	#edito .txt > :last-child a, #secteurs a, #chiffres .contact a, #outils a {
		padding-top: 11px;
		padding-bottom: 11px;
		font-size: 15px;
	}
	#headerBoxes {
		position: absolute;
		right: 30px;
		top: 15px;
	}
	#nested .firstLevel li a {
		font-size: 15px;
		padding: 0 15px;
	}
	#nested {
		bottom: 1px;
		right: 15px;
	}
	#logo img {
		height: 70px;
	}
	h1 {
		font-size: 36px;
	}
	#top .titre,
	#logo {
		width: 380px;
	}
	#top img {
		width: calc(100% - 380px);
	}
	#top .titre svg {
		margin-top: -252px;
		height: auto;
		width: 380px;
	}
	#top .titre .inner {
		height: calc(100% - 160px);
	}
	header.scrolled #headerBoxes {
		right: 15px;
		top: 15px;
	}
	header.scrolled #nested {
		bottom: 3px;
	}
	h2 {
		font-size: 30px;
	}
}

@media (max-width: 1200px) {
	#top .titre svg {
		display: none;
	}
	header {
		height: 90px;
	}
	#top {
		margin-top: 90px;
	}
	#logo,
	header.scrolled #logo {
		width: auto;
		left: 30px;
	}
	#logo img {
		height: 50px;
	}
	#headerBoxes,
	header.scrolled #headerBoxes {
		top: 0;
		bottom: 0;
		right: 100px;
	}
	header.scrolled div #nested {
		top: 15px;
	}
	#nested .firstLevel li ul li a {
		padding: 10px;
	}
	#top .titre .inner {
		height: auto;
	}
	#top {
		margin: 90px 0 70px 0px;
		position: relative;
	}
	#top .titre {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		bottom: 0;
		background: rgba(83, 132, 159, 0.75);
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0 7.5vw;
		box-sizing: border-box;
	}
	#top img {
		width: 100%;
	}
	body.home h1 {
		max-width: 570px;
	}
	#edito svg {
		display: none;
	}
	#edito {
		margin-bottom: 70px;
	}
	.title_and_bc {
		top: 90px;
	}
	#chapterPicture {
		padding-top: 90px;
	}
}
@media (max-width: 730px) {
	header a.btn {
		display: none;
	}
	header a.tel span {
		display: none;
	}
	header a.tel {
		margin: 0;
	}
}
@media (max-width: 650px) {
	body.home h1 {
		max-width: 350px;
		font-size: 28px;
		margin-bottom: 20px;
	}
}
@media (max-width: 940px) {
	#edito {
		flex-direction: column;
		gap: 50px;
	}
	#edito > div, #edito > img {
		width: 100%;
	}
}








@media (max-width: 500px) {
	header div #nested .contentSmart span {
		width: 22px;
	}
	header div #nested .contentSmart > span:nth-child(2) {
		margin: 5px 0px;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(3) {
		top: -6px;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(1) {
		top: 8px;
	}
	#nested ul.firstLevel > li {
		max-width: 90vw;
		padding-left: 15px;
	}
	#nested ul.firstLevel li a {
		font-size: 18px;
	}
	#nested ul.firstLevel > li.menu-item-has-children > a:after {
        right: -6px;
        top: 9px;
	}
	#nested ul.firstLevel li ul li a {
		font-size: 14px;
	}
	body {
		font-size: 16px;
	}
	.title_and_bc h1 {
		font-size: 30px;
		margin-bottom: 12px;
	}
	.widget_breadcrumb {
		font-size: 13px;
	}
	body:not(.home):not(.error404) .title_and_bc {
		padding: 35px 7.5%;
	}
	header {
		height: 70px;
	}
	#top {
		margin: 70px 0 60px 0px;
	}
	#logo img {
		height: 40px;
	}
	#logo, header.scrolled #logo {
		left: 6.5vw;
	}
	#top .titre {
		padding: 0px 6.5vw;
	}
	header div #nested,
	header.scrolled div #nested {
		top: 15px;
		right: 6.5vw;
		margin-right: -9px;
	}
	#headerBoxes, header.scrolled #headerBoxes {
		right: 75px;
	}
	body.home h1 {
		max-width: 100%;
		font-size: 7.2vw;
		margin-bottom: 15px;
	}
	#top img {
		height: 67vw;
	}
	#edito {
		width: 87%;
	}
	h2 {
		font-size: 24px;
	}
	h3, #edito h2 + p, #chiffres .contact h2 + p {
		font-size: 20px;
	}
	#edito h2 + p {
		margin: 0;
	}

	header.scrolled {
		height: 54px;
	}
	header.scrolled #logo img {
		height: 30px;
	}
	header.scrolled div #nested {
		top: 8px;
	}
	#chapterPicture {
		padding-top: 70px;
	}
	div#wpforms-11 {
		margin-top: -5px;
	}
}
