﻿/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 30 2023 | 12:10:18 */
.entry-content h1, 
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 0;
	margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	scroll-margin-top: 100px !important;
}

a {
	line-height: 1.2;
	outline: none !important;
}

ul {
	margin: 0px;
	list-style: none;
}

header.sticky {
	position: fixed;
	width: 100%;
	top: 0;
	animation: smoothScroll 0.5s forwards;
}

@keyframes smoothScroll {
	0% {
		transform: translateY(-40px);
	}
	100% {
		transform: translateY(0px);
	}
}

.slick-slider figure {
	display: inline-block;
}

.slick-list {
	overflow: hidden;
}

.post-query-loop ul li {
	padding: 0px !important;
	flex: 1;
}

.post-query-loop ul {
	gap: 0 !important;
}

.hidden {
	display: none;
}

.post-contents .post-tags a {
	padding: 4px 8px;
	background-color: #cd861a;
	border-radius: 15px;
}

.post-contents .post-tags {
	margin-top: 20px;
}

.read-more {
	padding: 6px 10px;
	background-color: #cd861a;
	cursor: pointer;
}

.ast-mobile-header-wrap .ast-header-html-2 {
	background-color: none;
	padding: 10px 0px;
}

.ast-mobile-header-wrap .ast-header-html-2 .ast-header-html {
	flex: 1;
}

.mobile-register-game-wrapper {
	display: flex;
    justify-content: center;
    width: 100%;
}

@media screen and (min-width: 600px) {
	.hidden-desktop {
		display: none !important;
	}
	
	.bloock--barract h2,
	.block--sports-lottery h2 {
		text-align: left;
	}
	
	.block--barract h2::after,
	.block--news h2::after,
	.block--sports-lottery h2::after {
		content: '';
		display: block;
		width: 100%;
		height: 3px;
		background-color: #cd861a;
		margin-top: 2px;
	}
}

@media screen and (max-width: 599px) {
	.hidden-mobile {
		display: none !important;
	}
	
	.block--service__single-group .wp-block-media-text__content {
		padding: 0 0 0 8% !important;
	}
	
	.post-media-title {
	display: flex;
	}

	.post-media-title figure {
		flex: 0 0 30%;
	}
	
	.post-media-title figure img {
		border-radius: 10px;
	}
	
	.post-media-title .post-media-title__title {
		flex: 0 0 70%;
	}
	
	.post-media-title .post-media-title__title p {
		margin-block-start: 0 !important;
	}
	
	.post-media-title__title {
		position: relative;
		margin-top: 0px;
		margin-left: 10px;
		margin-block-start: 0 !important;
	}
	
	.toggle-excerpt-container {
		position: absolute;
		right: 20px;
		bottom: 25px;
		cursor: pointer;
		margin-block-start: 0 !important;
	}

	.toggle-excerpt {
		width: 15px;
	}
	
	.block--service {
		margin-top: 30px;
	}
	
}


/* Custom archieve page */
.ast-archive-description,
.ast-right-sidebar #primary,
.ast-right-sidebar #secondary {
	border: none !important;
}

.archive .ast-archive-description,
.search-results .ast-archive-description,
.search-no-results .ast-archive-description {
	background-color: transparent !important;
}

.archive .ast-archive-description .ast-archive-title,
.search-results .ast-archive-description .ast-archive-title,
.search-no-results .ast-archive-description .ast-archive-title {
	color: #ffffff;
	text-align: center;
}

.archive .archive-navigation-menu,
.search-results .archive-navigation-menu,
.search-no-results .archive-navigation-menu {
	padding: 0 20px;
	margin: 0 auto 30px;
}

.archive .archive-navigation-menu__container,
.search-results .archive-navigation-menu__container,
.search-no-results .archive-navigation-menu__container {

	display: flex;
	justify-content: space-between
}

.archive .archive-navigation-menu__container li,
.search-results .archive-navigation-menu__container li,
.search-no-results .archive-navigation-menu__container li {
	flex: 1;
	text-align: center;
}

.archive .archive-navigation-menu__container img,
.search-results .archive-navigation-menu__container img,
.search-no-results .archive-navigation-menu__container img,
.home .block--navigation img {
	width: 80px;
}

.archive .ast-archive-description p {
	text-align: center;
	display: none;
}

.archive .post-container,
.search-results .post-container,
.search-no-results .post-container {
	margin-bottom: 40px !important;
}

@media screen and (min-width: 600px) {
	
	.archive .ast-archive-description {
		margin-bottom: 20px;
	}

	.archive .ast-archive-description p {
		display: block;
	}
}

@media screen and (min-width: 600px) and (max-width: 921px){

	.archive .ast-archive-description p,
	.search-results .ast-archive-description p,
	.search-no-results .post-container {
		font-size: 12px;
	}
	.archive .ast-archive-description .ast-archive-title {
		margin-bottom: 12px;
	}
	.archive .archive-navigation-menu__container img,
	.search-results .archive-navigation-menu__container img,
	.search-no-results .archive-navigation-menu__container img,
	.home .block--navigation img{
		width: 100px;
	}
}
@media screen and (min-width: 922px) {
	.archive .ast-archive-description {
		margin-bottom: 50px;
	}

	.archive .ast-archive-description .ast-archive-title {
		margin-bottom: 26px;
	}
	
	.archive .archive-navigation-menu,
	.search-results .archive-navigation-menu,
	.search-no-results .archive-navigation-menu,
	.archive .breadcrumb,
	.search-results .breadcrumb,
	.search-no-results .breadcrumb {
		max-width: 1200px;
	}
	
	.archive .archive-navigation-menu__container img,
	.search-results .archive-navigation-menu__container img,
	.search-no-results .archive-navigation-menu__container img,
	.home .block--navigation img {
		width: 145px;
	}
	
	.single-post .widget-area.secondary {
		margin-top: 300px !important;
	}
}
@media screen and (min-width: 1200px) {
	.ast-separate-container .ast-article-single {
		padding: 0px;
	}

	.archive .ast-archive-description,
	.search-results .ast-archive-description,
	.search-no-results .ast-archive-description {
		padding-bottom: 0px;
	}
	
	.single-post .widget-area.secondary {
		margin-top: 250px !important;
	}
}

/* custom sidebar widget */
.sidebar-search-container .wp-block-search__inside-wrapper {
	flex-direction: row-reverse;
	border: none !important;
	border-radius: 20px;
	box-shadow: 5px 7px 5px 0px rgb(100 100 100 / 50%);
}

.sidebar-search-container .wp-block-search__inside-wrapper button {
	background-color: transparent !important;
	padding: 0;
}

.sidebar-search-container .wp-block-search__inside-wrapper input {
	background-color: transparent !important;
	color: #ffffff !important;
	border:none;
}


/*  Custom query block */

.post-container {
	margin-bottom: 50px;	
}
.post-container__title {
	color: #E2CB87;
	font-weight: 600;
}
.post-container__viewed {
	font-size: 15px;
}
.post-container__desktop-contents {
	display: flex;
	position: relative;
}

.post-container__image-container {
	flex-basis: 50%;
}

.post-container__image-container img {
	border-radius: 10px;
}

.post-container__meta-container {
	flex-basis: 65%;
	padding: 0 12px;
}

.post-container__excerpt {
	margin-top: 0px;
	font-weight: 600;
	text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.post-container__tags {
	margin-top: 16px;
}
.post-container__tags ul li:nth-child(-n+3){
	    display: block;
}

.post-container__tags ul > li::before{
	display:none;
}

.post-container__tags ul {
	display: flex;
	justify-content: start;
	flex-wrap: wrap;
}

.post-container__tags ul li {
	padding: 0px 14px;
	background-color: #cb8901;
	border-radius: 18px;
	margin-right: 6px;
	margin-bottom: 6px;
	height: 28px;
	transition: all 0.3s ease;
	display: none;
}

.post-container__tags ul li:hover {
	background-color: #ffffff;
}

.post-container__tags ul li:hover a{
	color: #cb8901 !important;
}

.post-container__tags ul li a {
	color: #ffffff !important;
	font-size: 12px;
	display: block;
	line-height: 28px;
}

/*  Custom homepage query block */

@media screen and (min-width: 600px) {
	.post-container__image-container {
		flex-basis: 40%;
	}

	.post-container__meta-container {
		flex-basis: 60%;
	}

	.post-container__tags {
		margin-top: 24px;
	}
	.block-highlights-grid-box-mob {
		display: grid; 
  		grid-template-columns: repeat(2, 1fr); 
  		grid-template-rows: repeat(2, 1fr); 
		gap: 6px 30px; 
	}
	.block-highlights-grid-box-mob .post-container:nth-child(1){
		grid-area: 1 / 1 / 3 / 2;
	}
	.block-highlights-grid-box-mob .post-container:nth-child(1) .post-container__desktop-contents{
		display: block;
	}
	.block-highlights-grid-box-mob .post-container:nth-child(2){
		grid-area: 1 / 2 / 2 / 3;;
	}
	.block-highlights-grid-box-mob .post-container:nth-child(3){
		grid-area: 2 / 2 / 3 / 3;;
	}
}

@media screen and (max-width: 921px) {
	.block-highlights-grid-box-mobile {
		display: block;
	}
	.block-highlights-grid-box-desktop {
		display: none !important;
	}
}

@media screen and (min-width: 922px) {
	.block-highlights-grid-box-mobile {
		display: none !important;
	}
	.block-highlights-grid-box-des {
		display: grid; 
  		grid-template-columns: repeat(3, 1fr); 
  		grid-template-rows: repeat(2, 1fr); 
  		gap: 0px 20px; 
	}
	.block-highlights-grid-box-des .post-container {
		margin-top: 0;
	}
	.block-highlights-grid-box-des .post-container:nth-child(1){
		grid-area: 1 / 1 / 3 / 2; 
	}
	.block-highlights-grid-box-des .post-container:nth-child(1) .post-container__desktop-contents {
		display: block
	}
	.block-highlights-grid-box-des .post-container:nth-child(2){
		grid-area: 1 / 2 / 2 / 3;
	}
	.block-highlights-grid-box-des .post-container:nth-child(3){
		grid-area: 1 / 3 / 2 / 4; 
	}
	.block-highlights-grid-box-des .post-container:nth-child(4){
		grid-area: 2 / 2 / 3 / 3;
	}
	.block-highlights-grid-box-des .post-container:nth-child(5){
		grid-area: 2 / 3 / 3 / 4;
	}
}

/*  Custom homeplate block title */

@media screen and (min-width: 600px) {
	.block--news__title,
	.block--barract__title, 
	.block--sports-lottery__title {
		display: flex;
		justify-content: space-between;
		align-items: center
	}


	.block--news__title a,
	.block--barract__title a,
	.block--sports-lottery__title a {
		margin-top: 0;
		display: flex;
	}	
}

/*  Custom homepage news block*/

.block--news__posts h2 {
	font-size: 22px;
}

.block--news__posts a {
	color: #ffffff;
	transition: transform .2s;
}

.block--news__posts a:hover {
	transform: scale(1.02);
}

.block--news__posts li {
	padding: 15px !important;
	background: linear-gradient(to right, #A07C50, #302419) !important;
	margin-bottom: 24px !important;
	position: relative;
}

.block--news__posts li::before {
	content: '';
	display: block;
	width: 38px;
	height: 100%;
	background-color: #E2CB87;
	position: absolute;
	left: -38px;
	top: 0;
}

/*  Custom Homepage QA */
.block--qna-group {
	padding: 40px 80px;
	border-radius: 48px;
	background-color: #302419;
}

.block--qna-group p {
	margin-top: 12px !important;
}

.block--qna-group .wp-block-buttons {
	margin-top: 4px !important;
}

.block--qna-group .wp-block-buttons a:hover {
	color: #ffffff !important;
	background-color: #CF262C !important;
}

@media screen and (max-width: 921px) {
	.block--qna-group {
		display: none;
	}
}

/*  Custom post page bottom comp */
.custom-bottom {
	padding: 0 20px;
	margin: 0 auto 60px;
}
.custom-bottom__image-wrapper img {
	width: 100%;
	border-radius: 15px;
}

.custom-bottom__image-wrapper img:hover{
	animation-name:pulse-grow;
	animation-duration:0.5s;
	animation-iteration-count:infinite;
	animation-timing-function:linear;
}

@keyframes pulse-grow {
  to {
    transform: scale(1.1);
  }
}
.pulse-grow {
  display: inline-block;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.pulse-grow:hover {
  animation-name: pulse-grow;
  animation-duration: 0.5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.custom-bottom__links {
	margin: -30px 16px 60px 16px;
	text-align: center;
}

.custom-bottom__links_line_yt {
	margin-bottom:20px;
	text-align: center;
}

/****test-1102****/
.custom-bottom__links_line_yt{
	text-align:center;
	margin-top: 10px;
}

.btn_fab{
  color: #fff;
  text-transform: uppercase;
  font-family:'Lato', sans-serif;
  letter-spacing: 5px;
  font-size: 12px;
  border: 2px solid #fff;
  padding: 15px 25px;
  position: relative;
  cursor: pointer;
}

.btn_fab2{
  color: #fff;
  text-transform: uppercase;
  font-family:'Lato', sans-serif;
  letter-spacing: 5px;
  font-size: 12px;
  border: 2px solid #fff;
  padding: 15px 25px;
  position: relative;
  cursor: pointer;
}

.custom-bottom__links_line_yt a{
  text-decoration:none;
}

.btn_fab:hover{
  animation-name: change-background;
  animation-duration: .3s;
  -webkit-animation-delay: .3s; /* Chrome, Safari, Opera */
  animation-delay: .3s;
  animation-fill-mode: forwards;
}

.btn_fab2:hover{
  animation-name: change-background2;
  animation-duration: .3s;
  -webkit-animation-delay: .3s; /* Chrome, Safari, Opera */
  animation-delay: .3s;
  animation-fill-mode: forwards;
}

@-webkit-keyframes change-background {
    0%   {background: transparent;}
    100% {background: #82D900; color: #000;}
}

@-webkit-keyframes change-background2 {
    0%   {background: transparent;}
    100% {background: #FF2D2D; color: #000;}
}

.btn_fab:before{
  position: absolute;
  content:"";
  width: 10px;
  height: 2px;
  left:0;
  top:22px;
  background-color: #fff;
  animation-name: right-to-left;
  animation-duration: .3s;
}

.btn_fab2:before{
  position: absolute;
  content:"";
  width: 10px;
  height: 2px;
  left:0;
  top:22px;
  background-color: #fff;
  animation-name: right-to-left;
  animation-duration: .3s;
}

@-webkit-keyframes right-to-left {
    0%   {width: 100%;}
    50% {width: 100%; right: 0; }
  100% { width: 10px; left:0; right: auto; }
}

.btn_fab:hover:before{
  animation-name: left-to-right;
  animation-duration: .3s;
  animation-fill-mode: forwards;
}

.btn_fab2:hover:before{
  animation-name: left-to-right;
  animation-duration: .3s;
  animation-fill-mode: forwards;
}

@-webkit-keyframes left-to-right {
    0%   {width: 10px;}
    50% {width: 100%; left: 0; }
  100% { width: 10px; right:0; left: auto; }
}
/****test-1102****/

.custom-bottom__single-post-image a {
	display: block;
	position: relative
}

.custom-bottom__single-post-image img {
	max-height: 200px;
	width: 100%;
	object-fit: cover;
	border-top-left-radius: 50px;
	border-top-right-radius: 50px;
}

.custom-bottom__slick-slider {
	position: relative;
}

.custom-bottom__slick-slider-title {
	text-align: center;
	color: #ffffff;
	margin-bottom: 20px
}

.custom-bottom__slick-slider .prev-slide {
	position: absolute;
	width: 20px;
	height: 30px;
	left: -15px; 
	top: 50%;
	transform: translatey(-50%);
	background-color: transparent;
	padding-left: 10px;
	padding-right: 10px;
}

.custom-bottom__slick-slider .prev-slide img,
.custom-bottom__slick-slider .next-slide img {
	position: absolute;
	width: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.custom-bottom__slick-slider .next-slide {
	position: absolute;
	width: 20px;
	height: 30px;
	right: -15px;
	top: 50%;
	transform: translatey(-50%);
	background-color: transparent;
	padding-left: 10px;
	padding-right: 10px
}

.custom-bottom__slick-slider .slick-track {
	display: flex;
}

.custom-bottom__single-post-container {
	display: inline-block;
	background-color: #2d271b;
	border-radius: 50px;
	margin: 0 12px
	
}

.custom-bottom__single-post-contents-container {
	padding: 20px 22px 30px 22px;
}

.custom-bottom__single-post-date {
	margin-top: 26px;
	text-align: right;
}

.custom-bottom__single-post-tags ul {
	display: flex;
	flex-wrap: wrap;
}

.custom-bottom__single-post-tags li {
	padding: 0px 14px;
	background-color: #cb8901;
	border-radius: 18px;
	margin-right: 6px;
	margin-bottom: 6px;
	height: 28px;
	transition: all 0.3s ease;
}

.custom-bottom__single-post-tags li:hover {
	background-color: #ffffff;
}

.custom-bottom__single-post-tags li:hover a{
	color: #cb8901 !important;
}

.custom-bottom__single-post-tags a {
	color: #ffffff !important;
	font-size: 14px;
	display: block;
	line-height: 28px;
}

.custom-bottom__single-post-excerpts {
	/*margin: 10px auto;*/
	margin-bottom:10px;
	display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.custom-bottom {
	font-size: 16px;
}

@media screen and (min-width: 922px) {
	.custom-bottom {
		max-width: 1000px;
	}
}

/*  Custom mobile footer */
.site-primary-footer-wrap .site-footer-primary-section-1 {
	margin-top: 10px;
}

.site-primary-footer-wrap {
	padding: 0;
}

.site-primary-footer-wrap ul {
	display: flex;
	justify-content: space-around
}


.site-primary-footer-wrap ul li {
	flex: 1;
}

@media screen and (max-width: 921px) {
	footer {
		position: fixed;
		bottom: 0;
		width: 100%;
	}
	body {
		margin-bottom: 100px;
	}
}

/*  Custom Sidebar category navigation */
.sidebar-category-navigation {
	padding: 30px 25px;
	background: linear-gradient(to bottom, #1a1a1a, #333333);
	border-radius: 20px;
}

.sidebar-category-navigation p {
	padding-bottom: 15px;
	border-bottom: 1px solid #ffffff;
}

.sidebar-category-navigation img {
	margin: -4px 4px 0 0;
}

.sidebar-category-navigation ul {
	padding-top: 0px;
	list-style: square;
	margin-left:1rem;
}

.sidebar-category-navigation li a{
	color: #ffffff !important;
}

/*  Custom scroll to top */
.scroll-to-top {
	position: relative;
}
.scroll-to-top i {
	display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: #f5d77f;
    transform: rotate(45deg);
    border: 1.5px solid #f5d77f;
	border-radius: 50%;
	position: fixed;
    right: 5px;
    bottom: 100px;
    z-index: 3;
    cursor: pointer;
}

.scroll-to-top i::before {
	content: "";
    z-index: 1;
    margin-right: 4px;
    margin-bottom: 4px;
    transform: rotate(-45deg);
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PHBhdGggZD0iTTI3LjQyOSAyNS4yODVMMTYgMTMuODU3IDQuNTcxIDI1LjI4NSAwIDIzIDE2IDdsMTYgMTZ6Ii8+PC9zdmc+);
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
	
}

@media screen and (min-width: 922px) {
	.scroll-to-top i {
		bottom: 20px; 
		right: 25px;
	}
}

/*  Custom single.php */
.ast-single-post-order .tags-links a {
	background-color: #cb8901;
	color: #ffffff;
	padding: 4px 14px;
	margin: 0px 5px 5px 0px;
	border-radius: 15px;
	display: inline-block;
}

.ast-single-post-order .entry-title {
	color: #ffffff;
	margin-bottom: 30px;
}

/*  Custom page jumps */

.custom-page-jumps-block {
	margin-bottom: 32px;
}

.custom-page-jumps-block.sticky {
	position: fixed;
	top: 20px;
	z-index: 9;
	width: 80%;
}

.toggle-custom-page-jumps {
	padding: 6px 12px;	
	border: 1px solid #d18411;
	background-color: #452c04;
	color: #d18411;
}

.toggle-custom-page-jumps:hover {
	background: rgba(97, 76, 53, 0.6);
	border-color: #d18411;
	color: #d18411;
}

.toggle-custom-page-jumps img {
    width: 25px;
    margin-top: -4px;
    margin-right: 4px;
}

.custom-page-jumps-list {
	margin: 0px;
	padding: 34px 48px;
	background-color: #ffffffd6;
	backdrop-filter: blur(20px);
    box-shadow: 0px 0px 9px 7px #dac19a45;
	border-radius: 40px;
}

.custom-page-jumps-list > li::before{
  content: "\2022";
  color: black;
  font-weight: bold;
  display: inline-block;
  margin-left: -1rem;
  margin-right: -1rem;	
}

.custom-page-jumps-list > li > li::before{
	display:none;
}

article ul > li::before{
    content: "\2022";
    color: white;
    font-weight: bold;
    display: inline-block;
    width: 1rem;
}

.custom-page-jumps-list li a{
	color: #000000;
	padding-left: 1rem;
}

.custom-page-jumps-list li:hover a {
	text-decoration: underline;
}

.meta-description {
	margin-bottom: 30px !important;
}

.single-post .post-thumb-img-content img {
	border-radius: 40px;
}

@media screen and (min-width: 601px) {
	.custom-page-jumps-block.sticky {
		width: 50%;
	}
}

/*  custom single post sharing icons */
.custom-bottom__sharing-icons {
	margin-bottom: 30px;
	margin-top:30px;
}

.custom-bottom__sharing-icons ul {
	display: flex;
	background-color: #ffffff;
	padding: 6px 10px;
	width: 100%;
	border-radius: 9px;
	margin: auto;
	justify-content: space-around;
	align-items: center;
}

.custom-bottom__sharing-icons ul li {
	color: #9E9E9F
}

@media screen and (min-width: 600px) {
	.custom-bottom__sharing-icons ul {
		width: 33%;
	}
}

/* Custom Pagination styles */
.ast-pagination .prev.page-numbers, 
.ast-pagination .next.page-numbers {
	float: none;
}

/*  Custom bmp icons */
.bmp-icons-container {
	display: none;
}

@media screen and (min-width: 600px) {
	.bmp-icons-container {
		display: block;
		position: fixed;
		left: 0;
		top: 50%;
		transform: translatey(-50%);
	}
	
	.bmp-icons-container li {
		position: relative;
	}
	
	.bmp-icons-container li.bmp-home .bmp-icon-img {
		background-image: url('../../dreamxbarrcathk/image/新站排版_icon_sitebar-首頁.png');
	}
	
	.bmp-icons-container li.bmp-home.active .bmp-icon-img {
		background-image: url('../../dreamxbarrcathk/image/新站排版_icon_sitebar-hover-首頁-.png');
	}
	
	.bmp-icons-container li.bmp-game .bmp-icon-img {
		background-image: url('../../dreamxbarrcathk/image/新站排版_icon_sitebar-立即遊戲.png');
	}
	
	.bmp-icons-container li.bmp-game.active .bmp-icon-img {
		background-image: url('../../dreamxbarrcathk/image/新站排版_icon_sitebar-hovar-立即遊戲-複本.png');
	}
	
	.bmp-icons-container li.bmp-service .bmp-icon-img {
		background-image: url('../../dreamxbarrcathk/image/新站排版_icon_sitebar-客服.png');
	}
	
	.bmp-icons-container li.bmp-service.active .bmp-icon-img {
		background-image: url('../../dreamxbarrcathk/image/新站排版_icon_sitebar-hover-客服-複本.png');
	}
	
	.bmp-icons-container li.bmp-sports .bmp-icon-img {
		background-image: url('../../dreamxbarrcathk/image/新站排版_icon_sitebar-運彩分析.png');
	}
	
	.bmp-icons-container li.bmp-sports.active .bmp-icon-img {
		background-image: url('../../dreamxbarrcathk/image/新站排版_icon_sitebar-hover-運彩分析-複本.png');
	}
	
	.bmp-icons-container li.bmp-promo .bmp-icon-img {
		background-image: url('../../dreamxbarrcathk/image/新站排版_icon_sitebar-好康優惠.png');
	}
	
	.bmp-icons-container li.bmp-promo.active .bmp-icon-img {
		background-image: url('../../dreamxbarrcathk/image/新站排版_icon_sitebar-hover-好康優惠-複本.png');
	}
	
	.bmp-icons-container li.bmp-qa .bmp-icon-img {
		background-image: url('../../dreamxbarrcathk/image/新站排版_icon_sitebar-常見問題.png');
	}
	
	.bmp-icons-container li.bmp-qa.active .bmp-icon-img {
		background-image: url('../../dreamxbarrcathk/image/新站排版_icon_sitebar-hover-常見問題-複本.png');
	}
	
	.bmp-icons-container li.active {
		border: 1px solid #E6D08A;
		border-radius: 20px;
		background-color: #302419;
	}
	
	.bmp-icons-container ul li:not(:first-child) {
		position: absolute;
		display: block;
		width: 120px;
		height: 40px;
		margin: -60px 0px;
		display: none;
	}
	
	.bmp-icon-img {
		width: 40px;
		height: 40px;
		display: inline-block;
	}
	
	.bmp-icons-container ul li:not(:first-child) span.bmp-title {
		position: absolute;
		top: 50%;
		transform: translatey(-50%);
		width: 100%;
	}
	
	.bmp-icons-container ul li:not(:first-child) span.bmp-title:not(.hidden) {
		animation-name: fromLeftToRight;
		animation-duration: 0.3s;
	}
	
	@keyframes fromLeftToRight {
		from {left: 0px; opacity: 0;}
		to {left: 40px; opacity: 1;}
	}
	

	.bmp-icons-container ul li:first-child a{
		display: block
	}

}

/*  Found Posts */
.found-posts {
	margin-bottom: 30px;
	text-align: center;
	font-size: 14px;
}

@media screen and (min-width: 600px) {
	.found-posts {
		font-size: 20px;
	}
}

/*  BreadCrumb */
.breadcrumb {
	margin:20px auto;
	padding: 0 20px;
}

.breadcrumb img {
	margin: 0 6px 4px 0;
}

/*  homepage banner */

.home #primary {
	padding-top: 0px;
	margin-top: 0px;
}
.home #main {
	margin-top: 30px;
}
.home #main .ast-article-single {
	padding-top: 0px;
}
/*  Navigation */
.block--navigation .hidden-desktop.wp-block-navigation {
	margin-top: 0;
}

/*  Pagination */
.pagination {
	margin-top: 45px;
	text-align: center;
}

.pagination-lists {
	display: flex;
	justify-content: center;
}

.pagination-item {
	padding: 4.16px 14.324px;
	border: 1px solid #ffffff;
}

.pagination-item.active {
	background-color: #A07C50;
}

.pagination-item:not(.active):hover {
	background-color: #A07C50;
	transition: all 0.3s ease;
	cursor: pointer;
}

.pagination-item:first-child {
	border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.pagination-item:last-child {
	border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.pagination-link {
	color: #ffffff !important;
}

/*  single post page */
.single-post .entry-meta {
	margin-top: 20px;
	height: 35px;
	overflow: hidden;
}

/*  widget-area */
.widget-area .wp-block-categories-list li:hover,
.widget-area .wp-block-categories-list li:hover a{
	color: #E2CB87 !important;
	transition: all 0.3s ease;
}

/*  BMP section */
.bmp-icons-container::before {
    content: '';
    display: none;
    width: 400px;
    height: 400px;
    position: absolute;
    left: -200px;
    top: -160px;
    background-color: #1A1A1A;
	opacity: 0.7;
    border-radius: 50%;
	border: 2px solid #9D8558 !important;
}

.bmp-icons-container.active::before {
	display: block;
}

/*  Overwrite wp block column max width */
.wp-block-columns {
	max-width: 1200px !important;
}

/*  Archive have_post() is falsy */
@media screen and (min-width: 600px) {
	.archive .site-content #primary {
		width: 70%;
	}

	.archive .site-content #secondary {
		width: 30%;
	}	
}

/* sidebar-main */
@media (max-width: 820px) {
	.widget-area.secondary{display:none;}
}

/* Home Page */
.wp-container-10.wp-block-columns.block--navigation ul > li::before{
	display:none;
}

.wp-container-17.wp-block-column ul > li::before{
	display:none;
}

.wp-container-55.wp-block-query ul > li::before{
	display:none;
}

.wp-container-79.wp-block-query ul > li::before{
	display:none;
}

.wp-container-103.wp-block-query ul > li::before{
	display:none;
}

.is-layout-flow.wp-block-query ul > li::before{
	display:none;
}

.is-layout-flow.wp-block-column ul > li::before{
	display:none;
}

/*隱藏選單*/
.custom-page-jumps-list{
  display: none;
}

/*文章按鈕效果*/
.wp-block-button__link.has-luminous-vivid-amber-background-color.has-background{
	box-shadow: -8px 8px 3px 2px rgb(180 80 20 / 80%);
}
.wp-block-button__link.has-luminous-vivid-amber-background-color.has-background:hover{
	box-shadow: 8px -8px 3px 2px rgb(180 80 20 / 80%);
}

/* 新按鈕特效 */
.post-btn{
    margin-left:50%;
    transform: translate(-50%, -50%);
    width:fit-content;
    height:auto;
}

/****fifa按鈕*****/
.post-fifa .post-btn{
	margin-left:0%;
}
.post-fifa div{
    transform: translate(0%, -0%);
   /* width:fit-content;*/
    height:auto;
	width:50%;
	display:flex;
	justify-content:center;
}
.post-fifa button{
    width:150px;
    height:60px;
    background: linear-gradient(to left top,#FFE153 50%, #FFD306 50%);
    border-style: none;
    color:#424200;
    font-size: 20px;
    letter-spacing: 3px;
    font-family: 'Lato';
    font-weight: 600;
    outline: none;
    cursor: pointer;
    position: relative;
    padding: 0px;
    overflow: hidden;
    transition: all .5s;
    box-shadow: -7px 10px 2px rgba(234, 117, 0,.4);
	font
}
/****fifa按鈕*****/


.btn-item{
    width:250px;
    height:80px;
    background: linear-gradient(to left top,#FFE153 50%, #FFD306 50%);
    border-style: none;
    color:#424200;
    font-size: 28px;
    letter-spacing: 3px;
    font-family: 'Lato';
    font-weight: 600;
    outline: none;
    cursor: pointer;
    position: relative;
    padding: 0px;
    overflow: hidden;
    transition: all .5s;
    box-shadow: -7px 10px 2px rgba(234, 117, 0,.4);
	font
}
.btn-item span{
    position: absolute;
    display: block;
}
.btn-item span:nth-child(1){
    height: 3px;
    width:200px;
    top:0px;
    left:-200px;
    background: linear-gradient(to right, rgba(0,0,0,0), #FF5809);
    border-top-right-radius: 1px;
    border-bottom-right-radius: 1px;
    animation: span1 2s linear infinite;
    animation-delay: 1s;
}

@keyframes span1{
    0%{
        left:-200px
    }
    100%{
        left:200px;
    }
}
.btn-item span:nth-child(2){
    height: 70px;
    width: 3px;
    top:-70px;
    right:0px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), #FF5809);
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;
    animation: span2 2s linear infinite;
    animation-delay: 2s;
}
@keyframes span2{
    0%{
        top:-70px;
    }
    100%{
        top:70px;
    }
}
.btn-item span:nth-child(3){
    height:3px;
    width:200px;
    right:-200px;
    bottom: 0px;
    background: linear-gradient(to left, rgba(0,0,0,0), #FF5809);
    border-top-left-radius: 1px;
    border-bottom-left-radius: 1px;
    animation: span3 2s linear infinite;
    animation-delay: 3s;
}
@keyframes span3{
    0%{
        right:-200px;
    }
    100%{
        right: 200px;
    }
}

.btn-item span:nth-child(4){
    height:70px;
    width:3px;
    bottom:-70px;
    left:0px;
    background: linear-gradient(to top, rgba(0,0,0,0), #FF5809);
    border-top-right-radius: 1px;
    border-top-left-radius: 1px;
    animation: span4 2s linear infinite;
    animation-delay: 4s;
}
@keyframes span4{
    0%{
        bottom: -70px;
    }
    100%{
        bottom:70px;
    }
}

.btn-item:hover{
    transition: all .5s;
    transform: rotate(-3deg) scale(1.1);
    box-shadow: 0px 3px 5px rgba(0,0,0,.4);
	-webkit-filter:brightness(1.1);
}
.btn-item:hover span{
    animation-play-state: paused;
}


.btn-item:active{
	transform:scale(0.6);
}


/******文章側欄圖******/
.single-sidebar img{
	border-radius: 20px;
}

.is-layout-flow, .wp-block-group, .slick-slider, .slick-initialized{
	border-radius:1.5rem;
}

/**************yoast FAQ******************/
/* colors & borders */
.wp-block-yoast-faq-block {
    border-top:1px solid #eee;
}
.wp-block-yoast-faq-block .schema-faq-question {
    border-bottom:1px solid #eee;
}
.wp-block-yoast-faq-block .schema-faq-question:hover,
.wp-block-yoast-faq-block .fcp-opened .schema-faq-question {
    background-color:rgba(255,255,255,0.6);
}
.wp-block-yoast-faq-block .schema-faq-answer,
.wp-block-yoast-faq-block .fcp-opened .schema-faq-answer {
    border-bottom:1px solid #eee;
}

/* layout */
.wp-block-yoast-faq-block .schema-faq-question {
    display:block;
    padding:10px;
    position:relative;
}
.wp-block-yoast-faq-block.fcp-faq .schema-faq-question {
    cursor:pointer;
}
.wp-block-yoast-faq-block .schema-faq-answer {
    margin:0;
    padding:12px 10px;
}

/* bullet before a question */
.wp-block-yoast-faq-block .schema-faq-question:before {
    /* position gap */
    margin-top:-2px;
}
.wp-block-yoast-faq-block .schema-faq-question,
.wp-block-yoast-faq-block .schema-faq-answer {
    padding-left:34px;
}
.wp-block-yoast-faq-block .schema-faq-question:before {
    content:'';
    display:block;
    border:2px solid #dedede;
    border-width:0px 2px 2px 0px;
    width:9px;
    height:9px;
    box-sizing:border-box;
    position:absolute;
    left:14px;
}
.wp-block-yoast-faq-block.fcp-faq .schema-faq-question:before {
    top:45%;
    transform:rotate(-45deg);
    transition:all 0.3s 0.3s ease;
}
.wp-block-yoast-faq-block .schema-faq-question:before,
.wp-block-yoast-faq-block.fcp-faq .fcp-opened .schema-faq-question:before {
    top:40%;
    transform:rotate(45deg);
}

/* transition */
.wp-block-yoast-faq-block.fcp-faq .schema-faq-answer {
    max-height:0;
    overflow:hidden;
    border-bottom-width:0;
    padding-top:0;
    padding-bottom:0;
    transition:padding-bottom 0.3s ease-in, max-height 0.4s ease-in, padding-top 0.1s 0.4s ease-out, border-bottom-width 0s 0.5s linear;
}
.wp-block-yoast-faq-block .fcp-opened .schema-faq-answer {
    max-height:9999px;
    border-bottom-width:1px;
    padding-top:12px;
    padding-bottom:20px;
    transition:padding-top 0.1s ease-in, max-height 0.2s 0.1s linear, padding-bottom 0.3s 0.1s ease;
}

.custom_td{
	font-size:50px;
}