/*樣式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 {
    position: relative;
    display: table;
    text-align: center;
    background: linear-gradient(135deg, #5dceac 0%,#60a4ff 80%);
    margin: 40px auto;
    font-size: 30px;
    padding: 5px 40px;
    letter-spacing: 0.5px;
    line-height: 1.8;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    /*transform: rotate(2deg);*/
}

.scrolling h2 b {
    position: relative;
    margin: 0 auto;
    color: #fff;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    /*transform: rotate(-3deg);*/
    z-index: 2;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}
.scrolling h2::before {
    /*content: '';*/
    width: 40px;
    height: 40px;
    background: url('../images/deco_01.png') top center/100% no-repeat;
    position: absolute;
    transform: rotate(-10deg);
    left: -8px;
    top: -10px;
    z-index: 0;
}
/*.scrolling h2::after {
    content: '';
    width: 100%;
    height: 98%;
    border-radius: 10px;
    border: 2px solid #bf272d;
    font-weight: bold;
    position: absolute;
    left: calc(50% + 5px);
    top: -6px;
    transform: translateX(-50%);
    z-index: -1;
}*/
.scrolling h2 a {
    color: #1d80ae;
}

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

.scrolling h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    margin: 50px auto 30px;
    padding: 3px 30px;
    letter-spacing: 0.5px;
    border-radius: 50px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    display: table;
    line-height: 1.8;
    text-align: center;
    background: #518cd4;
    border: 5px solid #c4d9ff;
}

.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;
}
.scrolling p span {
    color: #fff;
    background: #34495e;
    font-weight: bold;
    padding: 0 15px;
    display: inline-block;
    margin: 0 10px 0 0;
    letter-spacing: 2px;
    border-radius: 50px;
}
.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: rgb(84 181 198);
    color: #ffffff;
    border-radius: 30px;
}

.scrolling ol {
    list-style-type: auto;
    padding-left: 0;
}

.scrolling li {
    letter-spacing: 1.2px;
    line-height: 1.8;
    font-size: 20px;
    font-weight: 400;
    padding: 3px 0;
    text-align: justify;
    margin: 0px 40px 0px 40px;
    color: #434343;
}

.table {
    background: rgba(255, 255, 255, 0.8);
    width: 95%;
    max-width: 1200px;
    margin: 0 auto 20px;
    font-size: 20px;
    letter-spacing: 0.5px;
    line-height: 1.8em;
    border: 5px solid #aac8dd;
}
.table.gold {
    border: 8px solid #d0b36f;
}
.table b {
    width: 150px;
    background: #f5ae0d;
    color: #333;
    display: block;
    padding: 0;
    margin: 5px auto;
}
.table tr th, .table tr td {
    text-align: center;
    vertical-align: middle;
}
.table tr td{
    text-align: left;
}
.table .thead-dark th {
    background-color: #ab8142;
    border-color: #eee;
}
.table th {
    background-color: #71a9cf;
    color: #fff;
    line-height: 1.5em
}
.table tr ol {
    margin: 0;
}
.table.gold th {
    background-color: #f3eedd;
    color: #202332;
    line-height: 1.5em
}
.table td {
    line-height: 1.6em;
}
.table.center tr td{
    text-align: center;
}
@media screen and (max-width: 1024px) {
    .scrolling h2 {
        font-size: 26px;
        margin-bottom: 20px;
        padding: 5px 30px;
    }
    .scrolling p {
        margin: 0 15px;
    }
}
@media screen and (max-width: 768px) {
    .table tr th, .table tr td {
        font-size: 12px;
        padding: 5px;
    }
    .table td {
        line-height: 1.4em;
    }
}
@media screen and (max-width: 600px) {
.scrolling div {
    width: 95%;
}

.scrolling {
    padding: 20px 0 0;
}

.scrolling div {
    margin: 0 auto;
}

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

.scrolling h2 {
    /* color: #242d77;
    color: #A21F23; */
    font-size: 22px;
    line-height: 1.8;
    padding: 5px 20px;
}

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

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

.scrolling img {
    max-width: 100%;
}

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

}
@media screen and (max-width: 450px) {
    .scrolling h2 {
        font-size: 18px;
        line-height: 1.6;
    }
}
