﻿/*minerva.css*/

/*- overwrites*/
h1 {
    color: #495057;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

h2 {
    color: #495057;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

h3 {
    color: #495057;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

h4 {
    color: #495057;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

h5 {
    color: #495057;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

h6 {
    color: #495057;
    font-size: 1rem;
    margin-bottom: 12px;
}

/*- specific new classes*/

.m-headingUnderline {
    border: none; /* remove default border */
    height: 1px; /* thin line */
    background-color: #ccc; /* light grey color */
    margin: 20px 15%; /* 15% margin on left/right, 20px top/bottom */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* subtle shadow for depth */
}

.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: 300px;
}

.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-choice-label {
    font-weight: 700;
    margin-bottom: 8px;
}

.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: #fff;
    border: 0 solid transparent;
    background-clip: border-box;
    border-radius: 0.4rem;
    padding: 1rem;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(41, 48, 66, 0.12), 0 1px 4px rgba(41, 48, 66, 0.08);
    margin: 10px 10px 10px 10px;
    padding: 20px 20px 20px 20px;
    height: calc(100% - 20px); /* 100% - margin - padding */
}

.m-section-area {
    background-color: #f7f9fc;
    background-color: #fff;
    border: 0 solid transparent;
    background-clip: border-box;
    border-radius: 0.4rem;
    padding: 1rem;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(41, 48, 66, 0.12), 0 1px 4px rgba(41, 48, 66, 0.08);
    margin: 10px 10px 20px 10px;
    padding: 20px 20px 20px 20px;
}


/*.m-section {
    position: relative;
    margin-bottom: 24px;*/ /* vertical spacing */
    /*padding: 1rem;*/ /* inner padding for the content */
/*}*/

    /* This is the "card" that sits inside the column */
    /*.m-section::before {
        content: "";
        position: absolute;
        inset: 0.5rem;*/ /* how far in from the edges (controls spacing) */
        /*background-color: #fff;
        border-radius: 0.4rem;
        box-shadow: 0 4px 12px rgba(41, 48, 66, 0.12), 0 1px 4px rgba(41, 48, 66, 0.08);
        z-index: 0;
    }*/

    /* Make sure the actual content is above the pseudo-card */
    /*.m-section > * {
        position: relative;
        z-index: 1;
    }*/

.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;
}

/* used on the product single page */
.detail-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.3rem 0;
    font-size: 1rem;
}

.component-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem 2.5rem; /* row-gap column-gap */
}

/* enable absolute positioning inside the Carousel template */
.image-with-text {
    position: relative;
}

    /* style the overlay text inside the Carousel */
    .image-with-text > 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);
    }

.images-nav {
    text-align: center;
    margin-top: 7px;
    display: flex;
    width: 550px;
    overflow-x: auto;
}

.image-thumbnail {
    width: 80px;
    height: 50px;
    border: outset;
    margin: 1px 1px 1px 1px
}

.container-nav {
    display: flex;
    justify-content: center;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2.5rem; /* row-gap column-gap */
}

.ticketNotification .k-notification {
    padding: 18px 24px;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.35;
}
