/* ======= define font family from file ====== */
@font-face {
    font-family: Releway-ExtraBold;
    src: url('../fonts/Raleway-ExtraBold.ttf')
}
@font-face {
    font-family: Releway-Bold;
    src: url('../fonts/Raleway-Bold.ttf')
}
@font-face {
    font-family: Raleway-Regular;
    src: url('../fonts/Raleway-Regular.ttf')
}
@font-face {
    font-family: Baskerville-Italic;
    src: url('../fonts/Baskerville-Italic.ttf')
}
@font-face {
    font-family: Baskerville;
    src: url('../fonts/baskvl.ttf')
}
/*=============== global ==================*/
.text-center{
  text-align: center;
}
html {
	
	background: #fff;
}
body{
	background: #fff;
	color:#3c3c3c;
	font-family: Raleway-Regular;
  margin: 0;
  padding: 0;
}
.up_arrow{
  font-size: 20px;
  position: absolute;
  right: 10px;
  top: 50px;
  cursor: pointer;
}
.up_arrow.up{
  top: -4px;
}
.loading_overlay{
  position: fixed;
  left:0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 99;
}
.loading_overlay div{
  position: absolute;
  width: 200px;
  color: #333;
  background: #fff;
  height: 50px;
  left: 50%;
  top: 50%;
  margin-left: -100px;
  margin-top: -25px;
  padding-top: 11px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  border-radius: 12px;
}
.c-nav{
	background: #1ac2a0;
	color: #fff;
	position: fixed;
  top: 0;
	width: 320px;
	font-family: Releway-Bold;
	z-index: 9;
	height: 100vh;
  overflow-y: auto;
  scrollbar-width: none; 
  -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
}
.c-nav_background{/*
  position: absolute;
  z-index: 1;
  height: 60%;
  width: 100%;
  display: block;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
  background-image: url(../images/bg.png);*/
}
.wrapper{
  position: relative;
  top: 0;
  height: 100vh;
}
.wrapper.c-nav-samll .c-nav{
  width: 50px;
}
.wrapper.c-nav-samll .div_body{
  padding-left: 50px;
}
.wrapper.c-nav-samll .menu-item-title,
.wrapper.c-nav-samll .menu-item-arrow{
  display: none;
}
.wrapper.c-nav-samll .menu-logo{
  overflow: hidden;
}
.wrapper.c-nav-samll .menu-logo img{
  margin-left: 10px;
}
.wrapper.c-nav-samll .menu-logo div{
  width: 320px;
  text-align: left;
  margin-left: 17px;
  letter-spacing: 13px;
  font-size: 34px;
}
.wrapper.c-nav-samll .menu-item-icon{
  margin-left: 15px;
}
.menu-logo{
	width: 100%;
	position: relative;
	height: 80px;
  margin-bottom: 20px;
	border-bottom: 1px solid rgba(255,255,255,0.3);
}
.menu-logo img{
	width: 180px;
  margin-top: 18px; 
  margin-left: 30px;
}
.menu-logo div{
  font-size: 30px;
  color: #fff;
  text-align: center;
  padding-top: 20px;
}
.menu-item-sel{
	background: rgba(255,255,255,0.4);
	color:#fff;
}
.menu-item:hover{
	background: rgba(255,255,255,0.3);
	color: #fff;
}
.menu-item{
  margin: 5px 15px;
	height: 60px;
	position: relative;
	cursor: pointer;
  border-radius: 5px;
  z-index: 3;
  -webkit-transition: all 150ms ease-in;
    -moz-transition: all 150ms ease-in;
    -o-transition: all 150ms ease-in;
    -ms-transition: all 150ms ease-in;
    transition: all 150ms ease-in;
}
.menu-item-icon{
	float: left;
	width: 30px;
	margin-left: 10px;
	font-size: 20px;
	margin-top: 15px;
}
.menu-item-title{
	float: left;
	margin-top:20px;
	letter-spacing: 1px;
}
.menu-item-arrow{
	float: right;
	margin-top: 22px;
    font-size: 10px;
    margin-right: 16px;
}

.div_body{
	position: relative;
	/*background: rgba(203, 203, 210, 0.15);*/
	padding-left: 320px;
  height: 100%;
  max-height: 100%;
  -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
}
.div_body_top{
	background: #fff;
  border-bottom: 1px solid #D9DEE4;
	height: 80px;
  overflow-y: hidden; 
  position: fixed;
  top: 0;
  width: calc(100% - 320px);
  z-index: 10;
  -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
}
.div_body_top_title{
	font-weight: bold;
    font-size: 24px;
    letter-spacing: 1px;
    margin-left: 20px;
    padding-top: 20px;
}
#bt_nav{
  float: left;
  font-size: 26px;
  color: #555;
  cursor: pointer;
  margin-right: 20px;
    margin-top: 5px;
}
.div_body_top_title div{
  float: left;
}
#loading{
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: none;
  position: fixed;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}
.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}
.loader {
  color: #000;
  font-size: 10px;
  margin-top: -50px;
  position: absolute;
  top: 50%;
  left: 50%;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}
.loader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 3.5em;
}
@-webkit-keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}
@keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

.div_body_main{
  padding: 20px;
  padding-top: 100px;
  font-family: Arial;
  /*background: rgba(203, 203, 210, 0.15);*/
}
.div_table{
  background: #fff;
  box-shadow: #ccc 0px 0px 3px;
}
.div_product_table{
  background: #fff;
  box-shadow: #ccc 0px 0px 3px;
}
.div_upload{
  border-bottom: 1px solid #ccc;
  padding: 20px;
  padding-left: 0px;
}
#bt_pop_project{
}
.clear{
  clear: both;
}

.div_body_main .fixed-table-container{
  border: 0;
  border-top: 1px solid #ccc;
}
#table tr{
  cursor: pointer;
}
#table .tr_sel{
  background: #eee;
}
.fixed-table-pagination .pagination-info{
  display: none;
}
.fixed-table-pagination .page-list,
.fixed-table-pagination .pagination{

}
.act_project{
  padding-bottom: 10px;
}
.act_project_title{
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
}
.project_item{
  display: inline-block;
  margin:20px;
  width: 124px;
  position: relative;
  vertical-align: top;
}
.bt_delete_project{
  position: absolute;
  background: #c4262c;
  color: #fff;
  width: 20px;
  height: 20px;
  cursor: pointer;
  text-align: center;
    line-height: 22px;
        right: -10px;
  top: -10px;
  border-radius: 10px;
}
.project_item div{
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.project_item div.item{
  width: 124px;
  height: 150px;
  box-shadow: #333 2px 2px 8px;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  overflow: hidden;
}
.project_item div.item img{
  max-width: 100%;
  /*max-height: 100%*/
}
.project_item div.item_pname{
  max-height: 34px;
  white-space: normal;
}
.overlay,
.qoverlay,
.uoverlay{
  position: fixed;
  display: none;
  background: rgba(0,0,0,0.5);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
}
.popup{
  position: fixed;
  display: none;
  background: #fff;
  box-shadow: #333 0px 0px 10px;
  left: 50%;
  top: 50%;
  margin-left: -200px;
  margin-top: -250px;
  z-index: 9;
  overflow: hidden;
  width: 400px;
  height: 500px;
  min-height: 100px;
  border-radius: 15px;
  z-index: 12;
}
.add_question_dlg{
  width: 400px;
  height: 460px;
  margin-left: -200px;
  margin-top: -230px;
  padding: 30px;
}
.password_dlg{
  width: 400px;
  height: 300px;
  margin-left: -200px;
  margin-top: -150px;
  padding: 30px;
}
#bt_create_question,
#bt_u_password{
  float: right;
}
.bt_close{
  position: absolute;
  font-size: 30px;
  right: 0px;
  padding: 10px;
  top: 0px;
  line-height: 34px;
  cursor: pointer;
  font-family: Arial;
}
.bt_change_close{
  position: absolute;
  font-size: 30px;
  right: 0px;
  padding: 10px;
  top: 0px;
  line-height: 34px;
  cursor: pointer;
  font-family: Arial;
}
.popup form{
  padding: 40px;
  overflow-y: auto;
}
.bootstrap-switch-id-ppublic{
  float: right;
}
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}
.div_app_img{
  height: 500px;
  border:1px solid #eee;
  margin-bottom: 20px;
}
#product_table{
  overflow-y:scroll !important;
  width: 100%;
  height:500px !important;
  display:block !important;
}

#product_table td {
  width: 210px;
  /* text-align: center; */
}
.product_change_box_popup {
  width: 605px !important;
  height: 313px !important;
  margin-left: -177px !important;
  margin-top: -244px !important;
}

.div_app_img img{
  max-width: 100%;
  max-height: 100%;
}
.file-preview{
  display: block !important;
  height: 446px;
}
.krajee-default.file-preview-frame .kv-file-content{
  height: 330px;
}
#bt_create_project{
  float: right;
  margin-top: 30px;
}
.left_menu{
  background: #444;
  position: relative;
  left: 0;
  top: 0;
  width: 15%;
  height: 100%;
  float: left;
}
.popup_wrapper{
  width: 80%;
  float: left;
  display: none;
}
#detail{
  display: block;
}
.menu_item{
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  padding: 15px;
  padding-left: 50px;
  cursor: pointer;
  text-transform: uppercase;
}
.menu_item_sel{
  background: #333;
}
.spacing{
  padding: 20px;
}
.popup_top{
  background: #fff;
  height: 60px;
  border-bottom: 1px solid #eee;
}
.question_section{
  padding: 20px 0px;
}
.qn{
  border-radius: 100px;
  background: #333;
  color: #fff;
  width: 40px;
  height: 40px;
  text-align: center;
  padding-top: 5px;
  font-size: 20px;
  margin-bottom: 10px;
}
.video_item{
  position: relative;
  border-radius: 10px;
  width: 200px;
  height: 200px;
  display: inline-block;
  background: #eee;
  margin: 10px;
}
.video_item .viewed{
  border-radius: 50px;
  width: 30px;
  height: 30px;
  border:3px solid #fff;
  padding-top: 2px;
  text-align: center;
  color: #fff;
  background: #333;
  position: absolute;
  bottom: -12px;
  right: -12px;
}
.video_bottom{
  background: rgba(0,0,0,0.8);
  position: absolute;
  bottom: 0;
  height: 60px;
  width: 95%;
  padding-left: 5%;
  color: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.video_title,
.video_user{
  padding-left: 10px;
}
.video_right{
  background: rgba(0,0,0,0.8);
  position: absolute;
  right: 0;
  width: 40px;
  height: 140px;
  color: #fff;
  border-top-right-radius: 10px;
}
#project_list{
  width: 200px;
  margin: 10px;
  display: inline-block;
}
.bt_qupdate,
.bt_qdelete{
  float: right;
  margin-left: 20px;
}
#q_preview{
  padding: 20px;
  border: 1px solid #aaa;
  width: 320px;
  height: 586px;
  margin: 40px auto;
}
div.reset button{
  float: left;
  margin: auto 10px;
}
.upload-group{
  position: relative;
}
.sfile{
    position: absolute;
    background: #eee;
    padding: 0px 10px;
    left: 3px;
    top: 21px;
    text-align: center;
    width: 85px;
    cursor: pointer;
}

/*=================================*/
.buttons{
  margin-bottom: 20px;
}
.clearfix{
  clear: both;
}
.buttons button{
  float: right;
}
.form_title{
  font-size: 20px;
  font-weight: bold;
  color: #307739;
}
.tright{
  text-align: right;
}
#bt_search,
#bt_csearch{
  margin-top: 5px;
    font-size: 20px;
    margin-left: -15px;
    cursor: pointer;
}

#bt_popup_product {
  margin-right: 10px !important;
}
.div_search{
  margin-bottom: 20px;
}
.sitem,
.gitem{
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.48) 0px 0px 10px;
  height: 120px;
  padding:15px;
  max-width: 200px;
  margin: auto;
  color: #fff;
}
#sitem_picture,
#sitem_totalc{
  background: #f13f3f;
}
#sitem_comment,
#sitem_acceptedc{
  background: #FF9800;
}
#sitem_like,
#sitem_availablec{
  background: #4CAF50;
}
.sitem_num{
  float: left;
  font-size: 32px;
  font-weight: bold;
  text-shadow: #555 1px 1px;
  padding-left: 5px;
}
.sitem_title{
  float: right;
  bottom: 0px;
  font-size: 20px;
  margin-top: 62px;
}
.div_search_item{
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  position: relative;
  min-height: 65px;
  border-radius: 5px;
}
img.picture{
  max-height: 300px;
}
.pc_delete{
  position: absolute;
  right: 15px;
  top:15px;
}
.tab_space{
  margin-left: 30px;
  color: #555;
}
.item_comment_user{
  padding-top: 5px;
  color: #4e6cff;
}
.gitem{
  margin: 15px;
  display: inline-block;
  width: 200px;
  background: #3185ce;
}
#body_challenge{
  background: transparent;
}
.hline{
  border-top: 1px solid #eee;
  height: 20px;
  margin-top: 20px;
}
.div_flname input{
  width: 49%;
  display: inline-block;
}
.pic_desc{
  padding-top: 5px;
}
.c-nav-samll .menu-item{
  margin: 0px;
}
.c-nav-samll .div_body_top{
  width: calc(100% - 50px);

}
/*=========================================*/

/*=================================*/
#bt_csv{
  float: right;
  cursor: pointer;
  color: #00f;
  font-size: 16px;
}
img.img{
  max-width: 50px;
  max-height: 50px;
}
.div_table{
  min-width: 1400px;
}
.div_product_table{
  min-width: 800px;
}
input[type="file"]{
  width: 94px;
  padding: 0px;
  height: 24px;
}
.small_img{
  float: right;
  width: 60px;
  height: 60px;
}
.fleft{
  float: left;
}
.form-group{
  clear: both;
  margin-bottom: 5px;
}
.div_title{
  font-size: 24px;
  color: #dc872e;
  padding-bottom: 10px;
}
.pager li > a{
  border: 0px;
}
.d1{
  display: none !important;
}

#select_games {
  float: left;
  max-width: 200px;
}
#select_audiobook {
  float: left;
  max-width: 300px;
}
#select_summarybook {
  float: left;
  max-width: 300px;
}
#total_prize_label{
  float: left;
  margin-left: 20px;
  padding-top: 5px;  
}
#online_users{
  float: left;
  margin-left: 20px;
  padding-top: 5px;  

}
/* ============= some style on only phone ==========*/
@media (max-width: 499px) {

.wrapper .c-nav{
  width: 0px;
  overflow: hidden;
}
.wrapper .div_body{
  padding-left: 0px;
}
.wrapper .menu-item-title,
.wrapper .menu-item-arrow{
  display: none;
}
.wrapper .menu-logo{
  overflow: hidden;
}
.wrapper .menu-logo img{
  margin-left: 10px;
}
.wrapper .menu-item-icon{
  margin-left: 15px;
}

}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.pagination {
  margin: 10px 32px;
}