/* css-lean.css - Converticious : pages convertisseur + accueil (EN/FR/IT) uniquement.
   Remplace css0324_3.css (Bootstrap 5 + Bootstrap 3 + regles custom) sur ces 3 gabarits.
   Les blocs <style> inline des .php (hdr_nav_item, cv-hero, cv-chip, tool_chip, rl_*, cv-ad) ne sont pas touches. */

/* ---- base ---- */
*,::before,::after{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background:#fff;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}
@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}
img,svg{vertical-align:middle}
button,input,select{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}
table{border-collapse:collapse}
h1,h2,h3{margin:0 0 .5rem;font-weight:500;line-height:1.2}
h1{font-size:2em}
h2{font-size:1.5em}
p{margin:0 0 1rem}
b{font-weight:bolder}
a{color:#3071a9;text-decoration:none;font-size:.8em}
a:link,a:visited,a:active{color:#3071a9!important}
a:hover{color:#428bca!important}
.mark{padding:.2em;background:#fcf8e3}
.c_p{cursor:pointer}
.spec_sel_converter:hover{color:#000}
.clr{clear:both}
.v_a{vertical-align:middle}
.dnone{display:none}
.ft_bold{font-weight:bold}
.text-center{text-align:center}
.text-success{color:#198754}
.text-primary{color:#337ab7}
.text-secondary{color:#6c757d}
.outlined_el_g{color:#2488a8}
.ex_no_768{display:inline-block}

/* ---- conteneur ---- */
.container{width:100%;margin:0 auto 2em;padding:0 1em}
.container::before,.container::after{content:" ";display:table}
.container::after{clear:both}

/* ---- en-tete / pied de page ---- */
.top_content_title,.bottom_content_title{border-bottom:1px solid #e6e6e6;background:#eee}
.top_content_title{padding:.5em 0}
.bottom_content_title{margin:8em 0 0;padding:1em 0;text-align:center}
.top_area_title{float:left}
.big_title_page{margin:0 1em;font-size:2em;font-weight:500}
.options_img{float:left;margin:.5em 1em 0 0}
.lg_img{float:right;margin:0 1em 0 0}

/* ---- titres et textes ---- */
.el_h1{margin:.2em 0 0;font-size:1.5em}
.el_h2{margin:.3em 0 .6em;font-size:1.1em;color:#999}
.block_txt{font-size:.8em;color:#000;text-align:justify}
a.bottom_l_page{font-size:1em}
.menu_icon_small{width:auto;height:30px;animation:animation_ic_menu 3s 10}
@keyframes animation_ic_menu{0%,100%{transform:rotate(0)}25%{transform:rotate(-15deg)}50%{transform:rotate(15deg)}}
a.l_converter_area{font-size:.8em}
.show_converter_l{margin:0}

/* ---- zone de saisie ---- */
.jumbotron{margin:0 0 .5em;padding:.8em 15px;border-radius:6px;background:#eee}
#content_answer_area{display:none}
.result_convert_txt{font-size:1em}
.input-group{display:flex;width:100%}
.input-group-btn{display:flex;flex:none}
.form-control{display:block;flex:1;min-width:0;height:46px;padding:10px 16px;font-size:1rem;font-weight:400;line-height:1.333;color:#555;background:#fff;border:1px solid #ccc;border-radius:7px 0 0 7px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);appearance:none;-webkit-appearance:none;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}
.form-control:focus{outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(204,204,204,.6)}
.form-control::placeholder{color:#999;opacity:1}
.cv_bt{flex:none;width:120px;height:46px;padding:.2em .6em;font-size:14px;font-weight:400;line-height:1.42857;text-align:center;white-space:nowrap;cursor:pointer;user-select:none;-webkit-user-select:none;border:0;border-radius:0 7px 7px 0;background:#000;color:#fff}
.cv_bt:hover{background:#222;color:#efde29!important}
.cv_bt:focus{outline:0;box-shadow:none}

/* ---- selecteurs (langue + decimales) ---- */
.form-select{display:block;width:100%;padding:.375rem 2rem .375rem .75rem;font-size:.75rem;font-weight:400;line-height:1.5;color:#212529;background:#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right .75rem center/16px 12px;border:1px solid #ced4da;border-radius:.25rem;appearance:none;-webkit-appearance:none}
.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}
.decimal_part_sel{font-size:.7em}
#decimal_nb{width:50px;padding:.4em;color:#000}

/* ---- icones du resultat (copier / decimales) ---- */
.icon_unit_block{width:24px;height:24px}
.icon_border{border:1px solid #eee;border-radius:4px}
.icon_border_w{border:1px solid #fff}
.icon_border:hover{border:1px solid #f00}
.copy_pos,.decimal_pos{float:left;margin:0 1em 0 0;cursor:pointer}

/* ---- listes d'unites ---- */
.row{display:flex;flex-wrap:wrap;margin:0 -15px}
.col-xs-6{position:relative;width:50%;padding:0 15px}
.junction-row{position:relative}
.junction-row::after{content:"\2794";position:absolute;top:42%;left:0;z-index:1;width:100%;background:#fff;color:#2488a8;font-size:1.7em;text-align:center}
.block_unit{position:relative;z-index:2}
.unit_block_1,.unit_block_2{width:100%;padding:.4em .8em;cursor:pointer}
.unit_block_1{background:#f5f5f5}
.unit_block_2{background:#efefef}
.unit_block_active,.unit_block_1:hover,.unit_block_2:hover{background:#d5eef6}
.not_choosen{color:#f00;background:#eafafe}
.unit_block_1>span,.unit_block_2>span{font-size:.8em}

/* ---- tableaux masterclass (ex-Bootstrap .table / .table-bordered / .table-striped) ---- */
.table{width:100%;max-width:100%;margin-bottom:20px;border-spacing:0;background-color:transparent}
.table>thead>tr>th,
.table>tbody>tr>th,
.table>tbody>tr>td,
.table>tr>th,
.table>tr>td{padding:8px;line-height:1.42857;vertical-align:top;border-top:1px solid #ddd}
.table-bordered,
.table-bordered>thead>tr>th,
.table-bordered>tbody>tr>th,
.table-bordered>tbody>tr>td,
.table-bordered>tr>th,
.table-bordered>tr>td{border:1px solid #ddd}
.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}

/* ================= responsive (du plus large au plus etroit) ================= */
@media (min-width:576px){.container{max-width:540px}}
@media (min-width:768px){.container{max-width:730px;padding:0 5px}.block_txt{font-size:.9em}.jumbotron{padding:.8em 60px}}
@media (min-width:992px){.container{max-width:965px}.result_convert_txt{font-size:1.2em}}
@media (min-width:992px) and (max-width:1060px){.big_title_page{margin-left:.3em;font-size:1.8em}}
@media (min-width:1200px){.container{max-width:1180px;padding:0 8px}}

@media (max-width:860px){.big_title_page{margin-left:.2em;font-size:1.8em}}
@media (max-width:830px){.big_title_page{margin-left:.5em}}
@media (max-width:800px){.big_title_page{margin-left:.2em;font-size:1.6em}.options_img{margin:.3em .2em 0 0}.el_h2{font-size:1em}}
@media (max-width:768px){.ex_no_768{display:none}}
@media (max-width:650px){
.top_content_title{padding:.3em 0}
.options_img{margin:.1em .2em 0 0}
.el_h1{margin-top:.4em}
.el_h2{font-size:.9em}
.text-primary,.text-secondary{font-size:.9em}
.form-control{padding:.1rem .5rem}
.form-select{padding:.2rem 1.6rem .2rem .75rem;font-size:.6rem}
.decimal_part_sel{font-size:.6em}
.icon_unit_block{width:20px;height:20px}
.menu_icon_small{height:20px}
.unit_block_1,.unit_block_2{padding:.2em .5em}
.junction-row::after{top:40%;font-size:1.3em}
.no_650{display:none}
}
@media (max-width:752px){a.l_converter_area{font-size:.6em}}
@media (max-width:600px){
body{word-break:break-all}
.container{padding:0 10px 0 5px}
.big_title_page{font-size:1.2em}
.el_h1{font-size:1.1em}
.block_txt{font-size:.7em}
.result_convert_txt{font-size:.9em}
.cv_bt{padding:.2em .4em}
.col-xs-6{width:49%}
#unit_block_left{padding:0 15px}
#unit_block_right{padding:0 10px 0 15px}
.unit_block_1 span,.unit_block_2 span{display:inline-block;max-width:95%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
a.l_converter_area{font-size:.5em}
.no_600{display:none}
}
@media (max-width:500px){
a,.unit_block_1>span,.unit_block_2>span{font-size:.7em!important}
a.bottom_l_page{font-size:1em!important}
.el_h1,.el_h2,#details_unit_data{margin-left:5px}
}
@media (max-width:490px){.no_490{display:none}}
@media (max-width:470px){.no_470{display:none}}
@media (max-width:450px){.no_450{display:none}.big_title_page{margin-right:.7em}.lg_img{margin-right:.5em}}
@media (max-width:410px){
.el_h2{font-size:.8em}
.popular_el_list{display:inline-block;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media (max-width:370px){.no_370{display:none}}
@media (max-width:350px){.popular_el_list{max-width:250px}}
