/*
Theme Name: In Vitro Corporate
Description: WordPress theme for In Vitro Technologies Australia.
Version: 1.1.27
*/
body { overflow-x: clip; }
body.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 5px #0002; }
.ivt-top { background: #2a7697; color: white; }
.ivt-top .container, .ivt-nav-row, .ivt-nav { display: flex; align-items: center; gap: 1.5rem; }
.ivt-top .container { min-height: 36px; flex-wrap: wrap; gap: 0; }
.ivt-top a {
 position: relative;
 display: inline-flex;
 align-items: center;
 min-height: 36px;
 padding: 0 11px;
 color: inherit;
 text-decoration: none;
}
.ivt-top a:hover, .ivt-top a:focus-visible, .ivt-top a[aria-current] { background: #004f6c; color: white; }
.ivt-top a[aria-current]::after {
 content: "";
 position: absolute;
 top: 100%;
 left: 50%;
 transform: translateX(-50%);
 border: 10px solid transparent;
 border-top-color: #004f6c;
 border-bottom: 0;
 pointer-events: none;
 z-index: 1;
}
.ivt-top .ivt-division-link::before {
 content: "";
 order: 1;
 width: 14px;
 height: 14px;
 margin-left: 3px;
 background: url("/themes/corporate/img/invitro-menu-icon.png") center / contain no-repeat;
}
.ivt-top a:nth-child(2) { margin-right: auto; }
.ivt-nav-row { min-height: 75px; justify-content: space-between; }
.ivt-brand img { width: 175px; max-width: 38vw; height: auto; }
.ivt-nav, .ivt-nav ul { list-style: none; padding: 0; margin: 0; }
.ivt-nav > li { position: relative; white-space: nowrap; }
.ivt-nav a { display: inline-block; padding: .7em .25em; color: #25485b; }
.ivt-nav ul { display: none; background: white; box-shadow: 0 4px 12px #0002; padding: .5em 1em; }
.ivt-nav > li:hover ul, .ivt-nav > li.is-open ul { display: block; position: absolute; z-index: 2; }
.ivt-nav-toggle { display: none; }
.ivt-sub-toggle, .ivt-nav-toggle { color: #25485b; border: 0; background: transparent; }
.ivt-phone { white-space: nowrap; }
.ivt-header-search summary {
 display: grid;
 place-items: center;
 width: 44px;
 height: 44px;
 list-style: none;
 cursor: pointer;
 color: #004f6c;
}
.ivt-header-search summary::-webkit-details-marker { display: none; }
.ivt-header-search[open] summary, .ivt-header-search summary:hover { background: #eef5f7; }
.ivt-header-search:not([open]) .ivt-search-panel { display: none; }
.ivt-search-panel {
 position: absolute;
 inset: 100% 0 auto;
 z-index: 3;
 padding-block: 12px;
 background: #fff;
 box-shadow: 0 4px 12px #0002;
}
.ivt-search-form { display: flex; gap: 8px; max-width: 440px; margin-left: auto; }
.ivt-search-form input { flex: 1; min-width: 0; padding: 8px 12px; border: 1px solid #aaa; }
.ivt-search-form button { padding: 8px 16px; border: 1px solid #004f6c; background: #004f6c; color: #fff; }
.ivt-search-results { padding-block: 32px; }
.ivt-search-results article { padding-block: 16px; border-bottom: 1px solid #ddd; }
.ivt-search-results article h2 { margin-top: 0; font-size: 22px; }
.ivt-hero { position: relative; margin: 0 auto; max-width: 1600px; }
.ivt-hero img { width: 100%; height: auto; display: block; }
.ivt-hero [hidden] { display: none !important; }
.ivt-hero-controls { display: flex; gap: 6px; position: absolute; bottom: 5%; right: 2%; }
.ivt-hero-controls button { background: #fff; color: #24495d; border: 1px solid #ddd; border-radius: 4px; min-width: 36px; min-height: 32px; }
.ivt-logos .carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.ivt-logos .make-wrapper { flex: 0 0 clamp(100px, 15vw, 165px); scroll-snap-align: start; }
.ivt-logos .make-wrapper img { width: 100%; height: 80px; object-fit: contain; }
.ivt-logos .carousel-controller { position: static; display: flex; gap: 10px; justify-content: flex-end; }
.ivt-logos .carousel-controller a { position: static; float: none; background: #24495d; color: white; display: grid; place-items: center; width: 34px; height: 34px; }
.ivt-content iframe { max-width: 100%; }
.ivt-content .forminator-ui { max-width: 650px; }
.ivt-not-found { padding-block: 4rem; }
#wpadminbar img { max-width: none; }
@media (max-width: 1199px) {
 .ivt-nav-row { flex-wrap: wrap; gap: .5rem 1rem; padding-block: 10px; }
 .ivt-nav-toggle { display: inline-block; order: 2; }
 .ivt-nav-row nav { display: none; order: 3; flex: 0 0 100%; }
 .ivt-nav-row nav.is-open { display: block; }
 .ivt-nav { display: block; }
 .ivt-nav > li:hover ul, .ivt-nav > li.is-open ul { position: static; box-shadow: none; }
}
@media (max-width: 600px) {
 .ivt-top .container { font-size: 12px; }
 .ivt-top a:nth-child(2) { margin-right: 0; }
 .picture-box-element { background-size: cover !important; }
 .picture-box-description { overflow-wrap: anywhere; }
}

.ivt-top .container::before, .ivt-top .container::after,
.ivt-nav-row::before, .ivt-nav-row::after { display: none; }

.ivt-nav a { color: #1e1e1e; }
.ivt-phone { color: #f80055; }
.ivt-hero-controls { inset: 0 8px; align-items: center; justify-content: space-between; pointer-events: none; }
.ivt-hero-controls button { pointer-events: auto; font-size: 32px; line-height: 1; border: 0; background: #00344755; color: white; }
.ivt-hero-controls button:focus-visible, .ivt-hero-controls button:hover { background: #004f6c; }
.livicon { color: #004f6c; font-size: 48px; }
@media (min-width: 1200px) {
 .ivt-nav-row { display: grid; grid-template-columns: 23% 1fr; grid-template-rows: 60px 61px; gap: 0; }
 .ivt-brand { grid-area: 1 / 1 / 3 / 2; align-self: center; }
 .ivt-header-details { grid-area: 1 / 2 / 2 / 3; justify-self: end; }
 .ivt-phone { font-size: 24px; }
 .ivt-nav-row nav { grid-area: 2 / 2 / 3 / 3; }
 .ivt-nav { gap: clamp(14px, 2vw, 32px); }
 .ivt-hero:has(.ivt-hero-controls) img { aspect-ratio: 1600 / 315; object-fit: cover; }
}
@media (max-width: 1199px) {
 .ivt-nav > li:hover:not(.is-open) ul { display: none; }
 .ivt-header-details { margin-left: auto; }
 .ivt-nav-row nav.is-open { max-height: 65vh; overflow: auto; }
}
@media (max-width: 480px) {
 .ivt-hero-controls button { min-width: 26px; min-height: 26px; font-size: 22px; }
 .ivt-nav-row { min-height: 60px; }
}
.ivt-content #e159, .ivt-content #e233 { padding: 0; }
.site-header a.ivt-phone { color: #f80055; }
.ivt-division-intro { padding-block: 36px; }
.ivt-division-intro img { display: block; max-width: min(100%, 400px); margin-block: 18px; }
.ivt-division .ivt-nav { gap: 12px; flex-wrap: wrap; }
.ivt-division .ivt-nav ul { max-height: min(65vh, 550px); overflow: auto; white-space: normal; min-width: 180px; }
.ivt-division .ivt-content .royalSlider { width: 100%; }
.ivt-division .ivt-content img { max-width: 100%; }

@media (max-width: 600px) {
 .ivt-top a { min-height: 32px; padding-inline: 7px; }
 .ivt-top a[aria-current]::after { border-width: 6px 6px 0; }
}

.ivt-content .breadcrumb-box { background: #fff; }
.ivt-content .breadcrumb {
 background: transparent;
 color: #9c9c9c;
 font-size: 14px;
 line-height: 18px;
 margin: 0;
 padding-block: 11px;
}
.ivt-content .breadcrumb > a { color: inherit; }
.ivt-content .breadcrumb :is(.fa-home, .fa-angle-right) {
 display: inline-block;
 height: 12px;
 vertical-align: middle;
 font-size: 0;
 line-height: 0;
 padding: 0;
}
.ivt-content .breadcrumb .fa-home::before {
 content: "";
 display: block;
 width: 13px;
 height: 12px;
 background: currentColor;
 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 15'%3E%3Cpath d='M8 1 0 7.5l1 1.2L8 3l7 5.7 1-1.2L8 1Zm-5.5 7.5V14H7v-4h2v4h4.5V8.5L8 4 2.5 8.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ivt-content .breadcrumb .fa-angle-right {
 width: 8px;
 height: 12px;
 margin-inline: 2px;
}
.ivt-content .breadcrumb .fa-angle-right::before {
 content: "";
 display: block;
 width: 100%;
 height: 100%;
 background: currentColor;
 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='m2.5 2.5 3.5 3.5-3.5 3.5' fill='none' stroke='black' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ivt-feedback-page .ivt-content .forminator-ui.forminator-custom-form,
.ivt-feedback-page .ivt-content .forminator-ui.forminator-custom-form :is(.forminator-row, .forminator-field) {
 background-color: transparent;
}
.ivt-feedback-page .ivt-content .forminator-ui.forminator-custom-form :is(.forminator-input, .forminator-textarea, .forminator-select2 + .select2 .select2-selection) {
 background-color: #fff !important;
}

:is(.ivt-feedback-page, .ivt-enquiry) .forminator-ui.forminator-custom-form .forminator-button-submit {
 background-color: #333 !important;
 color: #fff !important;
 border-radius: 5px !important;
 padding: 11px 16px !important;
}
:is(.ivt-feedback-page, .ivt-enquiry) .forminator-ui.forminator-custom-form .forminator-button-submit:hover {
 background-color: #222 !important;
}
:is(.ivt-feedback-page, .ivt-enquiry) .forminator-ui.forminator-custom-form .forminator-button-submit:focus-visible {
 outline: 2px solid #004f6c;
 outline-offset: 3px;
}

#footer ul:has(> .footer-socials) { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
#footer .footer-socials { display: block; flex: 0 0 30px; width: 30px; margin: 0; }
#footer .footer-socials::before { content: none; }

#footer .footer-socials > a {
 display: inline-grid;
 place-items: center;
 width: 30px;
 height: 30px;
 border-radius: 4px;
 background-color: #004f6c;
 color: #fff;
 text-decoration: none;
}
#footer .footer-socials > a:hover { background-color: #2a7697; }
#footer .footer-socials > a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
#footer .footer-socials i::before {
 content: "";
 display: block;
 width: 17px;
 height: 17px;
 background: currentColor;
}
#footer .footer-socials .fa-linkedin-square::before {
 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3ZM1.7 5.5h2.6V15H1.7ZM6 5.5h2.5v1.3A3.1 3.1 0 0 1 11.2 5c2.8 0 3.3 1.8 3.3 4.2V15h-2.6V9.9c0-1.2-.1-2.5-1.6-2.5-1.5 0-1.8 1.2-1.8 2.4V15H6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
#footer .footer-socials .fa-youtube-square::before {
 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3 2.5h10A2.5 2.5 0 0 1 15.5 5v6a2.5 2.5 0 0 1-2.5 2.5H3A2.5 2.5 0 0 1 .5 11V5A2.5 2.5 0 0 1 3 2.5ZM6.5 5v6l5-3-5-3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

#contact-enquiry { scroll-margin-top: 160px; }
.ivt-message-button {
 position: fixed;
 z-index: 101;
 right: max(16px, env(safe-area-inset-right));
 bottom: max(16px, env(safe-area-inset-bottom));
 display: inline-flex;
 align-items: center;
 gap: 8px;
 justify-content: center;
 min-width: 44px;
 min-height: 44px;
 padding: 12px;
 border-radius: 24px;
 background: #004f6c;
 color: #fff;
 font-weight: 600;
 text-decoration: none;
 box-shadow: 0 2px 8px #0003;
}
.ivt-message-button:hover, .ivt-message-button:focus { color: #fff; background: #003d55; text-decoration: none; }
.ivt-message-button:focus-visible { outline: 2px solid #004f6c; outline-offset: 3px; }

.ivt-message-button svg { flex: none; }
.ivt-message-label { display: none; }
.ivt-message-button:is(:hover, :focus-visible) { padding-inline: 17px; }
.ivt-message-button:is(:hover, :focus-visible) .ivt-message-label { display: inline; }

a.ivt-message-button,
a.ivt-message-button:is(:link, :visited, :hover, :focus, :active),
.ivt-message-button .ivt-message-label { color: #fff; }
.ivt-message-button svg { stroke: #fff; }

.ivt-division .ivt-nav > li > a { color: #004f6d; }
.ivt-header-details { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 16px; }
.site-header .ivt-header-link { color: #575a5b; white-space: nowrap; }
.site-header .ivt-header-link:is(:hover, :focus-visible, :active),
.ivt-division .site-header a.ivt-phone { color: #eb145a; }
@media (max-width: 480px) {
 .ivt-division .ivt-header-details { order: 2; flex-basis: 100%; justify-content: flex-start; }
 .ivt-division .ivt-nav-toggle { margin-left: auto; }
}

.ivt-brand-division { max-width: 72vw; }
.ivt-brand.ivt-brand-division img { display: block; width: 335px; max-width: 100%; height: auto; }
.ivt-division-diagnostics .ivt-brand { display: inline-flex; align-items: center; }
.ivt-division-diagnostics .ivt-brand img { width: 145px; max-width: 32vw; }
.ivt-brand-name { border-left: 1px solid #6e9baa; padding-left: 8px; color: #004f6c; font-size: clamp(14px, 2vw, 20px); font-style: italic; }
@media (min-width: 1200px) {
 .ivt-division .ivt-nav-row { grid-template-columns: 30% minmax(0, 1fr); }
}

.ivt-content figure.ivt-visual-image { margin: 0; }
:where(.ivt-content) .ivt-product-text { margin: 0; padding: 0; }
.ivt-content figure.ivt-product-image { display: contents; }

.ivt-hero-controls button.ivt-hero-autoplay { position: absolute; right: 0; bottom: 6px; font-size: 14px; }

.ivt-hero:has(.ivt-hero-controls) { overflow: hidden; }
.ivt-hero .ivt-slide-outgoing { position: absolute; inset: 0; width: 100%; pointer-events: none; }
.ivt-hero-controls { z-index: 1; }

.ivt-top .ivt-country-icon { margin-inline-end: 4px; font-size: 12px; line-height: 1; }

.ivt-new-article { padding-block: 28px 48px; }
.ivt-news-pagination .page-numbers { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; }
.ivt-news-pagination .page-numbers .page-numbers { display: inline-block; }
.ivt-home-news article { margin-bottom: 18px; }

.ivt-promotions { clear: left; }
.ivt-promotion-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 332px));
 gap: 12px;
 padding-block: 12px;
}
.ivt-promotion-card { min-width: 0; }
.ivt-promotion-card .wp-block-image { margin: 0; }
.ivt-promotion-card img { display: block; width: 100%; height: auto; }
/* Permit commodity disclosures use the existing accordion containers. */
.ivt-content .ElementAccordian .panel-group > .wp-block-details {
    margin: 0 0 5px;
}

.ivt-content .ElementAccordian .panel-group > .wp-block-details > summary {
    background: #f2f2f2;
    cursor: pointer;
    line-height: 22px;
    padding: 9px 15px;
}

.ivt-content .ElementAccordian .panel-group > .wp-block-details > summary:hover {
    background: #e9e9e9;
}
