/* simulator styles */


.simulator_container {
    background: #e6e7f4 url(https://hyp.co.il/wp-content/uploads/2024/12/main-bg.jpg);
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    margin-top: 82px;
    clear: both;
    float: none;
    display: block;
    height: initial;
    padding-bottom: 10px;
}

.calculator_container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    background: linear-gradient(180deg, rgb(255 255 255 / 95%), #edf6ff);
    display: block;
    clear: both;
    padding: 3.976%;
    float: none;
    box-shadow: 0 0 62px -18px #9ecfff;
}

.cms-heading {
    text-align: center;
    margin-top: 14%;
    margin-bottom: 11%;
    width: 100%;
    font-size: 5.65vw;
    color: #fff;
    font-family: 'Ploni DL DemiBold AAA D';
}

h2.top-title, h2.hitw_title {
    font-size: 2.25vw;
    text-align: center;
    font-family: 'Ploni DL DemiBold AAA D';
}

.top_contenet {
    font-size: 1.42vw;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 60px;
}

h3.kupot_title_1, .years_title {
    font-size: 2.25vw;
    text-align: center;
    font-family: 'Ploni DL DemiBold AAA D';
    color: #5c64ff;
    margin-bottom: 52px;
}

.kupot_container {
    margin-bottom: 70px;
}

li.kupa_block {
    width: 30%;
    background: #fff;
    border-radius: 8px;
    text-align: center;
    height: 227px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 3px solid #ccc;
}

li.kupa_block:nth-child(-n+4) {
    margin-bottom: 50px;
}

ul.kupot_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.kuoa_image_container {
    height: 138px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

p.kupa_name {
    font-size: .95vw;
}

.years_title {
    margin-bottom: 22px;
}

.years_block {
    margin-bottom: 80px;
    display: flex
;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


button {
    width: 243px;
    background: #5c64ff;
    color: #fff;
    font-size: 1.15vw;
    margin: 0 auto;
    border: 0;
    height: 50px;
    border-radius: 24px;
	cursor: pointer;
}

.button_block {
    text-align: center;
}

.blue_block {
    width: 100%;
    background: #5c64ff;
    height: 224px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 11px 2px #9ecfff;
    gap: 30px;
    margin-bottom: 70px;
    border-radius: 12px;
}

.blue_block * {
    color: #fff;
}

.kupot_title_3 {
    font-size: 3.75vw;
    font-weight: bold;
    font-family: 'Ploni DL DemiBold AAA D';
}

p.kupot_note {
    font-size: 1.42vw;
}

.hitw_block {
    margin-top: 70px;
}

.hitw_title_1 {
    font-size: 2.25vw;
    text-align: center;
    font-family: 'Ploni DL DemiBold AAA D';
}

.hitw_list_container {
    margin-top: 80px
}

ul.hitw_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 954px;
    margin: 0 auto;
}

li.hitw_item_block {
    width: 47.169%;
    background: #fff;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    border-radius: 12px;
    height: 450px;
    border: 1px solid #dadada;
    padding-top: 50px;
}

li.hitw_item_block:nth-child(-n+2) {
    margin-bottom: 54px;
}

.hitw_image_container {
    margin-bottom: 58px;
    height: 138px;
    display: flex;
    justify-content: center;
    align-items: center;
}


h3.hitw_title {
    font-size: 24px;
    line-height: 20px;
    text-align: center;
    font-family: 'Ploni DL DemiBold AAA D';
}

.hitw_text {
    line-height: 20px;
    font-size: 20px !important;
    text-align: center;
    margin-top: 10px;
    max-width: 364px;
}


.kupa_block.kupa_active {
    border-color: #5c64ff;
}
.slider-container {
    position: relative;
    width: 80%;
    direction: ltr;
    margin-top: 120px;
    margin-bottom: 50px;
}
.slider-container * {
direction: ltr;

}

input[type="range"] {
-webkit-appearance: none;
width: 100%;
height: 5px;
background: linear-gradient(to right, #5c64ff 0%, #e0e0e0 0%);
border-radius: 5px;
outline: none;
opacity: 0.9;
transition: background 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
background: #5c64ff;
border-radius: 50%;
cursor: pointer;
box-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
}

input[type="range"]::-moz-range-thumb {
width: 20px;
height: 20px;
background: #4A90E2;
border-radius: 50%;
cursor: pointer;
}

.labels {
display: flex;
justify-content: space-between;
margin-top: 10px;
color: #4A90E2;
font-size: 16px;
}

.custom-option[data-value="disabled"]{
    display: none;
}
.custom-select-wrapper {
position: relative;
display: inline-block;
user-select: none;
}
.custom-select-wrapper select {
display: none;
}
.custom-select {
position: relative;
display: inline-block;
}
.custom-select-trigger {
    position: relative;
    display: block;
    padding: 10px 22px 10px 84px;
    color: #000000;
    background: #c8e3fe;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
  .custom-select-trigger:after {
    position: absolute;
    display: block;
    content: '';
    width: 10px; height: 10px;
    top: 50%; left: 15px;
    margin-top: -3px;
    border-bottom: 1px solid #000000;
    border-right: 1px solid #000000;
    transform: rotate(45deg) translateY(-50%);
    transition: all .4s ease-in-out;
    transform-origin: 50% 0;
  }
  .custom-select.opened .custom-select-trigger:after {
    margin-top: 3px;
    transform: rotate(-135deg) translateY(-50%);
  }
.custom-options {
    position: absolute;
    display: block;
    top: 100%; 
    left: 0; 
    right: 0;
    min-width: 100%;
    margin: 5px 0;
    border-radius: 4px;
    box-sizing: border-box;
    transition: all .4s ease-in-out;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
}
.custom-select.opened .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
    z-index: 2;
}

.option-hover:before {
  background: #f9f9f9;
}
.custom-option {
    position: relative;
    display: block;
    padding: 10px 22px;
    color: #000;
    cursor: pointer;
    transition: all .4s ease-in-out;
    background: #ddebfd;
    margin-bottom: 1px;
}
.custom-option:hover {
    background: #c8e3fe;
}
.custom-option:first-of-type {
  border-radius: 4px 4px 0 0;
}
.custom-option:last-of-type {
  border-bottom: 0;
  border-radius: 0 0 4px 4px;
}
.terms_block {
    margin: 20px auto;
    max-width: 1240px;
    padding: 20px;
}

.terms_block p {
    font-size: 18px;
}

.error_msg {
	    margin-top: 1rem;
    color: red;
    font-weight: bold;
}


/* mobile style */

@media screen and (max-width:1360px) and (min-width:768px){
    .calculator_container {
        max-width: 90%;
    }
    
    p.kupa_name {
        font-size: 1.1vw;
    }
    
    body li.kupa_block {
        width: 30%;
        margin-bottom: 30px !important;
    }

    h1.cms-heading {
        font-size: 9.65vw;
    }
    
    h2.top-title, h2.hitw_title {
        font-size: 5.25vw;
    }
    
    .top_contenet {
        font-size: 4vw;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    h3.kupot_title_1, .years_title {
        font-size: 7.25vw;
        margin-bottom: 22px;
    }
    
    button {
        font-size: 6.15vw;
        width: 173px;
        height: 40px;
    }
    
    .kupot_title_3 {
        font-size: 6vw;
    }
    
    .blue_block {
        height: 103px;
        gap: 10px;
        margin-bottom: 40px;
    }
    
    p.kupot_note {
        font-size: 4.42vw;
    }
    
    h2.hitw_title_1 {
        font-size: 32PX;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .hitw_block {
        margin-top: 20px;
    }
    
    .hitw_list_container {
        margin-top: 40px;
    }
    
    li.hitw_item_block {
        height: auto;
        padding: 20px 10px !important;!i;!;
        justify-content: flex-start;
        margin-bottom: 20px !important;!i;!;
    }
    
    img.hitw_image {
        width: 60%;
        margin: 0 auto;
    }
    
    .hitw_image_container {
        text-align: center;
        margin-bottom: 18px;
    }
    
    h3.hitw_title {
        font-size: 6.15vw;
    }
    
    .hitw_text {
        font-size: 2.93vw;
    }
    
}



@media screen and (min-width:767px) {

    .kuoa_image_container img.mob {
        display: none;
    }
}

@media screen and (max-width:767px) {

    .simulator_container {
        background: #e6e7f4 url(http://hyp-co-il-registers181124.s983.upress.link/wp-content/uploads/2024/11/main-bg.jpg);
        background-size: 100% auto;
        background-position: top center;
        background-repeat: no-repeat;
        margin-top: 60px;
        clear: both;
        float: none;
        display: block;
        height: initial;
        padding-bottom: 10px;
        box-sizing: border-box;
        position: relative;
        padding-top: 1px;
    }

    h1.cms-heading {
        font-size: 12.4vw;
        line-height: 42px;
        max-width: 78%;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 14%;
        margin-bottom: 9%;
        display: block !important;
        position: relative;
        float: none !important;
        clear: both;
    }
    
    .calculator_container {
        max-width: 91.6%;
        padding: 46px 6.4% 58px 6.4%;
    }
    
    p.kupa_name {
        font-size: 3vw;
    }
    
    li.kupa_block {
        width: 49%;
        margin-bottom: 10px !important;
        height: 150px;
    }

    .kuoa_image_container {
        height: 91px;
        width: 100%;
    }

    .kuoa_image_container img {
        max-height: 100%;
        width: auto;
    }

    .kuoa_image_container img.comp {
        display: none;
    }

    h2.top-title, h2.hitw_title {
        font-size: 8.25vw;
    }
    
    .top_contenet {
        font-size: 5.7vw;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    h3.kupot_title_1, .years_title {
        font-size: 8.20vw;
        margin-bottom: 22px;
    }

    h2.years_title {
        max-width: 69%;
    }

    .slider-container {
        width: 100%;
        margin-top: 50px;
    }

    .custom-option {
        padding: 3px 22px;
        margin-bottom: 3px;
    }
    
    button {
        font-size: 6.15vw;
        width: 173px;
        height: 40px;
    }
    
    .kupot_title_3 {
        font-size: 6vw;
    }
    
    .blue_block {
        height: 103px;
        gap: 10px;
        margin-bottom: 40px;
    }
    
    p.kupot_note {
        font-size: 4.42vw;
    }

    ul.hitw_list {
        flex-direction: column;
    }
    
    h2.hitw_title_1 {
        font-size: 32PX;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .hitw_block {
        margin-top: 20px;
    }
    
    .hitw_list_container {
        margin-top: 40px;
    }
    
    li.hitw_item_block {
        height: auto;
        padding: 20px 10px !important;
        justify-content: center;
        margin-bottom: 29px !important;
        width: 100%;
        min-height: 347px;
    }
    
    img.hitw_image {
        width: 60%;
        margin: 0 auto;
    }
    
    .hitw_image_container {
        text-align: center;
        margin-bottom: 18px;
        height: 67px;
    }
    
    h3.hitw_title {
        font-size: 6.15vw;
    }
    
    .hitw_text {
        font-size: 20px !important;
        line-height: 18px;
        max-width: 73%;
    }

    .hitw_text br {
        display: none;
    }
    
    .terms_block p {
        font-size: 14px;
    }


    
}

