/*! normalize.css v3.0.2 | MIT License | git.io/normalize */


/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-family: sans-serif;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

*,
*:after,
*:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/**
 * Remove default margin.
 */

body {
    margin: 0;
    font-family: '微軟正黑體', Helvetica, Arial, sans-serif;
    color: #222;
}


/* HTML5 display definitions
   ========================================================================== */


/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}


/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
    display: inline-block;
    /* 1 */
    vertical-align: baseline;
    /* 2 */
}


/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}


/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
    display: none;
}


/* Links
   ========================================================================== */


/**
 * Remove the gray background color from active links in IE 10.
 */

a {
    background-color: transparent;
}


/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}


/* Text-level semantics
   ========================================================================== */


/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}


/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
    font-weight: bold;
}


/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
    font-style: italic;
}


/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}


/**
 * Address styling not present in IE 8/9.
 */

mark {
    background: #ff0;
    color: #000;
}


/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
}


/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}


/* Embedded content
   ========================================================================== */


/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
    border: 0;
}


/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
    overflow: hidden;
}


/* Grouping content
   ========================================================================== */


/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
    margin: 1em 40px;
}


/**
 * Address differences between Firefox and other browsers.
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}


/**
 * Contain overflow in all browsers.
 */

pre {
    overflow: auto;
}


/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}


/* Forms
   ========================================================================== */


/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */


/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    /* 1 */
    font: inherit;
    /* 2 */
    margin: 0;
    /* 3 */
}


/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
    overflow: visible;
}


/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
    text-transform: none;
}


/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"],

/* 1 */

input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
    cursor: pointer;
    /* 3 */
}


/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}


/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}


/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
    line-height: normal;
}


/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}


/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}


/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    /* 2 */
    box-sizing: content-box;
}


/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}


/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}


/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
    border: 0;
    /* 1 */
    padding: 0;
    /* 2 */
}


/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
    overflow: auto;
}


/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
    font-weight: bold;
}


/* Tables
   ========================================================================== */


/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*LOGO*/
.logo a{
    display: inline-block;
    position: relative;
    z-index: 1;
}
/*Lottery*/

.lottery-list {
    margin-left: -10px;
    margin-right: -10px;
    position: relative;
}

.lottery-list li {
    display: inline-block;
    vertical-align: top;
    position: relative;
    padding: 0 9px;
}

.hover-img {
    display: none;
}

.btn-line-white {
    border-radius: 20px;
    width: 115px;
    padding-top: 5px;
    padding-bottom: 3px;
    margin-top: 5px;
    box-shadow: none;
    background-color: transparent;
    color: #ffffff;
    touch-action: manipulation;
    cursor: pointer;
    border: 1px solid #fff;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: auto;
    text-decoration: none;
}

.lottery-list li:hover .btn-line-white {
    -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.3);
}

.register-wrapper {
    background-color: rgba(252, 252, 253, 0.29);
    width: 1190px;
    min-height: 500px;
    border-radius: 10px;
    border: 1px solid #fff;
    font-size: 18px;
    line-height: 18px;
    padding: 30px;
}

.register-wrapper p {
    text-align: left;
    line-height: 30px;
}
.register-wrapper  table{
    margin: 10px 0;
}
.register-wrapper table tr, .register-wrapper table tr td{
    height:34px !important;
}
.register-wrapper table a{
    text-decoration: none;
    display: inline-block;
    width:100px;
    height: 28px;
    line-height: 28px;
    color:#fff;
    border-radius: 5px;
    font-size: 16px;
}
.register-wrapper table td{
    position: relative;
}
.register-wrapper table td .barbg{
    width: 275px !important;
    text-align: left;
}
.register-wrapper table td .bar{
    z-index: 1;
    position: relative;
    -webkit-animation: mymove 0.8s infinite;
}
@keyframes mymove
{
    0% {width:267px;}
    25% {width:240px;}
    50% {width:220px;}
    75% {width:240px;}
    100% {width:267px;}
    }

@-moz-keyframes mymove /* Firefox */
{
    0% {width:267px;}
    25% {width:240px;}
    50% {width:220px;}
    75% {width:240px;}
    100% {width:267px;}
    }

@-webkit-keyframes mymove /* Safari ºÍ Chrome */
{
    0% {width:267px;}
    25% {width:240px;}
    50% {width:220px;}
    75% {width:240px;}
    100% {width:267px;}
    }

@-o-keyframes mymove /* Opera */
{
    0% {width:267px;}
    25% {width:240px;}
    50% {width:220px;}
    75% {width:240px;}
    100% {width:267px;}
    }
.register-wrapper table td .bar-bg{
    background-color:rgba(252, 252, 253, 0.29);
    border: 1px solid #fff;
    border-radius: 5px;
    position: absolute;
    width: 275px;
    height: 30px;
    left: -3px;
    top: -3px;
    z-index: 0;
}
.register-wrapper table td:nth-child(2) a{
    background-color: #31a5fc;
    border:1px solid #31a5fc;
}
.register-wrapper table td:nth-child(2) a:hover{
    color:#31a5fc;
    background-color: transparent;
}
.register-wrapper table td:nth-child(3) a{
    background-color:#705be5;
    border:1px solid #705be5;
}
.register-wrapper table td:nth-child(3) a:hover{
    color:#705be5;
    background-color: transparent;
}
.register-wrapper .wp-block-columns p{
    text-align: center;
    font-weight: bold;
}
/*single*/
.main-post{
    position: relative;
    display: inline-block;
    margin:150px  auto 50px auto;
    width:1190px;
    min-height: 705px;
}
.main-post+.footer{
    position: relative;
}
.single-left, .single-right{
    float:left;
    text-align: left;
}
.single-left{
    width: 890px;
    padding:10px 30px 0 10px;
}

.single-left .cat-title{
    width:100%;
    border-bottom: 2px solid #fff;
    line-height: 18px;
    margin-bottom: 15px;
}
.single-left .cat-title a{
    text-decoration: none;
    color:#373636;
    font-size: 18px;
    position: relative;
}
.single-left .cat-title a:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #35bff8;
    bottom: -5px; 
}
.post-title{
    color:#373636;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 15px;
    font-weight: bold;
}
.post-desc, .post-vistor{
    color:#898888;
    font-size: 14px;
    line-height: 18px;
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
}

.post-line{
    position:relative;
}
.post-line:before{
    content:"";
    position:absolute;
    width: 100%;
    height:2px;
    background-color: #fff;
    bottom: -25px;
}
.post-content{
    font-size: 14px;
    line-height: 26px;
}
.post-content img{
    max-width:100%;
}
.single-right{
    width: 300px;
    background-color: rgba(252,252,253,0.29);
    border:1px solid #fff;
    height:100%;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    line-height: 20px;
    color:#595859;
}
.single-right .widget_recent_entries h3{
    display: none;
}
.right-title, .widget_tag_cloud h3{
    margin: 25px 0 ;
    line-height: 24px;
    border-bottom: 2px solid #fff;
}
.single-right .hot-info li{
    counter-increment: custom;
    position: relative;
    margin: 7px 0;
}
.single-right .hot-info li:before{
    content: "";
    width: 20px;
    height: 20px;
    background-color: rgba(252,252,253,0.48);
    position: absolute;
    border: 1px solid #fff;
    left: 0;
    content: counter(custom) " ";   
}
.single-right .hot-info li:first-child{
    counter-reset: custom;
}
.single-right .hot-info li a{
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 240px;
    color:#595859;
    text-align: left;
    vertical-align: middle;
    padding-left:15px;
}

#postNextPrev a{
    text-decoration: none;
    color:#595859;
    font-size: 14px;
    line-height: 30px;
}
.single-right .hot-info li a:hover, #postNextPrev a:hover{
    color:#35bff8;   
}
.article-nav-prev, .article-nav-next{
    border-bottom:1px solid #a8a7a5;
}
/*标签云*/
    .tagcloud a {
    display: inline-block;
    float: left;
    margin: 8px 4px 0 4px;
    padding: 5px 10px;
    background-color: rgba(252,252,253,0.48);
    border:1px solid #fff;
    font-size: 14px !important;
    white-space: nowrap;
    color: #595859;
    text-decoration: none;
    }
    .tagcloud a:hover {
    color: #35bff8;
    }
/*page-default*/
.catlist>li{
    margin: 20px 0;
    border-bottom:1px solid  #919090;
    height: 170px;
}
.list-img{
    position: relative;
    margin-right: 20px;
    width: 175px;
    height: 135px;
}
.list-img a{
    text-decoration: none;
}
.list-img img{
    width:155px;
    height:110px;
    position: relative;
    z-index: 1;
    margin: 10px;
}
.list-img:after{
    content: "";
    width: 175px;
    height: 135px;
    background-color: rgba(252,252,253,0.48);
    position: absolute;
    border: 1px solid #fff;
    left:0;
    z-index: 0;
}
.list-desc{
    display: inline-block;
    padding-top: 10px;
    vertical-align: top;
    width: 640px;
}
.list-title a{
    text-decoration: none;
    color:#252424;
    font-size: 18px;
    font-weight: bold;
}
.list-date{
    display: block;
    color:#898888;
    font-size: 14px;
    line-height: 18px;
    margin-top: 10px;
}
.list-date img{
    vertical-align: middle;
    margin: 0 5px;
}
.list-date ul{
    display: inline-block;
}
.list-excerpt{
    font-size: 14px;
    margin-top: 10px;
    line-height: 24px;
    display: inline-block;
}
.single-left .tag-title{
    width:100%;
    border-bottom: 2px solid #fff;
    line-height: 18px;
    margin-bottom: 15px;
    text-decoration: none;
    color:#373636;
    font-size: 18px;
    position: relative;
}
.single-left .tag-title span{
    color:#373636;
    font-size: 18px;
    position: relative;
    display: inline-block;
}
.single-left .tag-title span:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #35bff8;
    bottom: -5px; 
}
#breadcrumbs{
    text-align: right;
}
#breadcrumbs a{
    text-decoration: none;
    color:#5e5e5e;
}

/*------------------
    分頁部分的CSS
------------------*/
.paginate-links span, .paginate-links a{
    width: 27px;
    height: 27px;
    line-height: 27px;
    display: inline-block;
    margin: 0 2px;
    border-radius: 4px;
    border: none;
    color: #5e5e5e;
    text-align: center;
    text-decoration: none;
}
.paginate-links a:hover{
    border: 1px #39b5e7 solid;
    background-color: transparent;
    color: #39b5e7;
}
.paginate-links span{
    border: 1px #39b5e7 solid;
    background-color: #39b5e7;
    color: #fff;
    border-radius: 4px
}
/*------------------
    404的CSS
------------------*/
.main-404{
    position: absolute;
    height: 500px;
    display: inline-block;
    vertical-align: middle;
    margin: auto;
    width: 1190px;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    -webkit-box-shadow: -2px 11px 32px -13px rgba(0,0,0,0.45);
    -moz-box-shadow: -2px 11px 32px -13px rgba(0,0,0,0.45);
    box-shadow: -2px 11px 32px -13px rgba(0,0,0,0.45);
    color:#5e5e5e;
}
.w3layouts-errortext{
    padding-top: 7em;
    text-align: center;
} 
.w3layouts-errortext h2{
    font-size: 14em;
    letter-spacing: 20px;
}
.w3layouts-errortext h1{
    font-size: 18px;
    line-height: 50px;
    margin: 30px 0;
}  
.text a{
    line-height: 18px;
    text-decoration: none;
    padding: 6px 14px;
    margin: 1px 20px 0 20px;
    border: 1px solid #5e5e5e;
    border-radius: 14px;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    -moz-transition: 0.2s ease-out;
    -webkit-transition: 0.2s ease-out;
    display: inline-block;
    font-size: 14px;
    color:#5e5e5e;
}
.text a:hover,.text a:active {
    color: #39b5e7;
    border-color:#39b5e7;
}