if (msg.type === 'video') {
 my_video_player = msg.instance;
 my_video_player.unmute();
}
if (msg.type === 'video') {
 my_video_player = msg.instance;
 my_video_player.unmute();
}
@charset "utf-8";
body {
	background-color: #000;
	font-family: 'DINPro', sans-serif;
}
ol, ul {
	list-style: none;
}
#ugc .modal {
	background-color: rgba(0,0,0,0.8);
}
#ugc .winner {
	width: 35%;
	marggin-left: 30%;
}

@media (min-width: 761px) and (max-width: 1321px) {
#ugc .winner {
	width: 60%;
	marggin-left: 20%;
}
.owl-item {
	width: 600px!important;
}
}

@media (max-width: 760px) {
#ugc .winner {
	width: 80%;
	marggin-left: 10%;
}
}
.modal-content {
	background-color: rgba(0,0,0,1);
	width: 50%;
}
#ugc .modal-dialog {
	margin: 10% 25%;
	width: 100%;
}
#ugc .card {
	width: 100%;
	border: 0px solid #feaf00;
	padding: 0px;
	margin: 0px;
	background-color: #000;
}
#ugc .card:hover {
	background-color: #f00;
}
#ugc .monthbox .table {
	display: table;
	border-collapse: collapse;
	text-align: center;
}
#ugc .monthbox .row {
	display: table-row;
	width: 100%;
}
#ugc .monthbox .cell1 {
	display: table-cell;
	width: 50%;
	border-top: 3px dotted #fff;
}
#ugc .monthbox .cell2 {
	display: block;
	width: 140px;
	height: 40px;
	color: #fff;
	font-size: 1em;
	letter-spacing: 5px;
	text-align: center;
	vertical-align: bottom;
	margin-top: -15px;
}
#ugc .month {
	font-size: 1em;
	color: #999999;
	letter-spacing: 5px;
	text-align: center;
}
#ugc .month_line {
	border-style: dashed;
	border: 1px solid #333;
}
#ugc .best .thumbnail {
	background-repeat: no-repeat;
	background-position: 50% 50%;
	border: 0px;
	height: 315px;
	background-size: cover;
}
#ugc .tt {
	font-size: 13px;
	position: absolute;
	bottom: 130px;
	line-height: normal;
	color: #fff;
	left: 110px;
	width: 95%;
	text-align: left;
}
#ugc {
	background-color: #000;
	padding: 0;
	margin: 0;
	overflow-x: hidden;
}
#ugc #toolbar {
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 999;
}
#ugc #toolbar:after {
	clear: both;
	display: block;
	visibility: hidden;
	height: 0;
	content: "";
}
#ugc .header p {
	font-size: 17px;
	margin-top: -20px;
	color: #FFF;
	margin-bottom: 30px;
}
#ugc .social .p2 p {
	color: #fff;
}
#ugc .stop1 {
	-webkit-animation-delay: 0.3s;
}
#ugc .stop2 {
	-webkit-animation-delay: 0.6s;
}
#ugc .stop3 {
	-webkit-animation-delay: 0.9s;
}
/* social */
#ugc .navbar-fix {
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 999;
	margin-right: 0;
	margin-bottom: 0;
	vertical-align: middle;
	text-align: right;
	width: 100%;
}
#ugc .nav-icon a {
	background-color: #222;
	display: inline-block;
}
#ugc .nav-icon a:hover {
	background-color: #f00;
	display: inline-block;
}
#ugc .navbar-fix a {
	margin: 0;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	opacity: .75;
}
#ugc .fa-icon {
	display: block;
	font-size: 26px;
	color: #FFF;
	padding: 0;
	margin: 0;
}
/* hr建變 */
#ugc hr.style-two {
	border: 0;
	height: 3px;
	background-image: linear-gradient(to right, rgba(255,255,255,0.5), rgba(255,255,255,1), rgba(255,255,255,0.5));
	margin-top: 100px;
	margin-bottom: -70px;
}
/* header */
#ugc .header .h_video {
	position: absolute;
	right: 0%;
	bottom: 0%;
	z-index: 1;
}
#ugc .header .h_video .hand {
	position: relative;
}
#ugc .header .h_video .hand .bannervideo {
	position: absolute;
	z-index: 3;
	right: 44%;
	bottom: 34%;
}
#ugc .header .h_title {
	position: absolute;
	left: 1%;
	bottom: 15%;
	z-index: 2;
	text-align: center;
	width: 57%;
}
#ugc .header .h_title h1 {
	line-height: 100px;
	color: #FFF;
	font-size: 56px;
	font-family: 'Geforce-Bold', sans-serif;
}
#ugc .header .h_title h1 b {
	color: #e51c00;
}
#ugc .header {
	position: relative;
	z-index: 0;
}
#ugc .header .h_title a {
	background-color: #a40000;
	font-size: 28px;
	font-weight: 500;
	color: #FFF;
	text-decoration: none;
	padding: 20px 40px;
	border-radius: 80px;
}
#ugc .header .h_title a:hover {
	background-color: #fff;
	color: #a40000;
}
/* submit */
#ugc .submit a {
	background-color: #fff;
	font-size: 36px;
	font-weight: 500;
	color: #a40000;
	text-decoration: none;
	padding: 20px;
	border-radius: 80px;
}
#ugc .submit a:hover {
	background-color: #000;
	color: #fff;
}
/* common */
#ugc h1 {
	color: #FFF;
	text-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
	text-align: center;
	margin: 0px auto;
	letter-spacing: 4px;
	padding: 30px 0px 20px 0px;
	font-size: 52px;
	font-family: 'Geforce-Bold', sans-serif;
}
#ugc h1 b {
	color: #F00;
}
#ugc .inlinepopup h1 {
	width: 40%;
	margin-left: 30%;
}



/* prize */
#ugc .prize {
	background: url(https://asset.msi.com/event/mb/2017/ugc/images/prize_bg.jpg) no-repeat fixed;
	background-size: 100%;
}
#ugc h1 a {
	line-height: 80px;
	border-bottom: 3px solid #f00;
	text-decoration: none;
	color: #FFF;
	font-size: 50px;
	font-family: 'Geforce-Bold', sans-serif;
	border-top: 3px solid #f00;
}
/* therm */
#ugc .the {
	color: #FFF;
	padding: 80px 0px;
}
#ugc .the ul b {
	color: #f00000;
	text-shadow: 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff;
}
#ugc .the ul, .inlinepopup_content ul, .inlinepopup_content ol {
	padding: 3%;
	list-style: none;
	font-size: 17px;
	text-align: left;
}
#ugc .the li {
	padding: 10px 0;
	line-height: 1.3em;
}
#ugc .the li:after {
	clear: both;
	display: block;
	visibility: hidden;
	height: 0;
	content: "";
}
#ugc .the li .no, .inlinepopup .rules li .no {
	background: #f00;
	margin-right: 8px;
	float: left;
	width: 20px;
	height: 20px;
	text-align: center;
	line-height: 20px;
	transform: skewX(-20deg);
}
#ugc .the li .txt {
	float: right;
	width: calc(100% - 30px);
}
#ugc .the .img {
	padding: 3em 0;
	text-align: center;
}
#ugc .the .copyright {
	text-align: center;
	font-size: 13px;
	line-height: 18px;
	color: #999;
}
#ugc .service-item p {
	font-size: 17px;
}
#ugc .service-item h4 {
	font-size: 20px;
}
/*arrow*/
#ugc a, #ugc a:hover {
	text-decoration: none;
}
.arrow {
	width: 100%;
	position: relative;
	text-align: center;
	bottom: 0;
	z-index: 2
}
.arrow p {
	line-height: 100px;
	color: #FFF;
	font-size: 56px;
	font-family: 'Geforce-Bold', sans-serif;
}
.arrow-img {
	display: inline-block;
	max-width: 100%
}
.arrowDown {
	-webkit-animation: arrowDown 1s ease-out infinite;
	animation: arrowDown 2s linear infinite;
	animation-delay: 1s;
	animation-delay: 1s;
	-webkit-animation-fill-mode: backwards;
	animation-fill-mode: backwards;
}
.arrowLeft {
	-webkit-animation: arrowLeft 1s ease-out infinite;
	animation: arrowLeft 1s ease-out infinite;
	-webkit-animation-delay: 1s;
	animation-delay: 1s;
	-webkit-animation-fill-mode: backwards;
	animation-fill-mode: backwards;
}



/* animita*/
@-webkit-keyframes arrowDown {
 0% {
 opacity: 0;
 transform: translate(0px, 0px);
}
 65% {
 opacity: 1;
 transform: translate(0px, 10px);
}
 100% {
 opacity: 0;
 transform: translate(0px, 0px);
}
}
 @keyframes arrowDown {
 0% {
 opacity: 0;
 transform: translate(0px, 0px);
}
 65% {
 opacity: 1;
 transform: translate(0px, 10px);
}
 100% {
 opacity: 0;
 transform: translate(0px, 0px);
}
}
 @-webkit-keyframes arrowLeft {
 0% {
 opacity: 1;
 transform: translate(0px, 0px);
}
 65% {
 opacity: 1;
 transform: translate(10px, 0px);
}
 100% {
 opacity: 1;
 transform: translate(0px, 0px);
}
}
 @keyframes arrowLeft {
 0% {
 opacity: 1;
 transform: translate(0px, 0px);
}
 65% {
 opacity: 1;
 transform: translate(10px, 0px);
}
 100% {
 opacity: 1;
 transform: translate(0px, 0px);
}
}
/* best */
#ugc .bestbox {
	-webkit-animation-delay: 1.1s;
	padding: 10px 20px;
}
#ugc .best:hover {
	background: linear-gradient(-135deg, transparent 40px, #252525 0), linear-gradient(135deg, transparent 40px, transparent);
	background-color: #ff0000;
}
#ugc .best {
	background: linear-gradient(-135deg, transparent 40px, #252525 0), linear-gradient(135deg, transparent 40px, transparent);
	padding: 70px 60px 60px 50px;
	background-color: #bc0000;
	border: 0px;
}
#ugc .best img {
	text-align: center;
	padding-bottom: 20px;
	width: 100%;
}
#ugc .best h1 {
	color: #ff0001;
	font-size: 27px;
	font-weight: 550;
	border-radius: 5px;
	padding-top: 4px;
	padding-left: 10px;
	text-decoration: none;
	text-align: left;
}
#ugc .best .name, #ugc .best p {
	line-height: normal;
	color: #FFF;
	font-size: 24px;
	border-radius: 5px;
	padding-top: 4px;
	padding-left: 10px;
	text-decoration: none;
	text-align: left;
}
#ugc .best2 h3 {
	color: #000;
	font-size: 26px;
	font-weight: 600;
	margin: 0px;
}
#ugc .best2 p {
	color: #FFF;
	font-size: 22px;
	margin-left: -10px;
}
#ugc .best .name .title {
	font-size: 20px;
	color: #B7B7B7;
}
/* tab */
#ugc .socialbox {
	background: url(https://asset.msi.com/event/mb/2017/ugc/images/social_bg.jpg) fixed;
	padding: 80px 0px;
}
#ugc .social {
	background: linear-gradient(-135deg, transparent 40px, rgba(108,0,0,0.8)0), linear-gradient(135deg, transparent 40px, transparent);
}
#ugc .social .item {
	padding: 20px;
	text-align: center;
}
#ugc .social .item .box {
	border: #F00 0px solid;
	color: #FFF;
	font-size: 20px;
}
#ugc .social ul li {
	display: inline-block;
	background-color: black;
	padding: 0%;
	border-radius: 10px;
	margin-top: -30px;
	width: 20%;
}
#ugc .social ul {
	text-align: center;
	padding: 0px;
	margin: 0px auto 10px auto;
}
#ugc .social ul li img {
	width: 20%;
}
#ugc .social ul li a {
	font-size: 20px;
	vertical-align: middle;
}
#ugc .sociala, #ugc .social a:visited, #ugc .social a:active, #ugc .social a:hover {
	color: white;
}
#ugc .social .tabscroll_activeNavi {
	background-color: #b40001;
	border-width: 0px 2px 0 2px;
	border-color: #b40001;
}
#ugc .social .tabscroll_activeNavi a, #ugc .social .tabscroll_activeNavi a:visited, #ugc .social .tabscroll_activeNavi a:active, #ugc .social .tabscroll_activeNavi a:hover {
	color: black;
}
#ugc .social .p2 p {
	margin-top: -35px;
}
#ugc .social article {
	margin: 0;
	padding: 20px;
}
#ugc .social h1 {
	margin: 4% 0 4% 0;
}
#ugc .social h3 {
	padding: 2% 1%;
}
#ugc .social p {
	padding: 0%;
}
/* video */
#ugc .video {
	background: url(https://asset.msi.com/event/mb/2017/ugc/images/video_bg.jpg) no-repeat;
	padding-top: 45%;
	background-size: 100%;
	padding-bottom: 100px;
}
#ugc .share {
	text-align: right;
	border-top: #ccc 1px dotted;
	padding: 10px 5px;
}
#ugc .share a {
	color: #FFF;
	display: inline-block;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	font-size: 26px;
}
#ugc .share a:hover {
	background: #f00;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	color: #fff;
}
/* 展開 */
#do-container {
	padding: 0px 0px;
	text-align: center;
	margin: auto 0px;
	padding-left: 0px;
	padding-right: 0px;
	background: url(https://asset.msi.com/event/mb/2017/ugc/images/rules_bg.jpg);
}
.do {
	color: #585858;
	cursor: pointer;
	width: 20%;
	padding: 15px;
	margin-left: 40%;
}
.do:hover, .do > h2:hover {
	color: #f00;
}
.do > h2 {
	margin: 0 0 -15px;
	color: #FFF;
	font-size: 48px;
	text-align: center;
	letter-spacing: 4px;
	border: 1px #b40001 solid;
	border-radius: 15px;
	padding: 10px;
	font-size: 56px;
	font-family: 'Geforce-Bold', sans-serif;
}
.do span {
	display: block;
	padding-bottom: 5px;
}
.do strong {
	color: #d7342f;
}
.do-details {
	display: none;
}

.inlinepopup .item{display: inline-block;}

.join{padding-top: 15px;}
.join .redeembox .item img {
	vertical-align: middle;
}
.join .redeembox {
	width: 100%;
	margin: 0 auto;
	max-width: 1000px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding-bottom: 35px;
}
.join .redeembox .item {
	color: #ddd;
	text-decoration: none;
	opacity: 1;
	width: 28%;
}
/*
.join .redeembox .item:hover {

    text-decoration:none;
	opacity: .7;
}
*/
.join .redeembox .item .circle {
	/* -webkit-clip-path: polygon(50% 0%, 83% 12%, 100% 43%, 94% 78%, 68% 100%, 32% 100%, 6% 78%, 0% 43%, 17% 12%);
  clip-path: polygon(50% 0%, 83% 12%, 100% 43%, 94% 78%, 68% 100%, 32% 100%, 6% 78%, 0% 43%, 17% 12%);*/
	width: 160px;
	height: 160px;
	border-radius: 50%;
	/*  border: 0px solid rgba(211,174,83,.75);*/
	line-height: 150px;
	margin: 0 auto;
	-webkit-transition: 0.5s all ease-in 0.1s;
	-o-transition: 0.5s all ease-in 0.1s;
	transition: 0.5s all ease-in 0.1s;
	text-align: center;
	border: 5px solid rgba(255, 255, 255, .5);
}
.join .redeembox .item img {
	vertical-align: middle;
}
.join .redeembox .item p {
	text-align: center;
	width: 100%;
	margin: 0 auto;
	max-width: 300px;
	padding-top: 10px;
	font-size: 1.2em;
	color: #fff;
	letter-spacing: 0px;
}
.join .redeembox .itemsp {
	width: 8%;
	display: inline-flex;
	padding-bottom: 6%;
	align-items: center;
	margin: auto;
	-moz-transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
}










.inlinepopup {
	padding: 5% 0px;
	background: #a40000 none repeat scroll 0 0;
	border: 1px solid #a40000;
	float: left;
	width: 100%;
	margin-bottom: 0px;
	position: relative;
	border-top: 5px solid #ed0000;
	box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.5);
}
.inlinepopup .do-circle img {
	background-color: #a40000;
	border: 3px solid #FFF;
	border-radius: 100px;
	width: 150px;
	height: 150px;
	padding: 20px;
}
.inlinepopup .col-md-2 {
	margin: 0 20px;
}
.inlinepopup_content {
	text-align: center;
	margin: 20px;
	color: #FFF;
}
.inlinepopup_arrow {
	background: none;
	height: 32px;
	position: absolute;
	top: -34px;
	width: 32px;
}
.inlinepopupClose {
	background: url("https://asset.msi.com/event/mb/2017/ugc/images/close.png") no-repeat scroll 0 0;
	cursor: pointer;
	height: 16px;
	position: absolute;
	right: 5px;
	text-indent: -9999px;
	top: 10px;
	width: 16px;
	z-index: 99;
	overflow: hidden;
	transition: all 0.5s ease 0s;
}
.inlinepopupClose:hover {
	transform: rotate(180deg);
}
.inlinepopup_content h2 {
	color: #585858;
	font: 100 26px/140% "Source Sans Pro", sans-serif;
	margin: 0;
	padding: 0 0 10px;
}
.inlinepopup_content ul, .inlinepopup_content ol {
	margin: 0 0 20px;
	padding: 10px 0 0 20px;
}
.inlinepopup_content .img-middle img {
	margin: 5px auto;
}
.inlinepopup_content a.go-button {
	background: rgba(0, 0, 0, 0) url("https://asset.msi.com/event/mb/2017/ugc/images/arrow-right.png") no-repeat scroll right center / 18% auto;
	color: #585858;
	font: 600 18px/150% "Source Sans Pro", sans-serif;
	padding: 5px 30px 5px 0;
}
/* rules */
.inlinepopup .rulesbox {
	margin-top: 80px;
}
.inlinepopup .rules {
	border: #ff4b4b 1px solid;
	border-radius: 10px;
	padding: 20px;
	text-align: left;
	font-size: 20px;
	line-height: 36px;
	width: 70%;
	margin-left: 15%;
}

@media (max-width: 1367px) {
#ugc .tt {
	font-size: 14px;
	left: 20px;
	width: 85%;
	text-align: left;
}
.inlinepopup .col-md-2 {
	margin: 0 15px;
}
.inlinepopup .rules {
	width: 90%;
	margin-left: 5%;
}
#ugc .header .h_title h1 {
	font-size: 36px;
	line-height: 40px;
}
#ugc .header .h_title {
	bottom: 10%;
}
#ugc .header .h_video {
	right: -10%;
}
}

@media (max-width: 1025px) {
iframe[src *= "facebook"] {
	max-width: 199px;
	height: 354px;
}
#ugc .header .h_video .hand .bannervideo {
	right: 42%;
	bottom: 31%;
}
#ugc .bestbox {
	padding: 0 5px;
}
#ugc .best {
	padding: 1px;
}
#ugc .best h1, #ugc .best .name, #ugc .best p {
	font-size: 18px;
	letter-spacing: 1px;
}
.inlinepopup .col-md-2 {
	margin: 0 10px;
}
.inlinepopup .do-circle img {
	border-radius: 100px;
	width: 120px;
	height: 120px;
	padding: 10px;
}
.inlinepopup .service-item {
	width: 120px;
}
#ugc .header .h_video {
	width: 50%;
}
#ugc .header .h_title h1 {
	font-size: 36px;
	line-height: 40px;
}
#ugc .header .h_title {
	bottom: 10%;
}
#ugc .header .h_video {
	right: -10%;
}
#ugc .the ul, #ugc p {
	font-size: 18px;
}
.inlinepopup .rules {
	font-size: 18px;
	line-height: 26px;
	padding: 0px;
	margin-top: 0px;
}
#ugc .best {
	background: linear-gradient(-135deg, transparent 20px, #252525 0), linear-gradient(135deg, transparent 20px, transparent);
	padding: 20px;
	background-color: #ff0001;
}
}

@media (max-width: 769px) {
#ugc .tt {
	font-size: 10px;
	left: 5px;
	right: 5px;
	bottom: 0px;
	width: 100%;
}
#ugc .prize {
	background-size: cover;
}
.inlinepopup .rulesbox {
	margin-top: 0px;
}
iframe[src *= "facebook"] {
	max-width: 150px;
	height: 267px;
}
#ugc h1, .do > h2 {
	font-size: 36px;
	letter-spacing: 1px;
}
.inlinepopup .col-md-2 {
	margin: 0 1px;
}
.inlinepopup .do-circle img {
	padding: 0px;
}
.inlinepopup .service-item {
	width: 100%;
}
.do {
	width: 80%;
	margin-left: 10%;
}
#ugc .header .h_video {
	width: 50%;
	right: -5%;
}
#ugc .header .h_title h1 {
	line-height: 32px;
	color: #FFF;
	font-size: 22px;
	font-family: 'Geforce-Bold', sans-serif;
	letter-spacing: 1px;
}
#ugc .header .h_title {
	left: -1%;
	bottom: 10%;
}
}

@media (max-width: 487px) {
iframe[src *= "facebook"] {
	max-width: 87px;
	height: 154px;
}
}

@media (max-width: 376px) {
iframe[src *= "facebook"] {
	max-width: 76px;
	height: 135px;
}
}

@media (max-width: 361px) {
iframe[src *= "facebook"] {
	max-width: 72px;
	height: 130px;
}
}

@media (max-width: 321px) {
iframe[src *= "facebook"] {
	max-width: 64px;
	height: 128px;
}
}

@media (min-width:320px) and (max-width:768px) {
#ugc .header p {
	padding: 0 15px;
}
#ugc .rufo {
	font-size: 50px;
}
#ugc h1 a {
	font-size: 20px;
}
#ugc .social {
	padding-top: 10px;
}
#ugc .socialbox {
	padding: 0px;
}
#ugc .social .p2 p {
	margin-top: -25px;
	margin-left: 30px;
}
#ugc .social ul li {
	margin-top: 0px;
	width: 40%;
}
#ugc .social ul {
	text-align: left;
}
#ugc .header .h_video {
	width: 50%;
	right: -5%;
	top: 0px;
}
#ugc .header .banner {
	top: 0%;
	position: relative;
}
#ugc .header .h_title {
	left: -1%;
	bottom: 0%;
	position: relative;
	width: 100%;
	top: -20px;
}
#ugc h1 {
	font-size: 20px;
	letter-spacing: 1px;
}
.do > h2 {
	font-size: 32px;
	letter-spacing: 1px;
}
#ugc .header .h_video .hand .bannervideo {
	right: 42%;
	bottom: 28%;
}
.do {
	width: 90%;
	margin-left: 5%;
}
.elementor-element-populated p {
	font: 20px;
	letter-spacing: 0px;
}
#ugc .header .h_title a {
	font-size: 15px;
}
#ugc .video {
	padding-bottom: 0px;
}
#ugc .the {
	padding: 0px;
}
.inlinepopup_content {
	margin: 0px;
}
#ugc .inlinepopup h1 {
	margin-left: auto;
	width: 100%;
}
#ugc h1 span {
	width: auto;
}
#ugc .the ul, #ugc p {
	font-size: 15px;
	line-height: normal;
	padding: 10px;
}
.inlinepopup .rules {
	font-size: 15px;
	line-height: 22px;
	padding: 0px;
	margin-top: 0px;
}
#ugc hr.style-two {
	display: none;
}
.inlinepopup .col-md-2 {
	margin: 0 0px;
}
}
