@font-face {
    font-family: 'true_bold';
    src: url('../fonts/tbold-webfont.eot');
    src: url('../fonts/tbold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/tbold-webfont.woff2') format('woff2'),
         url('../fonts/tbold-webfont.woff') format('woff'),
         url('../fonts/tbold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'true';
    src: url('../fonts/tmedium-webfont.eot');
    src: url('../fonts/tmedium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/tmedium-webfont.woff2') format('woff2'),
         url('../fonts/tmedium-webfont.woff') format('woff'),
         url('../fonts/tmedium-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
a{
  /* Careful, this breaks the word wherever it is without a hyphen */
  overflow-wrap: break-word;
  word-wrap: break-word;

  /* Adds a hyphen where the word breaks */
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
a:hover{
    text-decoration: none;
}


body{
	font-size: 16px;
    background-color: #FFFFFF;
}
.container-fluid{
    padding: 0;
}
.img-responsive{
    display: inline-block;
}
/*Footer*/
footer.container-fluid{
    background: #232323;
    color: #fff;
    padding: 30px 0;    
}
footer.container-fluid>.container{
    position: relative;
}
footer .scroll-top{
    position: absolute;
    padding: 5px 13px;
    background: #232323;
    top: -54px;
    right: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    cursor: pointer;
}

/*header*/
#head-bar{
    background: #FFF;
    z-index: 100;
    position: relative;
}

#head-bar .nav-logo{
    padding: 10px 0;
    text-align: center;
}
#head-bar .nav-logo img{
    display: inline-block;
}

#head-bar .nav-app{
    padding: 5px 0 0;
    text-align: right;
    display: none;
}
header{
    position: relative;
    -webkit-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.2);
       -moz-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.2);
            box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.2);
}
header .navbar-explain{
    background: #ff6d00;
    color: #fff;
    padding: 10px 0;
}
header .navbar-mobile{
    position: relative;
    height: 85px;
}
header .navbar-mobile .left{
    position: absolute;
    top: 12px;
    left: 35%;
    margin-left: -60px;
}
header .navbar-mobile .right{
    position: absolute;
    top: 10px;
    left: 37%;
    font-family: 'true';
    font-size: 22px;
}
header .navbar-mobile .right strong{
    font-weight: normal;
    font-family: 'true_bold';
}

#head-bar.fix{
    position: fixed;
    width: 100%;
    top: 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.5);
       -moz-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.5);
            box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.5);
}
#carousel-true-generic .carousel-inner img{
    width: 100%;
}
/* Fund in*/
.fund-in{
    padding: 30px 0;
}
.fund-in p{
    margin-top: 30px;
}
.fund-in-list{
    padding: 0;
}
.fund-in-list li{
    display: inline-block;
    margin: 0 10px 10px 0;
}
.fund-in-list li img{
    width: 60px;
    border-radius: 5px;
    border: 2px solid #eee;
}
.fund-in-list li a{
    display: block;
    cursor: pointer;
}
.fund-in-list li a.active img{
    border-color: #f9951b;
}
.fund-in-show{
    border: 1px solid #ddd;
    border-radius: 5px;
    min-height: 400px;
    position: relative;
}
.fund-in-show .wrapper{
    padding: 15px 20px 20px;
}
.fund-in-show .wrapper>.header{
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}
.fund-in-show .wrapper>.header>strong{
    font-family: 'true_bold';
    margin-bottom: 20px;
    font-weight: normal;
    font-size: 25px;
}
.fund-in-show .wrapper>.header>img{
    width: 60px;
    margin-right: 10px;
    vertical-align: text-top;
}
.fund-in-show>a.close-link{
    position: absolute;
    right: 20px;
    top: 6px;
    font-size: 20px;
    color: #F78604;
    cursor: pointer;
}
.fund-in-show>a.close-bar{
    display: block;
    text-align: center;
    padding: 15px 0;
    color: #F78604;
    border-top: 1px solid #ddd;
    cursor: pointer;
}
.fund-in-show .wrapper>a{
    display: block;
    padding: 15px 0;
    position: relative;
    cursor: pointer;
    color: inherit;
    border-bottom: 1px solid #ddd;
}
.fund-in-show .wrapper>a:after{
    position: absolute;
    right: 10px;
    top: 15px;
    content: " ";
    background: url('../images/ic-arrow-right.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    width: 20px;
    height: 20px;
}
.fund-in-show iframe{
    width:100%;
    height:100vh;
    border: 0;
}
.img-fund-in-default{
    margin: 30px 0;
}
/* howto */
.howto{
    background: #ff9501;
    padding: 30px 0;
}
.howto a{
    display: inline-block;
}
.howto.wecard{
    background: #FFF;
}
.howto h2{
    font-weight: normal;
    font-size: 35px;
    text-align: center;
    color: #000;
    margin-bottom: 20px;
    font-family: 'true';
}
.howto h2 span{
    font-size: 50px;
}
.howto img{
    display: inline-block;
    max-height: 260px;
}
.howto img{
    max-height: none;
}
.howto h3{
    font-family: 'true';
    font-weight: normal;
    font-size: 30px;
    text-align: center;
    color: #363636;
}
.howto p{
    color: #363636;
}
.howto .howto-col>div{
    margin-bottom: 50px;
}

/* summary */
.summary{
    background: #fad132;
}

/* Faq */
.faq{
    background: #484848;
    padding: 30px 0;
}
#accordion .panel{
    margin-bottom: 10px;
}
#accordion .panel .panel-heading{
    padding: 0;
    background: #FFF;
}
#accordion .panel .panel-collapse>.panel-body{
    background: #EFEFEF;
}
#accordion .panel .panel-collapse>.panel-body a:link{
    color: #ff8901;
}
#accordion .panel .panel-collapse>.panel-body a:hover{
    color: #e20000;
}
#accordion .panel .panel-heading h4>a{
    padding: 18px 22px 18px 18px;
    display: block;
    text-decoration: none;
    position: relative;
}
#accordion .panel .panel-heading h4>a:before{
    content: " ";
    width: 20px;
    height: 20px;
    position: absolute;
    right: 5px;
    top: 20px;
    background: url('../images/footer/ic-arrow-active.png') no-repeat;
}
#accordion .panel .panel-heading h4>a.collapsed:before{
    background: url('../images/footer/ic-arrow.png') no-repeat;
}

@media (min-width: 768px){
    .call-video{
        float: none;
    }
    .howto img{
        max-height: 350px;
    }
    .howto .howto-col>div{
        margin-bottom: 0;
    }
    .summary{
        background: #fdda00;
    }
}

@media (min-width: 992px){
    #head-bar .nav-logo{
        padding: 5px 0;
        text-align: left;
    }
    #head-bar .nav-app{
        display: block;
    }
}
@media (max-width: 480px){
    header .navbar-mobile .left{
        left: 30%;
    }
    header .navbar-mobile .right{
        left: 32%;
    }
    /*--------------Surapol*/
    .howto .howto-col img:not(.icon){ 
        width: 65%;
    }

}
@media (max-width: 375px){
    .img-375-100p{
        width: 100%;
    }
    header .navbar-mobile .left{
        left: 25%;
    }
    header .navbar-mobile .right{
        left: 27%;
    }
}
@media (max-width: 340px){
    .img-340-100p{
        width: 100%;
    }

    header .navbar-mobile .left{
        left: 22%;
    }
    header .navbar-mobile .right{
        left: 24%;
    }
    .fund-in-list li img{
        width: 55px;
    }
}