.qa-nav a {
	text-decoration: underline;
}
.game-item {
	margin-bottom: 10px;
}
.qa-title {
    font-weight: 700;
    font-size: 26px;
    text-align: center;
    padding-top: 40px;
}
.qa-summary {
	color: #fff;
	text-align: center;
} 
.qa-banner {
    background-image: url(../images/qaactivity-bg.svg);
    width: 100%;
    padding: 15px;
}
.qa-banner p,
.qa-banner a {
    font-size: 16px;
}
.ico-long-logo {
    background-image: url(../images/long-logo.svg);
    width: 237px;
    height: 26px;
}
.ico-game-close {
    background-image: url(../images/ico-game-close.svg);
    width: 16px;
    height: 16px;
    position: absolute;
    right: 15px;
    top: 20px;
}

.qa-banner .outside-summary {
	font-size: 14px;
    margin-bottom: 0;
    color: #009D65;
}
#game-modal .modal-dialog {
    margin: 0;
}
#game-modal .modal-content {
	border: 0;
	margin-top: 0;
	border-radius: 0;
    padding: 0!important;
}
#game-modal .modal-body {
	padding: 16px 20px;
}
/* 排行榜 */
.charts {
	max-width: 500px;
}
.charts div {
    margin-bottom: 5px;
    min-width: 90px;
}
.charts div,
.mygrade {
    height: 30px;
    line-height: 30px;
}
.charts div * {
    float: left;
}
.charts div span {
    width: 65px;
    font-size: 16px;
}
.charts div p {
    background: linear-gradient(45deg,#d6e35a, #8bc34a, #4caf50);
    border-radius: 5px;
    margin-bottom: 5px;
    font-size: 16px;
    text-align: right;
    padding-right: 1px;
    color: #eee;
    width: calc(100% - 100px);
    height: 100%;
}
.mygrade {
    border-radius: 50%;
    margin-left: 5px;
}
.data-outside .pic-normal {
       height: auto!important;
       padding-bottom: 0;
}
.modal-ctrl,
.modal-counter {
    height: 56px;
    line-height: 56px;
    background: rgba(13, 47, 40, 0.8);
    width: 100%;
    border: 0;
    padding: 0 15px;
}
.modal-counter {
       background: rgba(31, 105, 90, 0.9);
}
#game-modal .modal-content {
   margin: 0;
   height: 100vh;
}
.act-question,
.act-answer {
   font-size: 18px;
   color: #505C66;
   line-height: 28px;
}
.act-question {
   margin-top: 30px;
   margin-bottom: 20px;
}
.act-answer {
   margin-bottom: 10px;
   padding-left: 30px;
}
.act-answer span {
   position: absolute;
      left: 20px;
}
.answer-btn .correct,
.answer-btn .wrong {
	background-image: url(../images/ico-game-correct.svg);
	background-color: #85D5C5;
	background-size: 30px 30px;
	background-repeat: no-repeat;
	background-position: center;
	color: transparent;
}
.answer-btn .wrong {
       background-image: url(../images/ico-game-wrong.svg);
       background-color: #EA4335;
}
.answer-btn {
    background: #F3EFEB;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    bottom: 0;
}
.answer-btn span {
   padding: 20px 25px;
   border-radius: 8px;
   background-color: #fff;
}
#qa-counter {
   color: #fff;
}
.ico-qa-time {
   vertical-align: -4px;
}
.category-div,
.attach-btn {
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.category-div {
	margin-bottom: 30px;
}
.category-head {
    margin-top: 40px;
    font-size: 24px;
    font-weight: bold;  
}
.category-btn {
    padding: 10px 0;
    width: calc(50% - 5px);
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    color: #fff;
    background-color: #1F695A;
}
.category-btn.finished{
    pointer-events: none;
    background-color: #ccc;
    color: #ebebeb;
}
.qa-btn.game-start-btn,
.qa-btn.game-end-btn,
.qa-btn.st2 {
	padding: 10px 0;
    width: calc(50% - 5px);
    display: inline-block;
    text-align: center;
    border-radius: 4px;
}
.qa-btn.game-start-btn,
.qa-btn.game-end-btn {
	color: #fff;
	background-color: #1F695A;
}
.qa-btn.st2 {
	color: #1F695A;
	background-color: #D7F0EB;
}
/*得分圖*/
.end-challenge .qa-tab-main,
.qa-tab-score {
    display: none;
}
.end-challenge .qa-tab-score {
    display: block;
}
.qa-score-title {
    font-size: 22px;
    color: #1F695A;
    text-align: center;
    margin: 60px 0 100px;
}
.progress {
  width: 200px;
  height: 200px;
  font-size: 30px;
  color: #fff;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: #D7F0EB;
  text-align: center;
  line-height: 200px;
  margin: 20px;
  box-shadow: 2px 2px 2px 2px white;
  margin: 0 auto;
}

.progress .title {
  position: relative;
  z-index: 100;
  color: #17c3a0;
  font-size: 72px;
}
.progress .overlay {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: #D7F0EB;
}
.progress .left,
.progress .right {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 10px solid #17c3a0;
  border-radius: 100px 0px 0px 100px;
  border-right: 0;
  transform-origin: right;
}
.progress .left {
  animation: load1 1s linear forwards;
}
.progress:nth-of-type(2) .right,
.progress:nth-of-type(3) .right {
  animation: load2 0.5s linear forwards 1s;
}
.progress:last-of-type .right,
.progress:first-of-type .right {
  animation: load3 0.8s linear forwards 1s;
}
@keyframes load1 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}
@keyframes load2 {
  0% {
    z-index: 100;
    transform: rotate(180deg);
  }
  100% {
    z-index: 100;
    transform: rotate(270deg);
  }
}
@keyframes load3 {
  0% {
    z-index: 100;
    transform: rotate(180deg);
  }
  100% {
    z-index: 100;
    transform: rotate(315deg);
  }
}
/*得分圖*/
.mobile-upload-btn,
.mobile-upload-btn:hover {
	width: 100%;
    text-align: center;
    border-color: #1F695A;
    background-color: #1F695A;
    color: #fff;
    margin: 40px 0;
    border-radius: 3px;
}
.work-list .data-outside {
    float: none;
    margin: 0 0 16px;
    width: 100%;
}
.att-user-head,
.att-user-view {
	display: inline-block;
}
.att-user-head {
	max-width: calc(100% - 60px);
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}
.qa-custom-detail.outside {
    background-color: #fff;
    padding: 20px 15px;
}
.ico-time,
.ico-gift {
	font-size: 12px;
	color: #BEBEBE;
	margin-right: 3px;
}
.inline-nav {
    font-size: 16px;
}
.inline-nav a {
    font-family: "Noto Sans CJK TC";
    color: #1f695a;
    vertical-align: sub;
    margin-right: 10px;
    text-decoration: underline;
}
.qa-nav {
    text-align: center;
}
.inline-nav.qa-nav a {
    color: #fff;
    text-align: center;
}
.dispanel {
    margin-top: 40px;
}
.dispanel div {
    float: left;
    width: 50%;
}
.dispanel span {
    display: block;
    font-family: sans-serif, "roboto";
    font-size: 12px;
    color: #808080;
    line-height: 1.5;
}
.dispanel .keypoint {
    font-size: 26px;
    color: #009D65;
}
.works-main {
    background: #F3EFEB;
}
.qa-custom-item a {
    color: #505c66;
    text-decoration: none;
}
.qa-custom-list {
    margin-left: -15px;
    margin-right: -15px;
}
.qa-custom-list.gutter-10 {
    margin-left: -5px;
    margin-right: -5px;
}
.qa-custom-list>div {
    margin-left: 15px;
    margin-right: 15px;
}
.cd-main {
	background-color: #F3EFEB;
}
.cd-main .common-flex-container {
	flex-wrap: wrap;
	padding: 0;
	background-color: #fff;
}
.cd-main .common-flex-item {
	width: 100%;
}
.cd-btn-box {
	margin-top: 40px;
}
.cd-btn-1,
.cd-btn-2 {
	color: #1F695A;
    background-color: #D7F0EB;
    border-radius: 3px;
    float: left;
    width: calc(50% - 3px);
    height: 48px;
    line-height: 48px;
    text-align: center;
    margin-bottom: 10px;
    cursor: pointer;
}
.cd-btn-1:nth-child(2n) {
	margin-left: 3px;
}
.cd-btn-1:nth-child(2n + 1) {
	margin-right: 3px;
}
.cd-btn-2 {
	color: #fff;
	background-color: #1F695A;
	width: 100%;
}
.cd-btn-1:hover,
.cd-btn-1:hover a {
    color: #fff;
    background-color: #1F695A;
}
.cd-collect-info {
	padding: 40px 15px;
}
.cd-collect-info .summary {
	text-align: justify;
}
/* 投票活動 */
.vclist .list-item {
	margin-bottom: 30px;
}
.navigation-indiv {
    margin-bottom: 15px;
}
.navigation-indiv a {
    font-size: 14px;
    color: #818181;
}
.btn-vote {
    text-align: center;
    padding: 10px 0;
    background-color: #1e695a;
    color: #fff;
    cursor: pointer;
}
.vclist:not(.vote-disabled) .btn-vote:hover {
	opacity: .8;
}
.btn-vote .ico-like {
	font-size: 16px;
    margin-right: 5px;
}
.btn-vote.choosed {
    background-color: #971010;
}
.vote-disabled .btn-vote {
	cursor: initial;
}
.vote-disabled .btn-vote:not(.choosed) {
    background-color: #ebebeb;
    color: #999;
}
.vcform {
	width: 600px;
	max-width: 100%;
}
#stugrade {
	max-width: 100%;
	background-color: #fff !important;
}
#vcsubform {
    background-color: #1e695a;
    color: #fff;
    width: 200px;
    margin-bottom: 30px;
    padding: 10px 0;
} 
#vcsubform:hover {
    opacity: .8;
}
.warning {
    box-shadow: 0px 0px 4px #f00;
    border-width: 0;
}
#vcfrm .form-group label {
	display: block;
}
#vcfrm .form-group input:focus {
	border-color: #66afe9!important;
}
#school,
#stugrade,
select[name="stugrade"] {
	width: 100%;
}
.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 34px!important;
    line-height: 34px!important;
    border-color: #ccc!important;
}
.vcform .form-control:focus,
.vcrform .form-control:focus {
	border-color: #66afe9!important;
}
@media (min-width: 769px) and (max-width: 1920px){
	.qa-banner {
	    aspect-ratio: 2 / 1;
	    overflow: hidden;
	    padding: 50px 0;
	}
	.qa-banner>.main-container {
	   display: flex;
	}
	.qa-banner>.main-container>div {
	   float: left;
	   width: 50%;
	}
	.qa-banner-pic {
	   padding: 0 30px;
	}
	.qa-banner-pic .box-ratio {
	   aspect-ratio: 1 / 1;
	}
	.qa-banner-con {
	    display: flex;
	    flex-direction: column;
	    justify-content: center;
	}
	.qa-title {
	   font-size: 48px;
	   text-align: left;
	   margin-top: 0;
	   margin-bottom: 60px;
	}
	.qa-summary {
	   font-size: 18px;
	   margin-bottom: 60px;
	   text-align: left;
	}
	.qa-nav {
	   text-align: left;
	}
}
@media (min-width: 1024px) {
	.cd-main .common-flex-container {
	    flex-flow: row-reverse;
	    margin-top: 50px;
	    margin-bottom: 40px;
	}
	.cd-main .common-flex-item {
	    width: 50%;
	}
    .cd-collect-info {
        padding: 40px;
    }
}

/** ------------------------------ **/
.mm-vc-shade {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
}
.mm-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.mm-ad a:hover {
    opacity: 1;
}
.ad-picbox {
    width: 100%;
    height: calc(100% - 80px);
    text-align: center;
    position: relative;
}
.ad-picbox img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.ad-closebtn {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
}
.ad-closebtn img {
    border: 2px solid #505c66;
    padding: 8px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
}
.vc-column-2,
.vc-column-3 {
	float: left;
	width: 100%;
	margin-bottom: 10px;
}
#vcrfrm label {
	font-weight: normal;
}
#vcrfrm .form-group {
	display: flex;
	flex-wrap: wrap;
}
#vcrfrm .form-group.teacherinfo, 
#vcrfrm .form-group.stuinfo {
	flex-wrap: wrap;
	border-top: 1px dotted #d1d1d1;
	padding-top: 20px;
}
#vcrfrm .vc-column-l,
#vcrfrm .vc-column-r {
	float: left;
	width: 100%;
	max-width: 100%;
	margin-bottom: 15px;
}
.vc-column-label {
	width: 100%;
	margin-bottom: 10px;
}
.vc-column-label label {
	color: #227766;
}
.vc-column-label .ico-closed-o {
    font-size: 18px;
    color: #c12222;
}
.vc-column-label .ico-closed-o:hover {
    cursor: pointer;
    opacity: .8;	
}
.js-example-basic-single,
.vc-column-3 .form-control {
    width: 100%;
}
.btn-add {
	padding: 10px 56px;
	border: 1px solid #2fa38c;
	color: #2fa38c;
    border-radius: 3px;
}
.btn-add:hover {
	cursor: pointer;
	opacity: .9;
}
.btn-add b {
	margin-right: 5px;
}
label[for="stuschool"],
label[for="stugrade"],
label[for="group"] {
	display: block;
}


#file-link {
	margin: 5px 0 10px;
}
#file-link a {
	color: #2fa38c;
}
#file-link span {
    margin-left: 5px;
	margin-right: 10px;
    color: red;
    transform: rotate(45deg);
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
#file-link span:hover {
	scale: 1.05;
	color: #e00;
}

@media(min-width: 768px) {
    .vc-column-2 {
        width: 50%;
    }
    .vc-column-3 {
        width: 33.3333%;
    }
    .ad-picbox {
        max-width: 360px;
    }
	#vcrfrm .form-group {
	    flex-wrap: nowrap;
	}
	#vcrfrm .vc-column-l {
	    width: 400px;
	    max-width: 100%;
	    margin-right: 30px;
	}
	.js-example-basic-single,
	.vc-column-3 .form-control {
	    width: calc(100% - 20px);
	}
}
@media(min-width: 1024px) {
}
@media(min-width: 1600px) {
    .ad-picbox {
        max-width: 450px;
    }
}