/* Fonts */
@font-face {
    font-family: 'ABBvoice';
    src: url('/fonts/ABBvoice_W_Lt.woff2') format('woff2');
    font-weight: 300;
}

@font-face {
    font-family: 'ABBvoice';
    src: url('/fonts/ABBvoice_W_Rg.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'ABBvoice';
    src: url('/fonts/ABBvoice_W_Md.woff2') format('woff2');
    font-weight: 500;
}

@font-face {
    font-family: 'ABBvoice';
    src: url('/fonts/ABBvoice_W_Bd.woff2') format('woff2');
    font-weight: 700;
}

@font-face {
    font-family: 'ABBvoiceDisplay';
    src: url('/fonts/ABBvoiceDisplay_W_SBd.woff2') format('woff2');
    font-weight: normal;
}

/* Tools */
.fade-in {
    opacity: 1 !important;
    transition: opacity 500ms ease;
}

.fade-out {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 500ms ease;
}

.button,
.file-lightbox,
.file-lightbox-blank,
.red-line-columns .submit-details {
    background-color: #ff000f;
    color: #fff;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    white-space: nowrap;
}


.button img {
    width: 25px;
    display: block;
    margin-left: 12px;
    transform: translateY(1px);
}

.box {
    background-color: #f5f5f5;
    box-sizing: border-box;
    padding: 50px 20px;
    border-radius: 20px;
}

.box.red {
    color: white;
    background-color: #ff000f;
    background-image: url('/images/Consultants-product-selection-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.box h1 {
    font-size: 2.4rem;
}

.box h2 {
    font-size: 2.4rem;
    font-weight: 500;
}

.flex-row {
    display: flex;
    gap: 40px;
}

.flex-row.centre {
    justify-content: center;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden; /* Prevent scrolling on iPad */
}

body {
    font-family: 'ABBvoice', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #fff;
    color: #000;
    -webkit-font-smoothing: antialiased;
    /* -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
    /* user-select: none; /* Prevent text selection on iPad */
    font-size: 1rem;
    line-height: 1.15;
    display: flex;
}

/* App Container */
.app-container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    margin: auto;
    position: relative;
    opacity: 0;
}

.page-content {
    margin: auto;
    position: relative;
    width: 100%;
    height: 95%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

section {
    min-height: 0;
}

section:not(.full-width) {
    width: 96%;
    margin: 0 auto;
}

section.flexing {
    display: flex;
    flex: 1;
}

.abb-line {
    height: 5px;
    background-color: #ee0000;
    width: 42px;
    margin-bottom: 10px;
}

.gradient {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 280px;
    pointer-events: none;
    z-index: -3;
}

.gradient img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Global */

.intro {
    display: flex;
}

.intro h1 {
    font-size: 2.4rem;
}

.intro h2 {
    font-size: 2.4rem;
    font-weight: 500;
}

.intro.image-inc .text {
    width: 70%;
}

.intro.image-inc .image {
    width: 30%;
    display: flex;
    justify-content: center;
    height: 130px;
}

.intro.image-inc .image img {
    display: block;
    height: 100%;
    width: auto;
    margin-left: auto;
    margin-right: 35px;
}

.intro.image-inc.small .image {
    height: 90px;
}

.intro.image-inc.small .image img {
    margin-right: unset;
}

.intro.image-inc.small.furse .image {
    height: 60px;
    transform: translateY(10px);
}

.intro.tiny h3 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.intro.image-inc.tiny .image {
    height: 50px;
    width: 20%;
}

.intro.image-inc.tiny .image img {
    margin-right: unset;
}

.intro.image-inc.tiny .text {
    width: 80%;
}

.intro.image-inc.tiny .abb-line {
    width: 26px;
    height: 4px;
}

.diagram-text {
    box-sizing: border-box;
    padding: 0 50px;
    margin-top: -35px;
}

.diagram-text .diagram {
    /* height: 300px; */
    height: 30vw;
    max-height: 400px;
    margin-bottom: 20px;
}

.diagram-text .diagram img {
    height: 100%;
    width: 90%;
    object-position: center;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.diagram-text .diagram-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 7%;
    max-width: 1400px;
    margin: 0 auto;
    transform: translateX(20px);
}


.diagram-text .diagram-columns .column h3 {
    font-size: 1.4rem;
    padding-bottom: 8px;
}

.diagram-text .diagram-columns .column p {
    font-size: 0.9rem;
    
}

.quad-boxes .boxes-area {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr); 
    gap: 20px;
    height: 100%;
}

.boxes-area .box {
    padding: 10px 20px;
}

.boxes-area .box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.boxes-area .box p {
    margin-bottom: 20px;
}

.boxes-area .box p:last-child {
    margin-bottom: unset;
}

.boxes-area .box img {
    width: 100%;
    display: block;
    object-fit: contain;
    height: 70px;
}

.boxes-area .box .boxes-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 10px auto 0 auto;
    gap: 40px;
}

.boxes-area .box .boxes-row p {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: unset !important;
}

.quad-boxes .boxes-area.three {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr); 
    gap: 20px;
    height: 100%;
}

.boxes-area.three .box {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.boxes-area.three .box h3 {
    font-size: 1.4rem;
}

.boxes-area.three .box img {
    width: 100%;
    height: unset;
}

.boxes-area.three .box .boxes-row {
    box-sizing: border-box;
    gap: 10%;
    height: 45px;
}

.boxes-area.three .box .boxes-row p {
    font-size: 0.9rem;
}

/* Homepage */
.page-content.home-content {
    padding-top: unset;
    justify-content: center;
}

.home-content .container {
    display: flex;
    column-gap: 10px;
    justify-content: space-between;
}

.home-content .intro {
    margin-bottom: 30px;
}

.home-content h1 {
    font-size: 2.4rem;
}

.home-content h2 {
    font-size: 2.4rem;
    font-weight: 500;
}

.home-content .home-button {
    position: relative;
    height: 430px;
    width: 32.5%;
    display: flex;
    text-decoration: none;
    cursor: pointer;
}

.home-content .home-button img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
}

.home-content .home-button .text {
    display: flex;
    width: 100%;
    height: 100px;
    margin-top: auto;
    position: relative;
}

.home-content .home-button .text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(185, 185, 185, 0.6);
    backdrop-filter: blur(10px);
}

.home-content .home-button .text h3 {
    z-index: 2;
    position: relative;
    font-family: 'ABBvoiceDisplay', 'ABBvoice', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.5rem;
    padding: 0 18px;
    margin-top: auto;
    margin-bottom: 23px;
    color: #fff;
    font-weight: 500;
}

.home-logo {
    width: 125px;
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Summary Page */

.summary-content .image {
    height: 60%;
}

.summary-content .image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.summary-content .box {
    min-height: 250px;
}

/* Pre-Product Page */
.red-line-tech {
    position: relative;
    margin-top: 30px;
}

.red-line-tech img {
    width: 85%;
    margin: 0 auto;
    display: block;
    position: relative;
    z-index: 1;
}

.red-line-tech.cable img {
    width: 70%;
}

.red-line-tech::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 100vw;
    height: 0.35vw;
    background: #ea3328;
    transform: translateX(-100%);
}

.red-line-columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    margin: auto;
    padding-top: 40px;
    transform: translateX(0.5%);
}

.red-line-columns.cable {
    justify-content: space-between;
    display: flex;
    width: 78%;
    transform: unset;
}

.red-line-columns .column {
    display: flex;
}

.red-line-columns .button,
.red-line-columns .file-lightbox,
.red-line-columns .file-lightbox-blank,
.red-line-columns .submit-details {
    white-space: nowrap;
    display: inline-block;
    margin: 0 auto;
    padding: 10px 20px;
}

.footer-image-float {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 260px;
    z-index: -1
}

.footer-image-float img {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}

/* Product Page */
.product-content.standard > section:not(.solo) {
    /* height: 95%; */
    height: 100%;
    display: flex;
    gap: 25px;
    margin-right: 0;
    width: 98%;
}

.product-content.standard > section.solo {
    margin-bottom: 30px;
}

.intro.bubble-inc .text {
    width: 50%;
}

.product-content.standard.lowered-bubble > section:not(.solo) {
    width: 96%;
    margin-right: auto;
    height: 80%;
}

.intro.bubble-inc .bubble {
    width: 50%;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 20px;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.3;
}


.intro.bubble-inc .bubble strong {
    font-weight: bold;
}

.bubble-wrap {
    background-color: #f5f5f5;
    padding: 35px 30px;
    box-sizing: border-box;
    border-radius: 25px;
    height: 100%;
    width: 50%;
    display: flex;
    flex-direction: column;
    overflow: scroll;
}

.bubble-wrap .intro h1,
.bubble-wrap .intro h2 {
    font-size: 2.1rem;
}

.bubble-wrap .main-portion {
    margin-top: 20px;
    font-weight: 300;
    font-size: 1.3rem;
    line-height: 1.25;
}

.bubble-wrap .main-portion.limited {
    width: 87%;
}

.bubble-wrap .main-portion img.icon {
    width: 70px;
    height: 70px;
    display: block;
    object-fit: contain;
}

.bubble-wrap .main-portion h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 5px 0;
}

.bubble-wrap .main-portion p {
    font-weight: 300;
    font-size: 1.1rem;
}

.bubble-wrap .main-portion .row:first-child {
    margin-top: 5px;
}

.bubble-wrap .main-portion .row {
    margin-bottom: 20px;
}

.bubble-wrap .main-portion .row:last-child {
    margin-bottom: unset;
}

.bubble-wrap .main-portion {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bubble-wrap .main-portion ul {
    margin-top: 40px;
    font-weight: 500;
    font-size: 1.1rem;
    padding-left: 20px;
}

.main-portion.larger > * {
    font-size: 1.3rem !important;
}

.main-portion.paragraphs > * {
    margin-bottom: 20px;
}

.main-portion.paragraphs > *:last-child {
    margin-bottom: unset;
}

.lowered-bubble .bubble-wrap .main-portion {
    margin-top: unset;
}

.micro-text {
    margin-top: 15px;
    font-size: 1rem !important;
}

.accreds {
    width: 100%;
    height: auto;
    margin-top: auto;
    object-fit: contain;
}

.product-image {
    width: 50%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.big-image {
    width: 80%;
    margin: auto;
    padding-top: 30px;
}

.big-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mega-diagram {
    position: fixed;
    left: 0;
    bottom: -30px;
    width: 100vw;
}

.mega-diagram img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: bottom;
}

.pie-diagram {
    display: flex;
    width: 100%;
}

.pie-diagram .pie {
    width: 100%;
    margin: auto;
    position: relative;
}

.pie-diagram .pie > img {
    display: block;
    width: 40%;
    margin: auto;
    height: 100%;
    object-fit: contain;
}

.pie-diagram .floating-box {
    position: absolute;
}

.pie-diagram .floating-box.t {
    position: absolute;
    top: 0;
}

.pie-diagram .floating-box.b {
    position: absolute;
    bottom: 0;
}

.pie-diagram .floating-box.l {
    position: absolute;
    left: 0;
}

.pie-diagram .floating-box.r {
    position: absolute;
    right: 0;
}

.pie-diagram .floating-box img {
    width: 70px;
    height: 70px;
    margin-left: 25px;
    object-fit: contain;
    margin-bottom: 10px;
}

.pie-diagram .floating-box .box {
    padding: 20px 25px;
}

.pie-diagram .floating-box .box p {
    max-width: 240px;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Header */
.app-header {
    background: #fff;
    padding: 2.4rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    position: fixed;
    width: 100vw;
    z-index: 5;
    top: 0;
    left: 0;
    transition: top 500ms ease;
    height: 90px;
}

.app-header.hidden {
    top: -300px;
}

.app-header .wrapper {
    display: flex;
    width: 100%;
    height: 45px;
}

.app-header .logo-area {
    height: 100%;
    /* width: 12.5%; */
    width: 120px;
}

.header-main {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 2px solid #cccccc;
    padding-left: 10px;
    box-sizing: border-box;
}

#page-title {
    font-size: 0.88rem;
    font-weight: 600;
}

#breadcrumb {
    display: flex;
}

#breadcrumb .home-house {
    margin-top: auto;
    display: block;
}

#breadcrumb .home-house img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    margin-top: auto;
    transform: translateY(-1px);
}

#breadcrumb .chevron {
    margin-top: auto;
    margin-bottom: auto;
    display: block;
    padding: 0 13px;
}

#breadcrumb .chevron:nth-child(2) {
    padding-left: 0;
}

#breadcrumb .chevron img {
    width: 13px;
    height: 13px;
    object-fit: contain;
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    transform: translateY(0px);
}

#breadcrumb a,
#breadcrumb span {
    font-size: 0.8rem;
    display: block;
    margin: auto 0;
    text-decoration: unset;
    color: #000;
}

#breadcrumb a {
    cursor: pointer;
    white-space: nowrap;
}

#breadcrumb span:last-child {
    font-weight: 500;
}

.app-header .contact-area {
    width: 20%;
    display: flex;
    justify-content: right;
    margin-left: auto;
}

.app-header .contact-area .submit-details {
    display: block;
    margin-top: auto;
    font-size: 1rem;
    background-color: #ff000f;
    color: #fff;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.app-header .contact-area .submit-details img {
    width: 25px;
    display: block;
    margin-left: 12px;
    transform: translateY(1px);
}

.app-header .main-logo {
    display: block;
    height: 100%;
    width: 100px;
}

/* Submit Details Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    max-width: 1000px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.popup-close {
    border: unset;
    position: absolute;
    display: block;
    right: 30px;
    top: 30px;
    font-size: 1rem;
    font-family: 'ABBvoice', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #c7c8cb;
    color: #3f3f3f;
}

#detailsForm .form-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 15px;
}

.popup-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.popup-content h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-group.fg-name {
    display: flex;
    column-gap: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 8px;
    border: none;
    font-size: 0.8rem;
    border-radius: 0;
    box-sizing: border-box;
    background-color: #fff;
    border-bottom: 2px solid #c8c8c8;
    font-family: 'ABBvoice', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.form-group .hint-text {
    color: #c8c8c8;
    font-size: 0.65rem;
    padding-top: 5px;
}

.form-group.phone-group input {
    padding-left: 40px;
}

.form-group.phone-group .plus {
    position: absolute;
    top: -1px;
    left: 12px;
    font-size: 1.8rem;
    font-family: 'ABBvoice', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #c8c8c8;
}

.submit-btn {
    grid-column: span 2;
    border: unset;
    margin: 0 auto;
    font-size: 1rem;
    margin-top: 30px;
    font-family: 'ABBvoice', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Smooth transitions */
* {
    transition: background-color 0.2s ease;
}

/* Disable iOS bounce scroll */
html {
    position: fixed;
    height: 100%;
    overflow: hidden;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

body {
    height: 100vh;
    margin-bottom: 20px;
}

/* Admin */
.admin-page {
    padding: 20px;
    flex-direction: column;
}

.admin-page h1 {
    margin-bottom: 10px;
}

.admin-page button {
    align-self: start;
    padding: 2px;
    margin-bottom: 10px;
}

.admin-page #count {
    font-weight: bold;
}

.admin-page > .table-container {
    box-sizing: border-box;
    overflow: scroll;
    margin-top: 10px;
}

#submissionsTable {
    box-sizing: border-box;
    border-collapse: collapse;
}

#submissionsTable th,
#submissionsTable td {
    border: 1px solid #ececec;
    padding: 8px;
    text-align: left;
}

#submissionsTable th {
    background: #ee0000;
    color: white;
}

#submissionsTable tr:nth-child(2n + 2) {
    background-color: #ddd;
}

.message-truncated {
    display: inline;
}

.message-full {
    display: none;
}

.read-more {
    color: #007aff;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 4px;
    font-size: 0.9em;
}

.read-more:hover {
    opacity: 0.7;
}

/* WIP*/
.modular-diagram {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.modular-diagram > * {
    margin: -2px;
}

.modular-diagram .point {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 -3px;
}

.modular-diagram .point.intro {
    width: 100%;
}


.modular-diagram .point .image {
    width: 70px;
    margin: 0 auto 0 auto;
}


.modular-diagram .point:not(.intro) .image img {
    display: block;
    margin-top: 8px;
}

.modular-diagram .point.intro .image img {
    display: block;
    margin-bottom: 10px;
}

.modular-diagram .point.intro svg {
    width: 100% !important;
}

/* Debug */
.button:not([datatargethref]):not(.form-button),
.home-button:not([datatargethref]) {
    opacity: 0.6;
    cursor: not-allowed;
}

/* === Scalability === */
.red-line-tech img {
    max-width: 1200px;
}

.red-line-tech::before {
    max-height: 5px;
}

.red-line-columns {
    max-width: 1400px;
}

.page-content > section > .intro {
    max-width: 1800px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.app-header .wrapper,
.product-content.standard.lowered-bubble > section:not(.solo),
.home-content .container {
    max-width: 1800px;
    margin: 0 auto;
}

.boxes-area {
    max-width: 1800px;
}

@media only screen and (min-width: 1200px) {
    .boxes-area .box {
        padding: 25px 30px;
    }
}

.mega-diagram img.desktop {
    display: none;
}

.mega-diagram img {
    max-height: 625px;
}

@media only screen and (min-width: 1100px) {
    .mega-diagram img.desktop {
        display: block;
        max-height: 70vh;
    }
    
    .mega-diagram img.tablet {
        display: none;
    }
}

.footer-landscape {
    position: fixed;
    width: 100vw;
    height: 28vw;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: -3;
    object-fit: cover;
    object-position: top;
}

.pie-diagram {
    max-width: 1800px;
    margin: 0 auto;
}

@media only screen and (min-width: 1400px) {
    .pie-diagram .floating-box.l {
        left: 50px;
    }

    .pie-diagram .floating-box.r {
        right: 50px;
    }
}

@media only screen and (min-width: 1700px) {
    .pie-diagram .floating-box.l {
        left: 150px;
    }

    .pie-diagram .floating-box.r {
        right: 150px;
    }
}

@media only screen and (min-width: 1600px) {
    .product-content.standard > section:not(.solo) {
        max-width: 1800px;
        margin: 0 auto;
    }
}

.big-image img {
    max-width: 1200px;
    margin: auto;
}

@media only screen and (min-width: 1200px) {
    .red-line-columns.cable {
        max-width: 1200px;
        transform: translateX(-30px) !important;
    }

    .red-line-tech.cable::before {
        max-height: 5px;
        top: 0.5px;
    }
}

@media only screen and (min-width: 1200px) {
    .home-content .home-button {
        height: 600px;
    }
}

@media only screen and (min-width: 1400px) {
    .home-content .home-button {
        height: 800px;
    }
}

@media only screen and (min-height: 900px) {
    .summary-content > section:nth-child(2) {
        margin-top: 7vh;
    }
}

@media only screen and (min-width: 1200px) {
    .boxes-area.three .box .intro h3 {
        font-size: 2rem !important;
    }
    
    .boxes-area.three .box p {
        font-size: 1.2rem !important;
    }
    
    /*
    .boxes-area.three .box h3 > br {
        display: none !important;
    }
    */
}

@media only screen and (min-width: 1200px) {
    .bubble-wrap .main-portion h3 {
        font-size: 2rem !important;
    }
    
    .bubble-wrap .main-portion p,
    .bubble-wrap .main-portion ul {
        font-size: 1.3rem !important;
    }
}

@media only screen and (min-width: 1200px) {
    .pie-diagram .floating-box .box p {
        font-size: 1.3rem;
        max-width: 300px;
    }
}

@media only screen and (min-width: 1300px) {
    .quad-boxes .boxes-area .box h3 {
        font-size: 1.8rem;
    }
    
    .quad-boxes .boxes-area .box p {
        font-size: 1.3rem;
    }

    .quad-boxes .boxes-area .box > img {
        height: 150px;
    }

    .boxes-area .box .boxes-row {
        gap: 60px;
    }

    .quad-boxes .boxes-area .box ul {
        font-size: 1.2rem !important;
        padding-left: 20px;
    }

    .intro.image-inc.small .image img {
        /* transform: translateY(20px); */
    }
}

.quad-boxes .boxes-area .box {
    display: flex;
    flex-direction: column;
}

.quad-boxes .boxes-area:not(.electrical) .box img {
    margin-top: auto;
}

section:first-child {
    padding-top: 30px;
    min-height: unset !important;
}

.post-product-content section:nth-child(2) {
    margin-top: 150px;
}

@media only screen and (max-width: 1400px) {
    .diagram-text {
        margin-top: -50px;
    }

    .product-content.quad-boxes .intro {
        padding-bottom: 0;
    }

    .product-content.quad-boxes .intro h1 {
        font-size: 1.7rem !important;
    }

    .product-content.quad-boxes .intro h2 {
        font-size: 1.6rem !important;
    }

    .post-product-content section:nth-child(2) {
        margin-top: 40px;
    }

    .red-line-columns .file-lightbox,
    .red-line-columns .file-lightbox-blank,
    .red-line-columns .submit-details {
        font-size: 0.9rem !important;
    }

    .product-content.standard > section.solo {
        margin-bottom: 0;
    }
    
    .product-content.standard > section.solo > .intro {
        padding-bottom: 10px !important;
    }

    .big-image {
        width: 75% !important;
    }

    .summary-content.finale > section:nth-child(2) {
        transform: translateY(-70px);
    }

}

.mega-diagram-2 {
    display: flex;
    height: 100%;
}

.mega-diagram-2 img {
    margin: auto;
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.col-1-img, 
.col-2-img {
    width: 100% !important;
    height: auto !important;
}

.boxes-area.three.electrical .box ul {
    padding-left: 20px !important;
}

/* Final Responisive Changes */
@media only screen and (max-width: 1400px) {
    /* Diagram */
    .diagram-text .diagram {
        height: 25vw;
    }
    
    .diagram-text .diagram img {
        max-width: 80%;
    }
    
    .diagram-text .diagram-columns .column h3 {
        font-size: 1.2rem;
    }


    .summary-content .intro h1 {
        font-size: 1.6rem;
    }

    .summary-content .intro h2 {
        font-size: 1.5rem;
    }

    .diagram-text {
        margin-top: -100px;
    }


    /* Product Selection */
    .product-content.quad-boxes .intro h1 {
        font-size: 1.5rem !important;
    }

    .product-content.quad-boxes .intro h2 {
        font-size: 1.3rem !important;
    }

    .boxes-area.three .box h3 {
        font-size: 1.2rem !important;
    }

    .boxes-area .box p {
        font-size: 0.9rem !important;
        margin-bottom: 0 !important;
    }

    .col-1-img {
        width: 80% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .col-2-img {
        width: 80% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .boxes-area.three.electrical .box p {
        margin-bottom: 10px !important;
    }

    .boxes-area.three.electrical .box ul {
        padding-left: 10px !important;
    }

    .mega-diagram-2 {
        height: 95% !important;
    }

    .product-content .bubble-wrap {
        padding: 20px !important;
    }

    .product-content .bubble-wrap h1 {
        font-size: 1.8rem !important;
    }

    .product-content .bubble-wrap h2 {
        font-size: 1.7rem !important;
    }

    .product-content .bubble-wrap .intro.image-inc.small .image {
        height: 70px !important;
    }

    .intro.image-inc.tiny .image {
        height: 40px !important;
    }

    .quad-boxes .intro.image-inc.tiny .abb-line {
        margin-bottom: 5px !important;
    }

    .quad-boxes .boxes-area .box h3 {
        margin-bottom: 0 !important;
    }

    .quad-boxes .boxes-area .box p {
        font-size: 0.8rem !important;
    }

    .quad-boxes .boxes-area .box.red h3 {
        margin-bottom: 10px !important;
    }

    .page-content {
        padding-bottom: 20px !important;
    }
}