/*樣式boxA by PeggyH 20160729 start*/

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

.scrolling {
    /*min-height: 50vh;*/
    clear: both;
    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.warning {
    background: #f4f4f4;
    padding: 10px 0;
}
.scrolling.warning p {
    letter-spacing: 1px;
}

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

.scrolling h2 {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.8;
    padding: 5px 2%;
    margin: 40px auto;
    display: table;
    position: relative;
    text-shadow: 0 0 3px rgba(0, 0, 0, 1);
    z-index: 1;
}
.scrolling h2::before {
    content: '';
    display: block;
    background: #005C61;
    width: 100%;
    height: 100%;
    position: absolute;
    transform: skewX(-15deg) translateX(-50%);
    left: 50%;
    bottom: 0;
    z-index: -1;
}

.scrolling h2::after {
    content: '';
    display: block;
    background: #76BE5F;
    width: 120%;
    height: 100%;
    border-right: 8px solid #F4E598;
    border-left: 8px solid #F4E598;
    position: absolute;
    transform: skewX(-15deg) translateX(-50%);
    left: 50%;
    bottom: 0;
    z-index: -2;
}

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

.scrolling h3 {
    clear: both;
    color: #fff;
    font-size: 26px;
    font-weight: 500;
    margin: 50px auto 30px;
    padding: 2px 30px;
    letter-spacing: 0.5px;
    display: table;
    line-height: 1.8;
    text-align: center;
    background: #4c92a3;
}

.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.small {
    font-size: 18px;
    line-height: 1.7;
}

.scrolling p span {
    color: #fff;
    background: #ea7d1d;
    font-weight: bold;
    padding: 0 15px;
    display: inline-block;
    margin: 0 10px 0 0;
    letter-spacing: 2px;
    border-radius: 50px;
}
.scrolling p span.red {
    display: inline;
    color: #C8352F;
    background: none;
    font-weight: normal;
    padding: 0;
    margin: 0;
    border-radius: 0;
    letter-spacing: 1;
}
.scrolling p span.blue {
    display: inline;
    color: #2393aa;
    background: none;
    font-weight: normal;
    padding: 0;
    margin: 0;
    border-radius: 0;
    letter-spacing: 1;
}
.scrolling p.note {
    font-size: 18px;
    padding: 0;
    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 a.cta {
    display: inline-block;
    background: linear-gradient(45deg, rgba(68,103,127,1) 0%,rgba(32,46,64,1) 100%);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.8);
    border: 2px solid #fff;
    color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-decoration: none;
    transition: 0.3s;
}
.scrolling a.cta:hover {
    background: linear-gradient(45deg, rgba(32,46,64,1) 0%,rgba(68,103,127,1) 100%);
    color: #fff597 !important;
    transform: scale(1.05);
}

.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: 8px solid #b6b5b2;
}
.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 tr:nth-child(odd) {
    background: #eeeeee;
}

.table .thead-dark th {
    background-color: #ab8142;
    border-color: #eee;
}
.table th {
    background-color: #666461;
    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;
    }

    .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;
}

.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.small {
    font-size: 14px;
    line-height: 1.6;
}
.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;
    }
}
