/*
 * RELOCATION IN BODY STYLE INTO CENTRAL CSS FILE
 */
/***** CSS Banner and Sub-menu *****/
.hkecl-content { 
	background-image: url("https://www.hkreadingcity.net/themes/custom/hkecl_theme/images/readinglog/mybook_topbanner.jpg");
    background-repeat: no-repeat;
	padding:0px !important;
    background-position: center top;
}
#hkecl-content h1{ 
	margin-top: 70px;
	margin-left: 30px;
	margin-right: 40px;
}
.region-content {
	margin-top: 76px;
	max-width: 105%;
}

/*breadcrumb*/
div#hkecl-columns-container.hkecl-columns-container.clearfix .breadcrumb{
	padding:20px;
	;
}

/** page--type-mytarget-booklist.tpl **/
/*
#target_booklist { 
	padding-left: 30px; width: 95%; 
}
*/
.ui-jqgrid .ui-pg-table {
	padding: 0px 0;
}


div#hkecl-columns-container.hkecl-columns-container.clearfix {
    padding: 0px;
}

.field-collection-tabs ul.minisite-tabs {
	margin-top: -20px;
}
/* buttons */

.btn-mybook {
	background:#1563a6 url(ui-bg_btn_mybook.png) repeat-x 50%!important;
    border-color: #61a8e4!important;
}

.btn-mytarget {
	background:#9e4700 url(ui-bg_btn_mytarget.png)repeat-x 50%!important;
    border-color: #e6b38a!important;
}

.btn-myscheme {
	background:#4b881a url(ui-bg_btn_myscheme.png)repeat-x 50%!important;
    border-color: #a5dd93!important;
}

button#btnAdd.btn.btn-primary.btn-mybook{
	text-align: right;
    margin-bottom: inherit;
	font-size:1.5em;
}

div.field-trial-read{
    float:left;
}


/* h1 title toons */

#hkecl-content.hkecl-content.mybook_list h1, #hkecl-content.hkecl-content.mybook_add h1,  #hkecl-content.hkecl-content.hkecl-content.mybook_edit h1{
    background: url(background_h1_mybook.png) 95% no-repeat;
	line-height:55px;
	color: #1665a9;
}

#hkecl-content.hkecl-content.mytarget_list h1, #hkecl-content.hkecl-content.mytarget_booklist h1, #hkecl-content.hkecl-content.hkecl-content.mytarget_detail h1{
    background: url(background_h1_mytarget.png) 95% no-repeat;
	line-height:55px;
	color: #b06a00;
}

#hkecl-content.hkecl-content.myscheme_list h1, div#hkecl-content.hkecl-content.myscheme_detail h1{
    background: url(background_h1_myscheme.png) 95% no-repeat;
	line-height:55px;
	color: #188451;
}

/*my book*/
img#advance_record_search_bar {
}

.form-group.application-control-bar.clearfix {
	padding-right: 130px;
}

div.col-sm-offset-2.col-sm-10{
	display:inline;
	width:100%
}

div.col-sm-2.form-check{
	padding-left:15px;
	padding-right:15px;
}

button#btnAdd.btn.btn-primary.col-sm-2 {
    text-align: right;
    width: auto;
    float: right;	
}

div#edit_record.panel.panel-default.bootstrap-style div.panel-body{
    border: 1px solid #ddd;
    padding-bottom: 100px;
    padding-top: 50px;
    margin-left: 30px;
    margin-right: 30px;
    border-radius: 5px;
}

div#rc_rating.rating.form-check {
	float:none;
    margin-right: 63%;
    min-width: 200px;
}

div#add_new_record.panel.panel-default{
    background:url(textarea_bg.jpg) no-repeat center;
	text-align: center;
    width:50%;
    margin:0 0 20px 25%;auto;
}

div#record_search_filter div.panel-heading {
	display:none;
}

p#encouraging_message_with_existed_record,
p#encouraging_message_no_record {
    margin-top: 30px; 
}

#record_search_filter.panel.panel-default div.panel-body {
	padding:0px !important;
}

#record_search_keyword {
	padding-top:15px;
    padding-bottom: 15px;
}

#record_search_keyword #form_buttons{
	padding-left:0;
}
button#btnSearchRecord.btn.btn-primary.btn-mybook,
button#btnResetForm.btn.btn-primary.btn-mybook {
	margin-right:0 !important;
}

span#record_count {
	font-size:2em;
	font-weight:bold;
	color:#ff8c01;
	padding:5px;
}

table#record_gridlist.ui-jqgrid-btable.ui-common-table img{
	width: 100%;
    height: auto;
}

/*add book record */
#add_record_accordion {
	width: 85%;
    margin-left: 10%;
    border: 0px solid white;
}

div#add_record.bootstrap-style .panel-default > .panel-heading {
    background: #e8e8e8 url(ui-bg_glass_80_e8e8e8_1x400.png) 50% 50% repeat-x;
}

div#add_book_details_right img, div#edit_book_cover.col-sm-3 img{
    padding: 8px;
    border: 4px double #ccc;
}

#add_book_details_left{
	width: 80%!important;
}

#add_book_details_right{
	width: 20%!important;
}

div#tabs .ui-tabs.ui-corner-all.ui-widget.ui-widget-content
{
	border:0px;
}

div#tabs .ui-tabs-nav.ui-corner-all.ui-helper-reset.ui-helper-clearfix.ui-widget-header{
	background: 0;
    border-left: 0;
    border-top: 0;
    border-right: 0;
}
div#tabs a#ui-id-8.ui-tabs-anchor{
    border-radius: 7px 7px 0px 0;
    border-style: solid;
    border-color: #ccc;
    border-width: 1px 1px 0px 1px;
	font-weight:bold;
}

div#tabs a#ui-id-9.ui-tabs-anchor{
    border-radius: 7px 7px 0px 0;
    border-style: solid;
    border-color: #ccc;
    border-width: 1px 1px 0px 1px;
	font-weight:bold;
}


div#tabs .ui-state-active a, 
div#tabs .ui-state-active a:link, 
div#tabs .ui-state-active a:visited{
    background:#1665a9;
    color: white;
}

div#tabs.ui-tabs.ui-corner-all.ui-widget.ui-widget-content {
	border:0;	
}

div.panel.panel-default.col-sm-9.col-sm-offset-2.clearfix.returned_booklist_div{
	margin-top: 25px;
}

div#returned_booklist.panel-body div.returned_booklist_item{
	border-bottom: 1px dashed #ccc;
    margin-bottom: 15px;
}

div.returned_booklist_item .returned_booklist_item_right{
	line-height:25px;
	font-size:0.95em;
}

a#file_upload_1-button.uploadify-button {
    border-radius: 5px;
    line-height: 30px;
    text-decoration: none;
}

/* my target */
div.ui-jqgrid-titlebar.ui-jqgrid-caption.ui-widget-header.ui-corner-top.ui-helper-clearfix{
	height:35px;
}


div#target_searchbox.bootstrap-style {
	margin-top: 10px;
}

div#edithdtarget_gridlist.ui-jqdialog-titlebar.ui-widget-header.ui-corner-all.ui-helper-clearfix {
    height: 35px;
}

div#editmodtarget_gridlist.ui-jqdialog.ui-widget.ui-widget-content.ui-corner-all.ui-dialog.jqmID1, 
div#editmodtarget_gridlist.ui-jqdialog.ui-widget.ui-widget-content.ui-corner-all.ui-dialog.jqmID2 {
	min-width:360px;
	top:50% !important;
	left:30% !important;
}

button#btnBacktoTargetList.btn.btn-primary.btn-mytarget {
	margin-right: 0px!important;
    float: right;
}

/*My target - achievement */
#target_list_reading_page_summary{
	height:221px !important;
    background: URL(mytarget_readpagesummarybg.jpg)no-repeat 100%;
	border-color: #88abc7 !important;
}

span#summary_page_count {
    font-weight: normal;
    color: #FFFFFF;
    background-color: #3f94d8;
    border-radius: 15px;
    padding: 0 10px;
    letter-spacing: 0pt;
    word-spacing: 5pt;
    font-size: 45px;
    text-align: left;
    font-family: calibri;
    line-height: 2.25;
}

div#target_list_reading_report_summary{
	height:221px !important;
    background: URL(mytarget_readreportsummarybg.jpg)no-repeat 100%;
	border-color:#82bd95 !important;
}

div#target_list_reading_book_summary{
	border-color:#a2a2a2 !important;
    font-weight: bold;
    color: #b06a00;
	font-size: xx-large;
}

span#summary_report_count {
    font-weight: normal;
    color: #FFFFFF;
    background-color: #249e5c;
    border-radius: 15px;
    padding: 0 10px;
    letter-spacing: 0pt;
    word-spacing: 5pt;
    font-size: 45px;
    text-align: left;
    font-family: calibri;
    line-height: 2.75;
}

div#current_target_progress.progress-bar {
	background-color: #b06a00;
}


/* my scheme */
div.student_scheme_list_current.student_scheme_list_current {
    padding:0 0 5px 0;
    width: 70%;
    border-radius: 10px;
    border: 4px outset #f3c7a7;
    margin-bottom: 1em;
/*	min-width:350px;
	background:url(https://www.hkreadingcity.net/sites/default/files/u111/scheme_bg_active.jpg)no-repeat 100%;*/
    background:url(scheme_bg_active.jpg)no-repeat right 100%;
	background-color: #f9fdff;
}

button.btn.btn-primary.btn-mybook.btnAddBook{
	margin: 5px 25px 0;
}

div#studentView_scheme_reslist .student_scheme_list_deactive{
    padding: 0 0 5px 0;
    width: 70%;
    border-radius: 10px;
    border: 0;
    margin-bottom: 1em;
/*    min-width: 350px;  */
    background: #ffd9be;
}

div.student_scheme_list_current .student_scheme_list_title, 
div.student_scheme_list_deactive .student_scheme_list_title{
	font-weight: bold;
	font-size:1.15em;
	text-indent:5px;
	color:#188451;
    padding: 7px 0;
}

div.student_scheme_list_current .student_scheme_list_title{
    background: linear-gradient(to right, rgba(255,233,207,1) 0%, rgba(247,246,244,0.1) 100%);
}
div.student_scheme_list_deactive .student_scheme_list_title {
	background:#f1f0ef;
}

div.student_scheme_list_description_text,
p.student_scheme_list_summary_text,
div.student_scheme_list_date, a.btnSchemeDetail{
	padding-left:15px;
	padding-right:15px;
	text-decoration:none;
}

div.student_scheme_list_description_text li{
	list-style-position:inside;
}

button.btn.btn-primary.btn-myscheme.btnAddBook{
	margin-left:15px;
}

div.student_scheme_list_date{
	margin: 10px 0 10px;
	color: #e77735;
	font-weight:bold;
}

div.badges_acquired{
	margin:15px;
}

span.scheme_record_count{
	font-size: 1.5em;
    font-weight: bold;
    padding: 10px;
    color: #7ebf00;
}

/* header for my target  */
table#target_details .tbl-col-1 {
    width: 20%;
    min-width: 80px;
    font-weight: bold;
    color: #b06a00;
}

/* header for scheme  */
table#scheme_details .tbl-col-1 {
    width: 20%;
    min-width: 80px;
    font-weight: bold;
    color: #188451;
}

/*title header for my book */
div.panel-body label.col-sm-3.control-label,  
div#add_book_details_left label.col-sm-2.control-label, 
form#record_statusform.form-horizontal.bv-form label.col-sm-2.control-label,    
form#record_statusform.form-horizontal.bv-form label.form-check-label,
form#record_reportform.form-horizontal.bv-form label.col-sm-2.control-label,
div.panel-body label.col-sm-2.control-label { 
	color:#1665a9;
	font-weight:bold;
}

div.rating {
	float:none;
    margin-right: 58%;
    min-width: 200px;
}

/* background overlay for popup*/
.ui-widget-overlay {
    background: #000000 !important;
}

/*  3 grids styles  */
/* generic grid styles*/
.ui-jqgrid tr.ui-row-ltr td {
    border-right-width: 0px;
}

.ui-jqgrid tr.jqgrow td {
    border-bottom-width: 0px;
	padding-left: 5px;
}

.ui-state-hover, .ui-widget-content.ui-state-hover, .ui-widget-header.ui-state-hover, .ui-state-focus, .ui-widget-content.ui-state-focus, .ui-widget-header.ui-state-focus { 
    border: 1px solid #ececec; 
	/*background: #e4f1fb url(images/ui-bg_glass_100_e4f1fb_1x400.png) 50% 50% repeat-x; */
	font-weight: bold; color: #0070a3; 
	background: #fffde5 !important;
}


.jqgrow.ui-row-ltr.ui-widget-content {
    border: 1px solid #dddddd;
    background: #fff url(images/ui-bg_highlight-hard_100_f2f5f7_1x100.png) 50% top repeat-x;
    color: #606060;
}


table.ui-jqgrid-htable.ui-common-table {
    border-bottom:1px dashed #f0f0f0;
	padding-bottom: 5px;
    margin-bottom: 5px;
}

/*my scheme grid*/
div#gbox_scheme_gridlist.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all .ui-widget-header,
div#gbox_scheme_booklist_grid.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all .ui-widget-header {
    background: none;
	border-bottom: 0px;
}
	
div#gbox_scheme_gridlist.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all, 
div#gbox_scheme_booklist_grid.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all {
	border: 0px;
}

div#gbox_scheme_gridlist.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, 
div#gbox_scheme_booklist_grid.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default 
 {
    background: white;
	border:0;
	color:#188451 !important;
}

/*my target grid*/
div#gbox_target_gridlist.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all .ui-widget-header,
div#gbox_target_booklist_grid.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all .ui-widget-header {
    background: none;
	border-bottom: 0px;
}
	
div#gbox_target_gridlist.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all, 
div#gbox_target_booklist_grid.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all {
	border: 0px;
}


div#gbox_target_gridlist.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default ,
div#gbox_target_booklist_grid.ui-widget.ui-widget-content.ui-corner-all .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: white;
	border: 0px;
	color:#b06a00 !important;
}

/*my book grid*/
div#gbox_record_gridlist.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all .ui-widget-header {
    background:#fafafa;
	border-bottom:0;
}

div#gbox_record_gridlist.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all{
	border:0;
}

div#gbox_record_gridlist.ui-jqgrid.ui-widget.ui-widget-content.ui-corner-all .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: white;
	border: 0px;
	color:#1665a9 !important;
}

/* Progress bar*/
div#progress_bar.bootstrap-style .progress{
    width:100% !important;
}
div#scheme_progress.progress-bar {
	color: #000;
    background-color: #c1ff02;
}

div#scheme_description_text {
	border: 1px solid #e9e9e9;
	border-radius: 5px;
  padding: 15px;
	background:white;
}

div#scheme_description_text li{
	list-style-position:inside;
}

@media all and (max-width: 768px) {
	
img#advance_record_search_bar{
}

.form-group.application-control-bar.clearfix {
	padding-right: 0px;
}

div#editmodtarget_gridlist.ui-jqdialog.ui-widget.ui-widget-content.ui-corner-all.ui-dialog.jqmID1, 
div#editmodtarget_gridlist.ui-jqdialog.ui-widget.ui-widget-content.ui-corner-all.ui-dialog.jqmID2 {
	width:360px !important;
	left:0% !important;
}

#add_book_details_right{
    width: 50% !important;
    float:none!important;
}

#add_book_details_left{
    padding-left: 35px !important;
}

div#add_book_details_right img {
	float:none!important;
	margin-left:12%;
}

#book_details_right {
	float:none!important;
	margin-left: 55px;
}

/*add book / Edit book record */
button#btnSearchBook.btn.btn-primary{
    margin-top: 20px;
    margin-left: 15px;
}

div#edit_record.panel.panel-default.bootstrap-style div.panel-body{
    margin-left: 10px;
    margin-right: 10px;
}

/* my book*/
div#add_new_record.panel.panel-default{
    text-align: center;
    width:100% !important;
    margin: 0 0 20px!important;
}

#record_search_keyword {
	padding-top: 0px;
    padding-bottom: 0px;
}

#record_search_filter.panel.panel-default div.panel-body {
	padding:15px !important;
}
/* my scheme */
div.student_scheme_list_current.student_scheme_list_current {
    width: 100%;
}
div#studentView_scheme_reslist .student_scheme_list_deactive{
    width: 100%;
}

}


@media all and (max-width: 650px){
/*My target - achievement */
div#target_list_upper_left{
	width:100%;
	float:none;
	height:auto;
	margin-right:0;
}

div#target_list_upper_right{
	width:100%;
	float:none;
}

div#target_list_reading_book_summary{
	margin-right:0;
}
}

@media all and (max-width: 550px){
/* Progress bar*/
div#progress_bar.bootstrap-style .progress{
    width:50%!important;
}

/* my book*/
#record_search_keyword #form_buttons{
	padding-top:15px !important;
	padding-bottom:15px !important;
}
}

@media all and (max-width: 400px){
#add_book_details_right {
    width: 30%!important;
}

#add_book_details_left{
	padding-left: 0px !important;
}
#book_details_left{
	padding-left: 0px !important;
}
#book_details_right {
	float:none!important;
	margin-left: 10px;
}

div#edit_record.panel.panel-default.bootstrap-style div.panel-body{
    margin-left: 5px;
    margin-right: 5px;
	padding-top: 10px;
}

/* Progress bar*/
div#progress_bar.bootstrap-style .progress{
    width:95px!important;
}
}