﻿.section-input input[type="text"]:not(.abnormal)
{
    width: 190px;
}
#ResultBox .dash-line
{
    width: 645px;
}
.section-detail .dash-line
{
    width: 480px;
}
.section-row-btnReset
{
    margin-left: 5px;
    width: 680px;
}
input[type="button"]:not(.abnormal).btnCalculate, input[type="submit"]:not(.abnormal).btnCalculate
{
    float: right;
}
input[type="button"]:not(.abnormal).button-historical, input[type="submit"]:not(.abnormal).button-historical
{
    float: right;
    margin-right: 10px;
    margin-top: 5px;
}
input[type="button"]:not(.abnormal).button-newplan, input[type="submit"]:not(.abnormal).button-newplan
{
    float: right;
    margin-right: 5px;
    margin-top: 5px;
}
.section-detail-result
{
    border-left: 0px;
    margin-top: 25px;
    height: 65px;
}
.section-row-btnNext
{
    width: 680px;
}
.section-detail-general
{
    height: 130px;
}
.section-detail-target
{
    height: 55px;
}
.section-detail-predict
{
    height: 60px;
}

/* Responsive */
/*Tablets*/
@media screen and (max-width: 991px)
{
    .description-box-medium
    {
        display:none;
        width: 95%;
    }
    
    .description-detail
    {
        display: table-cell;
        vertical-align: middle;
        width: 98%;
        
    }

    .main-content.saving-plan
    {
        width: 95%;
        margin: 0 auto;
        background: url('../images/BG_SavingPlan.png') no-repeat 100% 520px;
    }

    .main-content
    {
        margin: 0;
        float: none;
    }

    .step-box
    {
        width: 100%;
    }

    .content-detail
    {
        width: auto;
    }

    #ResultBox .dash-line
    {
        width: auto;
    }
    .section-label
    {
        width: 37%;
    }

    .section-input input[type="text"]:not(.abnormal)
    {
        width: 170px;
    }

    .section-input
    {
        width: 180px;
    }

    .controlSlider
    {
        width: 180px !important;
    }

    .section-row
    {
        max-width: 850px;
        min-width: 650px;
        width: 100%;
    }
}

/* Small Tablets */
@media only screen and (max-width : 767px)
{
    .main-content.saving-plan
    {
        width: 100%;
        border: none;
        background:none;
    }

    .content-detail
    {
        margin: 15px 10px;
    }
    .description-icon-medium
    {
        margin-left: 25px;
    }
    .step-box
    {
        border-top-right-radius: 0px;
        border-top-left-radius: 0px;
    }
    .stepPlan-title
    {
        background: none; 
        width: 15%;
        min-width: 80px;
        color: #17697B;
    }

    .stepPlan
    {
        background-size: 95% 40px;
        min-width: 120px;
        max-width: 145px;
        width: 25%;
        margin-left: -32px;
    }

    .stepPlan-active
    {
        min-width: 125px;
        max-width: 145px;
        background-size: 95% 40px;
        width: 25%; 
    }

    .numberStepPlan
    {
        margin-left: 22%;
        font-size: 25px;
        margin-top: 7px;
    }


    .section-detail-target
    {
        height: 75px;
    }

    .section-detail-predict
    {
        height: 70px;
    }
    .section-label
    {
        min-width: 120px;
        width: 30%;
    }

    .section-input input[type="text"]:not(.abnormal)
    {
        width: 140px;
    }

    .content-detail
    {
        width: 95%;
    }

    .section-row
    {
        min-width: 430px;
    }


    .section-input
    {
        width: 160px;
        text-align: left;
        margin-right: 0px;
        margin-left: 20px;
    }
    .section-label-2line
    {
        line-height: 15px;
    }

    .section-row-2line
    {
        margin-bottom: 15px;
    }

    .section-row-3line
    {
        margin-bottom: 20px;
    }

    .controlSlider
    {
        width: 150px !important;
    }

    .section-input input[type="text"]:not(.abnormal).text-box-interestrate
    {
        width: 60px;
    }
    
    input[type="button"]:not(.abnormal).btnCalculate, input[type="submit"]:not(.abnormal).btnCalculate
    {
        float: none;
    }

    .section-input-interestrate
    {
        width: 60px;
        margin-left: 10px;
    }

    .section-unit
    {
        margin-left: 15px;
    }


    .section-unit-interestrate
    {
        width: 161px;
    }

    .section-label-interestrate
    {
        min-width: 135px;
    }

    .section-row-btnReset
    {
        width: 80%;
    }

    .img-emotion
    {
        width: 45px;
    }

    .result-emotion
    {
        margin-left: 10px;
        width: 55px;
        height: 55px;
    }

    .result-detail
    {
        width: 85%;
        margin-left: 0px;
    }

    .result-text
    {
        width: auto;
        line-height: 15px;
    }

    .result-number
    {
        width: auto;
    }

    .section-row-btnNext
    {
        width: auto;
    }

    .section-detail .dash-line
    {
        width: auto;
    }
}

/*  phone */
@media only screen and (max-width : 480px)
{
    .description-icon-medium
    {
        margin-left: 5px;
        background-size: 100%;
        margin-right: 5px;
        height: 35px;
        width: 35px;
    }
    .description-detail
    {
        margin-top: 5px;
        margin-left: 5px;
        font-size: 14px;
    }
    .login-container
    {
        margin-top: 0px;
    }
    .stepPlan-title
    {
        display: none;
    }
    .stepPlan.stepPlan-1
    {
        margin-left: -23px;
    }
    .stepPlan-3
    {
        margin-left: -31px;
    }
    .section-label
    {
        width: 63%;
        min-width: 260px;
    }
    .section-detail-general
    {
        height: 240px;
    }
    .section-detail-target
    {
        height: 115px;
    }
    .section-label-2line
    {
        line-height: 20px;
    }
    .section-row-3line
    {
        min-width: 280px;
    }
    .section-label.section-label-interestrate
    {
        width: 81%;
    }
    .section-input-interestrate
    {
        margin-top: 15px;
    }
    .section-input-interestrate.section-input-inflationRate
    {
        margin-top: 0px;
    }
    .section-unit-interestrate.section-unit-inflationRate
    {
        margin-top: 0px;
    }
    .section-unit-interestrate
    {
        margin-top: 12px;
    }
    .logo-info
    {
        margin-top: 0px;
    }
    div.section-row-3line .logo-info
    {
        margin-top: 15px;
    }
    .section-detail-predict
    {
        height: 120px;
    }
    .result-detail
    {
        width: 75%;
        min-width: 215px;
        max-width: 370px;
    }
    .section-result
    {
        line-height: 19px;
    }
    .section-row
    {
        min-width: 280px;
    }
    .section-row-result
    {
        min-width: 280px;
    }
    .img-emotion
    {
        width: 35px;
    }
    .result-emotion
    {
        width: 45px;
        height: 45px;
    }
    .result-number 
    {
        margin-top: 10px;
        position: relative;
        left: -40px;
        width: 125%;
        font-size: 20px;
    }
    input[type="button"]:not(.abnormal).btnReset, input[type="submit"]:not(.abnormal).btnReset
    {
       /* margin-bottom: 5px;*/
    }
    input[type="button"]:not(.abnormal).btnCalculate, input[type="submit"]:not(.abnormal).btnCalculate
    {
        margin-top: 0px;
    }
    .numberStepPlan
    {
        display: none;
    }
    .stepPlan, .stepPlan-active
    {
        margin-left: -7%;
        width: 30%;
        max-width: 140px;
        min-width: 95px;
    }
    .nameStepPlan
    {
        /*margin-left: 28px;*/
        margin-left: 30%;
        font-size: 18px;
    }
    .nameStepPlan.nameStepPlan-2
    {
        margin-left: 24%;
    }
    .description-box-medium
    {
        height: 75px;
    }
    #ResultBox .dash-line
    {
        margin-top:10px;
    }
    
    div.section-row-result .dash-line
    {
        position: relative;
        left: -40px;
    }
}
