/* ------------------------------------------------------------------
   TKCPA - static site additions
   ------------------------------------------------------------------ */

/* The original site loaded the "Faraco Hand" typeface through Cufon, a
   library whose CDN (shoqolate.com) has been offline for years - so the
   live site renders these headings in the theme font today. The font is
   now served from our own domain, and the rule that applies it is
   commented out to keep the appearance identical to the live site.
   Uncomment it to restore the original design. */
@font-face {
    font-family: 'Faraco Hand';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/faraco-hand.woff') format('woff'),
         url('/assets/fonts/faraco-hand.ttf') format('truetype');
}

/*
h2:not(.site-title),
.cufon_font {
    font-family: 'Faraco Hand', 'Open Sans', arial, sans-serif;
    font-weight: 400;
}
*/

/* --- client side search ------------------------------------------- */
.search-results {
    position: absolute;
    z-index: 9999;
    top: 100%;
    right: 0;
    width: 340px;
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d8dde2;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
    text-align: left;
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 14px;
}
.search-results:empty { display: none; }
.search-results .sr-head {
    padding: 10px 14px 6px;
    color: #888;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.search-results a {
    display: block;
    padding: 8px 14px;
    color: #444;
    border-top: 1px solid #f0f2f4;
    text-decoration: none;
}
.search-results a:hover,
.search-results a:focus { background: #f2f7fb; color: #00a5ca; }
.search-results a b { color: #00a5ca; font-weight: 600; }
.search-results .sr-lang {
    float: right;
    font-size: 11px;
    color: #b2b8bf;
}
.search-results .sr-empty { padding: 14px; color: #888; }
#searchform { position: relative; }

/* --- static contact form ------------------------------------------ */
.tkcpa-static-form .formContactBut { clear: both; padding-top: 8px; }
.tkcpa-static-form .areainput { margin-bottom: 4px; }
@media (max-width: 700px) {
    .tkcpa-static-form .areainput .lab { width: 100%; float: none; }
    .tkcpa-static-form .areainput .areabox { width: 100%; margin-left: 0; float: none; }
}

/* --- layer slider: the theme skin is no longer published, the few
       rules below restore the full-bleed background ------------------ */
.ls-container .ls-layer > .ls-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}
.ls-container .ls-layer > .ls-tn { display: none; }
.ls-container .ls-layer > .ls-s1 { position: absolute; }

/* --- misc ---------------------------------------------------------- */
img { max-width: 100%; }
.uwy_logo, #footer .uhy-logo { height: auto; }
