/* .market-data-svg svg {
    height: 90vh !important;
} */

.market-data-svg svg {
    height: 100%;
    width: 100%;
}

.svg-div {
    padding: 14px 20px;
    margin-bottom: 20px;
    color: #181A1D;
    font-size: 15px;
    font-weight: 400;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 5px;
    background: #ffffff;
}

.svg-div .totals {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid #C21215;
    padding: 5px 0;
}

.svg-div .totals:last-child {
    border-bottom: none;
}

.svg-div .totals span.value {
    font-weight: 700;
    font-size: 17px;
}

.svg-div.counrty {
    padding: 0 10px;
    background-color: #F6F7FB;
}

.svg-div.counrty .totals {
    align-items: center;
}

.svg-div.counrty .totals span.value {
    margin-left: auto;
    font-weight: 400;
}

.svg-div.counrty .totals span.name {
    font-weight: 700;
}

.svg-div.counrty .totals img.flag {
    margin-right: 5px;
    width: 20px;
}

.legend {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    font-size: 10px;
    padding: 0 10px;
}

.legend span.legend-preview-physical:before {
    content: "";
    width: 50px;
    height: 2px;
    background: #3ddaf4;
    display: inline-block;
    margin-right: 15px;
}

span.legend-preview-physical, span.legend-preview-commercial {
    display: flex;
    align-items: center;
}

span.legend-preview-commercial:before {
    content: "";
    width: 50px;
    height: 2px;
    background: #30ed2b;
    display: inline-block;
    margin-right: 15px;
}

g.nenstacion > g {
    display: block;
    transition: .5s;
}

g.nenstacion:hover > g {
    display: block;
    transition: .5s;
}

g.nenstacion {
    cursor: pointer;
}

.generation-load-charts .charts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 30px;
    background: #dce3eb;
}

.top-row {
    /* display: flex; */
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    padding: 10px 0;
    background-color: #C21215;
}

.top-row label {
    width: auto;
    white-space: nowrap;
    margin: 0 15px;
}

form#exportForm {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.svg-holder {
    position: relative;
}

/* generation load */
.container-ost {
    width: 100%;
    display: flex;
}

.col-md-3 {
    width: 25%;
}

.col-md-4 {
    width: 33.333333%;
}

.col-md-5 {
    width: 41.666667%;
}

.col-md-6 {
    width: 50%;
}

.col-md-7 {
    width: 58.333333%;
}

.col-md-8 {
    width: 66.666667%;
}

.col-md-9 {
    width: 75%;
}

.col-md-10 {
    width: 83.333333%;
}

.col-md-12 {
    width: 100%;
}

.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.title-ost-code {
    margin-bottom: 0px;
    color: #C21215;
    font-size: 20px;
}

.date-input-top {
    display: flex;
    align-items: center;
}

.date-input-top label.date-data {
    color: #ffffff;
    font-size: 18px;
}

.date-input-top input#dateInput {
    color: #5A5F65;
    border: 1px solid #C21215;
    border-radius: 5px;
    background: #ffffff;
    line-height: 50px;
}
.svg-pl-toggle {
    position: relative;
}
.checkbox-toogle-div {
    position: absolute;
    z-index: 2;
    top: 6%;
    left: 10%;
}

.generation-load-charts .charts .chart.chart-1, .generation-load-charts .charts .chart.chart-2 {
    width: 49%;
    overflow: hidden;
    overflow-x: auto;
}

.generation-load-charts .charts .chart.chart-1 {
    margin-right: 2%;
}

.generation-load-charts .charts .chart.chart-3 {
    width: 100%;
    margin-top: 16px;
    overflow: hidden;
    overflow-x: auto;
}

.generation-load-charts .charts .chart {
    box-shadow: 0px 3px 6px #00000029;
    border: 1px solid #FDEEE7;
}

.export-data {
    padding: 10px 15px;
    background-color: #C21215;
    margin-top: -10px;
}

form#exportForm > div {
    display: flex;
    align-items: center;
    width: 30%;
}



form#exportForm > div label {
    color: #ffffff;
    margin-bottom: 0px;
    margin-right: 15px;
}

form#exportForm > div input {
    width: 240px;
    color: #5A5F65;
    border: 1px solid #C21215;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: inset 0px 0px 6px 0px rgb(0 0 0 / 48%);
    height: 35px;
}

form#exportForm .buttons-export {
    width: 35%;
    justify-content: space-between;
}

form#exportForm .buttons-export button.export-btn {
    width: 47%;
    border: 1px solid #ffffff;
    border-radius: 5px;
    color: #ffffff;
    background: transparent;
    height: 35px;
}

.filtrat {
    width: 60%;
}

form#dateTimeForm {
    justify-content: space-between;
}

form#dateTimeForm .date-input-top {
    margin-left: 20px;
}

.date-data-in {
    color: #5A5F65 !important;
    background: #ffffff !important;
    border: 1px solid #C21215 !important;
    padding: 0 15px;
    height: 35px;
    box-shadow: inset 0px 0px 6px 0px rgb(0 0 0 / 48%);
}

/* market data switch actual comercial */
.ac-co-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .ac-co-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .ac-co-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .ac-co-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .ac-co-switch input:checked + .slider {
    background-color: #2196F3;
  }
  
  .ac-co-switch input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  .ac-co-switch input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  .graph-table {
        text-align: right;
        margin-left: auto;
        margin-right: 15px;
    }

    .graph-table > a {
        font-weight: 700;
        color: #ffffff;
    }

    .graph-table > a:hover {
        color: #000000;
    }

    .graph-table > a:first-child:after {
        content: "|";
        margin-left: 20px;
        margin-right: 11px;
    }

    .graph-table > a:first-child:hover:after {
        color: #ffffff;
    }
  /* Rounded sliders */
  .ac-co-switch .slider.round {
    border-radius: 34px;
  }
  
  .ac-co-switch .slider.round:before {
    border-radius: 50%;
  }

  .market-point-value {
    display: none;
    }

    .arrows {
        display: none;
    }

    .commercial-svg .comercialML-show,
    .commercial-svg .comercialKS-show,
    .commercial-svg .comercialGR-show,
    .commercial-svg .commercial{
        display: block;
    }

    .physical-svg .physicalML-show,
    .physical-svg .physicalKS-show,
    .physical-svg .physicalGR-show,
    .physical-svg .physical{
        display: block;
    }

    .arrows polygon:nth-child(1) {
        animation: arrowAnimation 1s infinite .5s;
    }

    .arrows polygon:nth-child(2) {
        animation: arrowAnimation 1s infinite .6s;
    }

    .arrows polygon:nth-child(3) {
        animation: arrowAnimation 1s infinite .7s;
    }

    .arrows polygon:nth-child(4) {
        animation: arrowAnimation 1s infinite .8s;
    }

    @keyframes arrowAnimation {
    0% {
        transition: .5s;
        opacity: 0;
    }
    25% {
        transition: .5s;
        opacity: 1;
    }
    50% {
        transition: .5s;
        opacity: 1;
    }
    75% {
        transition: .5s;
        opacity: 1;
    }
    100% {
        transition: .5s;
        opacity: 0;
    }
}

.kv-item,
.kv-220-button,
.kv-400-button{
    cursor: pointer;
}
    
g.disable rect {
    fill: grey;
}

p.table-title {
    text-align: center;
    margin: 10px;
    width: 100%;
}

.market-data-table .col-md-6 table {
    width: 95%;
    margin: 0 auto;
}

.market-data-table .col-md-6 table th {
    font-weight: 400;
    font-size: 13px;
    letter-spacing: -0.5px;
}

.noxfolio-site-logo a img {
    padding: 0 30px;
}

.mobile-static-menu {
    display: none;
}

.elementor-element.e-con-boxed.e-con.e-parent {
    padding: 0px;
}

.e-con.e-flex>.e-con-inner {
    padding: 0px;
}
.footer-copyright {
    background-color: #f6f7fb !important;
}

div#noxfolio-page {
    box-shadow: 0px 0px 20px #00000029;
}

.market-data-table {
    background: #f6f7fb;
}

.arrows.arrows-in  polygon {
    fill: #C21215;
}

.arrows.arrows-out polygon {
    fill: #008000;
}

.transmission .date-input-top {
    justify-content: flex-end;
    margin-right: 12px;
}

.transmission .filtrat {
    max-width: 500px;
}
.vler {
    color: #000000;
    text-align: center;
    font-size: 18px;
    margin: 10px 0;
}

.svg-holder.transmission {
    display: flex;
    background: #dce3eb;
}

.svg-holder.transmission .left {
    width: 50%;
}

.market-data-svg .svg-holder.transmission svg{
    width: 50%;
    height: 100vh;
}

.svg-holder.transmission .left .kv-buttons {
    width: 100%;
    margin: 150px 0 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-holder.transmission .left .kv-buttons a {
    padding: 10px 30px;
    background: #c01215;
    margin: 15px;
    color: #fff;
    font-weight: 700;
    border: 2px solid #fff;
}

.svg-holder.transmission .left .kv-buttons a.kv-220-button {
    background: #2e933c;
}

.svg-holder.transmission .left canvas {
    width: 80% !important;
    margin: 0 auto;
}


.mobile-info {
    display: none;
}



/* new design start */
.new .svg-div {
    font-size: 11px;
    font-weight: 600;
}

.new .svg-div .totals span.value {
    font-size: 10px;
    font-weight: 400;
    color: #707070;
}

.new .svg-div .totals {
    border-bottom: 2px solid #EBEBEB;
    position: relative;
}

.new .border-bottom-progress {
    position: absolute;
    bottom: -2px;
    background: #c21215;
    height: 2px;
    width: 0;
}

.new .svg-div.counrty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.new .svg-div.counrty img.flag {
    width: 47px;
    height: 47px;
    margin-right: 15px;
}

.new .svg-div.counrty .infoo {
    flex: 1;
}

.new .svg-div.counrty .infoo .totals {
    border-bottom: none;
}

.new .svg-div.counrty .totals span.name {
    font: normal normal normal 12px/15px Montserrat;
    letter-spacing: 0.24px;
    color: #707070;
}

.new .svg-div.counrty .totals span.value {color: #C21215;font: normal normal 300 12px/15px Montserrat;letter-spacing: 0.24px;}

.new .svg-div.counrty .totals:nth-child(2) span.name {
    font-size: 18px;
    letter-spacing: 0.36px;
    color: #000000;
}

.new .date-input-top label.date-data {
    color: #707070;
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 500;
}

.new .graph-table > a {
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.new.top-row {
    background: #dce3eb;
    padding-top: 30px;
}

.new .date-data-in {
    border: 1px solid #BFBCBC !important;
    border-radius: 5px;
    box-shadow: none;
    color: rgb(97 101 105 / 50%) !important;
    font-size: 16px !important;
}

.new form#exportForm > div label {
    color: #707070;
    font-size: 16px;
    font-family: 'Montserrat';
    letter-spacing: 0.32px;
}

.export-data.new {
    background-color: #dce3eb;
    padding-bottom: 50px;
    padding-top: 25px;
}

.new form#exportForm .buttons-export button.export-btn {
    background: #C21215;
    border: 1px solid #F6F7FB;
    border-radius: 5px;
}

.new form#exportForm > div input {
    border: 1px solid #BFBCBC;
    border-radius: 5px;
    box-shadow: none !important;
    color: rgb(97 101 105 / 50%) !important;
    font-size: 16px;
}

.noxfolio-boxed-layout {
    background-color: #dce3eb !important;
}

div#noxfolio-page {
    box-shadow: none;
}

.new .checkbox-toogle-div {
    position: absolute;
    z-index: 2;
    top: 3%;
    left: 2.5%;
}

.new .arrows g:nth-child(1) {
    animation: arrowAnimation 1s infinite .5s;
}

.new .arrows g:nth-child(2) {
    animation: arrowAnimation 1s infinite .6s;
}

.new .arrows g:nth-child(3) {
    animation: arrowAnimation 1s infinite .7s;
}

.new .arrows g:nth-child(4) {
    animation: arrowAnimation 1s infinite .8s;
}

/* body.noxfolio-boxed-layout:before {
    content: "";
    background: #f6f7fb;
    width: 100vw;
    height: 95px;
    display: block;
    position: absolute;
    left: 0;
} */

.generation-load-charts .charts.new {
    padding: 30px 0;
}

.generation-load-charts .charts.new .chart {
    border-radius: 15px;
    border: none;
    box-shadow: 0px 3px 6px #00000029;
}


/* new design end */

/* mobile  */
@media (max-width:768px) {
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10 {
        width: 100%;
    }
    
    .container-ost {
        flex-wrap: wrap;
    }
    
    .title-ost-code {
        text-align: center;
        margin-bottom: 30px;
        padding-left: 15px;
    }

    .graph-table {
        text-align: left;
        margin: 0;
        padding-left: 15px;
        margin-top: 15px;
    }
    
    .date-input-top label.date-data {
        font-size: 17px;
    }
    
    .generation-load-charts .charts .chart.chart-1, .generation-load-charts .charts .chart.chart-2 {
        width: 100%;
        margin-right: 0px;
        margin-top: 16px;
    }
    
    form#exportForm {
        flex-wrap: wrap;
    }
    
    form#exportForm > div {
        width: 100%;
        margin-bottom: 10px;
        justify-content: space-between;
    }
    
    form#exportForm > div input {
        width: 200px;        
        line-height: 60px;
    }
    
    form#exportForm .buttons-export {
        width: 100%;
    }    

    form#dateTimeForm {
        flex-wrap: wrap;
        justify-content: start;
    }
    
    form#dateTimeForm .date-input-top {
        margin-bottom: 10px;
        margin-left: 0px;
    }

    .market-data-table.container-ost .col-md-6{
        overflow: auto;
    }

    .mobile-static-menu {
        position: relative;
        /* display: flex; */
        background-color: #C21215;
        border-bottom: 2px solid #fff;
    }
    
    .mobile-static-menu:before {
        content: "";
        width: 100vw;
        height: calc(100% + 10px);
        display: block;
        position: absolute;
        background: #c21215;
        z-index: -1;
        margin-left: 50%;
        transform: translate(-50%, 0px);
        top: -10px;
    }
    
    .mobile-static-menu ul.primary-mobile-menu {
        list-style: none;
        margin: 10px 0 20px 0;
        width: 100%;
    }
    
    .mobile-static-menu ul.primary-mobile-menu a {
        font-size: 15px;
        text-transform: uppercase;
        color: #ffffff;
        padding: 10px 0;
        font-weight: 700;
        text-decoration: underline;
    }
    
    .mobile-static-menu ul.primary-mobile-menu li.menu-item-mobile {
        margin-bottom: 0px;
        border-bottom: 1px solid #fff;
    }
    
    .mobile-static-menu ul.primary-mobile-menu li.menu-item-mobile:last-child {
        border-bottom: none;
    }

    /* new mobile xd  */
    .top-row .filtrat {
        width: 100%;
        border-bottom: 1px solid #ffffff;
    }
    
    .top-row .filtrat .date-input-top {
        width: 48%;
    }
    
    .top-row .filtrat .date-input-top label.date-data {
        font-size: 14px;
        text-align: left;
        letter-spacing: -1px;
        font-weight: 700;
        margin: 0;
    }
    
    .top-row .filtrat form#dateTimeForm {
        width: 100%;
        justify-content: flex-end;
    }
    
    .top-row .filtrat .date-input-top input#dateInput, .top-row .filtrat .date-input-top select {
        font-size: 14px;
        height: 35px;
    }
    
    .top-row .filtrat .date-input-top select, .top-row .filtrat .date-input-top input {
        width: 40px;
        text-align: center;
        padding: 0px;
        margin-left: 15px;
    }
    
    .top-row .graph-table {
        width: 100%;
        text-align: center;
        padding-left: 0px;
        margin-top: 10px;
        line-height: 10px;
    }

    .top-row .filtrat .date-input-top input {
        padding: 0 10px;
    }
    
    .top-row .graph-table a {
        font-weight: 400;
        font-size: 14px;
        line-height: 14px;
    }
    
    .export-data {
        padding: 10px 0;
    }
    
    .export-data form#exportForm .start-date, .export-data form#exportForm  .end-date {
        width: 48%;        
        justify-content: center;
    }
    
    .export-data form#exportForm .buttons-export {
        width: 100%;
        border-top: 1px solid #ffffff;
        padding: 10px 15px 0;
        margin-bottom: 0px;
    }
    
    .export-data form#exportForm .buttons-export button.export-btn {
        font-size: 14px;
        white-space: nowrap;
    }
    
    .export-data form#exportForm input {
        font-size: 14px;
        width: 40px;
        padding: 0 10px;
    }
    
    .export-data form#exportForm label {
        font-size: 14px;
    }
    .transmission.top-row .filtrat form#dateTimeForm {
        justify-content: flex-start;
    }
    
    .transmission.top-row .filtrat form#dateTimeForm input#dateInput {
        width: auto;
    }
    .transmission .filtrat {
        border-bottom: none;        
        padding: 0 15px;
    }
    .svg-holder.transmission {
        flex-wrap: wrap;
    }
    
    .market-data-svg .svg-holder.transmission svg {
        width: 100%;
        height: calc(100vh - 260px);
    }
    
    .svg-holder.transmission .left {
        width: 100%;
    }

    .svg-holder.transmission .left canvas{
        width: 94% !important;
        margin-bottom: 50px !important;
    }
    .svg-holder.transmission .left .kv-buttons {
        margin: 0px;
    }
    
    .svg-holder.transmission .left .kv-buttons a {
        margin: 0 15px 10px;
        padding: 5px 20px;
        font-size: 12px;
    }
    .svg-pl-toggle {
        padding-top: 50px;
        background: #dce3eb;
    }
    
    .svg-pl-toggle .checkbox-toogle-div {top: 5px;left: 50%;transform: translate(-50%, 0px) scale(.8);width: 214px;}

    .svg-pl-toggle svg#svg-market-data {
        width: 220vw;
        height: auto;
        margin-left: 50%;
        transform: translate(-51%, 0px);
    }
    
    .market-data-svg svg foreignObject {
        display: none;
    }
    
    .svg-pl-toggle {
        padding-bottom: 0px;
        line-height: 0px;
    }
    
    .svg-pl-toggle .checkbox-toogle-div {
        line-height: 35px;
    }

    .mobile-info {
        display: block;
        line-height: 0;
        padding: 15px 15px 0px;
    }
    
    .svg-div {
        line-height: 20px;
    }
    .svg-pl-toggle .cls-13, .svg-pl-toggle .cls-15, .svg-pl-toggle .cls-17 {
        font-size: 18px !important;
    }
    .svg-div .totals, .svg-div .totals span.value{
        font-size: 14px !important;
    }
}


@media (max-width: 768px) {
    .new.svg-pl-toggle svg#svg-market-data {
        width: 160vw;
        height: auto;
        margin-left: 50%;
        transform: translate(-49%, 0px);
    }

    .generation-load-charts .charts.new {
        padding: 30px 15px;
    }
}