﻿body {
}

/*加入 自定 字體*/
@font-face{
    font-family:"DMSans";
    src:url("../Assest/fonts/DMSans-Regular.ttf");
}
@font-face{
    font-family:"siyuanSong";
    src:url("../Assest/fonts/思源宋体-Light.otf");
}
body {
    font-size:14px;
    font-family:siyuanSong,Arial,sans-serif;

}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
.word-white{
    color:#fff;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


/** home  */

 .jumbotron {
    background-image: linear-gradient(to bottom, rgb(0 0 0 / 48%), rgb(255 255 255 / 0%)), url('../Content/images/bg-11.jpg');
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: white;
    margin:30px 0;
}
 /*------letter ---letter-  letter     */
.letter-container {
    margin: 0 16rem;
}

.letter-border {
    /*width: 100%;*/
    padding: 3px;
    box-sizing: border-box;
    background: linear-gradient(45deg,#f25953 12.5%,#fbfaf5 12.5%,#fbfaf5 25%,#5590d6 25%,#5590d6 37.5%,#fbfaf5 37.5%,#fbfaf5 50%,#f25953 50%,#f25953 62.5%,#fbfaf5 62.5%,#fbfaf5 75%,#5590d6 75%,#5590d6 87.5%,#fbfaf5 87.5%,#fbfaf5 100%);
    background-size: 70px 70px;
}

.letter-body {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    background-image: linear-gradient(#e7e6e6 1px, transparent 0), linear-gradient(90deg, #e7e6e6 1px, transparent 0);
}

.letter-content .letter-txt {
    background-color: #fff;
    background-image: linear-gradient(#8b8b8b 1px, #cd9f9f00 0), linear-gradient(176deg, #b78f8f00 1px, transparent 0);
    background-size: 4rem 4rem;
    background-position-y: -5px;
    /* background-position: center;*/
}

.letter-content {
    padding: 30px 60px;
}

.letter-content h3 {
    margin-bottom: 30px;
}

.letter-content p {
    font-size:1.6rem;
    position: relative;
    line-height: 4rem;
    margin: 0;
}
.letter-content p.p-apptitle{
    padding-left:20px;
} 
.letter-content p.p-apptxt{
    padding-left:40px;
} 
.letter-content p::after {
    /* content: "";*/
    position: absolute;
    width: 100%;
    border-bottom: 1px solid #b7b7b7;
    left: 0;
    top: 28px;
}
.letter-app{
    padding:20px 50px;
}
.letter-app .tb-appfun{
    width:100%;
    border-collapse:collapse;
    border: 1px solid black;
}
.letter-app .tb-appfun tr td{
    border: 1px solid black;
    height:150px;
    width:50%;
    padding:20px;
    text-align: left;
    vertical-align: top;
    padding: 20px;
}
.letter-app .tb-appfun h5{
    font-weight:bold;
}
.letter-app .tb-appfun p{
    margin:0;
    font-size:14px;
    line-height:normal;
    padding-left:18px;
}
.letter-appdesc{
    margin-top:20px;
}
.letter-appdesc p{
    line-height:3rem;
}
.letter-bottom{
    margin-top:5rem;
    text-align:right;
}
.letter-bottom p{
    line-height:3rem;
}
 /*     letter end        */
 .margintop50{
    margin-top:50px;
}
 /*頭部導航條*/

.mainbar{
    background: #ECE9E6;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #FFFFFF, #fff);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #FFFFFF, #fff); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    box-shadow: 1px 1px 5px 2px #dddddd;
}
.left-bar{
   
}
body .navbar-default .left-bar > li > a{
    color:#fff;
    font-size:2.2rem;
}
body .mainbar .left-bar > li > a{
    color:#337ab7;
    font-size:1.6rem;
}
body .navbar-default .left-bar > li > a:hover,
body .navbar-default .left-bar > li > a:focus,
body .navbar-default .navbar-right #a_login:hover
 {
    text-decoration: none;
    color:#000;
    background-color: #edda55;
}
body .navbar-default .navbar-right #a_login{
    background: #1cb99cd6;
    margin: 0 20px;
    color: #fff;
    font-size:1.8rem;
    letter-spacing: 3px;
}

.dropdown-menu .language{
    background-position: left 2px;
    padding-left: 30px;
}
.dropdown-menu > li > a {
    padding: 3px 8px;
}
 /*頭部導航條  end  */
.flex-center{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#ecbook-content{
    padding:0 5rem;
}
#ecbook-content #ec-title{
    margin-top:20rem;
    margin-bottom:5rem;
    text-align:center;
    color:#1f67a7;
}

.section{
    margin-bottom:10rem;
}

.section h4{
    font-size:2rem;
    margin-bottom:5px;
    letter-spacing:1px;
    color: #174966;
}
.section .hrleftshortline{
    width: 100px;
    /*border: 2px solid #9ed31f;*/
    height: 4px;
    margin-left: 2px;
    margin-top:10px;
    margin-bottom:20px;
    background: #4CB8C4;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #3CD3AD, #4CB8C4);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #3CD3AD, #4CB8C4); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.section ul{margin-bottom:40px;}
.section ul>li{
    font-size:1.5rem;
    letter-spacing:1px;
    margin-bottom:10px;
}
.section .imgarea{
    padding:20px;
}
.section .imgarea img{
    width:85%;
}

/* 信封 */
.letter-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    cursor: pointer;
}
.animated-mail {
    position: absolute;
    height: 150px;
    width: 200px;
    transition: 0.4s;
}
/* 信封部分 一 */

.animated-mail .body {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 100px 200px;
    border-color: transparent transparent #e95f55 transparent;
    z-index: 2;
}



.animated-mail .top-fold {
    position: absolute;
    top: 50px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 100px 0 100px;
    transform-origin: 50% 0%;
    transition: transform 0.4s 0.4s, z-index 0.2s 0.4s;
    border-color: #cf4a43 transparent transparent transparent;
    z-index: 2;
}



/* 信封部分 二 */

.animated-mail .back-fold {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 100px;
    background: #cf4a43;
    z-index: 0;
}

.animated-mail .left-fold {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 0 50px 100px;
    border-color: transparent transparent transparent #e15349;
    z-index: 2;
}
/* 信纸部分 */

.animated-mail .letter {
    left: 20px;
    bottom: 0px;
    position: absolute;
    width: 160px;
    height: 60px;
    background: white;
    z-index: 1;
    overflow: hidden;
    transition: 0.4s 0.2s;
}
 .animated-mail .letter .letter-border {
     height: 10px;
     width: 100%;
     background: repeating-linear-gradient( -45deg, #cb5a5e, #cb5a5e 8px, transparent 8px, transparent 18px );
 }
 /*信纸部分 二*/
 .animated-mail .letter .letter-title {
     margin-top: 10px;
     margin-left: 5px;
     height: 10px;
     width: 40%;
     background: #cb5a5e;
 }

 .animated-mail .letter .letter-context {
 margin-top: 10px;
 margin-left: 5px;
 height: 10px;
 width: 20%;
 background: #cb5a5e;
 }
 .animated-mail .letter .letter-stamp {
     margin-top: 30px;
     margin-left: 120px;
     border-radius: 100%;
     height: 30px;
     width: 30px;
     background: #cb5a5e;
     opacity: 0.3;
 }
/*信封阴影*/
.shadow {
    position: absolute;
    top: 200px;
    left: 50%;
    width: 400px;
    height: 30px;
    transition: 0.4s;
    transform: translateX(-50%);
    border-radius: 100%;
    background: radial-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) );
}
/*打开*/
.animated-mail {
    transform: translateY(50px);
}
.animated-mail .top-fold {
    transition: transform 0.4s, z-index 0.2s;
    transform: rotateX(180deg);
    z-index: 0;
}
.animated-mail .letter {
    height: 180px;
}
.shadow {
     width: 250px;
 }

/* end  */
.section-step{
    
    padding: 50px 10rem;
    position:relative;
    background: #e1efef;
    background: -webkit-linear-gradient(to bottom, #ffffff, #abbaab);
    background: linear-gradient(to bottom, #e1efef, #fbf8f8);
}
.section-step::before{
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top:0;
    width:20px;
    transform: translateX(-50%);
    display: inline-block;
    background-color: #fff;
    height: 28px;
    box-shadow: 68px 0 0 0 #fff, calc(68px * 2) 0 0 0 #fff, calc(68px * 3) 0 0 0 #fff, calc(68px * 4) 0 0 0 #fff, calc(68px * 5) 0 0 0 #fff, -68px 0 0 0 #fff, calc(68px * -2) 0 0 0 #fff, calc(68px * -3) 0 0 0 #fff, calc(68px * -4) 0 0 0 #fff, calc(68px * -5) 0 0 0 #fff;
}

.section-step h2{
    text-align:center;
    font-size:3.6rem;
    letter-spacing:1px;
}
.section-step hr{
    width:50px;
    height: 4px;
    margin-bottom:30px;
    background: #4CB8C4;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #3CD3AD, #4CB8C4);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #3CD3AD, #4CB8C4); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.section-btn{
    margin:0 50px;
    padding: 50px;
    background: #4CB8C4;
    background: -webkit-linear-gradient(to top, #3CD3AD, #4CB8C4);
    background: linear-gradient(to top, #3CD3AD, #4CB8C4);
    background: linear-gradient(to bottom, #3CD3AD, #ffffff);

}
.section-btn .btn{
    padding:10px 16px;
}

/*pay*/
.pay_info {
    padding: 10px 20px;
    background: #5a5a5a47;
    color: #fff;
    margin-top: 50px;
    border-radius:5px;
}
.pay_info h2 {
    display: inline-block;
    color:#ffe004;
    letter-spacing: 2px;
}
.paybox hr {
    width: 80px;
    margin-left: 0;
    margin-top: 0;
    border-width: 2px;
}
.pay_info hr {
    margin-top:0;
    margin-bottom:30px;
}
.pay_info table>tbody>tr>td:first-child{width:80px;}
.paybox h4 {
    font-weight:600;
}
.paybox p{
    white-space: nowrap;
}
.paybox .leftline {
    border-left: 1px solid #fff;
}
/*pay end */


 @media only screen and (max-width:600px)
 {
     .letter-container{
         margin:0;
     }
     .letter-content {
        padding: 30px;
    }
     .letter-app {
        padding: 20px 0;
    }
     .letter-app .tb-appfun tr td {
         padding:5px 3px;
       }
     .letter-app .tb-appfun p {
         padding-left: 0; 
    }
     .margintop50{
         margin-top: 5px;
     }
 }