.days-group { position: relative; } .days-group input { padding-left: 25px; /* Adjust for space to show $ */ } .days-group input { text-indent: -35px; } .range-container { width: 100%; position: relative; margin: 20px 0; } .range-labels { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 14px; color: #444; } .slide-info { position: relative; width: auto; } .tooltip-text { background-color: #ffffff; border-radius: 5px; color: #333; opacity: 0; padding: 18px; position: absolute; /* right: 10px; */ text-align: center; top: -85px; transition: opacity .3s; white-space: normal; z-index: 100; box-shadow: 00px 0px 2px #ccc; min-width: 200px; font-size: 12px; line-height: 20px; } .info-icon { cursor: pointer; } .inputs label .slide-info:hover .tooltip-text, .tcs .slide-info:hover .tooltip-text { visibility: visible; opacity: 1; } .eap-cal { background: #212020; padding: 57px 0 57px; } .eap-cal .top-area{ text-align: center; } .eap-cal .top-area h2 { color: #ffefe2; max-width: 900px; margin: 0 auto 54px; } .eap-cal .top-area p { color: #ffefe2; margin: 0 auto 54px; max-width: 915px; } .cal-container { background: #fff9f3; border-radius: 15px; box-shadow: 0 4px 6px rgba(0, 0, 0, .1); max-width: 1200px; padding: 60px; width: 100%; text-align: center; position: relative; } .bottom-info { padding: 55px 22px; width: 100%; font-style: italic; color: #FFEFE2; } .bottom-info p { margin-bottom: 5px; line-height: 18px; } .cal-wrapper { display: flex; margin-top: 50px; gap: 36px; } .cal-container .inputs { max-width: 420px; text-align: left; width: 100%; padding-right: 10px; position: relative; z-index: 99; } .cal-container .inputs h3 { font-size: 25px; line-height: 35px; margin-bottom: 29px; } .cal-container .right-chart { max-width: 554px; width: 100%; } .data-slider { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 10px; } .data-slider p { background: #fff; border: 1px solid #f1f1f1; border-radius: 5px; font-size: 15px; line-height: 25px; font-weight: 600; margin: 0; max-width: 98px; padding: 5px 0px 3px; text-align: center; width: 100%; } .result-wrapper { display: flex; gap: 10px; justify-content: center; } .cal-container .tcs { background: #fff; border: 1px solid #f2f2f2; max-width: 182px; padding: 15px; text-align: center; width: 100%; position: relative; } .cal-container .tcs img { position: absolute; right: -8px; top: -8px; } .result-wrapper .tcs:nth-child(1) .tooltip-text { right: auto; left: 30px; top: -85px; } .cal-container .tcs h3 { font-size: 35px; line-height: 45px; margin: 0; } .cal-container .tcs h6 { font-size: 15px; line-height: 25px; } .data-slider input[type="number"], .data-slider input[type="text"] { width: 118px; padding: 6px; font-size: 14px; text-align: center; } button#next { background: #202021; border-radius: 50px; color: #fff; display: inline-block; max-width: 300px; padding: 10px 20px; width: 100%; font-size: 18px; margin-top: 70px; font-family: "Poynter Oldstyle Disp Semi Bd", sans-serif; cursor: pointer; } .cal-container .right-chart canvas#chart { background: #fff; padding: 20px; border-radius: 15px; /* height: 334px !important; */ } input[type=range] { -webkit-appearance: none; appearance: none; background: linear-gradient(90deg, #e28c6b 50%, transparent 0); border: 2px solid #e28c6b; border-radius: 5px; height: 5px; position: relative; transition: background .1sease-in-out; width: 100%; max-width: 335px; } /* Track */ input[type="range"]::-webkit-slider-runnable-track { width: 100%; height: 10px; background: transparent; border-radius: 5px; position: relative; } /* Thumb (handle) */ input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; background: #e28c6b; border-radius: 50%; cursor: pointer; margin-top: -4px; /* Adjust to align properly */ position: relative; z-index: 2; } .inputs label { display: flex; justify-content: space-between; margin-bottom: 0px; align-items: center; position: relative; } .eap-cal fieldset.form-columns-2 .hs-form-field { width: 49.25% !important; float: none !important; display: inline-block !important; vertical-align: middle; padding: 5px !important; text-align: left !important; } .eap-cal .hs-form-field { margin: 0 0 25px; border: solid 0px #a8a8a8 !important; border-radius: 5px; padding: 5px !important; } .eap-cal .hs-form-field.input-focused label { color: #202021 !important; } .eap-cal form.hs-form fieldset[class*="form-columns"] .hs-input { width: 100%; max-width: inherit; height: 49px; border: 1px solid #f2f2f2; padding: 0 12px; } .eap-cal .hs-form-field label { font-size: 14px; text-align: left; } .eap-cal .hs-form-booleancheckbox-display>span { padding-left: 16px; } .eap-calform.hs-form fieldset[class*="form-columns"] .input { margin-right: 0; text-align: center; display: flex; justify-content: center; } .eap-cal .icon-wrapper { position: absolute; right: 36px; top: 21px; cursor: pointer; } .eap-cal .icon-wrappers { position: absolute; left: 20px; top: 13px; } .eap-cal form.hs-form .hs-form-field ul.inputs-list { /* display: flex; justify-content: center; */ } .eap-cal .hs-richtext p { text-align: left !important; font-size: 14px !important; line-height: 24px !important; } .eap-cal .hs_submit.hs-submit { margin-top: 20px; } .eap-cal div#step2 h3 { font-size: 32px; margin-bottom: 30px; } .eap-cal div#step3 { min-height: 758px; display: flex; flex-direction: column; align-items: center; justify-content: center; } .hidden { display: none !important; } @media(max-width: 1075px){ .cal-wrapper { flex-direction: column; } .cal-container .inputs { max-width: 456px; margin: 0 auto; } .cal-container .right-chart { margin: 0 auto; } canvas { width: 100% !important; height: auto !important; } .chart-container { width: 100%; overflow-x: auto; /* If needed */ } } @media(max-width: 767px){ .eap-cal div#step2 h3 { font-size: 25px; } .eap-cal fieldset.form-columns-2 .hs-form-field { width: 100% !important; } .eap-cal { background: #212020; padding: 57px 0 20px; } .bottom-info { max-width: 100%; padding: 15px; width: 100%; font-style: italic; color: #fff; } } @media (max-width: 575px) { .cal-container { padding: 60px 20px; } .result-wrapper { display: flex; gap: 10px; justify-content: center; align-items: center; flex-direction: column; } .tooltip-text { width: 100%; white-space: normal; min-width: 200px; right: 20px; left: auto; top: -50px; } .result-wrapper .tcs:nth-child(1) .tooltip-text { right: 20px; left: auto; top: -50px; } } }