﻿@font-face {
    font-family: 'Gotham Medium';
    src: url('fonts/woff/Gotham-Medium_Web.woff') format('woff');
}

@font-face {
    font-family: 'Gotham Book';
    src: url('fonts/woff/Gotham-Book_Web.woff') format('woff');
}

body {
    font-family: 'Gotham Medium';
    font-size: 1.5vw; /* eq to 12pt */
    letter-spacing: -1.5px;
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    background-color: white;
}

.app-title {
    text-align: center;
    font-size: 3.78vw;
    letter-spacing: -1.5px; /* about -10 tracking */
    font-weight: normal;
    /* background-color: aqua;*/
}

.app-sub-title {
    padding-left: 1.6667vw;
    padding-right: 1.6667vw;
    font-family: 'Gotham Book';
    text-align: center;
    font-size: 1.78vw;
    letter-spacing: -0.125vw; /* about -10 tracking */
    font-weight: normal;
    /*background-color: orange;*/
}

.outer-div {
    margin-left: auto;
    margin-right: auto;
    display: block;
    justify-content: center;
    align-items: center;
    width:90%;
    /*width: 51.6667vw;
    height: 865px;*/
    background-color: #F0F0F0;
    border: 0.08333vw solid #F0F0F0;
    border-radius: 1.333vw;
    /* box-shadow: 3px 3px 8px hsl(0, 0%, 70%);*/
    padding-left: 0vw;
    padding-right: 0vw;
    padding-top: 0vw;
    margin-top: 0vw;
    top: 0vw;

}
/* IT-4196 Remove the "Take it further..." advert from the Asphalt carbon calculator web app */
.outer-div-advert {
    display: block;
    justify-content: center;
    align-items: center;
    width: 51.6667vw;
    /*height: 865px;*/
    background-color: #F0F0F0;
    border: 1px solid #F0F0F0;
    border-radius: 1.333vw;
    /* box-shadow: 3px 3px 8px hsl(0, 0%, 70%);*/
    padding-left: 0vw;
    padding-right: 0vw;
    padding-top: 0vw;
    margin-top: 0vw;
    top: 0vw;
    visibility: hidden;
}

.inner-div {
    position: relative;
    width: 80%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    /* height: 670px; */
    top: 0vw;
    /* background-color:red;*/
}

#divAdvert.inner-div {
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#divOuterAdvert.outer-div {
    position: relative;
    background-color: #00468E;
    color: white;
    padding-top: 2.0833vw;
}

#divAdvert {
    position: relative;
    padding-bottom: 1.6667vw;
    box-sizing: border-box;
}

.gap-5 {
    height: 0.4167vw;
}

.gap-10 {
    height: 0.8333vw;
}

.gap-25 {
    height: 2.0833vw;
}

.gap-20 {
    height: 1.6667vw;
}

.gap-15 {
    height: 1.25vw;
}

.width-20 {
    width: 1.6667vw;
}

.font-12 {
    font-size: 1.33vw;
    letter-spacing: -0.125vw;
}

.font-14 {
    font-family: 'Gotham Medium';
    font-size: 1.56vw;
    letter-spacing: -0.0833vw;
}

.font-16 {
    font-family: 'Gotham Medium';
    font-size: 1.78vw;
    line-height: 2.22vw;
    letter-spacing: -0.125vw;
}

.font-18 {
    font-size: 2vw;
    letter-spacing: -0.125vw;
}

.font-21 {
    font-size: 2.33vw;
    letter-spacing: -0.125vw;
}

.table {
    display: grid;
    grid-template-columns: auto 25vw;
    width: 100%;
    grid-column-gap: 0vw;
    grid-row-gap: 3.56vw;
}

.table-firstrow {
    display: grid;
    grid-template-columns: auto auto;
    width: 100%;
    grid-gap: 0.1667vw;
    padding-bottom: 0vw;
}

.page {
    background-color: white;
}

.table-grid {
    display: grid;
    grid-template-columns: 35% 65%; /* Two equal columns */
    grid-auto-rows: auto; /* Rows adjust to content height */
    gap: 0vw;
    margin: 0vw;
    vertical-align: middle;
    /*  background-color:blueviolet;*/
    /*row-gap:10px;*/
}

.table-grid-results {
    display: grid;
    grid-template-columns: 60% 40%; /* Two equal columns */
    grid-auto-rows: auto; /* Rows adjust to content height */
    gap: 0vw;
    margin: 0vw;
    vertical-align: middle;
    /*  background-color:blueviolet;*/
    /*row-gap:10px;*/
}

.table-grid-CEVO {
    display: grid;
    grid-template-columns: 65% 35%;
    grid-auto-rows: auto;
    gap: 0vw;
    margin: 0vw;
    vertical-align: middle;
}

.table-grid-50-50 {
    display: grid;
    grid-template-columns: 50% 50%; /* Two equal columns */
    grid-auto-rows: auto; /* Rows adjust to content height */
    gap: 0.0833vw;
    /* background-color: blueviolet;*/
    row-gap: 0vw;
}

.cell-full-width {
    grid-column: 1 / span 2;
}

.cell {
    border: 0vw;
    margin: 0vw;
    padding: 0vw;
    background-color: white;
    text-align: left;
}

.cell-no-colour {
    border: 0vw;
    margin: 0vw;
    padding: 0vw;
    text-align: left;
}

.cell-center {
    text-align: center;
}

.cell-left {
    line-height: 3.5vw;
    padding-right: 0.8333vw;
    margin-top: 0vw;
    margin-bottom: 0vw;
    padding-left: 1.6667vw;
    border-top-left-radius: 2.0vw;
    border-bottom-left-radius: 2.0vw;
    -moz-border-radius-topleft: 2.0vw;
    -moz-border-radius-bottomleft: 2.0vw;
    vertical-align: middle;
}

.cell-left-inputs-questions {
    background-color: #007EC3 /*  BLUE */;
    color: white;
}

.cell-left-inputs-results {
    background-color: #66B32F /*  GREEN */;
    color: white;
    vertical-align: middle;
}

.cell-left-inputs {
    background-color: #007EC3 /*  #8B8B8B */;
    color: white;
}


.cell-left-outputs {
    background-color: #F6F6F6;
    color: black;
}

.cell-right {
    line-height: 3.5vw;
    padding: 0vw;
    margin: 0vw;
    background-color: white;
    border-top-right-radius: 2.0vw;
    border-bottom-right-radius: 2.0vw;
    -moz-border-radius-topright: 2.0vw;
    -moz-border-radius-bottomright: 2.0vw;
    /*  text-align: center;*/
    text-align: left;
    vertical-align: middle;
}

.cell-right-max-width {
    display: inline-block; /* or use "block" depending on your layout */
    position: relative;
    border: 0.0833vw solid gray;
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

.cell-right-text {
    height: 3.5vw;
    margin: 0vw;
    padding-left: 1.667vw;
    display: flex;
    align-items: center;
    border-top-right-radius: 2.0vw;
    border-bottom-right-radius: 2.0vw;
    -moz-border-radius-topright: 2.0vw;
    -moz-border-radius-bottomright: 2.0vw;
}


.cell-advert-1 {
    position: relative;
    border: 0px;
    margin-left: 1.667vw;
    margin-right: 0.8333vw;
    padding: 1.667vw;
    background-color: #0086C9;
    color: white;
    text-align: center;
    text-decoration: none;
    border-top-right-radius: 1.0vw;
    border-bottom-right-radius: 1.0vw;
    border-top-left-radius: 1.0vw;
    border-bottom-left-radius: 1.0vw;
    -moz-border-radius-topright: 1.0vw;
    -moz-border-radius-bottomright: 1.0vw;
    -moz-border-radius-topleft: 1.0vw;
    -moz-border-radius-bottomleft: 1.0vw;
}

.cell-advert-2 {
    position: relative;
    border: 0px;
    margin-right: 1.667vw;
    margin-left: 0.8333vw;
    padding: 1.667vw;
    background-color: #00B2BA;
    color: white;
    text-align: center;
    text-decoration: none;
    border-top-right-radius: 1.0vw;
    border-bottom-right-radius: 1.0vw;
    border-top-left-radius: 1.0vw;
    border-bottom-left-radius: 1.0vw;
    -moz-border-radius-topright: 1.0vw;
    -moz-border-radius-bottomright: 1.0vw;
    -moz-border-radius-topleft: 1.0vw;
    -moz-border-radius-bottomleft: 1.0vw;
}

.questionIcon {
    margin-top: auto;
    margin-bottom: auto;
    width: 1.5vw;
    height: 1.5vw;
    float: right;
    margin-top: 0.8333vw;
    border: none;
}

.button {
    border: none;
}

.questionIcon:hover {
    background-image: url('Images/questionIcon-hover.png');
    border: none;
}


.popup {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    padding: 1.667vw;
    background: #016FAC;
    border-radius: 0.4167vw;
    width: 25vw;
    transition: all .5s ease-in-out;
    color: white;
    z-index: 9999;
}

    .popup:target {
        visibility: visible;
        opacity: 1;
    }

    .popup h2 {
        margin-top: 0;
        color: #333;
        font-family: Tahoma, Arial, sans-serif;
    }

    .popup .close {
        position: absolute;
        top: 0px;
        right: 0.25vw;
        transition: all 200ms;
        font-size: 2.22vw;
        font-weight: bold;
        text-decoration: none;
        color: #333;
        font-weight: normal;
    }

        .popup .close:hover {
            color: #FFF;
            font-weight: bold;
        }

    .popup .content {
        max-height: 30%;
        overflow: auto;
    }


.pdf {
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center; /*  horizontal centering */
    height: 3.5vw;
    padding: 0 12px; /* horizontal padding */
    text-align: center;
    border: 0px;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    -moz-border-radius-topright: 24px;
    -moz-border-radius-bottomright: 24px;
    -moz-border-radius-topleft: 24px;
    -moz-border-radius-bottomleft: 24px;
}

.go {
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center; /*  horizontal centering */
    height: 3.5vw;
    padding: 0 1.0vw; /* horizontal padding */
    text-align: center;
    border-top-right-radius: 2.0vw;
    border-bottom-right-radius: 2.0vw;
    border-top-left-radius: 2.0vw;
    border-bottom-left-radius: 2.0vw;
    -moz-border-radius-topright: 2.0vw;
    -moz-border-radius-bottomright: 2.0vw;
    -moz-border-radius-topleft: 2.0vw;
    -moz-border-radius-bottomleft: 2.0vw;
    border: 0vw;
}

.pdf-width {
    width: 100%;
}

.divEnquire {
    margin-left: auto;
    margin-right: auto;
    padding-right: 0.83333vw;
    padding-top: 1.0vw;
    padding-bottom: 1.0vw;
    padding-left: 1.6667vw;
    border-top-right-radius: 2.0vw;
    border-bottom-right-radius: 2.0vw;
    border-top-left-radius: 2.0vw;
    border-bottom-left-radius: 2.0vw;
    -moz-border-radius-topright: 2.0vw;
    -moz-border-radius-bottomright: 2.0vw;
    -moz-border-radius-topleft: 2.0vw;
    -moz-border-radius-bottomleft: 2.0vw;
    background-color: white;
    color: black;
    width: 70%;
    text-align: center;
}

.icon-open {
    width: 1.667vw;
    height: 1.667vw;
    position: absolute;
    top: 0.833vw;
    right: 0.833vw;
}

.switch {
    position: relative;
    display: inline-block;
    width: 10vw;
    height: 3.33vw;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 3.6667vw;
    transition: 0.4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 2.6667vw;
        width: 2.6667vw;
        left: 0.333vw;
        bottom: 0.333vw;
        background-color: white;
        border-radius: 50%;
        transition: transform 0.4s;
    }

input:checked + .slider {
    background-color: #4CAF50;
}

    input:checked + .slider:before {
        transform: translateX(6.333vw);
    }

.dropDowns {
    padding-top: 0.833vw;
    padding-bottom: 0.833vw;
    width: 90%;
    min-height: 100%;
    padding-right: 0vw;
    padding-left: 0.4167vw;
    border: 0vw;
    border-top-left-radius: 0vw;
    border-top-right-radius: 2.0vw;
    border-bottom-left-radius: 0vw;
    border-bottom-right-radius: 2.0vw;
    font-family: 'Gotham Medium';
    font-size: 1.33vw;
    /* margin: -10px;*/
}

.hrBar {
    height: 0.0833vw;
    color: grey;
    background-color: grey;
    padding-left: 1.6667vw;
    padding-right: 1.6667vw;
    width: 90%;
    text-align: center;
    vertical-align: bottom;
    margin-top: 1.333vw;
}

.LCCG-APlusPlus {
    background-color: #225826;
}

.LCCG-APlus {
    background-color: #378031;
}

.LCCG-A {
    background-color: #59A43D;
}

.LCCG-B {
    background-color: #72B05D;
}

.LCCG-C {
    background-color: #EE9E28;
}

.LCCG-D {
    background-color: #E9591F;
}

.LCCG-E {
    background-color: #E33D21;
}

.LCCG-F {
    background-color: #C9142E;
}

.LCCG-G {
    background-color: #8A8B8B;
}

.grid-wrapper {
    display: grid;
    grid-gap: 0.8333vw;
    grid-template-columns: repeat(4, 1fr);
}

.lblLCCG {
    /* width: 100%;*/
    height: 100%;
    font-size: 1.33vw;
    font-family: 'Gotham Medium';
    vertical-align: middle;
}

.label {
    font-size: 1.33vw;
    font-family: 'Gotham Medium';
    margin: 0px;
    background-color: white;
}

.textBox {
    width: 50%; /* Make the textbox take up 100% of the parent's width */
    height: 100%; /* Make the textbox take up 100% of the parent's height */
    padding: 0vw 0vw 0vw 0vw; /* Remove padding */
    margin: 0; /* Remove margin */
    border: 0vw;
    box-sizing: border-box; /* Include padding and border in the total width/height */
    font-size: 1.33vw;
    text-align: left;
    font-family: 'Gotham Medium';
    padding-left: 0.8333vw;
}



.totalMaterial {
    background-color: #4FB14A;
}

.chart {
    border: none;
    padding: 0vw;
    margin: 0vw;
    background-color: none;
}

.gcbParent {
    height: 80px;
    width: 100%;
    background-color: white;
    border: 0px;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    -moz-border-radius-topright: 24px;
    -moz-border-radius-bottomright: 24px;
    -moz-border-radius-topleft: 24px;
    -moz-border-radius-bottomleft: 24px;
    padding-top: 0px;
    margin-bottom: 10px;
    font-family: 'Gotham Medium';
    font-size: 1.44vw;
}

.compareParent {
    height: 240px;
    width: 100%;
    background-color: white;
    border: 0px;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    -moz-border-radius-topright: 24px;
    -moz-border-radius-bottomright: 24px;
    -moz-border-radius-topleft: 24px;
    -moz-border-radius-bottomleft: 24px;
    padding-top: 0px;
}

.compareInnerParent {
    display: grid;
    grid-template-columns: auto auto;
    padding-bottom: 0px;
}

.compareChild {
    flex-grow: 4;
    flex-basis: 0;
    /* border: 1px solid #ccc; */
    /* background: #e6e6e6; */
    margin-right: 20px;
    margin-top: 0px;
    text-align: center;
}

.combinedCarbonFactor {
    background-color: #1D9BA9;
}

.totalCarbon {
    background-color: #007EC3 /*#1AB2E3*/;
    color: white;
}

.mailus {
    color: #E87308;
}

.kgco2e {
    display: inline-block;
    font-size: 1.07vw;
    color: darkgray;
}

p {
    color: #666;
}



.btn {
    padding-top: 10px;
    padding-bottom: 10px;
    min-width: 170px;
    padding-right: 7px;
    border-radius: 35px;
    font-family: 'Gotham Medium'
}

    .btn:hover {
        background-color: #FF8901;
        border-color: #FF8901;
    }


.zero {
    position: absolute;
    right: 0;
    bottom: 0;
}

.IndicatorType {
    position: absolute;
    left: 0;
    bottom: 0;
}

.weightResultWeight {
    font-family: 'Gotham 2';
    font-size: 3.33vw;
}

.weightResultDate {
    font-family: 'Gotham 2';
    font-size: larger;
}

.divButtons {
    display: flex;
    justify-content: center;
}


.centered {
    margin: 0 auto;
    padding: 0 1em;
}

@media screen and (min-width: 52em) {
    .centered {
        max-width: 52em;
    }
}

/*--------------------------------------------------------------
Header styles minus menu
--------------------------------------------------------------*/

.masthead {
    background: rgb(0, 126, 195);
    box-shadow: 3px 3px 8px hsl(0, 0%, 70%);
}

.site-title {
    margin: 0 0 1em;
    padding: 1em 0;
    font-size: 2em;
    font-weight: 300;
    text-align: center;
    color: black;
}

@media screen and (min-width: 44.44em) {
    .site-title {
        font-size: 2em;
    }
}

@media screen and (min-width: 50em) {
    .site-title {
        font-size: 2.5em;
    }
}

.site-title a {
    color: hsl(5, 45%, 95%);
    text-decoration: none;
}

    .site-title a:hover {
        text-decoration: underline;
    }

/* Card Based Layout - Base styles */
body {
    background: white;
    line-height: 1.4;
}

.site-title {
    color: white;
}

.card {
    min-height: 710px;
    border: 0px;
    padding: 0px;
}

    .card a {
        color: black;
        text-decoration: none;
    }

        .card a:hover {
            box-shadow: 3px 3px 8px hsl(0, 0%, 70%);
        }

.card-content {
    padding: 1.4em;
    position: relative;
}



    .card-content p {
        font-size: 95%;
    }

    .card-content:hover {
        background: #D1EBFF;
    }

.panelVideo {
    max-height: 400px;
    margin: 0;
    top: 0;
    padding: 0;
}

.repeater-item {
    padding: 0px;
    border: 0px;
}

    .repeater-item:hover {
        box-shadow: 3px 3px 8px hsl(0, 0%, 70%);
        background: #D1EBFF;
    }



img {
    width: 100%;
    height: auto;
}




/* Flexbox styles */
@media screen and (min-width: 40em) {
    .cards {
        margin-top: -1em;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        background-color: white;
    }

    .card {
        margin-bottom: 1em;
        display: flex;
        flex: 0 1 calc(50% - 0.5em);
        /* width: calc(50% - 1em); */
    }
}
/* mq 40em*/

@media screen and (min-width: 60em) {
    .cards {
        margin-top: inherit;
    }

    .card {
        margin-bottom: 2em;
        display: flex;
        flex: 0 1 calc(33% - 0.5em);
        /* width: calc(33% - 1em); */
    }




    .slidecontainer {
        width: 100%; /* Width of the outside container */
    }

    /* The slider itself */
    .slider {
        -webkit-appearance: none; /* Override default CSS styles */
        appearance: none;
        width: 100%; /* Full-width */
        height: 3.333vw; /* Specified height */
        background: #B0B1B5; /* Grey background */
        outline: none; /* Remove outline */
        opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
        -webkit-transition: .2s; /* 0.2 seconds transition on hover */
        transition: opacity .2s;
    }

        /* Mouse-over effects */
        .slider:hover {
            opacity: 1; /* Fully shown on mouse-over */
        }

        /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
        .slider::-webkit-slider-thumb {
            -webkit-appearance: none; /* Override default look */
            appearance: none;
            width: 2.0833vw; /* Set a specific slider handle width */
            height: 2.0833vw; /* Slider handle height */
            background: #04AA6D; /* Green background */
            cursor: pointer; /* Cursor on hover */
        }

        .slider::-moz-range-thumb {
            width: 2.0833vw; /* Set a specific slider handle width */
            height: 2.0833vw; /* Slider handle height */
            background: #04AA6D; /* Green background */
            cursor: pointer; /* Cursor on hover */
        }
}
/* mq 60em*/


/* Loading screen with spinner */

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.loader {
    width: 60px;
    height: 60px;
    border: 8px solid #fff;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.chart-host {
    width: 100%;
    max-width: 350px; /* or whatever size you want */
    aspect-ratio: 1 / 1; /* gives it a perfect square */
    position: relative;
    margin: 0 auto;
}

    .chart-host canvas {
        position: absolute;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
    }
