/*
Theme Name: Instinct Science
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Instinct Science is a Child theme of Hello Elementor. Built by the team at 17thandblake.com in collaboration with Instinct Science, LLC. 
Author: 17thandblake.com 
Author URI: https://www.17thandblake.com
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ────────────────────────────────────────────────────────────────
   Mobile Styles
───────────────────────────────────────────────────────────────── */
@media only screen and (max-width: 767px) {
  /* Mobile styles go here */
  .full_width_cta_b .alternate_layout { padding-left: 0px !important; }
  .full_width_cta_b .alternate_layout .full_width_cta_b_image { padding-left: 40px !important; }
}

/* ────────────────────────────────────────────────────────────────
   Product Hero Cards
───────────────────────────────────────────────────────────────── */
.product_hero_cards { margin-top: -80px !important; }

/* ────────────────────────────────────────────────────────────────
   Yellow Button Styles
───────────────────────────────────────────────────────────────── */
.yellow-btn .elementor-button {
  padding: 24px 30px !important;
  background-color: #FBBB00 !important;
  border-radius: 8px !important;
}
.yellow-btn .elementor-button:hover { background-color: #FAD400 !important; }
.yellow-btn span.elementor-button-text {
  color: #0A2447 !important;
  transition: background-color 0.3s ease;
}
.yellow-btn .elementor-button:hover .elementor-button-text { background-color: #E5AB00 !important; }
.yellow-btn .elementor-button-icon { display: none !important; }


/* ────────────────────────────────────────────────────────────────
   Navy Button Styles
───────────────────────────────────────────────────────────────── */
  .color_navy span.elementor-button-text { color: #fff !important;}

/* ────────────────────────────────────────────────────────────────
   Royal Blue Button Styles
───────────────────────────────────────────────────────────────── */
.royal-blue-btn .elementor-button {
  padding: 24px 30px !important;
  background-color: #1550D7 !important;
  border-radius: 8px !important;
}

.royal-blue-btn span.elementor-button-text {
    color: #fff !important;
  
}

.royal-blue-btn .elementor-button:hover { background-color: #0E3EAA !important; }
.royal-blue-btn .elementor-button-text {
  color: #fff !important;
  transition: background-color 0.3s ease;
  weight: 700;
}
.royal-blue-btn .elementor-button:hover .elementor-button-text { background-color: #0E3EAA !important; }
.royal-blue-btn .elementor-button-icon { display: none !important; }

.e-n-tabs-content .elementor-button-text

/* ────────────────────────────────────────────────────────────────
   Alternate Layout Controls
───────────────────────────────────────────────────────────────── */
.tcc_alternate_layout { flex-direction: row-reverse !important; }
.alternate_layout { --flex-direction: row-reverse !important; }
.component_e_alternate_layout { --flex-direction: row-reverse !important; }
.component_e_alternate_layout .offset-photo {
  margin-right: 0px;
  margin-left: -348px;
}
.full_width_cta_a .alternate_layout {
  --flex-direction: row-reverse !important;  
  padding-right: 60px !important;
}
.elementor-widget-button.e_link_arrow .elementor-button-icon svg { transition: transform 0.3s ease; }
.elementor-widget-button.e_link_arrow:hover .elementor-button-icon svg { transform: translateX(5px); }
.h3_color_white h3 { color: #fff !important; }
.component_f .elementor-widget-text-editor p { color: #0A2447 !important; }

/* ────────────────────────────────────────────────────────────────
   Column & Image Alignment
───────────────────────────────────────────────────────────────── */
#column_wrap { flex-wrap: wrap !important; }
#column_wrap .left-column-text { width: 100% !important; padding-right: 60px; }
#column_wrap .right-column-image { width: 100% !important; }
#image_align_left { align-items: flex-start !important; }
#image_align_right { align-items: flex-right !important; }
#image_align_center { align-items: center !important; }

/* ────────────────────────────────────────────────────────────────
   Section Backgrounds & Gradients
───────────────────────────────────────────────────────────────── */
.elementor-195 .tcc_alternate_layout.elementor-element.elementor-element-248617a8::before {
  background-color: transparent;
  --background-overlay: '';
  background-image: linear-gradient(-280deg, #0A2447 45%, #C07F8F00 100%) !important;
}
.full_width_cta_b .alternate_layout { padding-right: 0px; padding-left: 60px; }
.full_width_cta_b .alternate_layout .full_width_cta_b_image {
  justify-content: flex-end !important;
  align-items: flex-end !important;
}
.full_width_cta_b .color_sky_blue h2 { color: #fff !important; }

/* ────────────────────────────────────────────────────────────────
   Mobile Gradient Adjustment for 3-column Callout
───────────────────────────────────────────────────────────────── */
@media only screen and (max-width: 767px) {
  .elementor-element.elementor-element-248617a8::before {
    background-image: none !important;
    background-color: rgba(10, 36, 71, 0.7) !important;
  }
}

/* ────────────────────────────────────────────────────────────────
   FAQ Accordion
───────────────────────────────────────────────────────────────── */
.accordionjs .acc_section.acc_active > .acc_head { border-bottom: 0px !important; }
.description-text-blue { color: #0A2447 !important; }
.yellow-btn span.elementor-button-text { color: #0A2447 !important; }

/* ────────────────────────────────────────────────────────────────
   Component Section Background Colors & Textures
───────────────────────────────────────────────────────────────── */
.color_yellow {
  background-color: #FBBB00 !important;
  background-image: url('/wp-content/uploads/2025/05/yellow-texture.png');
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}
.color_royal_blue {
  background-color: #1550D7 !important;
  background-image: url('/wp-content/uploads/2025/05/royal-blue-texture.png');
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}
.color_navy {
  background-color: #0A2447 !important;
  background-image: url('/wp-content/uploads/2025/05/navy-texture.png');
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}
.color_sky_blue {
  background-color: #81B7FF !important;
  background-image: url('/wp-content/uploads/2025/05/sky-blue-texture.png');
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}
.color_sky_blue p { color: #0A2447; }
.color_orange {
  background-color: #FF7107 !important;
  background-image: url('/wp-content/uploads/2025/05/orange-texture.png');
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}
.color_gray {
  background-color: #F4F6FC;
  background-image: url('/wp-content/uploads/2025/05/light-gray-texture2x.png');
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}
.color_royal_blue h2,
.color_royal_blue p,
.color_royal_blue .e_link_arrow .elementor-button-text,
.color_royal_blue .elementor-button-icon svg {
  color: #fff;
}
.color_gray h2,
.color_gray p,
.color_gray .elementor-button-text,
.color_gray .elementor-button-icon svg {
  color: #1550D7 !important;
}
.color_white {
  background-color: #fff !important;
  box-shadow: 0px 2px 38px 14px rgba(90, 161, 255, 0.08);
}
.color_white h2 { color: #1550D7 !important; }
.color_white p { color: #0A2447 !important; }
.color_white .elementor-button-text { color: #0A2447 !important; }
.color_white .royal-blue-btn .elementor-button-text { color: #fff !important; }
.color_white_no_shadow { background-color: #fff !important; }
.color_white_no_shadow .component_text { /* This scopes everything inside .component_text for easier styling */ }
.color_white_no_shadow .component_text h2 { color: #1550D7 !important; }
.color_white_no_shadow .component_text p,
.color_white_no_shadow .component_text .elementor-button-text { color: #0A2447 !important; }
.color_white_no_shadow .e_link_arrow .elementor-button-icon svg { color: #0A2447; }

/* ────────────────────────────────────────────────────────────────
   Client Logo Slider Gradient (Commented Out)
───────────────────────────────────────────────────────────────── */
/*
.client-logos {
  position: relative;
  overflow: hidden;
}
.client-logos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(to right, white, transparent);
  z-index: 2;
  pointer-events: none;
}
.client-logos::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(to left, white, transparent);
  z-index: 2;
  pointer-events: none;
}
*/

/* ────────────────────────────────────────────────────────────────
   DCE ACF Repeater Grid
───────────────────────────────────────────────────────────────── */
.dce-acf-repeater-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.grid-box-comp .dce-acf-repeater-item {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.grid-box-comp .dce-acf-repeater-item:nth-child(2n) { border-right: none; }
.grid-box-comp .dce-acf-repeater-item:nth-child(n+5) { border-bottom: none; }

@media (max-width: 1200px) {
  .grid-box-comp .dce-acf-repeater-grid { grid-template-columns: 1fr; }
  .grid-box-comp .dce-acf-repeater-item {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .grid-box-comp .dce-acf-repeater-item:last-child { border-bottom: none; }
  .grid-box-comp .dce-acf-repeater-item:nth-last-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* ────────────────────────────────────────────────────────────────
   FAQ Wrapper
───────────────────────────────────────────────────────────────── */
.faq_wrapper button.acc_button {
  background-color: transparent !important;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.acc_head { background-color: transparent !important; }

/* ────────────────────────────────────────────────────────────────
   e-N Tab Icon Styles
───────────────────────────────────────────────────────────────── */
.e-n-tab-title .e-n-tab-icon { font-size:30px !important; line-height:1; }
.e-n-tab-title .e-n-tab-icon svg:nth-child(2) { display:none; }
.e-n-tab-title[aria-selected="true"] .e-n-tab-icon svg:nth-child(1) { display:none; }
.e-n-tab-title[aria-selected="true"] .e-n-tab-icon svg:nth-child(2) { display:inline-block; }
.e-n-tab-icon svg {
  height:1em;
  width:auto;
  vertical-align:middle;
}
.e-n-tab-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  font-size: inherit !important;
}

/* ────────────────────────────────────────────────────────────────
   News Single Post Typography
───────────────────────────────────────────────────────────────── */
.single-news h2, .page-template-default h2 {
  color: #1550D7;
  margin-bottom: 32px;
}
.single-news h3, .page-template-default h3 {
  color: #0A2447;
  margin-bottom: 32px;
}
.single-news h4, .page-template-default h4 {
  color: #1550D7;
  margin-bottom: 32px;
  line-height: 34px;
}
.single-news h5, .page-template-default h5 {
  color: #0A2447;
  margin-bottom: 20px;
  line-height: 28px;
}
.single-news .elementor-widget-theme-post-content p,
.page-template-default .elementor-widget-theme-post-content p {
  font-family: REM;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  color: #535E79;
  margin-bottom: 32px;
}
.single-news p a, .page-template-default p a {
  color: #1550D7;
  font-weight: 400;
}
.page-template-default ul {
  margin-bottom: 30px;
  font-family: REM;
  font-weight: 400;
  color: #535E79;
  font-size: 18px;
  margin-top: 0px;
}
.page-template-default ul li { margin-bottom: 15px; }
.single-news p a:hover, .page-template-default p a:hover { color: #0A2447; }
nav.dce-menu ul li a { font-weight: 400 !important; }

/* ────────────────────────────────────────────────────────────────
   Sidebar Nav Active Link Styling
───────────────────────────────────────────────────────────────── */
.dce-menu.vertical a {
  position:relative;
  display:block;
  padding-left:1rem;
  text-decoration:none;
  color:#0A2447;
  transition:color .2s ease;
}
.dce-menu.vertical a::before {
  content:"";
  position:absolute;
  left:0; top:0;
  width:3px; height:100%;
  background:#1550D7;
  transform:scaleY(0);
  transform-origin:top;
  transition:transform .2s ease;
}
.dce-menu.vertical a:hover::before,
.dce-menu.vertical a:focus::before,
.dce-menu.vertical a.active::before { transform:scaleY(1); }
.dce-menu.vertical a:hover,
.dce-menu.vertical a:focus,
.dce-menu.vertical a.active { color:#1550D7; }

/* ────────────────────────────────────────────────────────────────
   Table Box Shadows (Commented Out)
───────────────────────────────────────────────────────────────── */
/*
.table-header-box-shadow {
  box-shadow:
    -10px 0   20px -10px rgba(90, 161, 255, 0.08),
     10px 0   20px -10px rgba(90, 161, 255, 0.08),
      0px -10px 20px -10px rgba(90, 161, 255, 0.08);
}
.table-row-box-shadow {
  box-shadow:
    -10px 0 20px -10px rgba(90, 161, 255, 0.08),
     10px 0 20px -10px rgba(90, 161, 255, 0.08);
}
*/

/* ────────────────────────────────────────────────────────────────
   Mega Menu Styles Product
───────────────────────────────────────────────────────────────── */
/* --- Base Button Style --- */
button#tab-one,
button#tab-two,
button#tab-three,
button#tab-four,
button#tab-five {
  width: 282px;
  height: 80px;
  padding: 0 20px;
  background-color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}
/* --- Border Radius Overrides --- */
button#tab-one { border-radius: 12px 12px 0 0; margin-top: 10px; }
button#tab-two { border-radius: 0 0 12px 12px; margin-bottom: 25px; }
button#tab-three { border-radius: 12px 12px 0 0; margin-top: 10px; }
button#tab-four { border-radius: 0 0 12px 12px; }
button#tab-five { border-radius: 12px; margin-top: 30px; }
/* --- Container Padding --- */
.e-n-tabs-heading { padding: 30px 10px 10px 10px; }
/* --- Logos --- */
button#tab-one::before {
  content: '';
  background: url('/wp-content/themes/Instinct/images/menu-full-color-instinct-emr.svg') no-repeat left center;
  background-size: contain;
  width: 130px;
  height: 60px;
  display: inline-block;
  transition: background-image 0.3s ease;
}
button#tab-two::before {
  content: '';
  background: url('/wp-content/themes/Instinct/images/menu-full-color-instinct-treatment-plan.svg') no-repeat left center;
  background-size: contain;
  width: 130px;
  height: 60px;
  display: inline-block;
  transition: background-image 0.3s ease;
}
button#tab-three::before {
  content: '';
  background: url('/wp-content/themes/Instinct/images/menu-full-color-standards.svg') no-repeat left center;
  background-size: contain;
  width: 130px;
  height: 60px;
  display: inline-block;
  transition: background-image 0.3s ease;
}
button#tab-four::before {
  content: '';
  background: url('/wp-content/themes/Instinct/images/menu-full-color-plumbs.svg') no-repeat left center;
  background-size: contain;
  width: 130px;
  height: 60px;
  display: inline-block;
  transition: background-image 0.3s ease;
}
button#tab-five::before {
  content: '';
  background: url('/wp-content/themes/Instinct/images/menu-full-color-clinicians-brief.svg') no-repeat left center;
  background-size: contain;
  width: 130px;
  height: 60px;
  display: inline-block;
  transition: background-image 0.3s ease;
}
/* --- Logo on Hover + Active --- */
button#tab-one:hover::before,
button#tab-one[aria-selected="true"]::before {
  background-image: url('/wp-content/themes/Instinct/images/menu-dark-mode-instinct-emr.svg');
}
button#tab-two:hover::before,
button#tab-two[aria-selected="true"]::before {
  background-image: url('/wp-content/themes/Instinct/images/menu-dark-mode-instinct-treatment-plan.svg');
}
button#tab-three:hover::before,
button#tab-three[aria-selected="true"]::before {
  background-image: url('/wp-content/themes/Instinct/images/menu-dark-mode-standards.svg');
}
button#tab-four:hover::before,
button#tab-four[aria-selected="true"]::before {
  background-image: url('/wp-content/themes/Instinct/images/menu-dark-mode-plumbs.svg');
}
button#tab-five:hover::before,
button#tab-five[aria-selected="true"]::before {
  background-image: url('/wp-content/themes/Instinct/images/menu-dark-mode-clinicians-brief.svg');
}
/* --- Arrows Inside Text Span --- */
button#tab-one .e-n-tab-title-text::after,
button#tab-two .e-n-tab-title-text::after,
button#tab-three .e-n-tab-title-text::after,
button#tab-four .e-n-tab-title-text::after,
button#tab-five .e-n-tab-title-text::after {
  content: '›';
  color: #000000;
  font-size: 28px;
  font-weight: bold;
  margin-left: auto;
  transition: color 0.3s ease;
}
/* --- Chevron turns white on Hover + Active --- */
button#tab-one:hover .e-n-tab-title-text::after,
button#tab-one[aria-selected="true"] .e-n-tab-title-text::after,
button#tab-two:hover .e-n-tab-title-text::after,
button#tab-two[aria-selected="true"] .e-n-tab-title-text::after,
button#tab-three:hover .e-n-tab-title-text::after,
button#tab-three[aria-selected="true"] .e-n-tab-title-text::after,
button#tab-four:hover .e-n-tab-title-text::after,
button#tab-four[aria-selected="true"] .e-n-tab-title-text::after,
button#tab-five:hover .e-n-tab-title-text::after,
button#tab-five[aria-selected="true"] .e-n-tab-title-text::after {
  color: #ffffff;
}
/* --- Background on Hover + Active --- */
button#tab-one:hover,
button#tab-one[aria-selected="true"],
button#tab-two:hover,
button#tab-two[aria-selected="true"],
button#tab-three:hover,
button#tab-three[aria-selected="true"],
button#tab-four:hover,
button#tab-four[aria-selected="true"],
button#tab-five:hover,
button#tab-five[aria-selected="true"] {
  background-color: #0A2447;
}
/* --- Top Labels --- */
button#tab-one::after {
  content: 'Practice Software';
  position: absolute;
  top: -20px;
  left: 20px;
  color: #7E8BA8;
  font-family: 'REM', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -0.228px;
  text-transform: uppercase;
  pointer-events: none;
}
button#tab-three::after {
  content: 'Decision Support';
  position: absolute;
  top: -20px;
  left: 20px;
  color: #7E8BA8;
  font-family: 'REM', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -0.228px;
  text-transform: uppercase;
  pointer-events: none;
}
button#tab-five::after {
  content: 'Education';
  position: absolute;
  top: -20px;
  left: 20px;
  color: #7E8BA8;
  font-family: 'REM', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -0.228px;
  text-transform: uppercase;
  pointer-events: none;
}
button#tab-one:hover::after,
button#tab-one[aria-selected="true"]::after,
button#tab-three:hover::after,
button#tab-three[aria-selected="true"]::after,
button#tab-four:hover::after,
button#tab-four[aria-selected="true"]::after {
  color: #7E8BA8;
}

/* ────────────────────────────────────────────────────────────────
   Mobile-only horizontal scroll for feature table
───────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .table-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .table-scroll-wrapper::-webkit-scrollbar { height: 6px; }
  .table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 3px;
  }
  .table-row { flex-wrap: nowrap; min-width: 640px; }
  .table-column:first-child { flex: 0 0 200px; }
  .table-column:not(:first-child) { flex: 0 0 140px; }
}

/* ────────────────────────────────────────────────────────────────
   Mega Menu Mobile Adjustments
───────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  button#tab-one,
  button#tab-two,
  button#tab-three,
  button#tab-four,
  button#tab-five {
    border-radius: 0 !important;
    background-color: #F4F6FC;
  }
  .elementor-element-b6ad6fb,
  .elementor-element-5843e0a,
  .elementor-element-88ff258,
  .elementor-element-a2aa181 { display: none; }
  button#tab-one { border-bottom: 1px solid #ccc; margin-top: 0 !important; }
  button#tab-two { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; margin: 0 !important; }
  button#tab-three { margin-top: 0 !important; }
  button#tab-four { border-top: 1px solid #ccc; margin-top: 0 !important; }
  button#tab-five { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; margin-top: 0 !important; }
  button#tab-one::after,
  button#tab-three::after,
  button#tab-five::after { display: none; }
}

/* ────────────────────────────────────────────────────────────────
   Utility: No Bullet List
───────────────────────────────────────────────────────────────── */
li.no-bullet {
  list-style-type: none;
  padding-left: 1.5em;
  text-indent: -1.5em;
}


/* ────────────────────────────────────────────────────────────────
  Table Tooltip Positioning
───────────────────────────────────────────────────────────────── */

.tooltip-box::after {
  content: "";
  position: absolute;
  left: 20px;
  border: 8px solid transparent;
}

.tooltip-box[data-position="bottom"]::after {
  top: -16px;
  border-bottom-color: #0a2447;
}

.tooltip-box[data-position="top"]::after {
  bottom: -16px;
  border-top-color: #0a2447;
}

/* external link icon in menu */

.external-link .elementor-icon-box-title a {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.external-link .elementor-icon-box-title a::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  background-image: url('https://instinctdev.wpenginepowered.com/wp-content/uploads/2025/07/external-link-icon.svg');
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

