.disable{
    pointer-events: none;
    cursor: not-allowed !important;
}
.chart-container div{
    width: 100% !important;
}
.chart-container{
    width: 100%;
    height:100vh    
}

.drawerbox{
    position: relative;
}
.drawer-bg{
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background: url(../../images/web/minorprotection/lightbg.jpg)  center center;
    background-size: cover !important;
}
.drawer-bg.light{
    background: url(../../images/web/minorprotection/lightbg_1.jpg)  center center;
}
.drawer-layer{
   position: relative;
   z-index:2;
}

.drawerbox .c-box{
    max-width: 1188px;
    margin: 0 auto;
}
.drawer-floor1{
    width: 100%;
    height:70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.drawer-floor1 img{
    height: 330px;
    margin-right: 200px;
}

.drawer-floor1 .eb-icon{
    opacity: 0;
    transform: translate(-100%);
    -webkit-transform: translate(-100%);
    transition: all .6s ease-in;
    -webkit-transition: all .6s ease-in;
}
.drawer-floor1 .lighthouse-icon{
    margin:0;
    opacity: 0;
    transform: translate(100%);
    -webkit-transform: translate(100%);
    transition: all .6s ease-in;
    -webkit-transition: all .6s ease-in;
}
.drawer-floor1 .eb-icon.over{
    opacity: 1;
    transform: translate(0);
}
.drawer-floor1 .lighthouse-icon.over{
    opacity: 1;
    margin:0;
    transform: translate(0);
}
.drawer-floor2{
    width: 100%;
    padding:60px 0 60px 0;
}
.charitable-box{
    width:220px;
    height:220px;
    border-radius: 220px;
    background: #fff;
    margin:64px auto;
    position: relative;
}
.charitable-icon{
    width:220px;
    height:140px;
    background: url(../../images/web/minorprotection/charitable.svg) no-repeat center bottom;
    background-size:65%;
}
.charitable-amount{
    opacity: 1;
    width: 100%;
    line-height: 32px;
    font-size: 32px !important;
    color:#e43426;
    text-align: center;
    font-weight: 600;
    transition: all .5s ease-in;
    -webkit-transition: all .5s ease-in;
}
.charitable-box p{
    position: absolute;
    left:0;
    right:0;
    bottom:20px;
    font-size:14px;
    color:#666;
    text-align: center;
    line-height: 2;
}
.charitable-amount.amount-change{
    opacity: 0;
    width: 100%;
    line-height: 32px;
    font-size: 32px;
    color:#e43426;
    text-align: center;
    font-weight: 600;
    transition: all .5s ease-in;
    -webkit-transition: all .5s ease-in;
}
.amount-init.up{
    opacity: 0 !important;
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
}
.amount-change.up{
    opacity: 1 !important;
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
}
.light-btn{
    margin:42px auto;
    display: table;
    padding:0 48px;
    height:64px;
    line-height: 60px;;
    background: #FF7D2E;
    color:#fff;
    font-size:24px;
    text-align: center;
    font-weight: 600;
    border-radius: 64px;
    cursor: pointer;
}
.light-btn:hover{
    box-shadow: 0 8px 8px 0 #371500;
}
.light-btn.disable{
    box-shadow: 0 0 20px 0 #FF6000;
}
.drawer-floor2-text{
    color:#fff;
    text-align: center;
}

 .drawer-floor2-text b {
    font-size: 50px;
    display: block;
    margin-bottom: 32px;
    font-weight: 600;
 }
.drawer-floor2-text p {
   margin-top:48px;
   font-size: 24px;
}
.leaving-message{
    opacity: 0;
    max-height:0;
    overflow: hidden;
    margin: 0 auto;
    width:660px;
    border-radius: 16px;
    background: url(../../images/web/minorprotection/love.svg) no-repeat 125% bottom #fff;
    background-size: 50%;
    transition: all .5s ease-in;
    -webkit-transition: all .5s ease-in;

}
.leaving-message.show{
    opacity: 1;
    max-height:999px;
    padding:24px;
}
.leaving-message .inputbox {
    margin-top:16px;
}

.inputmail,.inputtext{
    background: #eee;
    padding:14px 12px;
    width: 100%;
    display: inline-block;
    border-radius: 6px;
    vertical-align: top;
    font-size: 14px;
}
.leaving-message .inputmail {
   width: 100%;
}
.leaving-message .leaving-message-btn{
    display: table;
    border-radius: 6px;
    background: #000;
    height:48px;
    line-height: 48px;
    vertical-align: top;
    padding:0 24px;
    color:#fff;
    margin:16px auto 0 auto;
    text-align: center;
    cursor: pointer;
    min-width: 160px;
    font-size: 16px;
    font-weight:500;
}
.drawer-floor3{
    padding:80px 0;
    width: 80%;
    margin: 0 auto;
    max-width: 1440px;
    margin-bottom:120px;
}
.drawer-floor3 .c-box{
    width: 75%;
}
.drawer-floor3 .title{
    font-size:48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 32px;
}
.drawer-floor3 b{
    font-size:24px;
    display: block;
    margin-bottom: 18px;
}
.drawer-floor3 p{
    font-size:16px;
    color:#5A5A5A;
    margin-bottom: 32px;
}
.drawer-floor3 p b{
    font-size:16px;
    color:#333;
}
.drawer-floor3 p span{
    transform: scale(0.5);
    display: inline-block;
}
.drawer-floor3 ul{
    margin-bottom:32px;
    margin-left:16px;
    font-size: 16px;
    color:#5A5A5A;
}
.drawer-floor3 ul li{
    list-style: disc;
    line-height: 1.6;
    margin-bottom: 16px;
}
.preloadbox{
    height:0;
    width: 0;
    visibility: hidden;
    z-index: -1;
}
@media (max-width: 1180px) {
    .drawer-floor1 img{
        height: 230px;
        margin-right: 120px;
    }
   
    .drawer-floor2 {
        padding: 80px 0 60px 0;
    }
    .drawer-floor2 .c-box{
        width: 80%;
    }
    .drawer-floor2 .c-box {
        width: 80%;
    }
    .chart-container{
        height:70vh !important
      }
}
@media (max-width: 767px) {
    .chart-container{
        height:50vh  !important   
    }
    .drawer-floor1{
        height:50vh !important;
    }
    .drawer-floor1 img{
        height:120px;
        margin-right:48px;
    }
    .drawer-floor2{
        padding:40px 0;
    }
    .drawer-floor2 .c-box{
        width: 100%;
    }
    .charitable-box{
        width: 200px;
        height:200px;
        margin:48px auto;
        border-radius: 50%;
    }
    .charitable-icon{
        width: 200px;
        height:120px;
        margin-bottom: 0;
        background-size:60%;
    }
    .charitable-amount{
        font-size:26px !important;
    }
    .charitable-box p{
        line-height: 1.6;
        bottom:26px;
        font-size: 13px;
    }
    .leaving-message .inputmail {
        width: 100%;
     }
    .leaving-message .leaving-message-btn{
        width: 100%;
     }
    .drawer-floor2-text{
        max-width: 80%;
        margin: 0 auto;
    }
    .drawer-floor2-text b{
        font-size: 32px;
    }
    .drawer-floor2-text p{
        font-size: 16px;
        margin-top:24px;
    }
    .drawer-floor3{
        width: auto;
        padding:48px 20px 24px 20px;
        margin:0 20px;
        border-radius: 16px;
        margin-bottom:80px;
    }
    .drawer-floor3 .c-box{
        width: 100%;
    }
    .drawer-floor3 .title{
        font-size: 28px;;
    }
    .drawer-floor3 b{
        font-size: 16px;;
    }
    .drawer-floor3 p{
        font-size: 14px;;
    }
    .drawer-floor3 ul{
        font-size: 14px;;
    }
    .leaving-message{
        width:90%;
        background: url(../../images/web/minorprotection/love.svg) no-repeat 660% bottom #fff;
        background-size: 96%;
    }
    
    .light-btn{
        font-size: 20px;
        height:56px;
        line-height: 56px;
        padding:0 28px;
        background: #FF7D2E !important;
        color:#fff !important;
    }
    .light-btn.disable{
        font-size: 16px;
    }
}
@media (max-width: 320px) {
    .drawer-floor1 img {
        height: 100px;
        margin-right: 36px;
    }
}