/* TinLaw Fast Search - header button reset for Flatsome */
#header .tlfs-open,
.header .tlfs-open,
button.tlfs-open{
  appearance:none!important;-webkit-appearance:none!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;width:auto!important;min-width:132px!important;height:34px!important;min-height:34px!important;
  margin:0!important;padding:0 8px 0 11px!important;
  border:1px solid #042c6f!important;border-radius:18px!important;background:#fff!important;
  color:#042c6f!important;font-family:inherit!important;font-size:12px!important;font-weight:600!important;
  line-height:1!important;letter-spacing:0!important;text-transform:none!important;text-indent:0!important;
  opacity:1!important;visibility:visible!important;box-shadow:none!important;cursor:pointer!important;
}
#header .tlfs-open svg,.header .tlfs-open svg,button.tlfs-open svg{
  display:block!important;flex:0 0 15px!important;width:15px!important;height:15px!important;
  margin:0!important;padding:0!important;fill:none!important;stroke:#042c6f!important;stroke-width:2!important;
  stroke-linecap:round!important;opacity:1!important;visibility:visible!important;
}
#header .tlfs-open>span,.header .tlfs-open>span,button.tlfs-open>span{
  display:inline-block!important;position:static!important;width:auto!important;height:auto!important;
  margin:0!important;padding:0!important;color:#042c6f!important;font:600 12px/1 inherit!important;
  letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important;
  opacity:1!important;visibility:visible!important;clip:auto!important;transform:none!important;
}
#header .tlfs-open>kbd,.header .tlfs-open>kbd,button.tlfs-open>kbd{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;
  width:auto!important;height:21px!important;margin:0 0 0 2px!important;padding:0 6px!important;
  border:1px solid #e3e5e8!important;border-radius:5px!important;background:#f5f6f7!important;color:#777!important;
  font:600 9px/1 Arial,sans-serif!important;letter-spacing:.2px!important;text-transform:none!important;white-space:nowrap!important;
  opacity:1!important;visibility:visible!important;clip:auto!important;transform:none!important;
}
#header .tlfs-open:hover,.header .tlfs-open:hover,button.tlfs-open:hover{background:#042c6f!important;color:#fff!important;}
#header .tlfs-open:hover svg,.header .tlfs-open:hover svg,button.tlfs-open:hover svg{stroke:#fff!important;}
#header .tlfs-open:hover>span,.header .tlfs-open:hover>span,button.tlfs-open:hover>span{color:#fff!important;}
.tlfs-inputbox svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.tlfs-inputbox kbd{padding:5px 7px;border:1px solid #e5e7eb;border-radius:6px;background:#f5f6f8;color:#777;font:600 10px sans-serif}
.tlfs-overlay{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(5,18,39,.72);backdrop-filter:blur(5px);opacity:0;visibility:hidden;transition:.2s}.tlfs-overlay.open{opacity:1;visibility:visible}.tlfs-modal{position:relative;width:min(820px,100%);height:min(790px,calc(100vh - 56px));padding:38px 30px 30px;background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 25px 80px rgba(0,0,0,.25);transform:translateY(12px) scale(.99);transition:.2s}.tlfs-overlay.open .tlfs-modal{transform:none}.tlfs-decor{position:absolute;right:-45px;top:-65px;width:180px;height:180px;border-radius:50%;background:rgba(4,44,111,.07)}.tlfs-close{position:absolute;z-index:2;top:18px;right:18px;width:38px;height:38px;padding:0;border:1px solid #e6e8ed;border-radius:50%;background:#fff;color:#042c6f;font-size:24px;line-height:1;cursor:pointer}.tlfs-kicker{position:relative;display:flex;align-items:center;gap:10px;margin-bottom:9px;color:#042c6f;font-size:12px;font-weight:800;letter-spacing:.7px}.tlfs-kicker i{width:24px;height:2px;background:#f0b429}.tlfs-modal h2{position:relative;margin:0 0 24px;color:#13233f;font-size:34px;line-height:1.2}.tlfs-label{display:block;margin-bottom:9px;color:#26364e;font-size:12px;font-weight:700}.tlfs-form{display:flex;align-items:center;padding:5px;border:1.5px solid #042c6f;border-radius:18px}.tlfs-inputbox{display:flex;align-items:center;flex:1;min-width:0;padding-left:10px;color:#042c6f}.tlfs-inputbox input{width:100%;height:48px;margin:0;padding:0 12px!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#1c2a40;font-size:15px}.tlfs-inputbox kbd{margin-right:10px}.tlfs-form>button{height:48px;margin:0;padding:0 22px;border:0;border-radius:13px;background:#042c6f;color:#fff;font-weight:700;cursor:pointer}.tlfs-form>button span{margin-left:14px}.tlfs-resultsbox{height:calc(100% - 190px);margin-top:13px;border:1px solid #e5e8ed;border-radius:17px;overflow:hidden}.tlfs-resultsbox>header{height:50px;display:flex;align-items:center;justify-content:space-between;margin:0 10px;padding:0 12px;border-bottom:1px solid #e8ebef;color:#7b8798;font-size:12px}.tlfs-count{margin-left:6px;color:#042c6f}.tlfs-results{height:calc(100% - 50px);overflow:auto;padding:8px 10px 15px}.tlfs-item{display:grid;grid-template-columns:62px minmax(0,1fr) 90px;gap:12px;align-items:center;min-height:82px;padding:9px 10px;border-bottom:1px solid #eef0f3;text-decoration:none!important}.tlfs-item:hover{background:#f7f9fc}.tlfs-thumb{width:62px;height:54px;overflow:hidden;border:1px solid #e6e9ee;border-radius:10px;background:#eef3fa}.tlfs-thumb img{width:100%;height:100%;object-fit:cover}.tlfs-thumb span{height:100%;display:grid;place-items:center;color:#042c6f;font-weight:800}.tlfs-content{min-width:0}.tlfs-content small{display:block;margin-bottom:4px;color:#042c6f;font-size:10px;font-weight:800}.tlfs-content b{display:block;color:#15243b;font-size:14px;line-height:1.35}.tlfs-meta{align-self:stretch;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;padding:4px 0}.tlfs-meta time{color:#98a2b2;font-size:10px}.tlfs-meta em{color:#042c6f;font-size:20px;font-style:normal}.tlfs-empty,.tlfs-loading{min-height:160px;display:flex;align-items:center;justify-content:center;text-align:center;color:#8793a5;font-size:13px}.tlfs-empty{flex-direction:column;gap:5px}.tlfs-empty b{color:#26364e}.tlfs-loading{gap:6px}.tlfs-loading i{width:7px;height:7px;border-radius:50%;background:#042c6f;animation:tlfs .8s infinite alternate}.tlfs-loading i:nth-child(2){animation-delay:.15s}.tlfs-loading i:nth-child(3){animation-delay:.3s}@keyframes tlfs{to{opacity:.2;transform:translateY(2px)}}@media(max-width:549px){.tlfs-overlay{padding:0;align-items:stretch}.tlfs-modal{width:100%;height:100dvh;padding:24px 14px 14px;border-radius:0}.tlfs-modal h2{padding-right:35px;font-size:23px}.tlfs-form{display:block}.tlfs-inputbox kbd{display:none}.tlfs-form>button{width:100%}.tlfs-resultsbox{height:calc(100% - 205px)}.tlfs-item{grid-template-columns:55px minmax(0,1fr)}.tlfs-thumb{width:55px;height:50px}.tlfs-meta{display:none}}@media(max-width:849px){#header .tlfs-open,.header .tlfs-open,button.tlfs-open{min-width:34px!important;width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:50%!important}#header .tlfs-open>span,#header .tlfs-open>kbd,.header .tlfs-open>span,.header .tlfs-open>kbd,button.tlfs-open>span,button.tlfs-open>kbd{display:none!important}}


/* v1.3 - Flatsome compatibility: compact close + mobile trigger */
#tlfs-modal .tlfs-close,
.tlfs-overlay .tlfs-close{
    -webkit-appearance:none!important;
    appearance:none!important;
    position:absolute!important;
    top:16px!important;
    right:16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #e4e8ee!important;
    border-radius:50%!important;
    background:#fff!important;
    box-shadow:0 2px 8px rgba(0,0,0,.06)!important;
    color:#042c6f!important;
    font-family:Arial,sans-serif!important;
    font-size:20px!important;
    font-weight:400!important;
    line-height:30px!important;
    letter-spacing:0!important;
    text-transform:none!important;
    transform:none!important;
}
#tlfs-modal .tlfs-close:before,
#tlfs-modal .tlfs-close:after,
.tlfs-overlay .tlfs-close:before,
.tlfs-overlay .tlfs-close:after{content:none!important;display:none!important;}
#tlfs-modal .tlfs-close:hover,
.tlfs-overlay .tlfs-close:hover{background:#f5f7fa!important;color:#042c6f!important;}

@media(max-width:849px){
    #header button.tlfs-open,
    #header .tlfs-open,
    .header button.tlfs-open,
    .header .tlfs-open,
    button.tlfs-open{
        display:inline-flex!important;
        visibility:visible!important;
        opacity:1!important;
        width:auto!important;
        min-width:122px!important;
        max-width:none!important;
        height:34px!important;
        min-height:34px!important;
        padding:0 8px 0 10px!important;
        border-radius:18px!important;
    }
    #header .tlfs-open>svg,
    .header .tlfs-open>svg,
    button.tlfs-open>svg{
        display:block!important;
        visibility:visible!important;
        opacity:1!important;
        width:15px!important;
        height:15px!important;
        flex:0 0 15px!important;
    }
    #header .tlfs-open>span,
    .header .tlfs-open>span,
    button.tlfs-open>span{
        display:inline-block!important;
        visibility:visible!important;
        opacity:1!important;
        white-space:nowrap!important;
        font-size:12px!important;
    }
    #header .tlfs-open>kbd,
    .header .tlfs-open>kbd,
    button.tlfs-open>kbd{
        display:none!important;
    }
}

/* v1.4 - mobile: icon-only blue trigger on white header */
@media(max-width:849px){
    #header button.tlfs-open,
    #header .tlfs-open,
    .header button.tlfs-open,
    .header .tlfs-open,
    button.tlfs-open{
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        visibility:visible!important;
        opacity:1!important;
        width:34px!important;
        min-width:34px!important;
        max-width:34px!important;
        height:34px!important;
        min-height:34px!important;
        max-height:34px!important;
        margin:0!important;
        padding:0!important;
        background:transparent!important;
        border:0!important;
        border-radius:50%!important;
        box-shadow:none!important;
        color:#042c6f!important;
    }
    #header .tlfs-open>svg,
    .header .tlfs-open>svg,
    button.tlfs-open>svg{
        display:block!important;
        visibility:visible!important;
        opacity:1!important;
        width:20px!important;
        height:20px!important;
        flex:0 0 20px!important;
        fill:none!important;
        stroke:#042c6f!important;
        stroke-width:2!important;
    }
    #header .tlfs-open>span,
    #header .tlfs-open>kbd,
    .header .tlfs-open>span,
    .header .tlfs-open>kbd,
    button.tlfs-open>span,
    button.tlfs-open>kbd{
        display:none!important;
    }
    #header .tlfs-open:hover,
    #header .tlfs-open:focus,
    .header .tlfs-open:hover,
    .header .tlfs-open:focus,
    button.tlfs-open:hover,
    button.tlfs-open:focus{
        background:rgba(4,44,111,.06)!important;
        color:#042c6f!important;
    }
}

/* v1.5 - mobile full-width search bar inspired by Edutime */
@media(max-width:849px){
    #header button.tlfs-open,
    #header .tlfs-open,
    .header button.tlfs-open,
    .header .tlfs-open,
    button.tlfs-open{
        display:inline-flex!important;
        align-items:center!important;
        justify-content:flex-start!important;
        gap:12px!important;
        visibility:visible!important;
        opacity:1!important;
        width:calc(100vw - 32px)!important;
        min-width:0!important;
        max-width:calc(100vw - 32px)!important;
        height:46px!important;
        min-height:46px!important;
        max-height:46px!important;
        margin:5px 0!important;
        padding:0 16px!important;
        background:#fff!important;
        border:1.5px solid #042c6f!important;
        border-radius:25px!important;
        box-shadow:none!important;
        color:#042c6f!important;
        text-align:left!important;
    }
    #header .tlfs-open>svg,
    .header .tlfs-open>svg,
    button.tlfs-open>svg{
        display:block!important;
        visibility:visible!important;
        opacity:1!important;
        width:20px!important;
        height:20px!important;
        flex:0 0 20px!important;
        margin:0!important;
        stroke:#042c6f!important;
        stroke-width:2!important;
    }
    #header .tlfs-open>span,
    .header .tlfs-open>span,
    button.tlfs-open>span{
        display:inline-block!important;
        visibility:visible!important;
        opacity:1!important;
        width:auto!important;
        height:auto!important;
        margin:0!important;
        padding:0!important;
        color:#344054!important;
        font-family:inherit!important;
        font-size:15px!important;
        font-weight:600!important;
        line-height:1!important;
        letter-spacing:0!important;
        text-transform:none!important;
        white-space:nowrap!important;
    }
    #header .tlfs-open>kbd,
    .header .tlfs-open>kbd,
    button.tlfs-open>kbd{display:none!important;}
    #header .tlfs-open:hover,
    #header .tlfs-open:focus,
    .header .tlfs-open:hover,
    .header .tlfs-open:focus,
    button.tlfs-open:hover,
    button.tlfs-open:focus{
        background:#fff!important;
        color:#042c6f!important;
    }
    #header .tlfs-open:hover>svg,
    #header .tlfs-open:focus>svg,
    .header .tlfs-open:hover>svg,
    .header .tlfs-open:focus>svg,
    button.tlfs-open:hover>svg,
    button.tlfs-open:focus>svg{stroke:#042c6f!important;}
    #header .tlfs-open:hover>span,
    #header .tlfs-open:focus>span,
    .header .tlfs-open:hover>span,
    .header .tlfs-open:focus>span,
    button.tlfs-open:hover>span,
    button.tlfs-open:focus>span{color:#344054!important;}
}
