/*
Theme Name: Etude YLLA - Child
Theme URI: https://etude-yl.ch
Author: Pikteo
Author URI: https://pikteo.com
Template: etude-ylla
Description: Thème enfant du site Etude YLLA, cabinet d’avocats à Genève.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: hub-child
Tags: responsive, retina, rtl-language-support, custom-colors
*/

/* YLLA mobile et liens */
@media (max-width:1199px){
html body .main-header .lqd-mobile-sec ul.lqd-mobile-main-nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;padding:6px 10px}
html body .main-header .lqd-mobile-sec ul.lqd-mobile-main-nav>li:not(.lang-item){flex:0 0 auto;width:auto!important}
html body .main-header .lqd-mobile-sec ul.lqd-mobile-main-nav>li:not(.lang-item)>a{width:auto!important;padding:14px clamp(8px,3vw,18px)!important;font-size:clamp(16px,5vw,22px)!important;border-bottom:0}
html body .main-header .lqd-mobile-sec ul.lqd-mobile-main-nav>li.lang-item-fr{left:15px!important;right:auto!important;top:-47px!important}
html body .main-header .lqd-mobile-sec ul.lqd-mobile-main-nav>li.lang-item-en{left:46px!important;right:auto!important;top:-47px!important}
html body .main-header .lqd-mobile-sec ul.lqd-mobile-main-nav>li.lang-item>a{padding:0!important;border:0!important;font-size:16px!important}
html body .main-header .lqd-mobile-sec ul.lqd-mobile-main-nav>li.lang-item:not(.current-lang)>a{color:#343434!important;opacity:.45!important}
html body .main-header .lqd-mobile-sec ul.lqd-mobile-main-nav>li.lang-item.current-lang>a{color:#343434!important;opacity:1!important}
}
.ld-fh-element a[href*="linkedin.com"]{color:#0a66c2;text-decoration:underline;text-decoration-color:#0a66c2;text-decoration-thickness:1px;text-underline-offset:4px;transition:color .2s}
.ld-fh-element a[href*="linkedin.com"]:hover{color:#004182;text-decoration-color:#004182}

/* Accueil : haut de la photo aligne sur le haut des capitales de la premiere ligne */
@media (min-width:768px){
body.page-id-3638 h1.ld-fh-element,body.page-id-4933 h1.ld-fh-element{margin-top:-10px!important}
}

/* Tres petits ecrans : logo reduit pour ne pas toucher le menu */
@media (max-width:360px){
html body .main-header .lqd-mobile-sec .navbar-brand img{width:140px!important}
}
