@font-face {
    font-family: MElleHKMedium;
    src: url(font/MElleHKMedium.otf);
}

body{
    margin:0;
    width: 100%;
    /* max-width: 1440px; */
    min-width: 320px;
    color: #223F80;
    background: linear-gradient(#D1A032, #ffffff, #86c1e7);
}

img{
    width: 100%;
}

.container{
    text-align: center;
}

.button {
    box-shadow: 0px 0px 0px 2px #F2D896;
    background: linear-gradient(to right, #001B71 50%, #2BABE2 100%);
    background-color: #c62d1f;
    border-radius: 18px;
    border: 0px solid #F2D896;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 17px;
    padding: 7px 25px;
    text-decoration: none;
    text-shadow: 1px 1px 1px #000000;
    font-weight: 100;
}

.btn-panel{
    margin: 5%;
}

.button.btnPrev{
    color: #ffffff;
    background: #606060;
    margin-right: 3%;
}
.main-bg{
    position: relative;
}

.main_img{
    margin: 5% auto;
}

#form[data-type="home"] .main{
    margin: 5% 0;
}

.enfa_logo{
    margin:2%;
    text-align:left;
}

.enfa_logo #logo-enfa{
    width: 30%;

}

.enfa_logo #logo-mjn    {
    float: right;
    width: 30%;
}

.title{
    width: 50%;
    margin: 5% auto;
}

#form[data-type="home"] #notice img{
    width: 100%;
}

#form[data-type="home"] #notice{
    padding: 0 10%;
    font-size: 1em;
    line-height: 2em;
    font-family: MElleHKMedium;
}

#form[data-type="home"] #btn_home{
    margin: 5% 0;
}

.tnc{
    font-size: 10px;
    text-align: left;
    color:#606060;
    padding: 0 5%;
}

.q-frame{
    color: #223F80;
    background-color: #ffffff;
    position: relative;
    margin: 5% 10%;
    padding: 5% 0;
    box-sizing: content-box;
    box-shadow: 0px 0px 10px 0px;
}

.question{
    text-align: left;
}

a.disabled{
    pointer-events: none;
    cursor: default;
    color: #ffffff!important;
    background: linear-gradient(to right, #b9b0b0 50%, #dadada 100%);
}

.question .question-bg{
    background-color: #B2D8E7;
    position: relative;
    margin: 0 0% 5% 10%;
    padding: 10px;
    box-sizing: content-box;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    text-align: left;
}

.question .question_text{
    width: 100%;
    margin: auto 0;
}

.question .question_text img{
    width: 50%;
    min-width: 100px;
    max-width: 180px;
}

.question .q-gp{
    display: inline-flex;
}



.question .q-gp img{
    width: 50%;
    max-width: 75px;
        max-height: 75px;
}

.question .choice-frame{
    margin: 0 0 0 10%;
    display: inline-flex;
}

.question .choice-gp{
    width: 100%;
}

.question .choice{
    display: inline-flex;
    margin-bottom: 5%;
    width: 100%;
}

.question #main-img{
    width: 30%;
    margin: auto;
}

.question input[type=radio] {
    border: 0px;
    width: 25%;
    min-width: 25%;
    height: 1.5em;
    vertical-align: super;
}

.question #q_img{
    width: 50%;
    margin: auto;
}

.question #bottom{
    width: 100%;
    margin: auto;
    text-align: center;
}
/* survey */


.survey .survey-bg{


    background-color: #B2D8E7;
    position: relative;
    margin: 0 0% 5% 10%;
    padding: 10px;
    box-sizing: content-box;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    text-align: left;
}

#situation{
    margin: 5% 10%;
    font-size: 1em;
}

.survey .part{
    margin: 0 0% 5% 10%;
    text-align: left;
}
.survey .survey_text{
    margin: auto 0;
    width: 100%;
}

.survey .survey-rb{
    width: 100%;
    display: inline-flex;
}

.survey .survey-rb span{
    font-size: 1em;
}

.survey .q-gp{
    width: 100%;
    display: inline-flex;
}

.survey #q-no img{
    width: 50%;
}

.survey .choice-frame{
    /* /* width: 100%; */
    margin: 15% 0 15% 10%;
    /* display: inline-flex; */ */
}

.survey .choice-gp{
    width: 90%;
}

.survey .choice{
    display: inline-flex;
    margin-bottom: 5%;
    width: 100%;
}

.survey-select{
    text-align: left;
}

.survey ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
  }

.survey #main-img{
    width: 30%;
    margin: auto;
}

.survey-bg .q-gp img{
    width: 50%;
    max-width: 75px;
        max-height: 75px;
}

.survey input[type=radio] {
    border: 0px;
    /* height: 1em; */
    display: block;
    margin: 0 auto;
}
.survey label {
    padding: 0 5% 0 5%!important;
}

.survey .a4_subquest{
    margin: 5% 30% 5% 0%;
    text-align: left;
}

.survey .b1_subquest{
    margin: 5% 0% 5% 0%;
    text-align: left;
}

#form[data-type="thankyou"] .promote_section{
    width: 100%;
    display: inline-flex;
}

#form[data-type="thankyou"] .promotion{
    width: 90%;
    background-color: #FFF4EA;
    border-radius: 25px;
    box-sizing: content-box;
    border: solid #EEB755 3px;
    padding: 5px;
    margin: 1% auto;
}

#form[data-type="thankyou"] .promotion#p1 , #form[data-type="thankyou"] .promotion#p2{
    width: 40%;
}

#form[data-type="thankyou"] .benefit_num{
    width: 50%;
    margin: auto;
}

#form[data-type="thankyou"] .promotion#p3  .benefit_num,#form[data-type="thankyou"] .promotion#p4  .benefit_num{
    width: 22.2%;
    margin: auto;
}

#form[data-type="thankyou"] .cart{
    width: 70%;
    margin: auto;
}

#form[data-type="thankyou"] .product_name{
    font-weight: bold;
}

#form[data-type="thankyou"] .product_name .font-2{
    font-size: 1.5em;
}

#form[data-type="thankyou"] .product_name img{
    width:100%;
}

#form[data-type="thankyou"] #btn_product3{
    width: 100%;
    display: inline-flex;
}

#form[data-type="thankyou"] #btn_product4{
    width: 92%;
    margin-left: 8%;
    display: inline-flex;
}

#form[data-type="thankyou"] .cart#p3_s2, #form[data-type="thankyou"] .cart#p3_s3 ,#form[data-type="thankyou"] .cart#p4_a,#form[data-type="thankyou"] .cart#p4_b{
    width: 35%;
}

/*
.enfa_logo{
    background-image: url("../img/logo/enfa.png");
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 30%;
    background-repeat: no-repeat;
    margin: 2%;
}

.mjn_logo{
    background-image: url("../img/logo/meadjohnson.png");
    height: 100%;
    right:  0;
    position: absolute;
    top: 0;
    width: 30%;
    background-repeat: no-repeat;
    margin: 2%;
} */

/* .vidwrapper{
    width: 100%;
    max-width: 800px;
    margin: 3em auto;
} */

/* .video-container{
    position: relative;
    padding-bottom: 56.25%;
    width: 100%;
    max-width: 100%;
    height: 0;
    overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } */

/* .video-container iframe, .video-container video{
    position:absolute;
	top:0;
	left:0;
    width:100%;
    max-width: 100%;
    height:100%;
} */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
}

.error{
    color: #f00;
    text-align: center;
}

.input_error{
    box-shadow: 0 0 10px #f00, inset 0 0 20px rgba(255, 0, 0, 0.1);
  border-color: #ff8a8a;
  -webkit-animation: showerror 0.5s;
  animation: showerror 0.5s;
}


@media only screen and (max-width: 768px) {
    .title{
        width: 70%;
        margin: 5% auto;
    }
    .question #q-no img{
        width: 50%;
    }
    .survey label {
        padding: 0 1% 0 1%!important;
    }



}

#popup, #popup_nocode {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);

}

#popup #btn_statement, #popup_nocode_frame #popup_nocode{
    text-align:center;
}

.popup_show{
    display: block!important;
}

.popup_content{
    border-color: #95c7ef;
    border-radius: 10px;
    border-width: 5px;
    border-style: solid;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 5px solid #EEB755;
    width: 80%;
    color: #606060;

}

#shortcut[data-type="complete"] {
    display: inline-flex;
    align-items: stretch;
}

#shortcut[data-type="complete"] img{
  display: block;
  max-width:100px;
  max-height:100px;
  width: auto;
  height: auto;
  padding: 20px;
}

#form[data-type="complete"] #notice{
    padding: 0 10%;
    font-size: 1em;
    line-height: 2em;
    font-family: MElleHKMedium;
}

#form[data-type="complete"] .enfa_logo{
    margin:5%;
}

.content[data-type="complete"] {
  max-width: 768px;
  margin: auto;
}

@media only screen and (max-width: 768px) {
  #shortcut[data-type="complete"] img{
    display: block;
    max-width:80px;
    max-height:80px;
    width: auto;
    height: auto;
    padding: 20px;
  }
}
