/*
Theme Name: Telnet Adaptive PHP8
Theme URI: https://www.telnet-inc.com/
Author: Telnet, Inc.
Author URI: https://www.telnet-inc.com/
Description: PHP 8 compatible responsive WordPress theme for Telnet pages. Uses WordPress menus, widgets, custom logo, and Customizer layout controls while preserving legacy page markup.
Version: 1.0.25
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: telnet-adaptive
*/

:root {
  --telnet-bg: #f7f8fa;
  --telnet-surface: #ffffff;
  --telnet-ink: #172033;
  --telnet-muted: #5b6678;
  --telnet-line: #d9dee7;
  --telnet-blue: #255f9f;
  --telnet-blue-dark: #163d6e;
  --telnet-red: #c62835;
  --telnet-gold: #c79539;
  --telnet-green: #2d7d61;
  --telnet-radius: 8px;
  --telnet-shadow: 0 10px 30px rgba(23, 32, 51, 0.08);
  --telnet-content: min(1120px, calc(100% - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--telnet-ink);
  background: var(--telnet-bg);
  font-family: Raleway, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body.telnet-layout-compact {
  --telnet-content: min(980px, calc(100% - 32px));
}

body.telnet-layout-wide {
  --telnet-content: min(1280px, calc(100% - 32px));
}

body.telnet-layout-boxed .site {
  width: min(1180px, 100%);
  margin-inline: auto;
  background: var(--telnet-surface);
  box-shadow: var(--telnet-shadow);
}

a {
  color: var(--telnet-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--telnet-red);
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.7rem;
  border-bottom: 1px solid var(--telnet-line);
  text-align: left;
  vertical-align: top;
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #ffffff;
  background: var(--telnet-blue-dark);
  border-radius: 4px;
}

.site-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 1000;
  background: rgba(220, 220, 220, 0.75);
  border-bottom: 1px solid var(--telnet-line);
  box-shadow: 0 4px 18px rgba(23, 32, 51, 0.06);
  backdrop-filter: blur(10px);
  transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-header.is-compact {
  background: rgba(220, 220, 220, 0.75);
  border-bottom-color: rgba(139, 149, 164, 0.44);
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.12);
}

.home .site-header {
  position: fixed;
  right: 0;
  left: 0;
}

.site-topbar {
  background: #7a1018;
  color: #ffffff;
  font-size: 0.82rem;
}

.site-topbar__inner,
.site-header__inner,
.site-footer__inner,
.content-shell {
  width: var(--telnet-content);
  margin-inline: auto;
}

.site-topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
}

.site-topbar a {
  color: #ffffff;
  text-decoration: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  transition: min-height 0.22s ease;
}

.site-header.is-compact .site-header__inner {
  min-height: 54px;
}

.site-branding {
  display: flex;
  align-items: center;
  min-width: 180px;
}

.site-branding a {
  color: var(--telnet-ink);
  text-decoration: none;
}

.custom-logo {
  display: block;
  max-width: 215px;
  max-height: 56px;
  object-fit: contain;
  transition: max-width 0.22s ease, max-height 0.22s ease;
}

.site-header.is-compact .custom-logo {
  max-width: 170px;
  max-height: 42px;
}

.site-title {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
}

.site-description {
  margin: 3px 0 0;
  color: var(--telnet-muted);
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--telnet-ink);
  background: #ffffff;
  border: 1px solid var(--telnet-line);
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.primary-navigation {
  flex: 1;
}

.primary-menu,
.primary-navigation ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation li {
  position: relative;
}

.primary-navigation a {
  display: block;
  padding: 10px 11px;
  color: var(--telnet-ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 5px;
  transition: padding 0.22s ease, color 0.18s ease, background 0.18s ease;
}

.site-header.is-compact .primary-navigation a {
  padding-top: 8px;
  padding-bottom: 8px;
}

.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a,
.primary-navigation a:hover,
.primary-navigation a:focus {
  color: var(--telnet-blue-dark);
  background: rgba(237, 244, 251, 0.86);
}

.primary-navigation .sub-menu,
.primary-navigation .children {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: block;
  min-width: 250px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  background: #ffffff;
  border: 1px solid var(--telnet-line);
  border-radius: var(--telnet-radius);
  box-shadow: var(--telnet-shadow);
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu,
.primary-navigation li:hover > .children,
.primary-navigation li:focus-within > .children {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.primary-navigation .sub-menu a,
.primary-navigation .children a {
  padding: 8px 10px;
  color: var(--telnet-ink);
  font-weight: 600;
}

.site-main {
  padding: 26px 0 54px;
}

.home .site-main,
.site-main--front {
  padding-top: 0;
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.home .content-shell {
  width: 100%;
  display: block;
}

.telnet-layout-sidebar .content-shell.has-sidebar {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.entry-header {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--telnet-line);
}

.entry-title,
.page-title {
  margin: 0;
  color: var(--telnet-ink);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.12;
}

.entry-meta {
  margin-top: 8px;
  color: var(--telnet-muted);
  font-size: 0.92rem;
}

.entry-content,
.archive-list,
.not-found,
.sidebar .widget {
  background: var(--telnet-surface);
  border: 1px solid var(--telnet-line);
  border-radius: var(--telnet-radius);
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.05);
}

.home .entry-content,
.front-page .entry-content {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.entry-content {
  padding: clamp(20px, 3vw, 36px);
}

body:not(.home) .entry-content {
  padding-top: 24px;
}

.home .entry-content,
.front-page .entry-content {
  padding: 0;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.themeum-title,
.box-title {
  color: var(--telnet-ink);
  line-height: 1.2;
}

.entry-content h2 {
  margin-top: 1.3em;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.themeum-title {
  margin-top: 0;
}

.themeum-title p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.entry-content h3,
.box-title {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.entry-content p {
  margin: 0 0 1rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.35rem;
}

.entry-content li + li {
  margin-top: 0.35rem;
}

.container,
.containerh {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.row,
.vc_row,
.wpb_row,
.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.row,
.vc_row,
.wpb_row {
  margin-inline: -12px;
}

.row > [class*="col-"],
.vc_row > [class*="col-"],
.wpb_row > [class*="col-"],
.wpb_column,
.vc_column_container {
  width: 100%;
  min-width: 0;
  min-height: 1px;
  padding-inline: 12px;
}

.vc_column-inner,
.wpb_wrapper {
  min-width: 0;
}

.wp-block-columns {
  gap: 24px;
  align-items: stretch;
}

.wp-block-column {
  min-width: 0;
  flex: 1 1 0;
}

.col-md-12,
.col-sm-12 {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.aligncenter,
.has-text-align-center {
  text-align: center;
}

.alignleft,
.pull-left {
  float: left;
  margin: 0 1rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1rem;
}

.wp-block-image {
  margin: 0 0 1.2rem;
}

.wp-block-image img,
.portfolio-thumb img,
.themeum-feature-box img {
  border-radius: 6px;
}

.btn,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--telnet-blue);
  border: 1px solid var(--telnet-blue);
  border-radius: 5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
input[type="submit"]:hover,
button[type="submit"]:hover {
  color: #ffffff;
  background: var(--telnet-red);
  border-color: var(--telnet-red);
}

.servsec1,
.sersevc1,
.infoser,
.themeum-feature-box,
.themeum-post-item,
.portfolio-item-content,
.altblock,
.phoneblocak {
  height: 100%;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--telnet-line);
  border-radius: var(--telnet-radius);
  box-shadow: 0 6px 18px rgba(23, 32, 51, 0.06);
}

.servsec1,
.sersevc1,
.infoser,
.themeum-feature-box,
.themeum-post-item,
.portfolio-item-content,
.altblock,
.phoneblocak,
.box-content,
.slcontent {
  min-width: 0;
  overflow-wrap: break-word;
}

.servsec1 a,
.sersevc1 a,
.infoser a,
.portfolio-item-content a,
.box-content a,
.slcontent a {
  overflow-wrap: anywhere;
}

.box-title,
.portfolio-title,
.portfolio-title a {
  overflow-wrap: break-word;
}

.servsec1,
.sersevc1,
.themeum-feature-box {
  border-top: 4px solid var(--telnet-blue);
}

.sersevc1 {
  padding: 0;
  overflow: hidden;
}

.sersevc1 > div[style*="text-align:center"] {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  background: #f7f9fc;
  line-height: 0;
}

.sersevc1 > div[style*="text-align:center"] img {
  display: block;
  width: 100%;
  height: auto;
}

.sersevc1 > .infoser {
  height: auto;
  padding: 22px 24px 26px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.sersevc1 > .infoser > .box-title {
  margin: 0 0 16px !important;
  padding: 0;
}

.services-section {
  min-width: 0;
  text-align: center;
}

.services-section.three-cols,
.services-section.two-cols,
.services-section.four-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-inline: -12px;
}

.services-section > [class*="col-"] {
  display: flex;
  min-width: 0;
  margin-bottom: 24px;
  padding-inline: 12px;
}

.services-section .services-item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 30px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--telnet-line);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(23, 32, 51, 0.06);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.services-section .services-item:hover {
  color: #ffffff;
  background: #32373c;
  border-color: #32373c;
}

.services-section .service-name {
  margin-bottom: 20px;
}

.services-section .service-name h3 {
  margin: 0;
  color: inherit;
  font-size: 1.15rem;
  line-height: 1.25;
}

.services-section .service-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.services-section .service-text p {
  flex: 1 1 auto;
}

.services-section .services-item a {
  align-self: center;
  margin-top: 8px;
  color: var(--telnet-blue);
  font-weight: 700;
  text-decoration: none;
  text-transform: lowercase;
}

.services-section .services-item:hover a {
  color: #ffffff;
}

#clienttestcorel .row > div:not([class]) {
  display: contents;
}

.portfolio-items {
  display: grid !important;
  width: 100%;
  height: auto !important;
  margin: 0;
  padding: 0;
  overflow: visible !important;
  list-style: none;
  position: static !important;
  gap: 24px;
}

.portfolio-items.col-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portfolio-items.col-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-items .portfolio-item,
.portfolio-items .isotope-item,
.portfolio-items .themeum-post-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  margin: 0 !important;
  padding: 0;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.portfolio-thumb-wrapper,
.portfolio-thumb {
  min-width: 0;
}

.portfolio-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.portfolio-item-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.portfolio-item-content .slcontent {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.portfolio-item-content .slcontent .ltrscroll {
  margin-top: auto;
}

.themeum_button_shortcode {
  max-width: 100%;
  overflow-wrap: break-word;
}

#abtcta.altblock {
  position: relative;
  height: auto;
  min-height: 620px;
  padding: 78px 0 86px !important;
  color: #ffffff;
  background-position: center center !important;
  background-size: cover !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#abtcta.altblock::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
  content: "";
}

#abtcta.altblock > * {
  position: relative;
  z-index: 1;
}

#abtcta .container {
  width: min(1080px, calc(100% - 60px));
}

#abtcta .vc_row {
  align-items: flex-start;
}

#abtcta .wpb_column,
#abtcta .vc_column_container {
  padding-inline: 20px;
}

#abtcta .themeum-title,
#abtcta .wpb_text_column,
#abtcta .wpb_wrapper,
#abtcta .themeum-feature-box,
#abtcta .box-content {
  color: #ffffff;
}

#abtcta .themeum-feature-box,
#abtcta .altblock {
  height: auto;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#abtcta .themeum-feature-box + .themeum-feature-box {
  margin-top: 28px;
}

#abtcta h3,
#abtcta .box-title,
#abtcta .style-title2 {
  color: #ffffff !important;
  line-height: 1.2 !important;
}

#abtcta .box-title {
  margin: 0 0 12px !important;
  font-size: 1.28rem !important;
  font-weight: 700 !important;
}

#abtcta .style-title2 {
  position: relative;
  margin-bottom: 34px !important;
  padding-bottom: 22px !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

#abtcta .style-title2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.78);
  content: "";
}

#abtcta .span-title2,
#abtcta .box-content,
#abtcta .box-content p,
#abtcta .wpb_text_column p {
  color: #ffffff;
}

#abtcta p {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

#abtcta .icon {
  display: none;
}

#abtcta .themeum_button_shortcode {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 40px;
  margin-top: 24px !important;
  padding: 10px 20px !important;
  color: #ffffff !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 0;
  font-weight: 600 !important;
  letter-spacing: 4px !important;
  line-height: 1.1 !important;
}

#abtcta .themeum_button_shortcode:hover,
#abtcta .themeum_button_shortcode:focus {
  color: var(--telnet-ink) !important;
  background: #ffffff !important;
}

/* Base portal rules preserve the previous boxed iframe style for rollback. */
.telnet-portal-embed {
  margin: 0 0 80px;
  padding: 0 0 12px;
}

.telnet-portal-embed .container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.telnet-portal-frame {
  display: block;
  width: 100%;
  min-height: 1000px;
  overflow: auto;
  background: #ffffff;
  border: 1px solid var(--telnet-line);
  border-radius: 6px;
}

.telnet-frameless-portals.page-id-1200 .entry-content,
.telnet-frameless-portals.page-id-2955 .entry-content {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@supports selector(.entry-content:has(.telnet-portal-embed)) {
  .telnet-frameless-portals .entry-content:has(.telnet-portal-embed) {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

.telnet-frameless-portals .telnet-portal-embed {
  padding: 0;
}

.telnet-frameless-portals .telnet-portal-embed .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.telnet-frameless-portals .telnet-portal-frame {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.telnet-survey-portal .telnet-portal-frame {
  min-height: 1300px;
}

.telnet-portal-fallback {
  margin: 10px 0 0;
  color: var(--telnet-muted);
  font-size: 0.92rem;
}

.telnet-portal-fallback a {
  font-weight: 700;
}

.spBlue,
.span-title1,
.title-icon,
.top-icon,
.icon {
  color: var(--telnet-blue);
}

.style-title1,
.style-title2 {
  margin-bottom: 14px;
}

body:not(.home) .entry-content > section[style*="padding-top: 100px"]:first-child {
  padding-top: 0 !important;
}

body:not(.home) .entry-content > section[style*="padding-top:100px"]:first-child,
body:not(.home) .entry-content > section:first-child {
  padding-top: 0 !important;
}

body:not(.home) .entry-content > section:first-child > .container > .themeum-title:first-child .style-title1 {
  margin: 0 0 16px !important;
  padding: 0 0 8px !important;
}

.padtb80 {
  padding-top: 64px;
  padding-bottom: 64px;
}

.padb80 {
  padding-bottom: 64px;
}

.padb40 {
  padding-bottom: 32px;
}

.ltrscroll {
  overflow-x: auto;
}

.servicearrow,
.fa {
  display: inline-block;
  font-style: normal;
  line-height: 1;
}

.fa-arrow-right::before,
.servicearrow::before {
  content: ">";
}

.infoser .servsec1 {
  display: flow-root;
  height: auto;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body:not(.home) .entry-content .servsec1,
body:not(.home) .entry-content .servsec4 {
  display: flow-root;
  height: auto;
  min-height: 0;
}

body:not(.home) .entry-content .servsec4 {
  margin: 2px 0 14px;
}

body:not(.home) .entry-content .servsec1 > p[style*="font-weight"] {
  margin: 14px 0 6px;
  line-height: 1.35;
}

body:not(.home) .entry-content .servsec1 > p[style*="font-weight"]:first-child {
  margin-top: 0;
}

body:not(.home) .entry-content .servsec1 > .fa-arrow-right,
body:not(.home) .entry-content .servsec4 > .fa-arrow-right,
.infoser .servsec1 .fa-arrow-right {
  display: block;
  float: left;
  clear: left;
  width: 7px;
  height: 7px;
  margin: 0.56em 13px 0 2px;
  border-radius: 50%;
  background: currentColor;
  color: var(--telnet-blue-dark);
  line-height: 1;
}

body:not(.home) .entry-content .servsec1 > .fa-arrow-right::before,
body:not(.home) .entry-content .servsec4 > .fa-arrow-right::before,
.infoser .servsec1 .fa-arrow-right::before {
  display: none;
  content: "";
}

body:not(.home) .entry-content .servsec1 > .fa-arrow-right + p,
body:not(.home) .entry-content .servsec4 > .fa-arrow-right + p,
.infoser .servsec1 p {
  margin: 0 0 9px 22px;
  text-align: left !important;
  line-height: 1.35;
}

body:not(.home) .entry-content .servsec1 > .fa-arrow-right + p:last-child,
body:not(.home) .entry-content .servsec4 > .fa-arrow-right + p:last-child,
.infoser .servsec1 p:last-child {
  margin-bottom: 0;
}

.fa-phone::before {
  content: "tel";
}

.fa-envelope::before {
  content: "@";
}

.fa-search::before {
  content: "search";
}

.breadcrumb,
.themeum-breadcrumbs {
  display: none;
}

.archive-list {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.archive-item {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--telnet-line);
}

.archive-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.archive-item__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.post-navigation,
.posts-navigation {
  margin-top: 28px;
}

.sidebar {
  display: grid;
  gap: 20px;
}

.sidebar .widget {
  padding: 22px;
}

.sidebar .widget-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.sidebar ul {
  margin: 0;
  padding-left: 1.1rem;
}

.wpcf7-form {
  display: grid;
  gap: 14px;
}

.wpcf7-form input:not([type="submit"]),
.wpcf7-form textarea,
.wpcf7-form select,
.search-form input[type="search"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--telnet-line);
  border-radius: 5px;
  background: #ffffff;
}

.page-id-413 .iconbox-content::after {
  display: table;
  clear: both;
  content: "";
}

.page-id-413 .contactindividuals {
  min-width: 0;
  overflow-wrap: break-word;
}

.page-id-413 .contactindividuals h5 {
  margin: 0 0 10px;
  color: var(--telnet-blue-dark);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-id-1277 .mailcont {
  position: relative;
  height: 100%;
  min-width: 0;
  margin: 0 0 24px;
  padding: 26px 28px 24px;
  overflow-wrap: break-word;
  color: var(--telnet-ink);
  background: linear-gradient(145deg, #f8fbff 0%, #eef6fb 58%, #f7fafc 100%);
  border: 1px solid rgba(20, 78, 129, 0.14);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(23, 32, 51, 0.08);
}

.page-id-1277 .mailcont::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, #08a9d8, #174a7c);
  border-radius: 8px 8px 0 0;
}

.page-id-1277 .mailcont h4 {
  margin: 0 0 20px;
  color: var(--telnet-blue-dark);
  font-size: 1rem;
  font-weight: 800;
}

.page-id-1277 .mailcont p {
  margin: 0 0 14px;
}

.page-id-1277 .mailcont p:last-child {
  margin-bottom: 0;
}

.page-id-1277 .entry-content > .col-md-4:nth-of-type(2) .mailcont {
  background: linear-gradient(145deg, #f8fbff 0%, #eef7f4 58%, #f8faf9 100%);
  border-color: rgba(38, 116, 95, 0.15);
}

.page-id-1277 .entry-content > .col-md-4:nth-of-type(2) .mailcont::before {
  background: linear-gradient(90deg, #1aa6a6, #2b6b5d);
}

.page-id-1277 .entry-content > .col-md-4:nth-of-type(3) .mailcont {
  background: linear-gradient(145deg, #f8fbff 0%, #f3f5fb 58%, #f9fafc 100%);
  border-color: rgba(78, 91, 146, 0.15);
}

.page-id-1277 .entry-content > .col-md-4:nth-of-type(3) .mailcont::before {
  background: linear-gradient(90deg, #5975c8, #174a7c);
}

.page-id-1277 .entry-header {
  display: none;
}

.page-id-798 .entry-content > section:first-child {
  padding-bottom: 18px;
}

.page-id-1031 .entry-content > section:first-child > .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.page-id-1031 .entry-content > section:first-child > .container > .themeum-title,
.page-id-1031 .entry-content > section:first-child > .container > .col-md-12,
.page-id-1031 .entry-content > section:first-child > .container > .col-md-10 {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
}

.page-id-1031 .entry-content > section:first-child > .container > .col-md-12 + .col-md-6 {
  display: contents;
}

.page-id-1031 .entry-content > section:first-child > .container > .col-md-12 + .col-md-6 > .col-md-6,
.page-id-1031 .entry-content > section:first-child > .container > .col-md-12 + .col-md-6 + .col-md-6 {
  float: none;
  width: 100%;
  max-width: 100%;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--telnet-line);
  border-top: 4px solid var(--telnet-blue);
  border-radius: var(--telnet-radius);
  box-shadow: 0 6px 18px rgba(23, 32, 51, 0.06);
}

.page-id-1031 .entry-content > section:first-child > .container > .col-md-12 + .col-md-6 > .col-md-6 h3,
.page-id-1031 .entry-content > section:first-child > .container > .col-md-12 + .col-md-6 + .col-md-6 h3 {
  margin-top: 0;
  color: var(--telnet-blue-dark);
  font-size: 1.15rem;
}

.page-id-1031 .entry-content > section:first-child > .container > .col-md-12 + .col-md-6 > .col-md-6 ul,
.page-id-1031 .entry-content > section:first-child > .container > .col-md-12 + .col-md-6 + .col-md-6 ul {
  margin-bottom: 0;
}

.page-id-1277 .entry-content > section.padb10:first-child {
  padding-top: 28px !important;
  padding-bottom: 6px;
}

.page-id-1277 .themeum-title .style-title1 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1.2 !important;
}

.page-id-1277 .has-text-align-center {
  margin: 10px 0 24px;
}

.site-footer {
  color: #ffffff;
  background: #333333;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #f4c25c;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding: 42px 0;
}

.footer-widget {
  min-width: 0;
}

.footer-widget h2 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
}

.footer-widget h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #ffffff;
  content: "";
}

.footer-widget p {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-links,
.footer-social {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li,
.footer-social li + li {
  margin-top: 7px;
}

.footer-links a,
.footer-social a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.35;
}

.footer-links a::before {
  color: #ffffff;
  content: ">";
}

.footer-social a::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  content: attr(data-social);
}

.footer-social a[href*="facebook"]::before {
  content: "f";
}

.footer-social a[href*="linkedin"]::before {
  content: "in";
}

.footer-social a[href*="twitter"]::before {
  content: "x";
}

.footer-phone-spacer {
  padding-left: 45px;
}

.footer-map {
  display: block;
  width: 100%;
  height: 120px;
  margin-top: 10px;
  border: 0;
  border-radius: 4px;
}

.footer-map-link {
  margin-top: 7px !important;
  font-size: 0.86rem !important;
}

.site-footer__bottom {
  background: #333333;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer__bottom-inner {
  width: var(--telnet-content);
  margin-inline: auto;
  padding: 16px 0;
  color: #ffffff;
  font-size: 0.88rem;
  text-align: center;
}

@media (min-width: 720px) {
  .col-sm-1,
  .vc_col-sm-1 {
    width: 8.3333%;
    flex: 0 0 8.3333%;
    max-width: 8.3333%;
  }

  .col-sm-2,
  .vc_col-sm-2 {
    width: 16.6667%;
    flex: 0 0 16.6667%;
    max-width: 16.6667%;
  }

  .col-sm-3,
  .vc_col-sm-3 {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-sm-4,
  .vc_col-sm-4 {
    width: 33.3333%;
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }

  .col-sm-5,
  .vc_col-sm-5 {
    width: 41.6667%;
    flex: 0 0 41.6667%;
    max-width: 41.6667%;
  }

  .col-sm-6,
  .vc_col-sm-6 {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-sm-7,
  .vc_col-sm-7 {
    width: 58.3333%;
    flex: 0 0 58.3333%;
    max-width: 58.3333%;
  }

  .col-sm-8,
  .vc_col-sm-8 {
    width: 66.6667%;
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
  }

  .col-sm-9,
  .vc_col-sm-9 {
    width: 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-sm-10,
  .vc_col-sm-10 {
    width: 83.3333%;
    flex: 0 0 83.3333%;
    max-width: 83.3333%;
  }

  .col-sm-11,
  .vc_col-sm-11 {
    width: 91.6667%;
    flex: 0 0 91.6667%;
    max-width: 91.6667%;
  }

  .col-sm-12,
  .vc_col-sm-12 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .wp-block-columns.has-2-columns > .wp-block-column {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }

  .wp-block-columns.has-3-columns > .wp-block-column {
    flex: 0 0 calc(33.3333% - 16px);
    max-width: calc(33.3333% - 16px);
  }

  .page-id-413 .contactindividuals {
    float: left;
    width: calc(33.3333% - 16px);
    margin-right: 24px;
  }

  .page-id-413 .contactindividuals:nth-of-type(3n) {
    margin-right: 0;
  }

  .page-id-413 .iconbox-content:has(.contactindividuals) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
  }

  .page-id-413 .iconbox-content:has(.contactindividuals)::after {
    display: none;
  }

  .page-id-413 .iconbox-content:has(.contactindividuals) > .title {
    grid-column: 1 / -1;
  }

  .page-id-413 .iconbox-content:has(.contactindividuals) > .contactindividuals {
    float: none;
    width: auto;
    margin-right: 0;
  }

  .page-id-1277 .entry-content {
    display: flow-root;
  }

  .page-id-1277 .entry-content > .col-md-4 {
    float: left;
    width: 33.3333%;
    max-width: 33.3333%;
    padding-inline: 16px;
  }

  .page-id-1277 .entry-content > .col-md-4:first-of-type {
    padding-left: 0;
  }

  .page-id-1277 .entry-content > .col-md-4 + .col-md-4 + .col-md-4 {
    padding-right: 0;
  }

  .page-id-1277 .entry-content > .col-md-4 + .col-md-4 + .col-md-4 + div {
    clear: both;
  }

  .page-id-1277 .entry-content > .col-md-4 .mailcont {
    min-height: 304px;
  }
}

@media (min-width: 920px) {
  .col-md-1 {
    width: 8.3333%;
    flex: 0 0 8.3333%;
    max-width: 8.3333%;
  }

  .col-md-2 {
    width: 16.6667%;
    flex: 0 0 16.6667%;
    max-width: 16.6667%;
  }

  .col-md-3 {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-md-4 {
    width: 33.3333%;
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }

  .col-md-5 {
    width: 41.6667%;
    flex: 0 0 41.6667%;
    max-width: 41.6667%;
  }

  .col-md-6 {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-md-7 {
    width: 58.3333%;
    flex: 0 0 58.3333%;
    max-width: 58.3333%;
  }

  .col-md-8 {
    width: 66.6667%;
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
  }

  .col-md-9 {
    width: 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-md-10 {
    width: 83.3333%;
    flex: 0 0 83.3333%;
    max-width: 83.3333%;
  }

  .col-md-11 {
    width: 91.6667%;
    flex: 0 0 91.6667%;
    max-width: 91.6667%;
  }

  .col-md-12 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .entry-content .container > [class*="col-md-"],
  .entry-content .containerh > [class*="col-md-"] {
    float: left;
    padding-inline: 12px;
  }

  .entry-content .container::after,
  .entry-content .containerh::after {
    display: table;
    clear: both;
    content: "";
  }
}

@media (max-width: 980px) {
  .site-header__inner {
    min-height: 64px;
  }

  .site-header.is-compact .site-header__inner {
    min-height: 56px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-navigation {
    position: absolute;
    inset: 100% 16px auto 16px;
    display: none;
    max-height: min(72vh, calc(100dvh - 96px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--telnet-line);
    border-radius: var(--telnet-radius);
    box-shadow: var(--telnet-shadow);
    -webkit-overflow-scrolling: touch;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-menu,
  .primary-navigation ul {
    display: block;
  }

  .primary-navigation a {
    padding: 10px;
  }

  .primary-navigation .sub-menu,
  .primary-navigation .children {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 0 14px;
    visibility: visible;
    opacity: 1;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .telnet-layout-sidebar .content-shell.has-sidebar {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-items.col-4,
  .portfolio-items.col-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site,
  .site-main,
  .entry-content {
    max-width: 100%;
    overflow-x: clip;
  }

  .siteorigin-panels-stretch,
  .panel-row-style,
  [data-stretch-type="full"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #abtcta.altblock {
    padding: 58px 0 66px !important;
  }

  #abtcta .container {
    width: min(100% - 36px, 720px);
  }

  #abtcta .wpb_column,
  #abtcta .vc_column_container {
    padding-inline: 14px;
  }

  #abtcta .themeum-feature-box + .themeum-feature-box {
    margin-top: 22px;
  }

  .page-id-1031 .entry-content > section:first-child > .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-topbar__inner {
    display: block;
  }

  .site-header__inner,
  .site-topbar__inner,
  .site-footer__inner,
  .site-footer__bottom-inner,
  .content-shell {
    width: min(100% - 24px, 1120px);
  }

  .primary-navigation {
    inset-inline: 12px;
    max-height: calc(100dvh - 84px);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .footer-phone-spacer {
    padding-left: 0;
  }

  .page-id-413 .contactindividuals {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  .page-id-1277 .entry-content > .col-md-4 {
    float: none;
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
  }

  .page-id-1277 .mailcont {
    min-height: 0;
    padding: 22px 22px 20px;
  }

  .custom-logo {
    max-width: 180px;
    max-height: 50px;
  }

  .site-header.is-compact .custom-logo {
    max-width: 150px;
    max-height: 40px;
  }

  .entry-content {
    padding: 18px;
  }

  .padtb80 {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .padb80 {
    padding-bottom: 38px;
  }

  .wp-block-columns,
  .row,
  .vc_row,
  .wpb_row,
  .services-section.three-cols,
  .services-section.two-cols,
  .services-section.four-cols {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }

  .entry-content [class*="col-"],
  .wpb_column,
  .vc_column_container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    float: none;
  }

  #abtcta .wpb_column,
  #abtcta .vc_column_container {
    padding-inline: 0;
  }

  #abtcta .vc_row > .wpb_column + .wpb_column,
  #abtcta .vc_row > .vc_column_container + .vc_column_container {
    margin-top: 28px;
  }

  .portfolio-items.col-4,
  .portfolio-items.col-3 {
    grid-template-columns: 1fr;
  }

  .services-section > [class*="col-"] {
    display: block;
    margin-bottom: 24px;
    padding-left: 0;
    padding-right: 0;
  }
}
