/*
div {
      border: 1px solid #ffcccc;
  }

  span {
      border: 1px solid green;
  }
*/


@font-face {
    font-family: Lato;
    font-style: normal;
    font-weight: 400;
    src: url(../font/Lato/Lato-Regular.ttf);
}

@font-face {
    font-family: Lato;
    font-style: italic;
    font-weight: 400;
    src: url(../font/Lato/Lato-Italic.ttf);
}

@font-face {
    font-family: Lato;
    font-style: normal;
    font-weight: 300;
    src: url(../font/Lato/Lato-Light.ttf);
}

@font-face {
    font-family: Lato;
    font-style: italic;
    font-weight: 300;
    src: url(../font/Lato/Lato-LightItalic.ttf);
}

@font-face {
    font-family: Lato;
    font-style: normal;
    font-weight: 700;
    src: url(../font/Lato/Lato-Bold.ttf);
}

@font-face {
    font-family: Lato;
    font-style: italic;
    font-weight: 700;
    src: url(../font/Lato/Lato-BoldItalic.ttf);
}


body {
    font-family: Lato, -apple-system, system-ui, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif;
    color: #25328a;
}

/* overwrite calculator css */
.page-content .calculator {
    box-shadow: none !important;
    overflow: initial !important;
}

.page-content {
    overflow-x: initial !important;
}

.layout-start .calculator:first-of-type {
    margin-top: -30px;
}

.only-one form {
    margin-top: -1rem;
}


#results {
    position: absolute;
    top: -120px;
}


/* Display Fading */
.j_fade {
    transition: all .1s linear;
    left: 0;
    opacity: 1;
}

.j_hidden {
    display: none !important;
}

.j_show {
    display: block !important;
}

.j_visuallyhidden {
    left: -20%;
    opacity: 0.1;
}



/* Joules Rechner Eingabemaske - Slider/Verbrauch */
.j_slider {
    appearance: auto;
    accent-color: #25328A;
    width: calc(100% - 40px) !important;
    height: 6px;
    border-radius: 5px;
    border: 1px solid #cccccc;
    background: #F5F7FA;
    outline: none;
    padding: 0 !important;
}

.j_slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #25328A;
    cursor: pointer;
    outline: 1px solid white;
}

.j_slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #25328A;
    cursor: pointer;
    outline: 1px solid white;
}

.j_slider::-moz-range-progress {
    background-color: #25328A;
    border-radius: 5px;
    height: 6px;
}

#j_form h3 {
    font-size: 20px;
}


#j_form>h5 {
    padding-bottom: 20px;
}


.j_pos_rel {
    position: relative;
}

.j_verbrauchseinheit {
    position: absolute;
    right: 0.8rem;
    top: -0.1rem;
    font-weight: bold;
    font-size: 0.875rem;
    color: #25328a;
}

#j_pers,
#j_space {
    text-align: center;
    width: 50px;
}



.j_button {
    color: #fff !important;
    background-color: #009ee3 !important;
    border-color: transparent !important;
    font-size: 0.875rem !important;
    padding: 0.75rem 1rem !important;
    position: relative !important;
    cursor: pointer !important;
    border-radius: 22px !important;
    border-width: 2px !important;
    line-height: 1.125 !important;
}

.j_button_next {
    color: #fff !important;
    background-color: #009ee3 !important;
    border-color: transparent !important;
    font-size: 0.875rem !important;
    padding: 0.75rem 70px 0.75rem 70px !important;
    position: relative !important;
    cursor: pointer !important;
    border-radius: 22px !important;
    border-width: 2px !important;
    line-height: 1.125 !important;
    width: 200px !important;
}

.j_button_prev {
    background-color: #fff !important;
    color: #009ee3 !important;
    border-color: #009ee3 !important;
    font-size: 0.875rem !important;
    padding: 0.75rem 0 0.75rem 0 !important;
    position: relative !important;
    cursor: pointer !important;
    border-radius: 22px !important;
    border-width: 1px !important;
    line-height: 1.125 !important;
    width: 200px !important;
}

.but::after {
    position: absolute;
    right: 15px;
    top: -0.5rem;
    content: '\203A';
    font-weight: bold;
    font-size: 1.4rem;
    color: white;
}


label[for="consumption"]::after {
    content: "kWh";
    display: inline-block;
    position: absolute;
    right: 15px;
    bottom: 0.5rem;
    font-weight: bold;

}

.i1 {
    display: block;
    padding: 3px 10px 3px 10px;
    text-align: center;
    background-color: white;
}

.s1 {
    padding: 3px;
    color: #25328a;
    padding: 3px 10px 3px 10px;
    display: block;
    background-color: #f5f7fa;
    cursor: pointer;
}

.s1:hover {
    color: white;
    display: block;
    background-color: #555555;
    cursor: pointer;
}

.xhr_result_hide {
    font-size: 14px;
    border: 1px solid gray;
    display: none;
    opacity: 0;
    box-sizing: border-box;
}

.xhr_result_show {
    font-size: 14px;
    border: 1px solid rgba(37, 50, 138, .1);
    display: block;
    opacity: 1;
    transition: opacity .4s;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 50;
    position: relative;
    background: #f5f7fa;
}

#supplier_result {
    height: 140px !important;
    overflow: auto !important;
}


#load_animation {
    position: fixed;
    top: 0;
    padding-top: 200px;
    left: 0;
    padding-left: calc(50% - 75px);
    background: rgba(50, 50, 50, 0.2);
    width: 100%;
    height: 100%;
    z-index: 98;
    display: block;
}


#load_animation:after {
    position: fixed;
    content: " ";
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #009ee3;
    border-color: #009ee3 transparent #009ee3 transparent;
    animation: load_animation 1.3s linear infinite;
    z-index: 99;
}


@keyframes load_animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.lds-dual-ring {
    position: absolute;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.lds-dual-ring:after {
    position: absolute;
    content: " ";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 12px 0 0 -25px;
    border-radius: 50%;
    border: 2px solid #009ee3;
    border-color: #009ee3 transparent #009ee3 transparent;
    animation: lds-dual-ring 1s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.lds-dual-ring-inline {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    padding: 0 27px 0 7px;

}

.lds-dual-ring-inline:after {
    position: relative;
    content: " ";
    display: inline-block;
    width: 20px;
    height: 20px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid #009ee3;
    border-color: #009ee3 transparent #009ee3 transparent;
    animation: lds-dual-ring-inline 1s linear infinite;
}

@keyframes lds-dual-ring-inline {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



@media (min-width:992px) {

    .j_order_formwrapper {
        display: inline-block;
        vertical-align: top;
        width: 70%;
        min-width: 800px;
    }

    #j_form {
        width: 100%;
        display: inline-block;

    }

    .j_mr_mobile {
        margin-right: initial;
    }

    .j_inblock {
        display: inline-block;
        margin-right: 20px;
        margin-bottom: 1rem;
        vertical-align: top;
    }


    .j_ti_box1 {
        /*width: 79%;*/
        vertical-align: top;
        display: inline-block;
    }

    .j_ti_box2 {
        width: 20%;
        display: inline-block;
        margin-top: 37px;
    }


    .j_ti_plz,
    .j_ti_nr {
        width: 12%;
    }

    .j_ti_ort {
        width: 29%;
    }

    .j_ti_strasse {
        width: 32%;
    }

    .j_ti_verbrauch {
        width: 20%;
    }

    .j_ti_pers {
        width: 27%;
    }

    .j_comb1 {
        width: 53%;
    }

    .j_ti_but {
        width: 150px;
        min-width: 115px;
        /*margin-left: 10%;*/
        margin-top: 16px;
    }

    .j_w15_var {
        width: 15%;
    }

    .j_w20_var {
        width: 20%;
    }

    .j_w25_var {
        width: 25%;
    }

    .j_w30_var {
        width: 30%;
    }

    .j_w35_var {
        width: 35%;
    }

    .j_timeline {
        padding-top: 30px;
        position: fixed;
        /*ggf wieder absolute mit JS */
        /*left: calc(430px + 50%);*/
        right: 450px;
        z-index: 30;
    }

    .but_var_250 {
        width: 250px !important;
        padding: 0.75rem 0 0.75rem 0 !important;
    }
}



@media (max-width:991px) {


    .j_order_formwrapper {
        display: inline-block;
        vertical-align: top;
        width: calc(100% - 20px);
    }

    .j_mr_mobile {
        margin-right: 50px;
    }

    .j_inblock {
        display: block;
        margin-bottom: 0.8rem;
    }

    .j_inblock>label {
        display: block;
    }

    .sel>select,
    #verbrauch,
    .but>input,
    .j_comb1 {
        width: 100% !important;
    }

    .j_ti_but {
        margin-top: 1rem;
    }

    .j_inlineblock,
    .j_15_var,
    .j_w20_var,
    .j_w25_var,
    .j_w30_var,
    .j_w35_var {
        width: 100%;
    }

    .j_timeline {
        padding-top: 30px;
        position: fixed;
        right: 25px;
        z-index: 30;
    }
}



.j_order_tile {
    display: none;
}

@media (min-width:1580px) {
    .j_order_tile {
        display: inline-block;
        vertical-align: top;
        position: relative;
        top: 90px;
        right: 0px;
    }
}



/* Joules-Rechner Ergebnisse Tarife */
.j_t_box {
    position: relative;
    display: inline-block;
    width: 342px;
    border-radius: 20px;
    border: 3px solid #002D5A;
    text-align: center;
    margin: 40px;
    font-size: 16px;
    line-height: 28px;
    color: #25328A;
}


@media (max-width:530px) {
    .j_t_box {
        position: relative;
        display: inline-block;
        width: 342px;
        border-radius: 20px;
        border: 3px solid #002D5A;
        text-align: center;
        margin: 0px 40px 60px 0;
        font-size: 16px;
        line-height: 28px;
        color: #25328A;
    }
}




.j_t_box h1 {
    margin: 18px 0 0 0;
    display: inline-block;
    width: 180px;
    font-size: 28px;
    font-weight: bold;
}

.j_t_box h2 {
    margin: 10px 0 15px 0;
    display: inline-block;
    font-size: 20px;
    font-weight: normal;
}

.j_t_box ul {
    display: inline-block;
    margin: 20px 0 0 0;
    padding: 0;
}

.j_t_box li {
    list-style-type: none;
    background: url(../img/icon_checkbox.svg) no-repeat -8px center;
    text-align: left;
    padding: 0 0 0 35px;
    margin: 8px 0 8px 0;
    line-height: 21px;
}

.j_t_head {
    height: 190px;
}

.j_t_box_blue {
    background-color: #002D5A;
    color: white;
    position: relative;
    overflow: hidden;
    left: -3px;
    min-width: 340px;
    height: 175px;
    vertical-align: middle;
    display: table-cell;

}

.j_t_box_blue_bonus {
    background-color: #EA5905;
    color: white;
    transform: rotate(-45deg);
    position: absolute;
    width: 150px;
    left: -37px;
    top: 24px;

}


.j_t_box img {
    margin: -3px 0 0 5px;
}

.j_t_box_blue_f1 {
    font-size: 28px;
    font-weight: bold;
}

.j_t_box_blue_f2 {
    font-size: 20px;
    font-weight: normal;
}

.j_t_but_order {
    display: inline-block;
    border-radius: 20px;
    background-color: #009ee3;
    color: white;
    font-size: 20px;
    font-weight: bold;
    width: 273px;
    padding: 8px 0 10px 0;
    margin: 20px 0 20px 0;
    text-decoration: none;
}

.j_t_but_order_small {
    display: inline-block;
    border-radius: 20px;
    background-color: #009ee3;
    color: white;
    font-size: 16px;
    font-weight: bold;
    width: 125px;
    padding: 8px 0 10px 0;
    text-decoration: none;
    text-align: center;
}

.j_t_but_order:hover,
.j_t_but_order_small:hover {
    color: white;
}

.j_t_but_details {
    display: inline-block;
    color: #009ee3;
}

.j_t_box_line {
    display: inline-block;
    width: 70px;
    margin: 0 100px 0 100px;
    border-top: 2px solid #25328A;
}

.j_t_nachhaltig {
    position: absolute !important;
    right: -30px !important;
    top: -35px !important;
    width: 112px !important;
    display: initial !important;
    left: initial !important;
    height: initial !important;

}

.j_t_bullets {
    height: 160px;

}

.j_t_popup {
    font-weight: normal;
}

.j_t_gradient {
    background-color: #002d5a;
    height: 120px;
    font-size: 25px;
    font-weight: bold;
    color: white;
    vertical-align: bottom;
    padding: 30px;
}

.j_order_gradient {
    background-color: #002d5a;
    height: 120px;
    font-size: 25px;
    font-weight: bold;
    color: white;
    padding: 25px 30px 10px 30px;
    position: fixed;
    width: 100%;
    z-index: 9;
    top: 65px;
    left: 0;
}

.j_order_gradient_small {
    font-size: 16px;
    height: 71px;
    padding: 13px 30px 10px 30px;
}


.j_t_deduction_calc_box {
    display: inline-table;
    width: 250px;
    font-size: 16px;
    text-align: center;
}

.j_t_deduction_calc_box div {
    text-align: center;
}

.j_t_deduction_green_border {
    border: 3px solid #AFCA0B;
    border-radius: 10px;
    padding: 4px;
}

.j_td_box {
    display: inline-block;
    width: 260px;
    margin: 15px 20px 0 0;
}

@media (max-width:622px) {

    .j_td_box {
        display: inline-block;
        width: 100%;
        margin: 15px 20px 0 0;
    }
}


.j_info_icon {
    width: 20px !important;
    position: initial !important;
    display: initial !important;
}

.j_info_icon2 {
    width: 16px !important;
    position: initial !important;
    display: initial !important;
}


.j_td_line {
    border-bottom: 1px solid rgba(0, 45, 90, 0.1);
}


.j_sel::after {
    content: "";
    display: block;
    position: absolute;
    top: 42px;
    right: 16px;
    height: 7px;
    width: 10px;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    color: #4c4c4c;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 10 7" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.292847 1.7071L1.70706 0.292847L5 3.5857L8.2928 0.292847L9.7071 1.7071L5 6.4142L0.292847 1.7071Z" fill="rgba(0,158,227,1)"/></svg>');
    pointer-events: none;
}



.j_cal {
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.85714 3.42857H6.28571V2H9.14286V3.42857H14.8571V2H17.7143V3.42857H19.1429C20.7208 3.42857 22 4.70776 22 6.28571V19.1429C22 20.7208 20.7208 22 19.1429 22H4.85714C3.27919 22 2 20.7208 2 19.1429V6.28571C2 4.70776 3.27919 3.42857 4.85714 3.42857ZM17.7143 5.57143V7.71429H14.8571V5.57143H9.14286V7.71429H6.28571V5.57143H4.85714C4.46265 5.57143 4.14286 5.89123 4.14286 6.28571V19.1429C4.14286 19.5373 4.46265 19.8571 4.85714 19.8571H19.1429C19.5373 19.8571 19.8571 19.5373 19.8571 19.1429V6.28571C19.8571 5.89123 19.5373 5.57143 19.1429 5.57143H17.7143ZM6.28571 13.4286V10.5714H9.14286V13.4286H6.28571ZM6.28571 17.7143V14.8571H9.14286V17.7143H6.28571ZM10.5714 13.4286V10.5714H13.4286V13.4286H10.5714ZM10.5714 17.7143V14.8571H13.4286V17.7143H10.5714ZM14.8571 13.4286V10.5714H17.7143V13.4286H14.8571ZM14.8571 17.7143V14.8571H17.7143V17.7143H14.8571Z" fill="%23009EE3"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 20px !important;
}

input[type="checkbox"] {
    accent-color: #009ee3;
    -ms-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
    width: auto;
    margin-left: 4px;
}

input[type="radio"] {
    accent-color: #009ee3;
    -ms-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
    width: auto;
    margin-left: 4px;
}

#valid_order {
    position: absolute;
    width: 20px;
    left: 5000px;
}


/* Basic Formatting */

.j_center {
    text-align: center;
}

.j_vcenter {
    vertical-align: middle;
}

.j_vtop {
    vertical-align: top;
}

.j_vbottom {
    vertical-align: bottom;
}

.j_input_error {
    background-color: #ebccd1 !important;
    color: #a94442 !important;
}

.j_label_error {
    color: #a94442 !important;
}

.j_ul {
    text-decoration: underline;
}

.j_bold {
    font-weight: bold;
}

.j_normal {
    font-weight: normal !important;
}

input[type="text"]:read-only,
select[data-disabled="disabled"],
.j_readonly {
    color: rgba(37, 50, 138, .4) !important;
}

.j_tl {
    text-align: left !important;
}

.j_fs12 {
    font-size: 12px;
    line-height: 15px;
}

.j_fcol_gray {
    opacity: 0.7;
}

.j_fs16 {
    font-size: 16px;
    line-height: 20px;
}

.j_fs20 {
    font-size: 20px;
    line-height: 26px;
}


.j_t_w250 {
    display: inline-block;
    width: 250px;
}

.j_w100 {
    width: 100%;
}


.j_t_w_half {
    width: 49%;
    display: inline-block;
}

.j_t_left {
    text-align: left;
}

.j_t_right {
    text-align: right;
}

.j_block {
    display: block;
    width: 100%;
}

.j_inlineblock {
    display: inline-block;
}

.j_inlineblock_fix {
    display: inline-block;
}


.j_flex_space_between {
    display: flex !important;
    justify-content: space-between;
}

.j_flex {
    display: flex !important;
}

.j_w_check_radio {
    vertical-align: top;
    width: 30px;
}

.j_w_check_radio_text {
    width: calc(100% - 35px);
}

/* General Padding + Margin */
.j_pl1 {
    padding-left: 10px;
}

.j_pr1 {
    padding-right: 10px;
}

.j_pt1 {
    padding-top: 10px;
}

.j_pb1 {
    padding-bottom: 10px;
}

.j_pl2 {
    padding-left: 20px;
}

.j_pr2 {
    padding-right: 20px;
}

.j_pt2 {
    padding-top: 20px;
}

.j_pb2 {
    padding-bottom: 20px;
}

.j_pl3 {
    padding-left: 30px;
}

.j_pr3 {
    padding-right: 30px;
}

.j_pt3 {
    padding-top: 30px;
}

.j_pb3 {
    padding-bottom: 30px;
}

.j_ml1 {
    margin-left: 10px;
}

.j_mr1 {
    margin-right: 10px;
}

.j_mt1 {
    margin-top: 10px;
}

.j_mb1 {
    margin-bottom: 10px;
}

.j_ml2 {
    margin-left: 20px;
}

.j_mr2 {
    margin-right: 20px;
}

.j_mt2 {
    margin-top: 20px;
}

.j_mb2 {
    margin-bottom: 20px;
}

.j_ml3 {
    margin-left: 30px;
}

.j_mr3 {
    margin-right: 30px;
}

.j_mt3 {
    margin-top: 30px;
}

.j_mb3 {
    margin-bottom: 30px;
}

.j_mr5 {
    margin-right: 50px;
}

.j_mt_order {
    margin-top: 100px !important;
}

/* END General Padding and Margin */



/*Featherlight Popup Lightbox - Overwrite */
.featherlight-content {
    border-radius: 10px;
    width: 100%;
    max-width: 620px;
    min-width: 280px;
    padding: 0 !important;
}

.featherlight-content ul {

    list-style-type: disc;
}

label {
    position: relative;
}

[id$="_error"] {
    color: #a94442;
    font-weight: bold;
    font-size: 12px;
    font-family: Arial;
}

noscript {
    padding: 10px;
    color: red;
    font-size: 16px;
    border: 1px solid red;
}

#sess_timer {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 2000;
}

div.control:has(span#be_owneriscode) {
    margin-bottom: 50px;
    position: relative;
}

label[for="be_owneriscode_2"] {
    position: absolute;
}

label[for="be_owneriscode_1"] {
    position: absolute;
}



