﻿/*minerva.css*/

/*- overwrites*/
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: #fff;
    border: 0 solid transparent;
    background-clip: border-box;
    border-radius: .25rem;
    padding: 1rem;
    margin-bottom: 24px;
    box-shadow: 0 0 .875rem 0 rgba(41,48,66,.05);
    /*margin: 10px 10px 10px 10px;
    padding: 20px 20px 20px 20px;*/
}

.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;
}