/*樣式boxA by PeggyH 20160729 start*/

body,html {
    /* important
    height: 100%;*/
}

.scrolling {
    /*min-height: 50vh;*/

    padding: 20px 0;
    position: relative;
}

.scrolling div {
    /*text-align: left;*/
    margin: 20px auto;
    max-width: 1400px;
    width: 100%;
    /*position: absolute;
  top:50%;
  left: 50%;
  transform:translate(-50%,-50%);*/
}

.scrolling h1 {
    font-weight: 500;
    line-height: 1.8;
    margin: 0px 40px;
}

.scrolling h2 {
    color: #01418a;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 1.5px;
    margin: 30px 0 20px;
    padding: 120px 0 10px!important;
    text-align: center;
    position: relative;
    
}
.scrolling h2 span {
    display: table;
    padding: 5px 20px;
    margin: 0 auto;
    border-top: 1px solid #09203a;
    border-bottom: 1px solid #09203a;
}

.scrolling h2::before {
    content: '';
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    animation: wave2 1s infinite ease;
}

.scrolling h2 span b {
    background: #01418a;
    color: #fff;
    font-weight: 600;
    padding: 0px 10px 0px 20px;
    display: inline-block;
    margin: 0 10px 0 0 ;
}
@keyframes wave2 {
    0% {
        top: 0;
    }
    50% {
        top: 5px;
    }
    100% {
        top: 0;
    }
}
.scrolling h2.icon-01::before {
    background: url('../images/icon-01.png') center center/100% no-repeat;
}
.scrolling h2.icon-02::before {
    background: url('../images/icon-02.png') center center/100% no-repeat;
}
.scrolling h2.icon-03::before {
    background: url('../images/icon-03.png') center center/100% no-repeat;
}
.scrolling h2.icon-04::before {
    background: url('../images/icon-04.png') center center/100% no-repeat;
}
.scrolling h2.icon-05::before {
    background: url('../images/icon-05.png') center center/100% no-repeat;
}
.scrolling h2.icon-06::before {
    background: url('../images/icon-06.png') center center/100% no-repeat;
}

ul.communityIcon {
    display: table;
    margin: 0 auto;
}
ul.communityIcon li {
    list-style-type: none;
    display: inline-block;
    margin: 0 25px;
}

ul.communityIcon li a {
    width: 100px;
    display: block;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}
ul.communityIcon li a img {
    width: 100%;
}
ul.communityIcon li a:hover {
    transform: scale(1.15);
}

@keyframes rotate-icon {
    0% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(-10deg);
    }
}

#p_001, #p_003, #p_005, #p_007, #p_009 {
    background: #fff; 
}

.scrolling h3 {
    color: #fff;
    background: #4868af;
    font-size: 24px;
    letter-spacing: 1px;
    margin: 50px auto 30px;
    padding: 2px 30px;
    display: table;
    line-height: 1.8;
    text-align: center;
}

/*QA*/
.scrolling h4 {
    position: relative;
    font-weight: bold;
    color: #01418a;
    background: linear-gradient(to right,rgba(105, 79, 255, 0), rgb(218, 234, 245) 10%,rgba(204, 191, 255, 0) 100%);
    padding: 10px 20px 10px 70px;    
}
.scrolling h4 b {
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    text-align: center;
    font-size: 0.9em;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0 20px 0 0;
    background: #01418a;
    border: 3px solid #ffffff;
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.scrolling h5 {
    color: #E03F19;
    font-weight: 500;
    line-height: 1.8;
    margin: 60px 40px 0px 40px;
}

.scrolling p {
    letter-spacing: 1.2px;
    line-height: 1.8;
    font-size: 20px;
    font-weight: 400;
    padding: 20px 0px;
    text-align: justify;
    margin: 0px 40px 0px 40px;
    color: #434343;
    word-wrap:break-word;
}
.scrolling p.note {
    font-size: 18px;
    padding: 0 0 20px 0px;
    margin: 0;
    color: #777777;
    text-align: center;
}

.scrolling p b {
    display: inline-block;
    padding: 2px 15px 3px;
    margin: 0 10px 10px 0;
    background: #32659d;
    color: #ffffff;
    border-radius: 30px;
    font-weight: 400;
}

.scrolling ul, ol {
    list-style-type: disc;
    padding-left: 20px;
}

.scrolling li {
    letter-spacing: 1.2px;
    line-height: 2;
    font-size: 20px;
    font-weight: 400;
    padding: 0px 0px;
    margin: 0px 40px 0px 25px;
    color: #434343;
    word-wrap:break-word;
}

.caveat {
  margin: 0;
  background-color: #ddd;
}
.caveat p {
  margin: 0;
  line-height: 1.8;
  font-size: 18px;
}
@media screen and (max-width: 499px) {
  .caveat p {
    font-size: 12px;
  }
}
.table {
    background: rgba(255, 255, 255, 0.8);
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 20px;
    letter-spacing: 0.5px;
    line-height: 1.8em;
    font-weight: 400;
}
.table b {
    background: #fff;
    color: #4868af;
    border-radius: 50px;
    display: inline-block;
    padding: 0 10px;
    margin: 5px 10px 0 0;
}
.table tr th {
    text-align: center;  
}
.table tr td {
    padding: 15px;
    text-align: left;
    border-color: #fff;
}
.table tr td span {
    display: inline-block;
    background: #777777;
    color: #fff;
    padding: 1px 10px;
}
.table .thead-dark th {
    background-color: #6d5a2e;
    border-color: #eee;
}
.table th {
    background-color: #4868af;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.5em
}
.table td {
    line-height: 1.6em;
}
@media screen and (max-width: 1024px) {
    .scrolling h2 {
        font-size: 28px;
        margin: 20px auto 10px;
    }
    .scrolling p {
        margin: 0 15px;
    }
}
@media screen and (max-width: 768px) {
    .table tr th, .table tr td {
        font-size: 14px;
        padding: 5px;
    }
    .table td {
        line-height: 1.4em;
    }
    .table li {
        font-size: 14px !important;
        word-wrap: break-word;
    }
}
@media screen and (max-width: 600px) {

.scrolling {
    padding: 20px 10px 0;
}

.scrolling div {
    margin: 0 auto;
}

.scrolling h1 {
    font-weight: 500;
    line-height: 1.4;
    margin: 20px 0;
}

.scrolling h2 {
    font-size: 24px;
}

.scrolling h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 10px auto 20px;
    line-height: 1.8;
}

.scrolling h4 {
    font-size: 17px;
    padding: 10px 20px 10px 50px;
}
.scrolling h4 b {
    font-size: 0.9em;
    width: 40px;
    height: 40px;
    line-height: 32px;
}

.scrolling h5 {
    font-weight: 500;
    margin: 0px auto;
    line-height: 1.8;
}

.scrolling img.img-fluid {
    margin-bottom: 20px;
}

.scrolling p {
    letter-spacing: 1.2px;
    line-height: 1.8;
    font-size: 18px;
    font-weight: 400;
    padding: 15px 0px;
    text-align: justify;
    color: #595959;
}
.scrolling p.note {
    font-size: 16px;
}
.scrolling ul, ol {
    padding-left: 0px;
}
.intro_2 {
    font-size: 18px;
    font-weight: normal;
}

}

