﻿/*fixUK.css*/

/*- overwrites*/

/*stop change colour after click*/

/* Logo responsive sizing */
.logo-img {
    height: 60px; /* Smaller on mobile */
    max-width: 100%;
    object-fit: contain;
}

/* Desktop logo size */
@media (min-width: 768px) {
    .logo-img {
        height: 75px;
    }
}

/* Mobile menu adjustments */
@media (max-width: 767px) {
    .mobile-menu-col {
        padding: 0.25rem !important;
    }

    .mobile-logo-text {
        font-size: 1.2rem !important;
        margin-top: 5px !important;
    }

    .mobile-subscribe-col {
        margin-top: 5px !important;
        text-align: center;
    }
}


/* Make input boxes shrink on smaller screens */
@media (max-width: 1200px) {
    .f-feedback-input {
        min-width: 35px; /* Shrinks input box */
        max-width: 70px; /* Allows it to fill available space */
    }
}

/* Default styling for input boxes */
.f-feedback-input {
    min-width: 60px;
    max-width:80px;
}

/* Ensure images stay within their bounds */
.f-feedback-img {
    max-height: 45px;
    min-height: 45px;
    height: auto;
    width: auto;
}

/*used input source component*/
.f-overflow-wrap {
    width: 100%;
    display: block;
}


.f-content-box {
    max-width: 100%;
    overflow: hidden;
    word-break: break-word;
    white-space: normal;
}


    /* Force all nested HTML to wrap */
    .f-content-box * {
        word-break: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
    }


.f-linkDontChange:link,
.f-linkDontChange:visited {
    color: white; /* or any color you prefer */
    text-decoration: none; /* optional: removes underline */
}


/*stop remove border content first load*/
h1:focus {
    outline: none;
    border: none;
}


/*h4 ~ p targets all <p > elements that follow <h5 >, regardless of how many.*/

h1 ~ p,
h2 ~ p,
h3 ~ p,
h4 ~ p,
h5 ~ p,
h6 ~ p {
    margin-left: 25px;
}


ol li {
    margin-bottom: 10px; /* Adds space below each item */
}

/* Method 1: Using EM units (relative to font size) */
/* Most flexible - scales with text size */
h1 {
    margin: 1.2em 0; /* 1.2 times the font-size above and below */
}

h1 {
    font-size: 1.25rem; /* Mobile default */
}

@media (min-width: 576px) {
    h1 {
        font-size: 1.5rem; /* Small screens and up */
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem; /* Medium screens and up */
    }
}


h2 {
    font-size: 2rem;
    margin: 1em 0 0.8em 0; /* Different top and bottom margins */
}

h3 {
    font-size: 1.8rem;
    margin: 0.9em 0;
}

h4, h5, h6 {
    font-size: 1.5rem;
    margin: 0.8em 0;
}

/*- table*/
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

th {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
}

tr:nth-child(even) {
    background-color: rgba(52, 152, 219, 0.05);
}

tr:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.f-source {
    margin-top: 20px;
    font-size: 12px;
    color: #7f8c8d;
    text-align: center;
}

.country {
    font-weight: 600;
    font-size: 1.1em;
    color: #2c3e50;
}

.organization {
    color: #34495e;
    font-weight: 500;
}

.link {
    position: relative;
}

    .link a {
        color: #3498db;
        text-decoration: none;
        font-weight: 500;
        padding: 10px 20px;
        border-radius: 25px;
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: white;
        transition: all 0.3s ease;
        display: inline-block;
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    }

        .link a:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
            background: linear-gradient(135deg, #2980b9, #3498db);
        }



.description {
    font-style: italic;
    color: #7f8c8d;
    font-size: 0.9em;
    margin-top: 20px;
    text-align: center;
    padding: 20px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

/* Primary Button Styles */
.primary-btn {
    /* Base styling */
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    outline: none;
    min-width: 140px;
    /* Primary color scheme */
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    /* Shadow and depth */
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    /* Smooth transitions */
    transition: all 0.3s ease;
    /* Positioning */
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    /* Hover effects */
    .primary-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6);
        background: linear-gradient(45deg, #45a049, #4CAF50);
    }

    /* Active/pressed state */
    .primary-btn:active {
        transform: translateY(0px);
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    }

    /* Focus state for accessibility */
    .primary-btn:focus {
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4), 0 0 0 3px rgba(76, 175, 80, 0.3);
    }

    /* Disabled state */
    .primary-btn:disabled {
        background: #cccccc;
        color: #666666;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

        .primary-btn:disabled:hover {
            transform: none;
            box-shadow: none;
            background: #cccccc;
        }


.f-introduction {
   /* font-size: 1.5em;*/
   font-size: clamp(1rem, 1.5vw, 1.5em); /* Smaller scaling */
    color: darkgrey;
    margin: 15px auto 20px auto; /* Centered horizontally */
    width: 80%; /* Instead of left/right margins */
}


/* Medium screens */
@media (max-width: 768px) {
    .f-introduction {
        font-size: 1.2em;
        width: 90%;
    }
}

@media (max-width: 480px) {
    .f-introduction {
        font-size: 1.1em;
        width: 95%;
    }
}

.f-introduction {
    /* font-size: 1.5em;*/
    font-size: clamp(1rem, 1.5vw, 1.5em); /* Smaller scaling */
    color: darkgrey;
    margin: 15px auto 30px auto; /* Centered horizontally */
    width: 70%; /* Instead of left/right margins */
}


/* Medium screens */
@media (max-width: 768px) {
    .f-introduction {
        font-size: 1.2em;
        width: 90%;
    }
}

@media (max-width: 320px) {
    .f-introduction {
        font-size: 1em;
        width: 95%;
    }
}


.f-thin-line {
    border: none;
    height: 3px;
    background-color: #ccc;
    margin: 25px 5%;

}

/* Canada */

image, img {
    max-width: 100%;
    height: auto;
    display: block;
}

picture {
    max-width: 100%;
    height: auto;
    display: block;
}

.t-backgroundimage {
    position: relative;
}

    .t-backgroundimage .t-overlaytext {
        position: absolute;
        top: 0;
        background: rgb(0, 0, 0); /* Fallback color */
        background: rgba(0, 0, 0, 0.4); /* Black background with opacity */
        color: #FFFFFF; /*#f1f1f1;*/
        width: 100%;
        padding: 10px 10px 10px 10px;
    }

    .t-backgroundimage .t-Indent20 {
        position: absolute;
        left: 20%;
    }

    .t-backgroundimage .t-Indent30 {
        position: absolute;
        left: 30%;
    }

    .t-backgroundimage .t-Indent40 {
        position: absolute;
        left: 40%;
    }

    .t-backgroundimage .t-Indent50 {
        position: absolute;
        left: 50%;
    }

    .t-backgroundimage .t-Indent60 {
        position: absolute;
        left: 60%;
    }

.t-backgroundimage {
    position: relative;
    width: 100%;
    height: auto;
}

.background-img {
    width: 100%;
    height: auto;
    display: block;
}


.t-backgroundimage picture,
.t-backgroundimage img {
    width: 100%;
    height: auto;
    display: block;
}


.t-overlaytextCentered {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
}


.t-fontWhite {
    color: #FFFFFF;
    margin: 0;
    margin: 0;
}

/* Responsive padding */
@media (max-width: 768px) {
    .t-overlaytextCentered {
        padding: 0.5rem;
    }
}

.t-backgroundimage .t-overlaytextSearch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%; /* Use percentage to allow shrinking */
    padding: 1rem; /* Base padding */
    color: #FFFFFF;
    /*padding-top: 100px; cannot get to work - so temp added in as style on page*/
}

    .t-backgroundimage .t-overlaytextLeft {
        position: absolute;
        margin-left: 15px;
        color: #FFFFFF;
    }

    .t-backgroundimage .t-overlaycaption {
        position: absolute;
        bottom: 0;
        right: 0; /* o/s ignores right inside container uses browser right?*/
        background: rgb(255, 255, 255); /* Fallback color */
        background: rgba(255, 255, 255, 0.3); /* Whilte background with opacity */
        font-size: 0.75rem;
        color: #214451;
        padding: 5px;
        width: auto;
        /*float:right;*/
        /*text-align:right;*/
    }



body {
    /*color: var(--text-color);*/
    background-color: var(--background-color);
}

h1 {
    color: var(--kendo-color-primary);
}

h2 {
    color: var(--kendo-color-primary);
}

h3 {
    color:#2C3E50;
}

h4 {
    color: #333333;
}

h5 {
    color: #4F5D75;
}

h6 {
    color: #6C757D;
}

/*- specific new classes*/

.m-filter-type-display {
    font-size: 1.17em;
    font-weight: bold; /* 700*/
}

.m-filter-value-display {
    font-size: 1.17em;
    font-weight: 500;  /*medium */
    color: darkgrey;
}

.m-image-drop-area .k-upload-dropzone {
    height: 125px;
}

.m-Install-colour {
    background-color: #ff2a1b;
    color: white;
}

.m-DropOff-colour {
    background-color: #f39f18;
    color: black;
}

.m-Delivery-colour {
    background-color: #999950;
    color: white;
}

.m-Snag-colour {
    background-color: #6f4f28;
    color: white;
}

.m-SiteVisit-colour {
    background-color: #287233;
    color: white;
}

.m-StripOut-colour {
    background-color: #edff21;
    color: black;
}

.m-Collection-colour {
    background-color: #f39f18;
    color: white;
}

.m-LocalRun-colour {
    background-color: #7a888e;
    color: white;
}

.m-Courier-colour {
    background-color: #00bb2d;
    color: white;
}

.m-Other-colour {
    background-color: #00bb2d;
    color: white;
}

/*label above display*/

.m-LabelAboveWrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.m-LabelAbove {
    text-align:left;
}

.m-LabelAboveBlock {
    width: 100%;
}

.m-cardTitleGreyWhite {
    background-color:slategrey;
    color: white;
}

.m-TextRight {
    text-align: right;
}

/*alternatite colurs from grid rows*/
.m-even-row {
    background-color: #e0f7fa !important; /* Light Blue */
}

.m-odd-row {
    background-color: #ffffff !important; /* White */
} 

.m-Component {
    margin-bottom: 12px; /*// was 15px*/
}

.m-NegativeDisplay {
    color: red;
}

.m-WarningDisplay {
    color: white;
    background-color: red;
    font-size: 2em;
    padding: 5px;
}

.m-CarouselBackgroundGrey .k-scrollview-next {
    background-color: lightgrey ;
    opacity: 0.5;
}

/* enable absolute positioning inside the Carousel template */
.m-CarouselImageWithText {
    position: relative;
}

    /* style the overlay text inside the Carousel */
    .m-CarouselImageWithText > p {
        position: absolute;
        top: 1rem;
        left: 1.6rem;
        color: rgba(255, 255, 255, .8);
        margin: 0;
        font-style: italic;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
    }

.m-box {
    position: relative;
    width: auto;
    height: 300px;
    overflow: hidden;
    background: #000;
    transition: .1s;
}

    .m-box .m-imgbox {
        position: relative;
        display: inline-block;
        background-color: white;
    }

        .box .m-imgbox img {
            transition: .1s;
        }

.m-imgbox {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.m-box:hover .m-imgbox img {
    opacity: .5;
}

    .m-box .content {
        position: absolute;
        bottom: 0px;
        left: 0;
       /* padding: 20px;*/
        box-sizing: border-box;
        transition: .1s;
        opacity: 1;
    }

    .m-box .content-end {
        position: absolute;
        bottom: 0px;
        right: 0;
        /* padding: 20px;*/
        box-sizing: border-box;
        transition: .1s;
        opacity: 1;
    }

    .m-box .content-hover {
        position: absolute;
        bottom: 0px;
        left: 0;
         padding: 20px;
        box-sizing: border-box;
        transition: .1s;
        opacity: 0;
    }

    .m-box:hover .content-hover {
        opacity: 0.7;
        bottom: 0;
    }

    .m-box .content p {
        font-size: 18px;
        color: #fff;
        font-weight: 400;
        background-color:darkgreen;
    }

    .m-box .banner {
        position: absolute;
        top: 0px;
        left: 0;
        height: 30px;
        /* padding: 20px;*/
        box-sizing: border-box;
        transition: .1s;
        opacity: 1;
        font-size: 18px;
        color: #fff;
        font-weight: 400;
        background-color: darkgreen;
    }

.m-box .banner-end {
    position: absolute;
    top: 0px;
    right: 0;
    height: 30px;
    /* padding: 20px;*/
    box-sizing: border-box;
    transition: .1s;
    opacity: 1;
    font-size: 18px;
    color: #fff;
    font-weight: 400;
    background-color: darkgreen;
}

.m-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    color: white;
    text-align: center;
    line-height: 30px; /* Center the text vertically */
    font-size: 16px;
}

.m-section {
    /*background-color: #f7f9fc;*/
    background-color: var(--kendo-color-surface);
    border-radius: 8px;
    box-shadow: 0 0 .875rem 0 rgba(41, 41, 42, 0.15);
    margin: 10px 0px 10px 0px;
    padding: 20px 30px 20px 30px;
}

.m-endofpage {
    border-top: 1px solid #ccc;
    height: 60px;
    background-color: #e1dddd;
    box-shadow: 0 -5px 10px -5px rgba(0, 0, 0, 0.3);
    position: relative;
}

.m-DataPanel {
    background-color: lemonchiffon;
}

.m-checkboxvertical {
    display: flex;
    flex-direction: column;
}

.m-checkboxhorizontal {
    display: flex;
    flex-direction: row;
    gap: 10px; /* Adjust the space between checkboxes */
}

.m-checkboxitem {
    display: flex;
    align-items: center;
}