.g_clear
{
	clear: both;
	height: 0;
	overflow: hidden;
}

.g_errors
{
	color: red;
	height: auto;
}

.g_container
{
	margin-left: 20px;
	width: 630px;

	font-size: 12px;
	font-family: Tahoma;

	position: relative;

}


.g_container table,
.g_container td
{
	margin: 0;
	padding: 0;
	border: none;
}

.g_container a
{
	text-decoration: none;
}

.g_container a:hover
{
	text-decoration: underline;
}

.g_container .g_items_container table
{
	width: 100%;
}


/* all items */

.g_container .g_items_container td.g_item
{
	margin: 0;
	padding: 0;

	text-align: center;
	vertical-align: middle;
}

.g_container .g_items_container td.g_item img
{
	/*border: solid 1px #777;*/
	margin: 0;
	padding: 0;
}


/*small items*/
.g_container .g_items_container td.g_small
{
	width: 20%;
}

.g_container .g_items_container table td.g_small .g_item_container
{
	width: 70px;
	height: 70px;
	padding: 5px;
	background: url('/img/gallery_bg_small.jpg') no-repeat;
}

.g_container .g_items_container td.g_small img
{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}


/*large items*/
.g_container .g_items_container table td.g_large
{
	width: 60%;
}

.g_container .g_items_container table td.g_large .g_item_container
{
	width: 390px;
	height: 290px;
	padding: 5px;
	background: url('/img/gallery_bg_large.jpg') no-repeat;
}

.g_container .g_items_container table td.g_large img
{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.g_container .g_items_container td.g_large .g_title
{
	font-family: "Trebuchet MS";
	font-size: 20px;
	color: black;
}






.g_container .g_items_container td.g_item .g_item_container
{
	margin: auto;
}

.g_video .g_items_container table td.g_item .g_item_container
{
	background: none;
	width: auto;
	height: auto;
}





.g_container .g_items_container td.g_item .g_title a,
.g_container .g_items_container td.g_item .g_title a:visited
{
	font-family: Verdana;
	font-size: 11px;
}



/*
Sort
*/


.g_container .g_sort_types
{
	background: #DBDBDB;
	padding: 5px 10px;
	margin-bottom: 10px;
}

.g_container .g_sort_types a
{
	font-weight: bold;
	font-size: 11px;
	color: #980000;
	margin: 0 5px;
}

.g_container .g_sort_types .g_search
{
	float: right;
}

.g_container .g_sort_types .g_search input
{
	width: 10em;
}


/*
Actions
*/

.g_container .g_actions
{
	background: #DBDBDB;
	padding: 10px 10px;
	margin-bottom: 10px;
	margin-top: 15px;
	text-align: center;
}

.g_container .g_actions a
{
	font-weight: bold;
	font-size: 11px;
	color: #980000;
	margin: 0 5px;

	position: relative;
}


/*
Info
*/

.g_container .g_info
{
	position: relative;
	padding-right: 110px;
	padding-bottom: 10px;
}

.g_container .g_info .g_name
{
	margin-right: 3px;
	color: #777;
}

.g_container .g_info .g_value
{
	margin-right: 20px;
}

/*
Description:
*/
.g_container .g_description
{
	margin: 5px auto 30px auto;
	text-align: left;
}



/*
Rating bar
*/

.g_container .g_rating_bar
{
	overflow: hidden;
}

.g_container .g_rating_bar a
{
	float: left;
	display: block;
	width: 20px;
	height: 20px;
	margin: 0;
	background-image: url('/img/rate_stars_all.gif');
	background-repeat: no-repeat;
}



.g_container .g_rating_bar a.g_star
{
	background-position: 0 0;
}

.g_container .g_rating_bar a.g_star_empty
{
	background-position: 0 -40px;
}

.g_container .g_rating_bar a.g_star_hover
{
	background-position: 0 -20px;
}




.g_container .g_rating_bar
{
	white-space: nowrap;
	background: white;
}

.g_container .g_info .g_rating_bar
{
	position: absolute;
	right: 0;
}


.g_container .g_actions a .g_rating_bar
{
	position: absolute;
	top: -20px;
	left: 0px;
	border: solid 1px black;
	background: white;
	display: block;
	width: 100px;
}




/*
Popup
*/

.g_popup_container
{
	position: absolute;

	background: black;
	z-index: 600;
	overflow: visible;
}

.g_popup_container td
{
	font-family: Verdana;
	font-size: 12px;
	vertical-align: top;
}

.g_popup_container .g_popup_inner
{
	position: relative;
	left: -2px;
	top: -2px;

	border: solid 1px black;
	background: white;

	padding: 2px;
}

.g_popup_container .g_popup_inner .g_popup_header
{
	padding: 2px 10px;
	border-bottom: dotted 1px #333;
	font-weight: bold;
}

.g_popup_container .g_popup_inner .g_popup_body
{
	padding: 10px 10px;
}

.g_popup_container .g_popup_inner .g_popup_footer
{
	text-align: right;
	padding: 2px 10px;
}


/*
PopUp Forms
*/
.g_popup_container form
{
	margin: 0;
	padding: 0;
	border: none;
}

.g_popup_container label
{
	float: none;
	display: block;
	width: 120px;
	font-size: 1em;
	margin: 0;
}

.g_popup_container input
{
	float: none;
	display: block;
	width: 15em;
	font-size: 1em;
}

.g_popup_container textarea
{
	float: none;
	display: block;
	width: 15em;
	height: 4em;
	font-size: 1em;
}

.g_popup_container #g_upload_thumb
{
	width: 70px;
	height: 70px;
	padding: 5px;
	background: url('/img/gallery_bg_small.jpg');

	display: block;
}


/*
Iframe uploader
*/


.g_popup_container .p_uploader
{
	position: absolute;

	font-family: Verdana;
	font-size: 12px;
	top: 170px;
	left: 225px;
	background: black;
}

.g_popup_container .p_uploader .p_container
{
	position: relative;
	top: -3px;
	left: -3px;

	background: white;
	border: solid 1px black;

	padding: 5px 10px;
}

.g_popup_container .p_uploader .p_container form
{
	margin: 10px 0;
	padding: 0;
}

.g_popup_container .p_uploader .p_container .p_actions
{
	text-align: right;
}

.g_popup_container .g_img_wrapper
{
	border: none;
	margin: 0;
	width: 100%;
	height: 100%;
}

.g_popup_container .g_img_wrapper tbody,
.g_popup_container .g_img_wrapper tr,
.g_popup_container .g_img_wrapper td
{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

.g_popup_container .g_img_wrapper td
{
	text-align: center;
	vertical-align: middle;
}

/*
Comments
*/

#content .g_container .g_comments_container h1
{
	margin: 5px 0px 10px 0px;
}

.g_container ul.g_comments
{
	margin: 0;
	padding: 0;

	font-family: Verdana;
	font-size: 13px;
}

.g_container ul.g_comments li
{
	list-style: none;
	margin: 2px 0 10px 0;
	padding: 0;
}

.g_container ul.g_comments li div.g_header
{
	background: #DBDBDB;
	padding: 2px 5px;
}

.g_container ul.g_comments li div.g_header .g_author
{
	font-weight: bold;
	margin-right: 10px;
}


.g_container ul.g_comments li .g_body
{
	background: none;
	padding: 2px 5px;
}

.g_container ul.g_comments li .g_actions
{
	background: none;
	text-align: right;
	padding: 2px 5px;
}

.g_container ul.g_comments li div.g_actions a
{
	font-weight: normal;
	color: #00366D;
}

#pager {
/*	float:right;*/
	font-size:13px;
	color:black;
	position: absolute;
	left: 765px;
	top: 228px;
}
