{"id":2541,"date":"2023-09-10T16:37:16","date_gmt":"2023-09-10T16:37:16","guid":{"rendered":"https:\/\/ruouviet.com.vn\/?page_id=2541"},"modified":"2023-12-28T06:10:52","modified_gmt":"2023-12-28T06:10:52","slug":"tinh-nong-do-con","status":"publish","type":"page","link":"https:\/\/ruouviet.com.vn\/e_n\/tinh-nong-do-con\/","title":{"rendered":"T\u00ednh n\u1ed3ng \u0111\u1ed9 c\u1ed3n"},"content":{"rendered":"\t<section class=\"section\" id=\"section_1744644830\">\n\t\t<div class=\"bg section-bg fill bg-fill bg-loaded bg-loaded\" >\n\n\t\t\t\n\t\t\t\n\t\t\t\n\n\t\t<\/div>\n\n\t\t\n\n\t\t<div class=\"section-content relative\">\n\t\t\t\n<div class=\"row row-collapse\"  id=\"row-2074515091\">\n\n\t<div id=\"col-1629016766\" class=\"col small-12 large-12\"  >\n\t\t\t\t<div class=\"col-inner\"  >\n\t\t\t\n\t\t\t\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n  <head>\r\n    <meta charset=\"UTF-8\" \/>\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" \/>\r\n    <title>Khung chia th\u00e0nh 4 \u00f4 v\u1edbi \u1ea3nh n\u1ec1n v\u00e0 hi\u1ec7u \u1ee9ng<\/title>\r\n    <style>\r\n\t\t\t.section-t{padding-top: 30px;}\r\n\t\t\t.section-t input{\r\n\t\t\t\tfont-size: 16px !important;\r\n\t\t\t\ttext-align:center;\r\n\t\t\t}\r\n\t\t\t.custom-button{\r\n\t\t\t\tmargin-top: 5px !important;\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t}\r\n      \/* Styles for screens wider than 1024px *\/\r\n      td{color: #000;}\r\n        #sectitle{\r\n          background-color: #336699;\r\n\t\t\t\t\tpadding: 0px;\r\n\t\t\t\t\tmargin-bottom: 6px;\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\tfont-size: 16px;\r\n\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\twidth: 100%;\r\n        }\r\n\r\n\t\t\t@media (min-width: 1600px){\r\n\t\t\t\t.popup{\r\n\t\t\t\t\ttop: 70% !important;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n      @media (min-width: 912px) {\r\n        h1 {\r\n          text-align: center;\r\n          margin-top: 0px;\r\n          color: #180462;\r\n          font-size: 25px;\r\n          margin-left: 0px;\r\n          margin-bottom: 0;\r\n          font-weight: bold;\r\n        }\r\n\r\n        .grid-container {\r\n          display: grid;\r\n          grid-template-columns: 2fr 1fr;\r\n          gap: 20px;\r\n          width: 90%;\r\n          margin: 0 auto;\r\n          justify-content: flex-end;\r\n        }\r\n\r\n        \/* Common styles for all screen sizes *\/\r\n        .grid-item {\r\n          display: flex;\r\n          flex-direction: column;\r\n          justify-content: space-between;\r\n          align-items: center;\r\n          font-size: 20px;\r\n          color: #fff;\r\n          background-size: contain;\r\n          background-position: center;\r\n          border: 0px solid #1c1c1c;\r\n          border-radius: 15px;\r\n          transition: transform 0.3s, box-shadow 0.3s;\r\n          height: auto;\r\n          width: 100%;\r\n        }\r\n        .grid-item:nth-child(1) {\r\n        \r\n          margin-left: 0px;\/* Thay \u0111\u1ed5i gi\u00e1 tr\u1ecb margin-top theo mong mu\u1ed1n *\/\r\n          width:90%;\r\n        }\r\n        .grid-item:nth-child(2) {\r\n          margin-top: 50px; \r\n          margin-left: 30px;\/* Thay \u0111\u1ed5i gi\u00e1 tr\u1ecb margin-top theo mong mu\u1ed1n *\/\r\n          width: 90%;\r\n        }\r\n        .grid-item p {\r\n          margin-top: -50px;\r\n          flex-grow: 1;\r\n          text-align: left;\r\n          color: #ff0000;\r\n          font-size: 20px;\r\n          font-weight: bold;\r\n        }\r\n        .grid-item label {\r\n          margin-top: 10px;\r\n          flex-grow: 1;\r\n          text-align: left;\r\n          color: #000000;\r\n          font-size: 20px;\r\n          font-weight: bold;\r\n        }\r\n        .grid-item input {\r\n          margin-top: 10px;\r\n          margin-bottom: 10px;\r\n          text-transform: capitalize;\r\n          flex-grow: 1;\r\n          text-align: center;\r\n          color: #000000;\r\n          font-size: 20px;\r\n          font-weight: bold;\r\n          height: auto;\r\n          width: 95%;\r\n        }\r\n\r\n        .grid-item table {\r\n            font-family: arial, sans-serif;\r\n            border-collapse: collapse;\r\n            width: 100%;\r\n            color: #000000;\r\n            font-size: 20px;\r\n        }\r\n\r\n        .inline-group {\r\n          width: 100%;\r\n          margin-top: 0px;\r\n          margin-bottom: 0px;\r\n          display: flex; \/* Make input and select inline *\/\r\n          \/*vertical-align: middle;  Vertically align them in the middle *\/\r\n\t\t\t\t\talign-items: flex-start;\r\n\t\t\t\t\tjustify-content: space-around;\r\n        }\r\n        \r\n\r\n        \/* Add spacing between the input and select elements *\/\r\n        .inline-group input{\r\n          margin-top: 10px;\r\n          margin-bottom: 10px;\r\n          font-size: 20px;\r\n          font-weight: bold;\r\n          width: 12%;\r\n        }\r\n\r\n\r\n        .inline-group select {\r\n          margin-top: 10px;\r\n          margin-bottom: 10px;\r\n          font-size: 20px;\r\n          font-weight: bold;\r\n          height: 45px;\r\n          width: 14%;\r\n          \r\n        }\r\n\r\n        .inline-group input[type=\"radio\"] {\r\n            width: 11px; \/* Adjust the width as needed *\/\r\n            height: 17px; \/* Adjust the height as needed *\/\r\n            vertical-align: middle;\r\n            margin-top: 10px;\r\n        }\r\n        \r\n        .inline-group .inuiyearspan{\r\n            margin-left:-45px;\r\n            margin-top: 11px;\r\n            margin-bottom: 10px;\r\n            font-size: 20px;\r\n            color:#888;\r\n        }\r\n        \r\n        .custom-button {\r\n          background-color: #00438b; \/* Custom background color *\/\r\n          color: #fff; \/* Custom text color *\/\r\n          padding: 0 15px; \/* Custom padding for the button *\/\r\n          margin-top: 0px;\r\n          border: none; \/* Remove default button border *\/\r\n          border-radius: 5px; \/* Add rounded corners *\/\r\n          cursor: pointer; \/* Change cursor on hover *\/\r\n          font-size: 16px;\r\n          margin-bottom: 0px;\r\n        }\r\n        \r\n        td, th {\r\n        border: 1px solid #dddddd;\r\n        text-align: left;\r\n        padding: 3px;\r\n        font-size: 16px;\r\n        }\r\n\r\n        table select {\r\n            font-size: 20px;\r\n            margin-top: 10px;\r\n            margin-bottom: 10px;\r\n            height: auto;\r\n        }\r\n        \r\n        .result {\r\n            display: flex;\r\n            margin: -33px;\r\n            align-items: center;\r\n            justify-content: center;\r\n        }\r\n      }\r\n\r\n      \/* Styles for screens up to 649px (mobile) *\/\r\n      @media (max-width: 912px) {\r\n        h1 {\r\n          text-align: center;\r\n          margin-top: 0px;\r\n          color: #180462;\r\n          font-size: 25px;\r\n          margin-left: 0px;\r\n          margin-bottom: 30px;\r\n          font-weight: bold;\r\n        }\r\n\r\n        .grid-container {\r\n          display: grid;\r\n          grid-template-columns: repeat(1, 1fr);\r\n          gap: 20px;\r\n          width: 90%;\r\n          margin: 0 auto;\r\n          justify-content: flex-end;\r\n        }\r\n\r\n        \/* Common styles for all screen sizes *\/\r\n        .grid-item {\r\n          display: flex;\r\n          flex-direction: column;\r\n          justify-content: space-between;\r\n          align-items: center;\r\n          font-size: 20px;\r\n          color: #fff;\r\n          background-size: contain;\r\n          background-position: center;\r\n          border: 0px solid #1c1c1c;\r\n          border-radius: 15px;\r\n          transition: transform 0.3s, box-shadow 0.3s;\r\n          height: auto;\r\n          width: 100%;\r\n        }\r\n\r\n        .grid-item p {\r\n          margin-top: -10px;\r\n          flex-grow: 1;\r\n          text-align: left;\r\n          color: #ff0000;\r\n          font-size: 18px;\r\n          font-weight: bold;\r\n        }\r\n        .grid-item label {\r\n          margin-top: 10px;\r\n          flex-grow: 1;\r\n          text-align: left;\r\n          color: #000000;\r\n          font-size: 18px;\r\n          font-weight: bold;\r\n        }\r\n        .grid-item input {\r\n          margin-top: 10px;\r\n          margin-bottom: 10px;\r\n          text-transform: capitalize;\r\n          flex-grow: 1;\r\n          text-align: center;\r\n          color: #000000;\r\n          font-size: 18px;\r\n\r\n          height: 28px;\r\n          width: 95%;\r\n        }\r\n\r\n        .grid-item table {\r\n            font-family: arial, sans-serif;\r\n            border-collapse: collapse;\r\n            width: 100%;\r\n            color: #000000;\r\n            font-size: 18px;\r\n        }\r\n\r\n        .inline-group {\r\n          width: 100%;\r\n          margin-top: 10px;\r\n          margin-bottom: 10px;\r\n          display: flex; \/* Make input and select inline *\/\r\n          vertical-align: middle; \/* Vertically align them in the middle *\/\r\n        }\r\n\r\n        \/* Add spacing between the input and select elements *\/\r\n        .inline-group input{\r\n          margin-top: 10px;\r\n          margin-bottom: 10px;\r\n          font-size: 18px;\r\n          height: 40px;\r\n          width: 80px;\r\n        }\r\n\r\n\r\n        .inline-group select {\r\n          margin-top: 10px;\r\n          margin-bottom: 10px;\r\n          font-size: 18px;\r\n          height: 40px;\r\n          width: 80px;\r\n        }\r\n\r\n        .inline-group input[type=\"radio\"] {\r\n            width: 18px; \/* Adjust the width as needed *\/\r\n            height: 18px; \/* Adjust the height as needed *\/\r\n            vertical-align: middle;\r\n        }\r\n        \r\n        .inline-group .inuiyearspan{\r\n            margin-left:-45px;\r\n            margin-top: 11px;\r\n            margin-bottom: 10px;\r\n            font-size: 18px;\r\n            color:#888;\r\n        }\r\n        \r\n        .custom-button {\r\n          background-color: #00438b; \/* Custom background color *\/\r\n          color: #fff; \/* Custom text color *\/\r\n          padding: 0 15px; \/* Custom padding for the button *\/\r\n          border: none; \/* Remove default button border *\/\r\n          border-radius: 5px; \/* Add rounded corners *\/\r\n          cursor: pointer; \/* Change cursor on hover *\/\r\n          font-size: 16px;\r\n          margin-bottom: 0px;\r\n        }\r\n        \r\n        td, th {\r\n        border: 1px solid #dddddd;\r\n        text-align: left;\r\n        padding: 8px;\r\n        font-size: 16px;\r\n        }\r\n\r\n        table select {\r\n            font-size: 18px;\r\n            margin-top: 10px;\r\n            margin-bottom: 10px;\r\n            height: 30px;\r\n        }\r\n        .result {\r\n            display: flex;\r\n            margin: -10px;\r\n            align-items: center;\r\n            justify-content: center;\r\n        }\r\n\r\n\r\n      .grid-item:hover {\r\n        background-color: transparent;\r\n        color: inherit;\r\n      }\r\n    }\r\n      .popup {\r\n            display: none;\r\n            position: fixed;\r\n            top: 70%;\r\n            left: 38% !important;\r\n            transform: translate(-10%, -50%);\r\n            background: #223983;\r\n            border: 1px solid #ccc;\r\n            padding: 10px;\r\n            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);\r\n            z-index: 1;\r\n                        color: white;\r\n\t\t\t\t\t\t\twidth: 30% !important;\r\n        }\r\n\t\t\t\r\n\t\t\t.pResult{\r\n\t\t\t\tfont-size: 14px !important;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.input-inline{\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tmargin-right: 16px;\r\n\t\t\t\tjustify-content: center;\r\n    \t\tflex-direction: column;\r\n\t\t\t}\r\n\t\t\t.input-inline input{\r\n\t\t\t\theight: 25px !important;\r\n\t\t\t\tmargin: 0 8px 0 0 !important;\r\n\t\t\t}\r\n\t\t\t.input-inline-row{\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tmargin-right: 16px;\r\n\t\t\t\tjustify-content: center;\r\n    \t\tflex-direction: row;\r\n\t\t\t}\r\n\t\t\t.custom-input{\r\n\t\t\t\tmargin: 0 0 10px 10px !important;\r\n    \t\tfont-size: 20px !important;\r\n    \t\tfont-weight: bold !important;\r\n    \t\twidth: 50% !important;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t.btnPopup{\r\n\t\t\t\tbackground: #fff;\r\n\t\t\t\tcolor: #223983;\r\n\t\t\t\tborder: solid 1px #223983;\r\n\t\t\t}\r\n\t\t\t.form-content{\r\n\t\t\t\tpadding: 4px 15px\r\n\t\t\t}\r\n\t\t\t.tblContent{\r\n\t\t\t\tmargin-bottom : 0 !important;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.in4char{\r\n\t\t\t\tmargin: 0 0;\r\n\t\t\t}\r\n\t\t\t.innormal{\r\n\t\t\t\tmargin: 0 0;\r\n\t\t\t}\r\n\t\t\t.hintText{\r\n\t\t\t\tcolor: grey;\r\n\t\t\t}\r\n\t\t\t.col-inner{\r\n\t\t\t\tmargin: 0 auto !important;\r\n    width: 75% !important;\r\n\t\t\t}\r\n\t\t\t#male{\r\n\t\t\t\twidth:18px;\r\n\t\t\t}\r\n\t\t\t#female{\r\n\t\t\t\twidth:18px;\r\n\t\t\t}\r\n\t\t\t.row-title{\r\n\t\t\t\tpadding-bottom: 10px !important;\r\n\t\t\t}\r\n\t\t\t@media (max-width: 912px){\r\n\t\t\t\t.col-inner{\r\n\t\t\t\t\twidth: 100% !important;\r\n\t\t\t\t}\r\n\t\t\t\t.popup{\r\n\t\t\t\t\ttop: 70%\r\n\t\t\t\t}\r\n\t\t\t}\r\n    <\/style>\r\n  <\/head>\r\n  <body>\r\n\r\n<section class=\"section-t\">\r\n\t<div class=\"row row-small\">\r\n      <div id=\"col-1942182950\" class=\"col medium-12 small-12 large-12 row-title\">\r\n        <h1 class=\"text-title-t-11\">T\u00cdNH N\u1ed2NG \u0110\u1ed8 C\u1ed2N KH\u00cd TH\u1ede<\/h1>\r\n        <div id=\"resultPopup\" class=\"popup\">\r\n          <span id=\"result\"><\/span>\r\n          <button class=\"btnPopup\" onclick=\"closePopup()\">\u0110\u00f3ng<\/button>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\t\r\n  <div class=\"row row-small align-center row-content\">\r\n    <div id=\"col-1942182950\" class=\"col medium-10 small-12 large-10 form-content\">\r\n      <div class=\"col-inner\">\r\n        <div class=\"inline-group\">\r\n            <div class=\"input-inline\">\r\n\t\t\t\t\t\t\t<label for=\"male\">Nam<\/label>\r\n\t\t\t\t\t\t\t<input type=\"radio\" id=\"male\" name=\"gender\" value=\"0.7\" checked>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"input-inline\">\r\n            <label for=\"female\">N\u1eef<\/label>   \r\n\t\t\t\t\t\t<input type=\"radio\" id=\"female\" name=\"gender\" value=\"0.6\">\r\n        <\/div>\r\n\t\t\t\t\t<div class=\"input-inline-row\">\r\n            <label style=\"width: fit-content;\">C\u00e2n n\u1eb7ng (kg):<\/label>\r\n            <input type=\"number\" class=\"custom-input\" id=\"readWeight\" required \r\n\t\t\t\t\t\tmin='0'\r\n\t\t\t\t\t\toninput='if(this.value<0){this.value= this.value * -1}'\/>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n       \r\n<!--         <div class=\"inline-group\"> -->\r\n<!--             <select id=\"unitWeight\" class=\"custom-select\" name=\"drinkType\">\r\n                <option value=\"1\">Kg<\/option>\r\n\r\n            <\/select> -->\r\n<!--         <\/div> -->\r\n\r\n\r\n        <div id=\"sectitle\">L\u01af\u1ee2NG C\u1ed2N \u0110\u00c3 U\u1ed0NG<\/div>\r\n        <table class=\"tblContent\">\r\n            <tr>\r\n                <td style=\"width: 36%; text-align: center; font-weight: bold;\">Lo\u1ea1i<\/td>\r\n                <td style=\"width: 36%; text-align: center; font-weight: bold;\">S\u1ed1 l\u01b0\u1ee3ng<\/td>\r\n<!--                 <td style=\"text-align: center; font-weight: bold;\">\u0110\u01a1n v\u1ecb t\u00ednh<\/td> -->\r\n                <td style=\"text-align: center; font-weight: bold;\">\u0110\u1ed9 c\u1ed3n<\/td>\r\n              <\/tr>\r\n              <tr>\r\n                <td style=\"text-align: center;\">Bia <span class='hintText'>(lon 330ml)<\/span><\/td>\r\n                <td>\r\n                  <input\r\n                    type=\"number\"\r\n                    id=\"volBeer\"\r\n                    name=\"ba\"\r\n                    value=\"\"\r\n                    class=\"in4char\"\r\n                    onKeyUp=\"iptfieldCheck(this, '', 'pzn');\"\r\n\t\t\t\t\t\t\t\t\t\tplaceholder=\"Lon 330ml\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t step=\"0.1\"\r\n\t\t\t\t\t\tmin='0'\r\n\t\t\t\t\t\toninput='if(this.value<0){this.value= this.value * -1}'\r\n                  \/>\r\n                <\/td>\r\n<!--                 <td>\r\n                  <select id=\"bsize\" name=\"bsize\" style=\"width: 100%;\">\r\n                    <option value=\"330\" selected>chai 330ml<\/option>\r\n                    <option value=\"500\">chai 500ml<\/option>\r\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<option value=\"330\">lon 330ml<\/option>\r\n                    <option value=\"500\">lon 500ml<\/option>\r\n                  <\/select>\r\n                <\/td> -->\r\n                <td>\r\n                  <select id=\"babv\" name=\"babv\" class=\"innormal\" style=\"width: 100%; text-align: center;\">\r\n\t\t\t\t\t\t\t\t\t\t<option value=\"4\">4%<\/option>\r\n                    <option value=\"4.5\" selected>4,5%<\/option>\r\n                    <option value=\"5\">5%<\/option>\r\n                    <option value=\"5.5\">5,5%<\/option>\r\n                  <\/select>\r\n                <\/td>\r\n              <\/tr>\r\n              <tr>\r\n                <td style=\"text-align: center;\">R\u01b0\u1ee3u vang <span class='hintText'>(chai 750ml)<\/span><\/td>\r\n                <td>\r\n                  <input\r\n                    type=\"number\"\r\n                    name=\"wa\"\r\n                    id=\"volWine\"\r\n                    value=\"\"\r\n                    class=\"in4char\"\r\n                    onKeyUp=\"iptfieldCheck(this, '', 'pzn');\"\r\n\t\t\t\t\t\t\t\t\t\tplaceholder=\"Chai 750ml\"\r\n\t\t\t\t\t\tmin='0'\r\n\t\t\t\t\t\toninput='if(this.value<0){this.value= this.value * -1}'\r\n                  \/>\r\n                <\/td>\r\n<!--                 <td>\r\n                  <select id=\"wsize\" name=\"wsize\" style=\"width: 100%;\">\r\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<option value=\"375\">chai 375ml<\/option>\r\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<option value=\"500\">chai 500ml<\/option>\r\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<option value=\"750\" selected>chai 750ml<\/option>\r\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<option value=\"1000\">1l<\/option>\r\n                  <\/select>\r\n                <\/td> -->\r\n                <td>\r\n                  <select id=\"wabv\" name=\"wabv\" class=\"innormal\" style=\"width: 100%; text-align: center;\">\r\n                    <option value=\"6\">6%<\/option>\r\n                    <option value=\"7\">7%<\/option>\r\n                    <option value=\"8\">8%<\/option>\r\n                    <option value=\"9\">9%<\/option>\r\n                    <option value=\"10\">10%<\/option>\r\n                    <option value=\"11\">11%<\/option>\r\n                    <option value=\"12\" >12%<\/option>\r\n                    <option value=\"13\">13%<\/option>\r\n                    <option value=\"14\" selected>14%<\/option>\r\n                    <option value=\"15\">15%<\/option>\r\n                    <option value=\"16\">16%<\/option>\r\n                  <\/select>\r\n                <\/td>\r\n              <\/tr>\r\n              <tr>\r\n                <td style=\"text-align: center;\">R\u01b0\u1ee3u m\u1ea1nh <span class='hintText'>(chai 500ml)<\/span><\/td>\r\n                <td>\r\n                  <input\r\n                    type=\"number\"\r\n                    name=\"la\"\r\n                    id=\"volLiqour\"\r\n                    value=\"\"\r\n                    class=\"in4char\"\r\n\t\t\t\t\t\t\t\t\t\tplaceholder=\"Chai 500ml\"\r\n\t\t\t\t\t\tmin='0'\r\n\t\t\t\t\t\toninput='if(this.value<0){this.value= this.value * -1}'\r\n                  \/>\r\n                <\/td>\r\n<!--                 <td>\r\n                  <select id=\"lsize\" name=\"lsize\" style=\"width: 100%;\">\r\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<option value=\"250\">chai 250ml<\/option>\r\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<option value=\"375\">chai 375ml<\/option>\r\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<option value=\"500\" selected>chai 500ml<\/option>\r\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<option value=\"750\">chai 750ml<\/option>\r\n                  <\/select>\r\n                <\/td> -->\r\n                <td>\r\n                  <select id=\"labv\" name=\"labv\" class=\"innormal\" style=\"width: 100%; text-align: center;\">\r\n\t\t\t\t\t\t\t\t\t\t<option value=\"25\">15%<\/option>\r\n\t\t\t\t\t\t\t\t\t\t<option value=\"25\">20%<\/option>\r\n                    <option value=\"25\">25%<\/option>\r\n                    <option value=\"30\" selected>30%<\/option>\r\n                    <option value=\"35\">35%<\/option>\r\n                    <option value=\"40\">40%<\/option>\r\n                    <option value=\"45\">45%<\/option>\r\n                    <option value=\"50\">50%<\/option>\r\n                    <option value=\"55\">55%<\/option>\r\n                  <\/select>\r\n                <\/td>\r\n              <\/tr>\r\n              <tr>\r\n                <td style=\"text-align: center;\">Lo\u1ea1i kh\u00e1c <span class='hintText'>(chai 500ml)<\/span><\/td>\r\n                <td>\r\n                  \r\n                  <input\r\n                    type=\"number\"\r\n                    name=\"oa\"\r\n                    id=\"volOther\"\r\n                    value=\"\"\r\n                    class=\"input1\"\r\n\t\t\t\t\t\t\t\t\t\tplaceholder=\"Chai 500ml\"\r\n\t\t\t\t\t\tmin='0'\r\n\t\t\t\t\t\toninput='if(this.value<0){this.value= this.value * -1}'\r\n\r\n                  \/>\r\n                <\/td>\r\n<!--                 <td>\r\n                  <select\r\n                    name=\"osizeunit\"\r\n                    id=\"osizeunit\"\r\n                    class=\"input1\"\r\n                    style=\"text-align: left; \"\r\n                  >\r\n                    <option value=\"ml\" selected>ml<\/option>\r\n                    <option value=\"l\">lit<\/option>\r\n                  <\/select>\r\n                <\/td> -->\r\n                <td >\r\n                  <input\r\n                    type=\"number\"\r\n                    name=\"oabv\"\r\n                    id=\"oabv\"\r\n                    value=\"\"\r\n                    class=\"innormal inpct\"\r\n\t\t\t\t\t\tmin='0'\r\n\t\t\t\t\t\toninput='if(this.value<0){this.value= this.value * -1}'\r\n                  \/>\r\n                  <span style=\"margin-top: 10px; margin-left: -40px;\">%<\/span>\r\n                <\/td>\r\n              <\/tr>\r\n        <\/table>\r\n\r\n        <div class=\"inline-group\" style=\"justify-content: center; display: flex; margin-botton: 0 !important\">\r\n            \u00a0\r\n            <button type=\"button\" class=\"custom-button\" onclick=\"tinhtoan()\">T\u00ednh to\u00e1n<\/button>\r\n            \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\r\n            <button type=\"button\" class=\"custom-button\" style=\"background-color: #888;\" onclick=\"clearForm();\">X\u00f3a<\/button>\r\n            \u00a0\r\n        <\/div>\r\n\r\n      <\/div>\r\n\r\n<!--       <div class=\"grid-item\" style=\"margin-bottom: 30px;\">\r\n        <p id = \"result\" class=\"result\"><\/p>\r\n      <\/div> -->\r\n    <\/div>\r\n  <\/div>\r\n<\/section>\r\n  <\/body>\r\n\r\n    <script>\r\n\t\t\tdocument.querySelector(\"*\").addEventListener(\"keypress\", function (evt) {\r\n\t\tif (evt.which != 48 && evt.which != 49 && evt.which != 50 && evt.which != 51 && evt.which != 52 && evt.which != 53 && evt.which != 54 && evt.which != 55 && evt.which != 56 && evt.which != 57 && evt.which != 44 && evt.which!= 46)\r\n    {\r\n        evt.preventDefault();\r\n    }\r\n});\r\n\t\t\t\r\n    function tinhtoan() {\r\n        var readWeight = parseFloat(document.getElementById(\"readWeight\").value.replace(\",\", \".\")) || 0;\r\n\/\/         var unitWeight = document.getElementById(\"unitWeight\").value;\r\n        var unitWeight = 1;\r\n\r\n        var volBeer = parseFloat(document.getElementById(\"volBeer\").value.replace(\",\", \".\")) || 0;\r\n\/\/         var bsize = parseFloat(document.getElementById(\"bsize\").value.replace(\",\", \".\")) || 0;\r\n        var bsize = 330\r\n        var babv = parseFloat(document.getElementById(\"babv\").value.replace(\",\", \".\")) || 0;\r\n\r\n        var volWine = parseFloat(document.getElementById(\"volWine\").value.replace(\",\", \".\")) || 0;\r\n\/\/         var wsize = parseFloat(document.getElementById(\"wsize\").value.replace(\",\", \".\")) || 0;\r\n\t      var wsize = 750;\r\n        var wabv = parseFloat(document.getElementById(\"wabv\").value.replace(\",\", \".\")) || 0;\r\n\r\n        var volLiquor = parseFloat(document.getElementById(\"volLiqour\").value.replace(\",\", \".\")) || 0;\r\n\/\/         var lsize = parseFloat(document.getElementById(\"lsize\").value.replace(\",\", \".\")) || 0;\r\n\t\t\t\tvar lsize = 500;\r\n        var labv = parseFloat(document.getElementById(\"labv\").value.replace(\",\", \".\")) || 0;\r\n\r\n        var volOther = parseFloat(document.getElementById(\"volOther\").value.replace(\",\", \".\")) || 0;\r\n\/\/         var osizeunit = parseFloat(document.getElementById(\"osizeunit\").value.replace(\",\", \".\")) || 0;\r\n\t\t\t\tvar osizeunit = 0;\r\n        var oabv = parseFloat(document.getElementById(\"oabv\").value.replace(\",\", \".\")) || 0;\r\n\r\n        var decimalPattern = \/^-?\\d+(\\.\\d+)?$\/;\r\n        var gender = getSelectedGender();\r\n\r\n        if (readWeight == 0) {\r\n            alert(\"C\u1ea7n nh\u1eadp c\u00e2n n\u1eb7ng \u0111\u1ec3 t\u00ednh to\u00e1n\");\r\n        } else if (!decimalPattern.test(readWeight) || !decimalPattern.test(volBeer) || !decimalPattern.test(bsize) || !decimalPattern.test(babv) || !decimalPattern.test(volWine) || !decimalPattern.test(wsize) || !decimalPattern.test(wabv) || !decimalPattern.test(volLiquor) || !decimalPattern.test(lsize) || !decimalPattern.test(labv) || !decimalPattern.test(volOther) || !decimalPattern.test(osizeunit) || !decimalPattern.test(oabv)) {\r\n            alert(\"Vui l\u00f2ng nh\u1eadp s\u1ed1 th\u1eadp ph\u00e2n \u0111\u00fang m\u1eabu (VD: 28.8)\");\r\n        } else {\r\n\t\t\t\t\t\tvar volAll =((volBeer * bsize * babv*0.79\/100)\/10) + ((volWine * wsize * wabv*0.79\/100)\/10) + ((volLiquor * lsize * labv*0.79\/100)\/10) + ((volOther * osizeunit * oabv*0.79\/100)\/10);\r\n\/\/             var BAC = 1056 * ((volAll \/ 100 * 0.79) \/ 10) \/ (readWeight * unitWeight * gender);\r\n\t\t\t\t\t\tvar BAC = (1056 * volAll \/(readWeight * gender));\r\n            var BrAC = BAC \/ 210;\r\n\r\n            var tmin = BAC \/ 15;\r\n            var tmax = BAC \/ 10;\r\n\r\n            var tmin_final = (tmin < 0) ? 0 : tmin;\r\n            var tmax_final = (tmax < 0) ? 0 : tmax;\r\n\r\n            var BrACFormatted = BrAC.toLocaleString('en-US', { minimumFractionDigits: 2, maximumFractionDigits: 2 });\r\n\r\n        var tmin_final = (tmin < 0) ? 0 : tmin;\r\n        var tmax_final = (tmax < 0) ? 0 : tmax;\r\n\r\n        \/\/ Chuy\u1ec3n \u0111\u1ed5i d\u1ea5u ch\u1ea5m th\u00e0nh d\u1ea5u ph\u1ea9y trong k\u1ebft qu\u1ea3 BAC\r\n        var BACFormatted = BrAC.toFixed(2).replace('.', ',');\r\n\r\n        \/\/ Chuy\u1ec3n \u0111\u1ed5i d\u1ea5u ch\u1ea5m th\u00e0nh d\u1ea5u ph\u1ea9y trong bi\u1ebfn timeRangeFormatted\r\n        var timeRangeFormatted = tmin_final.toFixed(1).replace('.', ',') + \"-\" + tmax_final.toFixed(1).replace('.', ',');\r\n\r\n        document.getElementById('result').innerHTML =\r\n            \"N\u1ed3ng \u0111\u1ed9 c\u1ed3n trong kh\u00ed th\u1edf sau u\u1ed1ng kho\u1ea3ng: \" + BACFormatted + \" (mg\/l\u00edt kh\u00ed th\u1edf)\" +\r\n            \"<br>Th\u1eddi gian \u0111\u00e0o th\u1ea3i h\u1ebft c\u1ed3n kho\u1ea3ng: \" + timeRangeFormatted + \" gi\u1edd.\";\r\n        showPopup();\r\n        }\r\n    }\r\n\r\n    function getSelectedGender() {\r\n        var selectedGender = document.querySelector('input[name=\"gender\"]:checked');\r\n\r\n        if (selectedGender) {\r\n            \/\/ Retrieve the value of the selected gender\r\n            var genderValue = selectedGender.value;\r\n            return genderValue;\r\n        } else {\r\n            return 0;\r\n        }\r\n    }\r\n\t\t\t\r\n\t\tfunction clearForm() {\r\n\t\t\tdocument.getElementById('readWeight').value  = \"\";\r\n\t\t\tdocument.getElementById('volBeer').value  = \"\";\r\n\t\t\tdocument.getElementById('babv').value  = \"4.5\";\r\n\t\t\tdocument.getElementById('volWine').value  = \"\";\r\n\t\t\tdocument.getElementById('wabv').value  = \"14\";\r\n\t\t\tdocument.getElementById('volLiqour').value  = \"\";\r\n\t\t\tdocument.getElementById('labv').value  = \"25\";\r\n\t\t\tdocument.getElementById('volOther').value  = \"\";\r\n\t\t\tdocument.getElementById('oabv').value  = \"\";\r\n\t\t}\r\n\r\n    document.addEventListener(\"DOMContentLoaded\", function () {\r\n        const inputElements = document.querySelectorAll(\"input\");\r\n        for (let i = 0; i < inputElements.length; i++) {\r\n            inputElements[i].addEventListener(\"keyup\", function (event) {\r\n                \/\/ Ki\u1ec3m tra n\u1ebfu ph\u00edm Enter \u0111\u01b0\u1ee3c nh\u1ea5n\r\n                if (event.key === \"Enter\") {\r\n                    \/\/ Chuy\u1ec3n ti\u00eau \u0111i\u1ec3m \u0111\u1ebfn \u00f4 input ti\u1ebfp theo (n\u1ebfu t\u1ed3n t\u1ea1i)\r\n                    const nextInput = inputElements[i + 1];\r\n                    if (nextInput) {\r\n                        nextInput.focus();\r\n                    } else {\r\n                        \/\/ N\u1ebfu kh\u00f4ng c\u00f2n \u00f4 input, th\u1ef1c hi\u1ec7n t\u00ednh to\u00e1n\r\n                        tinhtoan();\r\n                    }\r\n                }\r\n            });\r\n        }\r\n    });\r\n\r\n    function showPopup() {\r\n        var popup = document.getElementById('resultPopup');\r\n        popup.style.display = 'block';\r\n    }\r\n\r\n    function closePopup() {\r\n        var popup = document.getElementById('resultPopup');\r\n        popup.style.display = 'none';\r\n    }\r\n<\/script>\r\n\r\n<\/html>\r\n\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\n<\/div>\n\t\t<\/div>\n\n\t\t\n<style>\n#section_1744644830 {\n  padding-top: 8px;\n  padding-bottom: 8px;\n}\n#section_1744644830 .ux-shape-divider--top svg {\n  height: 150px;\n  --divider-top-width: 100%;\n}\n#section_1744644830 .ux-shape-divider--bottom svg {\n  height: 150px;\n  --divider-width: 100%;\n}\n<\/style>\n\t<\/section>\n\t\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-blank.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-2541","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>T\u00ednh n\u1ed3ng \u0111\u1ed9 c\u1ed3n - R\u01af\u1ee2U VI\u1ec6T<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ruouviet.com.vn\/e_n\/tinh-nong-do-con\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"T\u00ednh n\u1ed3ng \u0111\u1ed9 c\u1ed3n - R\u01af\u1ee2U VI\u1ec6T\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ruouviet.com.vn\/e_n\/tinh-nong-do-con\/\" \/>\n<meta property=\"og:site_name\" content=\"R\u01af\u1ee2U VI\u1ec6T\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ruouviet.com.vn\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-28T06:10:52+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ruouviet.com.vn\\\/tinh-nong-do-con\\\/\",\"url\":\"https:\\\/\\\/ruouviet.com.vn\\\/tinh-nong-do-con\\\/\",\"name\":\"T\u00ednh n\u1ed3ng \u0111\u1ed9 c\u1ed3n - R\u01af\u1ee2U VI\u1ec6T\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ruouviet.com.vn\\\/#website\"},\"datePublished\":\"2023-09-10T16:37:16+00:00\",\"dateModified\":\"2023-12-28T06:10:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ruouviet.com.vn\\\/tinh-nong-do-con\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ruouviet.com.vn\\\/tinh-nong-do-con\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ruouviet.com.vn\\\/tinh-nong-do-con\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trang ch\u1ee7\",\"item\":\"https:\\\/\\\/ruouviet.com.vn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"T\u00ednh n\u1ed3ng \u0111\u1ed9 c\u1ed3n\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ruouviet.com.vn\\\/#website\",\"url\":\"https:\\\/\\\/ruouviet.com.vn\\\/\",\"name\":\"R\u01af\u1ee2U VI\u1ec6T\",\"description\":\"Top 3 Th\u1ecb ph\u1ea7n r\u01b0\u1ee3u truy\u1ec1n th\u1ed1ng\",\"publisher\":{\"@id\":\"https:\\\/\\\/ruouviet.com.vn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ruouviet.com.vn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ruouviet.com.vn\\\/#organization\",\"name\":\"R\u01af\u1ee2U VI\u1ec6T\",\"url\":\"https:\\\/\\\/ruouviet.com.vn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/ruouviet.com.vn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/ruouviet.com.vn\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/rv-logo.png\",\"contentUrl\":\"https:\\\/\\\/ruouviet.com.vn\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/rv-logo.png\",\"width\":801,\"height\":401,\"caption\":\"R\u01af\u1ee2U VI\u1ec6T\"},\"image\":{\"@id\":\"https:\\\/\\\/ruouviet.com.vn\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/ruouviet.com.vn\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"T\u00ednh n\u1ed3ng \u0111\u1ed9 c\u1ed3n - R\u01af\u1ee2U VI\u1ec6T","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ruouviet.com.vn\/e_n\/tinh-nong-do-con\/","og_locale":"en_GB","og_type":"article","og_title":"T\u00ednh n\u1ed3ng \u0111\u1ed9 c\u1ed3n - R\u01af\u1ee2U VI\u1ec6T","og_url":"https:\/\/ruouviet.com.vn\/e_n\/tinh-nong-do-con\/","og_site_name":"R\u01af\u1ee2U VI\u1ec6T","article_publisher":"https:\/\/www.facebook.com\/ruouviet.com.vn\/","article_modified_time":"2023-12-28T06:10:52+00:00","twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ruouviet.com.vn\/tinh-nong-do-con\/","url":"https:\/\/ruouviet.com.vn\/tinh-nong-do-con\/","name":"T\u00ednh n\u1ed3ng \u0111\u1ed9 c\u1ed3n - R\u01af\u1ee2U VI\u1ec6T","isPartOf":{"@id":"https:\/\/ruouviet.com.vn\/#website"},"datePublished":"2023-09-10T16:37:16+00:00","dateModified":"2023-12-28T06:10:52+00:00","breadcrumb":{"@id":"https:\/\/ruouviet.com.vn\/tinh-nong-do-con\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ruouviet.com.vn\/tinh-nong-do-con\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ruouviet.com.vn\/tinh-nong-do-con\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Trang ch\u1ee7","item":"https:\/\/ruouviet.com.vn\/"},{"@type":"ListItem","position":2,"name":"T\u00ednh n\u1ed3ng \u0111\u1ed9 c\u1ed3n"}]},{"@type":"WebSite","@id":"https:\/\/ruouviet.com.vn\/#website","url":"https:\/\/ruouviet.com.vn\/","name":"VIETNAMESE WINE","description":"Top 3 Th\u1ecb ph\u1ea7n r\u01b0\u1ee3u truy\u1ec1n th\u1ed1ng","publisher":{"@id":"https:\/\/ruouviet.com.vn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ruouviet.com.vn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/ruouviet.com.vn\/#organization","name":"VIETNAMESE WINE","url":"https:\/\/ruouviet.com.vn\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/ruouviet.com.vn\/#\/schema\/logo\/image\/","url":"https:\/\/ruouviet.com.vn\/wp-content\/uploads\/2022\/03\/rv-logo.png","contentUrl":"https:\/\/ruouviet.com.vn\/wp-content\/uploads\/2022\/03\/rv-logo.png","width":801,"height":401,"caption":"R\u01af\u1ee2U VI\u1ec6T"},"image":{"@id":"https:\/\/ruouviet.com.vn\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ruouviet.com.vn\/"]}]}},"_links":{"self":[{"href":"https:\/\/ruouviet.com.vn\/e_n\/wp-json\/wp\/v2\/pages\/2541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ruouviet.com.vn\/e_n\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ruouviet.com.vn\/e_n\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ruouviet.com.vn\/e_n\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ruouviet.com.vn\/e_n\/wp-json\/wp\/v2\/comments?post=2541"}],"version-history":[{"count":0,"href":"https:\/\/ruouviet.com.vn\/e_n\/wp-json\/wp\/v2\/pages\/2541\/revisions"}],"wp:attachment":[{"href":"https:\/\/ruouviet.com.vn\/e_n\/wp-json\/wp\/v2\/media?parent=2541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}