{"id":2009,"date":"2024-05-21T23:52:46","date_gmt":"2024-05-21T21:52:46","guid":{"rendered":"http:\/\/naturalflash.us\/?page_id=2009"},"modified":"2024-06-17T22:52:54","modified_gmt":"2024-06-17T20:52:54","slug":"calcular-imc","status":"publish","type":"page","link":"https:\/\/naturalflash.us\/en\/calcular-imc\/","title":{"rendered":"Calcular imc"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"2009\" class=\"elementor elementor-2009\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-86f1765 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"86f1765\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;boxed&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d0befdf elementor-widget elementor-widget-heading\" data-id=\"d0befdf\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.19.0 - 07-02-2024 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h1 class=\"elementor-heading-title elementor-size-default\">Weight calculator (BMI)<\/h1>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0b574cb elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"0b574cb\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.19.0 - 07-02-2024 *\/\n.elementor-widget-divider{--divider-border-style:none;--divider-border-width:1px;--divider-color:#0c0d0e;--divider-icon-size:20px;--divider-element-spacing:10px;--divider-pattern-height:24px;--divider-pattern-size:20px;--divider-pattern-url:none;--divider-pattern-repeat:repeat-x}.elementor-widget-divider .elementor-divider{display:flex}.elementor-widget-divider .elementor-divider__text{font-size:15px;line-height:1;max-width:95%}.elementor-widget-divider .elementor-divider__element{margin:0 var(--divider-element-spacing);flex-shrink:0}.elementor-widget-divider .elementor-icon{font-size:var(--divider-icon-size)}.elementor-widget-divider .elementor-divider-separator{display:flex;margin:0;direction:ltr}.elementor-widget-divider--view-line_icon .elementor-divider-separator,.elementor-widget-divider--view-line_text .elementor-divider-separator{align-items:center}.elementor-widget-divider--view-line_icon .elementor-divider-separator:after,.elementor-widget-divider--view-line_icon .elementor-divider-separator:before,.elementor-widget-divider--view-line_text .elementor-divider-separator:after,.elementor-widget-divider--view-line_text .elementor-divider-separator:before{display:block;content:\"\";border-block-end:0;flex-grow:1;border-block-start:var(--divider-border-width) var(--divider-border-style) var(--divider-color)}.elementor-widget-divider--element-align-left .elementor-divider .elementor-divider-separator>.elementor-divider__svg:first-of-type{flex-grow:0;flex-shrink:100}.elementor-widget-divider--element-align-left .elementor-divider-separator:before{content:none}.elementor-widget-divider--element-align-left .elementor-divider__element{margin-left:0}.elementor-widget-divider--element-align-right .elementor-divider .elementor-divider-separator>.elementor-divider__svg:last-of-type{flex-grow:0;flex-shrink:100}.elementor-widget-divider--element-align-right .elementor-divider-separator:after{content:none}.elementor-widget-divider--element-align-right .elementor-divider__element{margin-right:0}.elementor-widget-divider--element-align-start .elementor-divider .elementor-divider-separator>.elementor-divider__svg:first-of-type{flex-grow:0;flex-shrink:100}.elementor-widget-divider--element-align-start .elementor-divider-separator:before{content:none}.elementor-widget-divider--element-align-start .elementor-divider__element{margin-inline-start:0}.elementor-widget-divider--element-align-end .elementor-divider .elementor-divider-separator>.elementor-divider__svg:last-of-type{flex-grow:0;flex-shrink:100}.elementor-widget-divider--element-align-end .elementor-divider-separator:after{content:none}.elementor-widget-divider--element-align-end .elementor-divider__element{margin-inline-end:0}.elementor-widget-divider:not(.elementor-widget-divider--view-line_text):not(.elementor-widget-divider--view-line_icon) .elementor-divider-separator{border-block-start:var(--divider-border-width) var(--divider-border-style) var(--divider-color)}.elementor-widget-divider--separator-type-pattern{--divider-border-style:none}.elementor-widget-divider--separator-type-pattern.elementor-widget-divider--view-line .elementor-divider-separator,.elementor-widget-divider--separator-type-pattern:not(.elementor-widget-divider--view-line) .elementor-divider-separator:after,.elementor-widget-divider--separator-type-pattern:not(.elementor-widget-divider--view-line) .elementor-divider-separator:before,.elementor-widget-divider--separator-type-pattern:not([class*=elementor-widget-divider--view]) .elementor-divider-separator{width:100%;min-height:var(--divider-pattern-height);-webkit-mask-size:var(--divider-pattern-size) 100%;mask-size:var(--divider-pattern-size) 100%;-webkit-mask-repeat:var(--divider-pattern-repeat);mask-repeat:var(--divider-pattern-repeat);background-color:var(--divider-color);-webkit-mask-image:var(--divider-pattern-url);mask-image:var(--divider-pattern-url)}.elementor-widget-divider--no-spacing{--divider-pattern-size:auto}.elementor-widget-divider--bg-round{--divider-pattern-repeat:round}.rtl .elementor-widget-divider .elementor-divider__text{direction:rtl}.e-con-inner>.elementor-widget-divider,.e-con>.elementor-widget-divider{width:var(--container-widget-width,100%);--flex-grow:var(--container-widget-flex-grow)}<\/style>\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-754fd9d e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"754fd9d\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;boxed&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-1e758cf e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"1e758cf\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7126457 elementor-widget elementor-widget-image\" data-id=\"7126457\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.19.0 - 07-02-2024 *\/\n.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=\".svg\"]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block}<\/style>\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"106\" height=\"105\" src=\"https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/05\/bmiberegner.png\" class=\"attachment-large size-large wp-image-2166\" alt=\"\" srcset=\"https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/05\/bmiberegner.png 106w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/05\/bmiberegner-12x12.png 12w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/05\/bmiberegner-100x100.png 100w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/05\/bmiberegner-64x63.png 64w\" sizes=\"(max-width: 106px) 100vw, 106px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a76fbc5 elementor-widget elementor-widget-text-editor\" data-id=\"a76fbc5\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.19.0 - 07-02-2024 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<p><strong>Explore your ideal weight with our advanced tool based on body mass index (BMI).<\/strong><\/p><p>Precisely designed, this tool guides you to determine your optimal weight and assess whether you are in a healthy range based on your current height and weight. It is a perfect option for individuals of all ages looking to maintain a healthy and balanced lifestyle.<\/p><p>Discover your ideal weight and check if you are within a healthy range. Simply enter your height and weight into our calculator to get an accurate estimate of your BMI and receive personalized recommendations to reach and maintain your ideal weight.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cebbdae elementor-widget elementor-widget-heading\" data-id=\"cebbdae\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">More health tools<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3e49b73 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"3e49b73\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-906d290 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"906d290\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-e1cde70 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"e1cde70\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;content_width&quot;:&quot;full&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4fb8fe7 elementor-widget elementor-widget-image\" data-id=\"4fb8fe7\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/naturalflash.us\/en\/plato-del-bien-comer\/\">\n\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"413\" height=\"413\" src=\"https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-PLATO-BUEN-COMER.png\" class=\"attachment-large size-large wp-image-3778\" alt=\"\" srcset=\"https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-PLATO-BUEN-COMER.png 413w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-PLATO-BUEN-COMER-300x300.png 300w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-PLATO-BUEN-COMER-150x150.png 150w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-PLATO-BUEN-COMER-12x12.png 12w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-PLATO-BUEN-COMER-100x100.png 100w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-PLATO-BUEN-COMER-64x64.png 64w\" sizes=\"(max-width: 413px) 100vw, 413px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-2d06850 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"2d06850\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-163fd2e elementor-widget elementor-widget-text-editor\" data-id=\"163fd2e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>PLATE OF WELL EATING<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3c417e0 elementor-widget elementor-widget-text-editor\" data-id=\"3c417e0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><span style=\"color: #b2e81f;\"><a style=\"color: #b2e81f;\" href=\"https:\/\/naturalflash.us\/en\/plato-del-bien-comer\/\">LEARN MORE HERE<\/a><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-db03160 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"db03160\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;content_width&quot;:&quot;full&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f485833 elementor-widget elementor-widget-image\" data-id=\"f485833\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/naturalflash.us\/en\/riesgo-cardiovascular\/\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"413\" height=\"413\" src=\"https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-CARDIOVASCULAR.png\" class=\"attachment-large size-large wp-image-3780\" alt=\"\" srcset=\"https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-CARDIOVASCULAR.png 413w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-CARDIOVASCULAR-300x300.png 300w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-CARDIOVASCULAR-150x150.png 150w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-CARDIOVASCULAR-12x12.png 12w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-CARDIOVASCULAR-100x100.png 100w, https:\/\/naturalflash.us\/wp-content\/uploads\/2024\/06\/ICONOS-CARDIOVASCULAR-64x64.png 64w\" sizes=\"(max-width: 413px) 100vw, 413px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-41b344d e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"41b344d\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-fbc3c69 elementor-widget elementor-widget-text-editor\" data-id=\"fbc3c69\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>CARDIOVASCULAR RISK<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-64902bb elementor-widget elementor-widget-text-editor\" data-id=\"64902bb\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><span style=\"color: #b2e81f;\"><a style=\"color: #b2e81f;\" href=\"https:\/\/naturalflash.us\/en\/riesgo-cardiovascular\/\">LEARN MORE HERE<\/a><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-8189043 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"8189043\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9c2d1d9 elementor-widget elementor-widget-shortcode\" data-id=\"9c2d1d9\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-shortcode\">\t\t<style>\r\n          #calc_wrapper{\r\n          \t--family-calc-vis:dm sans,sans-serif;\r\n            --title-color:#fff;\r\n            --values-color:#B2E81F;\r\n            --text-color:#000;\r\n          }\r\n\r\n          .toggle-switch {\r\n  display: inline-block;\r\n  position: relative;\r\n  width: 30px;\r\n  height: 17px;\r\n  margin-left:15px;\r\n  margin-top: 4px;\r\n}\r\n\r\n.toggle-switch input {\r\n  display: none;\r\n}\r\n\r\n.toggle-switch-slider {\r\n  position: absolute;\r\n  cursor: pointer;\r\n  top: 0;\r\n  left: 0;\r\n  right: 0;\r\n  bottom: 0;\r\n  background-color: #ccc;\r\n  border-radius: 17px;\r\n  transition: 0.4s;\r\n}\r\n\r\n.toggle-switch-slider:before {\r\n  position: absolute;\r\n  content: \"\";\r\n  height: 13px;\r\n  width: 13px;\r\n  left: 2px;\r\n  bottom: 2px;\r\n  background-color: white;\r\n  border-radius: 50%;\r\n  transition: 0.4s;\r\n}\r\n\r\ninput:checked + .toggle-switch-slider {\r\n  background-color: #4f94d4;\r\n}\r\n\r\ninput:checked + .toggle-switch-slider:before {\r\n  transform: translateX(13px);\r\n}\r\n\r\n.imperial_inputs{\r\n    display:none;\r\n}\r\n    \t\t<\/style>\r\n\r\n\r\n        <div class=\"calc_wrapper\" id=\"calc_wrapper\">\r\n       \r\n            <div class=\"custom_flex_calc_wrapper\">\r\n\r\n\r\n                <div class=\"calc_data\">\r\n\r\n                                            <style>\r\n                            .button-group {\r\n                                display: flex;\r\n\t\t\t\t\t\t\t\twidth:100%\r\n                            }\r\n\r\n                            input[type=\"radio\"][name=\"units_checkbox\"] {\r\n                                display: none;\r\n                            }\r\n\r\n                            .radio-label {\r\n                                padding: 5px 10px;\r\n                                margin: 0;\r\n                                color: black;\r\n                                background-color: #cccccc;\r\n                                cursor: pointer;\r\n                                transition: all 0.3s ease;\r\n                            }\r\n\r\n                            input[type=\"radio\"]:checked + .radio-label {\r\n                                color: white;\r\n                                background-color: #4f94d4;\r\n                            }\r\n                            label[for=\"metric\"]{\r\n                                border-radius:5px 0 0  5px ;\r\n                            }\r\n                            label[for=\"imperial\"]{\r\n                                border-radius:0 5px 5px  0;\r\n                            }\r\n                        <\/style>\r\n                        <div class=\"button-group\" style=\"margin-bottom:16px;align-items: center;display: none;\">\r\n                            <span class=\"switcher_color\" style=\"width:100%\">\r\n                            Tipo de unidad                            <\/span>\r\n\r\n                            <input type=\"radio\" id=\"metric\" name=\"units_checkbox\" value=\"metric\" checked>\r\n                            <label for=\"metric\" class=\"radio-label\">Metric<\/label>\r\n\r\n                            <input type=\"radio\" id=\"imperial\" name=\"units_checkbox\" value=\"imperial\">\r\n                            <label for=\"imperial\" class=\"radio-label\">Imperial<\/label>\r\n                        <\/div>\r\n\r\n                        \r\n                        <div class=\"metric_inputs\">\r\n                            <div class=\"calc_data_height\">\r\n                                <span for=\"calc_height_input\">\r\n                                     Height                                <\/span>\r\n                                <input id=\"calc_height_input\" class=\"calc_input_custom\" type=\"text\" placeholder=\"Your height\">\r\n                                <div class=\"calc_placeholder\">\r\n                                    cm.                                <\/div>\r\n                            <\/div>\r\n                            <div for=\"calc_height_input\" class=\"alert-mess\">\r\n                                 Por favor introduzca un valor entre 125 y 225.                            <\/div>\r\n                            <div class=\"calc_data_weight\">\r\n                                <span for=\"calc_weight_input\">\r\n                                    Weight                                <\/span>\r\n                                <input id=\"calc_weight_input\"  class=\"calc_input_custom\" type=\"text\" placeholder=\"Your weight\">\r\n                                <div class=\"calc_placeholder\">\r\n                                    kg.                                <\/div>\r\n                            <\/div>\r\n                            <div for=\"calc_weight_input\" class=\"alert-mess\">\r\n                                 Introduzca un valor entre 10,0 y 500,0 (un decimal).                            <\/div>\r\n\r\n                        <\/div>\r\n\r\n\r\n                        <div class=\"imperial_inputs\">\r\n                            <div class=\"calc_data_height\">\r\n                                <span for=\"calc_height_input\">\r\n                                     Height                                <\/span>\r\n                                <div class=\"custom_flex_wrapper\">\r\n                                    <input id=\"calc_height_input_ft\" style=\"width:45%\" class=\"calc_input_custom\" type=\"text\" placeholder=\"\">\r\n                                    <input id=\"calc_height_input_in\" style=\"width:45%\" class=\"calc_input_custom\" type=\"text\" placeholder=\"\">\r\n                                    <div class=\"calc_placeholder year\">\r\n                                        ft.                                    <\/div>\r\n                                    <div class=\"calc_placeholder\">\r\n                                        in.                                    <\/div>\r\n                                <\/div>\r\n                            <\/div>\r\n                            <div for=\"calc_height_input_ft\" class=\"alert-mess\">\r\n                                 Por favor introduzca un valor entre 4,2 y 7,3                            <\/div>\r\n                            <div class=\"calc_data_weight\">\r\n                                <span for=\"calc_weight_input\">\r\n                                    Weight                                <\/span>\r\n                                <div class=\"custom_flex_wrapper\">\r\n                                    <input id=\"calc_weight_input_lb\" style=\"width:45%\" class=\"calc_input_custom\" type=\"text\" placeholder=\"\">\r\n                                    <input id=\"calc_weight_input_st\" style=\"width:45%\" class=\"calc_input_custom\" type=\"text\" placeholder=\"\">\r\n                                    <div class=\"calc_placeholder year\">\r\n                                        lb.                                    <\/div>\r\n                                    <div class=\"calc_placeholder\">\r\n                                        st.                                    <\/div>\r\n                                <\/div>\r\n                            <\/div>\r\n                            <div for=\"calc_weight_input_lb\" class=\"alert-mess\">\r\n                                 Introduzca un valor entre 22,0 y 1000,0 (un decimal).                            <\/div>\r\n                        <\/div>\r\n\r\n                        <div class=\"calc_input_button\" id=\"calc_input_button\">\r\n                             Calculate BMI <img decoding=\"async\" style=\"width:9px;height:12px\" src=\"https:\/\/naturalflash.us\/wp-content\/plugins\/bmi-adultkid-calculator\/images\/Arrow.png\" >\r\n                        <\/div>\r\n                <\/div>\r\n\r\n                <div class=\"calc_info\">\r\n                    <div class=\"calc_info_placeholder e1716337652\">\r\n                        Use this calculator to check your body mass index (BMI), which can be a useful tool in determining your weight category.                    <\/div>\r\n                    <div class=\"calc_info_data e1716337652\" style=\"display:none\">\r\n                        <div class=\"calc_info_data_title\">\r\n                             Your body mass index (BMI) is                        <\/div>\r\n                        <div style=\"margin-bottom:50px\" class=\"calc_info_data_value\" id=\"calc_bmi\">\r\n                        <\/div>\r\n                        <div class=\"calc_info_line\">\r\n                            <div class=\"calc_info_line_result_wrapper\">\r\n                                <div class=\"calc_info_line_result\">\r\n                                    Tu                                <\/div>\r\n                            <\/div>\r\n\r\n                            <div class=\"calc_info_line_underweight\">\r\n                                 Under weight                            <\/div>\r\n                            <div class=\"calc_info_line_healthy\">\r\n                                Healthy                            <\/div>\r\n                            <div class=\"calc_info_line_overweight\">\r\n                                 Over weight                            <\/div>\r\n                            <div class=\"calc_info_line_obese\">\r\n                                Obesity                            <\/div>\r\n                        <\/div>\r\n\r\n\r\n                        <div class=\"calc_info_conclusion\" id=\"calc_info_conclusion\">\r\n                             For your height, a healthy weight would be between <span id=\"healthy_weight\" class=\"calc_info_data_value\"><\/span> kilograms                        <\/div>\r\n\r\n                        <div class=\"calc_info_conclusion\" id=\"calc_info_conclusionLb\" style=\"display:none\">\r\n                             For your height, a healthy weight would be between <span id=\"healthy_weightLb\" class=\"calc_info_data_value\"><\/span> lb.                        <\/div>\r\n\r\n\r\n\r\n                    <\/div>\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n\r\n    <script>\r\n    document.addEventListener('DOMContentLoaded', function(){\r\n        (function( $ ) {\r\n\r\n\r\n            var units = 'metric';\r\n\r\n            $('input[name=\"units_checkbox\"]').on('change',function(){\r\n                if ($(this).val() == 'imperial')\r\n                {\r\n                    $('.imperial_inputs').css('display','block');\r\n                    $('.metric_inputs').css('display','none');\r\n\r\n\r\n                    units = 'imperial';\r\n                }else{\r\n                    $('.imperial_inputs').css('display','none');\r\n                    $('.metric_inputs').css('display','block');\r\n\r\n\r\n                    units = 'metric';\r\n                }\r\n            })\r\n\r\n\r\n            function moveRect(e){\r\n                switch(e.key){\r\n\r\n                    case \"Enter\":  \/\/ \u0435\u0441\u043b\u0438 \u043d\u0430\u0436\u0430\u0442\u0430 \u043a\u043b\u0430\u0432\u0438\u0448\u0430 \u0432\u043b\u0435\u0432\u043e\r\n                        var can = true;\r\n                        if(units == 'metric'){\r\n                            $('#calc_height_input').each(function(){\r\n                                if(parseInt($(this).val()) < 125 || parseInt($(this).val()) > 225 || !Number.isInteger(parseInt($(this).val())) || $(this).val()[0]=='0'){\r\n                                    $('.alert-mess[for=\"'+$(this).attr('id')+'\"]').css('opacity','1');\r\n                                    $(this).addClass('alert');\r\n                                    can = false;\r\n                                }else{\r\n                                    $('.alert-mess[for=\"'+$(this).attr('id')+'\"]').css('opacity','0');\r\n                                    $(this).removeClass('alert');\r\n                                    height = $(this).val()\r\n                                }\r\n\r\n\r\n                            })\r\n                            $('#calc_weight_input').each(function(){\r\n\r\n                                    if(parseFloat($(this).val()) < 10 || parseFloat($(this).val()) > 500 || fweight(parseFloat($(this).val())) > 1 || parseFloat($(this).val())!=$(this).val() || $(this).val()[0]=='0'){\r\n                                        $('.alert-mess[for=\"'+$(this).attr('id')+'\"]').css('opacity','1');\r\n                                        $(this).addClass('alert');\r\n                                        can = false;\r\n                                    }else{\r\n                                        $('.alert-mess[for=\"'+$(this).attr('id')+'\"]').css('opacity','0');\r\n                                        $(this).removeClass('alert');\r\n                                        weight = parseFloat($(this).val());\r\n                                    }\r\n\r\n                            })\r\n                            \/\/console.log(can);\r\n                            if(can){\r\n                                                                $('#calc_input_button').html(' Recalcular el IMC <img decoding=\"async\" src=\"https:\/\/naturalflash.us\/wp-content\/plugins\/bmi-adultkid-calculator\/images\/Vector Smart Object.png\" >');\r\n                                $('#calc_input_button').addClass('re');\r\n\r\n                                var bmi = (parseFloat(weight)\/(parseInt(height)\/100*parseInt(height)\/100)).toFixed(2);\r\n                                console.log(bmi);\r\n                                if( bmi <=18.49 ){\r\n                                    $('.calc_info_placeholder.e1716337652').css('display','none');\r\n                                    $('.calc_info_data.e1716337652').css('display','block');\r\n                                    $('#calc_bmi').html(bmi);\r\n                                    $('#calc_conclusion').html(' Bajo peso');\r\n                                    var left = 0;\r\n                                    if(bmi > 12){\r\n\r\n                                        left = (bmi - 12)*($('.calc_info_line_underweight').width()\/6.5);\r\n                                        console.log(left);\r\n                                    }\r\n                                    $('.calc_info_line_result_wrapper').css('left',(left-30)+'px' );\r\n                                }\r\n                                if(bmi >= 18.5 && bmi <=24.99 ){\r\n                                    $('.calc_info_placeholder.e1716337652').css('display','none');\r\n                                    $('.calc_info_data.e1716337652').css('display','block');\r\n                                    $('#calc_bmi').html(bmi);\r\n                                    $('#calc_conclusion').html('Saludable');\r\n\r\n                                    var left = 0;\r\n                                    if(bmi > 18.5){\r\n                                        left = (bmi - 18.5)*($('.calc_info_line_healthy').width()\/6.5);\r\n                                    }\r\n                                    $('.calc_info_line_result_wrapper').css('left',((left+$('.calc_info_line_underweight').width())-30)+'px' );\r\n                                }\r\n                                if(bmi >= 25 && bmi <=29.99 ){\r\n                                    $('.calc_info_placeholder.e1716337652').css('display','none');\r\n                                    $('.calc_info_data.e1716337652').css('display','block');\r\n                                    $('#calc_bmi').html(bmi);\r\n                                    $('#calc_conclusion').html(' Exceso de peso');\r\n                                    var left = 0;\r\n                                    if(bmi > 25){\r\n                                        left = (bmi - 25)*($('.calc_info_line_overweight').width()\/5);\r\n                                    }\r\n                                    $('.calc_info_line_result_wrapper').css('left',((left+$('.calc_info_line_underweight').width()+$('.calc_info_line_healthy').width())-30)+'px' );\r\n                                }\r\n                                if(bmi >= 30 ){\r\n                                    $('.calc_info_placeholder.e1716337652').css('display','none');\r\n                                    $('.calc_info_data.e1716337652').css('display','block');\r\n                                    $('#calc_bmi').html(bmi);\r\n                                    $('#calc_conclusion').html('Obesidad');\r\n                                    var left = 0;\r\n                                    if(bmi > 30){\r\n                                        left = (bmi - 30)*($('.calc_info_line_obese').width()\/5);\r\n                                    }\r\n                                    if(bmi > 35){\r\n                                        left = $('.calc_info_line_obese').width();\r\n                                    }\r\n                                    $('.calc_info_line_result_wrapper').css('left',((left+$('.calc_info_line_underweight').width()+$('.calc_info_line_healthy').width() +$('.calc_info_line_overweight').width())-30)+'px' );\r\n                                }\r\n                                var healthy_min = Math.round(18.5 * (parseInt(height)\/100*parseInt(height)\/100));\r\n                                var healthy_max = Math.round(24.99 * (parseInt(height)\/100*parseInt(height)\/100));\r\n\r\n\r\n\r\n                                if(units == 'metric'){\r\n                                    $('#healthy_weight').html(healthy_min+' - '+healthy_max);\r\n                                    $('#calc_info_conclusionLb').css('display','none');\r\n                                    $('#calc_info_conclusion').css('display','block');\r\n                                }else{\r\n                                    $('#healthy_weightLb').html(Math.round(healthy_min*2.20462)+' - '+Math.round(healthy_max*2.20462));\r\n                                    $('#calc_info_conclusionLb').css('display','block');\r\n                                    $('#calc_info_conclusion').css('display','none');\r\n                                }\r\n                                \/\/$('#healthy_weightLb').html(Math.round(healthy_min*2.20462)+' - '+Math.round(healthy_max*2.20462));\r\n\r\n\r\n                                                            }\r\n                        }else{\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n                            var feets = $('#calc_height_input_ft').val();\r\n                            var inches = $('#calc_height_input_in').val();\r\n                            if(isNaN(parseFloat(feets))){\r\n                                feets = 0;\r\n                            }\r\n                            if(isNaN(parseFloat(inches))){\r\n                                inches = 0;\r\n                            }\r\n                            var height_imp = ((parseFloat(feets) + parseFloat(inches) \/ 12) * 30.48).toFixed(0);\r\n\r\n                            if(height_imp < 125 || height_imp > 225 ){\r\n                                $('.alert-mess[for=\"calc_height_input_ft\"]').css('opacity','1');\r\n                                $('#calc_height_input_ft').addClass('alert');\r\n                                $('#calc_height_input_in').addClass('alert');\r\n                                can = false;\r\n                            }else{\r\n                                $('.alert-mess[for=\"calc_height_input_ft\"]').css('opacity','0');\r\n                                $('#calc_height_input_ft').removeClass('alert');\r\n                                $('#calc_height_input_in').removeClass('alert');\r\n                            }\r\n\r\n                            height = height_imp;\r\n\r\n\r\n                            var pounds = $('#calc_weight_input_lb').val();\r\n                            var stones = $('#calc_weight_input_st').val();\r\n                            if(isNaN(parseFloat(pounds))){\r\n                                pounds = 0;\r\n                            }\r\n                            if(isNaN(parseFloat(stones))){\r\n                                stones = 0;\r\n                                console.log('alo')\r\n                            }\r\n                            var weight_imp = ((parseFloat(pounds) + parseFloat(stones) \/ 14) \/ 2.20462 ).toFixed(0);\r\n\r\n                            if(weight_imp < 10 || weight_imp > 500){\r\n                                $('.alert-mess[for=\"calc_weight_input_lb\"]').css('opacity','1');\r\n                                $('#calc_weight_input_lb').addClass('alert');\r\n                                $('#calc_weight_input_st').addClass('alert');\r\n                                can = false;\r\n                            }else{\r\n                                $('.alert-mess[for=\"calc_weight_input_lb\"]').css('opacity','0');\r\n                                $('#calc_weight_input_lb').removeClass('alert');\r\n                                $('#calc_weight_input_st').removeClass('alert');\r\n                            }\r\n                            console.log(parseFloat(stones))\r\n                            weight = weight_imp;\r\n                            \/\/console.log(can);\r\n                            if(can){\r\n                                                                $('#calc_input_button').html(' Recalcular el IMC <img decoding=\"async\" src=\"https:\/\/naturalflash.us\/wp-content\/plugins\/bmi-adultkid-calculator\/images\/Vector Smart Object.png\" >');\r\n                                $('#calc_input_button').addClass('re');\r\n\r\n                                var bmi = (parseFloat(weight)\/(parseInt(height)\/100*parseInt(height)\/100)).toFixed(2);\r\n                                console.log(bmi);\r\n                                if( bmi <=18.49 ){\r\n                                    $('.calc_info_placeholder.e1716337652').css('display','none');\r\n                                    $('.calc_info_data.e1716337652').css('display','block');\r\n                                    $('#calc_bmi').html(bmi);\r\n                                    $('#calc_conclusion').html(' Bajo peso');\r\n                                    var left = 0;\r\n                                    if(bmi > 12){\r\n\r\n                                        left = (bmi - 12)*($('.calc_info_line_underweight').width()\/6.5);\r\n                                        console.log(left);\r\n                                    }\r\n                                    $('.calc_info_line_result_wrapper').css('left',(left-30)+'px' );\r\n                                }\r\n                                if(bmi >= 18.5 && bmi <=24.99 ){\r\n                                    $('.calc_info_placeholder.e1716337652').css('display','none');\r\n                                    $('.calc_info_data.e1716337652').css('display','block');\r\n                                    $('#calc_bmi').html(bmi);\r\n                                    $('#calc_conclusion').html('Saludable');\r\n\r\n                                    var left = 0;\r\n                                    if(bmi > 18.5){\r\n                                        left = (bmi - 18.5)*($('.calc_info_line_healthy').width()\/6.5);\r\n                                    }\r\n                                    $('.calc_info_line_result_wrapper').css('left',((left+$('.calc_info_line_underweight').width())-30)+'px' );\r\n                                }\r\n                                if(bmi >= 25 && bmi <=29.99 ){\r\n                                    $('.calc_info_placeholder.e1716337652').css('display','none');\r\n                                    $('.calc_info_data.e1716337652').css('display','block');\r\n                                    $('#calc_bmi').html(bmi);\r\n                                    $('#calc_conclusion').html(' Exceso de peso');\r\n                                    var left = 0;\r\n                                    if(bmi > 25){\r\n                                        left = (bmi - 25)*($('.calc_info_line_overweight').width()\/5);\r\n                                    }\r\n                                    $('.calc_info_line_result_wrapper').css('left',((left+$('.calc_info_line_underweight').width()+$('.calc_info_line_healthy').width())-30)+'px' );\r\n                                }\r\n                                if(bmi >= 30 ){\r\n                                    $('.calc_info_placeholder.e1716337652').css('display','none');\r\n                                    $('.calc_info_data.e1716337652').css('display','block');\r\n                                    $('#calc_bmi').html(bmi);\r\n                                    $('#calc_conclusion').html('Obesidad');\r\n                                    var left = 0;\r\n                                    if(bmi > 30){\r\n                                        left = (bmi - 30)*($('.calc_info_line_obese').width()\/5);\r\n                                    }\r\n                                    if(bmi > 35){\r\n                                        left = $('.calc_info_line_obese').width();\r\n                                    }\r\n                                    $('.calc_info_line_result_wrapper').css('left',((left+$('.calc_info_line_underweight').width()+$('.calc_info_line_healthy').width() +$('.calc_info_line_overweight').width())-30)+'px' );\r\n                                }\r\n                                var healthy_min = Math.round(18.5 * (parseInt(height)\/100*parseInt(height)\/100));\r\n                                var healthy_max = Math.round(24.99 * (parseInt(height)\/100*parseInt(height)\/100));\r\n\r\n                                if(units == 'metric'){\r\n                                    $('#healthy_weight').html(healthy_min+' - '+healthy_max);\r\n                                    $('#calc_info_conclusionLb').css('display','none');\r\n                                    $('#calc_info_conclusion').css('display','block');\r\n                                }else{\r\n                                    $('#healthy_weightLb').html(Math.round(healthy_min*2.20462)+' - '+Math.round(healthy_max*2.20462));\r\n                                    $('#calc_info_conclusionLb').css('display','block');\r\n                                    $('#calc_info_conclusion').css('display','none');\r\n                                }\r\n\r\n\r\n\r\n\r\n                                \r\n                            }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n                        }\r\n                        break;\r\n                }\r\n            }\r\n            function check_imperial(can){\r\n                var feets = $('#calc_height_input_ft').val();\r\n                var inches = $('#calc_height_input_in').val();\r\n                if(isNaN(parseFloat(feets))){\r\n                    feets = 0;\r\n                }\r\n                if(isNaN(parseFloat(inches))){\r\n                    inches = 0;\r\n                }\r\n                var height_imp = ((parseFloat(feets) + parseFloat(inches) \/ 12) * 30.48).toFixed(0);\r\n\r\n                if(height_imp < 125 || height_imp > 225 ){\r\n                    $('.alert-mess[for=\"calc_height_input_ft\"]').css('opacity','1');\r\n                    $('#calc_height_input_ft').addClass('alert');\r\n                    $('#calc_height_input_in').addClass('alert');\r\n                    can = false;\r\n                }else{\r\n                    $('.alert-mess[for=\"calc_height_input_ft\"]').css('opacity','0');\r\n                    $('#calc_height_input_ft').removeClass('alert');\r\n                    $('#calc_height_input_in').removeClass('alert');\r\n                }\r\n\r\n                height = height_imp;\r\n\r\n\r\n                var pounds = $('#calc_weight_input_lb').val();\r\n                var stones = $('#calc_weight_input_st').val();\r\n                if(isNaN(parseFloat(pounds))){\r\n                    pounds = 0;\r\n                }\r\n                if(isNaN(parseFloat(stones))){\r\n                    stones = 0;\r\n                    console.log('alo')\r\n                }\r\n                var weight_imp = ((parseFloat(pounds) + parseFloat(stones) \/ 14) \/ 2.20462 ).toFixed(0);\r\n\r\n                if(weight_imp < 10 || weight_imp > 500){\r\n                    $('.alert-mess[for=\"calc_weight_input_lb\"]').css('opacity','1');\r\n                    $('#calc_weight_input_lb').addClass('alert');\r\n                    $('#calc_weight_input_st').addClass('alert');\r\n                    can = false;\r\n                }else{\r\n                    $('.alert-mess[for=\"calc_weight_input_lb\"]').css('opacity','0');\r\n                    $('#calc_weight_input_lb').removeClass('alert');\r\n                    $('#calc_weight_input_st').removeClass('alert');\r\n                }\r\n                console.log(parseFloat(stones))\r\n                weight = weight_imp;\r\n                return can;\r\n            }\r\n            addEventListener(\"keydown\", moveRect);\r\n            const fweight = x => ( (x.toString().includes('.')) ? (x.toString().split('.').pop().length) : (0) );\r\n            var height = '';\r\n            var weight = '';\r\n            var checkingRegExp = new RegExp(\/^(\\d)$\/g);\r\n            $('#calc_height_input').on('input',function(){\r\n                if(\/^[\\d.]*$\/.test($(this).val())  && $(this).val().split(\".\").length < 3){\r\n                    height = $(this).val();\r\n                }else{\r\n                    $(this).val(height);\r\n                }\r\n\r\n                if(parseInt($(this).val()) < 125 || parseInt($(this).val()) > 225 || !Number.isInteger(parseInt($(this).val())) || $(this).val()[0]=='0'){\r\n                    $('.alert-mess[for=\"'+$(this).attr('id')+'\"]').css('opacity','1');\r\n                    $(this).addClass('alert');\r\n                }else{\r\n                    $('.alert-mess[for=\"'+$(this).attr('id')+'\"]').css('opacity','0');\r\n                    $(this).removeClass('alert');\r\n                }\r\n            })\r\n            $('#calc_weight_input').on('input',function(){\r\n                if(\/^[\\d.]*$\/.test($(this).val()) && $(this).val().split(\".\").length < 3 ){\r\n                    weight = $(this).val();\r\n                }else{\r\n                    $(this).val(weight);\r\n                }\r\n                    if(parseFloat($(this).val()) < 10 || parseFloat($(this).val()) > 500 || fweight(parseFloat($(this).val())) > 1 || parseFloat($(this).val())!=$(this).val() || $(this).val()[0]=='0'){\r\n                        $('.alert-mess[for=\"'+$(this).attr('id')+'\"]').css('opacity','1');\r\n                        $(this).addClass('alert');\r\n                        can = false;\r\n                    }else{\r\n                        $('.alert-mess[for=\"'+$(this).attr('id')+'\"]').css('opacity','0');\r\n                        $(this).removeClass('alert');\r\n                    }\r\n            })\r\n            var prev1 = 0;\r\n            var prev2 = 0;\r\n            var prev3 = 0;\r\n            var prev4 = 0;\r\n\r\n            $('#calc_height_input_ft').on('input',function(){\r\n                if(\/^[\\d.]*$\/.test($(this).val())){\r\n                    prev1 = $(this).val();\r\n                }else{\r\n                    $(this).val(prev1);\r\n                }\r\n                var can = check_imperial(true);\r\n            })\r\n            $('#calc_height_input_in').on('input',function(){\r\n                if(\/^[\\d.]*$\/.test($(this).val())){\r\n                    prev2 = $(this).val();\r\n                }else{\r\n                    $(this).val(prev2);\r\n                }\r\n                var can = check_imperial(true);\r\n            })\r\n            $('#calc_weight_input_lb').on('input',function(){\r\n                if(\/^[\\d.]*$\/.test($(this).val())){\r\n                    prev3 = $(this).val();\r\n                }else{\r\n                    $(this).val(prev3);\r\n                }\r\n                var can = check_imperial(true);\r\n            })\r\n            $('#calc_weight_input_st').on('input',function(){\r\n                if(\/^[\\d.]*$\/.test($(this).val())){\r\n                    prev4 = $(this).val();\r\n                }else{\r\n                    $(this).val(prev4);\r\n                }\r\n                var can = check_imperial(true);\r\n            })\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n            $('#calc_input_button').on('click',function(){\r\n                var can = true;\r\n\r\n\r\n                if(units == 'metric'){\r\n\r\n\r\n                    $('#calc_height_input').each(function(){\r\n\r\n\r\n                            if(parseInt($(this).val()) < 125 || parseInt($(this).val()) > 225 || !Number.isInteger(parseInt($(this).val())) || $(this).val()[0]=='0'){\r\n                                $('.alert-mess[for=\"'+$(this).attr('id')+'\"]').css('opacity','1');\r\n                                $(this).addClass('alert');\r\n                                can = false;\r\n                            }else{\r\n                                $('.alert-mess[for=\"'+$(this).attr('id')+'\"]').css('opacity','0');\r\n                                $(this).removeClass('alert');\r\n                                height = $(this).val();\r\n                            }\r\n\r\n                    })\r\n                    $('#calc_weight_input').each(function(){\r\n\r\n\r\n                            if(parseFloat($(this).val()) < 10 || parseFloat($(this).val()) > 500 || fweight(parseFloat($(this).val())) > 1 || parseFloat($(this).val())!=$(this).val() || $(this).val()[0]=='0'){\r\n                                $('.alert-mess[for=\"'+$(this).attr('id')+'\"]').css('opacity','1');\r\n                                $(this).addClass('alert');\r\n                                can = false;\r\n                            }else{\r\n                                $('.alert-mess[for=\"'+$(this).attr('id')+'\"]').css('opacity','0');\r\n                                $(this).removeClass('alert');\r\n                                weight = $(this).val();\r\n                            }\r\n\r\n                    })\r\n                }else{\r\n\r\n                    if(can){\r\n                        can = check_imperial(true);\r\n                    }\r\n\r\n\r\n                }\r\n                \/\/console.log(can);\r\n                if(can){\r\n                    \r\n                    $('#calc_input_button').html(' Recalcular el IMC <img decoding=\"async\" src=\"https:\/\/naturalflash.us\/wp-content\/plugins\/bmi-adultkid-calculator\/images\/Vector Smart Object.png\" >');\r\n                    $('#calc_input_button').addClass('re');\r\n                    console.log(weight)\r\n                    console.log(height)\r\n                    var bmi = (parseFloat(weight)\/(parseInt(height)\/100*parseInt(height)\/100)).toFixed(2);\r\n                    console.log(bmi);\r\n                    if( bmi <=18.49 ){\r\n                        $('.calc_info_placeholder.e1716337652').css('display','none');\r\n                        $('.calc_info_data.e1716337652').css('display','block');\r\n                        $('#calc_bmi').html(bmi);\r\n                        $('#calc_conclusion').html(' Bajo peso');\r\n                        var left = 0;\r\n                        if(bmi > 12){\r\n\r\n                            left = (bmi - 12)*($('.calc_info_line_underweight').width()\/6.5);\r\n                            console.log(left);\r\n                        }\r\n                        $('.calc_info_line_result_wrapper').css('left',(left-30)+'px' );\r\n                    }\r\n                    if(bmi >= 18.5 && bmi <=24.99 ){\r\n                        $('.calc_info_placeholder.e1716337652').css('display','none');\r\n                        $('.calc_info_data.e1716337652').css('display','block');\r\n                        $('#calc_bmi').html(bmi);\r\n                        $('#calc_conclusion').html('Saludable');\r\n\r\n                        var left = 0;\r\n                        if(bmi > 18.5){\r\n                            left = (bmi - 18.5)*($('.calc_info_line_healthy').width()\/6.5);\r\n                        }\r\n                        $('.calc_info_line_result_wrapper').css('left',((left+$('.calc_info_line_underweight').width())-30)+'px' );\r\n                    }\r\n                    if(bmi >= 25 && bmi <=29.99 ){\r\n                        $('.calc_info_placeholder.e1716337652').css('display','none');\r\n                        $('.calc_info_data.e1716337652').css('display','block');\r\n                        $('#calc_bmi').html(bmi);\r\n                        $('#calc_conclusion').html(' Exceso de peso');\r\n                        var left = 0;\r\n                        if(bmi > 25){\r\n                            left = (bmi - 25)*($('.calc_info_line_overweight').width()\/5);\r\n                        }\r\n                        $('.calc_info_line_result_wrapper').css('left',((left+$('.calc_info_line_underweight').width()+$('.calc_info_line_healthy').width())-30)+'px' );\r\n                    }\r\n                    if(bmi >= 30 ){\r\n                        $('.calc_info_placeholder.e1716337652').css('display','none');\r\n                        $('.calc_info_data.e1716337652').css('display','block');\r\n                        $('#calc_bmi').html(bmi);\r\n                        $('#calc_conclusion').html('Obesidad');\r\n                        var left = 0;\r\n                        if(bmi > 30){\r\n                            left = (bmi - 30)*($('.calc_info_line_obese').width()\/5);\r\n                        }\r\n                        if(bmi > 35){\r\n                            left = $('.calc_info_line_obese').width();\r\n                        }\r\n                        $('.calc_info_line_result_wrapper').css('left',((left+$('.calc_info_line_underweight').width()+$('.calc_info_line_healthy').width() +$('.calc_info_line_overweight').width())-30)+'px' );\r\n                    }\r\n                    var healthy_min = Math.round(18.5 * (parseInt(height)\/100*parseInt(height)\/100));\r\n                    var healthy_max = Math.round(24.99 * (parseInt(height)\/100*parseInt(height)\/100));\r\n\r\n                    if(units == 'metric'){\r\n                        $('#healthy_weight').html(healthy_min+' - '+healthy_max);\r\n                        $('#calc_info_conclusionLb').css('display','none');\r\n                        $('#calc_info_conclusion').css('display','block');\r\n                    }else{\r\n                        $('#healthy_weightLb').html(Math.round(healthy_min*2.20462)+' - '+Math.round(healthy_max*2.20462));\r\n                        $('#calc_info_conclusionLb').css('display','block');\r\n                        $('#calc_info_conclusion').css('display','none');\r\n                    }\r\n\r\n                                }\r\n            })\r\n        })( jQuery );\r\n})\r\n\r\n    <\/script>\r\n    <\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Calculador de peso (IMC) Explora tu peso ideal con nuestra herramienta avanzada basada en el \u00edndice de masa corporal (IMC). Dise\u00f1ada con precisi\u00f3n, esta herramienta te gu\u00eda para determinar tu peso \u00f3ptimo y evaluar si te encuentras en un rango saludable seg\u00fan tu estatura y peso actuales. Es una opci\u00f3n perfecta para individuos de todas [&hellip;]<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_joinchat":[]},"_links":{"self":[{"href":"https:\/\/naturalflash.us\/en\/wp-json\/wp\/v2\/pages\/2009"}],"collection":[{"href":"https:\/\/naturalflash.us\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/naturalflash.us\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/naturalflash.us\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/naturalflash.us\/en\/wp-json\/wp\/v2\/comments?post=2009"}],"version-history":[{"count":6,"href":"https:\/\/naturalflash.us\/en\/wp-json\/wp\/v2\/pages\/2009\/revisions"}],"predecessor-version":[{"id":3877,"href":"https:\/\/naturalflash.us\/en\/wp-json\/wp\/v2\/pages\/2009\/revisions\/3877"}],"wp:attachment":[{"href":"https:\/\/naturalflash.us\/en\/wp-json\/wp\/v2\/media?parent=2009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}