/**
 *   Theme Name: CGI Finance
 *   Description: Thème propriétaire CGI Finance
 *   Author: Alkemist
 *	 Version: 1.0
 */

@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@400;500;700&family=Urbanist:wght@300;400;500;700;900&display=swap');

body {
	padding-top: 64px;
	background-color: #8d8c8c;
	font-family: 'Spartan', sans-serif;
	font-weight: 300;
	color: #706f6f;
}
img {
	max-width: 100%;
	height: auto;
}
strong {
	font-weight: 700;
}
.btn {
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 100px;
	padding: 0.7rem 1rem 0.5rem 1rem;
}
.btn-primary {
	background-color: #ec6726;
	border-color: #ec6726;
	color: #ffffff;
}
.btn-primary:hover,
.btn-primary:focus {
	background-color: #ec6726;
	border-color: #ec6726;
	color: #ffffff;
}
header {
	position: fixed;
	height: 64px;
	width: 100%;
	left: 0;
	top: 0;
	background-color: #f0f0f0;
	z-index: 99999;
}
header #logo {
	float: left;
}
header #logo a {
	display: block;
	height: 64px;
	padding: 17px 15px 0 15px;
	background: rgb(236,103,38);
	background: linear-gradient(90deg, rgba(236,103,38,1) 0%, rgba(247,171,89,1) 100%);
}
header #cgi-finance {
	position: absolute;
	left: 330px;
	top: 10px;
	font-size: 11px;
	vertical-align: middle;
}
header #cgi-finance img {
	margin-bottom: 14px;
	margin-left: 5px;
}
@media (max-width: 575.98px) {
	body {
		padding-top: 64px;
	}
	header {
		height: 64px;
	}
	header #logo a {
		height: 64px;
	}
	header #logo a img {
		width: 190px;
		height: 17px;
	}
}
@media (max-width: 767.98px) {
	header #cgi-finance {
		display: none;
	}
}
nav#main-nav {
	float: right;
	padding-right: 15px;
}
nav#main-nav ul {
	list-style: none;
	padding: 0;
}
nav#main-nav > ul#menu-general {
	
}
nav#main-nav > ul#menu-general > li {
	float: left;
	position: relative;
}
nav#main-nav > ul#menu-general > li > a {
	display: block;
	height: 64px;
	padding: 15px 10px 0 15px;
	font-size: 16px;
	color: #706f6f;
	font-weight: 500;
	text-decoration: none;
}
nav#main-nav > ul#menu-general > li.menu-open > a {
	background-color: #ffffff;
}
nav#main-nav > ul#menu-general > li > a > span {
	vertical-align: middle;
}
@media (max-width: 991.98px) {
	nav#main-nav > ul#menu-general > li > a > span {
		display: none;
	}
}
nav#main-nav > ul#menu-general > li > ul {
	display: none;
	position: fixed;
	left: 0;
	top: 64px;
	width: 100%;
	background-color: #ffffff;
	padding: 30px 15px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

nav#main-nav > ul#menu-general > li.menu-open > ul#menu-principal {
	display: block;
	padding-left: 30px;
	padding-right: 30px;
}
@media (min-width: 992px) {
	nav#main-nav > ul#menu-general > li.menu-open > ul#menu-principal {
		text-align: center;
	}
	nav#main-nav > ul#menu-general > li.menu-open > ul#menu-principal > li {
		display: inline-block;
		margin-left: 20px;
		margin-right: 20px;
	}
}
@media (max-width: 991.98px) {
	nav#main-nav > ul#menu-general > li.menu-open > ul#menu-principal > li {
		border-bottom: 1px solid #dadada;
	}
	nav#main-nav > ul#menu-general > li.menu-open > ul#menu-principal > li:nth-child(1) {
		border-top: 1px solid #dadada;
	}
}
nav#main-nav > ul#menu-general > li.menu-open > ul#menu-principal > li > a {
	color: inherit;
	text-decoration: none;
	font-weight: 500;
	display: block;
	padding: 5px 0;
}

nav#main-nav > ul#menu-general > li.menu-open > ul#menu-projets {
	display: flex;
	justify-content: flex-start;
}
nav#main-nav > ul#menu-general > li > ul#menu-projets > li {
	flex-grow: 1;
	padding: 0 15px;
}
nav#main-nav > ul#menu-general > li > ul#menu-projets > li > a {
	color: #ec6726;
	text-decoration: none;
	font-size: 24px;
	font-weight: 600;
	text-transform: uppercase;
	display: block;
}
nav#main-nav > ul#menu-general > li > ul#menu-projets > li > a > img {
	max-width: 50%;
	height: auto;
	display: inline-block;
	border-radius: 12px;
	margin-bottom: 10px;
}
@media (max-width: 991.98px) {
	nav#main-nav > ul#menu-general > li > ul#menu-projets > li > a > img {
		max-width: 100%;
	}
}
nav#main-nav > ul#menu-general > li > ul#menu-projets > li ul.sub-menu {
	border-top: 1px solid #dadada;
}
nav#main-nav > ul#menu-general > li > ul#menu-projets > li ul.sub-menu > li {
	border-bottom: 1px solid #dadada;
}
nav#main-nav > ul#menu-general > li > ul#menu-projets > li ul.sub-menu > li > a {
	color: inherit;
	text-decoration: none;
	font-weight: 500;
	display: block;
	padding: 5px 0;
}
@media (max-width: 767.98px) {
	nav#main-nav > ul#menu-general > li.menu-open > ul#menu-projets {
		display: block;
	}
	nav#main-nav > ul#menu-general > li > ul#menu-projets > li {
		margin-bottom: 15px;
	}
	nav#main-nav > ul#menu-general > li > ul#menu-projets > li > a > img,
	nav#main-nav > ul#menu-general > li > ul#menu-projets > li > a > br {
		display: none;
	}
}

#breadcrumbs{
	background-color: #ffffff;
	padding-top: 15px;
	font-size: 14px;
}
main {
	background-color: #ffffff;
	padding-top: 30px;
	padding-bottom: 30px; 
}
h1 {
	font-family: 'Urbanist', sans-serif;
	font-weight: 700;
	color: #ec6726;
	font-size: 48px;
	margin-bottom: 40px;
}
@media (max-width: 991.98px) {
	h1 {
		font-size: 36px;
	}
}
h2 {
	font-family: 'Urbanist', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	color: #f7ab59;
	font-size: 30px;
}
h3 {
	font-family: 'Urbanist', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	color: #ec6726;
	font-size: 24px;
}
td {
	padding: 10px 15px;
}

.thematique-image-content {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.projet-heading-image {
	height: 300px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	margin-bottom: 45px;
}
@media (min-width: 1400px) {
	.projet-heading-image {
		height: 450px;
	}
}
.author {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid #f0f0f0;
	font-style: italic;
}

/* Thématiques */
.thematiques {
	background-color: #f0f0f0;
	padding-top: 30px;
	margin-top: 30px;
}
.thematiques h2 {
	margin-bottom: 15px;
}
.thematiques .thematique {
	display: block;
	height: 330px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	color: #ffffff;
	text-decoration: none;
	position: relative;
	border-radius: 12px;
	margin-bottom: 30px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.thematiques .thematique .texte {
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 5px;
}
.thematiques .thematique .texte h3 {
	text-transform: uppercase;
	color: #ffffff;
	font-weight: 500;
	font-size: 26px;
}
.thematiques .thematique .texte p {
	text-transform: uppercase;
}

/* Piliers */
.piliers {
	background-color: #f0f0f0;
	padding-top: 30px;
	margin-top: 30px;
}
.piliers h2 {
	margin-bottom: 15px;
}
.piliers .pilier {
	display: block;
	height: 330px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	color: #ffffff;
	text-decoration: none;
	position: relative;
	border-radius: 12px;
	margin-bottom: 30px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.piliers .pilier .texte {
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 5px;
}
.piliers .pilier .texte h3 {
	text-transform: uppercase;
	color: #ffffff;
	font-weight: 500;
	font-size: 26px;
}
.piliers .pilier .texte p {
	text-transform: uppercase;
}
.piliers .form-block {
	margin-bottom: 30px;
}

/* Projets */
.projets {
	padding-top: 45px;
}
.projets.recherche {
	padding-top: 0;
}
.projets.projets-thematique .container .row div {
	display: none;
}
.projets.projets-thematique .container .row div:nth-child(-n+6) {
	display: block;
}
.projets.related {
	
}
.projets h2 {
	color: #ec6726;
	margin-bottom: 15px;
}
.projets .projet {
	display: block;
	color: #706f6f;
	text-decoration: none;
	border: 1px solid #dadada;
	border-radius: 12px;
	margin-bottom: 30px;
}
.projets .projet img {
	width: 100%;
	height: auto;
	border-radius: 12px 12px 0 0;
}
.projets .projet .article-theme {
	background-color: #dadada;
	font-weight: 700;
	font-size: 14px;
	padding: 7px 15px;
}
.projets .projet .texte {
	padding: 20px 30px 15px 30px;
	font-size: 14px;
}
.projets .projet h3 {
	text-transform: inherit;
	font-weight: 700;
	color: #f7ab59;
	font-size: 20px;
}
.bouton-voir-plus {
	text-align: center;
	margin-bottom: 45px;
}

/* Pagination */
.cgi-pagination {
	text-align: center;
}
.cgi-pagination .page-numbers {
	display: inline-block;
	border: 1px solid #dadada;
	padding: 6px 14px 4px 14px;
	border-radius: 40px;
	text-decoration: none;
	color: inherit;
	margin: 2px;
}
.cgi-pagination .page-numbers.current {
	background-color: #dadada;
	color: #ffffff;
}

footer {
	background-color: #706f6f;
	color: #ffffff;
}
footer a {
	color: #ffffff;
	text-decoration: none;
}
footer a:hover,
footer a:focus {
	color: #ffffff;
	text-decoration: none;
}
footer .widgetSidebar {
	
}
footer .widgetSidebar .titre {
	font-family: 'Urbanist', sans-serif;
	font-weight: 700;
	color: #f7ab59;
	font-size: 24px;
}
footer .widgetSidebar ul {
	padding: 0;
	list-style: none;
}
footer .widgetSidebar ul li {
	
}
footer #legal {
	text-align: center;
	color: #ffffff;
	padding-top: 30px;
	padding-bottom: 30px;
	margin-bottom: 45px;
	font-size: 24px;
	font-weight: 500;
	background-color: #ec6726;
}
footer #mention {
	text-align: center;
	color: #ffffff;
	padding-top: 30px;
	padding-bottom: 30px;
	margin-top: 45px;
	font-size: 14px;
	background-color: #8d8c8c;
}

/* Shortcode bloc formulaire */
.form-block {
	text-align: center;
	color: #ffffff;
	overflow: hidden;
	border-radius: 12px;
	font-size: 20px;
	background: rgb(236,103,38);
	background: linear-gradient(90deg, rgb(236,103,38) 0%, rgb(247,171,89) 100%);
}
.form-block-wrapper {
	padding: 40px;
	background: url(images/fond-devis.png) no-repeat left bottom;
}
.form-block .title {
	font-family: 'Urbanist', sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 30px;
	line-height: 36px;
	margin: 10px 0;
}
.form-block .btn-primary {
	background-color: #ffffff;
	border-color: #ffffff;
	color: #ec6726;
}
.form-block .btn-primary:hover,
.form-block .btn-primary:focus {
	background-color: #ffffff;
	border-color: #ffffff;
	color: #ec6726;
}

/* Editeur */
.has-cgi-orange-fonce-color {
	color: #ec6726;
}
.has-cgi-orange-fonce-background-color {
	background-color: #ec6726;
}
.has-cgi-orange-clair-color {
	color: #f7ab59;
}
.has-cgi-orange-clair-background-color {
	background-color: #f7ab59;
}
.has-cgi-gris-fonce-color {
	color: #706f6f;
}
.has-cgi-gris-fonce-background-color {
	background-color: #706f6f;
}
.has-cgi-gris-clair-color {
	color: #dadada;
}
.has-cgi-gris-clair-background-color {
	background-color: #dadada;
}
.has-cgi-gris-tres-clair-color {
	color: #f0f0f0;
}
.has-cgi-gris-tres-clair-background-color {
	background-color: #f0f0f0;
}

/* Contact form 7 */
.wpcf7-list-item.first {
	margin-left: 0;
}
.wpcf7-not-valid {
	border-color: #dc3232;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.wpcf7-not-valid-tip {
	border-color: #dc3232;
	background-color: #dc3232;
	color: #ffffff;
	font-size: 12px;
	border-bottom-left-radius: 0.25rem;
	border-bottom-right-radius: 0.25rem;
	padding: 2px 6px;
	font-weight: 700;
}
.wpcf7-form p {
	margin-bottom: 0 !important;
}
/* Formulaire demande de devis */
fieldset {
	margin-bottom: 30px;
}
legend {
	font-family: 'Urbanist', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	color: #f7ab59;
	font-size: 24px;
}
@media (min-width: 768px) {
	form .row .col-md:nth-child(1) {
		margin-right: 15px;
	}
	form .row .col-md:nth-child(2) {
		margin-left: 15px;
	}
}
.titre-credit {
	font-size: 18px;
	font-weight: 600;
	color: #ec6726;
}
#credits-wrapper {
	background-color: #f0f0f0;
	border-radius: 12px;
	padding: 30px;
	margin-bottom: 30px;
}
#credits-wrapper fieldset {
	margin-bottom: 0;
}
#credits-details {
	margin-top: 20px;
	display: none;
}
#credits-details legend {
	color: #ec6726;
}
#credits-consommation-montant-wrapper,
#credits-immobiliers-montant-wrapper {
	display: none;
}
#credits-consommation-montant-wrapper.visible,
#credits-immobiliers-montant-wrapper.visible {
	display: block;
}
.form-text {
	font-style: italic;
	font-weight: 400;
	opacity: 0.6;
}
.form-floating br {
	display: none;
}
.form-floating .form-control,
.form-floating .form-select {
	padding-top: 1.8rem;
}
.form-floating > label {
	height: auto;
	transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.wp-block-separator {
	border-top: 0;
	border-bottom: 0;
}

/* -------------------------------- */
/* ------ CUSTOM CONTENT CSS ------ */
/* -------------------------------- */
#exemple-texte-ci,
#exemple-texte-pa {
	margin: 0;
}
@media (min-width: 1200px) {
	#exemple-texte-ci,
	#exemple-texte-pa {
		padding-top: 60px;
	}
}
@media (min-width: 1400px) {
	#exemple-texte-ci,
	#exemple-texte-pa {
		padding-top: 85px;
	}
}
#exemple-tableau {
	padding: 20px 0;
}
#exemple-tableau table tr {
	border-bottom: 1px solid #dadada !important;
}
#exemple-tableau table tr td {
	padding: 6px 2px 4px 2px !important;
	vertical-align: middle !important;
}
#exemple-tableau table tr:nth-child(1) td:nth-child(2) {
	color: #e30613;
}
#exemple-tableau table tr:nth-child(2) td:nth-child(2),
#exemple-tableau table tr:nth-child(3) td:nth-child(2) {
	background-color: #e30613 !important;
	color: #ffffff !important;
}
#exemple-tableau table tr:nth-child(2) td:nth-child(3),
#exemple-tableau table tr:nth-child(3) td:nth-child(3) {
	background-color: #706f6f !important;
	color: #ffffff !important;
}