/* R.Janki Contracting Group: static copy of the WordPress site (GeneratePress + Elementor).
   Values below were measured on https://www.rjanki.com (2026-10-21). */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/opensans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/opensans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'eicons';
  font-weight: 400;
  font-style: normal;
  src: url(../fonts/eicons/eicons.woff2) format('woff2');
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #3a3a3a;
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}
img { height: auto; max-width: 100%; }
a { color: #1e73be; text-decoration: none; }
a:hover, a:focus { color: #000; }
p { margin: 0 0 1.5em; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; }

.screen-reader-text {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  word-wrap: normal;
}
.skip-link:focus {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  margin: 0;
  position: fixed;
  top: 6px;
  left: 6px;
  z-index: 100000;
  padding: 15px 23px 14px;
  background: #f1f1f1;
  color: #21759b;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
}

/* ---------- Header ---------- */
.site-header { position: relative; }
.hdr-wrap { width: 100%; max-width: 1140px; margin: 0 auto; }

.topbar { background: #ffde59; height: 34px; }
.topbar .hdr-wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar-welcome { color: #000; font-size: 13px; font-weight: 700; line-height: 13px; }
.topbar-fb {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  color: #000; font-size: 17px; line-height: 17px;
}
.topbar-fb:hover { color: #000; }

.hdr-row { background: #fffefc; padding: 10px; }
.hdr-grid {
  display: grid;
  grid-template-columns: 34.2% 22.2% 22.2% 21.4%;
  align-items: center;
  min-height: 107px;
}
.hdr-logo { align-self: start; padding-right: 10px; line-height: 0; }
.hdr-logo img { display: inline-block; width: 300px; max-width: 100%; height: auto; }
.hdr-info { display: flex; align-items: flex-start; }
.hdr-info-icon {
  flex: 0 0 61px; width: 61px; height: 61px; margin-top: 2px;
  border: 3px solid #ffde59;
  color: #ffde59;
  font-size: 35px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.hdr-info-text { flex: 1; margin-left: 15px; padding-right: 20px; min-width: 0; }
.hdr-info-title { display: inline; color: #3a3a3a; font-size: 16px; font-weight: 700; line-height: 19.2px; }
.hdr-info:last-child .hdr-info-text { padding-right: 10px; }
.hdr-info-desc { margin: 0; color: #3a3a3a; font-size: 16px; line-height: 24px; }

.nav-bar { background: #222; color: #fff; }
.nav-wrap { position: relative; display: flex; align-items: flex-start; height: 46px; }
.nav-toggle { display: none; }
.nav-list { display: flex; align-items: flex-start; }
.nav-list a {
  display: flex; align-items: center;
  height: 46px; padding: 15px;
  color: #fff; font-size: 16px; line-height: 16px;
  white-space: nowrap;
}
.nav-list a:hover, .nav-list a:focus, .nav-list a.active { background: #ffde59; color: #000; }
.nav-list a.nav-quote {
  justify-content: center; text-align: center;
  height: 45px; padding: 15px;
  background: #ee5007; color: #000;
  border-radius: 3px;
  font-size: 15px; font-weight: 700; line-height: 15px;
}
.nav-list a.nav-quote i { margin-left: 5px; font-size: 15px; }
.nav-list a.nav-quote:hover, .nav-list a.nav-quote:focus { background: #ffde59; color: #000; }

.nav-search { position: absolute; right: 0; top: 4px; margin: 0; }
.nav-search-toggle { position: relative; width: 43px; height: 37px; }
.nav-search-toggle input {
  position: absolute; right: 0; top: 0;
  width: 43px; height: 37px;
  padding: 0 35px 0 7.5px;
  border: 0; border-radius: 0;
  background: transparent; color: #666;
  font-size: 17px; line-height: 25.5px;
  outline: 0;
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.nav-search-toggle input::-webkit-search-cancel-button { display: none; }
.nav-search-toggle i {
  position: absolute; right: 0; top: 0;
  width: 35px; height: 37px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px; line-height: 1;
  pointer-events: none;
}
.nav-search.is-open .nav-search-toggle { width: 250px; }
.nav-search.is-open .nav-search-toggle input { width: 250px; background: #ededed; cursor: text; }
.nav-search-btn { position: absolute; right: 0; top: 0; width: 43px; height: 37px; background: none; border: 0; padding: 0; cursor: pointer; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #222; color: #fff; padding: 10px; text-align: center; font-size: 14px; line-height: 21px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }

/* ---------- Page structure ---------- */
.site-content { display: block; }
.page-wrap { width: 100%; max-width: 1100px; margin: 0 auto; }

.sec { padding: 10px; }
.sec > * { margin-bottom: 20px; }
.sec > *:last-child { margin-bottom: 0; }
.sec--mt25 { margin-top: 25px; }
.sec--mt50 { margin-top: 50px; }
.sec--mb25 { margin-bottom: 25px; }
.sec--mb50 { margin-bottom: 50px; }
.sec--flush { padding: 0; }
.sec--flush > * { margin-bottom: 0; }

/* Page title (50px, yellow, with a bar below) */
.page-title-sec { margin-top: 50px; }
.page-title {
  margin: 0;
  color: #ffde59;
  font-size: 50px; font-weight: 700; line-height: 50px;
  text-align: center; text-transform: uppercase;
}
.bar { display: block; height: 7px; width: 10%; margin: 20px auto 0; background: #ffde59; }
.page-title-sec .bar { width: 110px; }

/* Section heading (30px, with a small bar) */
.sec-title { font-size: 30px; font-weight: 700; line-height: 30px; text-transform: uppercase; }
.sec-bar { display: block; width: 25px; height: 5px; background: #545454; }

/* Text blocks (20px / 30px) */
.txt { display: flow-root; font-size: 20px; line-height: 30px; }
.txt p { margin: 0 0 30px; }
.txt a strong { color: #ee5007; }
.txt a { color: #1e73be; }

/* Icon lists */
.icon-list li { display: flex; align-items: flex-start; min-height: 30px; font-size: 20px; line-height: 30px; }
.icon-list .il-icon {
  flex: 0 0 37.5px; width: 37.5px; padding-top: 6px;
  color: #3a3a3a; font-size: 18px; line-height: 18px;
}
.icon-list .il-icon i { width: 22.5px; display: inline-block; }
.icon-list .il-text { min-width: 0; padding-left: 5px; }

.org-chart { text-align: center; margin-bottom: 50px; }
.org-chart img { display: block; width: 825px; max-width: 100%; height: auto; margin: 0 auto; }

/* ---------- Home ---------- */
.hero { position: relative; margin-bottom: 0; }
.hero-viewport { position: relative; overflow: hidden; }
.hero-track { display: flex; }
.hero-slide { flex: 0 0 100%; line-height: 0; }
.hero-slide img { display: block; width: 100%; height: auto; max-width: none; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-arrow {
  position: absolute; top: calc(50% + 2.5px); transform: translateY(-50%);
  width: 25px; height: 25px; padding: 0; margin: 0;
  background: none; border: 0; cursor: pointer;
  color: rgba(238, 238, 238, .9);
  font-family: eicons; font-size: 25px; line-height: 25px; font-style: normal;
  z-index: 2;
}
.hero-prev { left: 10px; }
.hero-next { right: 10px; }
.hero-prev::before { content: '\e87e'; }
.hero-next::before { content: '\e87d'; }
.hero-dots { display: flex; justify-content: center; align-items: center; height: 26px; margin: 6px 0 5px; gap: 12px; }
.hero-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #000; opacity: .2; cursor: pointer; }
.hero-dot.active { opacity: 1; }

.home-services { padding: 10px; }
.home-services .home-title { text-align: center; }
.home-services .home-title .bar { width: 10%; }
.home-services p { margin: 20px 0 25.5px; text-align: center; font-size: 17px; line-height: 25.5px; }
.home-services .bar { margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 0; margin-bottom: 50px; }
.card { display: flex; flex-direction: column; align-items: center; padding: 0 10px; text-align: center; }
.card img { width: 150px; height: 150px; border: 3px solid #3a3a3a; border-radius: 5%; display: block; }
.card h2, .card p { align-self: stretch; }
.card h2 { margin-top: 20px; font-size: 30px; font-weight: 700; line-height: 30px; }
.card p { margin: 22px 0 17px; padding: 0 5px; font-size: 17px; line-height: 25.5px; }
.card .btn { margin-top: auto; }
.btn {
  display: inline-block;
  padding: 15px 30px;
  background: #222; color: #fff;
  border-radius: 4px;
  font-size: 16px; font-weight: 700; line-height: 16px; text-align: center;
}
.btn:hover, .btn:focus { background: #ffde59; color: #222; }
.btn, .wpform .submit, .nav-list a { transition: background-color .3s, color .3s; }

.cta { position: relative; padding: 150px 0; background: url(../images/cta-background.jpg) center center / cover no-repeat fixed; text-align: center; }
.cta::before { content: ''; position: absolute; inset: 0; background: #fff; opacity: .93; }
.cta > * { position: relative; }
.cta h4 { color: #000; font-size: 45px; font-weight: 600; line-height: 45px; }
.cta h5 { margin-top: 20px; color: #bfbfbf; font-size: 15px; font-weight: 300; line-height: 15px; letter-spacing: 3px; text-transform: uppercase; }
.cta .btn { margin-top: 20px; padding: 20px 40px; border-radius: 5px; font-size: 18px; line-height: 18px; }

/* ---------- Equipment table ---------- */
.eq-table { width: 100%; margin: 0 0 25.5px; border-collapse: separate; border-spacing: 0; border: 1px solid rgba(0, 0, 0, .1); border-width: 1px 0 0 1px; }
.eq-table td { padding: 8px; border: 1px solid rgba(0, 0, 0, .1); border-width: 0 1px 1px 0; text-align: left; font-size: 17px; line-height: 25.5px; }
.eq-table td.eq-head { background: #ffde59; color: #000; }

/* ---------- Forms ---------- */
.wpform { margin: 0 0 56px; }
.wpform .row { display: grid; gap: 0 43.5px; margin-bottom: 45.5px; }
.wpform .row--3 { grid-template-columns: repeat(3, 1fr); }
.wpform .row--2 { grid-template-columns: repeat(2, 1fr); }
.wpform .row--1 { grid-template-columns: 1fr; }
.wpform .row--tight { margin-bottom: 25.5px; }
.wpform .row--last { margin-bottom: 0; }
.wpform label { display: block; font-size: 17px; line-height: 25.5px; }
.wpform input[type=text], .wpform input[type=email], .wpform input[type=tel], .wpform select, .wpform textarea {
  display: block; width: 100%;
  padding: 10px;
  background: #fafafa; color: #666;
  border: 1px solid #ccc; border-radius: 0;
  font-size: 17px; font-weight: 400; line-height: 25.5px;
  max-width: 100%;
}
.wpform select { line-height: normal; height: 47px; }
.wpform textarea { height: 150px; padding: 10px 15px; resize: none; }
.wpform input::placeholder, .wpform textarea::placeholder { color: #757575; opacity: 1; }
.wpform input:focus, .wpform select:focus, .wpform textarea:focus {
  color: #666; background: #fafafa; border-color: #bfbfbf; outline: 1px auto #101010; outline-offset: 0;
}
.wpform .submit {
  display: block; width: 100%;
  padding: 10px 20px;
  background: #000; color: #fff;
  border: 1px solid transparent; border-radius: 0;
  font-size: 17px; font-weight: 600; line-height: 25.5px; text-align: center;
  cursor: pointer;
}
.wpform .submit:hover, .wpform .submit:focus { background: #ffde59; color: #000; }
.wpform .field-label { display: block; margin: 0; }
.wpform .field-note { display: none; }
.form-success { display: none; margin: 0 0 56px; padding: 20px; border: 2px solid #46b450; text-align: center; }
.form-success.show { display: block; }

/* Drag and drop upload (vacancy) */
.dnd-label { display: block; font-weight: 700; margin: 0; }
.dnd { position: relative; margin-bottom: 25.5px; }
.dnd-box {
  position: relative; height: 127px; margin-bottom: 10px;
  border: 2px dashed #c5c5c5; border-radius: 5px;
  background: #fff; text-align: center; cursor: pointer;
}
.dnd-box.dragover { border-color: #1e73be; }
.dnd-box h3 { margin: 17px 22px 5px; font-size: 30px; font-weight: 400; line-height: 32px; color: #3a3a3a; }
.dnd-box .dnd-or { display: block; margin: 0; font-size: 17px; line-height: 25.5px; }
.dnd-box .dnd-browse { color: #1e73be; font-size: 17px; line-height: 25.5px; }
.dnd-box .dnd-counter { position: absolute; right: 5px; bottom: 5px; font-size: 12px; line-height: 18px; color: #3a3a3a; }
.dnd-box input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dnd-files { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.dnd-files li { margin: 0 0 5px; padding: 5px 10px; background: #fafafa; border: 1px solid #ccc; }

/* ---------- Contact ---------- */
.contact-top { display: grid; grid-template-columns: 1fr 1fr; padding-top: 20px; align-items: start; }
.contact-lines { font-size: 25px; line-height: 37.5px; color: #3a3a3a; }
.contact-lines i { color: #545454; font-size: 25px; padding-right: 5px; }
.contact-lines a { color: #3a3a3a; }
.contact-logo { text-align: center; }
.contact-logo img { display: block; margin: 0 auto; width: 300px; height: 240px; max-width: 100%; }
.contact-map { margin: 0; line-height: 0; }
.contact-map iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ---------- Search results (GeneratePress layout) ---------- */
.gp-wrap { display: flex; width: 100%; max-width: 1100px; margin: 0 auto; }
.gp-main { width: 75%; }
.gp-main main { margin: 20px 20px 20px 0; }
.gp-side { width: 25%; }
.gp-side .inner { margin: 20px 0; }
.gp-box { background: #fff; padding: 40px; margin-bottom: 20px; }
.gp-box .entry-title, .gp-box .page-heading { margin: 0 0 33.9px; font-size: 40px; font-weight: 300; line-height: 48px; }
.gp-box .page-heading { margin: 0; }
.gp-box h2.result-title { margin: 0 0 33.9px; font-size: 30px; font-weight: 300; line-height: 36px; }
.gp-box h2.result-title a { color: #1e73be; }
.gp-box p { margin: 0; }
.gp-box p.nothing { margin: 0 0 25.5px; }
.gp-search { display: flex; gap: 4px; margin: 0; }
.gp-search input[type=search] {
  width: 100%; max-width: 100%; height: 48px; padding: 10px 15px;
  background: #fafafa; color: #666; border: 1px solid #ccc; border-radius: 0;
  font-size: 17px; line-height: 25.5px; -webkit-appearance: none; appearance: none;
}
.gp-search .gp-submit { height: 48px; padding: 10px 20px; background: #666; color: #fff; border: 1px solid transparent; border-radius: 0; font-size: 17px; line-height: 25.5px; cursor: pointer; }
.gp-search .gp-submit:hover { background: #3f3f3f; }
.gp-box .gp-search input[type=search] { width: 228px; }

/* ---------- 404 ---------- */
.nf-wrap { max-width: 1100px; margin: 0 auto; padding: 20px; }

/* ---------- Tablet and mobile ---------- */
@media (max-width: 1024px) {
  .nav-wrap { height: 38px; justify-content: center; align-items: center; flex-wrap: wrap; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    height: 38px; padding: 0 5px; margin: 0;
    background: none; border: 0; cursor: pointer;
    color: #fff; font-size: 22px; line-height: 22px;
  }
  .nav-toggle i { width: 24.6px; }
  .nav-list { display: none; position: absolute; left: 0; right: 0; top: 38px; flex-direction: column; align-items: stretch; z-index: 50; }
  .nav-list.open { display: flex; }
  .nav-bar.menu-open { margin-bottom: 0; }
  .nav-list a, .nav-list a.nav-quote {
    width: 100%; height: 46px; padding: 15px;
    background: #ffde59; color: #000;
    border-radius: 0;
    font-size: 16px; font-weight: 400; line-height: 16px;
  }
  .nav-list a { justify-content: flex-start; }
  .nav-list a.nav-quote { justify-content: space-between; text-align: left; font-weight: 400; }
  .nav-list a.nav-quote i { margin-left: 0; font-size: 19.2px; }
  .nav-list li { border-bottom: 1px solid #c4c4c4; }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-search { top: 1px; }
  .hero-slide img { aspect-ratio: 16 / 9; }
  .cta { background-attachment: scroll; padding: 100px 25px; }
  .bar { width: 13%; }
  .page-title-sec .bar { width: 13%; }
  .home-services .home-title .bar { width: 13%; }
}
@media (max-width: 768px) {
  .sec-title, .card h2 { font-size: 25px; line-height: 25px; }
  .hdr-grid { grid-template-columns: 259px 167px 167px 1fr; }
  .hdr-grid { min-height: 111px; }
  .hdr-logo { align-self: start; padding-top: 11px; }
  .hdr-info-text { padding-right: 17px; }
  .wpform .row { column-gap: 30.5px; }
  .gp-wrap { display: block; }
  .gp-main, .gp-side { width: 100%; }
  .gp-main main { margin: 20px 0 0; }
  .gp-side .inner { margin: 20px 0; }
  .gp-box { padding: 30px; }
  .gp-side .gp-box { padding: 40px; }
  .gp-box .entry-title, .gp-box .page-heading { font-size: 30px; line-height: 36px; }
  .gp-box h2.result-title { font-size: 25px; line-height: 30px; }
}
@media (max-width: 767px) {
  .topbar-welcome { display: none; }
  .topbar .hdr-wrap { justify-content: flex-end; }
  .hdr-grid { grid-template-columns: 1fr; justify-items: center; align-items: start; min-height: 107px; }
  .hdr-logo { align-self: auto; padding: 0; }
  .hdr-info { display: none; }
  .nav-search { display: none; }
  .bar, .page-title-sec .bar, .home-services .home-title .bar { width: 23%; }
  .cards { grid-template-columns: 1fr; }
  .card { margin-bottom: 20px; }
  .card:last-child { margin-bottom: 0; }
  .card p { padding: 0; }
  .cta { padding: 50px 20px; }
  .cta h4 { font-size: 35px; line-height: 35px; }
  .cta h5 { line-height: 20px; }
  .wpform .row--3, .wpform .row--2 { grid-template-columns: 1fr; }
  .wpform .row > * + * { margin-top: 45.5px; }
  .dnd-box h3 { font-size: 22px; }
  .contact-top { grid-template-columns: 1fr; }
  .contact-logo { order: -1; }
  .contact-lines { margin: 10px 0; padding: 0 10px; }
}

/* Overrides that must come after the generic .sec rules */
.sec > .eq-table { margin-bottom: 25.5px; }
.sec > .wpform { margin-bottom: 56px; }
