@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --blue: #008899;
    --purple: #79276a;
    --red: #9a1915;
    --orange: #ce6a13;
    --yellow: #ffdc00;
    --yellow2: #ffe335;
    --warmyellow: #f7a600;
    --green: #00692f;
    --lightgreen: #009a3e;
    --tbl-lightgreen: #d9ebdb;
    --darkgreen: #004928;
    --sand: #c5b064;
    --white: #fff;
    --brown: #A5611E;
    --gray: #6c757d;
    --black: #000;
    --lightgray: #F5F5F5;
    --gray-dark: #343a40;
    --primary: #00692f;
    --secondary: #004928;
    --success: #00692f;
    --info: #00692f;
    --warning: #ffdc00;
    --danger: #9a1915;
    --light: #009a3e;
    --dark: #004928;
    --black: #000000;
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: 'Arial', Helvetica, Helvetica Neue, sans-serif;
    min-height: 100vh;
    color: #000;
    margin: 0;
    padding: 0;
    background-color: #F5F5F5 !important;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    text-transform: uppercase;
    font-weight: bold;
    margin: 10px 0px;
}

a, .btn-link {
    color: #0366d6;
}

.bold {
    font-weight: 700;
}

.navbar {
    padding: 0rem;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
    color: #000
}

.navbar .nav-link {
    color: rgba(0,0,0,.9);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.navbar-expand-lg .navbar-nav .nav-link:nth-of-type(1) {
    padding-right: 1rem;
    padding-left: 1.4rem;
    color: #000
}

.navbar .nav-link {
    color: rgba(0,0,0,.9);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

    .navbar .nav-link.active {
        background-color: #ffdc00;
    }

.btn {
    display: inline-block;
    padding: 8px 17px;
    margin-bottom: 0;
    font-size: 0.9em;
    font-weight: 400;
    cursor: pointer;
    border-radius: 0px;
   
}

.btn-sm {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 0;
    font-size: 0.8em;
    font-weight: 400;
    text-align: center;
}

.border-rounded {
    border-radius: 5px;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-link, .btn-link:hover {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.btn-border {
    background-color: transparent;
    color: #ffdc00;
    border: 1px solid #fff;
}

    .btn-border:hover {
        background-color: transparent;
        color: #ffdc00;
        border: 1px solid #fff;
    }

.form-check-input {
    position: absolute;
    margin-top: 0.6rem;
    margin-left: 2.25rem;
}

.btn.focus, .btn:focus {
    box-shadow: unset;
}

.btn-success {
    border-color: #409647;
    background-color: #409647;
}

.btn-outline-success, .btn-outline-success:hover {
    border-color: #409647;
    color: #409647;
    background-color: unset;
}

.btn-danger {
    background-color: #8d2116;
    border-color: #8d2116;
}

.btn-lightgreen {
    background-color: var(--lightgreen);
    border: var(--lightgreen);
    box-shadow: none;
    color: var(--white);
    text-transform: none;
}

/*.btn-rightside {
    padding: 5px;
    border-top-right-radius: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: var(--darkgreen);
    border-bottom-right-radius: 0;

}*/
    .btn-lightgreen:hover {
        background-color: var(--lightgreen);
        border: var(--lightgreen);
        box-shadow: none;
        color: var(--white);
    }

.btn-darkgreen {
    background-color: var(--darkgreen);
    border: var(--darkgreen);
    box-shadow: none;
    color: var(--white);
}

    .btn-darkgreen:hover {
        background-color: var(--darkgreen);
        border: var(--darkgreen);
        box-shadow: none;
        color: var(--white);
    }

.btn-round {
    background-color: var(--lightgreen);
    border-radius: 100px;
    color: var(--yellow);
    border: none;
    font-size: 31px;
    padding: 2px 9px 5px 5px;
    height: 47px;
    width: 47px;
    position: absolute;
    z-index: 1;
    top: 23px
}

/*.btn-lightgreen-rounded {
    background-color: var(--lightgreen);
    border: var(--lightgreen);
    box-shadow: none;
    border-radius: 0;
    color: var(--white);
    border-radius: 5px;
    text-transform: none;
    margin-right: 16px;
}

    .btn-lightgreen-rounded:hover {
        background-color: var(--lightgreen);
        border: var(--lightgreen);
        box-shadow: none;
        border-radius: 5px;
    }*/

.btn-yellow {
    background-color: var(--yellow);
    border: var(--yellow);
    box-shadow: none;
    border-radius: 5px;
    color: var(--green);
    text-transform: none;
}

    .btn-yellow:hover {
        background-color: var(--yellow);
        border: var(--yellow);
        box-shadow: none;
        border-radius: 5px;
    }

.btn-lightgreen:hover {
    background-color: var(--lightgreen);
    border: var(--lightgreen);
    box-shadow: none;
    border-radius: 0;
}

/*app {
    position: relative;
    display: flex;
    flex-direction: column;
}
*/
.top-row {
    min-height: 4rem;
    display: flex;
    align-items: center;
    z-index: 10;
}

.main {
    flex: 1;
    background-color: #F5F5F5;
}

    .main .top-row {
        background-color: #00692f;
        justify-content: space-between;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
            color: #fff;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background-color: #fff;
}

    .sidebar .top-row {
        background-color: #00692f;
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        color: #000
    }

        .sidebar .nav-item:first-of-type {
            /*     padding-top: 1rem;*/
        }

        .sidebar .nav-item:last-of-type {
            /*    padding-bottom: 1rem;*/
        }

        .sidebar .nav-item a {
            color: #000;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
            border-bottom: 1px solid #C8C8C8;
        }

            .sidebar .nav-item a.active {
                background-color: #ffdc00;
                color: #000;
            }

            .sidebar .nav-item a:hover {
                background-color: #ffdc00;
                color: #000;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.valid.modified:not([type=checkbox]) {
    outline: unset;
}

.main-form {
    font-family: Arial, sans-serif;
    color: #000;
    text-transform: uppercase;
    font-size: 12px;
    background-color: #F5F5F5;
}

form {
    width: auto;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    form {
        width: 45vw;
        overflow: hidden;
    }
}

@media screen and (min-width: 1200px) {
    form {
        width: 47vw;
        overflow: hidden;
    }
}

label {
    text-align: left;
    padding: 0;
    margin-bottom: 0;
}

input:not([type=checkbox]), select {
    width: 100%;
    background-color: var(--white);
    border-radius: 5px;
    height: auto;
    border: 1px solid #C8C8C8;
    padding: 7px
}

input[type=color] {
    width: 50px;
    height: 40px;
    padding: 1px;
}

select:focus-visible {
    border: 1px solid #C8C8C8;
}

.fa-question-circle, .fa-external-link-alt {
    color: #8c8c8c
}

.small-img img {
    height: 50px;
    margin: 0px 5px 5px 0;
}

.thumb-container {
    position: relative;
    display: inline-block;
    text-align: center;
    color: #8c8c8c;
    height: 76px;
    vertical-align: top;
}

.hide {
    visibility: hidden;
}

.thumb-container div.remove {
    position: relative;
    height: 18px;
}

.thumb-container:hover .hide {
    visibility: visible;
}

.thumb-container .play-icon {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 99;
    margin: auto;
    height: 25px;
    top: 0;
    left: 0;
    bottom: 0;
}

.file label {
    display: inline-block;
    background-color: transparent;
    color: #409647;
    border: 1px solid #409647;
    padding: 0.5rem;
    font-family: sans-serif;
    border-radius: 0.3rem;
    cursor: pointer;
    font-size: 12px;
    text-align: center !important;
    height: unset;
    line-height: unset;
}

.result {
    background-color: #D4E0D4;
    color: var(--green);
    font-weight: 600;
    /*border: 1px solid #C8C8C8;*/
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 10px;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.main-empty {
    text-align: center;
    width: 100%;
    position: fixed;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

    .main-empty .content {
        width: 100%;
    }

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

    .form-signin .checkbox {
        font-weight: 400;
    }

    .form-signin .form-control {
        position: relative;
        box-sizing: border-box;
        height: auto;
        padding: 10px;
        font-size: 16px;
    }

        .form-signin .form-control:focus {
            z-index: 2;
        }

    .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.values p {
    font-size: 10px;
    /*  text-transform:uppercase;*/
    /*    padding: 0;*/
    margin: auto;
    /*  width: 100%;*/
}

.powder, .fixed-line-cost, .energy, .blue-collar, .cost, .savings, .savings-top {
    padding: 4px;
    color: #fff;
    text-align: center;
    margin: auto;
    font-size: 10px;
    border-radius: 5px;
}

.powder {
    background-color: #793679;
    /* padding: 2px 0;
    width: 100%;
    color: #fff;
    text-align: center;
    margin: auto;
    font-size: 10px;
    border-radius: 5px;*/
}

.fixed-line-cost {
    background-color: #c0af6d;
    /* padding: 2px 0;
    width: 100%;
    color: #fff;
    text-align: center;
    margin: auto;
    font-size: 10px;
    border-radius: 5px;*/
}

.energy {
    background-color: #eba73a;
    /* padding: 2px 0;
    width: 100%;
    color: #fff;
    text-align: center;
    margin: auto;
    font-size: 10px;
    border-radius: 5px;*/
}

.blue-collar {
    background-color: #409647;
    /* padding: 2px 0;
    width: 100%;
    color: #fff;
    text-align: center;
    margin: auto;
    font-size: 10px;
    border-radius: 5px;*/
}

.cost {
    background-color: #8d2116;
    /* padding: 2px 0;
    width: 100%;
    color: #fff;
    text-align: center;
    margin: auto;
    font-size: 10px;
    border-radius: 5px;*/
}

.savings {
    background-color: #ffdc00;
    color: var(--black)
    /*padding: 5px;*/
    /* width: 100%;*/
    /*  text-align: center;
    margin: auto;
    color: var(--green);
    border: 1px solid #00692f;
    border-radius: 5px;
    font-size: 10px;*/
}

.savings-top {
    color: var(--green);
    border: 1px solid #00692f;
    border-radius: 5px;
}

.green-savings {
    background-color: #ffdc00;
    border-radius: 5px;
    color: var(--green);
    text-align: center;
    padding: 0 5px;
}

.effect-icon {
    background-color: var(--darkgreen);
    border-radius: 40px;
    padding: 5px 8px;
    position: relative;
    bottom: 20px;
}

.effect-icon-scroll {
    background-color: var(--darkgreen);
    border-radius: 40px;
    padding: 5px 8px;
    border: none;
}

.green-savings-box {
    border-radius: 10px;
    border: 3px solid var(--darkgreen);
    margin-left: -50px;
    width: 250px;
    position: relative;
    float: right;
    top: 9%;
    left: 74%;
}

    .green-savings-box .box {
        display: block;
    }

.green-savings-container.collapse.show .green-savings-box {
    z-index: 20;
}

.result .savings, .result .blue-collar {
    width: 60px;
}

.first-image {
    /* border-top-right-radius: 50px;*/
    /*background-position: center;
    background-repeat: no-repeat;
    background-size: cover;*/
    height: 100%;
    max-height: 240px;
    width: 100%;
    max-width: 440px;
    object-fit: cover;
    margin-top: 24px;
}

.fa-edit {
    color: #00692f;
    vertical-align: middle;
    margin: 7px 5px 0 5px;
    position: absolute;
    font-size: 16px;
}

.hanging-card .fa-trash-alt {
    color: #00692f;
    font-size: 18px;
    right: 0;
    position: absolute;
}

.hanging-card:not(:first-child) {
    border-top: 1px solid #C8C8C8;
    padding-top: 30px
}

.card-body {
    background-color: #fff
}

.card-header {
    border-bottom: unset;
}

    .card-header .mytooltip .tooltip-item {
        font-weight: 600
    }

    .card-header span.oi {
        color: #000 !important;
    }

.card-header {
    background-color: rgba(0,0,0,.09);
}

.file input {
    position: absolute;
    opacity: 0;
    top: 10px;
    cursor: pointer;
}

.file .fas {
    color: #009a3e !important;
}

.fas .fa-question-circle {
    color: #ced4da !important;
}
/*.hangon-tooltip:hover:before {
    transform: translate3d(-100%,calc(-100% - 18px),0);
}
.hangon-tooltip:hover:after {
    transform: translate3d(-70%,calc(-100% - 16px),0);
}
.hangon-tooltip:hover:after, .hangon-tooltip:hover:before {
    opacity: 1;
    z-index: 999;
}
.hangon-tooltip {
    cursor: pointer;
}
    .hangon-tooltip:before {
        content: "";
        position: absolute;
        opacity: 0;
        pointer-events: none;
        left: 50%;
        transform: translate3d(-50%,0,0);
        transition: all .3s ease;
        transition-delay: .3s;
        width: 0;
        top: 12px;
        height: 0;
        border-style: solid;
        border-width: 10px 10px 0 10px;
        border-color: #409647 transparent transparent transparent;
    }
    .hangon-tooltip:after {
        text-transform: none;
        content: attr(data-tooltip);
        position: absolute;
        color: #fff;
        background: #409647;
        padding: 8px 12px;
        width: 300px;
        opacity: 0;
        pointer-events: none;
        left: 100%;
        top: 0;
        transform: translate3d(-50%,0,0);
        transition: all .3s ease;
        transition-delay: .3s;
    }

*/

.mytooltip {
    display: inline;
    position: relative;
    /*z-index: 999* JK har kommenterat ut denna då texten annars syns över chartdelen vid scrollning */
}

    .mytooltip .tooltip-item {
        cursor: pointer;
    }

    .mytooltip .tooltip-content {
        position: absolute;
        z-index: 8;
        width: 360px;
        left: 2%;
        top: 30px;
        text-align: left;
        line-height: 30px;
        -webkit-box-shadow: -5px -5px 15px rgb(48 54 61 / 20%);
        box-shadow: -5px -5px 15px rgb(48 54 61 / 20%);
        background: #409647;
        opacity: 0;
        cursor: default;
        pointer-events: none;
        padding: 10px;
    }

        /* .mytooltip .tooltip-content {
        position: fixed;
        z-index: 15;
        width: 360px;
        margin: -6% -1%;
        text-align: left;
        -webkit-box-shadow: -5px -5px 15px rgb(48 54 61 / 20%);
        box-shadow: -5px -5px 15px rgb(48 54 61 / 20%);
        background: #409647;
        opacity: 0;
        cursor: default;
        pointer-events: none;
        padding: 10px;
    }
*/
        .mytooltip .tooltip-content::before {
            content: '';
            bottom: 100%;
            left: 50%;
            border: solid transparent;
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 12px solid #409647;
            margin-left: -130px;
        }
        /* .mytooltip .tooltip-content::after {
            content: '';
            top: 100%;
            left: 50%;
            border: solid transparent;
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border-color: #409647 transparent transparent;
            border-width: 10px;
            margin-left: -10px
        }*/

        .mytooltip .tooltip-content img {
            position: relative;
            height: 140px;
            display: block;
            float: left;
            margin-right: 1em
        }

    .mytooltip .tooltip-item::after {
        content: '';
        position: absolute;
        width: 360px;
        height: 20px;
        bottom: 100%;
        left: 50%;
        pointer-events: none;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%)
    }

    .mytooltip:hover .tooltip-item::after {
        pointer-events: auto
    }

    .mytooltip:hover .tooltip-content {
        pointer-events: auto;
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0deg);
        transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0deg)
    }

    .mytooltip:hover .tooltip-content2 {
        opacity: 1;
        font-size: 18px
    }

    .mytooltip .tooltip-text {
        line-height: 24px;
        margin-bottom: 0;
        color: #fff;
    }

/*.custom-check input[type=checkbox]:before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
    background-color: #e9e9e9;
}
*/
/*.custom-check input[type=checkbox]:checked:before {
    content: "";
    display: block;
    position: absolute;
    width: 15px;
    height: 15px;
    top: 0;
    left: 0;
    background-color: #409647;
}*/

/*.custom-check input[type=checkbox]:checked:after {
    content: "";
    display: block;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 1px;
    left: 5px;
}
*/
.bold-disable input {
    background-color: transparent;
    border: unset;
    font-weight: 600;
    padding-top: 0;
    margin-top: -4px;
}

textarea:focus, input:focus {
    outline: none;
}

.modal-header {
    border-bottom: unset;
}

.modal-footer {
    border-top: unset;
}

.modal-body td, thead th {
    /*text-align: center*/
}

.table thead th {
    border-top: unset;
    border-bottom: 1px solid #dee2e6 !important;
}
/*.right, .left {
    height: 90vh;
}*/
.right div.chart-box {
    flex-direction: row-reverse;
}

    .right div.chart-box .chart div.row {
        justify-content: start;
    }

    .right div.chart-box div.col-sm-8 {
        justify-content: end;
    }

.chart div.row {
    justify-content: end;
}
.radio-chart-container {
    width: 100%
}
.radio-chart {
    right: 1.8%;
    top: 28%;
    background-color: var(--darkgreen);
    width: 25px;
    border-radius: 30px;
    padding: 0px 0 5px;
    z-index: 2;
    position: sticky;
}

    .radio-chart input[type='radio'] {
        accent-color: var(--green);
    }

    .radio-chart label {
        font-size: 8px;
        padding: 0;
        margin: 0;
        color: #fff;
        display: block;
        text-align: center;
    }

.chart-container {
    position: relative;
    margin: 0 !important;
    height: 100%;
    width: 45% !important
}

canvas {
    width: 100% !important;
    height: 100% !important;
    margin-top: -25px
}

.result-box {
    min-height: 80px;
    margin: 0 0 24px 0;
    max-width: 450px;
    min-width: 200px;
}

.form-group {
    margin-bottom: 8px;
    align-items: center;
    text-transform: none;
}

.card {
    margin-bottom: 10px;
}

.navbar-light .navbar-toggler {
    color: rgba(0,0,0,.5);
    border-color: transparent !important
}

.green-savings-btn, .green-savings-btn:hover, .green-savings-btn:first-child:active {
    display: none;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 22;
    padding: 5px 10px 5px 5px;
    border-radius: 23px 0 0 23px;
    border: none;
    background-color: var(--darkgreen);
}

.case-banner {
    position: sticky !important;
    top: 0px;
    display: flex;
    min-height: 30px;
    z-index: 11;
    background-color: var(--darkgreen);
    align-items: center;
    justify-content: space-between;
}

.custom-divider {
    position: relative;
    border-left: 8px solid #D4E0D3;

}


@media (max-width: 1550px) {
    .green-savings-box {
        left: 69%;
        width: 220px;
    }
}

@media (max-width: 1400px) {
    /* .right .result-box {
        max-width: 400px;
    }*/
    .chart-container {
        width: 55% !important;
    }
}

@media (max-width: 1300px) {
    canvas {
        margin-top: -15px
    }
    /* .right .result-box {
        min-height: 240px;
        max-width: 350px;
    }*/
    .chart div.row, .right div.chart-box .chart div.row {
        justify-content: center;
    }

    .chart-container {
        width: 60% !important;
    }

   /* .green-savings-box {
        top: 2%;
        left: 69%;
    }*/
}

@media (max-width: 1240px) {
    .radio-chart {
        right: 2.5%;
     
    }
/*    .green-savings-box {
        width: 350px;
        height: 180px;
        top: 1%;
        left: 30%;
    }

        .green-savings-box .box {
            display: flex;
            justify-content: center;
        }

            .green-savings-box .box .d-flex {
                display: block !important;
            }

    .effect-icon {
        background-color: var(--darkgreen);
        border-radius: 40px;
        padding: 5px 8px;
        position: relative;
        right: 174px;
        bottom: 0px;
        top: 71px;
    }

    .green-savings-box button {
        margin-top: 0 !important;
    }*/
}

@media (max-width: 1100px) {

    .green-savings-box {
        top: 5%;
        left: 60%;
    }
    .chart-container {
        width: 80% !important;
    }
}
@media (max-width: 1024px) {
    canvas {
        margin-top: -10px
    }

    .radio-chart {
        right: 3.2%;
    }
}

@media (max-width: 991px) {
    canvas {
        margin-top: -10px
    }
    .radio-chart {
        right: 3.4%;
    }
}

@media (max-width: 942px) {

    .right div.chart-box, .left div.chart-box {
        flex-direction: column;
        align-items: center;
    }

    .first-image {
        max-height: 220px;
    }
        .green-savings-box {
        width: 350px;
        height: 180px;
        top: 1%;
        left: 30%;
    }

        .green-savings-box .box {
            display: flex;
            justify-content: center;
        }

            .green-savings-box .box .d-flex {
                display: block !important;
            }

    .effect-icon {
        background-color: var(--darkgreen);
        border-radius: 40px;
        padding: 5px 8px;
        position: relative;
        right: 174px;
        bottom: 0px;
        top: 71px;
    }

    .green-savings-box button {
        margin-top: 0 !important;
    }
}

@media (max-width: 881px) {

    .first-image {
        max-height: 210px;
    }

    .green-savings-box {

        top: 1%;
        left: 22%;
    }

    .radio-chart {
        right: 3.4%;
        top: 25%;
    }
    /*.radio-chart {
        float: right;
        left: 2%;
        transform: translateX(-50%);
        z-index: 10;
        top: 80%;
        background-color: var(--darkgreen);
        width: 25px;
        border-radius: 30px;*/
        /*padding: 5px 0 3px;*/
    /*}*/

}





@media (min-width: 768px) {

    .top-nav {
        z-index: 11;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
    top: 0;
    }

    

    .set-up-text {
        align-items: center;
    }

    .chart-top {
        position: sticky;
        top: 31px;
        z-index: 1;
        background-color: var(--white);
        padding-bottom: 15px;
        min-height: 270px;
    }

    .ccc-form {
        background-color: var(--white);
        padding-top: 20px;
        padding-bottom: 100px;
    }

    .template-name {
        padding-left: 5px;
        max-width: 125px;
        white-space: nowrap;
        overflow: hidden !important;
        text-overflow: ellipsis;
        text-decoration: underline;
    }

    .line-name {
        padding-left: 5px;
        max-width: 70px;
        white-space: nowrap;
        overflow: hidden !important;
        text-overflow: ellipsis;
        text-decoration: underline;
    }

    .product-name {
        padding-left: 5px;
        max-width: 90px;
        white-space: nowrap;
        overflow: hidden !important;
        text-overflow: ellipsis;
        text-decoration: underline;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }


}
@media (max-width: 767.98px) {
    /*  .main .top-row:not(.auth) {
        display: none;
    }*/
    .first-image {
        max-height: 240px;
    }

    .green-savings-box {
        width: 220px;
        height: 250px;
        top: 15%;
        left: 69%;
        z-index: 7;
    }

    .effect-icon {
        background-color: var(--darkgreen);
        border-radius: 40px;
        padding: 5px 8px;
        position: relative;
        right: 0px;
        bottom: 0;
        top: -20px;
    }

    .green-savings-box .box {
        display: block;
    }

        .green-savings-box .box .d-flex {
            display: flex !important;
        }

    .green-savings-box button {
        margin-top: 24px !important;
    }

    .chart div.row {
        justify-content: end;
    }

    .right div.chart-box .chart div.row {
        justify-content: end;
    }

    .chart-container {
        width: 60% !important;
    }

    .right div.chart-box {
        flex-direction: row;
        align-items: center;
    }

        .right div.chart-box div.col-8 {
            justify-content: start;
        }

    .left div.chart-box {
        flex-direction: row;
        align-items: center;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }

    .custom-divider {
        position: relative;
        border-left: none;
        border-top: 8px solid #D4E0D3;
    }
    .radio-chart-container {
        width:90%
    }
    .radio-chart {
        display: flex;
        float: none;
        left: 50%;
        transform: translateX(-50%);
        top: -19px;
        width: 65px;
        padding: 3px 10px 2px;
        justify-content: center;
        align-items: center;
    }
}
@media (max-width: 568px) {


    .green-savings-box {
        width: 220px;
        height: 250px;
        top: 15%;
        left: 60%;
    }
}

@media (max-width: 476px) {

    .green-savings-box {
        width: 300px;
        height: 180px;
        top: 21%;
        left: 28%;
    }

        .green-savings-box .box {
            display: flex;
            justify-content: center;
        }

            .green-savings-box .box .d-flex {
                display: block !important;
            }

    .effect-icon {
        background-color: var(--darkgreen);
        border-radius: 40px;
        padding: 5px 8px;
        position: relative;
        right: 147px;
        bottom: 0px;
        top: 71px;
    }

    .green-savings-box button {
        margin-top: 0 !important;
    }
}


    .top-div-form {
        background: #EBEBEB;
        border-radius: 20px;
        padding: 6px 14px;
        margin-bottom: 10px;
    }

    .case-box {
        height: 365px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .bg-green {
        background-color: var(--lightgreen);
    }

    .bg-lightgray {
        background-color: var(--lightgray);
    }

    .yellow {
        color: var(--yellow);
    }

    .green {
        color: var(--green);
    }

    .dark-green {
        color: var(--darkgreen);
    }

    .logo-nav {
        width: 200px;
        margin-right: 5px;
    }

    .frame {
        width: 100%;
        min-height: 250px;
        background-color: #fcfcfc;
    }

    .image-frame {
        background-image: url(/HangOn_frame434.png);
        background-size: cover;
        background-position: center;
        width: 100%;
        min-height: 350px;
        /* height: 350px; */
    }

        .image-frame:active {
            background: linear-gradient( rgba(0, 153, 61, 0.2), rgba(0, 153, 61, 0.2) ), url(/HangOn_frame434.png);
            background-size: cover;
            background-position: center;
            width: 100%;
            min-height: 350px;
        }

    .dropdown-toggle::after {
        display: none;
    }

    #dropdown-menu {
        border-radius: 0;
        transform: translate3d(0px, 45px, 0px) !important;
    }

    @media (min-width: 1400px) {
        .image-frame {
            min-height: 300px;
            height: 400px;
        }
    }

    @media (min-width: 2000px) {
        .image-frame, .frame {
            min-height: 300px;
            height: 550px;
        }
    }

    @media (min-width: 2500px) {
        .image-frame, .frame {
            min-height: 300px;
            height: 650px;
        }
    }

    @media (min-width: 3000px) {
        .image-frame, .frame {
            min-height: 300px;
            height: 750px;
        }
    }

    @media (min-width: 3000px) {
        .image-frame, .frame {
            min-height: 300px;
            height: 850px;
        }
    }

    .rotate {
        animation: rotation 4s infinite linear;
    }

    @keyframes rotation {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(359deg);
        }
    }

    @media (max-width: 1023px) {
        .btn-round {
            top: 14rem;
        }
    }
