.alignleft {
    float: left;   
    display: block;
}
.alignright {
    float: right;
    display: block;
}

.col {
	padding-right: 5px !important;
    padding-left: 5px !important;
    float: left;
}

.col-no-padding-left {
	  padding-left: 0px !important;
}

.col-no-padding-right {
	  padding-right: 0px !important;
}

.navbar {
	background-color: #3b5998 !important;
	padding: 10px 0px;
}
.navbar-header {
	top: 5px;
}

.navbar-brand {
	position: absolute;
	top: 0px;
	padding: 15px 0px !important;
}

.navbar-toggle {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: white !important;
}

.narbar-group {
/* 	border: 1px solid #fafafa;
	border-collapse: false; */
}

.footer {
	background-color: #3b5998 !important;
	padding: 10px 0px;
	overflow: hidden;
	color: white;
	    position: absolute;
    width: 100%;
    bottom: 0px;
    font-size: 0.8em;
}

.footer .container div, .footer .container img {
	float: left;
}

.dropdown-menu {
	z-index: 9999999 !important;
}

.select-style {
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    width: 120px;
    border-radius: 3px;
    overflow: hidden;
    background-color: #fff;

}

.select-style select {
    padding: 10px 8px;
    width: 100%;
    border: none;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
                background: #fff url("../images/web/arrow_bottom_white.png") no-repeat 95% 50%;
    background-size: 20px 20px;
}

.select-style select:focus {
    outline: none;
}

.listboxTopic {
	background-color: #005964 !important;
	width: 100%;
	 
}

.listboxTopic select {
	color: white !important;
		background-color: #005964 !important;
	height: 40px;
}

.table-spacing-5 {
    border-spacing: 5px !important;
    border-collapse: initial !important;
}

.table-spacing-3 {
	border-spacing: 3px !important;
	border-collapse: initial !important;
}

.table-spacing-1 {
	border-spacing: 1px !important;
	border-collapse: initial !important;
}

.table-spacing-10 {
    border-spacing: 10px !important;
    border-collapse: inherit !important;
}

div.eventCol{
		height: 100%;
		min-height: 100%;
		padding-right: 0px !important;
   		padding-left: 0px !important;
}
	
 div.eventCol:LAST-CHILD {
	border-bottom: none;
	border-left: 1px solid #ddd;
}

.titleGroup {
	padding: 5px 0px;
	width: 100%;
	font-size: 1.1em;
	color: #333333;
	font-weight: 600;
}

.title-head {
	padding: 10px 5px;
	color: white;
	width: 100%;
	font-size: 1.1em;
	font-weight: 600;
	background-color: #00a99d;
}

.web-button-primary {
	display:block;
	margin: 0px auto;
		background-color: #00a99d;
		color: white;
		padding: 5px;
		min-width: 100px;
		-webkit-box-shadow: 0 2px 2px 0px rgba(0, 89, 100, 1);
		-moz-box-shadow:   0 2px 2px 0px rgba(0, 89, 100, 1);
		    box-shadow: 0 2px 2px 0px rgba(0, 89, 100, 1);
   		 border: none !important;
    	border-radius: 3px;
    	text-align: center;
}

.web-button-primary-disable  {
	display:block;
	margin: 0px auto;
	background-color: rgba(0, 89, 100, 0.6);
	color: white;
	padding: 5px;
	min-width: 100px;
	-webkit-box-shadow: none;
	-moz-box-shadow:   none;
	box-shadow: none;
	border: none !important;
    border-radius: 3px;
    text-align: center;
}

.web-button-primary:ACTIVE {
	-webkit-box-shadow: none;
		-moz-box-shadow:  none;
		    box-shadow: none;
}

.panelDetail {
		background-color: white;
		-webkit-box-shadow: 0 1px 3px 1px rgba(50, 50, 50, 0.5);
		-moz-box-shadow:    0 1px 3px 1px rgba(50, 50, 50, 0.5);
		box-shadow:         0 1px 3px 1px rgba(50, 50, 50, 0.5);
		padding: 5px;
	}
	
.panelDetail-noShadow {
		background-color: white;
		padding: 5px;
}
	
.text-hidden-overflow {
	 text-overflow: ellipsis;
	 overflow: hidden;
	 white-space: nowrap !important; 
}

.challengeItem-header {
	-webkit-box-shadow: 0 1px 5px 1px rgba(50, 50, 50, 0.5) !important;
	-moz-box-shadow:    0 1px 5px 1px rgba(50, 50, 50, 0.5) !important;
	box-shadow:         0 1px 5px 1px rgba(50, 50, 50, 0.5) !important;
}

.challengeItem-col-4 {
	margin-top: 5px !important;
	margin-bottom: 5px !important;
}

.challengeItem-col-4 .challengeItem-collapse {
	padding: 5px !important;
}

.challengeItem-col-4 .challengeItem-collapse>.panel {
	margin-top: 5px !important;
	margin-bottom: 5px !important;
}
.createChallengeExpand .panel-heading {
	padding: 5px 0px !important;
	background-color: #00a99d !important;
	-webkit-box-shadow: 0 1px 3px 1px rgba(50, 50, 50, 0.5) !important;
		-moz-box-shadow:    0 1px 3px 1px rgba(50, 50, 50, 0.5) !important;
		box-shadow:         0 1px 3px 1px rgba(50, 50, 50, 0.5) !important;
}

.createChallengeExpand .panel-body {
	padding: 5px !important;	
}	

.createEventExpand .panel-heading {
	padding: 0px !important;
	background-color: #00a99d !important;
}

.createEventExpand .panel-body {
	padding: 5px !important;	
}	

.panelWithBoxShadow {
			-webkit-box-shadow: 0 1px 4px 1px rgba(50, 50, 50, 0.5) !important;
		-moz-box-shadow:    0 1px 4px 1px rgba(50, 50, 50, 0.5) !important;
		box-shadow:         0 1px 4px 1px rgba(50, 50, 50, 0.5) !important;
}

.topicItem-active {
	-webkit-box-shadow: none !important;
	-moz-box-shadow:    none !important;
	box-shadow:         none !important;
	border: 2px solid #00a99d !important;
}

.btn-link:HOVER {
	cursor: pointer;
}

.btnLogin, .btnLoginFacebook {
	    padding: 10px 15px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    transition: none;
    margin: 0 5px;
    border: none;
    min-width: 100px;
}

.buttonQuiz-answer {
    font-size: 1.05em;
    margin: 5px auto 5px;
    overflow: hidden;
    float: left;
/*     clear: both; */
}

.buttonQuiz-answer>div, .buttonQuiz-answer>span {
	    margin: 3px;
	        display: inline-block;
    vertical-align: middle;
}

.buttonQuiz-answer-text {
/* 	max-width: calc(100% - 30px); */
}

.buttonQuiz-answer img {
	max-height: 100px !important;
	    display: inline-block !important;
	
}

.answerContent-col-12:BEFORE {
	content: "";
	max-width: calc(100% - 35px);
}

.checkBox-Answer {
	font-size: 1.3em !important;
}

.buttonQuiz-answer:HOVER {
	cursor: pointer;
}

.buttonQuiz-answerCorrect {
	color: #00a99d;
}

.buttonQuiz-answerInCorrect {
	color: #f28226;
}

.progressWidget-first:AFTER {
	content: '';
	position: absolute;
	border: 10px solid transparent;
	border-right-color: #14889a;
	top: 10px;
	left: -10px;
}

.progressWidget-last:BEFORE {
	content: '';
	position: absolute;
	border: 10px solid transparent;
	border-left-color: #14889a;
	top: 10px;
	right: -10px;
}

.progressItem {
    background: #fafafa;
    color: #333333;
    padding: 5px 2px;
    width: 30px !important;
    text-align: center;
    font-size: 1.1em;
    position: relative;
    border: 1px solid #333333;
}

.progressItem:HOVER {
	cursor: pointer;
}

.progressItem-current {
	border-color: #333333;
	background: white;
	color: #333333;
}

.progressItem-end {
	background: transparent !important;
	font-size: 1.4em !important;
}

.progressItem-current:AFTER {
	content: '';
	position: absolute;
	border: 6px solid transparent;
    border-bottom-color: #333333;
    bottom: -8px;
    left: 5px;
}

.progressItem-withBorder {
	border: 1px solid white;
	border-radius: 5px; 
}

.progressItem-correct {
	background: #00a99d;
	color: white;
	border: 1px solid #00a99d;
}

.progressItem-incorrect {
	background: #f28226;
	color: white ;
	border: 1px solid #f28226;
}

.button-exit-game {
	position: fixed;
	right: 10px;
	top: 150px;
	border-radius: 100%;
	font-size: 2em !important;
	color: white;
	background-color:  #00a99d;
	padding: 10px;
	z-index: 999;
	 cursor: pointer;
	 opacity: 0.5;
		-webkit-box-shadow: 0 1px 4px 1px rgba(50, 50, 50, 0.5) !important;
		-moz-box-shadow:    0 1px 4px 1px rgba(50, 50, 50, 0.5) !important;
		box-shadow:         0 1px 4px 1px rgba(50, 50, 50, 0.5) !important;
}

.button-exit-game:HOVER {
	 opacity: 1;
}

.button-exit-game:ACTIVE {
		-webkit-box-shadow: none !important;
		-moz-box-shadow:    none !important;
		box-shadow:         none !important;
}

.playerAnswer-panel {
	color: #333333;
	-webkit-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75) !important;
	-moz-box-shadow:    0px 1px 1px 0px rgba(50, 50, 50, 0.75) !important;
	box-shadow:         0px 1px 1px 0px rgba(50, 50, 50, 0.75) !important;
	    font-size: 0.6em;
    min-width: 80px;
    background-color: #fcfcfc;
}

.playerAnswer-panel:AFTER {
/* 	content: '';
	position: absolute;
	border: 9px solid transparent;
	border-top-color: #323232;
  	bottom: -20px;
  	left: calc(50% - 9px); */
}

.imageAvatar:HOVER {
	cursor: pointer;
}

#gameProgressWidget-practice {
	width: 100%;
	z-index: 999;
    position: fixed;
}

#gameProgressWidget-practice.affix {
    top: 0 !important;
}
  
.FeedbackItem:HOVER {
	cursor: pointer;
	    background-color: #f7f7f7;
}

.userCommentPanel {
	overflow: hidden;
	position: relative;
}
.userCommentPanel>table {
	margin: 5px 5px 5px 0px;
		float: left;
}

.commentBox {
	position: relative;
	float: left;
}
.commentBox>table {
	margin: 5px 5px 5px 0px;
		float: left;
}

textarea#cmt-main {
	min-height: 50px;
	float: left;
	width: calc(100% - 50px) !important;
	padding-right: 40px;
	overflow: hidden;
	resize: none;
}

textarea#cmt-c  {
	min-height: 30px;
	float: left;
	padding-right: 40px;
	overflow: hidden;
	resize: none;
}

.edit-comment {
	width: calc(100% - 50px);
}

textarea#comment {
	float: left;
	height: 40px;
	width: calc(100% - 50px) !important;
	padding-right: 75px;
	margin-top: 4px;
	overflow: hidden;
	resize: none;
}

.childCommentExpand {
	
}
	
.childCommentExpand .panel-body, .childCommentExpand .panel-heading {
		padding: 0px !important;
}

.panelParrent-float-left {
	overflow: hidden;
}

.panelParrent-float-left>* {
	float: left;
}

.panelParrent-float-right {
	overflow: hidden;
}

.panelParrent-float-right>* {
	float: right;
}

.form-group {
    overflow: hidden;
}

.error-form-msg {
	font-size: 0.9em;
	font-style: italic;
	color: red;
}

.imageAvatarHori:HOVER {
	cursor: pointer;
}

.imageAvatarHori:HOVER div {
	text-decoration: underline;
}
 
.aboutMenu:HOVER .aboutMenu-container {
	display: block;
}

.aboutMenu-container {
	left: 0px !important;
	min-width: 180px !important;
	
}

.aboutMenu-item {
	border-bottom: 1px solid #ddd;
	
}

.aboutMenu-item>a {
    padding: 7px !important;
}

.aboutMenu-item:LAST-CHILD{
	border-bottom: none;
}

.aboutMenu-item:HOVER {
	/* background-color: #ddd; */
}

.KSTabBarButton:HOVER {
	cursor: pointer;
}

.categoryItem-button-disable {
	background-color: #f1f1f1;
	border-radius: 5px;
	color: #125964;
}

.categoryItem-button {
	border-radius: 3px;
    border: 1px solid #00a99d;
}


.categoryItem-button:HOVER {
	cursor: pointer;
	background-color: #ddd;
}

.emotionDialog .modal-backdrop {
	background-color: transparent !important;
}


.desNewGroupItem {
	max-width: calc(100% - 90px) !important;
}

.AdsPanel {
	display: block;
	margin-bottom: 5px;
	padding: 5px;
	border: 1px solid #ddd;
}

.form-upload-image-panel {
	background-color: white;
}

.form-upload-image-panel .file-preview-frame {
		-webkit-box-shadow: 0px 0px 1px 0 #ddd !important;
	-moz-box-shadow:    0px 0px 1px 0 #ddd !important;
	box-shadow:         0px 0px 1px 0 #ddd !important;
}

.browserImageQuestion {	
	font-size: 1.5em;
    color: #999;
    position: absolute !important;
    top: 10px;
    right: 5px;
    cursor: pointer;
}

.browserImageEditQuestion {
		font-size: 1.5em;
    color: #999;
    position: absolute !important;
    top: 25px;
    right: 5px;
    cursor: pointer;
}

.replyImageUpload {
	font-size: 1.5em;
    color: #999;
    position: absolute !important;
    top: 1px;
    right: 0px;
    cursor: pointer;
}

.browserImageEditQuestion:HOVER, .replyImageUpload:HOVER, .browserImageQuestion:HOVER {
	color: #00a99d;
}

.browserImageCreateQuestion {
	font-size: 1.2em;
	color: #333;
	position: absolute !important;
	top: 20px;
	right: 10px;
	cursor: pointer;
}

.discussionItem-name {
	color: #1b75bb;
	font-weight: bold;
}

.discussionItem-name:HOVER {
	cursor: pointer;
	text-decoration: underline;
}

.fb-share-button {
	position: fixed !important;
    right: 280px;
    bottom: 5px;
    z-index: 9;
}

.shareFacebook {
	background-color: #3b5998;
	color: white;
	padding: 2px 7px;
	float: right;
	border-radius: 5px; 
	margin: 5px;
	cursor: pointer;
}
	
.shareFacebook i {
		font-size: 1.2em;
}

.showMore {
	font-size: 0.9em;
	font-style: italic;
}
		
.showMore:HOVER, .buttonReply:HOVER {
	text-decoration: underline;
	cursor: pointer;		
}

.buttonQuiz-answer .MathJax span {
	font-weight: bold !important;
	
/* 	 font-size: 100% !important; */
}
.MathJax span {
	border-left: none !important;
	border-right: none !important;  
	font-family: STIXGeneral !important;
}

.exam-view .buttonQuiz-answer .MathJax span {
	font-weight: normal !important;
	
/* 	 font-size: 100% !important; */
}

.print-preview-exam .buttonQuiz-answer .MathJax span {
	font-weight: normal !important;
	
/* 	 font-size: 100% !important; */
}

.correct-answer-print .buttonQuiz-answer .MathJax span {
	font-weight: bold !important;
}

.zopim {
	bottom: 0px !important;
}

.modalPreviewLecture .modal-dialog {
	margin: 10px auto;
}

.answerSheetItem {
	border: 1px solid #666;
	color: #666;
	background-color: white;
	text-align: center;
	padding: 4px;
	font-weight: bold;
	cursor: pointer;
	border-radius: 100%;
	margin: 0px 2%;
}

.answerSheetItem-active {
	border: 1px solid #666;
	text-align: center;
	padding: 4px;
	font-weight: bold;
	cursor: pointer;
	border-radius: 100%;
	margin: 0px 2%;
	color: white;
	background-color: #595959;
}
.answerSheetItem-incorrect {
	border: 1px solid #666;
	text-align: center;
	padding: 4px;
	font-weight: bold;
	cursor: pointer;
	border-radius: 100%;
	margin: 0px 2%;
	color: white;
	background-color: #f28226;
}

.answerSheetItem-correct {
	border: 1px solid #666;
	text-align: center;
	padding: 4px;
	font-weight: bold;
	cursor: pointer;
	border-radius: 100%;
	margin: 0px 2%;
		color: white;
	background-color: #00a99d;
}

.input-search-question {
	width: calc(100% - 100px);
}

 .search-question-button {
	   overflow: visible;
	   position: relative;
	   float: right;
	   border: 0;
	   padding: 0;
	   cursor: pointer;
	   height: 35px;
	   width: 100px;
	   color: #fff;
	   text-transform: uppercase;
	   background: #d83c3c;
	   -moz-border-radius: 0 3px 3px 0;
	   -webkit-border-radius: 0 3px 3px 0;
	   border-radius: 0 3px 3px 0;
	   text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
 	}
 
 .search-question-button:hover {
   background: #e54040;
 }
 
 .search-question-button:active,
 .search-question-button:focus {
   background: #c42f2f;
 }
 
 .search-question-button:before {
   content: '';
   position: absolute;
   border-width: 8px 8px 8px 0;
   border-style: solid solid solid none;
   border-color: transparent #d83c3c transparent;
   top: 10px;
   left: -6px;
 }
 
 .search-question-button:before {
   border-right-color: #e54040;
 }
 
 .search-question-button:focus:before {
   border-right-color: #c42f2f;
 }
 
 .search-question-button::-moz-focus-inner {
   border: 0;
   padding: 0;
 }
 
 .revenueDetail{
 	border-top: 1px solid black; 
 	margin-top: 10px;
 }
 
 .buttonCreateQuestion {
    position: fixed;
    right: 6px;
    bottom: 160px;
    border-radius: 100%;
    font-size: 1.6em !important;
    color: white;
    background-color: #00a99d;
    padding: 5px;
    z-index: 9999;
    overflow: hidden;
    word-wrap: break-word;
    -webkit-box-shadow: 0 1px 4px 1px rgba(50, 50, 50, 0.5) !important;
    -moz-box-shadow: 0 1px 4px 1px rgba(50, 50, 50, 0.5) !important;
    box-shadow: 0 1px 4px 1px rgba(50, 50, 50, 0.5) !important;
    height: 80px;
	width: 80px;
    text-align: center;
    cursor: pointer;
}

 .buttonCreateQuestionPhoneGap {
    position: fixed;
    right: 6px;
    bottom: 60px;
    border-radius: 100%;
    font-size: 1.6em !important;
    color: white;
    background-color: #00a99d;
    padding: 5px;
    z-index: 9999;
    overflow: hidden;
    word-wrap: break-word;
    -webkit-box-shadow: 0 1px 4px 1px rgba(50, 50, 50, 0.5) !important;
    -moz-box-shadow: 0 1px 4px 1px rgba(50, 50, 50, 0.5) !important;
    box-shadow: 0 1px 4px 1px rgba(50, 50, 50, 0.5) !important;
    height: 65px;
	width: 65px;
    text-align: center;
    cursor: pointer;
}

.fb-page {
	    width: 100%;
	    margin-top: 10px;
	        background-color: white;
    border: 1px solid #ddd;
}

.fb-page>span {
	 width: 340px;
    height: 500px;
    display: block !important;
    margin: 10px auto;
}

.answer-print-preview>div>div {
	color: black !important;
}

.answer-sheet-header {
	overflow: hidden;
	padding: 5px 0px;
	border-bottom: 1px solid #999;
	font-weight: bold;
	color: white;
	font-size: 1.2em;
	background-color: #666;
	text-align: center; 
}

.answer-sheet-header-value {
	margin: 0px 2%
}

.titleGroupNews {
    float: left;
    padding: 10px 0px 5px;
    width: 100%;
    font-size: 1.1em;
    color: #333333;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    position: relative;
}

/* .titleGroupNews:AFTER {
    content: '';
    position: absolute;
    border: 6px solid transparent;
    border-left-color: #666;
    top: 13px;
    left: 1px;
} */

.answerButton {
	padding-left: 0px !important;
}

.search-input {
  border: 0;
  height: 30px;
  width: 100%;
  padding: 5px 7px;
  border-radius: 20px;
  background-color: #fafafa;
  font-size: 1.1em;
  color: #333;
}
.search-box.focus {
  width: 250px;
}

.search-box-mobile {
	width: 50%;
	float: none !important;
	margin: 5px auto;
	display: block;
}

.search-box-mobile.focus {
	width: 90%;
}

.search-box .search-input:focus {
  outline: none;
}
.search-box .search-button {
  width: 28px;
  height: 28px;
  background-color: #00a99d;
  border: 0;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  right: 1px;
/*   -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%); */
  cursor: pointer;
  color: white;
}

.search-box .search-button:HOVER {
	 background-color: rgba(0,169,157,0.8);
}

.search-box .search-button.focus {
/*   -webkit-animation: spin 0.4s 0.9s both ease-in;
          animation: spin 0.4s 0.9s both ease-in; */
}
.search-box .search-button:focus {
  outline: none;
}
.search-box .search-button span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: block;
  position: absolute;
  top: 13px;
  left: 14px;
}
.search-box .search-button span:after {
  content: '';
  width: 4px;
  height: 15px;
  background-color: #fff;
  position: absolute;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 14px;
  left: 21px;
}


/* Clearfix */
.buttonQuiz-answer:AFTER {
  content: "";
  display: table;
  clear: both;
}

.news-des {
		font-size: 0.9em;
		color: #999999;
	    line-height: 1.2em;
	    overflow: hidden;
	    text-overflow: ellipsis;
	    display: -webkit-box;
	    -webkit-line-clamp: 5;
	    -webkit-box-orient: vertical;
	    margin-bottom: 5px;
	}
	
.news-des-newest {
		font-size: 0.9em;
		color: #999999;
	    line-height: 1.2em;
	    overflow: hidden;
	    text-overflow: ellipsis;
	    display: -webkit-box;
	    -webkit-line-clamp: 13;
	    -webkit-box-orient: vertical;
	    margin-bottom: 5px;
}

.news-inner-relative {
	    padding-left: 30px;
}

.news-inner-relative a{
	padding: 2px !important;
	
}

.imageQuestionRight img {
	max-width: 98% !important;
}

.progress-panel-affix {
	position: fixed;
    z-index: 999;
    width: 100%;
    left: 0px;
}

.chart-line {
	cursor: pointer;
}

.highescore-tab-date {
	border: none !important;
	color: #ddd;
	border-bottom: 2px solid #ddd !important;
	text-align: center;
	background-color: transparent;
	padding: 5px 10px;
}


.highescore-tab-date.active {
	color: #00a99d;
	border-bottom: 2px solid #00a99d !important;
}