/*
Theme Name: Tri-State Current
Description: Small maintained theme reproducing the established Tri-State Signature Settlements site look (replaces the retired Customizr classical theme). No external dependencies.
Version: 1.0.0
*/
* { box-sizing: border-box; }
html { margin: 0; padding: 0; }
body {
  margin: 0; padding: 0;
  border-top: 5px solid #0088cc;
  background: #fafafa;
  color: #555555;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px; line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: #0088cc; text-decoration: none; }
a:hover { color: #005580; text-decoration: underline; }
.container { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: #555555; font-weight: normal; }

/* Header */
.tc-header { background: #ffffff; padding: 18px 0 14px; }
.tc-header .container { display: flex; flex-wrap: wrap; align-items: flex-start; }
.brand { flex: 0 0 auto; }
.brand img { max-width: 250px; max-height: 100px; }
.header-right {
  flex: 1 1 auto; text-align: left; position: relative;
  background: #fafafa; border: 1px solid #e9e9e9; border-radius: 6px;
  margin-left: 40px; min-height: 86px; padding: 6px 18px;
}
.site-description {
  position: absolute; top: 10px; right: 16px; margin: 0;
  font-size: 19px; font-style: italic; color: #0088cc;
  font-family: Georgia, "Times New Roman", serif;
}
.menu-toggle {
  display: none; background: #0088cc; border: 0; border-radius: 4px;
  color: #fff; font-size: 20px; line-height: 1; padding: 8px 12px; cursor: pointer;
}
.ts-menu { display: block; background: transparent; border: 0; padding: 0; margin-top: 30px; }
.ts-menu ul { list-style: none; margin: 0; padding: 0; }
.ts-menu li { display: inline-block; }
.ts-menu a {
  display: block; padding: 12px 22px; color: #777777; font-size: 15px;
}
.ts-menu a:hover, .ts-menu .current-menu-item a, .ts-menu .current_page_item a { color: #0088cc; text-decoration: none; }

/* Slider */
.ts-slider { position: relative; margin: 22px auto 0; }
.ts-slider .slides { position: relative; overflow: hidden; }
.ts-slide { display: none; text-align: center; position: relative; }
.ts-slide.active { display: block; }
.ts-slide img { display: inline-block; margin: 0 auto; }
.ts-caption {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 34%; text-align: left;
}
.ts-caption h1 { color: #650033; font-size: 27px; line-height: 1.25; margin: 0; }
.ts-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  font-size: 56px; line-height: 1; color: #999999; opacity: 0.55; cursor: pointer;
  font-family: Georgia, serif; padding: 0 10px; user-select: none;
}
.ts-arrow:hover { opacity: 1; text-decoration: none; color: #777; }
.ts-arrow.prev { left: 6px; }
.ts-arrow.next { right: 6px; }

/* Front page feature widgets */
.marketing { margin: 40px 0 10px; }
.marketing .row { display: flex; flex-wrap: wrap; }
.fp-widget { flex: 1 1 0; text-align: center; padding: 0 18px; min-width: 220px; }
.fp-widget .thumb { display: inline-block; width: 160px; height: 160px; border-radius: 50%; overflow: hidden; background: #eee; }
.fp-widget .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-widget h2 { font-size: 26px; margin: 20px 0 12px; color: #555555; }
.fp-widget p { margin: 0 0 14px; }
.btn-primary {
  display: inline-block; color: #ffffff; background: #0088cc;
  background: linear-gradient(#0088cc, #0066aa);
  border: 1px solid #0066aa; border-radius: 4px;
  padding: 7px 14px; font-size: 14px;
}
.btn-primary:hover { color: #ffffff; background: #0066aa; text-decoration: none; }
.featurette-divider { border: 0; border-top: 1px solid #e5e5e5; margin: 34px 0; }

/* Page content */
.crumbs { margin: 18px 0 26px; font-size: 13px; color: #999; }
.crumbs a { color: #0088cc; }
.page-title { font-size: 36px; font-weight: 300; margin: 0 0 8px; color: #555; }
.page-title-rule { border: 0; border-top: 1px solid #e5e5e5; margin: 12px 0 28px; }
.page-content { max-width: 830px; margin: 0 auto; }
.page-content iframe { max-width: 100%; }
.home-content { margin: 10px 0 40px; }

/* Footer */
footer.colophon { background: #ffffff; border-top: 1px solid #e9e9e9; padding: 16px 0; margin-top: 30px; }
footer.colophon .container { display: flex; align-items: center; }
footer.colophon .credits { flex: 1 1 auto; text-align: center; font-size: 13px; color: #777; }
footer.colophon .credits a { color: #0088cc; }
.back-to-top { font-size: 13px; }

@media (max-width: 979px) {
  .ts-caption h1 { font-size: 20px; }
}
@media (max-width: 767px) {
  .tc-header .container { flex-direction: column; align-items: center; text-align: center; }
  .header-right { width: 100%; text-align: center; margin-left: 0; min-height: 0; background: transparent; border: 0; padding: 0; }
  .site-description { position: static; margin: 6px 0 12px; }
  .menu-toggle { display: inline-block; float: right; }
  nav.navbar { width: 100%; background: #fff; border: 1px solid #e9e9e9; border-radius: 6px; padding: 8px; margin-top: 6px; display: flex; flex-direction: column; align-items: stretch; }
  nav.navbar .menu-toggle { align-self: flex-end; float: none; }
  .ts-menu { margin-top: 0; }
  .ts-menu { display: none; width: 100%; background: transparent; border: 0; padding: 0; clear: both; }
  .ts-menu.open { display: block; }
  .ts-menu li { display: block; text-align: left; }
  .ts-menu a { padding: 10px 12px; border-top: 1px solid #eee; }
  .ts-caption h1 { font-size: 14px; }
  .ts-arrow { font-size: 40px; }
  .marketing .row { flex-direction: column; align-items: center; }
  .fp-widget { margin-bottom: 34px; }
  .page-title { font-size: 28px; }
}
