@import url(https://fonts.googleapis.com/earlyaccess/cwtexyen.css);

/* RESET START */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* RESET END */



html, body {
	font-family: 'cwTeXYen', sans-serif;
	font-weight: 600;
	font-size: 24px;
}
html, body {
    width: 100%;
    height: 100%;
    background-color: #000;
}
.hidden {
    display: none;
}
.show {
    display: block;
}
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
 }
.img-center {
    margin: 0 auto;
    float: none;
}
.pd10 {
    padding: 10px;
}

.pd20 {
    padding: 20px;
}
.nopadding {
    padding: 0;
}

.nomargin {
    margin: 0;
}

.m_0 {
    margin: 0 !important;
}

.mt_0 {
    margin-top: 0;
}

.mt_10 {
    margin-top: 10px;
}

.mt_20 {
    margin-top: 20px;
}
.KingNetLogo{	
  background: url(/assets/common/img/KN-LOGO.png);    
  position: absolute;
  top: 20px;
  right: 6%;  
  width: 279px;
  height:98px;
  cursor: pointer;
}

/* Progress bar animation START */
#loading {
    z-index: 9999;
    background: url(/assets/common/img/diet/plan/img/loading.gif);
    background-repeat: no-repeat;
    background-size: cover;
    left: calc(50% - 125px);
    top: calc(50% - 100px);
    position: fixed;
    width: 248px;
    height: 210px;
}
.progress {
  background: rgba(255,255,255,0.1);
  justify-content: flex-start;
  border-radius: 100px;
  align-items: center;
  position: relative;
  padding: 0 5px;
  display: flex;
  height: 40px;
  width: 500px;
}

.progress-value {
  animation: load 3s normal forwards;
  box-shadow: 0 10px 40px -10px #fff;
  border-radius: 100px;
  background: #fff;
  height: 30px;
  width: 0;
}

@keyframes load {
  0% { width: 0; }
  100% { width: 68%; }
}
/* Progress bar animation End */

.start-btn {
    background: url(/assets/common/img/diet/plan/icon/START.gif);
    background-repeat : no-repeat;
    background-size: cover;
    width: 180px;
    min-height: 70px;
    animation: scale .7s alternate infinite ease-in;
}
.start-btn:hover,.start-btn:focus {
    background: url(/assets/common/img/diet/plan/icon/START02.png);
    background-repeat : no-repeat;
    background-size: cover;
    width: 180px;
    height: 70px;
    animation: paused;
}
.metabolism_bottom_btn {
    background: url(/assets/common/img/diet/plan/img/metabolism_bottom_btn.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 180px;
    min-height: 45px;
    animation: scale .7s alternate infinite ease-in;
    /*position: absolute;
    top: 38%;
    left: calc(50% - 90px);*/
    z-index: 9999;
}
.metabolism_bottom_btn:hover,.metabolism_bottom_btn:focus {
    background: url(/assets/common/img/diet/plan/img/metabolism_bottom_btn.png);
    background-repeat : no-repeat;
    background-size: cover;
    animation: paused;
}
.switch_chart_btn {
    background: url(/assets/common/img/diet/plan/img/switch_chart_btn.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 180px;
    min-height: 45px;
    animation: scale .7s alternate infinite ease-in;
    /*position: absolute;
    top: 38%;
    left: calc(50% - 90px);*/
    z-index: 9999;
}
.switch_chart_btn:hover,.switch_chart_btn:focus {
    background: url(/assets/common/img/diet/plan/img/switch_chart_btn.png);
    background-repeat : no-repeat;
    background-size: cover;
    animation: paused;
}
.toggle_btn {
    background: url(/assets/common/img/diet/plan/img/table_btn.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 180px;
    min-height: 45px;
    animation: scale .7s alternate infinite ease-in;
    /*position: absolute;
    top: 38%;
    left: calc(50% - 90px);*/
    z-index: 9999;
}
#popup_dr_say_12e{
    top: 15%;
    left: calc(50% - 100px);
}
#popup_dr_say_12f{
    top: 25%;
    left: calc(50% - 100px);
}
.popup_dr_say span{
    font-size: 0.9em;
    line-height: 0.9em;
}
.toggle_btn:hover,.toggle_btn:focus {
    background: url(/assets/common/img/diet/plan/img/table_btn.png);
    background-repeat : no-repeat;
    background-size: cover;
    animation: paused;
}
.back_btn {
    background: url(/assets/common/img/diet/plan/img/back_btn.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 180px;
    min-height: 45px;
    animation: scale .7s alternate infinite ease-in;
    /*position: absolute;
    top: 38%;
    left: calc(50% - 90px);*/
    z-index: 9999;
}
.back_btn:hover,.back_btn:focus {
    background: url(/assets/common/img/diet/plan/img/back_btn.png);
    background-repeat : no-repeat;
    background-size: cover;
    animation: paused;
}
.metabolism_top_btn {
    background: url(/assets/common/img/diet/plan/img/metabolism_top_btn.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 180px;
    min-height: 45px;
    animation: scale .7s alternate infinite ease-in;
    /*position: absolute;
    top: 38%;
    left: calc(50% - 90px);*/
    z-index: 9999;
}
.metabolism_top_btn:hover,.metabolism_top_btn:focus {
    background: url(/assets/common/img/diet/plan/img/metabolism_top_btn.png);
    background-repeat : no-repeat;
    background-size: cover;
    animation: paused;
}
.go-btn {
    background: url(/assets/common/img/diet/plan/icon/GO.gif);
    background-repeat: no-repeat;
    background-size: cover;
    width: 180px;
    min-height: 95px;
    animation: scale .7s alternate infinite ease-in;
    position: absolute;
    top: 38%;
    left: calc(50% - 90px);
    z-index: 9999;
}
.go-btn:hover,.go-btn:focus {
    background: url(/assets/common/img/diet/plan/icon/GO.png);
    background-repeat : no-repeat;
    background-size: cover;
    animation: paused;
}
.next-btn {
    background: url(/assets/common/img/diet/plan/icon/GO.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 180px;
    min-height: 95px;
    
    margin-top: -2.5%;
    /*display: none;*/
}
.next-btn:hover,.next-btn:focus {
    background: url(/assets/common/img/diet/plan/icon/GO.gif);
    background-repeat : no-repeat;
    background-size: cover;
    /*animation: paused;*/
    animation: scale .7s alternate infinite ease-in;
}
#unit_list {
    width: 880px;
    position: absolute;
    top: 45%;
    left: calc(50% - 440px);
}
#bmi_unit_list,#hips_unit_list {
    width: 1200px;
    position: absolute;
    top: 50%;
    left: calc(50% - 260px);
}
/*#hips_unit_list {
    width: auto;
    position: absolute;
    top: 40%;
    left: calc(50% + 100px);
}*/
#hips_unit_list img {
    margin: auto;
    display: block;
    width: 33%;
    height: auto;
}
.unit_list_dr {
    float: left;
    width: 220px;
    margin-top: 50px;   
}
.unit_list_title {
    /*display: none;*/
    position: absolute;
    right: 32%;
    top: 15%;
    width: 35%;
    height: auto;
}
#dr_show_top,#hips_result {
    top:45px; 
}
#metabolism_step_01,#metabolism_step_02,#metabolism_step_03,#metabolism_step_04,#metabolism_step_05,#metabolism_step_06{
    top:100px;
}
.bmi_licensing-btn {
    background: url(/assets/common/img/diet/plan/img/Licensing.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 170px;
    min-height: 200px;
    color: #411B0A;
    text-align: center;
    padding-top: 28px;
    text-decoration: none;
    font-weight: bolder;
    font-size: 1em;
}
.bmi_licensing-btn:hover,.bmi_licensing-btn:focus {
    color: #AA0001;
    text-decoration: none;
    animation: scale .7s alternate infinite ease-in;
}
.licensing-btn {
    background: url(/assets/common/img/diet/plan/img/Licensing.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 170px;
    min-height: 200px;
    color: #411B0A;
    text-align: center;
    padding-top: 28px;
    text-decoration: none;
    font-weight: bolder;
    font-size: 1em;
}
.icensing-img{
    margin:auto;
    display: block;
    max-width: 100%;
    height: auto;
}
.licensing-btn:hover {
    color: #AA0001;
    text-decoration: none;
    animation: scale .7s alternate infinite ease-in;
}
#unit_list ul li{
    position: relative;
}
#unit_list ul li .red_arrow{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 22px 0 22px;
    border-color: #ff0000 transparent transparent transparent;
    position: absolute;
    left: calc(50% - 22px);
    animation: myMove 1s infinite;
    -webkit-animation: myMove 1s infinite;
}
@keyframes myMove {
        0% {
            top: -60px;
        }

        50% {
            top: -40px;
        }

        100% {
            top: -60px;
        }
    }

    @-webkit-keyframes myMove {
        0% {
            top: -60px;
        }

        50% {
            top: -40px;
        }

        100% {
            top: -60px;
        }
    }

.calories-btn {
    background: url(/assets/common/img/diet/plan/img/calories-btn.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 480px;
    min-height: 250px;
    color: #411B0A;
    text-align: center;
    padding-top: 95px;
    text-decoration: none;
    font-weight: bolder;
    font-size: 1em;
}
#daily_calories_list_01,#daily_moisture_list_01{
    width: 930px;
    height: auto;
    margin: 10% auto;
}
.calories-btn:hover {
    color: #AA0001;
    text-decoration: none;
    animation: scale .7s alternate infinite ease-in;
}
.calories-bg {
    /*background: url(/assets/common/img/diet/plan/img/calories-bg.png);
    width: 270px;
    min-height: 220px;
    margin-top: -10%;
    padding-top: 110px;*/
    background: url(/assets/common/img/diet/plan/img/calories-bg-w.png);
    width: 384px;
    min-height: 143px;
    margin-top: -25px;  
    padding-top: 78px;
    background-repeat: no-repeat;
    background-size: cover;
    color: #411B0A;
    text-align: center;
    text-decoration: none;
    font-weight: bolder;
}
.end_center{
    /*width: 270px;
    height: auto;
    */
    width: 410px;    
    margin:auto; }
.calories_dr_center {
    display:block;
    width: 550px;
    height: auto;
    margin: auto;
    position: relative;
}
#calories_dr_center {
    position: absolute;
    top: 70%;
    left: 20%;
}
.calories_dr_center img {
    width: 40%;
    height: auto;
    /*margin: 95px auto;*/
    margin: 35px auto;
    padding-left: 40px;
}
.calories_end_btn{
    position: absolute;
    right: 0;
    top: 45%;
    background: url(/assets/common/img/diet/plan/img/Licensing.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 170px;
    min-height: 200px;
    color: #411B0A;
    text-align: center;
    padding-top: 55px !important;
    text-decoration: none;
    font-weight: bolder;
    font-size: 1em;
}
.calories_end_btn:hover {
    color: #AA0001;
    text-decoration: none;
    animation: scale .7s alternate infinite ease-in;
}
.licensing_nav {
    /*width: 70%;*/
    float: left;
    margin-top: 214px;
}
.licensing_nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.licensing_nav ul li{
    float: left;
}
.music-btn {
    background: url(/assets/common/img/diet/plan/icon/MUSIC01.png);
    background-repeat : no-repeat;
    background-size: cover;
    width: 120px;
    height: 45px;
    margin-top: 10px;
}
.music-btn:hover,.music-btn:focus,.music-btn:checked {
    background: url(/assets/common/img/diet/plan/icon/MUSIC02.png);
    background-repeat : no-repeat;
    background-size: cover;
    width: 120px;
    height: 45px;
    margin-top: 10px;
}
.points-edition {
    /*background: url(/assets/common/img/diet/plan/img/Points_Edition.png);
    background-repeat : no-repeat;
    background-size: cover;
    width: 100%;
    height: 300px;*/  
    position: absolute;
    right: 5%;
    top: 5%;
    width: 25%;
}
.points-edition img{
  float: right;
}
.protagonist {
    position: absolute;
    left: 25%;
    top: 55%;
    /*bottom: 5%;*/
}
.protagonist_index {
    position: absolute;
    left: 25%;
    /*top: 55%;*/
    bottom: 5%;
}

.illuBlock {
    position: absolute;
    right: 5%;
    top: 150px;
    padding: 10px; 
}
.illuBlock .row{
    background-color: white;
}
.bodyweight_title {
    position: absolute;
    left: 5.5%;
    top: 2%;
}
#third-page{display: none;}
#dr_show,#waistline_result,#daily_moisture_end {
    top: 100px;
    display: none;
}
.dr_say,.dr_say_01,.dr_say_02 {
    width: 350px;
    /* display: flex; */
    height: 200px;
    margin: 75px auto;
    /* align-items: center; */
    position: absolute;
    top: 15%;
    left: calc(50% - 175px);
    line-height: 1rem;
    color: #666;
    text-align: center;
    font-size: 0.9em;
}
.indexboard {
    width: 400px;
    /* display: flex; */
    height: 200px;
    margin: 30px auto;
    /* align-items: center; */
    position: absolute;
    top: 10px;
    left: calc(50% - 195px);
    line-height: 1.3rem;
    color: #FFFFFF;
    font-size: 0.9em;
}
.waistline_dr_say {
    width: 400px;
    height: auto;
    margin: auto;
    position: absolute;
    top: 16%;
    left: calc(50% - 200px);
    line-height: 0.95rem;
    color: #666;
    text-align: left;
    font-size: 0.85em;
}
.waistline_dr_say_center {
    width: 400px;
    height: auto;
    margin: auto;
    position: absolute;
    top: 30%;
    left: calc(50% - 200px);
    line-height: 0.95rem;
    color: #666;
    text-align: left;
    font-size: 0.85em;
}
#waistline_dr_say{
    top:30%;
}
#waistline_dr_01,#waistline_dr_02,#waistline_dr_03,#waistline_dr_04,#waistline_dr_05,#waistline_dr_06,#waistline_dr_07 {
    display: none;
}
#waistline_dr_pic_01,#waistline_dr_pic_02,#waistline_dr_pic_03,#waistline_dr_pic_04 {
    display: none;
    position: absolute;
}
.waistline_pic_list{
    position: absolute;left: calc(50% - 200px);top:55%;width: 375px; height: auto;
}
.protagonist h3{
    font-size: 1.3rem;
    color: #0180C5;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    margin: auto;
    line-height: 1.8rem;
    text-align: center;
}
.protagonist .big_font{
    font-size: 1.8rem;
    color: #0180C5;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    margin: auto;
    line-height: 2rem;
    text-align: center;
}
.protagonist p{
    width: 100%;
    margin: auto;
    text-align: center;
}
#waistline-go-btn{
    margin-top: 20px
}
#waistline_say_step{
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translate(13%, -50%);
    width: 60%;
    text-align: justify;
}
#waistline_say_step_100{
    position: absolute;
    top: 100%;
    right: 0%;
    transform: translate(0%, 4%);
    width: 100%;
    text-align: justify;
}
#waistline_say_step_end {
    position: absolute;
    top: 35%;
    right: 10%;
    transform: translate(13%, -50%);
    width: 60%;
    text-align: justify;
}
#metabolism_say_step_end {
    position: absolute;
    top: 45%;
    right: 10%;
    transform: translate(13%, -50%);
    width: 60%;
    text-align: justify;
}
#say_04,#say_05,#say_06,#say_07,#say_08,#say_09,#say_10 {display: block;}
.dr_say span {
    display: inline-block;
    line-height: 1.25rem;
    vertical-align: middle;
    /*text-align: justify;*/
    text-align: center;
    font-weight: 600;
}
/*.dr_say:before {
  content: "";
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}*/
span b{
  color: #CA4332;
  font-weight: bold;
}
@keyframes scale {
  0%   {transform: scale(.97);}
  100% {transform: scale(1.02);}
}

/* TABLE */
#rank_title {
    width: 79%;
    position: absolute;
    top: 21%;
    left: 8.5%;
}
#rank_title .table {
    color: #FFF34E;  
}
#rank_title .table > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255,255,255,.0);
}
.rank_nav {
    width: 82%;
    position: absolute;
    top: 31%;
    left: 8%;
    overflow-y: scroll;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    color: #FFF;
    font-size: 0.9em;
    text-align: center;
}
.clearfix {
    clear: both;
}
tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255,255,255,.15);
}
.table > thead > tr > th, .table > thead > tr > td, .table > tbody > tr > th, .table > tbody > tr > td, .table > tfoot > tr > th, .table > tfoot > tr > td {
    border-top: 0px solid #ddd !important;
    line-height: 1.25 !important;
}

/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/
.custom-scrollbar-js,
.custom-scrollbar-css {
  height: 55%;padding: 0 5px;
}


/* Custom Scrollbar using CSS */
.custom-scrollbar-css {
  overflow-y: scroll;
}

/* scrollbar width */
.custom-scrollbar-css::-webkit-scrollbar {
  width: 10px;
}

/* scrollbar track */
.custom-scrollbar-css::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 1rem;

}

/* scrollbar handle */
.custom-scrollbar-css::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background-color: #898625;
  /*background-image: linear-gradient(to top, #00d2ff 0%, #3a7bd5 100%);*/
}

/* BMI CSS*/
.bmi_gender_content {
    width: 100%;
    height: auto;
    margin: auto;
    /* text-align: center; */
}
.bmi_gender_title {
    /*width: 100%;
    height: auto;*/
    clear: both;
    margin: auto;
    margin-top: 185px;
    margin-bottom: 50px;
}
.bmi_gender_title img{
    width: 35%;
    height: auto;
    margin: auto;
}
.bmi_gender_character {
    position: relative;
    width: 55%;
    height: auto;
    /* clear: both; */
    margin: auto;
    /* margin: 100px 30px auto; */
}
.fire_pic {
    position: absolute;
    top: 70%;
    left: calc(50% - 70px);
}
#max{width:100%;height:auto;}
#min{width:100px;height:auto;}
.hover{animation: crescendo .7s alternate infinite ease-in;}
/* BMI CSS END*/

/* BMI TEST CSS*/
#bmi_test_title{margin-top: 25px;width: 65%;}
#bmi_test_content{z-index: 999;top: -50px;width: 65%;position: relative;}
#bmi_test_btn{top: -65px;}
#bmi_test_say,#test_say{
    top: 35%;
    right: 2%;
    width: 63%;
}
.bmi_test_data{
    width: 90%;
    height: auto;
    margin: 5% auto;
    position: absolute; 
    top: 25%;
}
.bmi_test_data h3{
    text-align: center;
    font-size: 1.8rem;
    font-weight: bolder;
    line-height: 2rem;
    font-family: '微軟正黑體';
}
.bmi_test_data h3 span{
    font-size: 2.2rem;
    color: #0180C5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: auto;
    max-width: 200px;
    margin: 0 10px;
    display: inline-block;
}
.bmi_test_data p{
    text-align: center;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 2.2rem;
}
.bmi_test_data input, select, textarea{
  width: 120px;
  margin: 10px;
  caret-color: #FF1744;
  outline: none;
  border: none;
  border-bottom: 1px solid #000;
  background: rgba(255,255,255,.0);
  text-align: center;
  font-weight: bolder;
  font-size: 1.6rem;
  color: #CA4332;
}
.bmi_test_data textarea{
  height:100px;
  resize: none;
}
#bmi_result{
    width: 100%;
    margin-top:28%; 
}
#bmi_result_data,#result_data{
    width: 100%;
    top:5%;
}
#bmi_data_top{
    margin-top:6%;
}
#bmi_result_data h3,#result_data h3{
    font-size: 1.8rem;
    line-height: 2.6rem;
}
#bmi_result_data h3 span,#result_data h3 span{
    font-size: 2.4rem;
    line-height: 2rem;
}
.bmi_result_link{
    position: relative;
    margin: -25% 0 0 35%;
    width: 55%;
}
.bmi_result_btn{
    background: url(/assets/common/img/diet/plan/img/Licensing_mb.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 260px;
    min-height: 65px;
    color: #411B0A;
    text-align: center;
    padding-top: 22px;
    text-decoration: none;
    font-weight: bolder;
    font-size: 1em;
    margin: 5px auto;
}
.result-img {
    display: block;
    height: auto;
    float: left;
    margin: -15px -22px 0 20px;
    max-width: 22%;
}
.bmi_result_btn:hover{
    color: #AA0001;
    text-decoration: none;
    animation: scale .7s alternate infinite ease-in;
}
#top_pic,#bottom_pic{
    float: right;
}
#modal-content {
    width: 100%;
    height: auto;
    background: #FFFEF3;
    border: 8px solid #865B2D;
    border-radius: 20px;
    margin-top: 10%;
}
#close {
    float: right;
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
    color: #FFF;
    text-shadow: 0 1px 0 #fff;
    opacity: 1;
    filter: alpha(opacity=20);
    padding: 3px 11px 0px 11px;
    border-radius: 50%;
    background: #865B2D;
    z-index: 999;
    position: relative;
}
#say_01,#say_02,#say_03,#say_04,#say_05{display: none;} 
#metabolism-go-btn{margin-top: 60px}
#metabolism_say_step_end a{
    margin-top: 10px;
}
/* BMI TEST CSS END*/

/* BMI POPUP CSS */
.popup_title{z-index: 999}
.popup_dr_say{top:-50px;}
.small_font{font-size: 0.6em;margin-top:-10px; }
#popup_dr_say_01, #popup_dr_say_02, #popup_dr_say_03,#popup_dr_say_04, #popup_dr_say_05, #popup_dr_say_06,#popup_dr_say_07, #popup_dr_say_08, #popup_dr_say_09, #popup_dr_say_10, #popup_dr_say_11, #popup_dr_say_12, #popup_dr_say_12a, #popup_dr_say_12b, #popup_dr_say_12c, #popup_dr_say_12d{
    left: calc(50% - 18%);
    top: 20%;
}
#bmi_table{width: 100%;margin-top:-5%; } 
#o_bg{background: #F6A930;border: 2px solid #FFF;text-align: center;}
#y_bg{background: #F3F6D2;color: #231815;border: 2px solid #FFF;text-align: center;}
#b_bg{background: #ADDEF8;color: #231815;border: 2px solid #FFF;text-align: center;}
#r_bg{background: #FBE6EF;color: #231815;border: 2px solid #FFF;text-align: center;}
#w_bg{background: #F4F4F4;color: #4C4948;border: 2px solid #FFF;text-align: center;z-index: 999}
#say_04,#say_05,#say_06,#say_07,#say_08,#say_09,#say_10 {
    top:20%;
}
.btn_font{
    font-size: 0.8rem;
    line-height: 0.8rem;
    color: #604327;
    text-align: center;
    margin-bottom: -25px;
}
#waistline_say_step04_100 {
    position: absolute;
    top: 100%;
    right: 0%;
    transform: translate(0%, -60%);
    width: 100%;
    text-align: justify;
}
#metabolism_say_step04_end {
    position: absolute;
    top: 90%;
    /* right: 10%; */
    transform: translate(25%, 20%);
    width: 60%;
    text-align: justify;
} 
/* BMI POPUP CSS END*/

/* daily_calories CSS*/
#daily_calories_unit_list {
    width: 910px;
    margin: auto;
    position: absolute;
    top: 50%;
    left: calc(50% - 300PX);
}
#daily_calories_unit_list li {
    margin : 0 65px;
}
/* daily_calories CSS END*/

/*.hover_click{transform:scale(1.1,1.1);opacity: 1}*/
@keyframes crescendo {
  0%   {transform: scale(0.95);}
  100% {transform: scale(1.05);}
}
.man_btn{-webkit-transition: all .2s;
      -moz-transition: all .2s;
      -ms-transition: all .2s;
      transition: all .2s; }
.man_btn:hover{cursor: pointer;}
.time_out{
    /*width: 50px;
    height: auto;
    margin:auto;
    margin-top: 10px;*/
    width: 35px;
    height: auto;
    margin: auto;
    margin-top: 10px;
}

@media only screen and (min-width:551px) {
    #licensing_nav_top{
        margin-top:210px !important; 
    }
    .dwrap {
        width: 100%;
        height: 100%;
    }
    .bg {
        background: url(/assets/common/img/diet/plan/img/main_bg.jpg);
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        width: 100%; 
        height: 100%;
        overflow: hidden;
    }
}

@media only screen and (max-width:1675px) { 
.points-edition {
    /*background: url(/assets/common/img/diet/plan/img/Points_Edition.png);
    background-repeat : no-repeat;
    background-size: cover;
    width: 100%;
    height: 300px;*/  
    position: absolute;
    right: 5%;
    top: 5%;
    width: 30%;
}
}

@media only screen and (max-width:1450px) {  
.points-edition {
    right: 5%;
    top: 5%;
    width: auto;
}
.rank_nav {
    width: 80%;
    position: absolute;
    top: 30%;
    left: 8%;
    margin: auto;
}
#rank_title{
width: 63%;
    left: 27%;
    top: 20%;
}
}
@media only screen and (max-width:1200px) {
#unit_list ul li .red_arrow{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 22px 0 22px 30px;
    border-color: transparent transparent transparent #ff0000;
    position: absolute;
    left: 0;
    animation: myMove 1s infinite;
    -webkit-animation: myMove 1s infinite;
}
@keyframes myMove {
        0% {
            top: 5px;
            left: -50px;
        }

        50% {
            top: 5px;
            left: -25px;
        }

        100% {
            top: 5px;
            left: -50px;
        }
    }

    @-webkit-keyframes myMove {
        0% {
            top: 5px;
            left: -50px;
        }

        50% {
            top: 5px;
            left: -25px;
        }

        100% {
            top: 5px;
            left: -50px;
        }
    }    
#calories_dr_center {
    position: absolute;
    top: 70%;
    left: 0%;
}    
#daily_calories_unit_list {
    width: 100%;
    margin: auto;
    position: absolute;
    top: 60%;
    left: calc(50% - 250PX);
} 
/*#hips_unit_list {
    width: auto;
    position: absolute;
    top: 80%;
    left: calc(50% - 135px);
}*/
#hips_unit_list img {
    margin: auto;
    display: block;
    width: 23%;
    height: auto;
    float: left;
    /* top: -10px;*/ 
    margin-top: -16px;
    left: 14px;
    position: relative;
}      
#say_04,#say_05,#say_06,#say_07,#say_08,#say_09,#say_10 {
    width: 80%;
    top: 7.5%;
    left: 11%;
} 
#icensing-img {
    display: block;
    height: auto;
    float: none;
    margin: auto;
    max-width: 100%;
} 
#bmi_result {
    width: 100%;
    margin-top: 33%;
} 
.bmi_result_link {
    position: relative;
    margin: -25% 0 0 33%;
    width: 60%;
}
#bmi_test_say,#test_say {
    top: 20%;
    right: -2%;
    width: 60%;
}    
.bmi_gender_title {
    clear: both;
    margin: auto;
    margin-top: 144px;
    margin-bottom: 50px;
}
.bmi_gender_character {
    position: relative;
    width: 66%;
    height: auto;
    /* clear: both; */
    margin: auto;
    /* margin: 100px 30px auto; */
}
.fire_pic {
    position: absolute;
    top: 64%;
    left: calc(50% - 70px);
}
#licensing_nav {
    width: 100%;
}
#licensing-btn {
    width: 240px;
    min-height: 60px;
    padding-top: 20px;
}    
.licensing-btn {
    background: url(/assets/common/img/diet/plan/img/Licensing_mb.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 200px;
    min-height: 55px;
    color: #411B0A;
    text-align: center;
    padding-top: 18px; 
    text-decoration: none;
    font-weight: bolder;
    font-size: 1em;
}
.licensing-btn:hover {
    color: #AA0001;
    text-decoration: none;
    animation: scale .7s alternate infinite ease-in;
}
.licensing_nav {
    width: 40%;
    float: left;
    margin-top: 115px;
}
.licensing_nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.licensing_nav ul li{
    float: none;
}
#unit_list {
    width: 600px;
    position: absolute;
    top: 40%;
    left: calc(50% - 340px);
}
#bmi_unit_list {
    width: 600px;
    position: absolute;
    top: 14%;
    left: calc(50% - 300px);
}
#hips_unit_list {
    width: 600px;
    position: absolute;
    top: 52%;
    left: calc(50% - 80px);
}
.icensing-img{
    display: block;
    height: auto;
    float: left;
    margin: -13px -22px 0 20px;
    max-width: 22%;
}
#bmi_result_data,#result_data{
    width: 100%;
    top:5%;
}
#bmi_result_data h3,#result_data h3{
    font-size: 1.5rem;
    line-height: 2.6rem;
}
#bmi_result_data h3 span,#result_data h3 span{
    font-size: 2rem;
    line-height: 1.6rem;
}
}
@media only screen and (min-width: 991px) and (max-width:1450px) {
.points-edition img {
    width: 80%;
    height: auto;
    float: right;
}
.rank_nav {
    width: 66.54%;
    position: absolute;
    top: 31%;
    left: 26%;
    margin: auto;
}
#rank_title{
    width: 66.54%;
    left: 26%;
    top: 21%;
}
.unit_list_title {
    /*display: none;*/
    position: absolute;
    right: 25%;
    top: 5%;
    width: 50%;
    height: auto;
}
}
@media only screen and (max-width: 990px)  { 
#daily_calories_list_01,#daily_moisture_list_01 {
    width: 700px;
    height: auto;
    margin: 25% auto;
}
.calories-btn {
    background: url(/assets/common/img/diet/plan/img/calories-btn.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 335px;
    min-height: 187px;
    color: #411B0A;
    text-align: center;
    padding-top: 70px;
    text-decoration: none;
    font-weight: bolder;
    font-size: 1em;
}    
#daily_calories_unit_list {
    width: 100%;
    margin: auto;
    position: absolute;
    top: 60%;
    left: calc(50% - 240PX);
}
#popup_dr_say_01, #popup_dr_say_02, #popup_dr_say_03,#popup_dr_say_04, #popup_dr_say_05, #popup_dr_say_06,#popup_dr_say_07, #popup_dr_say_08, #popup_dr_say_09, #popup_dr_say_10, #popup_dr_say_11, #popup_dr_say_12, #popup_dr_say_12a, #popup_dr_say_12b, #popup_dr_say_12c, #popup_dr_say_12d{
    left: calc(50% - 10%);
    top: 27%;
}  
/* #popup_dr_say_12a, #popup_dr_say_12b, #popup_dr_say_12c, #popup_dr_say_12d{
    display: none;
 }  */
#bmi_unit_list{
    width: 600px;
    position: absolute;
    top: 14%;
    left: calc(50% - 300px);
}
#bmi_result {
    width: 100%;
    margin-top: 55%;
}
#bmi_result_data,#result_data {
    width: 100%;
    top: 2.5%;
}
#bmi_result_data h3,#result_data h3{
    font-size: 1.2rem;
    line-height: 2rem;
}
#bmi_result_data h3 span,#result_data h3 span{
    font-size: 1.7rem;
    line-height: 1.6rem;
}
.bmi_result_link {
    position: relative;
    margin: -25% 0 0 33%;
    width: 63%;
} 
.bmi_result_btn {
    background: url(/assets/common/img/diet/plan/img/Licensing_mb.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 250px;
    min-height: 50px;
    color: #411B0A;
    text-align: center;
    padding-top: 14px;
    text-decoration: none;
    font-weight: bolder;
    font-size: 0.8em;
    margin: 5px auto;
}   
.result-img {
    display: block;
    height: auto;
    float: left;
    margin: -9px -9px 0 9px;
    max-width: 22%;
}
#bmi_test_title {
    margin-top: 25px;
    width: 100%;
}
#bmi_test_say,#test_say {
    top: 35%;
    right: 7%;
    width: 35%;
}
#bmi_test_content {
    z-index: 999;
    top: 0px;
    width: 100%;
    position: relative;
}
#bmi_test_btn {
    top: -15px;
}    
.bmi_gender_title {
    clear: both;
    margin: auto;
    margin-top: 100px;
    margin-bottom: 30px;
}
.bmi_gender_title img {
    width: 45%;
    height: auto;
    margin: auto;
}
.bmi_gender_character {
    position: relative;
    width: 100%;
    height: auto;
    /* clear: both; */
    margin: auto;
    /* margin: 100px 30px auto; */
}    
.unit_list_title {
    /*display: none;*/
    position: absolute;
    right: 15%;
    top: 5%;
    width: 70%;
    height: auto;
}
.dr_say,.dr_say_01 ,.dr_say_02{
    width: 250px;
    /* display: flex; */
    height: 200px;
    margin: 50px auto;
    /* align-items: center; */
    position: absolute;
    top: 15%;
    left: calc(50% - 125px);
    line-height: 1.25rem;
    color: #666;
} 
.indexboard{
    width: 250px;
    /* display: flex; */
    height: 200px;
    margin: 35px auto;
    top: -5px;
    left: calc(50% - 125px);
    line-height: 0.8rem;
    color: #FFF;
    font-size: 16px;
} 
.points-edition {
    right: 2%;
    top: 5%;
}
.rank_nav {
    width: 58.5%;
    position: absolute;
    top: 31%;
    left: 35%;
    margin: auto;
}
#rank_title {
    width: 63%;
    left: 29%;
    top: 20%;
}
.table {
    font-size: 0.7em;
}
.points-edition img {
    width: 70%;
}
}
@media only screen and (min-width: 551px) and (max-width:767px) { 
    .protagonist,.protagonist_index ,.illuBlock{
    width: 90%;
    height: auto;  
    position: relative;
    left: 0;
    top: -15px; 
    }
    .img-responsive {
        display: block;
        max-width: 70%;
        height: auto;
        padding-top: 10px;
        margin: auto;
    }    
}
@media only screen and (max-width:767px) {
/*#hips_unit_list {
    width: 100%;
    position: absolute;
    top: 80%;
    left: 0;
}*/
#calories_dr_center {
    position: absolute;
    top: 70%;
    left: 10%;
}
#daily_calories_list_01,#daily_moisture_list_01 {
    width: 100%;
    height: auto;
    margin: 10% auto;
}
.calories-btn {
    background: url(/assets/common/img/diet/plan/img/calories-btn.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 290px;
    min-height: 160px;
    color: #411B0A;
    text-align: center;
    padding-top: 55px;
    text-decoration: none;
    font-weight: bolder;
    font-size: 1em;
}
#daily_calories_unit_list {
    width: 100%;
    margin: auto;
    position: absolute;
    top: 60%;
    left: calc(50% - 150PX);
}
#metabolism_say_step_end {
    top: 55%;
} 
.metabolism_top_btn {
    width: 180px;
    min-height: 33px;
}
.metabolism_bottom_btn {
    width: 180px;
    min-height: 33px;
} 
#metabolism_say_step_end a{
    margin-top: 5px;
}
.toggle_btn{
    width: 140px;
    min-height: 33px;
}
#licensing-btn {
    width: 240px;
    min-height: 60px;
    padding-top: 20px;
    margin-bottom: 2px;
} 
.bmi_licensing-btn {
    width: 240px;
    min-height: 200px;
    padding-top: 30px;
}
#bmi_result {
    width: 100%;
    margin-top: 35%;
}
#top_pic {
    width: 80%;
    height: auto;
    margin: auto;
    margin-top: -20%;
    float: none;
}
#bottom_pic {
    float: left;
    width: 30%;
    left: 5%;
}
.bmi_result_link {
    position: relative;
    margin: -47% 0 0 8%;
    width: 100%;
}
.bmi_result_btn {
    background: url(/assets/common/img/diet/plan/img/Licensing_mb.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 250px;
    min-height: 63px;
    color: #411B0A;
    text-align: center;
    padding-top: 22px;
    text-decoration: none;
    font-weight: bolder;
    font-size: 1rem;
    margin: 5px auto;
}
.result-img {
    display: block;
    height: auto;
    float: left;
    margin: -15px -18px 0 18px;
    max-width: 22%;
}
#bmi_result_data,#result_data {
    width: 100%;
    top: 30%;
}
    #bmi_test_say,#test_say {
        top: 36.5%;
        right: 8%;
        width: 50%;
    }
    .bmi_test_data {
        width: 90%;
        height: auto;
        margin: 5% auto;
        position: absolute;
        top: 30%;
    }
    .bmi_test_data h3 {
        text-align: center;
        font-size: 1.2rem;
        font-weight: bolder;
        line-height: 2rem;
        font-family: '微軟正黑體';
    }
    .bmi_test_data h3 span {
        font-size: 1.5rem;
        color: #0180C5;
    }
    .bmi_test_data p {
        text-align: center;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1rem;
    }  
    .bmi_test_data input, select, textarea {
        width: 120px;
        margin: 10px;
        caret-color: #FF1744;
        outline: none;
        border: none;
        border-bottom: 1px solid #000;
        background: rgba(255,255,255,.0);
        text-align: center;
        font-weight: bolder;
        font-size: 1.2rem;
        color: #CA4332;
    }  
    .bmi_gender_title {
        margin-top: 165px;
    }
    .bmi_gender_character {
        min-width: 100%;
    }
    .bmi_gender_character img {
        max-width: 100%;
        height: auto;
        margin: auto;
    }
    .fire_pic {
        position: absolute;
        top: 60%;
        left: calc(50% - 100px);
    }
    .fire_pic img {
        width: 200px;
    }
    #unit_list {
        width: 600px;
        position: absolute;
        top: 30%;
        left: calc(50% - 355px);
    }
    #bmi_unit_list {
        width: 600px;
        position: absolute;
        top: 12%;
        left: calc(50% - 337px);
    }
    #hips_unit_list {
    width: 350px;
    position: absolute;
    top: 62%;
    left: calc(50% - 200px);
    }
    .licensing_nav {
        width: 55%;
        float: left;
        margin-top: 115px;
    }
    .licensing-btn {
        background: url(/assets/common/img/diet/plan/img/Licensing_mb.png);
        background-repeat: no-repeat;
        background-size: cover;
        width: 255px;
        min-height: 55px;
        color: #411B0A;
        text-align: center;
        padding-top: 18px;
        text-decoration: none;
        font-weight: bolder;
        font-size: 1em;
        margin-bottom: 10px;
    }
    .unit_list_dr {
        float: left;
        width: 220px;
        margin-top: 186px;
        left: 100px;
    }
    .protagonist,.protagonist_index,.illuBlock {
        position: absolute;
        left: 0%;
        top: 427px;
        /* clear: both; */
        /* margin: auto; */
    }
    .points-edition {
        display: none;
    }
    .bodyweight_title {
        position: relative;
        left: 0;
    }
    .unit_list_title {
       /* display: none;*/
        position: absolute;
        right: 0%;
        left: 4%;
        top: 2%;
        width: 100%;
        height: auto;
    }
    }
@media only screen and (max-width: 550px){
.KingNetLogo {
  left: 6%;
  width: 35%;
  height: 30%;
  background-size: contain;
  background-repeat: no-repeat;
}
    .waistline_pic_list {
        position: absolute;
        left: calc(50% - 150px);
        top: 55%;
        width: 300px;
        height: auto;
    } 
    .end_center {
    width: 220px;
    height: auto;
    margin: auto;
    }
    .calories-bg {
    background: url(/assets/common/img/diet/plan/img/calories-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 220px;
    min-height: 175px;
    color: #411B0A;
    text-align: center;
    padding-top: 90px;
    text-decoration: none;
    font-weight: bolder;
    /*margin-top: -10%;*/
    margin-top: -20%;
    /* MARGIN: auto; */
    }
    .calories-bg:first-child{
    	background-position-y:-40px;
    	min-height:135px; padding-top:40px;
    	margin-top: -15%;
    }
    #daily_calories_end{
    	margin-top:100px;
    }
    #licensing_nav_top{
        margin-top:155px !important; 
    }
    .licensing-btn {
    font-size: 0.9em;
    width: 240px;
    min-height: 55px;
    padding-top:18px !important; 
    margin-bottom: 5px !important;
    }  
 #calories_dr_center {
    position: absolute;
    top: 85%;
    left: 5%;
}   
.calories_dr_center {
		display:none;
    width: 400px;
    height: auto;
    margin: auto;
    position: relative;
    /*left: -25%;
    top: -60px;*/
    left: -5%;
    top: -80px;
}    
.calories_dr_center img {
    width: 35%;
    height: auto;
    margin: 75px auto;
}
.calories_end_btn {
    position: absolute;
    right: -50px;
    top: 35%;
    background: url(/assets/common/img/diet/plan/img/Licensing.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 170px;
    min-height: 200px;
    color: #411B0A;
    text-align: center;
    padding-top: 55px !important;
    text-decoration: none;
    font-weight: bolder;
    font-size: 1em;
}
#daily_calories_list_01,#daily_moisture_list_01 {
    width: 100%;
    height: auto;
    margin: 20% auto;
}
.calories-btn {
    background: url(/assets/common/img/diet/plan/img/calories-btn.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 290px;
    min-height: 160px;
    color: #411B0A;
    text-align: center;
    padding-top: 55px !important;
    text-decoration: none;
    font-weight: bolder;
    font-size: 1em;
}    
#daily_calories_unit_list {
    width: auto;
    margin: auto;
    position: absolute;
    top: 70%;
    left: calc(50% - 140PX);
} 
#daily_calories_unit_list li {
    margin: 0;
} 
#metabolism_say_step04_end {
    position: absolute;
    top: 45%;
    /* right: 10%; */
    transform: translate(25%, 100%);
    width: 60%;
    text-align: justify;
}    
#bmi_table th {
    padding: 0px;
    font-size: 0.55em;
    }   
#dr_show,#waistline_result,#hips_result,#daily_moisture_end {
    top: 0px;
    position: relative;
    /*display: none;*/
}    
/*#hips_unit_list {
    width: auto;
    position: absolute;
    top: 90%;
    left: calc(50% - 135px);
}*/
#hips_unit_list img {
    margin: auto;
    display: block;
    width: 23%;
    height: auto;
    float: left;
    /* top: -10px;*/ 
    margin-top: -16px;
    left: 14px;
    position: relative;
} 
#waistline-go-btn{
    margin-top: 40px
}
#waist    
.popup_title {
    width: 70%;
} 
.popup_dr_say {
    top: -23px;
}   
.next-btn {
margin-top: -5%;
}    
#popup_dr_say_01, #popup_dr_say_02, #popup_dr_say_03,#popup_dr_say_04, #popup_dr_say_05, #popup_dr_say_06,#popup_dr_say_07, #popup_dr_say_08, #popup_dr_say_09, #popup_dr_say_10, #popup_dr_say_11, #popup_dr_say_12{
    width: 55%;
    left: calc(50% - 18%);
    top: 21%;
}    
#popup_say{
    line-height: 0.9rem;
    font-size: 0.7rem; 
}   
#bmi_result {
    width: 100%;
    margin-top: 55%;
}   
#say_04,#say_05,#say_06,#say_07,#say_08,#say_09,#say_10 {
    width: 65%;
    left: 17.5%;
    top:22.5%;
}
#dr_show_top,#waistline_result,#hips_result {
 /*   top: -40px;*/
}
#metabolism_step_01,#metabolism_step_02,#metabolism_step_03,#metabolism_step_04,#metabolism_step_05,#metabolism_step_06{
top:100px;
}
#metabolism_step_01{
	top:0px;
}
#top_pic {
    width: 100%;
    height: auto;
    margin: auto;
    margin-top: -32%;
    float: none;
}
#bmi_result_data,#result_data {
    width: 96%;
    top: 17%;
}
#bmi_result_data h3 span,#result_data h3 span {
    font-size: 1.6rem;
    line-height: 1.4rem;
} 
#bottom_pic {
    float: left;
    width: 48%;
    left: -10%;
}
.bmi_result_link {
    position: relative;
    margin: -77% 0 0 0%;
    width: 90%;
    left: 19%;
}   
.result-img {
    display: block;
    height: auto;
    float: left;
    margin: -4px -18px 0 18px;
    max-width: 22%;
}
.bmi_result_btn {
    background: url(/assets/common/img/diet/plan/img/Licensing_mb.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 250px;
    min-height: 63px;
    color: #411B0A;
    text-align: center;
    /*padding-top: 30px;*/
    text-decoration: none;
    font-weight: bolder;
    font-size: 0.9rem;
    margin: 5px auto;
    line-height: 2em;
}
#bmi_result_data h3,#result_data h3 {
    font-size: 1rem;
    line-height: 2.6rem;
}
.bmi_gender_content {
    margin-top: 3%;
}
    #bmi_test_say,#test_say {
        top: 37%;
        right: 0;
        width: 62%;
        font-size: 1rem;
    }
    .bmi_test_data {
        width: 90%;
        height: auto;
        margin: 5% auto;
        position: absolute;
        top: 23%;
    }
    .bmi_test_data h3 {
        text-align: center;
        font-size: 1rem;
        font-weight: bolder;
        line-height: 1.6rem;
        font-family: '微軟正黑體';
    }
    .bmi_test_data h3 span {
        font-size: 1.4rem;
        color: #0180C5;
        margin: 0 10px;
        width: auto;
        /*max-width: 105px;*/
        line-height: 1.25rem;
    }
    .bmi_test_data p {
        text-align: center;
        font-size: 0.9rem;
        font-weight: 400;
        line-height: 0.8rem;
    }  
    .bmi_test_data input, select, textarea {
        width: 80px;
        margin: 10px;
        caret-color: #FF1744;
        outline: none;
        border: none;
        border-bottom: 1px solid #000;
        background: rgba(255,255,255,.0);
        text-align: center;
        font-weight: bolder;
        font-size: 1rem;
        color: #CA4332;
    }
    .bmi_gender_title {
        margin-top: 140px;
    }
    .bmi_gender_title img {
        width: 55%;
        height: auto;
        margin: auto;
    }
    .fire_pic {
        position: absolute;
        top: 45%;
        left: calc(50% - 70px);
    }
    .fire_pic img {
        width: 140px;
    }
    .dwrap {
        min-width:375px;
        min-height: 732px;
        width: 100%;
        height: 100%;
    }
    .bg {
        width: 100%;
        /*height: 100%;*/
        height: 110%;
        background: url(/assets/common/img/diet/plan/img/main_bg_mobile.jpg);
	    background-repeat : no-repeat;
        background-size: cover;
        /*overflow: hidden;*/
        overflow: scroll;
    }
    .bgHeighter {
        height: 115%;
    }
    .protagonist,.protagonist_index ,.illuBlock{
    position: relative;
    left: 0;
    top: -15px;
    }
    .bodyweight_title {
        position: relative;
        /*left: 7.5%;*/
        margin-top: 100px;
    }    
    .img-responsive {
        display: block;
        max-width: 90%;
        height: auto;
        padding-top: 10px;
        margin: auto;
    }
    .go-btn {
    width: 125px;
    left: calc(50% - 62.5px);
    }
    .dr_say,.dr_say_01 {
        margin: 35px auto;
    }
    .dr_say span {
        line-height: 1.1rem;
        font-size: 0.9em;
    }
    .unit_list_title {
        width: auto;
    }
    #unit_list {
        width: auto;
        position: absolute;
        top: 30%;
        left: calc(50% - 135px);
    } 
    #bmi_unit_list,#hips_unit_list {
        width: 280px;
        position: absolute;
        top: 64%;        
        left: calc(50% - 140px);
    }
    #daily_calories_end #hips_unit_list {
    	top: unset;
    }    
    .unit_list_dr {
        display: none;
    }
    .licensing_nav {
        width: 270px;
        float: none;
        /*margin-top: 150px;*/
        margin-top: 50px;
    } 
    .waistline_dr_say {
        width: 300px;
        height: auto;
        margin: auto;
        position: absolute;
        top: 16%;
        left: calc(50% - 150px);
        line-height: 0.9rem;
        color: #666;
        text-align: left;
        font-size: 0.8em;
    }
    .waistline_dr_say_center {
        width: 300px;
        height: auto;
        margin: auto;
        position: absolute;
        /*top: 30%;*/
        top: 25%;
        left: calc(50% - 150px);
        line-height: 0.9rem;
        color: #666;
        text-align: left;
        font-size: 0.8em;
    }
	.waistline_dr_say img{
    width: 75%;
    height: auto;
	}
	.waistline_dr_say a{
    margin-top:20px; 
	}
	.protagonist .big_font{
  	font-size: 1.3rem;
  }
}
/*
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    .calories-bg{
    	margin-top: -20%;
    }
    .calories-bg:first-child{
    	background-position-y:-40px; min-height:135px; padding-top:40px;
    margin-top: -15%;
    }
    #hips_unit_list {
    	top: 90%;
    }
} */
@media only screen and (max-width: 480px){
    #bmi_test_say,#test_say  {
        top: 26%;
        right: -8%;
        width: 62%;
        font-size: 0.85rem;
    }
    #table_01 #bmi_table{
    	font-size: 1em;
    }
	#calories_dr_center {
    position: absolute;
    top: 82%;
    left: -37%;
	}
	#popup_dr_say_12a,#popup_dr_say_12b,#popup_dr_say_12c,#popup_dr_say_12d,#popup_dr_say_12e,#popup_dr_say_12f {
  	left: calc(60% - 100px);
	}
	#popup_say {
  	line-height: 0.6rem;
  	font-size: 0.6rem;
	}
	.dr_say_01 {
	  width: 200px;
  	line-height: 0.25rem;
	}
	#waistline_say_step_end { top: 45%;}
}
@media only screen and (min-width: 390px) and (max-width:420px) {
    #bmi_test_say,#test_say {
        top: 30%;
        right: -5%;
        width: 60%;
        font-size: 0.85rem;
    }  

}
@media only screen and (max-width: 390px)  {
#calories_dr_center {
    position: absolute;
    top: 82%;
    left: -45%;
}
}

@media only screen and (max-width: 320px){
    .unit_list_title {
    width: 315px;
    margin-left: 20px;
    }
    #unit_list {
    width: auto;
    position: absolute;
    top: 30%;
    left: calc(50% - 130px);
    } 
    #bmi_unit_list,#hips_unit_list {
        width: auto;
        position: absolute;
        top: 72%;
        left: calc(50% - 100px);
    }
    .licensing_nav {
        width: 310px;
        float: none;
        margin-top: 50px;
    }  
    .licensing-btn {
        width: 260px;
        min-height: 70px;
        padding-top: 23px;
        margin-bottom: 10px;
    }
    .fire_pic {
        position: absolute;
        top: 55%;
        left: calc(50% - 35px);
    }
    #daily_calories_unit_list {
        width: auto;
        margin: auto;
        position: absolute;
        top: 80%;
        left: calc(50% - 110PX);
    }
    #daily_calories_unit_list li{
        margin:0; 
    }

}
