/* BEGIN DEFAULT POSITIONING */

.rbox {
	position: relative;
	display: block;
	padding: 15px;
	z-index: 1;
}

.rbox .rbox_piece {
	display: block;
}

.rbox_top_left {
	position: absolute;
	height: 15px;
	width: 15px;
	top: 0px;
	left: 0px;
	z-index: 1;
}

.rbox_top_center {
	position: absolute;
	height: 15px;
	left: 15px;
	right: 15px;
	top: 0px;
	z-index: 1;
}

.rbox_top_right {
	position: absolute;
	height: 15px;
	width: 15px;
	top: 0px;
	right: 0px;
	z-index: 1;
}

.rbox_center_left {
	position: absolute;
	width: 15px;
	top: 15px;
	bottom: 15px;
	left: 0px;
	z-index: 1;
}

.rbox_center_center {
	position: absolute;
	top: 15px;
	bottom: 15px;
	right: 15px;
	left: 15px;
	z-index: 1;
}

.rbox_center_right {
	position: absolute;
	width: 15px;
	top: 15px;
	bottom: 15px;
	right: 0px;
	z-index: 1;
}

.rbox_bottom_left {
	position: absolute;
	height: 15px;
	width: 15px;
	bottom: 0px;
	left: 0px;
	z-index: 1;
}

.rbox_bottom_center {
	position: absolute;
	height: 15px;
	bottom: 0px;
	left: 15px;
	right: 15px;
	z-index: 1;
}

.rbox_bottom_right {
	position: absolute;
	height: 15px;
	width: 15px;
	bottom: 0px;
	right: 0px;
	z-index: 1;
}

.rbox_content {
	position: relative;
	display: block;
	z-index: 2;
}

.rbox_content .thread_item_container .right {
	width: 150px !important;
}
/* END DEFAULT POSITIONING */

/* BEGIN BLACK RBOX */

.tr10 .rbox_piece, .rbox .tr10 .rbox_piece {
	opacity: .1;
}

.tr20 .rbox_piece, .rbox .tr20 .rbox_piece {
	opacity: .2;
}

.tr25 .rbox_piece, .rbox .tr25 .rbox_piece {
	opacity: .25;
}

.tr30 .rbox_piece, .rbox .tr30 .rbox_piece {
	opacity: .3;
}

.tr33 .rbox_piece, .rbox .tr33 .rbox_piece {
	opacity: .33;
}

.tr40 .rbox_piece, .rbox .tr40 .rbox_piece {
	opacity: .4;
}

.tr50 .rbox_piece, .rbox .tr50 .rbox_piece {
	opacity: .5;
}

.tr60 .rbox_piece, .rbox .tr60 .rbox_piece {
	opacity: .6;
}

.tr67 .rbox_piece, .rbox .tr67 .rbox_piece {
	opacity: .67;
}

.tr70 .rbox_piece, .rbox .tr70 .rbox_piece {
	opacity: .7;
}

.tr75 .rbox_piece, .rbox .tr75 .rbox_piece {
	opacity: .75;
}

.tr80 .rbox_piece, .rbox .tr80 .rbox_piece {
	opacity: .8;
}

.tr90 .rbox_piece, .rbox .tr90 .rbox_piece {
	opacity: .9;
}




.black_box, .rbox .black_box {
	color: #FFF;
}

.black_box .rbox_top_left, .rbox .black_box .rbox_top_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -457px 0;
}

.black_box .rbox_top_right, .rbox .black_box .rbox_top_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -472px 0;
}

.black_box .rbox_bottom_left, .rbox .black_box .rbox_bottom_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -457px -15px;
}

.black_box .rbox_bottom_right, .rbox .black_box .rbox_bottom_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -472px -15px;
} 
	
.black_box .rbox_top_center, .rbox .black_box .rbox_top_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0 -410px;
}

.black_box .rbox_bottom_center, .rbox .black_box .rbox_bottom_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0px -425px;
}

.black_box .rbox_center_left, .rbox .black_box .rbox_center_left {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -1040px 0;
}

.black_box .rbox_center_right, .rbox .black_box .rbox_center_right {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -1055px 0px;
}

.black_box .rbox_center_center, .rbox .black_box .rbox_center_center {
	background: #000;
}

/* END BLACK RBOX */

/* BEGIN WHITE RBOX */

.white_box, .rbox .white_box {
	color: #000;
}

.white_box .rbox_top_left, .rbox .white_box .rbox_top_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -547px 0;
}

.white_box .rbox_top_right, .rbox .white_box .rbox_top_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -562px 0;
}

.white_box .rbox_bottom_left, .rbox .white_box .rbox_bottom_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -547px -15px;
}

.white_box .rbox_bottom_right, .rbox .white_box .rbox_bottom_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -562px -15px;
} 
	
.white_box .rbox_top_center, .rbox .white_box .rbox_top_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0 -500px;
}

.white_box .rbox_bottom_center, .rbox .white_box .rbox_bottom_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0px -515px;
}

.white_box .rbox_center_left, .rbox .white_box .rbox_center_left {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -1130px 0;
}

.white_box .rbox_center_right, .rbox .white_box .rbox_center_right {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -1145px 0px;
}

.white_box .rbox_center_center, .rbox .white_box .rbox_center_center {
	background: #FFF;
}

/* END WHITE RBOX */


/* BEGIN HELP RBOX */

.help {
	margin: 10px;
	font-weight: bold;
	font-size: .9em;
	line-height: 20px;
}

.help h3, .help h2, .help h1 {
	text-align: center;
}

.help .thinline {
	margin-top: 5px;
	margin-bottom: 5px;
}

.red_box, .rbox .red_box {
	color: #FFF;
}

.red_box .rbox_top_left, .rbox .red_box .rbox_top_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -487px 0;
}

.red_box .rbox_top_right, .rbox .red_box .rbox_top_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -502px 0;
}

.red_box .rbox_bottom_left, .rbox .red_box .rbox_bottom_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -487px -15px;
}

.red_box .rbox_bottom_right, .rbox .red_box .rbox_bottom_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -502px -15px;
} 
	
.red_box .rbox_top_center, .rbox .red_box .rbox_top_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0 -440px;
}

.red_box .rbox_bottom_center, .rbox .red_box .rbox_bottom_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0px -455px;
}

.red_box .rbox_center_left, .rbox .red_box .rbox_center_left {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -1070px 0;
}

.red_box .rbox_center_right, .rbox .red_box .rbox_center_right {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -1085px 0px;
}

.red_box .rbox_center_center, .rbox .red_box .rbox_center_center {
	background: #660000;
}

/* END HELP RBOX */

/* BEGIN BLUE RBOX */

.blue_box, .rbox .blue_box {
	color: #FFF;
}

.blue_box .rbox_top_left, .rbox .blue_box .rbox_top_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -517px 0;
}

.blue_box .rbox_top_right, .rbox .blue_box .rbox_top_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -532px 0;
}

.blue_box .rbox_bottom_left, .rbox .blue_box .rbox_bottom_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -517px -15px;
}

.blue_box .rbox_bottom_right, .rbox .blue_box .rbox_bottom_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -532px -15px;
}
	
.blue_box .rbox_top_center, .rbox .blue_box .rbox_top_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0 -470px;
}

.blue_box .rbox_bottom_center, .rbox .blue_box .rbox_bottom_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0px -485px;
}

.blue_box .rbox_center_left, .rbox .blue_box .rbox_center_left {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -1100px 0;
}

.blue_box .rbox_center_right, .rbox .blue_box .rbox_center_right {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -1115px 0px;
}

.blue_box .rbox_center_center, .rbox .blue_box .rbox_center_center {
	background: #002b66;
}

/* END BLUE RBOX */


.comment_textarea .rbox_top_left, .rbox .comment_textarea .rbox_top_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -397px 0 !important;
}

.comment_textarea .rbox_top_right, .rbox .comment_textarea .rbox_top_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -412px 0 !important;
}

.comment_textarea .rbox_bottom_left, .rbox .comment_textarea .rbox_bottom_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -397px -15px !important;
}

.comment_textarea .rbox_bottom_right, .rbox .comment_textarea .rbox_bottom_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -412px -15px !important;
}

.comment_textarea .rbox_top_center, .rbox .comment_textarea .rbox_top_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0 -350px !important;
}

.comment_textarea .rbox_bottom_center, .rbox .comment_textarea .rbox_bottom_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0 -365px !important;
}

.comment_textarea .rbox_center_left, .rbox .comment_textarea .rbox_center_left {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -980px 0 !important;
}

.comment_textarea .rbox_center_right, .rbox .comment_textarea .rbox_center_right {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -995px 0 !important;
}

.comment_textarea .rbox_center_center, .rbox .comment_textarea .rbox_center_center {
	background: #FFF !important;
}

.thread_item .rbox_top_left, .rbox .thread_item .rbox_top_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -427px 0 !important;
}

.thread_item .rbox_top_right, .rbox .thread_item .rbox_top_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -442px 0 !important;
}

.thread_item .rbox_bottom_left, .rbox .thread_item .rbox_bottom_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -427px -15px !important;
}

.thread_item .rbox_bottom_right, .rbox .thread_item .rbox_bottom_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -442px -15px !important;
}

.thread_item .rbox_top_center, .rbox .thread_item .rbox_top_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0 -380px !important;
}

.thread_item .rbox_bottom_center, .rbox .thread_item .rbox_bottom_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0 -395px !important;
}

.thread_item .rbox_center_left, .rbox .thread_item .rbox_center_left {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -1010px 0 !important;
	min-height: 35px;
	height: auto !important;
	height: 35px;
}

.thread_item .rbox_center_right, .rbox .thread_item .rbox_center_right {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -1025px 0 !important;
	min-height: 35px;
	height: auto !important;
	height: 35px;
}

.thread_item .rbox_center_center, .rbox .thread_item .rbox_center_center {
	background: #CCC !important;
	min-height: 35px;
	height: auto !important;
	height: 35px;
}


.test_box, .rbox .test_box {
	color: #FFF;
}

.test_box .rbox_top_left, .rbox .test_box .rbox_top_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -577px 0;
}

.test_box .rbox_top_right, .rbox .test_box .rbox_top_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -592px 0;
}

.test_box .rbox_bottom_left, .rbox .test_box .rbox_bottom_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -577px -15px;
}

.test_box .rbox_bottom_right, .rbox .test_box .rbox_bottom_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -592px -15px;
}
	
.test_box .rbox_top_center, .rbox .test_box .rbox_top_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0 -652px;
}

.test_box .rbox_bottom_center, .rbox .test_box .rbox_bottom_center {
	background: url(/frontend/img/cgbar/sprite_horizontal.png) repeat-x 0px -667px;
}

.test_box .rbox_center_left, .rbox .test_box .rbox_center_left {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -1160px 0;
}

.test_box .rbox_center_right, .rbox .test_box .rbox_center_right {
	background: url(/frontend/img/cgbar/sprite_vertical.png) repeat-y -1175px 0px;
}

.test_box .rbox_center_center, .rbox .test_box .rbox_center_center {
	background: #000;
}

.black_box_nb, .rbox .black_box_nb {
	color: #FFF;
}

.black_box_nb .rbox_top_left, .rbox .black_box_nb .rbox_top_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -607px 0;
}

.black_box_nb .rbox_top_right, .rbox .black_box_nb .rbox_top_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -622px 0;
}

.black_box_nb .rbox_bottom_left, .rbox .black_box_nb .rbox_bottom_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -607px -15px;
}

.black_box_nb .rbox_bottom_right, .rbox .black_box_nb .rbox_bottom_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -622px -15px;
}
	
.black_box_nb .rbox_top_center, .black_box_nb .rbox_bottom_center, .black_box_nb .rbox_center_left, .black_box_nb .rbox_center_right, .black_box_nb .rbox_center_center, .rbox .black_box_nb .rbox_top_center, .rbox .black_box_nb .rbox_bottom_center, .rbox .black_box_nb .rbox_center_left, .rbox .black_box_nb .rbox_center_right, .rbox .black_box_nb .rbox_center_center {
	background: #000;
}

.white_box_nb, .rbox .white_box_nb {
	color: #000;
}

.white_box_nb .rbox_top_left, .rbox .white_box_nb .rbox_top_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -637px 0;
}

.white_box_nb .rbox_top_right, .rbox .white_box_nb .rbox_top_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -652px 0;
}

.white_box_nb .rbox_bottom_left, .rbox .white_box_nb .rbox_bottom_left {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -637px -15px;
}

.white_box_nb .rbox_bottom_right, .rbox .white_box_nb .rbox_bottom_right {
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -652px -15px;
}
	
.white_box_nb .rbox_top_center, .white_box_nb .rbox_bottom_center, .white_box_nb .rbox_center_left, .white_box_nb .rbox_center_right, .white_box_nb .rbox_center_center, .rbox .white_box_nb .rbox_top_center, .rbox .white_box_nb .rbox_bottom_center, .rbox .white_box_nb .rbox_center_left, .rbox .white_box_nb .rbox_center_right, .rbox .white_box_nb .rbox_center_center {
	background: #FFF;
}

/* BEGIN MODAL WINDOW */

#control_overlay {
	background: #000;
}

.modal {
	opacity: 1;
	color: #FFF;
}

.modal h1, .modal h3 {
	text-align: center;
	height: 50px;
	line-height: 50px;
}

.modal h1 .button {
	position: absolute;
	left: 10px;
	top:15px;
}

.modal .thinline {
	margin-bottom: 10px;
}

.rbox_content .cg-modal-close {
	position: absolute; 
	top: -25px; 
	right: -25px; 
	display: block; 
	height: 30px;
	width: 30px;
	padding: 0px 0px 0px 0px;
	background: url(/frontend/img/cgbar/sprite_back.png) no-repeat -248px -86px;
}

/* END MODAL WINDOW */

