
/* =========================================================
   REFMAC SIGNS LIMITED
   Corporate Website Modernisation
   Version: 2.0.0
   Phase 1 & Phase 2: Corporate Design System and Header
   Template: Tx Curex / T3 Framework
   ========================================================= */


/* 01. CORPORATE DESIGN VARIABLES
   ========================================================= */

:root {
    --rf-primary: #b51d28;
    --rf-primary-dark: #92151e;
    --rf-secondary: #17212e;
    --rf-heading: #17212e;
    --rf-text: #475569;
    --rf-white: #ffffff;
    --rf-light: #f4f5f7;
    --rf-border: #e2e8f0;

    --rf-radius: 6px;
    --rf-transition: 0.25s ease;
    --rf-shadow: 0 4px 20px rgba(23, 33, 46, 0.08);
}


/* 02. BASE TYPOGRAPHY
   ========================================================= */

body {
    color: var(--rf-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--rf-heading);
}

a {
    transition: color var(--rf-transition),
                background-color var(--rf-transition);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--rf-primary);
    outline-offset: 4px;
}


/* 03. TOP CONTACT BAR
   ========================================================= */

.t3-sl-roof {
    background: var(--rf-secondary);
    color: var(--rf-white);
    padding: 9px 0;
    font-size: 12px;
    line-height: 1.6;
}

.t3-sl-roof a {
    color: var(--rf-white);
    text-decoration: none;
}

.t3-sl-roof a:hover {
    color: #ffb8be;
}

.t3-sl-roof .t3-module {
    margin-bottom: 0;
}

.t3-sl-roof .module-inner {
    padding: 0;
}

.t3-sl-roof p {
    margin-bottom: 0;
}

.t3-sl-roof h3,
.t3-sl-roof h4 {
    color: var(--rf-white);
}


/* 04. MAIN HEADER CONTAINER
   ========================================================= */

.header-area.header-v1,
.rf-header {
    position: relative;
    background: var(--rf-white);
}

.header-v1 #t3-header {
    background: var(--rf-white);
    border-bottom: 1px solid var(--rf-border);
    box-shadow: var(--rf-shadow);
    padding: 0;
}

.rf-header #t3-header {
    border-bottom: 3px solid var(--rf-primary);
}

.header-v1 #t3-header > .container {
    width: 94%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}


/* Compatibility with original header */

.header-v1 #t3-header > .container > .row {
    display: flex;
    align-items: center;
    min-height: 90px;
}


/* 05. CORPORATE BRAND ROW
   ========================================================= */

.rf-header .rf-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 96px;
    padding: 16px 0;
}

.header-v1 .logo {
    margin-top: 0;
    margin-bottom: 0;
}

.rf-header .rf-brand {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}


/* 06. COMPANY LOGO
   ========================================================= */

.header-v1 .logo-image a {
    display: inline-block;
    max-width: 100%;
}

.header-v1 .logo-img,
.header-v1 .logo-img-sm {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.header-v1 .logo-img {
    width: 290px;
    max-height: 65px;
}

.rf-header .logo-img {
    width: 340px;
    max-height: 75px;
}

.header-v1 .site-slogan {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--rf-text);
}


/* 07. CORPORATE BUTTONS
   ========================================================= */

.rf-btn,
.rf-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    background: var(--rf-primary);
    color: var(--rf-white);
    border: 1px solid var(--rf-primary);
    border-radius: var(--rf-radius);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--rf-transition);
}

.rf-btn:hover,
.rf-btn-primary:hover,
.rf-btn:focus,
.rf-btn-primary:focus {
    background: var(--rf-primary-dark);
    border-color: var(--rf-primary-dark);
    color: var(--rf-white);
    text-decoration: none;
}

.rf-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid var(--rf-secondary);
    border-radius: var(--rf-radius);
    color: var(--rf-secondary);
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--rf-transition);
}

.rf-btn-outline:hover {
    background: var(--rf-secondary);
    color: var(--rf-white);
    text-decoration: none;
}


/* 08. HEADER ACTIONS AND QUOTATION BUTTON
   ========================================================= */

.rf-header .rf-header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 16px;
}

.rf-header .rf-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
    padding: 13px 26px;
    background: var(--rf-primary);
    border: 1px solid var(--rf-primary);
    border-radius: 5px;
    color: var(--rf-white);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color var(--rf-transition);
}

.rf-header .rf-quote-btn:hover,
.rf-header .rf-quote-btn:focus {
    background: var(--rf-primary-dark);
    border-color: var(--rf-primary-dark);
    color: var(--rf-white);
    text-decoration: none;
}


/* 09. MAIN NAVIGATION
   ========================================================= */

.rf-header .rf-navigation-row {
    position: relative;
    border-top: 1px solid var(--rf-border);
}

.rf-header .tx-main-menu {
    width: 100%;
    float: none;
    padding: 0;
}

.header-v1 .t3-mainnav {
    background: transparent;
    border: 0;
    margin: 0;
    box-shadow: none;
}

.rf-header #t3-mainnav {
    width: 100%;
    min-height: 0;
    float: none !important;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.header-v1 .t3-mainnav .navbar-nav > li > a {
    color: var(--rf-secondary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15px;
    transition: color var(--rf-transition);
}

.header-v1 .t3-mainnav .navbar-nav > li > a:hover,
.header-v1 .t3-mainnav .navbar-nav > li > a:focus {
    color: var(--rf-primary);
    background: transparent;
}

.header-v1 .t3-mainnav .navbar-nav > .active > a,
.header-v1 .t3-mainnav .navbar-nav > .current > a {
    color: var(--rf-primary);
    background: transparent;
}


/* 10. DESKTOP NAVIGATION
   ========================================================= */

@media (min-width: 992px) {

    .rf-header .t3-navbar {
        padding-left: 0;
        padding-right: 0;
    }

    .rf-header .t3-navbar .navbar-nav {
        float: none;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        margin: 0;
    }

    .rf-header .t3-navbar .navbar-nav > li {
        float: none;
    }

    .rf-header .t3-navbar .navbar-nav > li > a {
        position: relative;
        display: block;
        padding: 18px 15px;
        font-size: 14px;
        font-weight: 600;
        line-height: 22px;
        color: var(--rf-secondary);
        background: transparent;
        white-space: nowrap;
    }

    .rf-header .t3-navbar .navbar-nav > li > a:hover,
    .rf-header .t3-navbar .navbar-nav > li > a:focus,
    .rf-header .t3-navbar .navbar-nav > li.active > a {
        color: var(--rf-primary);
        background: transparent;
    }

}

@media (min-width: 1200px) {

    .header-v1:not(.rf-header) #t3-header
    > .container > .row > .logo {
        width: 27%;
    }

    .header-v1:not(.rf-header) #t3-header
    > .container > .row > .tx-main-menu {
        width: 73%;
    }

}


/* 11. DROPDOWN AND MEGA MENUS
   ========================================================= */

.header-v1 .t3-megamenu .mega-dropdown-menu {
    background: var(--rf-white);
    border: 1px solid var(--rf-border);
    border-top: 3px solid var(--rf-primary);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 12px 35px rgba(23, 33, 46, 0.12);
}

.header-v1 .t3-megamenu .mega-dropdown-menu a {
    color: var(--rf-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.header-v1 .t3-megamenu .mega-dropdown-menu a:hover {
    color: var(--rf-primary);
}


/* 12. SOCIAL MEDIA ICONS
   ========================================================= */

.t3-sl-roof .social ul {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.t3-sl-roof .social li {
    margin: 0;
}

.t3-sl-roof .social a {
    color: var(--rf-white);
    font-size: 13px;
}

.t3-sl-roof .social a:hover {
    color: #ffb8be;
}


/* 13. MOBILE MENU ICON
   ========================================================= */

.rf-header .rf-menu-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
}

.rf-header .rf-menu-icon > span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--rf-secondary);
    border-radius: 2px;
}


/* 14. TABLET RESPONSIVE HEADER
   ========================================================= */

@media (max-width: 991px) {

    .header-v1 #t3-header > .container {
        width: 100%;
    }

    .header-v1 #t3-header > .container > .row {
        min-height: 72px;
    }

    .rf-header .rf-brand-row {
        min-height: 76px;
        padding: 12px 0;
        gap: 12px;
    }

    .header-v1 .logo-img {
        width: 230px;
        max-height: 50px;
    }

    .rf-header .logo-img {
        width: 260px;
        max-height: 55px;
    }

    .rf-header .rf-quote-btn {
        font-size: 12px;
        min-height: 42px;
        padding: 10px 16px;
    }

    .header-v1 .navbar-toggle,
    .header-v1 .off-canvas-toggle {
        min-width: 44px;
        min-height: 44px;
        border-radius: var(--rf-radius);
    }

}


/* 15. MOBILE RESPONSIVE HEADER
   ========================================================= */

@media (max-width: 767px) {

    .header-v1 #t3-header > .container > .row {
        min-height: 66px;
    }

    .rf-header .rf-brand-row {
        min-height: 66px;
        gap: 10px;
    }

    .header-v1 .logo-img,
    .rf-header .logo-img {
        width: 200px;
        max-height: 44px;
    }

    .header-v1 .site-slogan {
        display: none;
    }

    .rf-header .rf-quote-btn {
        font-size: 11px;
        padding: 9px 12px;
        gap: 6px;
    }

    .rf-header .rf-navigation-row {
        min-height: 44px;
    }

    .t3-sl-roof {
        font-size: 11px;
        padding: 6px 0;
    }

}


/* 16. SMALL MOBILE DEVICES
   ========================================================= */

@media (max-width: 360px) {

    .rf-header .logo-img {
        width: 155px;
    }

    .rf-header .rf-quote-btn {
        font-size: 10px;
        padding: 8px;
        gap: 4px;
    }

}


/* 17. ACCESSIBILITY
   ========================================================= */

.rf-header a:focus-visible,
.rf-header button:focus-visible {
    outline: 2px solid var(--rf-primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .header-v1 a,
    .rf-header button,
    .rf-btn,
    .rf-btn-primary,
    .rf-btn-outline {
        transition: none;
    }

}


/* =========================================================
   END OF REFMAC SIGNS CORPORATE STYLESHEET
   VERSION 2.0.0
   PHASE 1 & PHASE 2
   ========================================================= */


/* =========================================================
   REFMAC SIGNS LIMITED
   Version 2.1.0
   T3 Navigation Compatibility Correction
   ========================================================= */


/* RESTORE NAVIGATION ROW */

.rf-header #t3-header > .container > .rf-navigation-row {
    display: block;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--rf-border);
}

.rf-header .rf-navigation-row > .tx-main-menu {
    display: block;
    width: 100%;
    float: none;
    padding: 0;
}

.rf-header #t3-mainnav {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    float: none !important;
}


/* CORRECT BRAND ROW HEIGHT */

.rf-header .rf-brand-row {
    min-height: 85px;
    height: auto;
    padding: 12px 0;
}


/* CORRECT QUOTATION BUTTON SIZE */

.rf-header .rf-header-actions .rf-quote-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    min-height: 44px !important;
    max-height: none !important;
    padding: 12px 22px !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    border-radius: 5px;
    box-sizing: border-box;
}


/* RESTORE DESKTOP MEGA MENU */

@media (min-width: 992px) {

    .rf-header #t3-mainnav .t3-navbar {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
    }

    .rf-header #t3-mainnav .t3-megamenu {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }

    .rf-header #t3-mainnav .t3-navbar .navbar-nav {
        display: flex !important;
        visibility: visible !important;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        margin: 0;
        padding: 0;
        float: none !important;
    }

    .rf-header #t3-mainnav .t3-navbar .navbar-nav > li {
        display: block;
        float: none;
    }

    .rf-header #t3-mainnav .t3-navbar .navbar-nav > li > a {
        display: block;
        padding: 15px 18px;
        color: var(--rf-secondary);
        font-size: 14px;
        font-weight: 600;
        line-height: 22px;
        background: transparent;
    }

    .rf-header #t3-mainnav .navbar-nav > li > a:hover,
    .rf-header #t3-mainnav .navbar-nav > li.active > a {
        color: var(--rf-primary);
    }

    .rf-header #t3-mainnav .navbar-header {
        display: none;
    }

}


/* MOBILE HEADER */

@media (max-width: 991px) {

    .rf-header .rf-brand-row {
        min-height: 70px;
        padding: 10px 0;
    }

    .rf-header .rf-header-actions .rf-quote-btn {
        font-size: 12px !important;
        padding: 10px 14px !important;
    }

    .rf-header .rf-navigation-row {
        min-height: 44px;
    }

}

@media (max-width: 767px) {

    .rf-header .rf-header-actions .rf-quote-btn {
        font-size: 11px !important;
        padding: 8px 12px !important;
    }

}

/* END OF VERSION 2.1.0 CORRECTION */


/* =========================================================
   REFMAC SIGNS LIMITED
   Version 2.2.0
   Corporate Top Contact Bar
   ========================================================= */

.t3-sl-roof {
    background: var(--rf-secondary);
    color: #ffffff;
    padding: 0;
    border: 0;
}

.t3-sl-roof > .container {
    width: 94%;
    max-width: 1440px;
    margin: 0 auto;
}

.t3-sl-roof .t3-spotlight > div {
    width: 100%;
    float: none;
}

.t3-sl-roof .t3-module,
.t3-sl-roof .module-inner,
.t3-sl-roof .module-ct {
    margin: 0;
    padding: 0;
}

.rf-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    min-height: 38px;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    color: #ffffff;
}

.rf-topbar-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.rf-topbar-contact a,
.rf-topbar-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
}

.rf-topbar i {
    color: #ff9399;
    font-size: 13px;
}

.rf-topbar-contact a:hover {
    color: #ffb8be;
    text-decoration: none;
}


/* TABLET */

@media (max-width: 991px) {

    .rf-topbar {
        justify-content: center;
        gap: 8px;
    }

    .rf-topbar-contact {
        justify-content: center;
        gap: 16px;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .rf-topbar {
        min-height: 34px;
        padding: 6px 0;
        font-size: 11px;
    }

    .rf-topbar-contact {
        justify-content: center;
        gap: 8px 15px;
    }

    .rf-topbar-location {
        display: none;
    }

    .rf-topbar i {
        font-size: 11px;
    }

}


/* END OF VERSION 2.2.0 */


/* =========================================================
   REFMAC SIGNS LIMITED
   Version 2.2.2
   Compact Corporate Header Refinement
   ========================================================= */


/* 01. REMOVE EXCESS TOP BAR SPACING */

.t3-sl-roof,
.t3-sl-roof > .container,
.t3-sl-roof .t3-spotlight,
.t3-sl-roof .t3-spotlight > div,
.t3-sl-roof .t3-module,
.t3-sl-roof .module-inner,
.t3-sl-roof .module-ct,
.t3-sl-roof .custom {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* 02. COMPACT CONTACT BAR */

.t3-sl-roof .rf-topbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 38px !important;
    height: auto !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 20px !important;
    box-sizing: border-box;
}

.t3-sl-roof .rf-topbar p {
    margin: 0 !important;
    padding: 0 !important;
}

.t3-sl-roof .rf-topbar-contact {
    align-items: center;
    gap: 24px;
}

.t3-sl-roof .rf-topbar-location {
    align-items: center;
}


/* 03. REMOVE UNNECESSARY EMPTY PARAGRAPHS */

.t3-sl-roof .custom > p:empty {
    display: none !important;
}


/* 04. COMPACT COMPANY BRAND ROW */

.rf-header .rf-brand-row {
    min-height: 76px !important;
    height: auto !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    align-items: center;
}

.rf-header .logo-img {
    width: 340px;
    max-width: 100%;
    height: auto;
}


/* 05. QUOTATION BUTTON */

.rf-header .rf-header-actions .rf-quote-btn {
    min-height: 42px !important;
    height: auto !important;
    padding: 10px 22px !important;
    font-size: 13px !important;
    line-height: 20px !important;
}


/* 06. COMPACT DESKTOP NAVIGATION */

@media (min-width: 992px) {

    .rf-header #t3-mainnav
    .t3-navbar .navbar-nav > li > a {
        padding: 13px 18px !important;
        font-size: 14px;
        line-height: 20px;
    }

}


/* 07. TABLET RESPONSIVENESS */

@media (max-width: 991px) {

    .t3-sl-roof .rf-topbar {
        justify-content: center;
        gap: 6px;
    }

    .rf-header .rf-brand-row {
        min-height: 68px !important;
    }

    .rf-header .logo-img {
        width: 260px;
    }

}


/* 08. MOBILE RESPONSIVENESS */

@media (max-width: 767px) {

    .t3-sl-roof .rf-topbar {
        justify-content: center;
        min-height: 32px !important;
        font-size: 11px !important;
        padding: 5px 0 !important;
    }

    .t3-sl-roof .rf-topbar-contact {
        justify-content: center;
        gap: 6px 14px;
    }

    .t3-sl-roof .rf-topbar-location {
        display: none !important;
    }

    .rf-header .rf-brand-row {
        min-height: 60px !important;
        padding: 8px 0 !important;
    }

    .rf-header .logo-img {
        width: 200px;
    }

    .rf-header .rf-header-actions .rf-quote-btn {
        font-size: 11px !important;
        padding: 8px 12px !important;
    }

}


/* END OF VERSION 2.2.2 */


/* =========================================================
   REFMAC SIGNS LIMITED
   Version 2.3.0
   Independent Corporate Contact Bar
   ========================================================= */

.rf-corporate-roof {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: #17212e;
    color: #ffffff;
    box-sizing: border-box;
}

.rf-roof-container {
    width: 94%;
    max-width: 1440px;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.rf-corporate-roof .custom,
.rf-corporate-roof .mod-custom {
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 0;
}

.rf-corporate-roof .rf-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    min-height: 36px;
    height: auto;
    margin: 0;
    padding: 6px 0;
    gap: 8px;
    font-size: 12px;
    line-height: 20px;
    color: #ffffff;
    box-sizing: border-box;
}

.rf-corporate-roof .rf-topbar-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.rf-corporate-roof .rf-topbar-location {
    display: flex;
    align-items: center;
}

.rf-corporate-roof a,
.rf-corporate-roof span {
    color: #ffffff;
    font-size: inherit;
    line-height: inherit;
    text-decoration: none;
}

.rf-corporate-roof a:hover {
    color: #ffb8be;
}

.rf-corporate-roof p {
    margin: 0;
    padding: 0;
}

.rf-corporate-roof p:empty {
    display: none;
}


/* TABLET */

@media (max-width: 991px) {

    .rf-corporate-roof .rf-topbar {
        justify-content: center;
        text-align: center;
    }

    .rf-corporate-roof .rf-topbar-contact {
        justify-content: center;
        gap: 16px;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .rf-roof-container {
        width: 100%;
        padding: 0 12px;
    }

    .rf-corporate-roof .rf-topbar {
        min-height: 32px;
        font-size: 11px;
        padding: 5px 0;
    }

    .rf-corporate-roof .rf-topbar-contact {
        justify-content: center;
        gap: 4px 14px;
    }

    .rf-corporate-roof .rf-topbar-location {
        display: none;
    }

}

/* END OF VERSION 2.3.0 */


/* =========================================================
   REFMAC SIGNS LIMITED
   Version 2.4.0
   Compact Mobile Header
   ========================================================= */

@media (max-width: 991px) {

    /* Main header container */

    .rf-header #t3-header {
        padding: 0 !important;
    }

    .rf-header #t3-header > .container {
        position: relative;
        width: 100%;
        padding: 0 12px !important;
        box-sizing: border-box;
    }

    /* Compact brand row */

    .rf-header .rf-brand-row {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        min-height: 64px !important;
        height: auto !important;
        padding: 8px 52px 8px 0 !important;
        gap: 10px;
        box-sizing: border-box;
    }

    /* Responsive company logo */

    .rf-header .rf-brand {
        flex: 1 1 auto;
        min-width: 0;
        width: auto !important;
    }

    .rf-header .logo-image a {
        display: block;
        max-width: 100%;
    }

    .rf-header .logo-img,
    .rf-header .logo-img-sm {
        width: 210px;
        max-width: 100%;
        max-height: 42px;
        height: auto;
        object-fit: contain;
    }

    /* Compact quotation button */

    .rf-header .rf-header-actions {
        flex: 0 0 auto;
        gap: 0;
    }

    .rf-header .rf-header-actions .rf-quote-btn {
        min-height: 40px !important;
        padding: 8px 12px !important;
        font-size: 11px !important;
        line-height: 18px !important;
        gap: 0;
        white-space: nowrap;
    }

    .rf-header .rf-quote-btn > span {
        display: none;
    }

    /* Position menu beside quotation button */

    .rf-header #t3-header > .container >
    .rf-navigation-row {
        position: absolute !important;
        top: 0;
        right: 8px;
        width: 44px !important;
        height: 64px !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .rf-header .rf-navigation-row >
    .tx-main-menu {
        width: 100%;
        height: 100%;
        padding: 0 !important;
    }

    .rf-header #t3-mainnav {
        width: 100%;
        height: 100%;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent;
    }

    .rf-header #t3-mainnav .navbar-header {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Mobile menu button */

    .rf-header #t3-mainnav .navbar-toggle,
    .rf-header #t3-mainnav .off-canvas-toggle {
        position: absolute;
        top: 10px;
        right: 0;
        width: 44px;
        height: 44px;
        min-height: 44px;
        margin: 0 !important;
        padding: 8px !important;
        border: 0 !important;
        background: transparent !important;
        color: var(--rf-secondary);
        box-shadow: none !important;
    }

    /* Keep expanded collapse menu readable */

    .rf-header #t3-mainnav
    .t3-navbar-collapse.in,
    .rf-header #t3-mainnav
    .t3-navbar-collapse.collapsing {
        position: absolute;
        top: 64px;
        right: -8px;
        width: 100vw;
        max-height: 70vh;
        overflow-y: auto;
        background: #ffffff;
        box-shadow: var(--rf-shadow);
        z-index: 1000;
    }

    /* Compact contact bar */

    .rf-corporate-roof .rf-topbar {
        min-height: 30px;
        padding: 4px 0;
        font-size: 10px;
        line-height: 18px;
    }

    .rf-corporate-roof .rf-topbar-contact {
        justify-content: center;
        gap: 4px 12px;
    }

    .rf-corporate-roof .rf-topbar-location {
        display: none !important;
    }
}


/* Smaller mobile devices */

@media (max-width: 480px) {

    .rf-header .logo-img,
    .rf-header .logo-img-sm {
        width: 180px;
    }

    .rf-header .rf-header-actions .rf-quote-btn {
        font-size: 10px !important;
        padding: 8px 10px !important;
    }

}

@media (max-width: 360px) {

    .rf-header .logo-img,
    .rf-header .logo-img-sm {
        width: 145px;
    }

    .rf-header .rf-brand-row {
        gap: 6px;
    }

    .rf-header .rf-header-actions .rf-quote-btn {
        padding: 7px !important;
    }

}

/* END OF VERSION 2.4.0 */


/* =========================================
   REFMAC - RESPONSIVE QUOTATION SECTION
   ========================================= */

#qx-row-n57ex {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 450px;
}

/* Tablet */

@media (min-width: 768px) and (max-width: 991px) {

    .rf-quote-image {
        min-height: 400px;
    }

}

/* Mobile */

@media (max-width: 767px) {

    .rf-quote-image {
        width: 100% !important;
        min-height: 280px !important;
    }

    .rf-quote-content {
        width: 100% !important;
    }

}


/* Refmac - Detailed Quote Mobile Image */

@media screen and (max-width: 767px) {

    #qx-row-n57ex > .qx-column:first-child {
        min-height: 260px !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

}


/* =========================================
   REFMAC - QUOTATION IMAGE MOBILE FIX
   ========================================= */

@media screen and (max-width: 767px) {

    #qx-column-hlwp4 {
        min-height: 260px !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

}

/* END QUOTATION IMAGE MOBILE FIX */
