/*Groen basis: #068c34*/
/*Groen accent: #0d892d*/

/*Lettertype (Googlefont): Barlow*/
/*                       Bold > font-weight: 600*/
/*Light > font-weight: 300*/

/*Border-radius: 10px*/


/*#live-megawatt-web-module {*/
/*    font-family: "Barlow", sans-serif;*/
/*    margin: 50px auto;*/
/*    max-width: 900px;*/
/*    display: flex;*/
/*    gap: 30px;*/
/*}*/

#live-megawatt-web-module-01 .lmw-main-card {
    min-height: 220px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/*#live-megawatt-web-module .lmw-chart-card {*/
/*    flex: 1;*/
/*    min-height: 220px;*/
/*    overflow: hidden;*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);*/
/*}*/

#live-megawatt-web-module .lmw-main-card > div {
    width: 100%;
}

#live-megawatt-web-module-01 .left {
    /*background-color: #068c34;*/
    /*display: flex;*/
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    position: relative;
    background: #007AFF;
    color: #fff;
}

#live-megawatt-web-module-01 .left .lmw-map {
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 40px;
    width: 260px;
    height: 100%;
    background: url('https://ventolines-windapp.web.app/nop.png') no-repeat;
    background-size: auto 100%;
    background-position: right center;
}

#live-megawatt-web-module-01 .left .lmw-map .lmw-turbine {
    position: absolute;
    width: 9px;
    height: 9px;
    background: url('rotor.png') no-repeat;
    background-size: 100% 100%;

    -webkit-animation: rotating 5s linear infinite;
    -moz-animation: rotating 5s linear infinite;
    -ms-animation: rotating 5s linear infinite;
    -o-animation: rotating 5s linear infinite;
    animation: rotating 5s linear infinite;
}

#live-megawatt-web-module-01 .left .power-holder {
    display: inline-block;
    text-align: center;
    padding: 30px;
}

#live-megawatt-web-module-01 .left .power {
    font-size: 30pt;
    font-weight: bold;
}

#live-megawatt-web-module-01 .left .subtitle {
    /*margin-top: -20px;*/
    /*font-size: 18pt;*/
    margin-left: 5px;
    font-size: 30pt;
    font-weight: 100;
    color: #fff;
}


#live-megawatt-web-module-01 .left .lmw-bar {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 120px);
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

#live-megawatt-web-module-01 .left .lmw-bar .lmw-bar-value {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 10px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.95);

    transition-property: width;
    transition-duration: 0.6s;
}

#live-megawatt-web-module-01 .right {
    display: grid;
    width: 100%;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto auto 0;
}

/*.windspeed-holder {*/
/*    grid-column: 1;*/
/*    grid-row: 1;*/
/*}*/

/*.winddirection-holder {*/
/*    grid-column: 1;*/
/*    grid-row: 2;*/
/*}*/

.activeturbines-holder {
    grid-column: 2;
    grid-row: 1 / span 2;
}


#live-megawatt-web-module-01 .right .title {
    color: #068c34;
    font-size: 10pt;
    margin: 0;
    padding: 0;
    text-align: center;
    max-width: 150px;
}

#live-megawatt-web-module-01 .right p {
    color: #068c34;
    font-weight: bold;
    margin: 0;
    font-size: 14pt;
    margin-bottom: 4px;
}

#live-megawatt-web-module-01 .right .instrument-holder {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 4px;
}

#live-megawatt-web-module-01 .right .instrument-holder.households-holder {
    border-right: 1px solid #0d892d;
    border-bottom: 1px solid #0d892d;
}

#live-megawatt-web-module-01 .right .instrument-holder.co2-holder {
    border-right: 1px solid #0d892d;
}

#live-megawatt-web-module-01 .right .instrument-holder.windspeed-holder {
    border-bottom: 1px solid #0d892d;
}

#live-megawatt-web-module-01 .right .instrument p {
    text-align: center;
}

#live-megawatt-web-module-02 canvas.lmw-chart {
    height: 100%;
}

@media (min-width: 576px) {
    #live-megawatt-web-module-01 .lmw-main-card {
        flex-direction: row;
    }

    #live-megawatt-web-module-01 .lmw-main-card > div {
        width: 50%;
    }
}

@-webkit-keyframes rotating /* Safari and Chrome */
{
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.et_pb_module.et_pb_code.et_pb_code_1,
.et_pb_code_inner,
#live-megawatt-web-module-02,
.lmw-chart-card {
    height: 100%;
}