/*
Theme Name: My Theme v2
*/

*, :after, :before {word-wrap:break-word;box-sizing:border-box}
html {font-family: Helvetica,Arial,sans-serif;font-size: 15px;line-height: 1.5;color:#404040}
body {margin:0;padding:0}
header, section, article, footer {min-width:300px;padding: 0 20px;}
header:after, section:after, article:after {content: '';display: block;clear: both;}
#header-container, .page-container, #page404-container, #footer-container {margin:0 auto;max-width:1600px;padding:10px 0}
#page404-container {text-align: center;}

article { background-color: #F0F0F0; padding-top: 10px ;border-bottom: 1px solid #d0d0d0;}
.home article { background-color: #fff ; border-bottom: none}

.home article { background-color: #fff ; border-bottom: none}

article .content, article .contentother, .result, #pro-review, #faq, .info { background-color: #fff; border: 1px solid #d0d0d0; margin: 15px 0; border-radius: 8px; padding: 10px 25px 20px }
.home article .content { border: 0; margin: 0; padding: 0; background: transparent }
.info { border-left: 5px solid #1a73e8; }

#hp-regions-villes {border-bottom:1px solid #d0d0d0}
.page-id-49 header {padding-top:14px; background-color: #F0F0F0;}

h1, h2, h3, .h2 {line-height : initial;display: block}
h1 { font-size:1.6rem;}
h2, .h2, .sb-box h1 { font-size:1.4rem; font-weight: 700}
#ccm h2 { font-size:1.6rem;}
.result h2, .guide-card h2 { font-size:1.2rem }
h3 { font-size:1.1rem }
.type-item h3, .result h3 { font-weight: 300 }
.content h2 {margin: 2em 0 1em; padding-bottom: 5px;border-bottom: 1px solid #eee;}
#autres-pros h2 { font-size: initial; font-weight: initial }

a { color: #1a73e8; text-decoration: none }
a:hover { text-decoration: underline }
img { max-width: 100%; height: auto }
.content img {margin: 1rem 0; border-radius: 8px }
.center-img img {width: 100%; max-width: 800px; height: auto; display: inline-block;}
ul, ol {margin: 0;padding: 0;list-style-position: inside;}
.clb { clear: both }
.center, .center-img { text-align: center }
.no_margin {margin:-10px 0 0}

#logoname {text-transform: uppercase; letter-spacing: .03em;}
header a {color: initial;}
header a:hover {color:#1a73e8;}

nav .toggle,[id^=drop] {display: none;}
nav {display: flex;gap:1em;justify-content: space-between;align-items: center;}
nav { margin:0;padding: 0;}
nav ul {padding:0;margin:0;list-style: none;position: relative;}
nav ul li {margin: 0px;display:inline-block;float: left;}
nav ul a {display:block;padding:14px 20px;}
nav ul ul {display: none;position: absolute; /* has to be the same number as the "line-height" of "nav a" */
top: 50px; z-index: 100}
nav ul li:hover > ul {display:inherit;}
nav ul ul li {width:200px;float:none;display:list-item;position: relative;background-color: #FFF;box-shadow: 0 5px 5px rgb(0 0 0 / 6%);border-bottom: 1px solid #EEE;}
nav li > a:after, .arrow:after {content: '❯';transform: rotate(90deg);display: inline-block;margin-left: 5px;} /* content: ' \02C5'; position: relative; top: 2px;}*/
nav li > a:only-child:after { content: ''; }

#banner-hero { position: relative; background-size: cover; background-position: center 30%; background-repeat: no-repeat; min-height: 600px; display: flex; align-items: center ;background-image:url('/wp-content/uploads/hero-monte-escalier.jpg')}
#hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 100%); display: flex; align-items: center }
#hero-content { padding: 3rem 20px; color: #fff }
#hero-content h1 { font-size: 2rem;line-height: 1.2; max-width: 620px }
#hero-content p { font-size: 1.2rem; margin: 0 0 2rem;}
#hero-content h1, #hero-content p, #breadcrumb > li, #breadcrumb > li a { text-shadow: 0 1px 3px rgba(0,0,0,.8) }

#banner-light { background-image: url(/wp-content/uploads/hero-monte-escalier.jpg); background-size: cover; background-position: center 30%; box-shadow: inset 0 300px 300px -300px #000; height: 170px; display: flex; align-items: flex-end }
#banner-light .page-container { padding-bottom: 12px;margin-left:0 }
#banner-light ol { padding-left: 0; }
#breadcrumb > li + li::before { content: ">"; padding: 0 4px }
#breadcrumb > li { color: #fff; display: inline-block; }
#breadcrumb > li a { color: #fff; }

#hp-regions-villes { background-color: #f0f0f0;padding-bottom: 3rem }
.inline-grid { display: flex; flex-wrap: wrap; gap: .5rem }
.result .inline-grid {margin-bottom: 15px;}
.pill { display: inline-block; padding: 5px 14px; border: 1px solid #dadce0; border-radius: 6px; color: black; background: #fff }
a.pill { text-decoration: none; transition: border-color .15s, color .15s }
a.pill:hover { border-color: #1a73e8; color: #1a73e8; text-decoration: none }

#ccm { border-bottom: 1px solid #d0d0d0;padding-top:2rem}
.ccm-title { text-align: center; }
.ccm-intro { text-align: center; color: #5f6368; margin: 0 0 28px; }
.ccm-steps { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between }
.ccm-step { flex: 1; min-width: 220px; text-align: center }
.ccm-img { width: 100%; max-width: 240px; height: 180px; object-fit: contain; margin: 0 auto 16px; display: block }
.ccm-num-title { display: flex; align-items: center; justify-content: center; gap: 12px }
.ccm-num { width: 36px; height: 36px; border-radius: 50%; background: #1a73e8; color: #fff; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.ccm-step-title { margin: 0; text-align: left }
.ccm-step-title .focus { font-weight: 700 }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin: 1rem 0 }
.guide-card { background: #fff; border: 1px solid #d0d0d0; border-radius: 8px; overflow: hidden }
.guide-card img { width: 100%; height: 180px; object-fit: cover; display: block }
.guide-card h2 { margin: .8rem 1rem .4rem; border: 0; padding: 0 }
.guide-card h2 a { color: #202124 }
.guide-card h2 a:hover { color: #1a73e8 }
.guide-card p { color: #5f6368; margin: 0 1rem 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }

#frame31 > div:first-child { margin-top: 20px;min-width: 260px; }
#frame31 h1 span { font-size: 1rem; display: block; margin: 10px 0 -5px; font-weight: 300 }

.sb-box, .sb-box-bleu { text-align: center; border: 1px solid #d0d0d0; border-radius: 8px; margin-bottom: 25px; padding: 20px }
.sb-box { background-color: #fff }
.sb-box-bleu { background-color: #fff; border-top: 5px solid #1a73e8 ; padding-bottom : 40px}
.sb-box ul, .sb-box-bleu ul { padding: 0; list-style: none }
.sb-box li, .sb-box-bleu li { border-top: 1px solid #d0d0d0; line-height: 22px }
.sb-box h1 span { display: block; color: inherit; margin: 6px 0 10px }

a.cta, a.white, input[type='submit'] { background-color: #1a73e8; color: #fff; border: 1px solid transparent; padding: 10px 24px; border-radius: 6px; font-size: 1.1rem ;display: inline-block;}
a.white, a.cta:hover, a.white:hover, input[type='submit']:hover { text-decoration: none; background-color: #fff; color: #1a73e8; border: 1px solid #1a73e8 }

#banner-hero a.cta {padding: 14px 32px;font-size: 1.2rem;font-weight: 700;}
.cta-box { margin: 4rem 0;text-align:center}
a.tel { color: inherit;}
.phone {width: 20px;height: 20px;background: url(/wp-content/uploads/phone.png);float: left;margin-right: 10px}
.btn-tel .txt-mobile {display: none !important;}
.btn-tel .txt-desktop {display: inline !important;}

#sommaire { background: #F8F9FA; border-left: 4px solid #1a73e8; padding: 1rem 1.5rem; margin: 1.5rem 0; border-radius: 8px }
#sommaire p { font-weight: 700;}
#sommaire ol { list-style: none; padding-left: 0; counter-reset: h2counter }
#sommaire li { counter-increment: h2counter;margin-bottom: .3rem;}
#sommaire li::before { content: counter(h2counter) ". " }
#sommaire li.som-h3 { list-style: none; padding-left: 1rem; counter-increment: none }
#sommaire li.som-h3::before { content: "– ";}
#sommaire li a { color: #1a73e8; text-decoration: none }
#sommaire li a:hover { text-decoration: underline }

.types .type-item { margin-bottom: 1rem }
.types .type-item h3, .types .type-item p { display: inline}
.types h3 {font-size : initial}
.types h3:after {content : ":"; padding-left: 5px;}

.legende {text-align: center;margin-top: -2rem;color: #80868b;margin-bottom:3rem}
blockquote { margin: 0;}
blockquote p { padding: 0 0 0 20px; position: relative;    overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
blockquote p:before { content: "\201C"; color: #CCC; font: 700 32px/normal 'Georgia', serif; left: 0; position: absolute }

#bigcta { text-align: center; padding-top: 5em !important; padding-bottom: 8em !important }
#bigcta .h2 { margin: 1em 0;border: 0}
.icon { width: 100px; height: 100px; margin: 0 auto; background-image: url(/wp-content/uploads/monte-escalier-icon.png) }

fieldset { border: 0; margin: 0; padding: 0 }
.form-field { margin-bottom: 15px }
input:not([type='submit']):not([type='radio']):not([type='checkbox']):not([type='image']), select, textarea, .city-list { border: 1px solid #BFC3C8; border-radius: 6px; padding: 6px 9px; font: inherit; display: block; width: 100% }
select { max-width: fit-content }
input:not([type='submit']):not([type='image']):focus, select:focus, textarea:focus { outline: none !important; border: 1px solid #66afe9; box-shadow: 0 1px 1px rgba(0,0,0,.075) inset, 0 0 8px rgba(102,175,233,.6) }
.frm_error_style { padding: 15px; background-color: #F2DEDE; border: 1px solid #EBCCD1; border-radius: 6px; color: #B94A48; margin-bottom: 10px }
.frm_blank_field label, .frm_error, .frm_required { color: #B94A48 }
.frm_blank_field input, .frm_blank_field select, .frm_blank_field textarea { border-color: #B94A48 !important }
.frm_submit {margin-top: 1.5rem;}
.hide { display: none }
.logged-in .hide { display: inherit }
.city-list { position: absolute; display: none; left: 0; top: 57px; background-color: #fff; }
.city-list a { display: block }
.devis-reassurance { padding: 15px; }
.devis-reassurance .check { font-weight: 700; margin-right: 4px; color :#1a73e8}

.result, #pro-review, #faq {padding: 0 25px}
#autres-pros .result {text-align: center}
.result h2, .result h3 {margin:25px 0 15px}
.result-soustitre {margin:5px 0;}
.result img, #annonce img {border-radius: 50%;}
.result > div:first-child {margin:10px auto 5px;}
.result > div:first-child img.grey, #annonce img.grey {-webkit-filter: grayscale(100%);}
#frame31 img.grey {margin-top:20px;}
.entry-info {border-top:1px dotted #d0d0d0; padding: 5px 0;}
.profil-star {display: inline-block;width: 96px;height: 15px;background: url(/wp-content/uploads/sprite-notes.png);margin:3px 10px 5px 0;    vertical-align: middle;}
#pro-review .profil-star {margin-top: 1px}
.star-0 {background-position: 0 214px;}
.star-1 {background-position: 0 174px;}
.star-2 {background-position: 0 134px;}
.star-3 {background-position: 0 77px;}
.star-4 {background-position: 0 57px;}
.star-5 {background-position: 0 17px;}

.result .excerpt {border-top:1px dotted #d0d0d0;margin-bottom: 15px;padding-top: 5px;}
#autres-pros .result .excerpt {margin-bottom: 30px;}
#annonce > div:first-child {margin-top:20px}

.pagination, #next > div { clear: both !important; display: block !important; padding: 0 0 2rem !important; margin: 2rem auto 2rem }
.pagination span, .pagination a, #next a { float: left; background: #fff !important; border: 1px solid #DCDCDC !important; border-radius: 6px !important; color: #707070 !important; margin-right: 3px !important; padding: 1px 9px !important; text-decoration: none !important; line-height: 30px }
.pagination .current, .pagination a:hover { background: #EEEEEE !important; font-weight: 700; border: 1px solid #999 !important }
.pagination ul { list-style: outside none none !important }

#merci {margin-top: 40px;}
#merci h2 {border:0}
.icon_travaux{width: 100px; height: 100px; background-image: url(/wp-content/uploads/icon-travaux.png)}
.light, .light a { color: #999 !important; font-size: 12px; line-height: 1.5; }
.lighter {color: #595959;}
.sb-box-bleu .lighter, .sb-box-bleu .light {margin-bottom:0}

#courbe-prix { display: flex; align-items: center; text-align: center; height: 180px; background: url(/wp-content/uploads/courbe.jpg) no-repeat 50%; background-size: contain }
#courbe-prix > span { display: block; width: 33.3%;font-size:.95rem }
#courbe-prix > span strong { display: block; font-size: 1.3em }
#courbe-prix > span:nth-child(2) { transform: translateY(14px) }

table { margin-top: 20px; margin-bottom: 30px; border-collapse: collapse; width: 100% }
tbody td, thead th { padding: .5em }
thead th { background: #F8F9FA; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc }
tbody td { border-bottom: 1px solid #ccc }
table td, table th {text-align: center;}
.tdb tr { border: 0; border-bottom: 1px solid #ddd }

#mobileCta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #1a73e8; color: #fff; text-align: center; padding: 15px 15px calc(15px + env(safe-area-inset-bottom, 0px));font-weight: 700; text-decoration: none; z-index: 9999; box-shadow: 0 -2px 10px rgba(0,0,0,.3) }
.show-sticky { display: block !important }

footer { background-color: #3d3d3d; color: white; text-align: center }
footer a { color: inherit !important }
footer a:hover { text-decoration: underline }

#faq > div { padding: .5rem 0 }
#faq h3 { margin: 0 0 .3rem; }
#faq > div > div p { color: #5f6368; }

.three-cols > div { margin-top: 20px }

.no-pro-box { background: #fff; border: 1px solid #d0d0d0; border-left: 5px solid #1a73e8; border-radius: 8px; padding: 1.5rem; margin: 1.5rem 0; text-align: center }
.no-pro-box p { margin: 0 0 1rem }

.accordion summary { display: flex; justify-content: space-between;align-items: center;cursor: pointer;list-style: none;}
.accordion summary::-webkit-details-marker { display: none;}
.accordion summary::after { content: "+";font-weight: 700;display: flex;align-items: center;justify-content: center;width: 28px;height: 28px;border: 2px solid #1a73e8;color: #1a73e8;border-radius: 50%;margin-left: 10px;flex-shrink: 0; }
.accordion[open] summary::after { content: "−"; }

/* MEDIA QUERIES */
@media (min-width: 360px) {
	.entry-info { display: grid; grid-template-columns: 2fr 1fr; align-items: center }
	.entry-info > div:last-child { text-align: right }
}
@media (min-width: 576px) {
	.three-cols { display: grid; grid-template-columns: 1fr 1fr }
  #field_devis_nom, input[type='email'], input[type='tel'], #field_devis_ville {width: 360px !important;}
}
@media (max-width: 680px) {
  .ccm-steps { flex-direction: column; align-items: center }
  .ccm-step { width: 100%; max-width: 320px }
}
@media (min-width: 768px) {
	header, section, article, footer { padding-left: 50px; padding-right: 50px }
	#hero-content { padding: 4rem 50px }
	#hero-content h1 { font-size: 2.4rem }
	#courbe-prix { width: 700px; margin: 3rem auto }
	#frame31 > div > div.result, .liste .result { display: grid; grid-template-columns: 1fr 3fr; grid-gap: 40px }
	.alignleft, .alignright { max-width: 50%; }
	.alignleft { float: left; margin-right: 2rem !important}
	.alignright { float: right; margin-left: 2rem !important}
	.three-cols { grid-template-columns: 1fr 1fr 1fr; grid-gap: 40px }
}
@media (max-width: 768px) {
	.btn-tel .txt-desktop {display: none !important;}
	.btn-tel .txt-mobile {display: inline !important;}
}
@media (max-width: 825px) {
	#logo {margin-top: .9rem;}
	nav { margin: 0; display: block }
	nav .toggle + a { display: none }
	nav li > a:after { content: ' \02C5'; position: relative; top: 2px }
	nav .menu { display: none }
	nav .toggle { display: block; padding: 14px 20px 14px 0; text-decoration: none; border: none; cursor: pointer }
	nav [id^=drop]:checked + ul { display: block }
	nav ul a { padding-left: 0 }
	nav ul li { display: block; width: 100% }
	nav ul ul .toggle, nav ul ul a { padding: 0 40px }
	nav ul li ul li .toggle, nav ul ul a, nav ul ul ul a { padding: 14px 20px }
	nav ul ul { float: none; position: static }
	nav ul ul li:hover > ul, nav ul li:hover > ul { display: none }
	nav ul ul li { display: block; width: 100%; box-shadow: none; border: 0 }
	#banner-hero { min-height: 450px; background-position: 75%; text-align: center;}
}
@media (min-width: 992px) {
	#hero-overlay { background: linear-gradient(to right, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%);}
	#frame31 { display: grid; grid-gap: 40px; grid-template-columns: 3fr 1fr }
	#frame31 > div:first-child { grid-row: 1; grid-column: 2 }
	#form { display: grid; grid-template-columns: auto 450px; grid-gap: 40px }
	.devis-img, .contact-img { width: 450px; height: 450px; margin: 15px 0 25px; border-radius: 8px; background-size: cover;background-position: center;}
	.devis-img { background-image: url(/wp-content/uploads/devis.webp);}
	.contact-img { background-image: url(/wp-content/uploads/contact.webp);}
	.sb-box-bleu {position: -webkit-sticky;position: sticky;top: 20px;}
}
@media (min-width: 1200px) {
	header, section, article, footer { padding-left: 150px; padding-right: 150px }
	#hero-content { padding: 5rem 150px }
	#hero-content h1 { font-size: 2.8rem }
	h1 { font-size: 2rem }
}